main.js 146 KB

12
  1. (function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:false,exports:{}};e[n].call(i.exports,i,i.exports,r);i.l=true;return i.exports}r.m=e;r.c=t;r.d=function(e,t,n){if(!r.o(e,t))Object.defineProperty(e,t,{configurable:false,enumerable:true,get:n})};r.n=function(e){var t=e&&e.__esModule?function t(){return e["default"]}:function t(){return e};r.d(t,"a",t);return t};r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};r.p="";return r(r.s=21)})([function(e,t,r){"use strict";function n(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===n(e)}var s=Object.prototype.hasOwnProperty;function o(e,t){return s.call(e,t)}function a(e){var t=Array.prototype.slice.call(arguments,1);t.forEach(function(t){if(!t)return;if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})});return e}function l(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function u(e){if(e>=55296&&e<=57343)return false;if(e>=64976&&e<=65007)return false;if(65535===(65535&e)||65534===(65535&e))return false;if(e>=0&&e<=8)return false;if(11===e)return false;if(e>=14&&e<=31)return false;if(e>=127&&e<=159)return false;if(e>1114111)return false;return true}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var f=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g;var p=/&([a-z#][a-z0-9]{1,31});/gi;var h=new RegExp(f.source+"|"+p.source,"gi");var d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var m=r(11);function g(e,t){var r=0;if(o(m,t))return m[t];if(35===t.charCodeAt(0)&&d.test(t)){r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);if(u(r))return c(r)}return e}function v(e){if(e.indexOf("\\")<0)return e;return e.replace(f,"$1")}function b(e){if(e.indexOf("\\")<0&&e.indexOf("&")<0)return e;return e.replace(h,function(e,t,r){if(t)return t;return g(e,r)})}var _=/[&<>"]/;var k=/[&<>"]/g;var y={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function x(e){return y[e]}function w(e){if(_.test(e))return e.replace(k,x);return e}var C=/[.?*+^$[\]\\(){}|-]/g;function A(e){return e.replace(C,"\\$&")}function D(e){switch(e){case 9:case 32:return true}return false}function E(e){if(e>=8192&&e<=8202)return true;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return true}return false}var S=r(5);function q(e){return S.test(e)}function T(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return true;default:return false}}function L(e){return e.trim().replace(/\s+/g," ").toUpperCase()}t.lib={};t.lib.mdurl=r(12);t.lib.ucmicro=r(36);t.assign=a;t.isString=i;t.has=o;t.unescapeMd=v;t.unescapeAll=b;t.isValidEntityCode=u;t.fromCodePoint=c;t.escapeHtml=w;t.arrayReplaceAt=l;t.isSpace=D;t.isWhiteSpace=E;t.isMdAsciiPunct=T;t.isPunctChar=q;t.escapeRE=A;t.normalizeReference=L},function(e,t,r){(function(t,r){(function(){"use strict";function n(e,t,r,n,i,s){return{tag:e,key:t,attrs:r,children:n,text:i,dom:s,domSize:void 0,state:void 0,_state:void 0,events:void 0,instance:void 0,skip:false}}n.normalize=function(e){if(Array.isArray(e))return n("[",void 0,void 0,n.normalizeChildren(e),void 0,void 0);if(null!=e&&"object"!==typeof e)return n("#",void 0,void 0,false===e?"":e,void 0,void 0);return e};n.normalizeChildren=function e(t){for(var r=0;r<t.length;r++)t[r]=n.normalize(t[r]);return t};var i=/(?:(^|#|\.)([^#\.\[\]]+))|(\[(.+?)(?:\s*=\s*("|'|)((?:\\["'\]]|.)*?)\5)?\])/g;var s={};var o={}.hasOwnProperty;function a(e){for(var t in e)if(o.call(e,t))return false;return true}function l(e){var t,r="div",n=[],o={};while(t=i.exec(e)){var a=t[1],l=t[2];if(""===a&&""!==l)r=l;else if("#"===a)o.id=l;else if("."===a)n.push(l);else if("["===t[3][0]){var u=t[6];if(u)u=u.replace(/\\(["'])/g,"$1").replace(/\\\\/g,"\\");if("class"===t[4])n.push(u);else o[t[4]]=""===u?u:u||true}}if(n.length>0)o.className=n.join(" ");return s[e]={tag:r,attrs:o}}function u(e,t,r){var i=false,s,l;var u=t.className||t.class;if(!a(e.attrs)&&!a(t)){var c={};for(var f in t)if(o.call(t,f))c[f]=t[f];t=c}for(var f in e.attrs)if(o.call(e.attrs,f))t[f]=e.attrs[f];if(void 0!==u){if(void 0!==t.class){t.class=void 0;t.className=u}if(null!=e.attrs.className)t.className=e.attrs.className+" "+u}for(var f in t)if(o.call(t,f)&&"key"!==f){i=true;break}if(Array.isArray(r)&&1===r.length&&null!=r[0]&&"#"===r[0].tag)l=r[0].children;else s=r;return n(e.tag,t.key,i?t:void 0,s,l)}function c(e){var t=arguments[1],r=2,i;if(null==e||"string"!==typeof e&&"function"!==typeof e&&"function"!==typeof e.view)throw Error("The selector must be either a string or a component.");if("string"===typeof e)var o=s[e]||l(e);if(null==t)t={};else if("object"!==typeof t||null!=t.tag||Array.isArray(t)){t={};r=1}if(arguments.length===r+1){i=arguments[r];if(!Array.isArray(i))i=[i]}else{i=[];while(r<arguments.length)i.push(arguments[r++])}var a=n.normalizeChildren(i);if("string"===typeof e)return u(o,t,a);else return n(e,t.key,t,a)}c.trust=function(e){if(null==e)e="";return n("<",void 0,void 0,e,void 0,void 0)};c.fragment=function(e,t){return n("[",e.key,e,n.normalizeChildren(t),void 0,void 0)};var f=c;var p=function(e){if(!(this instanceof p))throw new Error("Promise must be called with `new`");if("function"!==typeof e)throw new TypeError("executor must be a function");var r=this,n=[],i=[],s=u(n,true),o=u(i,false);var a=r._instance={resolvers:n,rejectors:i};var l="function"===typeof t?t:setTimeout;function u(e,t){return function s(u){var f;try{if(t&&null!=u&&("object"===typeof u||"function"===typeof u)&&"function"===typeof(f=u.then)){if(u===r)throw new TypeError("Promise can't be resolved w/ itself");c(f.bind(u))}else l(function(){if(!t&&0===e.length)console.error("Possible unhandled promise rejection:",u);for(var r=0;r<e.length;r++)e[r](u);n.length=0,i.length=0;a.state=t;a.retry=function(){s(u)}})}catch(e){o(e)}}}function c(e){var t=0;function r(e){return function(r){if(t++>0)return;e(r)}}var n=r(o);try{e(r(s),n)}catch(e){n(e)}}c(e)};p.prototype.then=function(e,t){var r=this,n=r._instance;function i(e,t,r,i){t.push(function(t){if("function"!==typeof e)r(t);else try{s(e(t))}catch(e){if(o)o(e)}});if("function"===typeof n.retry&&i===n.state)n.retry()}var s,o;var a=new p(function(e,t){s=e,o=t});i(e,n.resolvers,s,true),i(t,n.rejectors,o,false);return a};p.prototype.catch=function(e){return this.then(null,e)};p.resolve=function(e){if(e instanceof p)return e;return new p(function(t){t(e)})};p.reject=function(e){return new p(function(t,r){r(e)})};p.all=function(e){return new p(function(t,r){var n=e.length,i=0,s=[];if(0===e.length)t([]);else for(var o=0;o<e.length;o++)(function(o){function a(e){i++;s[o]=e;if(i===n)t(s)}if(null!=e[o]&&("object"===typeof e[o]||"function"===typeof e[o])&&"function"===typeof e[o].then)e[o].then(a,r);else a(e[o])})(o)})};p.race=function(e){return new p(function(t,r){for(var n=0;n<e.length;n++)e[n].then(t,r)})};if("undefined"!==typeof window){if("undefined"===typeof window.Promise)window.Promise=p;var p=window.Promise}else if("undefined"!==typeof r){if("undefined"===typeof r.Promise)r.Promise=p;var p=r.Promise}var h=function(e){if("[object Object]"!==Object.prototype.toString.call(e))return"";var t=[];for(var r in e)n(r,e[r]);return t.join("&");function n(e,r){if(Array.isArray(r))for(var i=0;i<r.length;i++)n(e+"["+i+"]",r[i]);else if("[object Object]"===Object.prototype.toString.call(r))for(var i in r)n(e+"["+i+"]",r[i]);else t.push(encodeURIComponent(e)+(null!=r&&""!==r?"="+encodeURIComponent(r):""))}};var d=new RegExp("^file://","i");var m=function(e,t){var r=0;var n;function i(e){n=e}function s(){var e=0;function t(){if(0===--e&&"function"===typeof n)n()}return function r(n){var i=n.then;n.then=function(){e++;var s=i.apply(n,arguments);s.then(t,function(r){t();if(0===e)throw r});return r(s)};return n}}function o(e,t){if("string"===typeof e){var r=e;e=t||{};if(null==e.url)e.url=r}return e}function a(r,n){var i=s();r=o(r,n);var a=new t(function(t,n){if(null==r.method)r.method="GET";r.method=r.method.toUpperCase();var i="GET"===r.method||"TRACE"===r.method?false:"boolean"===typeof r.useBody?r.useBody:true;if("function"!==typeof r.serialize)r.serialize="undefined"!==typeof FormData&&r.data instanceof FormData?function(e){return e}:JSON.stringify;if("function"!==typeof r.deserialize)r.deserialize=f;if("function"!==typeof r.extract)r.extract=p;r.url=u(r.url,r.data);if(i)r.data=r.serialize(r.data);else r.url=c(r.url,r.data);var s=new e.XMLHttpRequest,o=false,a=s.abort;s.abort=function e(){o=true;a.call(s)};s.open(r.method,r.url,"boolean"===typeof r.async?r.async:true,"string"===typeof r.user?r.user:void 0,"string"===typeof r.password?r.password:void 0);if(r.serialize===JSON.stringify&&i&&!(r.headers&&r.headers.hasOwnProperty("Content-Type")))s.setRequestHeader("Content-Type","application/json; charset=utf-8");if(r.deserialize===f&&!(r.headers&&r.headers.hasOwnProperty("Accept")))s.setRequestHeader("Accept","application/json, text/*");if(r.withCredentials)s.withCredentials=r.withCredentials;for(var l in r.headers)if({}.hasOwnProperty.call(r.headers,l))s.setRequestHeader(l,r.headers[l]);if("function"===typeof r.config)s=r.config(s,r)||s;s.onreadystatechange=function(){if(o)return;if(4===s.readyState)try{var e=r.extract!==p?r.extract(s,r):r.deserialize(r.extract(s,r));if(s.status>=200&&s.status<300||304===s.status||d.test(r.url))t(m(r.type,e));else{var i=new Error(s.responseText);for(var a in e)i[a]=e[a];n(i)}}catch(e){n(e)}};if(i&&null!=r.data)s.send(r.data);else s.send()});return true===r.background?a:i(a)}function l(n,i){var a=s();n=o(n,i);var l=new t(function(t,i){var s=n.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+r++;var o=e.document.createElement("script");e[s]=function(r){o.parentNode.removeChild(o);t(m(n.type,r));delete e[s]};o.onerror=function(){o.parentNode.removeChild(o);i(new Error("JSONP request failed"));delete e[s]};if(null==n.data)n.data={};n.url=u(n.url,n.data);n.data[n.callbackKey||"callback"]=s;o.src=c(n.url,n.data);e.document.documentElement.appendChild(o)});return true===n.background?l:a(l)}function u(e,t){if(null==t)return e;var r=e.match(/:[^\/]+/gi)||[];for(var n=0;n<r.length;n++){var i=r[n].slice(1);if(null!=t[i])e=e.replace(r[n],t[i])}return e}function c(e,t){var r=h(t);if(""!==r){var n=e.indexOf("?")<0?"?":"&";e+=n+r}return e}function f(e){try{return""!==e?JSON.parse(e):null}catch(t){throw new Error(e)}}function p(e){return e.responseText}function m(e,t){if("function"===typeof e)if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=new e(t[r]);else return new e(t);return t}return{request:a,jsonp:l,setCompletionCallback:i}};var g=m(window,p);var v=function(e){var t=e.document;var r=t.createDocumentFragment();var i={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"};var s;function o(e){return s=e}function a(e){return e.attrs&&e.attrs.xmlns||i[e.tag]}function l(e,t,r,n,i,s,o){for(var a=r;a<n;a++){var l=t[a];if(null!=l)u(e,l,i,o,s)}}function u(e,t,r,n,i){var s=t.tag;if("string"===typeof s){t.state={};if(null!=t.attrs)V(t.attrs,t,r);switch(s){case"#":return c(e,t,i);case"<":return f(e,t,i);case"[":return p(e,t,r,n,i);default:return h(e,t,r,n,i)}}else return m(e,t,r,n,i)}function c(e,r,n){r.dom=t.createTextNode(r.children);E(e,r.dom,n);return r.dom}function f(e,r,n){var i=r.children.match(/^\s*?<(\w+)/im)||[];var s={caption:"table",thead:"table",tbody:"table",tfoot:"table",tr:"tbody",th:"tr",td:"tr",colgroup:"table",col:"colgroup"}[i[1]]||"div";var o=t.createElement(s);o.innerHTML=r.children;r.dom=o.firstChild;r.domSize=o.childNodes.length;var a=t.createDocumentFragment();var l;while(l=o.firstChild)a.appendChild(l);E(e,a,n);return a}function p(e,r,n,i,s){var o=t.createDocumentFragment();if(null!=r.children){var a=r.children;l(o,a,0,a.length,n,null,i)}r.dom=o.firstChild;r.domSize=o.childNodes.length;E(e,o,s);return o}function h(e,r,i,s,o){var u=r.tag;var c=r.attrs;var f=c&&c.is;s=a(r)||s;var p=s?f?t.createElementNS(s,u,{is:f}):t.createElementNS(s,u):f?t.createElement(u,{is:f}):t.createElement(u);r.dom=p;if(null!=c)F(r,c,s);E(e,p,o);if(null!=r.attrs&&null!=r.attrs.contenteditable)S(r);else{if(null!=r.text)if(""!==r.text)p.textContent=r.text;else r.children=[n("#",void 0,void 0,r.text,void 0,void 0)];if(null!=r.children){var h=r.children;l(p,h,0,h.length,i,null,s);M(r)}}return p}function d(e,t){var i;if("function"===typeof e.tag.view){e.state=Object.create(e.tag);i=e.state.view;if(null!=i.$$reentrantLock$$)return r;i.$$reentrantLock$$=true}else{e.state=void 0;i=e.tag;if(null!=i.$$reentrantLock$$)return r;i.$$reentrantLock$$=true;e.state=null!=e.tag.prototype&&"function"===typeof e.tag.prototype.view?new e.tag(e):e.tag(e)}e._state=e.state;if(null!=e.attrs)V(e.attrs,e,t);V(e._state,e,t);e.instance=n.normalize(e._state.view.call(e.state,e));if(e.instance===e)throw Error("A view cannot return the vnode it received as argument");i.$$reentrantLock$$=null}function m(e,t,n,i,s){d(t,n);if(null!=t.instance){var o=u(e,t.instance,n,i,s);t.dom=t.instance.dom;t.domSize=null!=t.dom?t.instance.domSize:0;E(e,o,s);return o}else{t.domSize=0;return r}}function g(e,t,r,n,i,s,o){if(t===r||null==t&&null==r)return;else if(null==t)l(e,r,0,r.length,i,s,o);else if(null==r)q(t,0,t.length,r);else{if(t.length===r.length){var a=false;for(var c=0;c<r.length;c++)if(null!=r[c]&&null!=t[c]){a=null==r[c].key&&null==t[c].key;break}if(a){for(var c=0;c<t.length;c++)if(t[c]===r[c])continue;else if(null==t[c]&&null!=r[c])u(e,r[c],i,o,D(t,c+1,s));else if(null==r[c])q(t,c,c+1,r);else v(e,t[c],r[c],i,D(t,c+1,s),n,o);return}}n=n||w(t,r);if(n){var f=t.pool;t=t.concat(t.pool)}var p=0,h=0,d=t.length-1,m=r.length-1,g;while(d>=p&&m>=h){var b=t[p],_=r[h];if(b===_&&!n)p++,h++;else if(null==b)p++;else if(null==_)h++;else if(b.key===_.key){var k=null!=f&&p>=t.length-f.length||null==f&&n;p++,h++;v(e,b,_,i,D(t,p,s),k,o);if(n&&b.tag===_.tag)E(e,A(b),s)}else{var b=t[d];if(b===_&&!n)d--,h++;else if(null==b)d--;else if(null==_)h++;else if(b.key===_.key){var k=null!=f&&d>=t.length-f.length||null==f&&n;v(e,b,_,i,D(t,d+1,s),k,o);if(n||h<m)E(e,A(b),D(t,p,s));d--,h++}else break}}while(d>=p&&m>=h){var b=t[d],_=r[m];if(b===_&&!n)d--,m--;else if(null==b)d--;else if(null==_)m--;else if(b.key===_.key){var k=null!=f&&d>=t.length-f.length||null==f&&n;v(e,b,_,i,D(t,d+1,s),k,o);if(n&&b.tag===_.tag)E(e,A(b),s);if(null!=b.dom)s=b.dom;d--,m--}else{if(!g)g=C(t,d);if(null!=_){var y=g[_.key];if(null!=y){var x=t[y];var k=null!=f&&y>=t.length-f.length||null==f&&n;v(e,x,_,i,D(t,d+1,s),n,o);E(e,A(x),s);t[y].skip=true;if(null!=x.dom)s=x.dom}else{var S=u(e,_,i,o,s);s=S}}m--}if(m<h)break}l(e,r,h,m+1,i,s,o);q(t,p,d+1,r)}}function v(e,t,r,n,i,s,o){var a=t.tag,l=r.tag;if(a===l){r.state=t.state;r._state=t._state;r.events=t.events;if(!s&&Z(r,t))return;if("string"===typeof a){if(null!=r.attrs)if(s){r.state={};V(r.attrs,r,n)}else H(r.attrs,r,n);switch(a){case"#":b(t,r);break;case"<":_(e,t,r,i);break;case"[":k(e,t,r,s,n,i,o);break;default:y(t,r,s,n,o)}}else x(e,t,r,n,i,s,o)}else{T(t,null);u(e,r,n,o,i)}}function b(e,t){if(e.children.toString()!==t.children.toString())e.dom.nodeValue=t.children;t.dom=e.dom}function _(e,t,r,n){if(t.children!==r.children){A(t);f(e,r,n)}else r.dom=t.dom,r.domSize=t.domSize}function k(e,t,r,n,i,s,o){g(e,t.children,r.children,n,i,s,o);var a=0,l=r.children;r.dom=null;if(null!=l){for(var u=0;u<l.length;u++){var c=l[u];if(null!=c&&null!=c.dom){if(null==r.dom)r.dom=c.dom;a+=c.domSize||1}}if(1!==a)r.domSize=a}}function y(e,t,r,i,s){var o=t.dom=e.dom;s=a(t)||s;if("textarea"===t.tag){if(null==t.attrs)t.attrs={};if(null!=t.text){t.attrs.value=t.text;t.text=void 0}}R(t,e.attrs,t.attrs,s);if(null!=t.attrs&&null!=t.attrs.contenteditable)S(t);else if(null!=e.text&&null!=t.text&&""!==t.text){if(e.text.toString()!==t.text.toString())e.dom.firstChild.nodeValue=t.text}else{if(null!=e.text)e.children=[n("#",void 0,void 0,e.text,void 0,e.dom.firstChild)];if(null!=t.text)t.children=[n("#",void 0,void 0,t.text,void 0,void 0)];g(o,e.children,t.children,r,i,null,s)}}function x(e,t,r,i,s,o,a){if(o)d(r,i);else{r.instance=n.normalize(r._state.view.call(r.state,r));if(r.instance===r)throw Error("A view cannot return the vnode it received as argument");if(null!=r.attrs)H(r.attrs,r,i);H(r._state,r,i)}if(null!=r.instance){if(null==t.instance)u(e,r.instance,i,a,s);else v(e,t.instance,r.instance,i,s,o,a);r.dom=r.instance.dom;r.domSize=r.instance.domSize}else if(null!=t.instance){T(t.instance,null);r.dom=void 0;r.domSize=0}else{r.dom=t.dom;r.domSize=t.domSize}}function w(e,t){if(null!=e.pool&&Math.abs(e.pool.length-t.length)<=Math.abs(e.length-t.length)){var r=e[0]&&e[0].children&&e[0].children.length||0;var n=e.pool[0]&&e.pool[0].children&&e.pool[0].children.length||0;var i=t[0]&&t[0].children&&t[0].children.length||0;if(Math.abs(n-i)<=Math.abs(r-i))return true}return false}function C(e,t){var r={},n=0;for(var n=0;n<t;n++){var i=e[n];if(null!=i){var s=i.key;if(null!=s)r[s]=n}}return r}function A(e){var r=e.domSize;if(null!=r||null==e.dom){var n=t.createDocumentFragment();if(r>0){var i=e.dom;while(--r)n.appendChild(i.nextSibling);n.insertBefore(i,n.firstChild)}return n}else return e.dom}function D(e,t,r){for(;t<e.length;t++)if(null!=e[t]&&null!=e[t].dom)return e[t].dom;return r}function E(e,t,r){if(r&&r.parentNode)e.insertBefore(t,r);else e.appendChild(t)}function S(e){var t=e.children;if(null!=t&&1===t.length&&"<"===t[0].tag){var r=t[0].children;if(e.dom.innerHTML!==r)e.dom.innerHTML=r}else if(null!=e.text||null!=t&&0!==t.length)throw new Error("Child node of a contenteditable must be trusted")}function q(e,t,r,n){for(var i=t;i<r;i++){var s=e[i];if(null!=s)if(s.skip)s.skip=false;else T(s,n)}}function T(e,t){var r=1,n=0;if(e.attrs&&"function"===typeof e.attrs.onbeforeremove){var i=e.attrs.onbeforeremove.call(e.state,e);if(null!=i&&"function"===typeof i.then){r++;i.then(s,s)}}if("string"!==typeof e.tag&&"function"===typeof e._state.onbeforeremove){var i=e._state.onbeforeremove.call(e.state,e);if(null!=i&&"function"===typeof i.then){r++;i.then(s,s)}}s();function s(){if(++n===r){z(e);if(e.dom){var i=e.domSize||1;if(i>1){var s=e.dom;while(--i)L(s.nextSibling)}L(e.dom);if(null!=t&&null==e.domSize&&!B(e.attrs)&&"string"===typeof e.tag)if(!t.pool)t.pool=[e];else t.pool.push(e)}}}}function L(e){var t=e.parentNode;if(null!=t)t.removeChild(e)}function z(e){if(e.attrs&&"function"===typeof e.attrs.onremove)e.attrs.onremove.call(e.state,e);if("string"!==typeof e.tag){if("function"===typeof e._state.onremove)e._state.onremove.call(e.state,e);if(null!=e.instance)z(e.instance)}else{var t=e.children;if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(null!=n)z(n)}}}function F(e,t,r){for(var n in t)I(e,n,null,t[n],r)}function I(e,r,n,i,s){var o=e.dom;if("key"===r||"is"===r||n===i&&!$(e,r)&&"object"!==typeof i||"undefined"===typeof i||N(r))return;var a=r.indexOf(":");if(a>-1&&"xlink"===r.substr(0,a))o.setAttributeNS("http://www.w3.org/1999/xlink",r.slice(a+1),i);else if("o"===r[0]&&"n"===r[1]&&"function"===typeof i)U(e,r,i);else if("style"===r)j(o,n,i);else if(r in o&&!O(r)&&void 0===s&&!P(e)){if("value"===r){var l=""+i;if(("input"===e.tag||"textarea"===e.tag)&&e.dom.value===l&&e.dom===t.activeElement)return;if("select"===e.tag)if(null===i){if(-1===e.dom.selectedIndex&&e.dom===t.activeElement)return}else if(null!==n&&e.dom.value===l&&e.dom===t.activeElement)return;if("option"===e.tag&&null!=n&&e.dom.value===l)return}if("input"===e.tag&&"type"===r){o.setAttribute(r,i);return}o[r]=i}else if("boolean"===typeof i)if(i)o.setAttribute(r,"");else o.removeAttribute(r);else o.setAttribute("className"===r?"class":r,i)}function M(e){var t=e.attrs;if("select"===e.tag&&null!=t){if("value"in t)I(e,"value",null,t.value,void 0);if("selectedIndex"in t)I(e,"selectedIndex",null,t.selectedIndex,void 0)}}function R(e,t,r,n){if(null!=r)for(var i in r)I(e,i,t&&t[i],r[i],n);if(null!=t)for(var i in t)if(null==r||!(i in r)){if("className"===i)i="class";if("o"===i[0]&&"n"===i[1]&&!N(i))U(e,i,void 0);else if("key"!==i)e.dom.removeAttribute(i)}}function $(e,r){return"value"===r||"checked"===r||"selectedIndex"===r||"selected"===r&&e.dom===t.activeElement}function N(e){return"oninit"===e||"oncreate"===e||"onupdate"===e||"onremove"===e||"onbeforeremove"===e||"onbeforeupdate"===e}function O(e){return"href"===e||"list"===e||"form"===e||"width"===e||"height"===e}function P(e){return e.attrs.is||e.tag.indexOf("-")>-1}function B(e){return null!=e&&(e.oncreate||e.onupdate||e.onbeforeremove||e.onremove)}function j(e,t,r){if(t===r)e.style.cssText="",t=null;if(null==r)e.style.cssText="";else if("string"===typeof r)e.style.cssText=r;else{if("string"===typeof t)e.style.cssText="";for(var n in r)e.style[n]=r[n];if(null!=t&&"string"!==typeof t)for(var n in t)if(!(n in r))e.style[n]=""}}function U(e,t,r){var n=e.dom;var i="function"!==typeof s?r:function(e){var t=r.call(n,e);s.call(n,e);return t};if(t in n)n[t]="function"===typeof r?i:null;else{var o=t.slice(2);if(void 0===e.events)e.events={};if(e.events[t]===i)return;if(null!=e.events[t])n.removeEventListener(o,e.events[t],false);if("function"===typeof r){e.events[t]=i;n.addEventListener(o,e.events[t],false)}}}function V(e,t,r){if("function"===typeof e.oninit)e.oninit.call(t.state,t);if("function"===typeof e.oncreate)r.push(e.oncreate.bind(t.state,t))}function H(e,t,r){if("function"===typeof e.onupdate)r.push(e.onupdate.bind(t.state,t))}function Z(e,t){var r,n;if(null!=e.attrs&&"function"===typeof e.attrs.onbeforeupdate)r=e.attrs.onbeforeupdate.call(e.state,e,t);if("string"!==typeof e.tag&&"function"===typeof e._state.onbeforeupdate)n=e._state.onbeforeupdate.call(e.state,e,t);if(!(void 0===r&&void 0===n)&&!r&&!n){e.dom=t.dom;e.domSize=t.domSize;e.instance=t.instance;return true}return false}function G(e,r){if(!e)throw new Error("Ensure the DOM element being passed to m.route/m.mount/m.render is not undefined.");var i=[];var s=t.activeElement;var o=e.namespaceURI;if(null==e.vnodes)e.textContent="";if(!Array.isArray(r))r=[r];g(e,e.vnodes,n.normalizeChildren(r),false,i,null,"http://www.w3.org/1999/xhtml"===o?void 0:o);e.vnodes=r;if(null!=s&&t.activeElement!==s)s.focus();for(var a=0;a<i.length;a++)i[a]()}return{render:G,setEventCallback:o}};function b(e){var t=16;var r=0,n=null;var i="function"===typeof requestAnimationFrame?requestAnimationFrame:setTimeout;return function(){var s=Date.now();if(0===r||s-r>=t){r=s;e()}else if(null===n)n=i(function(){n=null;e();r=Date.now()},t-(s-r))}}var _=function(e){var t=v(e);t.setEventCallback(function(e){if(false===e.redraw)e.redraw=void 0;else s()});var r=[];function n(e,t){i(e);r.push(e,b(t))}function i(e){var t=r.indexOf(e);if(t>-1)r.splice(t,2)}function s(){for(var e=1;e<r.length;e+=2)r[e]()}return{subscribe:n,unsubscribe:i,redraw:s,render:t.render}};var k=_(window);g.setCompletionCallback(k.redraw);var y=function(e){return function(t,r){if(null===r){e.render(t,[]);e.unsubscribe(t);return}if(null==r.view&&"function"!==typeof r)throw new Error("m.mount(element, component) expects a component, not a vnode");var i=function(){e.render(t,n(r))};e.subscribe(t,i);e.redraw()}};f.mount=y(k);var x=p;var w=function(e){if(""===e||null==e)return{};if("?"===e.charAt(0))e=e.slice(1);var t=e.split("&"),r={},n={};for(var i=0;i<t.length;i++){var s=t[i].split("=");var o=decodeURIComponent(s[0]);var a=2===s.length?decodeURIComponent(s[1]):"";if("true"===a)a=true;else if("false"===a)a=false;var l=o.split(/\]\[?|\[/);var u=r;if(o.indexOf("[")>-1)l.pop();for(var c=0;c<l.length;c++){var f=l[c],p=l[c+1];var h=""==p||!isNaN(parseInt(p,10));var d=c===l.length-1;if(""===f){var o=l.slice(0,c).join();if(null==n[o])n[o]=0;f=n[o]++}if(null==u[f])u[f]=d?a:h?[]:{};u=u[f]}}return r};var C=function(e){var r="function"===typeof e.history.pushState;var n="function"===typeof t?t:setTimeout;function i(t){var r=e.location[t].replace(/(?:%[a-f89][a-f0-9])+/gim,decodeURIComponent);if("pathname"===t&&"/"!==r[0])r="/"+r;return r}var s;function o(e){return function(){if(null!=s)return;s=n(function(){s=null;e()})}}function a(e,t,r){var n=e.indexOf("?");var i=e.indexOf("#");var s=n>-1?n:i>-1?i:e.length;if(n>-1){var o=i>-1?i:e.length;var a=w(e.slice(n+1,o));for(var l in a)t[l]=a[l]}if(i>-1){var u=w(e.slice(i+1));for(var l in u)r[l]=u[l]}return e.slice(0,s)}var l={prefix:"#!"};l.getPath=function(){var e=l.prefix.charAt(0);switch(e){case"#":return i("hash").slice(l.prefix.length);case"?":return i("search").slice(l.prefix.length)+i("hash");default:return i("pathname").slice(l.prefix.length)+i("search")+i("hash")}};l.setPath=function(t,n,i){var s={},o={};t=a(t,s,o);if(null!=n){for(var u in n)s[u]=n[u];t=t.replace(/:([^\/]+)/g,function(e,t){delete s[t];return n[t]})}var c=h(s);if(c)t+="?"+c;var f=h(o);if(f)t+="#"+f;if(r){var p=i?i.state:null;var d=i?i.title:null;e.onpopstate();if(i&&i.replace)e.history.replaceState(p,d,l.prefix+t);else e.history.pushState(p,d,l.prefix+t)}else e.location.href=l.prefix+t};l.defineRoutes=function(t,n,i){function s(){var r=l.getPath();var s={};var o=a(r,s,s);var u=e.history.state;if(null!=u)for(var c in u)s[c]=u[c];for(var f in t){var p=new RegExp("^"+f.replace(/:[^\/]+?\.{3}/g,"(.*?)").replace(/:[^\/]+/g,"([^\\/]+)")+"/?$");if(p.test(o)){o.replace(p,function(){var e=f.match(/:[^\/]+/g)||[];var i=[].slice.call(arguments,1,-2);for(var o=0;o<e.length;o++)s[e[o].replace(/:|\./g,"")]=decodeURIComponent(i[o]);n(t[f],s,r,f)});return}}i(r,s)}if(r)e.onpopstate=o(s);else if("#"===l.prefix.charAt(0))e.onhashchange=s;s()};return l};var A=function(e,t){var r=C(e);var i=function(e){return e};var s,o,a,l,u;var c=function(e,c,f){if(null==e)throw new Error("Ensure the DOM element that was passed to `m.route` is not undefined");var p=function(){if(null!=s)t.render(e,s(n(o,a.key,a)))};var h=function(e){if(e!==c)r.setPath(c,null,{replace:true});else throw new Error("Could not resolve default route "+c)};r.defineRoutes(f,function(e,t,r){var n=u=function(e,c){if(n!==u)return;o=null!=c&&("function"===typeof c.view||"function"===typeof c)?c:"div";a=t,l=r,u=null;s=(e.render||i).bind(e);p()};if(e.view||"function"===typeof e)n({},e);else if(e.onmatch)x.resolve(e.onmatch(t,r)).then(function(t){n(e,t)},h);else n(e,"div")},h);t.subscribe(e,p)};c.set=function(e,t,n){if(null!=u){n=n||{};n.replace=true}u=null;r.setPath(e,t,n)};c.get=function(){return l};c.prefix=function(e){r.prefix=e};c.link=function(e){e.dom.setAttribute("href",r.prefix+e.attrs.href);e.dom.onclick=function(e){if(e.ctrlKey||e.metaKey||e.shiftKey||2===e.which)return;e.preventDefault();e.redraw=false;var t=this.getAttribute("href");if(0===t.indexOf(r.prefix))t=t.slice(r.prefix.length);c.set(t,void 0,void 0)}};c.param=function(e){if("undefined"!==typeof a&&"undefined"!==typeof e)return a[e];return a};return c};f.route=A(window,k);f.withAttr=function(e,t,r){return function(n){t.call(r||this,e in n.currentTarget?n.currentTarget[e]:n.currentTarget.getAttribute(e))}};var D=v(window);f.render=D.render;f.redraw=k.redraw;f.request=g.request;f.jsonp=g.jsonp;f.parseQueryString=w;f.buildQueryString=h;f.version="1.1.6";f.vnode=n;if(true)e["exports"]=f;else window.m=f})()}).call(t,r(27).setImmediate,r(2))},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(1,eval)("this")}catch(e){if("object"===typeof window)r=window}e.exports=r},function(t,r){t.exports={lang:"fr",langs:[{lc:"lat",label:"Latin (Carl Gebhardt)",db:"spinoza-ethica-lat-gebhardt.json"},{lc:"fr",label:"Français (Traduction par Charles Appuhn)",db:"spinoza-ethica-fr-appuhn.json"},{lc:"bra",label:"Brazilian (Tradução Roberto Brandão)",db:"spinoza-ethica-bra-brandao.json"},{lc:"en",label:"English (Translated by R. H. M. Elwes)",db:"spinoza-ethica-en-elwes.json"}],data:[],loaded_dbs:0,data_byid:[],data_strct:{},rx_id:/^(\d)(app|agd|\d\d|pr|ad|ap|c|p|d|a)(cd|sc|\d\d|d|c|a|l|p|\d)?(e|\d|sc)?(d|c|a|sc)?$/,id_strct:["Partie",{prop:"Proposition",app:"Appendice",agd:"Definition generale des affections",pr:"Preface",ad:"Definiton des affections",ap:"Appendice",c:"Corollaire",p:"Postulat",d:"Definition",a:"Axiome"},{cd:"Corollaire Demonstration",sc:"Scolie",d:"Demonstration",c:"Corollaire",a:"Axiome",l:"Lemme",p:"Postulat"},{e:"Explication",sc:"Scolie"},{d:"Demonstration",c:"Corollaire",a:"Axiome",sc:"Scolie"}],load(e){for(var t=0;t<this.langs.length;t++)this.loadJSON(this.langs[t].lc,"/assets/jsondb/"+this.langs[t].db,e)},loadJSON(e,t,r){var n=new XMLHttpRequest;n.overrideMimeType("application/json");n.onreadystatechange=function(){switch(n.readyState){case 3:break;case 4:if(200===n.status)this.onJSONLoaded(e,n.responseText,r);else console.log("Status de la réponse: %d (%s)",n.status,n.statusText);break}}.bind(this);n.open("GET",t,true);n.send(null)},onJSONLoaded(e,t,r){this.data[e]=JSON.parse(t);this.loaded_dbs++;if(this.loaded_dbs==this.langs.length)this.parseByID(r)},parseByID(t){for(l in this.data){this.data_byid[l]={};for(p in this.data[l])if("intro"!==this.data[l][p].type)for(e in this.data[l][p].enonces){if(this.data[l][p].enonces[e].id){this.data[l][p].enonces[e].dottype=this.setupType(this.data[l][p].enonces[e].id);this.data[l][p].enonces[e].breadcrumb=this.setupBreadcrumb(this.data[l][p].enonces[e].id);this.data_byid[l][this.data[l][p].enonces[e].id]=this.data[l][p].enonces[e]}for(c in this.data[l][p].enonces[e].childs)if(this.data[l][p].enonces[e].childs[c].id){this.data[l][p].enonces[e].childs[c].dottype=this.setupType(this.data[l][p].enonces[e].childs[c].id);this.data[l][p].enonces[e].childs[c].breadcrumb=this.setupBreadcrumb(this.data[l][p].enonces[e].childs[c].id);this.data_byid[l][this.data[l][p].enonces[e].childs[c].id]=this.data[l][p].enonces[e].childs[c]}}}this.parseStrct(t)},setupBreadcrumb(e){var t="";var r=e.match(this.rx_id);if(r){r.shift();for(let e=0;e<r.length;e++)if(0==e)t+=`${this.id_strct[e]} ${r[e]}`;else if("undefined"!==typeof r[e])if(isNaN(r[e]))t+=` ${this.id_strct[e][r[e]]}`;else if(1==e)t+=` ${this.id_strct[e]["prop"]} ${r[e]}`;else t+=` ${r[e]}`;else break}return t},setupType(e){var t=e.match(this.rx_id);if(t)switch(true){case/^\d{2}$/.test(t[2]):switch(true){case/^cd$/.test(t[3]):return"corollaire-demo";case/^sc$/.test(t[3]):return"scolie";case/^d$/.test(t[3]):return"demonstration";case/^c$/.test(t[3]):switch(true){case/^sc$/.test(t[4]):return"scolie";case/^d$/.test(t[4]):return"demonstration";case/^sc$/.test(t[5]):return"scolie";case/^\d$/.test(t[4]):return"corollaire";case!t[4]:return"corollaire"}case/^a$/.test(t[3]):return"prop-axiom";case/^l$/.test(t[3]):switch(true){case/^d$/.test(t[5]):return"lemme-demonstration";case/^sc$/.test(t[5]):return"lemme-scolie";case/^c$/.test(t[5]):return"lemme-corrollaire";case!t[5]:return"lemme"}case/^p$/.test(t[3]):return"postulat";case/^\d$/.test(t[3]):return"??";case/^\d{2}$/.test(t[3]):return"??";case!t[3]:return"proposition"}case/^app|ap$/.test(t[2]):return"appendice";case/^agd$/.test(t[2]):return"def-gen-affect";case/^pr$/.test(t[2]):return"preface";case/^ad$/.test(t[2]):switch(true){case/^e$/.test(t[4]):return"explication";case!t[4]:return"def-affect"}case/^c$/.test(t[2]):return"chapitre";case/^p$/.test(t[2]):return"postulat";case/^d$/.test(t[2]):switch(true){case/^e$/.test(t[4]):return"explication";case!t[4]:return"definition"}case/^a$/.test(t[2]):return"axiom"}},parseStrct(e){var t,r,n,i,s,o;for(t in this.data_byid[this.langs[0].lc]){r=this.data_byid[this.langs[0].lc][t];if("title"==r.type)continue;n={to:[],from:[]};i=r.text.match(/\[[^\]]+\]\([^\)]+\)/g);if(i)for(s of i){o=s.match(/\((.+)\)/)[1];if(-1==n.to.indexOf(o))n.to.push(o);if("undefined"!==typeof this.data_strct[o])if(-1==this.data_strct[o].from.indexOf(o))this.data_strct[o].from.push(t)}this.data_strct[t]=n}e()}}},function(e,t,r){"use strict";e.exports=r(30)},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[];this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};n.prototype.__compile__=function(){var e=this;var t=[""];e.__rules__.forEach(function(e){if(!e.enabled)return;e.alt.forEach(function(e){if(t.indexOf(e)<0)t.push(e)})});e.__cache__={};t.forEach(function(t){e.__cache__[t]=[];e.__rules__.forEach(function(r){if(!r.enabled)return;if(t&&r.alt.indexOf(t)<0)return;e.__cache__[t].push(r.fn)})})};n.prototype.at=function(e,t,r){var n=this.__find__(e);var i=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t;this.__rules__[n].alt=i.alt||[];this.__cache__=null};n.prototype.before=function(e,t,r,n){var i=this.__find__(e);var s=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:true,fn:r,alt:s.alt||[]});this.__cache__=null};n.prototype.after=function(e,t,r,n){var i=this.__find__(e);var s=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:true,fn:r,alt:s.alt||[]});this.__cache__=null};n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:true,fn:t,alt:n.alt||[]});this.__cache__=null};n.prototype.enable=function(e,t){if(!Array.isArray(e))e=[e];var r=[];e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=true;r.push(e)},this);this.__cache__=null;return r};n.prototype.enableOnly=function(e,t){if(!Array.isArray(e))e=[e];this.__rules__.forEach(function(e){e.enabled=false});this.enable(e,t)};n.prototype.disable=function(e,t){if(!Array.isArray(e))e=[e];var r=[];e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=false;r.push(e)},this);this.__cache__=null;return r};n.prototype.getRules=function(e){if(null===this.__cache__)this.__compile__();return this.__cache__[e]||[]};e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e;this.tag=t;this.attrs=null;this.map=null;this.nesting=r;this.level=0;this.children=null;this.content="";this.markup="";this.info="";this.meta=null;this.block=false;this.hidden=false}n.prototype.attrIndex=function e(t){var r,n,i;if(!this.attrs)return-1;r=this.attrs;for(n=0,i=r.length;n<i;n++)if(r[n][0]===t)return n;return-1};n.prototype.attrPush=function e(t){if(this.attrs)this.attrs.push(t);else this.attrs=[t]};n.prototype.attrSet=function e(t,r){var n=this.attrIndex(t),i=[t,r];if(n<0)this.attrPush(i);else this.attrs[n]=i};n.prototype.attrGet=function e(t){var r=this.attrIndex(t),n=null;if(r>=0)n=this.attrs[r][1];return n};n.prototype.attrJoin=function e(t,r){var n=this.attrIndex(t);if(n<0)this.attrPush([t,r]);else this.attrs[n][1]=this.attrs[n][1]+" "+r};e.exports=n},function(e,t,r){"use strict";function n(e,t,r,n){var i=Number(e[t].meta.id+1).toString();var s="";if("string"===typeof n.docId)s="-"+n.docId+"-";return s+i}function i(e,t){var r=Number(e[t].meta.id+1).toString();if(e[t].meta.subId>0)r+=":"+e[t].meta.subId;return"["+r+"]"}function s(e,t,r,n,i){var s=i.rules.footnote_anchor_name(e,t,r,n,i);var o=i.rules.footnote_caption(e,t,r,n,i);var a=s;if(e[t].meta.subId>0)a+=":"+e[t].meta.subId;return'<sup class="footnote-ref"><a href="#fn'+s+'" id="fnref'+a+'">'+o+"</a></sup>"}function o(e,t,r){return(r.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n'+'<ol class="footnotes-list">\n'}function a(){return"</ol>\n</section>\n"}function l(e,t,r,n,i){var s=i.rules.footnote_anchor_name(e,t,r,n,i);if(e[t].meta.subId>0)s+=":"+e[t].meta.subId;return'<li id="fn'+s+'" class="footnote-item">'}function u(){return"</li>\n"}function c(e,t,r,n,i){var s=i.rules.footnote_anchor_name(e,t,r,n,i);if(e[t].meta.subId>0)s+=":"+e[t].meta.subId;return' <a href="#fnref'+s+'" class="footnote-backref">↩︎</a>'}e.exports=function e(t){var r=t.helpers.parseLinkLabel,f=t.utils.isSpace;t.renderer.rules.footnote_ref=s;t.renderer.rules.footnote_block_open=o;t.renderer.rules.footnote_block_close=a;t.renderer.rules.footnote_open=l;t.renderer.rules.footnote_close=u;t.renderer.rules.footnote_anchor=c;t.renderer.rules.footnote_caption=i;t.renderer.rules.footnote_anchor_name=n;function p(e,t,r,n){var i,s,o,a,l,u,c,p,h,d,m,g=e.bMarks[t]+e.tShift[t],v=e.eMarks[t];if(g+4>v)return false;if(91!==e.src.charCodeAt(g))return false;if(94!==e.src.charCodeAt(g+1))return false;for(l=g+2;l<v;l++){if(32===e.src.charCodeAt(l))return false;if(93===e.src.charCodeAt(l))break}if(l===g+2)return false;if(l+1>=v||58!==e.src.charCodeAt(++l))return false;if(n)return true;l++;if(!e.env.footnotes)e.env.footnotes={};if(!e.env.footnotes.refs)e.env.footnotes.refs={};u=e.src.slice(g+2,l-2);e.env.footnotes.refs[":"+u]=-1;c=new e.Token("footnote_reference_open","",1);c.meta={label:u};c.level=e.level++;e.tokens.push(c);i=e.bMarks[t];s=e.tShift[t];o=e.sCount[t];a=e.parentType;m=l;p=h=e.sCount[t]+l-(e.bMarks[t]+e.tShift[t]);while(l<v){d=e.src.charCodeAt(l);if(f(d))if(9===d)h+=4-h%4;else h++;else break;l++}e.tShift[t]=l-m;e.sCount[t]=h-p;e.bMarks[t]=m;e.blkIndent+=4;e.parentType="footnote";if(e.sCount[t]<e.blkIndent)e.sCount[t]+=e.blkIndent;e.md.block.tokenize(e,t,r,true);e.parentType=a;e.blkIndent-=4;e.tShift[t]=s;e.sCount[t]=o;e.bMarks[t]=i;c=new e.Token("footnote_reference_close","",-1);c.level=--e.level;e.tokens.push(c);return true}function h(e,t){var n,i,s,o,a,l=e.posMax,u=e.pos;if(u+2>=l)return false;if(94!==e.src.charCodeAt(u))return false;if(91!==e.src.charCodeAt(u+1))return false;n=u+2;i=r(e,u+1);if(i<0)return false;if(!t){if(!e.env.footnotes)e.env.footnotes={};if(!e.env.footnotes.list)e.env.footnotes.list=[];s=e.env.footnotes.list.length;e.md.inline.parse(e.src.slice(n,i),e.md,e.env,a=[]);o=e.push("footnote_ref","",0);o.meta={id:s};e.env.footnotes.list[s]={tokens:a}}e.pos=i+1;e.posMax=l;return true}function d(e,t){var r,n,i,s,o,a=e.posMax,l=e.pos;if(l+3>a)return false;if(!e.env.footnotes||!e.env.footnotes.refs)return false;if(91!==e.src.charCodeAt(l))return false;if(94!==e.src.charCodeAt(l+1))return false;for(n=l+2;n<a;n++){if(32===e.src.charCodeAt(n))return false;if(10===e.src.charCodeAt(n))return false;if(93===e.src.charCodeAt(n))break}if(n===l+2)return false;if(n>=a)return false;n++;r=e.src.slice(l+2,n-1);if("undefined"===typeof e.env.footnotes.refs[":"+r])return false;if(!t){if(!e.env.footnotes.list)e.env.footnotes.list=[];if(e.env.footnotes.refs[":"+r]<0){i=e.env.footnotes.list.length;e.env.footnotes.list[i]={label:r,count:0};e.env.footnotes.refs[":"+r]=i}else i=e.env.footnotes.refs[":"+r];s=e.env.footnotes.list[i].count;e.env.footnotes.list[i].count++;o=e.push("footnote_ref","",0);o.meta={id:i,subId:s,label:r}}e.pos=n;e.posMax=a;return true}function m(e){var t,r,n,i,s,o,a,l,u,c,f=false,p={};if(!e.env.footnotes)return;e.tokens=e.tokens.filter(function(e){if("footnote_reference_open"===e.type){f=true;u=[];c=e.meta.label;return false}if("footnote_reference_close"===e.type){f=false;p[":"+c]=u;return false}if(f)u.push(e);return!f});if(!e.env.footnotes.list)return;o=e.env.footnotes.list;a=new e.Token("footnote_block_open","",1);e.tokens.push(a);for(t=0,r=o.length;t<r;t++){a=new e.Token("footnote_open","",1);a.meta={id:t,label:o[t].label};e.tokens.push(a);if(o[t].tokens){l=[];a=new e.Token("paragraph_open","p",1);a.block=true;l.push(a);a=new e.Token("inline","",0);a.children=o[t].tokens;a.content="";l.push(a);a=new e.Token("paragraph_close","p",-1);a.block=true;l.push(a)}else if(o[t].label)l=p[":"+o[t].label];e.tokens=e.tokens.concat(l);if("paragraph_close"===e.tokens[e.tokens.length-1].type)s=e.tokens.pop();else s=null;i=o[t].count>0?o[t].count:1;for(n=0;n<i;n++){a=new e.Token("footnote_anchor","",0);a.meta={id:t,subId:n,label:o[t].label};e.tokens.push(a)}if(s)e.tokens.push(s);a=new e.Token("footnote_close","",-1);e.tokens.push(a)}a=new e.Token("footnote_block_close","",-1);e.tokens.push(a)}t.block.ruler.before("reference","footnote_def",p,{alt:["paragraph","reference"]});t.inline.ruler.after("image","footnote_inline",h);t.inline.ruler.after("footnote_inline","footnote_ref",d);t.core.ruler.after("inline","footnote_tail",m)}},function(e,t){e.exports={t(e){if(this.locales[e])if(this.lang)if(this.locales[e][this.lang])return this.locales[e][this.lang];else this.log(`Key "${e}" does not exists for language ${this.lang}`);else if(this.locales[e][this.fallback])return this.locales[e][this.fallback];else this.log(`Key "${e}" does not exists for fallback language ${this.fallback}`);else this.log(`Key "${e}" does not exists.`);return e},setLang(e){this.lang=e},log(e){console.log(`i18n : ${e}`)},fallback:"en",lang:null,locales:{Parts:{en:"Parts",fr:"Parties",bra:"Peças",lat:"Pars"},Mode:{en:"Mode",fr:"Mode",bra:"Modo",lat:"Modus"},Language:{en:"Language",fr:"Langue",bra:"Língua",lat:"Lingua"},Text:{en:"Text",fr:"Texte",bra:"Texto",lat:"Illud"},Connections:{en:"Connections",fr:"Connections",bra:"Conexões",lat:"Hospites"}}}},function(e,t,r){var n=r(1);var i=r(3);var s=r(9);var o=r(4)().use(r(8));e.exports={view(e){return n("header",[n("hgroup",[n("h1","Ethica"),n("h2","Benedictus Spinoza")]),n("div",{id:"menus"},[n(a),n(l),n(u)])])}};var a={view(e){var t=n.route.param("lang");return n("nav",{id:"parts-nav"},[n("h3",s.t("Parts")),n("ul",i.data[t].map(function(e){if("intro"!==e.id)return n("li",[n("a",{href:"#"+e.id},n.trust(o.renderInline(e.title)))])}))])}};var l={view(){var e=n.route.param("lang");var t=n.route.get().match(/^(\/[^\/]+)(\/[^\/|#]+)(.*)$/);return n("nav",{id:"routes"},[n("h3",s.t("Mode")),n("ul",[n("li",n("a",{href:`/${e}/text${t[3]}`,oncreate:n.route.link,onupdate:n.route.link},s.t("Text"))),n("li",n("a",{href:`/${e}/connections${t[3]}`,oncreate:n.route.link,onupdate:n.route.link},s.t("Connections")))])])}};var u={view(){var e=n.route.get().match(/^\/[^\/]+(.+)$/);return n("nav",{id:"languages"},[n("h3",s.t("Language")),n("ul",i.langs.map(t=>{return n("li",n("a",{lang:t.lc,href:`/${t.lc}${e[1]}`,oncreate:n.route.link,onupdate:n.route.link},t.label))}))])}}},function(e,t,r){"use strict";e.exports=r(31)},function(e,t,r){"use strict";e.exports.encode=r(32);e.exports.decode=r(33);e.exports.format=r(34);e.exports.parse=r(35)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="[a-zA-Z_:][a-zA-Z0-9:._-]*";var i="[^\"'=<>`\\x00-\\x20]+";var s="'[^']*'";var o='"[^"]*"';var a="(?:"+i+"|"+s+"|"+o+")";var l="(?:\\s+"+n+"(?:\\s*=\\s*"+a+")?)";var u="<[A-Za-z][A-Za-z0-9\\-]*"+l+"*\\s*\\/?>";var c="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";var f="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e";var p="<[?].*?[?]>";var h="<![A-Z]+\\s+[^>]*>";var d="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";var m=new RegExp("^(?:"+u+"|"+c+"|"+f+"|"+p+"|"+h+"|"+d+")");var g=new RegExp("^(?:"+u+"|"+c+")");e.exports.HTML_TAG_RE=m;e.exports.HTML_OPEN_CLOSE_TAG_RE=g},function(e,t,r){"use strict";e.exports.tokenize=function e(t,r){var n,i,s,o,a,l=t.pos,u=t.src.charCodeAt(l);if(r)return false;if(126!==u)return false;i=t.scanDelims(t.pos,true);o=i.length;a=String.fromCharCode(u);if(o<2)return false;if(o%2){s=t.push("text","",0);s.content=a;o--}for(n=0;n<o;n+=2){s=t.push("text","",0);s.content=a+a;t.delimiters.push({marker:u,jump:n,token:t.tokens.length-1,level:t.level,end:-1,open:i.can_open,close:i.can_close})}t.pos+=i.length;return true};e.exports.postProcess=function e(t){var r,n,i,s,o,a=[],l=t.delimiters,u=t.delimiters.length;for(r=0;r<u;r++){i=l[r];if(126!==i.marker)continue;if(-1===i.end)continue;s=l[i.end];o=t.tokens[i.token];o.type="s_open";o.tag="s";o.nesting=1;o.markup="~~";o.content="";o=t.tokens[s.token];o.type="s_close";o.tag="s";o.nesting=-1;o.markup="~~";o.content="";if("text"===t.tokens[s.token-1].type&&"~"===t.tokens[s.token-1].content)a.push(s.token-1)}while(a.length){r=a.pop();n=r+1;while(n<t.tokens.length&&"s_close"===t.tokens[n].type)n++;n--;if(r!==n){o=t.tokens[n];t.tokens[n]=t.tokens[r];t.tokens[r]=o}}}},function(e,t,r){"use strict";e.exports.tokenize=function e(t,r){var n,i,s,o=t.pos,a=t.src.charCodeAt(o);if(r)return false;if(95!==a&&42!==a)return false;i=t.scanDelims(t.pos,42===a);for(n=0;n<i.length;n++){s=t.push("text","",0);s.content=String.fromCharCode(a);t.delimiters.push({marker:a,length:i.length,jump:n,token:t.tokens.length-1,level:t.level,end:-1,open:i.can_open,close:i.can_close})}t.pos+=i.length;return true};e.exports.postProcess=function e(t){var r,n,i,s,o,a,l=t.delimiters,u=t.delimiters.length;for(r=u-1;r>=0;r--){n=l[r];if(95!==n.marker&&42!==n.marker)continue;if(-1===n.end)continue;i=l[n.end];a=r>0&&l[r-1].end===n.end+1&&l[r-1].token===n.token-1&&l[n.end+1].token===i.token+1&&l[r-1].marker===n.marker;o=String.fromCharCode(n.marker);s=t.tokens[n.token];s.type=a?"strong_open":"em_open";s.tag=a?"strong":"em";s.nesting=1;s.markup=a?o+o:o;s.content="";s=t.tokens[i.token];s.type=a?"strong_close":"em_close";s.tag=a?"strong":"em";s.nesting=-1;s.markup=a?o+o:o;s.content="";if(a){t.tokens[l[r-1].token].content="";t.tokens[l[n.end+1].token].content="";r--}}}},function(e,t,r){var n=r(1);e.exports={view(e){return n("footer",[n("p",n.trust('© 2017 <a href="./">Ethica Spinoza</a>'))])}}},function(e,t){e.exports={init(){this.initStickyTitles()},initStickyTitles(){let e=document.getElementsByTagName("header")[0].clientHeight;var t=document.querySelector(".sticky-clone-wrapper");if(!t){var t=document.createElement("div");t.classList.add("sticky-clone-wrapper");document.body.append(t)}var r=new Array;Array.from(document.querySelectorAll("h1.part-title")).forEach(function(e){e._part=e.getAttribute("part");r.push(e)});var n,i=false,s,o,a=false,l;let u=function(s){n=false;for(let t=r.length-1;t>=0;t--)if(r[t].getBoundingClientRect().top<e){n=r[t];break}if(n){if(n._part!==i._part){l=n.cloneNode(true);t.innerHTML="";t.appendChild(l);i=n}}else{t.innerHTML="";n=i=false}};window.onscroll=u}}},function(e,t,r){r(22);e.exports=r(87)},function(e,t,r){r(23);r(24);r(25);r(26);const n=r(1);const i=r(3);const s=r(9);const o=r(10);const a=r(19);const l=r(85);const u=r(86);var c={view(e){s.setLang(e.attrs.lang);return[n(o,e.attrs),e.children,n(a,e.attrs)]}};function f(){i.load(function(){console.log("init dbs callback");console.log("Init _dbs.data",i.data);console.log("Init _dbs.data_byid",i.data_byid);console.log("Init _dbs.data_strct",i.data_strct);n.route.prefix("");n.route(document.body,"/fr/text",{"/:lang/text":{render(e){return n(c,e.attrs,n(l,e.attrs))}},"/:lang/connections":{render(e){return n(c,e.attrs,n(u,e.attrs))}}})})}f()},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,r){(function(e){var n=Function.prototype.apply;t.setTimeout=function(){return new i(n.call(setTimeout,window,arguments),clearTimeout)};t.setInterval=function(){return new i(n.call(setInterval,window,arguments),clearInterval)};t.clearTimeout=t.clearInterval=function(e){if(e)e.close()};function i(e,t){this._id=e;this._clearFn=t}i.prototype.unref=i.prototype.ref=function(){};i.prototype.close=function(){this._clearFn.call(window,this._id)};t.enroll=function(e,t){clearTimeout(e._idleTimeoutId);e._idleTimeout=t};t.unenroll=function(e){clearTimeout(e._idleTimeoutId);e._idleTimeout=-1};t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;if(t>=0)e._idleTimeoutId=setTimeout(function t(){if(e._onTimeout)e._onTimeout()},t)};r(28);t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate;t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(t,r(2))},function(e,t,r){(function(e,t){(function(e,r){"use strict";if(e.setImmediate)return;var n=1;var i={};var s=false;var o=e.document;var a;function l(e){if("function"!==typeof e)e=new Function(""+e);var t=new Array(arguments.length-1);for(var r=0;r<t.length;r++)t[r]=arguments[r+1];var s={callback:e,args:t};i[n]=s;a(n);return n++}function u(e){delete i[e]}function c(e){var t=e.callback;var n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n);break}}function f(e){if(s)setTimeout(f,0,e);else{var t=i[e];if(t){s=true;try{c(t)}finally{u(e);s=false}}}}function p(){a=function(e){t.nextTick(function(){f(e)})}}function h(){if(e.postMessage&&!e.importScripts){var t=true;var r=e.onmessage;e.onmessage=function(){t=false};e.postMessage("","*");e.onmessage=r;return t}}function d(){var t="setImmediate$"+Math.random()+"$";var r=function(r){if(r.source===e&&"string"===typeof r.data&&0===r.data.indexOf(t))f(+r.data.slice(t.length))};if(e.addEventListener)e.addEventListener("message",r,false);else e.attachEvent("onmessage",r);a=function(r){e.postMessage(t+r,"*")}}function m(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;f(t)};a=function(t){e.port2.postMessage(t)}}function g(){var e=o.documentElement;a=function(t){var r=o.createElement("script");r.onreadystatechange=function(){f(t);r.onreadystatechange=null;e.removeChild(r);r=null};e.appendChild(r)}}function v(){a=function(e){setTimeout(f,0,e)}}var b=Object.getPrototypeOf&&Object.getPrototypeOf(e);b=b&&b.setTimeout?b:e;if("[object process]"==={}.toString.call(e.process))p();else if(h())d();else if(e.MessageChannel)m();else if(o&&"onreadystatechange"in o.createElement("script"))g();else v();b.setImmediate=l;b.clearImmediate=u})("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(t,r(2),r(29))},function(e,t){var r=e.exports={};var n;var i;function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{if("function"===typeof setTimeout)n=setTimeout;else n=s}catch(e){n=s}try{if("function"===typeof clearTimeout)i=clearTimeout;else i=o}catch(e){i=o}})();function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout){n=setTimeout;return setTimeout(e,0)}try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function l(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout){i=clearTimeout;return clearTimeout(e)}try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}var u=[];var c=false;var f;var p=-1;function h(){if(!c||!f)return;c=false;if(f.length)u=f.concat(u);else p=-1;if(u.length)d()}function d(){if(c)return;var e=a(h);c=true;var t=u.length;while(t){f=u;u=[];while(++p<t)if(f)f[p].run();p=-1;t=u.length}f=null;c=false;l(e)}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new m(e,t));if(1===u.length&&!c)a(d)};function m(e,t){this.fun=e;this.array=t}m.prototype.run=function(){this.fun.apply(null,this.array)};r.title="browser";r.browser=true;r.env={};r.argv=[];r.version="";r.versions={};function g(){}r.on=g;r.addListener=g;r.once=g;r.off=g;r.removeListener=g;r.removeAllListeners=g;r.emit=g;r.prependListener=g;r.prependOnceListener=g;r.listeners=function(e){return[]};r.binding=function(e){throw new Error("process.binding is not supported")};r.cwd=function(){return"/"};r.chdir=function(e){throw new Error("process.chdir is not supported")};r.umask=function(){return 0}},function(e,t,r){"use strict";var n=r(0);var i=r(38);var s=r(42);var o=r(43);var a=r(51);var l=r(65);var u=r(78);var c=r(12);var f=r(80);var p={default:r(82),zero:r(83),commonmark:r(84)};var h=/^(vbscript|javascript|file|data):/;var d=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return h.test(t)?d.test(t)?true:false:true}var g=["http:","https:","mailto:"];function v(e){var t=c.parse(e,true);if(t.hostname)if(!t.protocol||g.indexOf(t.protocol)>=0)try{t.hostname=f.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function b(e){var t=c.parse(e,true);if(t.hostname)if(!t.protocol||g.indexOf(t.protocol)>=0)try{t.hostname=f.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t))}function _(e,t){if(!(this instanceof _))return new _(e,t);if(!t)if(!n.isString(e)){t=e||{};e="default"}this.inline=new l;this.block=new a;this.core=new o;this.renderer=new s;this.linkify=new u;this.validateLink=m;this.normalizeLink=v;this.normalizeLinkText=b;this.utils=n;this.helpers=n.assign({},i);this.options={};this.configure(e);if(t)this.set(t)}_.prototype.set=function(e){n.assign(this.options,e);return this};_.prototype.configure=function(e){var t=this,r;if(n.isString(e)){r=e;e=p[r];if(!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");if(e.options)t.set(e.options);if(e.components)Object.keys(e.components).forEach(function(r){if(e.components[r].rules)t[r].ruler.enableOnly(e.components[r].rules);if(e.components[r].rules2)t[r].ruler2.enableOnly(e.components[r].rules2)});return this};_.prototype.enable=function(e,t){var r=[];if(!Array.isArray(e))e=[e];["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,true))},this);r=r.concat(this.inline.ruler2.enable(e,true));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};_.prototype.disable=function(e,t){var r=[];if(!Array.isArray(e))e=[e];["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,true))},this);r=r.concat(this.inline.ruler2.disable(e,true));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};_.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));e.apply(e,t);return this};_.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);this.core.process(r);return r.tokens};_.prototype.render=function(e,t){t=t||{};return this.renderer.render(this.parse(e,t),this.options,t)};_.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);r.inlineMode=true;this.core.process(r);return r.tokens};_.prototype.renderInline=function(e,t){t=t||{};return this.renderer.render(this.parseInline(e,t),this.options,t)};e.exports=_},function(e,t){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,r){"use strict";var n={};function i(e){var t,r,i=n[e];if(i)return i;i=n[e]=[];for(t=0;t<128;t++){r=String.fromCharCode(t);if(/^[0-9a-z]$/i.test(r))i.push(r);else i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}function s(e,t,r){var n,o,a,l,u,c="";if("string"!==typeof t){r=t;t=s.defaultChars}if("undefined"===typeof r)r=true;u=i(t);for(n=0,o=e.length;n<o;n++){a=e.charCodeAt(n);if(r&&37===a&&n+2<o)if(/^[0-9a-f]{2}$/i.test(e.slice(n+1,n+3))){c+=e.slice(n,n+3);n+=2;continue}if(a<128){c+=u[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&n+1<o){l=e.charCodeAt(n+1);if(l>=56320&&l<=57343){c+=encodeURIComponent(e[n]+e[n+1]);n++;continue}}c+="%EF%BF%BD";continue}c+=encodeURIComponent(e[n])}return c}s.defaultChars=";/?:@&=+$,-_.!~*'()#";s.componentChars="-_.!~*'()";e.exports=s},function(e,t,r){"use strict";var n={};function i(e){var t,r,i=n[e];if(i)return i;i=n[e]=[];for(t=0;t<128;t++){r=String.fromCharCode(t);i.push(r)}for(t=0;t<e.length;t++){r=e.charCodeAt(t);i[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return i}function s(e,t){var r;if("string"!==typeof t)t=s.defaultChars;r=i(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,i,s,o,a,l,u="";for(t=0,n=e.length;t<n;t+=3){i=parseInt(e.slice(t+1,t+3),16);if(i<128){u+=r[i];continue}if(192===(224&i)&&t+3<n){s=parseInt(e.slice(t+4,t+6),16);if(128===(192&s)){l=i<<6&1984|63&s;if(l<128)u+="��";else u+=String.fromCharCode(l);t+=3;continue}}if(224===(240&i)&&t+6<n){s=parseInt(e.slice(t+4,t+6),16);o=parseInt(e.slice(t+7,t+9),16);if(128===(192&s)&&128===(192&o)){l=i<<12&61440|s<<6&4032|63&o;if(l<2048||l>=55296&&l<=57343)u+="���";else u+=String.fromCharCode(l);t+=6;continue}}if(240===(248&i)&&t+9<n){s=parseInt(e.slice(t+4,t+6),16);o=parseInt(e.slice(t+7,t+9),16);a=parseInt(e.slice(t+10,t+12),16);if(128===(192&s)&&128===(192&o)&&128===(192&a)){l=i<<18&1835008|s<<12&258048|o<<6&4032|63&a;if(l<65536||l>1114111)u+="����";else{l-=65536;u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))}t+=9;continue}}u+="�"}return u})}s.defaultChars=";/?:@&=+$,#";s.componentChars="";e.exports=s},function(e,t,r){"use strict";e.exports=function e(t){var r="";r+=t.protocol||"";r+=t.slashes?"//":"";r+=t.auth?t.auth+"@":"";if(t.hostname&&-1!==t.hostname.indexOf(":"))r+="["+t.hostname+"]";else r+=t.hostname||"";r+=t.port?":"+t.port:"";r+=t.pathname||"";r+=t.search||"";r+=t.hash||"";return r}},function(e,t,r){"use strict";function n(){this.protocol=null;this.slashes=null;this.auth=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(a),u=["'"].concat(l),c=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=255,h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:true,"javascript:":true},g={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true};function v(e,t){if(e&&e instanceof n)return e;var r=new n;r.parse(e,t);return r}n.prototype.parse=function(e,t){var r,n,s,a,l,u=e;u=u.trim();if(!t&&1===e.split("#").length){var v=o.exec(u);if(v){this.pathname=v[1];if(v[2])this.search=v[2];return this}}var b=i.exec(u);if(b){b=b[0];s=b.toLowerCase();this.protocol=b;u=u.substr(b.length)}if(t||b||u.match(/^\/\/[^@\/]+@[^@\/]+/)){l="//"===u.substr(0,2);if(l&&!(b&&m[b])){u=u.substr(2);this.slashes=true}}if(!m[b]&&(l||b&&!g[b])){var _=-1;for(r=0;r<f.length;r++){a=u.indexOf(f[r]);if(-1!==a&&(-1===_||a<_))_=a}var k,y;if(-1===_)y=u.lastIndexOf("@");else y=u.lastIndexOf("@",_);if(-1!==y){k=u.slice(0,y);u=u.slice(y+1);this.auth=k}_=-1;for(r=0;r<c.length;r++){a=u.indexOf(c[r]);if(-1!==a&&(-1===_||a<_))_=a}if(-1===_)_=u.length;if(":"===u[_-1])_--;var x=u.slice(0,_);u=u.slice(_);this.parseHost(x);this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var C=this.hostname.split(/\./);for(r=0,n=C.length;r<n;r++){var A=C[r];if(!A)continue;if(!A.match(h)){var D="";for(var E=0,S=A.length;E<S;E++)if(A.charCodeAt(E)>127)D+="x";else D+=A[E];if(!D.match(h)){var q=C.slice(0,r);var T=C.slice(r+1);var L=A.match(d);if(L){q.push(L[1]);T.unshift(L[2])}if(T.length)u=T.join(".")+u;this.hostname=q.join(".");break}}}}if(this.hostname.length>p)this.hostname="";if(w)this.hostname=this.hostname.substr(1,this.hostname.length-2)}var z=u.indexOf("#");if(-1!==z){this.hash=u.substr(z);u=u.slice(0,z)}var F=u.indexOf("?");if(-1!==F){this.search=u.substr(F);u=u.slice(0,F)}if(u)this.pathname=u;if(g[s]&&this.hostname&&!this.pathname)this.pathname="";return this};n.prototype.parseHost=function(e){var t=s.exec(e);if(t){t=t[0];if(":"!==t)this.port=t.substr(1);e=e.substr(0,e.length-t.length)}if(e)this.hostname=e};e.exports=v},function(e,t,r){"use strict";t.Any=r(13);t.Cc=r(14);t.Cf=r(37);t.P=r(5);t.Z=r(15)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(39);t.parseLinkDestination=r(40);t.parseLinkTitle=r(41)},function(e,t,r){"use strict";e.exports=function e(t,r,n){var i,s,o,a,l=-1,u=t.posMax,c=t.pos;t.pos=r+1;i=1;while(t.pos<u){o=t.src.charCodeAt(t.pos);if(93===o){i--;if(0===i){s=true;break}}a=t.pos;t.md.inline.skipToken(t);if(91===o)if(a===t.pos-1)i++;else if(n){t.pos=c;return-1}}if(s)l=t.pos;t.pos=c;return l}},function(e,t,r){"use strict";var n=r(0).isSpace;var i=r(0).unescapeAll;e.exports=function e(t,r,s){var o,a,l=0,u=r,c={ok:false,pos:0,lines:0,str:""};if(60===t.charCodeAt(r)){r++;while(r<s){o=t.charCodeAt(r);if(10===o||n(o))return c;if(62===o){c.pos=r+1;c.str=i(t.slice(u+1,r));c.ok=true;return c}if(92===o&&r+1<s){r+=2;continue}r++}return c}a=0;while(r<s){o=t.charCodeAt(r);if(32===o)break;if(o<32||127===o)break;if(92===o&&r+1<s){r+=2;continue}if(40===o)a++;if(41===o){if(0===a)break;a--}r++}if(u===r)return c;if(0!==a)return c;c.str=i(t.slice(u,r));c.lines=l;c.pos=r;c.ok=true;return c}},function(e,t,r){"use strict";var n=r(0).unescapeAll;e.exports=function e(t,r,i){var s,o,a=0,l=r,u={ok:false,pos:0,lines:0,str:""};if(r>=i)return u;o=t.charCodeAt(r);if(34!==o&&39!==o&&40!==o)return u;r++;if(40===o)o=41;while(r<i){s=t.charCodeAt(r);if(s===o){u.pos=r+1;u.lines=a;u.str=n(t.slice(l+1,r));u.ok=true;return u}else if(10===s)a++;else if(92===s&&r+1<i){r++;if(10===t.charCodeAt(r))a++}r++}return u}},function(e,t,r){"use strict";var n=r(0).assign;var i=r(0).unescapeAll;var s=r(0).escapeHtml;var o={};o.code_inline=function(e,t,r,n,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+s(e[t].content)+"</code>"};o.code_block=function(e,t,r,n,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+s(e[t].content)+"</code></pre>\n"};o.fence=function(e,t,r,n,o){var a=e[t],l=a.info?i(a.info).trim():"",u="",c,f,p,h;if(l)u=l.split(/\s+/g)[0];if(r.highlight)c=r.highlight(a.content,u)||s(a.content);else c=s(a.content);if(0===c.indexOf("<pre"))return c+"\n";if(l){f=a.attrIndex("class");p=a.attrs?a.attrs.slice():[];if(f<0)p.push(["class",r.langPrefix+u]);else p[f][1]+=" "+r.langPrefix+u;h={attrs:p};return"<pre><code"+o.renderAttrs(h)+">"+c+"</code></pre>\n"}return"<pre><code"+o.renderAttrs(a)+">"+c+"</code></pre>\n"};o.image=function(e,t,r,n,i){var s=e[t];s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,r,n);return i.renderToken(e,t,r)};o.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"};o.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"};o.text=function(e,t){return s(e[t].content)};o.html_block=function(e,t){return e[t].content};o.html_inline=function(e,t){return e[t].content};function a(){this.rules=n({},o)}a.prototype.renderAttrs=function e(t){var r,n,i;if(!t.attrs)return"";i="";for(r=0,n=t.attrs.length;r<n;r++)i+=" "+s(t.attrs[r][0])+'="'+s(t.attrs[r][1])+'"';return i};a.prototype.renderToken=function e(t,r,n){var i,s="",o=false,a=t[r];if(a.hidden)return"";if(a.block&&-1!==a.nesting&&r&&t[r-1].hidden)s+="\n";s+=(-1===a.nesting?"</":"<")+a.tag;s+=this.renderAttrs(a);if(0===a.nesting&&n.xhtmlOut)s+=" /";if(a.block){o=true;if(1===a.nesting)if(r+1<t.length){i=t[r+1];if("inline"===i.type||i.hidden)o=false;else if(-1===i.nesting&&i.tag===a.tag)o=false}}s+=o?">\n":">";return s};a.prototype.renderInline=function(e,t,r){var n,i="",s=this.rules;for(var o=0,a=e.length;o<a;o++){n=e[o].type;if("undefined"!==typeof s[n])i+=s[n](e,o,t,r,this);else i+=this.renderToken(e,o,t)}return i};a.prototype.renderInlineAsText=function(e,t,r){var n="";for(var i=0,s=e.length;i<s;i++)if("text"===e[i].type)n+=e[i].content;else if("image"===e[i].type)n+=this.renderInlineAsText(e[i].children,t,r);return n};a.prototype.render=function(e,t,r){var n,i,s,o="",a=this.rules;for(n=0,i=e.length;n<i;n++){s=e[n].type;if("inline"===s)o+=this.renderInline(e[n].children,t,r);else if("undefined"!==typeof a[s])o+=a[e[n].type](e,n,t,r,this);else o+=this.renderToken(e,n,t,r)}return o};e.exports=a},function(e,t,r){"use strict";var n=r(6);var i=[["normalize",r(44)],["block",r(45)],["inline",r(46)],["linkify",r(47)],["replacements",r(48)],["smartquotes",r(49)]];function s(){this.ruler=new n;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}s.prototype.process=function(e){var t,r,n;n=this.ruler.getRules("");for(t=0,r=n.length;t<r;t++)n[t](e)};s.prototype.State=r(50);e.exports=s},function(e,t,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g;var i=/\u0000/g;e.exports=function e(t){var r;r=t.src.replace(n,"\n");r=r.replace(i,"�");t.src=r}},function(e,t,r){"use strict";e.exports=function e(t){var r;if(t.inlineMode){r=new t.Token("inline","",0);r.content=t.src;r.map=[0,1];r.children=[];t.tokens.push(r)}else t.md.block.parse(t.src,t.md,t.env,t.tokens)}},function(e,t,r){"use strict";e.exports=function e(t){var r=t.tokens,n,i,s;for(i=0,s=r.length;i<s;i++){n=r[i];if("inline"===n.type)t.md.inline.parse(n.content,t.md,t.env,n.children)}}},function(e,t,r){"use strict";var n=r(0).arrayReplaceAt;function i(e){return/^<a[>\s]/i.test(e)}function s(e){return/^<\/a\s*>/i.test(e)}e.exports=function e(t){var r,o,a,l,u,c,f,p,h,d,m,g,v,b,_,k,y=t.tokens,x;if(!t.md.options.linkify)return;for(o=0,a=y.length;o<a;o++){if("inline"!==y[o].type||!t.md.linkify.pretest(y[o].content))continue;l=y[o].children;v=0;for(r=l.length-1;r>=0;r--){c=l[r];if("link_close"===c.type){r--;while(l[r].level!==c.level&&"link_open"!==l[r].type)r--;continue}if("html_inline"===c.type){if(i(c.content)&&v>0)v--;if(s(c.content))v++}if(v>0)continue;if("text"===c.type&&t.md.linkify.test(c.content)){h=c.content;x=t.md.linkify.match(h);f=[];g=c.level;m=0;for(p=0;p<x.length;p++){b=x[p].url;_=t.md.normalizeLink(b);if(!t.md.validateLink(_))continue;k=x[p].text;if(!x[p].schema)k=t.md.normalizeLinkText("http://"+k).replace(/^http:\/\//,"");else if("mailto:"===x[p].schema&&!/^mailto:/i.test(k))k=t.md.normalizeLinkText("mailto:"+k).replace(/^mailto:/,"");else k=t.md.normalizeLinkText(k);d=x[p].index;if(d>m){u=new t.Token("text","",0);u.content=h.slice(m,d);u.level=g;f.push(u)}u=new t.Token("link_open","a",1);u.attrs=[["href",_]];u.level=g++;u.markup="linkify";u.info="auto";f.push(u);u=new t.Token("text","",0);u.content=k;u.level=g;f.push(u);u=new t.Token("link_close","a",-1);u.level=--g;u.markup="linkify";u.info="auto";f.push(u);m=x[p].lastIndex}if(m<h.length){u=new t.Token("text","",0);u.content=h.slice(m);u.level=g;f.push(u)}y[o].children=l=n(l,r,f)}}}}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/;var i=/\((c|tm|r|p)\)/i;var s=/\((c|tm|r|p)\)/gi;var o={c:"©",r:"®",p:"§",tm:"™"};function a(e,t){return o[t.toLowerCase()]}function l(e){var t,r,n=0;for(t=e.length-1;t>=0;t--){r=e[t];if("text"===r.type&&!n)r.content=r.content.replace(s,a);if("link_open"===r.type&&"auto"===r.info)n--;if("link_close"===r.type&&"auto"===r.info)n++}}function u(e){var t,r,i=0;for(t=e.length-1;t>=0;t--){r=e[t];if("text"===r.type&&!i)if(n.test(r.content))r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2");if("link_open"===r.type&&"auto"===r.info)i--;if("link_close"===r.type&&"auto"===r.info)i++}}e.exports=function e(t){var r;if(!t.md.options.typographer)return;for(r=t.tokens.length-1;r>=0;r--){if("inline"!==t.tokens[r].type)continue;if(i.test(t.tokens[r].content))l(t.tokens[r].children);if(n.test(t.tokens[r].content))u(t.tokens[r].children)}}},function(e,t,r){"use strict";var n=r(0).isWhiteSpace;var i=r(0).isPunctChar;var s=r(0).isMdAsciiPunct;var o=/['"]/;var a=/['"]/g;var l="’";function u(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function c(e,t){var r,o,c,f,p,h,d,m,g,v,b,_,k,y,x,w,C,A,D,E,S;D=[];for(r=0;r<e.length;r++){o=e[r];d=e[r].level;for(C=D.length-1;C>=0;C--)if(D[C].level<=d)break;D.length=C+1;if("text"!==o.type)continue;c=o.content;p=0;h=c.length;e:while(p<h){a.lastIndex=p;f=a.exec(c);if(!f)break;x=w=true;p=f.index+1;A="'"===f[0];g=32;if(f.index-1>=0)g=c.charCodeAt(f.index-1);else for(C=r-1;C>=0;C--){if("text"!==e[C].type)continue;g=e[C].content.charCodeAt(e[C].content.length-1);break}v=32;if(p<h)v=c.charCodeAt(p);else for(C=r+1;C<e.length;C++){if("text"!==e[C].type)continue;v=e[C].content.charCodeAt(0);break}b=s(g)||i(String.fromCharCode(g));_=s(v)||i(String.fromCharCode(v));k=n(g);y=n(v);if(y)x=false;else if(_)if(!(k||b))x=false;if(k)w=false;else if(b)if(!(y||_))w=false;if(34===v&&'"'===f[0])if(g>=48&&g<=57)w=x=false;if(x&&w){x=false;w=_}if(!x&&!w){if(A)o.content=u(o.content,f.index,l);continue}if(w)for(C=D.length-1;C>=0;C--){m=D[C];if(D[C].level<d)break;if(m.single===A&&D[C].level===d){m=D[C];if(A){E=t.md.options.quotes[2];S=t.md.options.quotes[3]}else{E=t.md.options.quotes[0];S=t.md.options.quotes[1]}o.content=u(o.content,f.index,S);e[m.token].content=u(e[m.token].content,m.pos,E);p+=S.length-1;if(m.token===r)p+=E.length-1;c=o.content;h=c.length;D.length=C;continue e}}if(x)D.push({token:r,pos:f.index,single:A,level:d});else if(w&&A)o.content=u(o.content,f.index,l)}}}e.exports=function e(t){var r;if(!t.md.options.typographer)return;for(r=t.tokens.length-1;r>=0;r--){if("inline"!==t.tokens[r].type||!o.test(t.tokens[r].content))continue;c(t.tokens[r].children,t)}}},function(e,t,r){"use strict";var n=r(7);function i(e,t,r){this.src=e;this.env=r;this.tokens=[];this.inlineMode=false;this.md=t}i.prototype.Token=n;e.exports=i},function(e,t,r){"use strict";var n=r(6);var i=[["table",r(52),["paragraph","reference"]],["code",r(53)],["fence",r(54),["paragraph","reference","blockquote","list"]],["blockquote",r(55),["paragraph","reference","blockquote","list"]],["hr",r(56),["paragraph","reference","blockquote","list"]],["list",r(57),["paragraph","reference","blockquote"]],["reference",r(58)],["heading",r(59),["paragraph","reference","blockquote"]],["lheading",r(60)],["html_block",r(61),["paragraph","reference","blockquote"]],["paragraph",r(63)]];function s(){this.ruler=new n;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}s.prototype.tokenize=function(e,t,r){var n,i,s=this.ruler.getRules(""),o=s.length,a=t,l=false,u=e.md.options.maxNesting;while(a<r){e.line=a=e.skipEmptyLines(a);if(a>=r)break;if(e.sCount[a]<e.blkIndent)break;if(e.level>=u){e.line=r;break}for(i=0;i<o;i++){n=s[i](e,a,r,false);if(n)break}e.tight=!l;if(e.isEmpty(e.line-1))l=true;a=e.line;if(a<r&&e.isEmpty(a)){l=true;a++;e.line=a}}};s.prototype.parse=function(e,t,r,n){var i;if(!e)return;i=new this.State(e,t,r,n);this.tokenize(i,i.line,i.lineMax)};s.prototype.State=r(64);e.exports=s},function(e,t,r){"use strict";var n=r(0).isSpace;function i(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function s(e){var t=[],r=0,n=e.length,i,s=0,o=0,a=false,l=0;i=e.charCodeAt(r);while(r<n){if(96===i){if(a){a=false;l=r}else if(s%2===0){a=true;l=r}}else if(124===i&&s%2===0&&!a){t.push(e.substring(o,r));o=r+1}if(92===i)s++;else s=0;r++;if(r===n&&a){a=false;r=l+1}i=e.charCodeAt(r)}t.push(e.substring(o));return t}e.exports=function e(t,r,o,a){var l,u,c,f,p,h,d,m,g,v,b,_;if(r+2>o)return false;p=r+1;if(t.sCount[p]<t.blkIndent)return false;if(t.sCount[p]-t.blkIndent>=4)return false;c=t.bMarks[p]+t.tShift[p];if(c>=t.eMarks[p])return false;l=t.src.charCodeAt(c++);if(124!==l&&45!==l&&58!==l)return false;while(c<t.eMarks[p]){l=t.src.charCodeAt(c);if(124!==l&&45!==l&&58!==l&&!n(l))return false;c++}u=i(t,r+1);h=u.split("|");g=[];for(f=0;f<h.length;f++){v=h[f].trim();if(!v)if(0===f||f===h.length-1)continue;else return false;if(!/^:?-+:?$/.test(v))return false;if(58===v.charCodeAt(v.length-1))g.push(58===v.charCodeAt(0)?"center":"right");else if(58===v.charCodeAt(0))g.push("left");else g.push("")}u=i(t,r).trim();if(-1===u.indexOf("|"))return false;if(t.sCount[r]-t.blkIndent>=4)return false;h=s(u.replace(/^\||\|$/g,""));d=h.length;if(d>g.length)return false;if(a)return true;m=t.push("table_open","table",1);m.map=b=[r,0];m=t.push("thead_open","thead",1);m.map=[r,r+1];m=t.push("tr_open","tr",1);m.map=[r,r+1];for(f=0;f<h.length;f++){m=t.push("th_open","th",1);m.map=[r,r+1];if(g[f])m.attrs=[["style","text-align:"+g[f]]];m=t.push("inline","",0);m.content=h[f].trim();m.map=[r,r+1];m.children=[];m=t.push("th_close","th",-1)}m=t.push("tr_close","tr",-1);m=t.push("thead_close","thead",-1);m=t.push("tbody_open","tbody",1);m.map=_=[r+2,0];for(p=r+2;p<o;p++){if(t.sCount[p]<t.blkIndent)break;u=i(t,p).trim();if(-1===u.indexOf("|"))break;if(t.sCount[p]-t.blkIndent>=4)break;h=s(u.replace(/^\||\|$/g,""));m=t.push("tr_open","tr",1);for(f=0;f<d;f++){m=t.push("td_open","td",1);if(g[f])m.attrs=[["style","text-align:"+g[f]]];m=t.push("inline","",0);m.content=h[f]?h[f].trim():"";m.children=[];m=t.push("td_close","td",-1)}m=t.push("tr_close","tr",-1)}m=t.push("tbody_close","tbody",-1);m=t.push("table_close","table",-1);b[1]=_[1]=p;t.line=p;return true}},function(e,t,r){"use strict";e.exports=function e(t,r,n){var i,s,o;if(t.sCount[r]-t.blkIndent<4)return false;s=i=r+1;while(i<n){if(t.isEmpty(i)){i++;continue}if(t.sCount[i]-t.blkIndent>=4){i++;s=i;continue}break}t.line=s;o=t.push("code_block","code",0);o.content=t.getLines(r,s,4+t.blkIndent,true);o.map=[r,t.line];return true}},function(e,t,r){"use strict";e.exports=function e(t,r,n,i){var s,o,a,l,u,c,f,p=false,h=t.bMarks[r]+t.tShift[r],d=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;if(h+3>d)return false;s=t.src.charCodeAt(h);if(126!==s&&96!==s)return false;u=h;h=t.skipChars(h,s);o=h-u;if(o<3)return false;f=t.src.slice(u,h);a=t.src.slice(h,d);if(a.indexOf(String.fromCharCode(s))>=0)return false;if(i)return true;l=r;for(;;){l++;if(l>=n)break;h=u=t.bMarks[l]+t.tShift[l];d=t.eMarks[l];if(h<d&&t.sCount[l]<t.blkIndent)break;if(t.src.charCodeAt(h)!==s)continue;if(t.sCount[l]-t.blkIndent>=4)continue;h=t.skipChars(h,s);if(h-u<o)continue;h=t.skipSpaces(h);if(h<d)continue;p=true;break}o=t.sCount[r];t.line=l+(p?1:0);c=t.push("fence","code",0);c.info=a;c.content=t.getLines(r+1,l,o,true);c.markup=f;c.map=[r,t.line];return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r,i,s){var o,a,l,u,c,f,p,h,d,m,g,v,b,_,k,y,x,w,C,A,D=t.lineMax,E=t.bMarks[r]+t.tShift[r],S=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;if(62!==t.src.charCodeAt(E++))return false;if(s)return true;u=d=t.sCount[r]+E-(t.bMarks[r]+t.tShift[r]);if(32===t.src.charCodeAt(E)){E++;u++;d++;o=false;y=true}else if(9===t.src.charCodeAt(E)){y=true;if((t.bsCount[r]+d)%4===3){E++;u++;d++;o=false}else o=true}else y=false;m=[t.bMarks[r]];t.bMarks[r]=E;while(E<S){a=t.src.charCodeAt(E);if(n(a))if(9===a)d+=4-(d+t.bsCount[r]+(o?1:0))%4;else d++;else break;E++}g=[t.bsCount[r]];t.bsCount[r]=t.sCount[r]+1+(y?1:0);f=E>=S;_=[t.sCount[r]];t.sCount[r]=d-u;k=[t.tShift[r]];t.tShift[r]=E-t.bMarks[r];w=t.md.block.ruler.getRules("blockquote");b=t.parentType;t.parentType="blockquote";A=false;for(h=r+1;h<i;h++){if(t.sCount[h]<t.blkIndent)A=true;E=t.bMarks[h]+t.tShift[h];S=t.eMarks[h];if(E>=S)break;if(62===t.src.charCodeAt(E++)&&!A){u=d=t.sCount[h]+E-(t.bMarks[h]+t.tShift[h]);if(32===t.src.charCodeAt(E)){E++;u++;d++;o=false;y=true}else if(9===t.src.charCodeAt(E)){y=true;if((t.bsCount[h]+d)%4===3){E++;u++;d++;o=false}else o=true}else y=false;m.push(t.bMarks[h]);t.bMarks[h]=E;while(E<S){a=t.src.charCodeAt(E);if(n(a))if(9===a)d+=4-(d+t.bsCount[h]+(o?1:0))%4;else d++;else break;E++}f=E>=S;g.push(t.bsCount[h]);t.bsCount[h]=t.sCount[h]+1+(y?1:0);_.push(t.sCount[h]);t.sCount[h]=d-u;k.push(t.tShift[h]);t.tShift[h]=E-t.bMarks[h];continue}if(f)break;x=false;for(l=0,c=w.length;l<c;l++)if(w[l](t,h,i,true)){x=true;break}if(x){t.lineMax=h;if(0!==t.blkIndent){m.push(t.bMarks[h]);g.push(t.bsCount[h]);k.push(t.tShift[h]);_.push(t.sCount[h]);t.sCount[h]-=t.blkIndent}break}m.push(t.bMarks[h]);g.push(t.bsCount[h]);k.push(t.tShift[h]);_.push(t.sCount[h]);t.sCount[h]=-1}v=t.blkIndent;t.blkIndent=0;C=t.push("blockquote_open","blockquote",1);C.markup=">";C.map=p=[r,0];t.md.block.tokenize(t,r,h);C=t.push("blockquote_close","blockquote",-1);C.markup=">";t.lineMax=D;t.parentType=b;p[1]=t.line;for(l=0;l<k.length;l++){t.bMarks[l+r]=m[l];t.tShift[l+r]=k[l];t.sCount[l+r]=_[l];t.bsCount[l+r]=g[l]}t.blkIndent=v;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r,i,s){var o,a,l,u,c=t.bMarks[r]+t.tShift[r],f=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;o=t.src.charCodeAt(c++);if(42!==o&&45!==o&&95!==o)return false;a=1;while(c<f){l=t.src.charCodeAt(c++);if(l!==o&&!n(l))return false;if(l===o)a++}if(a<3)return false;if(s)return true;t.line=r+1;u=t.push("hr","hr",0);u.map=[r,t.line];u.markup=Array(a+1).join(String.fromCharCode(o));return true}},function(e,t,r){"use strict";var n=r(0).isSpace;function i(e,t){var r,i,s,o;i=e.bMarks[t]+e.tShift[t];s=e.eMarks[t];r=e.src.charCodeAt(i++);if(42!==r&&45!==r&&43!==r)return-1;if(i<s){o=e.src.charCodeAt(i);if(!n(o))return-1}return i}function s(e,t){var r,i=e.bMarks[t]+e.tShift[t],s=i,o=e.eMarks[t];if(s+1>=o)return-1;r=e.src.charCodeAt(s++);if(r<48||r>57)return-1;for(;;){if(s>=o)return-1;r=e.src.charCodeAt(s++);if(r>=48&&r<=57){if(s-i>=10)return-1;continue}if(41===r||46===r)break;return-1}if(s<o){r=e.src.charCodeAt(s);if(!n(r))return-1}return s}function o(e,t){var r,n,i=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)if(e.tokens[r].level===i&&"paragraph_open"===e.tokens[r].type){e.tokens[r+2].hidden=true;e.tokens[r].hidden=true;r+=2}}e.exports=function e(t,r,n,a){var l,u,c,f,p,h,d,m,g,v,b,_,k,y,x,w,C,A,D,E,S,q,T,L,z,F,I,M,R=false,$=true;if(t.sCount[r]-t.blkIndent>=4)return false;if(a&&"paragraph"===t.parentType)if(t.tShift[r]>=t.blkIndent)R=true;if((T=s(t,r))>=0){d=true;z=t.bMarks[r]+t.tShift[r];k=Number(t.src.substr(z,T-z-1));if(R&&1!==k)return false}else if((T=i(t,r))>=0)d=false;else return false;if(R)if(t.skipSpaces(T)>=t.eMarks[r])return false;_=t.src.charCodeAt(T-1);if(a)return true;b=t.tokens.length;if(d){M=t.push("ordered_list_open","ol",1);if(1!==k)M.attrs=[["start",k]]}else M=t.push("bullet_list_open","ul",1);M.map=v=[r,0];M.markup=String.fromCharCode(_);x=r;L=false;I=t.md.block.ruler.getRules("list");D=t.parentType;t.parentType="list";while(x<n){q=T;y=t.eMarks[x];h=w=t.sCount[x]+T-(t.bMarks[r]+t.tShift[r]);while(q<y){l=t.src.charCodeAt(q);if(9===l)w+=4-(w+t.bsCount[x])%4;else if(32===l)w++;else break;q++}u=q;if(u>=y)p=1;else p=w-h;if(p>4)p=1;f=h+p;M=t.push("list_item_open","li",1);M.markup=String.fromCharCode(_);M.map=m=[r,0];C=t.blkIndent;S=t.tight;E=t.tShift[r];A=t.sCount[r];t.blkIndent=f;t.tight=true;t.tShift[r]=u-t.bMarks[r];t.sCount[r]=w;if(u>=y&&t.isEmpty(r+1))t.line=Math.min(t.line+2,n);else t.md.block.tokenize(t,r,n,true);if(!t.tight||L)$=false;L=t.line-r>1&&t.isEmpty(t.line-1);t.blkIndent=C;t.tShift[r]=E;t.sCount[r]=A;t.tight=S;M=t.push("list_item_close","li",-1);M.markup=String.fromCharCode(_);x=r=t.line;m[1]=x;u=t.bMarks[r];if(x>=n)break;if(t.sCount[x]<t.blkIndent)break;F=false;for(c=0,g=I.length;c<g;c++)if(I[c](t,x,n,true)){F=true;break}if(F)break;if(d){T=s(t,x);if(T<0)break}else{T=i(t,x);if(T<0)break}if(_!==t.src.charCodeAt(T-1))break}if(d)M=t.push("ordered_list_close","ol",-1);else M=t.push("bullet_list_close","ul",-1);M.markup=String.fromCharCode(_);v[1]=x;t.line=x;t.parentType=D;if($)o(t,b);return true}},function(e,t,r){"use strict";var n=r(0).normalizeReference;var i=r(0).isSpace;e.exports=function e(t,r,s,o){var a,l,u,c,f,p,h,d,m,g,v,b,_,k,y,x,w=0,C=t.bMarks[r]+t.tShift[r],A=t.eMarks[r],D=r+1;if(t.sCount[r]-t.blkIndent>=4)return false;if(91!==t.src.charCodeAt(C))return false;while(++C<A)if(93===t.src.charCodeAt(C)&&92!==t.src.charCodeAt(C-1)){if(C+1===A)return false;if(58!==t.src.charCodeAt(C+1))return false;break}c=t.lineMax;y=t.md.block.ruler.getRules("reference");g=t.parentType;t.parentType="reference";for(;D<c&&!t.isEmpty(D);D++){if(t.sCount[D]-t.blkIndent>3)continue;if(t.sCount[D]<0)continue;k=false;for(p=0,h=y.length;p<h;p++)if(y[p](t,D,c,true)){k=true;break}if(k)break}_=t.getLines(r,D,t.blkIndent,false).trim();A=_.length;for(C=1;C<A;C++){a=_.charCodeAt(C);if(91===a)return false;else if(93===a){m=C;break}else if(10===a)w++;else if(92===a){C++;if(C<A&&10===_.charCodeAt(C))w++}}if(m<0||58!==_.charCodeAt(m+1))return false;for(C=m+2;C<A;C++){a=_.charCodeAt(C);if(10===a)w++;else if(i(a));else break}v=t.md.helpers.parseLinkDestination(_,C,A);if(!v.ok)return false;f=t.md.normalizeLink(v.str);if(!t.md.validateLink(f))return false;C=v.pos;w+=v.lines;l=C;u=w;b=C;for(;C<A;C++){a=_.charCodeAt(C);if(10===a)w++;else if(i(a));else break}v=t.md.helpers.parseLinkTitle(_,C,A);if(C<A&&b!==C&&v.ok){x=v.str;C=v.pos;w+=v.lines}else{x="";C=l;w=u}while(C<A){a=_.charCodeAt(C);if(!i(a))break;C++}if(C<A&&10!==_.charCodeAt(C))if(x){x="";C=l;w=u;while(C<A){a=_.charCodeAt(C);if(!i(a))break;C++}}if(C<A&&10!==_.charCodeAt(C))return false;d=n(_.slice(1,m));if(!d)return false;if(o)return true;if("undefined"===typeof t.env.references)t.env.references={};if("undefined"===typeof t.env.references[d])t.env.references[d]={title:x,href:f};t.parentType=g;t.line=r+w+1;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r,i,s){var o,a,l,u,c=t.bMarks[r]+t.tShift[r],f=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;o=t.src.charCodeAt(c);if(35!==o||c>=f)return false;a=1;o=t.src.charCodeAt(++c);while(35===o&&c<f&&a<=6){a++;o=t.src.charCodeAt(++c)}if(a>6||c<f&&!n(o))return false;if(s)return true;f=t.skipSpacesBack(f,c);l=t.skipCharsBack(f,35,c);if(l>c&&n(t.src.charCodeAt(l-1)))f=l;t.line=r+1;u=t.push("heading_open","h"+String(a),1);u.markup="########".slice(0,a);u.map=[r,t.line];u=t.push("inline","",0);u.content=t.src.slice(c,f).trim();u.map=[r,t.line];u.children=[];u=t.push("heading_close","h"+String(a),-1);u.markup="########".slice(0,a);return true}},function(e,t,r){"use strict";e.exports=function e(t,r,n){var i,s,o,a,l,u,c,f,p,h=r+1,d,m=t.md.block.ruler.getRules("paragraph");if(t.sCount[r]-t.blkIndent>=4)return false;d=t.parentType;t.parentType="paragraph";for(;h<n&&!t.isEmpty(h);h++){if(t.sCount[h]-t.blkIndent>3)continue;if(t.sCount[h]>=t.blkIndent){u=t.bMarks[h]+t.tShift[h];c=t.eMarks[h];if(u<c){p=t.src.charCodeAt(u);if(45===p||61===p){u=t.skipChars(u,p);u=t.skipSpaces(u);if(u>=c){f=61===p?1:2;break}}}}if(t.sCount[h]<0)continue;s=false;for(o=0,a=m.length;o<a;o++)if(m[o](t,h,n,true)){s=true;break}if(s)break}if(!f)return false;i=t.getLines(r,h,t.blkIndent,false).trim();t.line=h+1;l=t.push("heading_open","h"+String(f),1);l.markup=String.fromCharCode(p);l.map=[r,t.line];l=t.push("inline","",0);l.content=i;l.map=[r,t.line-1];l.children=[];l=t.push("heading_close","h"+String(f),-1);l.markup=String.fromCharCode(p);t.parentType=d;return true}},function(e,t,r){"use strict";var n=r(62);var i=r(16).HTML_OPEN_CLOSE_TAG_RE;var s=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,true],[/^<!--/,/-->/,true],[/^<\?/,/\?>/,true],[/^<![A-Z]/,/>/,true],[/^<!\[CDATA\[/,/\]\]>/,true],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,true],[new RegExp(i.source+"\\s*$"),/^$/,false]];e.exports=function e(t,r,n,i){var o,a,l,u,c=t.bMarks[r]+t.tShift[r],f=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;if(!t.md.options.html)return false;if(60!==t.src.charCodeAt(c))return false;u=t.src.slice(c,f);for(o=0;o<s.length;o++)if(s[o][0].test(u))break;if(o===s.length)return false;if(i)return s[o][2];a=r+1;if(!s[o][1].test(u))for(;a<n;a++){if(t.sCount[a]<t.blkIndent)break;c=t.bMarks[a]+t.tShift[a];f=t.eMarks[a];u=t.src.slice(c,f);if(s[o][1].test(u)){if(0!==u.length)a++;break}}t.line=a;l=t.push("html_block","",0);l.map=[r,a];l.content=t.getLines(r,a,t.blkIndent,true);return true}},function(e,t,r){"use strict";e.exports=["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","h1","h2","h3","h4","h5","h6","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"]},function(e,t,r){"use strict";e.exports=function e(t,r){var n,i,s,o,a,l,u=r+1,c=t.md.block.ruler.getRules("paragraph"),f=t.lineMax;l=t.parentType;t.parentType="paragraph";for(;u<f&&!t.isEmpty(u);u++){if(t.sCount[u]-t.blkIndent>3)continue;if(t.sCount[u]<0)continue;i=false;for(s=0,o=c.length;s<o;s++)if(c[s](t,u,f,true)){i=true;break}if(i)break}n=t.getLines(r,u,t.blkIndent,false).trim();t.line=u;a=t.push("paragraph_open","p",1);a.map=[r,t.line];a=t.push("inline","",0);a.content=n;a.map=[r,t.line];a.children=[];a=t.push("paragraph_close","p",-1);t.parentType=l;return true}},function(e,t,r){"use strict";var n=r(7);var i=r(0).isSpace;function s(e,t,r,n){var s,o,a,l,u,c,f,p;this.src=e;this.md=t;this.env=r;this.tokens=n;this.bMarks=[];this.eMarks=[];this.tShift=[];this.sCount=[];this.bsCount=[];this.blkIndent=0;this.line=0;this.lineMax=0;this.tight=false;this.ddIndent=-1;this.parentType="root";this.level=0;this.result="";o=this.src;p=false;for(a=l=c=f=0,u=o.length;l<u;l++){s=o.charCodeAt(l);if(!p)if(i(s)){c++;if(9===s)f+=4-f%4;else f++;continue}else p=true;if(10===s||l===u-1){if(10!==s)l++;this.bMarks.push(a);this.eMarks.push(l);this.tShift.push(c);this.sCount.push(f);this.bsCount.push(0);p=false;c=0;f=0;a=l+1}}this.bMarks.push(o.length);this.eMarks.push(o.length);this.tShift.push(0);this.sCount.push(0);this.bsCount.push(0);this.lineMax=this.bMarks.length-1}s.prototype.push=function(e,t,r){var i=new n(e,t,r);i.block=true;if(r<0)this.level--;i.level=this.level;if(r>0)this.level++;this.tokens.push(i);return i};s.prototype.isEmpty=function e(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};s.prototype.skipEmptyLines=function e(t){for(var r=this.lineMax;t<r;t++)if(this.bMarks[t]+this.tShift[t]<this.eMarks[t])break;return t};s.prototype.skipSpaces=function e(t){var r;for(var n=this.src.length;t<n;t++){r=this.src.charCodeAt(t);if(!i(r))break}return t};s.prototype.skipSpacesBack=function e(t,r){if(t<=r)return t;while(t>r)if(!i(this.src.charCodeAt(--t)))return t+1;return t};s.prototype.skipChars=function e(t,r){for(var n=this.src.length;t<n;t++)if(this.src.charCodeAt(t)!==r)break;return t};s.prototype.skipCharsBack=function e(t,r,n){if(t<=n)return t;while(t>n)if(r!==this.src.charCodeAt(--t))return t+1;return t};s.prototype.getLines=function e(t,r,n,s){var o,a,l,u,c,f,p,h=t;if(t>=r)return"";f=new Array(r-t);for(o=0;h<r;h++,o++){a=0;p=u=this.bMarks[h];if(h+1<r||s)c=this.eMarks[h]+1;else c=this.eMarks[h];while(u<c&&a<n){l=this.src.charCodeAt(u);if(i(l))if(9===l)a+=4-(a+this.bsCount[h])%4;else a++;else if(u-p<this.tShift[h])a++;else break;u++}if(a>n)f[o]=new Array(a-n+1).join(" ")+this.src.slice(u,c);else f[o]=this.src.slice(u,c)}return f.join("")};s.prototype.Token=n;e.exports=s},function(e,t,r){"use strict";var n=r(6);var i=[["text",r(66)],["newline",r(67)],["escape",r(68)],["backticks",r(69)],["strikethrough",r(17).tokenize],["emphasis",r(18).tokenize],["link",r(70)],["image",r(71)],["autolink",r(72)],["html_inline",r(73)],["entity",r(74)]];var s=[["balance_pairs",r(75)],["strikethrough",r(17).postProcess],["emphasis",r(18).postProcess],["text_collapse",r(76)]];function o(){var e;this.ruler=new n;for(e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);this.ruler2=new n;for(e=0;e<s.length;e++)this.ruler2.push(s[e][0],s[e][1])}o.prototype.skipToken=function(e){var t,r,n=e.pos,i=this.ruler.getRules(""),s=i.length,o=e.md.options.maxNesting,a=e.cache;if("undefined"!==typeof a[n]){e.pos=a[n];return}if(e.level<o)for(r=0;r<s;r++){e.level++;t=i[r](e,true);e.level--;if(t)break}else e.pos=e.posMax;if(!t)e.pos++;a[n]=e.pos};o.prototype.tokenize=function(e){var t,r,n=this.ruler.getRules(""),i=n.length,s=e.posMax,o=e.md.options.maxNesting;while(e.pos<s){if(e.level<o)for(r=0;r<i;r++){t=n[r](e,false);if(t)break}if(t){if(e.pos>=s)break;continue}e.pending+=e.src[e.pos++]}if(e.pending)e.pushPending()};o.prototype.parse=function(e,t,r,n){var i,s,o;var a=new this.State(e,t,r,n);this.tokenize(a);s=this.ruler2.getRules("");o=s.length;for(i=0;i<o;i++)s[i](a)};o.prototype.State=r(77);e.exports=o},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return true;default:return false}}e.exports=function e(t,r){var i=t.pos;while(i<t.posMax&&!n(t.src.charCodeAt(i)))i++;if(i===t.pos)return false;if(!r)t.pending+=t.src.slice(t.pos,i);t.pos=i;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r){var i,s,o=t.pos;if(10!==t.src.charCodeAt(o))return false;i=t.pending.length-1;s=t.posMax;if(!r)if(i>=0&&32===t.pending.charCodeAt(i))if(i>=1&&32===t.pending.charCodeAt(i-1)){t.pending=t.pending.replace(/ +$/,"");t.push("hardbreak","br",0)}else{t.pending=t.pending.slice(0,-1);t.push("softbreak","br",0)}else t.push("softbreak","br",0);o++;while(o<s&&n(t.src.charCodeAt(o)))o++;t.pos=o;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;var i=[];for(var s=0;s<256;s++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1});e.exports=function e(t,r){var s,o=t.pos,a=t.posMax;if(92!==t.src.charCodeAt(o))return false;o++;if(o<a){s=t.src.charCodeAt(o);if(s<256&&0!==i[s]){if(!r)t.pending+=t.src[o];t.pos+=2;return true}if(10===s){if(!r)t.push("hardbreak","br",0);o++;while(o<a){s=t.src.charCodeAt(o);if(!n(s))break;o++}t.pos=o;return true}}if(!r)t.pending+="\\";t.pos++;return true}},function(e,t,r){"use strict";e.exports=function e(t,r){var n,i,s,o,a,l,u=t.pos,c=t.src.charCodeAt(u);if(96!==c)return false;n=u;u++;i=t.posMax;while(u<i&&96===t.src.charCodeAt(u))u++;s=t.src.slice(n,u);o=a=u;while(-1!==(o=t.src.indexOf("`",a))){a=o+1;while(a<i&&96===t.src.charCodeAt(a))a++;if(a-o===s.length){if(!r){l=t.push("code_inline","code",0);l.markup=s;l.content=t.src.slice(u,o).replace(/[ \n]+/g," ").trim()}t.pos=a;return true}}if(!r)t.pending+=s;t.pos+=s.length;return true}},function(e,t,r){"use strict";var n=r(0).normalizeReference;var i=r(0).isSpace;e.exports=function e(t,r){var s,o,a,l,u,c,f,p,h,d,m="",g=t.pos,v=t.posMax,b=t.pos,_=true;if(91!==t.src.charCodeAt(t.pos))return false;u=t.pos+1;l=t.md.helpers.parseLinkLabel(t,t.pos,true);if(l<0)return false;c=l+1;if(c<v&&40===t.src.charCodeAt(c)){_=false;c++;for(;c<v;c++){o=t.src.charCodeAt(c);if(!i(o)&&10!==o)break}if(c>=v)return false;b=c;f=t.md.helpers.parseLinkDestination(t.src,c,t.posMax);if(f.ok){m=t.md.normalizeLink(f.str);if(t.md.validateLink(m))c=f.pos;else m=""}b=c;for(;c<v;c++){o=t.src.charCodeAt(c);if(!i(o)&&10!==o)break}f=t.md.helpers.parseLinkTitle(t.src,c,t.posMax);if(c<v&&b!==c&&f.ok){h=f.str;c=f.pos;for(;c<v;c++){o=t.src.charCodeAt(c);if(!i(o)&&10!==o)break}}else h="";if(c>=v||41!==t.src.charCodeAt(c))_=true;c++}if(_){if("undefined"===typeof t.env.references)return false;if(c<v&&91===t.src.charCodeAt(c)){b=c+1;c=t.md.helpers.parseLinkLabel(t,c);if(c>=0)a=t.src.slice(b,c++);else c=l+1}else c=l+1;if(!a)a=t.src.slice(u,l);p=t.env.references[n(a)];if(!p){t.pos=g;return false}m=p.href;h=p.title}if(!r){t.pos=u;t.posMax=l;d=t.push("link_open","a",1);d.attrs=s=[["href",m]];if(h)s.push(["title",h]);t.md.inline.tokenize(t);d=t.push("link_close","a",-1)}t.pos=c;t.posMax=v;return true}},function(e,t,r){"use strict";var n=r(0).normalizeReference;var i=r(0).isSpace;e.exports=function e(t,r){var s,o,a,l,u,c,f,p,h,d,m,g,v,b="",_=t.pos,k=t.posMax;if(33!==t.src.charCodeAt(t.pos))return false;if(91!==t.src.charCodeAt(t.pos+1))return false;c=t.pos+2;u=t.md.helpers.parseLinkLabel(t,t.pos+1,false);if(u<0)return false;f=u+1;if(f<k&&40===t.src.charCodeAt(f)){f++;for(;f<k;f++){o=t.src.charCodeAt(f);if(!i(o)&&10!==o)break}if(f>=k)return false;v=f;h=t.md.helpers.parseLinkDestination(t.src,f,t.posMax);if(h.ok){b=t.md.normalizeLink(h.str);if(t.md.validateLink(b))f=h.pos;else b=""}v=f;for(;f<k;f++){o=t.src.charCodeAt(f);if(!i(o)&&10!==o)break}h=t.md.helpers.parseLinkTitle(t.src,f,t.posMax);if(f<k&&v!==f&&h.ok){d=h.str;f=h.pos;for(;f<k;f++){o=t.src.charCodeAt(f);if(!i(o)&&10!==o)break}}else d="";if(f>=k||41!==t.src.charCodeAt(f)){t.pos=_;return false}f++}else{if("undefined"===typeof t.env.references)return false;if(f<k&&91===t.src.charCodeAt(f)){v=f+1;f=t.md.helpers.parseLinkLabel(t,f);if(f>=0)l=t.src.slice(v,f++);else f=u+1}else f=u+1;if(!l)l=t.src.slice(c,u);p=t.env.references[n(l)];if(!p){t.pos=_;return false}b=p.href;d=p.title}if(!r){a=t.src.slice(c,u);t.md.inline.parse(a,t.md,t.env,g=[]);m=t.push("image","img",0);m.attrs=s=[["src",b],["alt",""]];m.children=g;m.content=a;if(d)s.push(["title",d])}t.pos=f;t.posMax=k;return true}},function(e,t,r){"use strict";var n=/^<([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])?)*)>/;var i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function e(t,r){var s,o,a,l,u,c,f=t.pos;if(60!==t.src.charCodeAt(f))return false;s=t.src.slice(f);if(s.indexOf(">")<0)return false;if(i.test(s)){o=s.match(i);l=o[0].slice(1,-1);u=t.md.normalizeLink(l);if(!t.md.validateLink(u))return false;if(!r){c=t.push("link_open","a",1);c.attrs=[["href",u]];c.markup="autolink";c.info="auto";c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);c=t.push("link_close","a",-1);c.markup="autolink";c.info="auto"}t.pos+=o[0].length;return true}if(n.test(s)){a=s.match(n);l=a[0].slice(1,-1);u=t.md.normalizeLink("mailto:"+l);if(!t.md.validateLink(u))return false;if(!r){c=t.push("link_open","a",1);c.attrs=[["href",u]];c.markup="autolink";c.info="auto";c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);c=t.push("link_close","a",-1);c.markup="autolink";c.info="auto"}t.pos+=a[0].length;return true}return false}},function(e,t,r){"use strict";var n=r(16).HTML_TAG_RE;function i(e){var t=32|e;return t>=97&&t<=122}e.exports=function e(t,r){var s,o,a,l,u=t.pos;if(!t.md.options.html)return false;a=t.posMax;if(60!==t.src.charCodeAt(u)||u+2>=a)return false;s=t.src.charCodeAt(u+1);if(33!==s&&63!==s&&47!==s&&!i(s))return false;o=t.src.slice(u).match(n);if(!o)return false;if(!r){l=t.push("html_inline","",0);l.content=t.src.slice(u,u+o[0].length)}t.pos+=o[0].length;return true}},function(e,t,r){"use strict";var n=r(11);var i=r(0).has;var s=r(0).isValidEntityCode;var o=r(0).fromCodePoint;var a=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i;var l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function e(t,r){var u,c,f,p=t.pos,h=t.posMax;if(38!==t.src.charCodeAt(p))return false;if(p+1<h){u=t.src.charCodeAt(p+1);if(35===u){f=t.src.slice(p).match(a);if(f){if(!r){c="x"===f[1][0].toLowerCase()?parseInt(f[1].slice(1),16):parseInt(f[1],10);t.pending+=s(c)?o(c):o(65533)}t.pos+=f[0].length;return true}}else{f=t.src.slice(p).match(l);if(f)if(i(n,f[1])){if(!r)t.pending+=n[f[1]];t.pos+=f[0].length;return true}}}if(!r)t.pending+="&";t.pos++;return true}},function(e,t,r){"use strict";e.exports=function e(t){var r,n,i,s,o=t.delimiters,a=t.delimiters.length;for(r=0;r<a;r++){i=o[r];if(!i.close)continue;n=r-i.jump-1;while(n>=0){s=o[n];if(s.open&&s.marker===i.marker&&s.end<0&&s.level===i.level){var l=(s.close||i.open)&&"undefined"!==typeof s.length&&"undefined"!==typeof i.length&&(s.length+i.length)%3===0;if(!l){i.jump=r-n;i.open=false;s.end=r;s.jump=0;break}}n-=s.jump+1}}}},function(e,t,r){"use strict";e.exports=function e(t){var r,n,i=0,s=t.tokens,o=t.tokens.length;for(r=n=0;r<o;r++){i+=s[r].nesting;s[r].level=i;if("text"===s[r].type&&r+1<o&&"text"===s[r+1].type)s[r+1].content=s[r].content+s[r+1].content;else{if(r!==n)s[n]=s[r];n++}}if(r!==n)s.length=n}},function(e,t,r){"use strict";var n=r(7);var i=r(0).isWhiteSpace;var s=r(0).isPunctChar;var o=r(0).isMdAsciiPunct;function a(e,t,r,n){this.src=e;this.env=r;this.md=t;this.tokens=n;this.pos=0;this.posMax=this.src.length;this.level=0;this.pending="";this.pendingLevel=0;this.cache={};this.delimiters=[]}a.prototype.pushPending=function(){var e=new n("text","",0);e.content=this.pending;e.level=this.pendingLevel;this.tokens.push(e);this.pending="";return e};a.prototype.push=function(e,t,r){if(this.pending)this.pushPending();var i=new n(e,t,r);if(r<0)this.level--;i.level=this.level;if(r>0)this.level++;this.pendingLevel=this.level;this.tokens.push(i);return i};a.prototype.scanDelims=function(e,t){var r=e,n,a,l,u,c,f,p,h,d,m=true,g=true,v=this.posMax,b=this.src.charCodeAt(e);n=e>0?this.src.charCodeAt(e-1):32;while(r<v&&this.src.charCodeAt(r)===b)r++;l=r-e;a=r<v?this.src.charCodeAt(r):32;p=o(n)||s(String.fromCharCode(n));d=o(a)||s(String.fromCharCode(a));f=i(n);h=i(a);if(h)m=false;else if(d)if(!(f||p))m=false;if(f)g=false;else if(p)if(!(h||d))g=false;if(!t){u=m&&(!g||p);c=g&&(!m||d)}else{u=m;c=g}return{can_open:u,can_close:c,length:l}};a.prototype.Token=n;e.exports=a},function(e,t,r){"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);t.forEach(function(t){if(!t)return;Object.keys(t).forEach(function(r){e[r]=t[r]})});return e}function i(e){return Object.prototype.toString.call(e)}function s(e){return"[object String]"===i(e)}function o(e){return"[object Object]"===i(e)}function a(e){return"[object RegExp]"===i(e)}function l(e){return"[object Function]"===i(e)}function u(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:true,fuzzyEmail:true,fuzzyIP:false};function f(e){return Object.keys(e||{}).reduce(function(e,t){return e||c.hasOwnProperty(t)},false)}var p={"http:":{validate:function(e,t,r){var n=e.slice(t);if(!r.re.http)r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i");if(r.re.http.test(n))return n.match(r.re.http)[0].length;return 0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);if(!r.re.no_http)r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i");if(r.re.no_http.test(n)){if(t>=3&&":"===e[t-3])return 0;if(t>=3&&"/"===e[t-3])return 0;return n.match(r.re.no_http)[0].length}return 0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);if(!r.re.mailto)r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i");if(r.re.mailto.test(n))return n.match(r.re.mailto)[0].length;return 0}}};var h="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]";var d="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function m(e){e.__index__=-1;e.__text_cache__=""}function g(e){return function(t,r){var n=t.slice(r);if(e.test(n))return n.match(e)[0].length;return 0}}function v(){return function(e,t){t.normalize(e)}}function b(e){var t=e.re=r(79)(e.__opts__);var n=e.__tlds__.slice();e.onCompile();if(!e.__tlds_replaced__)n.push(h);n.push(t.src_xn);t.src_tlds=n.join("|");function i(e){return e.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i");t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i");t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i");t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var c=[];e.__compiled__={};function f(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null===r)return;var n={validate:null,link:null};e.__compiled__[t]=n;if(o(r)){if(a(r.validate))n.validate=g(r.validate);else if(l(r.validate))n.validate=r.validate;else f(t,r);if(l(r.normalize))n.normalize=r.normalize;else if(!r.normalize)n.normalize=v();else f(t,r);return}if(s(r)){c.push(t);return}f(t,r)});c.forEach(function(t){if(!e.__compiled__[e.__schemas__[t]])return;e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate;e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize});e.__compiled__[""]={validate:null,normalize:v()};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(u).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i");e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig");e.re.pretest=RegExp("("+e.re.schema_test.source+")|"+"("+e.re.host_fuzzy_test.source+")|"+"@","i");m(e)}function _(e,t){var r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase();this.index=r+t;this.lastIndex=n+t;this.raw=i;this.text=i;this.url=i}function k(e,t){var r=new _(e,t);e.__compiled__[r.schema].normalize(r,e);return r}function y(e,t){if(!(this instanceof y))return new y(e,t);if(!t)if(f(e)){t=e;e={}}this.__opts__=n({},c,t);this.__index__=-1;this.__last_index__=-1;this.__schema__="";this.__text_cache__="";this.__schemas__=n({},p,e);this.__compiled__={};this.__tlds__=d;this.__tlds_replaced__=false;this.re={};b(this)}y.prototype.add=function e(t,r){this.__schemas__[t]=r;b(this);return this};y.prototype.set=function e(t){this.__opts__=n(this.__opts__,t);return this};y.prototype.test=function e(t){this.__text_cache__=t;this.__index__=-1;if(!t.length)return false;var r,n,i,s,o,a,l,u,c;if(this.re.schema_test.test(t)){l=this.re.schema_search;l.lastIndex=0;while(null!==(r=l.exec(t))){s=this.testSchemaAt(t,r[2],l.lastIndex);if(s){this.__schema__=r[2];this.__index__=r.index+r[1].length;this.__last_index__=r.index+r[0].length+s;break}}}if(this.__opts__.fuzzyLink&&this.__compiled__["http:"]){u=t.search(this.re.host_fuzzy_test);if(u>=0)if(this.__index__<0||u<this.__index__)if(null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))){o=n.index+n[1].length;if(this.__index__<0||o<this.__index__){this.__schema__="";this.__index__=o;this.__last_index__=n.index+n[0].length}}}if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]){c=t.indexOf("@");if(c>=0)if(null!==(i=t.match(this.re.email_fuzzy))){o=i.index+i[1].length;a=i.index+i[0].length;if(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__){this.__schema__="mailto:";this.__index__=o;this.__last_index__=a}}}return this.__index__>=0};y.prototype.pretest=function e(t){return this.re.pretest.test(t)};y.prototype.testSchemaAt=function e(t,r,n){if(!this.__compiled__[r.toLowerCase()])return 0;return this.__compiled__[r.toLowerCase()].validate(t,n,this)};y.prototype.match=function e(t){var r=0,n=[];if(this.__index__>=0&&this.__text_cache__===t){n.push(k(this,r));r=this.__last_index__}var i=r?t.slice(r):t;while(this.test(i)){n.push(k(this,r));i=i.slice(this.__last_index__);r+=this.__last_index__}if(n.length)return n;return null};y.prototype.tlds=function e(t,r){t=Array.isArray(t)?t:[t];if(!r){this.__tlds__=t.slice();this.__tlds_replaced__=true;b(this);return this}this.__tlds__=this.__tlds__.concat(t).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse();b(this);return this};y.prototype.normalize=function e(t){if(!t.schema)t.url="http://"+t.url;if("mailto:"===t.schema&&!/^mailto:/i.test(t.url))t.url="mailto:"+t.url};y.prototype.onCompile=function e(){};e.exports=y},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(13).source;t.src_Cc=r(14).source;t.src_Z=r(15).source;t.src_P=r(5).source;t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|");t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")";t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)";t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?";t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?";t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))";t.src_path="(?:"+"[/?#]"+"(?:"+"(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-]).|"+"\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|"+"\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|"+"\\{(?:(?!"+t.src_ZCc+"|[}]).)*\\}|"+'\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|'+"\\'(?:(?!"+t.src_ZCc+"|[']).)+\\'|"+"\\'(?="+t.src_pseudo_letter+"|[-]).|"+"\\.{2,3}[a-zA-Z0-9%/]|"+"\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|"+"\\!(?!"+t.src_ZCc+"|[!]).|"+"\\?(?!"+t.src_ZCc+"|[?])."+")+"+"|\\/"+")?";t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+';t.src_xn="xn--[a-z0-9\\-]{1,59}";t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63}"+")";t.src_domain="(?:"+t.src_xn+"|"+"(?:"+t.src_pseudo_letter+")"+"|"+"(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+")"+")";t.src_host="(?:"+"(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+")"+")";t.tpl_host_fuzzy="(?:"+t.src_ip4+"|"+"(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))"+")";t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))";t.src_host_strict=t.src_host+t.src_host_terminator;t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator;t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator;t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator;t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator;t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))";t.tpl_email_fuzzy="(^|"+n+"|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")";t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))"+"((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")";t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))"+"((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")";return t}},function(e,t,r){(function(e,n){var i;(function(s){var o="object"==typeof t&&t&&!t.nodeType&&t;var a="object"==typeof e&&e&&!e.nodeType&&e;var l="object"==typeof n&&n;if(l.global===l||l.window===l||l.self===l)s=l;var u,c=2147483647,f=36,p=1,h=26,d=38,m=700,g=72,v=128,b="-",_=/^xn--/,k=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=f-p,C=Math.floor,A=String.fromCharCode,D;function E(e){throw new RangeError(x[e])}function S(e,t){var r=e.length;var n=[];while(r--)n[r]=t(e[r]);return n}function q(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(y,".");var i=e.split(".");var s=S(i,t).join(".");return n+s}function T(e){var t=[],r=0,n=e.length,i,s;while(r<n){i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){s=e.charCodeAt(r++);if(56320==(64512&s))t.push(((1023&i)<<10)+(1023&s)+65536);else{t.push(i);r--}}else t.push(i)}return t}function L(e){return S(e,function(e){var t="";if(e>65535){e-=65536;t+=A(e>>>10&1023|55296);e=56320|1023&e}t+=A(e);return t}).join("")}function z(e){if(e-48<10)return e-22;if(e-65<26)return e-65;if(e-97<26)return e-97;return f}function F(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;e=r?C(e/m):e>>1;e+=C(e/t);for(;e>w*h>>1;n+=f)e=C(e/w);return C(n+(w+1)*e/(e+d))}function M(e){var t=[],r=e.length,n,i=0,s=v,o=g,a,l,u,d,m,_,k,y,x;a=e.lastIndexOf(b);if(a<0)a=0;for(l=0;l<a;++l){if(e.charCodeAt(l)>=128)E("not-basic");t.push(e.charCodeAt(l))}for(u=a>0?a+1:0;u<r;){for(d=i,m=1,_=f;;_+=f){if(u>=r)E("invalid-input");k=z(e.charCodeAt(u++));if(k>=f||k>C((c-i)/m))E("overflow");i+=k*m;y=_<=o?p:_>=o+h?h:_-o;if(k<y)break;x=f-y;if(m>C(c/x))E("overflow");m*=x}n=t.length+1;o=I(i-d,n,0==d);if(C(i/n)>c-s)E("overflow");s+=C(i/n);i%=n;t.splice(i++,0,s)}return L(t)}function R(e){var t,r,n,i,s,o,a,l,u,d,m,_=[],k,y,x,w;e=T(e);k=e.length;t=v;r=0;s=g;for(o=0;o<k;++o){m=e[o];if(m<128)_.push(A(m))}n=i=_.length;if(i)_.push(b);while(n<k){for(a=c,o=0;o<k;++o){m=e[o];if(m>=t&&m<a)a=m}y=n+1;if(a-t>C((c-r)/y))E("overflow");r+=(a-t)*y;t=a;for(o=0;o<k;++o){m=e[o];if(m<t&&++r>c)E("overflow");if(m==t){for(l=r,u=f;;u+=f){d=u<=s?p:u>=s+h?h:u-s;if(l<d)break;w=l-d;x=f-d;_.push(A(F(d+w%x,0)));l=C(w/x)}_.push(A(F(l,0)));s=I(r,y,n==i);r=0;++n}}++r;++t}return _.join("")}function $(e){return q(e,function(e){return _.test(e)?M(e.slice(4).toLowerCase()):e})}function N(e){return q(e,function(e){return k.test(e)?"xn--"+R(e):e})}u={version:"1.4.1",ucs2:{decode:T,encode:L},decode:M,encode:R,toASCII:N,toUnicode:$};if(true)!(i=function(){return u}.call(t,r,t,e),void 0!==i&&(e.exports=i));else if(o&&a)if(e.exports==o)a.exports=u;else for(D in u)u.hasOwnProperty(D)&&(o[D]=u[D]);else s.punycode=u})(this)}).call(t,r(81)(e),r(2))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){e.deprecate=function(){};e.paths=[];if(!e.children)e.children=[];Object.defineProperty(e,"loaded",{enumerable:true,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:true,get:function(){return e.i}});e.webpackPolyfill=1}return e}},function(e,t,r){"use strict";e.exports={options:{html:false,xhtmlOut:false,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:false,xhtmlOut:false,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:true,xhtmlOut:true,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){var n=r(1);var i=r(4)().use(r(8));var s=r(3);var o=r(20);var a={parent_id:null,tid:"",opened:false,oninit(e){this.tid=e.attrs.href},onbeforeupdate(e){this.tid=e.attrs.href},view(e){this.tid_known="undefined"===typeof s.data_byid[s.lang][this.tid]?false:true;if(!this.tid_known);if(this.opened&&this.tid_known){this.tob=Object.assign({nested:true},s.data_byid[s.lang][this.tid]);return n("div",{class:"opened-link"},[n("span",{class:"link text"},e.children),n("div",{class:"close-link-btn",onclick(t){console.log("click close btn",this);e.state.opened=false}},n("span",n.trust("&#128473;"))),"undefined"!=typeof s.data_byid[s.lang][this.tid].childs?n(p,this.tob):n(f,this.tob)])}else return n("a",{class:"link",href:"#"+this.tid,rel:this.tid,onclick(t){t.preventDefault();console.log("click",this);e.state.opened=true;return false}},e.children)}};function l(e){var t=[];for(var r=0;r<e.length;r++){var n={};if("undefined"!=typeof e[r].localName){n.tag=e[r].localName;if("p"==n.tag){n.tag="div";n.attrs={class:"paragraph"}}if("a"==n.tag)n.attrs={href:e[r].attributes.href.value};if("img"==n.tag)n.attrs={src:e[r].attributes.src.value,alt:e[r].attributes.alt.value};if(e[r].childNodes.length)n.childs=l(e[r].childNodes)}else if(e[r].textContent.length>0){n.tag="#text";n.text=e[r].textContent}if("undefined"!=typeof n.tag)t.push(n)}return t}function u(e,t){return"#text"==e.tag?n.trust(e.text):n("a"!=e.tag?e.tag:a,"undefined"!=typeof e.attrs?e.attrs:{},"undefined"!=typeof e.childs?e.childs.map(u):"undefined"!=typeof e.text?n.trust(e.text):null)}var c={id:null,text:"",texthtml:"",textdom:null,textchilds:[],parsetext(){this.texthtml=i.render(this.text);this.textdom=(new DOMParser).parseFromString(this.texthtml,"text/html");this.textchilds=l(this.textdom.getElementsByTagName("body")[0].childNodes)},oninit(e){this.id=e.attrs.id;this.text=e.attrs.text||"";this.parsetext()},onbeforeupdate(e,t){this.text=e.attrs.text;this.parsetext()},view(e){return n("div",{class:"text"},this.textchilds.map(u))}};var f={id:null,part:null,type:null,nested:false,oninit(e){this.id=e.attrs.id;this.type=e.attrs.type;this.text=e.attrs.text;this.nested=e.attrs.nested||false;this.dottype=e.attrs.dottype||null},onbeforeupdate(e,t){this.nested=e.attrs.nested||false;this.type=e.attrs.type;this.text=e.attrs.text},view(e){return n("section",{id:this.id,class:`item${this.nested?" nested":""} ${this.dottype}`},[!this.nested?n("h3",{},n.trust(i.renderInline(this.type))):null,n(c,{text:this.text,id:this.id})])}};var p={partid:null,id:null,title:null,text:null,nested:false,childs:[],oninit(e){this.partid=e.attrs.partid;this.id=e.attrs.id;this.title=e.attrs.title||"";this.text=e.attrs.text;this.childs=e.attrs.childs||[];this.nested=e.attrs.nested||false;this.dottype=e.attrs.dottype||"no-dottype"},onbeforeupdate(e,t){this.title=e.attrs.title||"";this.text=e.attrs.text;this.childs=e.attrs.childs||[];this.nested=e.attrs.nested||false},view(e){return n("section",{id:this.id,class:`enonce${this.nested?" nested":""} ${this.dottype}`},[!this.nested?n("h2",{},n.trust(i.renderInline(this.title))):null,n(c,{text:this.text,id:this.id}),!this.nested?this.childs.map(e=>{return n(f,e)}):null])}};var h={oninit(e){this.id=e.attrs.id;this.title=e.attrs.title||"";this.enonces=e.attrs.enonces},onbeforeupdate(e,t){this.title=e.attrs.title||"";this.enonces=e.attrs.enonces},view(e){return n("section",{id:this.id,class:"part"},[n("h1",{class:"part-title",part:this.id},n.trust(i.renderInline(this.title))),this.enonces.map(e=>{switch(e.type){case"title":return n("h2",{class:"title"},n.trust(i.renderInline(e.title)));case"filet":return n("h4",{class:"filet"},n.trust(i.renderInline(e.title)));default:return n(p,Object.assign({partid:this.id},e))}})])}};var d={oninit(e){this.id=e.attrs.id;this.text=e.attrs.text||""},onbeforeupdate(e,t){this.id=e.attrs.id;this.text=e.attrs.text||""},view(e){return n("section",{class:"intro"},n("p",n.trust(i.renderInline(this.text))))}};e.exports={oncreate(e){document.body.classList.add("mode-text");o.init()},view(e){return n("main",{id:"content",class:"mode-text"},s.data[e.attrs.lang].map(e=>{if("intro"==e.id)return n(d,e);else return n(h,e)}))}}},function(e,t,r){var n=r(1);var i=r(4)().use(r(8));var s=r(3);var o=r(10);var a=r(19);var l=r(20);var u={id:null,dottype:null,type:"",title:"",breadcrumb:"",text:"",summary:"",active:true,opened:0,nested:false,links:null,parents:[],lang:s.lang,setupTitle(e){this.title=e.attrs.title;if(!this.title)this.title=this.type;if(this.title)this.title=i.renderInline(this.title)},setuptext(e){this.text=e.attrs.text||"";this.rendered_text=i.render(this.text);if("preface"==this.dottype)this.summary=this.rendered_text;else{this.summary=this.text.replace(/!\[[^\]]+\]\([^\)]+\)/g,"");this.summary=this.summary.match("([^ ]*[ ]{0,1}){1,6}")[0];this.summary=this.summary.trim().replace(/_([^_]+)$/g,"_$1_");this.summary=this.summary.replace(/\[([^\]]+)$/g,"$1");this.summary=i.renderInline(this.summary)+"&nbsp;…"}},oninit(e){this.id=e.attrs.id;this.type=e.attrs.type;this.dottype=e.attrs.dottype;this.breadcrumb=e.attrs.breadcrumb;if("undefined"!==typeof e.attrs.active)this.active=e.attrs.active;this.links=s.data_strct[this.id];if(e.attrs.parents)this.parents=this.parents.concat(e.attrs.parents);this.nested=this.parents.length?true:false;this.setupTitle(e);this.setuptext(e)},oncreate(e){if(this.active)e.dom.classList.remove("disabled");else e.dom.classList.add("disabled")},onbeforeupdate(e){if(this.lang!=s.lang){this.lang=s.lang;this.breadcrumb=e.attrs.breadcrumb;this.setuptext(e);this.setupTitle(e)}},onupdate(e){if(this.active)if(this.opened){e.dom.classList.add("opened");if(this.links.to.length)e.dom.classList.add("to-links");if(this.links.from.length)e.dom.classList.add("from-links")}else e.dom.classList.remove("opened")},setupLinks(e,t,r){return n("nav",{class:`links ${t}`},r.map(t=>{if("undefined"!==typeof s.data_byid[s.lang][t]){var r=s.data_byid[s.lang][t];return n(u,{id:t,title:r.title,breadcrumb:r.breadcrumb,text:r.text,dottype:r.dottype,type:r.type,parents:e.state.parents.concat([e.state.id]),active:-1==e.state.parents.indexOf(t)?true:false})}}))},viewOpenedContent(e){return n("div",{uid:this.id,class:`dot ${this.dottype}${this.nested?" nested":""}`},[this.links.to.length?this.setupLinks(e,"to",this.links.to):null,n("div",{class:"close-link-btn",onclick(t){e.state.opened=0}},n("span",n.trust("&#128473;"))),n("span",{class:"title"},n.trust(this.nested?this.breadcrumb:this.title)),n("section",{class:"text",onmouseover(t){t.preventDefault();if("A"==t.target.nodeName){let r=t.target.getAttribute("href");e.dom.querySelector(`nav.links>div[uid="${r}"]`).classList.add("highlight")}else for(link of e.dom.querySelectorAll("nav.links>div.dot"))link.classList.remove("highlight")},onclick(t){t.preventDefault();if("A"==t.target.nodeName){let r=t.target.getAttribute("href");e.dom.querySelector(`nav.links>div[uid="${r}"]>.title`).click()}}},n.trust(this.rendered_text)),this.links.from.length?this.setupLinks(e,"from",this.links.from):null])},viewPreviewContent(e){return n("div",{uid:this.id,class:`dot ${this.dottype}${this.nested?" nested":""}`},[n("div",{class:"bullet"},n("span",n.trust("&#9899;"))),n("span",{class:"title",onclick(t){if(!e.state.opened)e.state.opened=1}},n.trust(this.nested?this.breadcrumb:this.title)),n("p",{class:"summary"},n.trust(this.summary))])},view(e){return this.active&&e.state.opened?this.viewOpenedContent(e):this.viewPreviewContent(e)}};var c={oninit(e){},onbeforeupdate(e,t){},view(e){return n(u,e.attrs)}};var f={partid:null,id:null,title:null,text:null,dottype:null,childs:[],oninit(e){},onbeforeupdate(e,t){},view(e){return[n(u,e.attrs),e.attrs.childs.map(e=>{return n(c,e)})]}};var p={oninit(e){this.id=e.attrs.id;this.title=e.attrs.title||"";this.enonces=e.attrs.enonces},onbeforeupdate(e,t){this.title=e.attrs.title||"";this.enonces=e.attrs.enonces},view(e){return n("section",{id:this.id,class:"part"},[n("h1",{class:"part-title",part:this.id},n.trust(i.renderInline(this.title))),this.enonces.map(e=>{switch(e.type){case"title":return n("h2",{class:"title"},n.trust(i.renderInline(e.title)));case"filet":return n("h4",{class:"filet"},n.trust(i.renderInline(e.title)));default:return n(f,Object.assign({partid:this.id},e))}})])}};var h={oninit(e){console.log("_Intro : oninit : vn",e);this.id=e.attrs.id;this.text=e.attrs.text||""},onbeforeupdate(e,t){this.id=e.attrs.id;this.text=e.attrs.text||""},view(e){return n("section",{class:"intro"},n("p",n.trust(i.renderInline(this.text))))}};e.exports={oncreate(e){document.body.classList.add("mode-connections");l.init()},view(e){return n("main",{id:"content",class:"mode-connections"},s.data[e.attrs.lang].map(e=>{if("intro"==e.id)return n(h,e);else return n(p,e)}))}}},function(e,t){}]);
  2. //# sourceMappingURL=main.js.map