b0VIM 8.1']S#cyMacBook-Pro-10.localdomain~cy/projects/ones/marked/lib/inlineLexer.jsutf-8 3210#"! UtpxD ad9`_9sQB+  g f N . k e d C   y u t [ C B  L G F 6 $  x L -    p/.c d%$  ~B#M* ~cQ?76( if (lastParenIndex > -1) { var lastParenIndex = findClosingBracket(cap[2], '()'); if (cap = this.rules.link.exec(src)) { // link } continue; cap[0]; escape(cap[0]) : this.options.sanitizer(cap[0]) : this.options.sanitizer ? out += this.options.sanitize ? src = src.substring(cap[0].length); } this.inRawBlock = false; } else if (this.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) { this.inRawBlock = true; if (!this.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) { } this.inLink = false; } else if (this.inLink && /^<\/a>/i.test(cap[0])) { this.inLink = true; if (!this.inLink && /^ 0) { prevCapZero; cap, title, href, text, link, var out = '', output(src) { }; return text ? text.replace(InlineLexer.rules._escapes, '$1') : text; static escapes = function(text) { }; return inline.output(src); var inline = new InlineLexer(links, options); static output = function(src, links, options) { static rules = inline // Expose Inline Rules } } } this.rules = inline.gfm; } else { this.rules = inline.breaks; if (this.options.breaks) { } else if (this.options.gfm) { this.rules = inline.pedantic; if (this.options.pedantic) { } throw new Error('Tokens array requires a `links` property.'); if (!this.links) { this.renderer.options = this.options; this.renderer = this.options.renderer || new Renderer(); this.rules = inline.normal; this.links = links; this.options = options || getDefaultOptions(Renderer) // TODO: get default options. constructor(links, options) {class InlineLexer {} return -1; } } } return i; if (level < 0) { level--; } else if (str[i] === b[1]) { level++; } else if (str[i] === b[0]) { i++; if (str[i] === '\\') { for (var i = 0; i < str.length; i++) { var level = 0; } return -1; if (str.indexOf(b[1]) === -1) {function findClosingBracket(str, b) {import Renderer from './render'} from './utils' getDefaultOptions, escape,import {} from './grammar-rules' inline,import { */ * Inline Lexer/**ad Dw0&  |bH v r q P : z D  r ` < 8 7 %  p O + #  export default InlineLexer} } return out; } out += '&#' + ch + ';'; } ch = 'x' + ch.toString(16); if (Math.random() > 0.5) { ch = text.charCodeAt(i); for (; i < l; i++) { ch; i = 0, l = text.length, var out = '', if (!this.options.mangle) return text; mangle(text) { // mangle links } .replace(/\.{3}/g, '\u2026'); // ellipses .replace(/"/g, '\u201d') // closing doubles .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c') // opening doubles .replace(/'/g, '\u2019') // closing singles & apostrophes .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018') // opening singles .replace(/--/g, '\u2013') // en-dashes .replace(/---/g, '\u2014') // em-dashes return text if (!this.options.smartypants) return text; smartypants(text) { // Smartypants Transformations } this.renderer.image(href, title, escape(cap[1])); this.renderer.link(href, title, this.output(cap[1])) : return cap[0].charAt(0) !== '!' ? title = link.title ? escape(link.title) : null; var href = link.href, outputLink(cap, link) { // Compile link } return out; } } throw new Error('Infinite loop on byte: ' + src.charCodeAt(0)); if (src) { } continue; } out += this.renderer.text(escape(this.smartypants(cap[0]))); } else { out += this.renderer.text(cap[0]); if (this.inRawBlock) { src = src.substring(cap[0].length);