1/*! 2 * SplitText 3.6.1 3 * https://greensock.com 4 * 5 * @license Copyright 2021, GreenSock. All rights reserved. 6 * Subject to the terms at https://greensock.com/standard-license or for Club GreenSock members, the agreement issued with that membership. 7 * @author: Jack Doyle, [email protected] 8 */ 9!(function (D, u) { 10 "object" == typeof exports && "undefined" != typeof module 11 ? u(exports) 12 : "function" == typeof define && define.amd 13 ? define(["exports"], u) 14 : u(((D = D || self).window = D.window || {})); 15})(this, function (D) { 16 "use strict"; 17 var _ = 18 /([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\u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uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uD
18FC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/; 19 function k(D) { 20 return e.getComputedStyle(D); 21 } 22 function n(D, u) { 23 var e; 24 return i(D) 25 ? D 26 : "string" == (e = typeof D) && !u && D 27 ? E.call(X.querySelectorAll(D), 0) 28 : D && "object" == e && "length" in D 29 ? E.call(D, 0) 30 : D 31 ? [D] 32 : []; 33 } 34 function o(D) { 35 return "absolute" === D.position || !0 === D.absolute; 36 } 37 function p(D, u) { 38 for (var e, t = u.length; -1 < --t; ) if (((e = u[t]), D.substr(0, e.length) === e)) return e.length; 39 } 40 function r(D, u) { 41 void 0 === D && (D = ""); 42 var e = ~D.indexOf("++"), 43 t = 1; 44 return ( 45 e && (D = D.split("++").join("")), 46 function () { 47 return ( 48 "<" + 49 u + 50 " style='position:relative;display:inline-block;'" + 51 (D ? " class='" + D + (e ? t++ : "") + "'>" : ">") 52 ); 53 } 54 ); 55 } 56 function s(D, u, e) { 57 var t = D.nodeType; 58 if (1 === t || 9 === t || 11 === t) for (D = D.firstChild; D; D = D.nextSibling) s(D, u, e); 59 else (3 !== t && 4 !== t) || (D.nodeValue = D.nodeValue.split(u).join(e)); 60 } 61 function t(D, u) { 62 for (var e = u.length; -1 < --e; ) D.push(u[e]); 63 } 64 function u(D, u, e) { 65 for (var t; D && D !== u; ) { 66 if ((t = D._next || D.nextSibling)) return t.textContent.charAt(0) === e; 67 D = D.parentNode || D._parent; 68 } 69 } 70 function v(D) { 71 var u, 72 e, 73 t = n(D.childNodes), 74 F = t.length; 75 for (u = 0; u < F; u++) 76 (e = t[u])._isSplit 77 ? v(e) 78 : u && e.previousSibling && 3 === e.previousSibling.nodeType
79 ? ((e.previousSibling.nodeValue += 3 === e.nodeType ? e.nodeValue : e.firstChild.nodeValue), 80 D.removeChild(e)) 81 : 3 !== e.nodeType && (D.insertBefore(e.firstChild, e), D.removeChild(e)); 82 } 83 function w(D, u) { 84 return parseFloat(u[D]) || 0; 85 } 86 function x(D, e, F, C, i, n, E) { 87 var r, 88 l, 89 p, 90 d, 91 a, 92 h, 93 B, 94 f, 95 A, 96 c, 97 x, 98 g, 99 y = k(D), 100 _ = w("paddingLeft", y), 101 b = -999, 102 S = w("borderBottomWidth", y) + w("borderTopWidth", y), 103 T = w("borderLeftWidth", y) + w("borderRightWidth", y), 104 m = w("paddingTop", y) + w("paddingBottom", y), 105 N = w("paddingLeft", y) + w("paddingRight", y), 106 L = w("fontSize", y) * (e.lineThreshold || 0.2), 107 W = y.textAlign, 108 H = [], 109 O = [], 110 V = [], 111 j = e.wordDelimiter || " ", 112 M = e.tag ? e.tag : e.span ? "span" : "div", 113 R = e.type || e.split || "chars,words,lines", 114 z = i && ~R.indexOf("lines") ? [] : null, 115 P = ~R.indexOf("words"), 116 q = ~R.indexOf("chars"), 117 G = o(e), 118 I = e.linesClass, 119 J = ~(I || "").indexOf("++"), 120 K = [], 121 Q = "flex" === y.display, 122 U = D.style.display; 123 for ( 124 J && (I = I.split("++").join("")), 125 Q && (D.style.display = "block"), 126 p = (l = D.getElementsByTagName("*")).length, 127 a = [], 128 r = 0; 129 r < p; 130 r++ 131 ) 132 a[r] = l[r]; 133 if (z || G) 134 for (r = 0; r < p; r++) 135 ((h = (d = a[r]).parentNode === D) || G || (q && !P)) && 136 ((g = d.offsetTop), 137 z && h && Math.abs(g - b) > L && ("BR" !== d.nodeName || 0 === r) && ((B = []), z.push(B), (b = g)), 138 G && ((d._x = d.offsetLeft), (d._y = g), (d._w = d.offsetWidth), (d._h = d.offsetHeight)), 139 z && 140 (((d._isSplit && h) || 141 (!q && h) || 142 (P && h) || 143 (!P && d.parentNode.parentNode === D && !d.parentNode._isSplit)) && 144 (B.push(d), (d._x -= _), u(d, D, j) && (d._wordEnd = !0)), 145 "BR" === d.nodeName && 146 ((d.nextSibling && "BR" === d.nextSibling.nodeName) || 0 === r) && 147 z.push([]))); 148 for (r = 0; r < p; r++) 149 if (((h = (d = a[r]).parentNode === D), "BR" !== d.nodeName)) 150 if ( 151 (G && 152 ((A = d.style), 153 P || h || ((d._x += d.parentNode._x), (d._y += d.parentNode._y)), 154 (A.left = d._x + "px"), 155 (A.top = d._y + "px"), 156 (A.position = "absolute"), 157 (A.display = "block"), 158 (A.width = d._w + 1 + "px"), 159 (A.height = d._h + "px")), 160 !P && q) 161 ) 162 if (d._isSplit) 163 for ( 164 d._next = l = d.nextSibling, d.parentNode.appendChild(d); 165 l && 3 === l.nodeType && " " === l.textContent; 166 167 ) 168 (d._next = l.nextSibling), d.parentNode.appendChild(l), (l = l.nextSibling); 169 else 170 d.parentNode._isSplit 171 ? ((d._parent = d.parentNode), 172 !d.previousSibling && d.firstChild && (d.firstChild._isFirst = !0), 173 d.nextSibling && 174 " " === d.nextSibling.textContent && 175 !d.nextSibling.nextSibling && 176 K.push(d.nextSibling), 177 (d._next = d.nextSibling && d.nextSibling._isFirst ? null : d.nextSibling), 178 d.parentNode.removeChild(d), 179 a.splice(r--, 1), 180 p--) 181 : h || 182 ((g = !d.nextSibling && u(d.parentNode, D, j)), 183 d.parentNode._parent && d.parentNode._parent.appendChild(d), 184 g && d.parentNode.appendChild(X.createTextNode(" ")), 185 "span" === M && (d.style.display = "inline"), 186 H.push(d)); 187 else 188 d.parentNode._isSplit && !d._isSplit && "" !== d.innerHTML 189 ? O.push(d) 190 : q && !d._isSplit && ("span" === M && (d.style.display = "inline"), H.push(d)); 191 else z || G ? (d.parentNode && d.parentNode.removeChild(d), a.splice(r--, 1), p--) : P || D.appendChild(d); 192 for (r = K.length; -1 < --r; ) K[r].parentNode.removeChild(K[r]); 193 if (z) { 194 for ( 195 G && 196 ((c = X.createElement(M)), 197 D.appendChild(c), 198 (x = c.offsetWidth + "px"), 199 (g = c.offsetParent === D ? 0 : D.offsetLeft), 200 D.removeChild(c)), 201 A = D.style.cssText, 202 D.style.cssText = "display:none;"; 203 D.firstChild; 204 205 ) 206 D.removeChild(D.firstChild); 207 for (f = " " === j && (!G || (!P && !q)), r = 0; r < z.length; r++) { 208 for ( 209 B = z[r], 210 (c = X.createElement(M)).style.cssText = 211 "display:block;text-align:" + W + ";position:" + (G ? "absolute;" : "relative;"), 212 I && (c.className = I + (J ? r + 1 : "")), 213 V.push(c), 214 p = B.length, 215 l = 0; 216 l < p; 217 l++ 218 ) 219 "BR" !== B[l].nodeName && 220 ((d = B[l]), 221 c.appendChild(d), 222 f && d._wordEnd && c.appendChild(X.createTextNode(" ")), 223 G && 224 (0 === l && ((c.style.top = d._y + "px"), (c.style.left = _ + g + "px")), 225 (d.style.top = "0px"), 226 g && (d.style.left = d._x - g + "px"))); 227 0 === p ? (c.innerHTML = " ") : P || q || (v(c), s(c, String.fromCharCode(160), " ")), 228 G && ((c.style.width = x), (c.style.height = d._h + "px")), 229 D.appendChild(c); 230 } 231 D.style.cssText = A; 232 } 233 G && 234 (E > D.clientHeight && 235 ((D.style.height = E - m + "px"), D.clientHeight < E && (D.style.height = E + S + "px")), 236 n > D.clientWidth && ((D.style.width = n - N + "px"), D.clientWidth < n && (D.style.width = n + T + "px"))), 237 Q && (U ? (D.style.display = U) : D.style.removeProperty("display")), 238 t(F, H), 239 P && t(C, O), 240 t(i, V); 241 } 242 function y(D, u, e, t) { 243 var F, 244 C, 245 i, 246 n, 247 E, 248 r, 249 l, 250 d, 251 a = u.tag ? u.tag : u.span ? "span" : "div", 252 h = ~(u.type || u.split || "chars,words,lines").indexOf("chars"), 253 B = o(u), 254 f = u.wordDelimiter || " ", 255 A = " " !== f ? "" : B ? "­ " : " ", 256 c = "</" + a + ">", 257 x = 1, 258 g = u.specialChars ? ("function" == typeof u.specialChars ? u.specialChars : p) : null, 259 y = X.createElement("div"), 260 v = D.parentNode; 261 for ( 262 v.insertBefore(y, D), 263 y.textContent = D.nodeValue, 264 v.removeChild(D), 265 l = 266 -1 !== 267 (F = (function getText(D) { 268 var u = D.nodeType, 269 e = ""; 270 if (1 === u || 9 === u || 11 === u) { 271 if ("string" == typeof D.textContent) return D.textContent; 272 for (D = D.firstChild; D; D = D.nextSibling) e += getText(D); 273 } else if (3 === u || 4 === u) return D.nodeValue; 274 return e; 275 })((D = y))).indexOf("<"), 276 !1 !== u.reduceWhiteSpace && (F = F.replace(S, " ").replace(b, "")), 277 l && (F = F.split("<").join("{{LT}}")), 278 E = F.length, 279 C = (" " === F.charAt(0) ? A : "") + e(), 280 i = 0; 281 i < E; 282 i++ 283 ) 284 if (((r = F.charAt(i)), g && (d = g(F.substr(i), u.specialChars)))) 285 (r = F.substr(i, d || 1)), (C += h && " " !== r ? t() + r + "</" + a + ">" : r), (i += d - 1); 286 else if (r === f && F.charAt(i - 1) !== f && i) { 287 for (C += x ? c : "", x = 0; F.charAt(i + 1) === f; ) (C += A), i++; 288 i === E - 1 ? (C += A) : ")" !== F.charAt(i + 1) && ((C += A + e()), (x = 1)); 289 } else 290 "{" === r && "{{LT}}" === F.substr(i, 6) 291 ? ((C += h ? t() + "{{LT}}</" + a + ">" : "{{LT}}"), (i += 5)) 292 : (55296 <= r.charCodeAt(0) && r.charCodeAt(0) <= 56319) || 293 (65024 <= F.charCodeAt(i + 1) && F.charCodeAt(i + 1) <= 65039) 294 ? ((n = ((F.substr(i, 12).split(_) || [])[1] || "").length || 2), 295 (C += h && " " !== r ? t() + F.substr(i, n) + "</" + a + ">" : F.substr(i, n)), 296 (i += n - 1)) 297 : (C += h && " " !== r ? t() + r + "</" + a + ">" : r); 298 (D.outerHTML = C + (x ? c : "")), l && s(v, "{{LT}}", "<"); 299 } 300 function z(D, u, e, t) { 301 var F, 302 C, 303 i = n(D.childNodes), 304 E = i.length, 305 s = o(u); 306 if (3 !== D.nodeType || 1 < E) { 307 for (u.absolute = !1, F = 0; F < E; F++) 308 ((C = i[F])._next = C._isFirst = C._parent = C._wordEnd = null),
309 (3 === C.nodeType && !/\S+/.test(C.nodeValue)) || 310 (s && 311 3 !== C.nodeType && 312 "inline" === k(C).display && 313 ((C.style.display = "inline-block"), (C.style.position = "relative")), 314 (C._isSplit = !0), 315 z(C, u, e, t)); 316 return (u.absolute = s), void (D._isSplit = !0); 317 } 318 y(D, u, e, t); 319 } 320 var X, 321 e, 322 F, 323 C, 324 b = /(?:\r|\n|\t\t)/g, 325 S = /(?:\s\s+)/g, 326 i = Array.isArray, 327 E = [].slice, 328 l = 329 (((C = SplitText.prototype).split = function split(D) { 330 this.isSplit && this.revert(), 331 (this.vars = D = D || this.vars), 332 (this._originals.length = this.chars.length = this.words.length = this.lines.length = 0); 333 for ( 334 var u, 335 e, 336 t, 337 F = this.elements.length, 338 C = D.tag ? D.tag : D.span ? "span" : "div", 339 i = r(D.wordsClass, C), 340 n = r(D.charsClass, C); 341 -1 < --F; 342 343 ) 344 (t = this.elements[F]), 345 (this._originals[F] = t.innerHTML), 346 (u = t.clientHeight), 347 (e = t.clientWidth), 348 z(t, D, i, n), 349 x(t, D, this.chars, this.words, this.lines, e, u); 350 return this.chars.reverse(), this.words.reverse(), this.lines.reverse(), (this.isSplit = !0), this; 351 }), 352 (C.revert = function revert() { 353 var e = this._originals; 354 if (!e) throw "revert() call wasn't scoped properly."; 355 return ( 356 this.elements.forEach(function (D, u) { 357 return (D.innerHTML = e[u]); 358 }), 359 (this.chars = []), 360 (this.words = []), 361 (this.lines = []), 362 (this.isSplit = !1), 363 this 364 ); 365 }), 366 (SplitText.create = function create(D, u) { 367 return new SplitText(D, u); 368 }), 369 SplitText); 370 function SplitText(D, u) { 371 F || 372 (function _initCore() { 373 (X = document), (e = window), (F = 1); 374 })(), 375 (this.elements = n(D)), 376 (this.chars = []), 377 (this.words = []), 378 (this.lines = []), 379 (this._originals = []), 380 (this.vars = u || {}), 381 this.split(u); 382 } 383 (l.version = "3.6.1"), (D.SplitText = l), (D.default = l); 384 if (typeof window === "undefined" || window !== D) { 385 Object.defineProperty(D, "__esModule", { 386 value: !0, 387 }); 388 } else { 389 delete D.default; 390 } 391});
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.