1"use strict"; 2! function(e, t, n) { 3 var i = function(t, n) { 4 function i(e, t, n) { 5 var i = n[n.length - 1]; 6 e.replaceChild(i, t); 7 for (var r = n.length - 2; r >= 0; r--) e.insertBefore(n[r], i), i = n[r] 8 } 9 10 function r(e, t, n) { 11 for (var i = [], r = e, a = Array.isArray(r), o = 0, r = a ? r : r[Symbol.iterator]();;) { 12 var l; 13 if (a) { 14 if (o >= r.length) break; 15 l = r[o++] 16 } else { 17 if (o = r.next(), o.done) break; 18 l = o.value 19 } 20 var f = l; 21 if ("nl" === f.type && t.nl2br) i.push(n.createElement("br")); 22 else if (f.isLink && t.check(f)) { 23 var s = t.resolve(f), 24 c = s.formatted, 25 u = s.formattedHref, 26 d = s.tagName, 27 m = s.className, 28 y = s.target, 29 h = s.events, 30 k = s.attributes, 31 v = n.createElement(d); 32 if (v.setAttribute("href", u), m && v.setAttribute("class", m), y && v.setAttribute("target", y), k) 33 for (var g in k) v.setAttribute(g, k[g]); 34 if (h) 35 for (var b in h) v.addEventListener ? v.addEventListener(b, h[b]) : v.attachEvent && v.attachEvent("on" + b, h[b]); 36 v.appendChild(n.createTextNode(c)), i.push(v) 37 } else i.push(n.createTextNode(f.toString())) 38 } 39 return i 40 } 41 42 function a(e, t, n) { 43 if (!e || e.nodeType !== d) throw new Error("Cannot linkify " + e + " - Invalid DOM Node type"); 44 var o = t.ignoreTags; 45 if ("A" === e.tagName || s.contains(o, e.tagName)) return e; 46 for (var l = e.firstChild; l;) { 47 switch (l.nodeType) { 48 case d: 49 a(l, t, n); 50 break; 51 case m: 52 var c = l.nodeValue, 53 y = f(c); 54 if (0 === y.length || 1 === y.length && y[0] instanceof u) break; 55 var h = r(y, t, n); 56 i(e, l, h), l = h[h.length - 1] 57 } 58 l = l.nextSibling 59 } 60 return e 61 } 62 63 function o(t, n) { 64 var i = arguments.length > 2 && void 0 !== arguments[2] && arguments[2]; 65 try { 66 i = i || document || e && e.document || global && global.document 67 } catch (r) {} 68 if (!i) throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement."); 69 return n = new c(n), a(t, n, i) 70 } 71 72 function l(t) { 73 function n(e) { 74 return e = o.normalize(e), this.each(function() { 75 o.helper(this, e, i) 76 }) 77 } 78 var i = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; 79 t.fn = t.fn || {}; 80 try { 81 i = i || document || e && e.document || global && global.document 82 } catch (r) {} 83 if (!i) throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery"); 84 "function" != typeof t.fn.linkify && (t.fn.linkify = n, t(i).ready(function() { 85 t("[data-linkify]").each(function() { 86 var e = t(this), 87 n = e.data(), 88 i = n.linkify, 89 r = n.linkifyNlbr, 90 a = { 91 attributes: n.linkifyAttributes, 92 defaultProtocol: n.linkifyDefaultProtocol, 93 events: n.linkifyEvents, 94 format: n.linkifyFormat, 95 formatHref: n.linkifyFormatHref, 96 nl2br: !!r && 0 !== r && "false" !== r, 97 tagName: n.linkifyTagname, 98 target: n.linkifyTarget, 99 className: n.linkifyClassName || n.linkifyLinkclass, 100 validate: n.linkifyValidate, 101 ignoreTags: n.linkifyIgnoreTags 102 }, 103 o = "this" === i ? e : e.find(i); 104 o.linkify(a) 105 }) 106 })) 107 } 108 t = "default" in t ? t["default"] : t; 109 var f = n.tokenize, 110 s = n.options, 111 c = s.Options, 112 u = n.parser.TOKENS.TEXT, 113 d = 1, 114 m = 3; 115 o.helper = a, o.normalize = function(e) { 116 return new c(e) 117 }; 118 try { 119 !define && (e.linkifyElement = o) 120 } catch (y) {} 121 return l 122 }(n, t); 123 "function" != typeof n.fn.linkify && i(n) 124}(window, linkify, jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.