{"version":3,"file":"SplitText.min.js","sources":["../src/utils/strings.js","../src/SplitText.js"],"sourcesContent":["/*!\n * strings: 3.2.1\n * https://greensock.com\n *\n * Copyright 2008-2020, GreenSock. All rights reserved.\n * Subject to the terms at https://greensock.com/standard-license or for\n * Club GreenSock members, the agreement issued with that membership.\n * @author: Jack Doyle, jack@greensock.com\n*/\n/* eslint-disable */\n\nlet _trimExp = /(^\\s+|\\s+$)/g;\n\nexport const emojiExp = /([\\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\\u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C4\\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)/;\n\nexport function getText(e) {\n\tlet type = e.nodeType,\n\t\tresult = \"\";\n\tif (type === 1 || type === 9 || type === 11) {\n\t\tif (typeof(e.textContent) === \"string\") {\n\t\t\treturn e.textContent;\n\t\t} else {\n\t\t\tfor (e = e.firstChild; e; e = e.nextSibling ) {\n\t\t\t\tresult += getText(e);\n\t\t\t}\n\t\t}\n\t} else if (type === 3 || type === 4) {\n\t\treturn e.nodeValue;\n\t}\n\treturn result;\n}\n\nexport function splitInnerHTML(element, delimiter, trim) {\n\tlet node = element.firstChild,\n\t\tresult = [];\n\twhile (node) {\n\t\tif (node.nodeType === 3) {\n\t\t\tresult.push(...emojiSafeSplit((node.nodeValue + \"\").replace(/^\\n+/g, \"\").replace(/\\s+/g, \" \"), delimiter, trim));\n\t\t} else if ((node.nodeName + \"\").toLowerCase() === \"br\") {\n\t\t\tresult[result.length-1] += \"
\";\n\t\t} else {\n\t\t\tresult.push(node.outerHTML);\n\t\t}\n\t\tnode = node.nextSibling;\n\t}\n\treturn result;\n}\n\n/*\n//smaller kb version that only handles the simpler emoji's, which is often perfectly adequate.\n\nlet _emoji = \"[\\uE000-\\uF8FF]|\\uD83C[\\uDC00-\\uDFFF]|\\uD83D[\\uDC00-\\uDFFF]|[\\u2694-\\u2697]|\\uD83E[\\uDD10-\\uDD5D]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]\",\n\t_emojiExp = new RegExp(_emoji),\n\t_emojiAndCharsExp = new RegExp(_emoji + \"|.\", \"g\"),\n\t_emojiSafeSplit = (text, delimiter, trim) => {\n\t\tif (trim) {\n\t\t\ttext = text.replace(_trimExp, \"\");\n\t\t}\n\t\treturn ((delimiter === \"\" || !delimiter) && _emojiExp.test(text)) ? text.match(_emojiAndCharsExp) : text.split(delimiter || \"\");\n\t};\n */\nexport function emojiSafeSplit(text, delimiter, trim) {\n\tif (trim) {\n\t\ttext = text.replace(_trimExp, \"\");\n\t}\n\tif (delimiter && delimiter !== \"\") {\n\t\treturn text.replace(/>/g, \">\").replace(/= 0xD800 && character.charCodeAt(0) <= 0xDBFF) || (text.charCodeAt(i+1) >= 0xFE00 && text.charCodeAt(i+1) <= 0xFE0F)) { //special emoji characters use 2 or 4 unicode characters that we must keep together.\n\t\t\tj = ((text.substr(i, 12).split(emojiExp) || [])[1] || \"\").length || 2;\n\t\t\tcharacter = text.substr(i, j);\n\t\t\tresult.emoji = 1;\n\t\t\ti += j - 1;\n\t\t}\n\t\tresult.push(character === \">\" ? \">\" : (character === \"<\") ? \"<\" : character);\n\t}\n\treturn result;\n}","/*!\n * SplitText: 3.2.1\n * https://greensock.com\n *\n * @license Copyright 2008-2020, GreenSock. All rights reserved.\n * Subject to the terms at https://greensock.com/standard-license or for\n * Club GreenSock members, the agreement issued with that membership.\n * @author: Jack Doyle, jack@greensock.com\n*/\n/* eslint-disable */\nimport { emojiExp, getText } from \"./utils/strings.js\";\n\nlet _doc, _win, _coreInitted,\n\t_stripExp = /(?:\\r|\\n|\\t\\t)/g, //find carriage returns, new line feeds and double-tabs.\n\t_multipleSpacesExp = /(?:\\s\\s+)/g,\n\t_initCore = () => {\n\t\t_doc = document;\n\t\t_win = window;\n\t\t_coreInitted = 1;\n\t},\n\t_bonusValidated = 1, //SplitText\n\t_getComputedStyle = element => _win.getComputedStyle(element),\n\t_isArray = Array.isArray,\n\t_slice = [].slice,\n\t_toArray = (value, leaveStrings) => { //takes any value and returns an array. If it's a string (and leaveStrings isn't true), it'll use document.querySelectorAll() and convert that to an array. It'll also accept iterables like jQuery objects.\n\t\tlet type;\n\t\treturn _isArray(value) ? value : ((type = typeof value) === \"string\" && !leaveStrings && value) ? _slice.call(_doc.querySelectorAll(value), 0) : (value && type === \"object\" && \"length\" in value) ? _slice.call(value, 0) : value ? [value] : [];\n\t},\n\t_isAbsolute = vars => (vars.position === \"absolute\" || vars.absolute === true),\n\t//some characters are combining marks (think diacritics/accents in European languages) which involve 2 or 4 characters that combine in the browser to form a single character. Pass in the remaining text and an array of the special characters to search for and if the text starts with one of those special characters, it'll spit back the number of characters to retain (often 2 or 4). Used in the specialChars features that was introduced in 0.6.0.\n\t_findSpecialChars = (text, chars) => {\n\t\tlet i = chars.length,\n\t\t\ts;\n\t\twhile (--i > -1) {\n\t\t\ts = chars[i];\n\t\t\tif (text.substr(0, s.length) === s) {\n\t\t\t\treturn s.length;\n\t\t\t}\n\t\t}\n\t},\n\t_divStart = \" style='position:relative;display:inline-block;'\",\n\t_cssClassFunc = (cssClass = \"\", tag) => {\n\t\tlet iterate = ~cssClass.indexOf(\"++\"),\n\t\t\tnum = 1;\n\t\tif (iterate) {\n\t\t\tcssClass = cssClass.split(\"++\").join(\"\");\n\t\t}\n\t\treturn () => \"<\" + tag + _divStart + (cssClass ? \" class='\" + cssClass + (iterate ? num++ : \"\") + \"'>\" : \">\");\n\t},\n\t_swapText = (element, oldText, newText) => {\n\t\tlet type = element.nodeType;\n\t\tif (type === 1 || type === 9 || type === 11) {\n\t\t\tfor (element = element.firstChild; element; element = element.nextSibling) {\n\t\t\t\t_swapText(element, oldText, newText);\n\t\t\t}\n\t\t} else if (type === 3 || type === 4) {\n\t\t\telement.nodeValue = element.nodeValue.split(oldText).join(newText);\n\t\t}\n\t},\n\t_pushReversed = (a, merge) => {\n\t\tlet i = merge.length;\n\t\twhile (--i > -1) {\n\t\t\ta.push(merge[i]);\n\t\t}\n\t},\n\t_isBeforeWordDelimiter = (e, root, wordDelimiter) => {\n\t\tlet next;\n\t\twhile (e && e !== root) {\n\t\t\tnext = e._next || e.nextSibling;\n\t\t\tif (next) {\n\t\t\t\treturn next.textContent.charAt(0) === wordDelimiter;\n\t\t\t}\n\t\t\te = e.parentNode || e._parent;\n\t\t}\n\t},\n\t_deWordify = e => {\n\t\tlet children = _toArray(e.childNodes),\n\t\t\tl = children.length,\n\t\t\ti, child;\n\t\tfor (i = 0; i < l; i++) {\n\t\t\tchild = children[i];\n\t\t\tif (child._isSplit) {\n\t\t\t\t_deWordify(child);\n\t\t\t} else {\n\t\t\t\tif (i && child.previousSibling.nodeType === 3) {\n\t\t\t\t\tchild.previousSibling.nodeValue += (child.nodeType === 3) ? child.nodeValue : child.firstChild.nodeValue;\n\t\t\t\t} else if (child.nodeType !== 3) {\n\t\t\t\t\te.insertBefore(child.firstChild, child);\n\t\t\t\t}\n\t\t\t\te.removeChild(child);\n\t\t\t}\n\t\t}\n\t},\n\t_getStyleAsNumber = (name, computedStyle) => parseFloat(computedStyle[name]) || 0,\n\t_setPositionsAfterSplit = (element, vars, allChars, allWords, allLines, origWidth, origHeight) => {\n\t\tlet cs = _getComputedStyle(element),\n\t\t\tpaddingLeft = _getStyleAsNumber(\"paddingLeft\", cs),\n\t\t\tlineOffsetY = -999,\n\t\t\tborderTopAndBottom = _getStyleAsNumber(\"borderBottomWidth\", cs) + _getStyleAsNumber(\"borderTopWidth\", cs),\n\t\t\tborderLeftAndRight = _getStyleAsNumber(\"borderLeftWidth\", cs) + _getStyleAsNumber(\"borderRightWidth\", cs),\n\t\t\tpadTopAndBottom = _getStyleAsNumber(\"paddingTop\", cs) + _getStyleAsNumber(\"paddingBottom\", cs),\n\t\t\tpadLeftAndRight = _getStyleAsNumber(\"paddingLeft\", cs) + _getStyleAsNumber(\"paddingRight\", cs),\n\t\t\tlineThreshold = _getStyleAsNumber(\"fontSize\", cs) * 0.2,\n\t\t\ttextAlign = cs.textAlign,\n\t\t\tcharArray = [],\n\t\t\twordArray = [],\n\t\t\tlineArray = [],\n\t\t\twordDelimiter = vars.wordDelimiter || \" \",\n\t\t\ttag = vars.tag ? vars.tag : (vars.span ? \"span\" : \"div\"),\n\t\t\ttypes = vars.type || vars.split || \"chars,words,lines\",\n\t\t\tlines = (allLines && ~types.indexOf(\"lines\")) ? [] : null,\n\t\t\twords = ~types.indexOf(\"words\"),\n\t\t\tchars = ~types.indexOf(\"chars\"),\n\t\t\tabsolute = _isAbsolute(vars),\n\t\t\tlinesClass = vars.linesClass,\n\t\t\titerateLine = ~((linesClass || \"\").indexOf(\"++\")),\n\t\t\tspaceNodesToRemove = [],\n\t\t\ti, j, l, node, nodes, isChild, curLine, addWordSpaces, style, lineNode, lineWidth, offset;\n\t\tif (iterateLine) {\n\t\t\tlinesClass = linesClass.split(\"++\").join(\"\");\n\t\t}\n\n\t\t//copy all the descendant nodes into an array (we can't use a regular nodeList because it's live and we may need to renest things)\n\t\tj = element.getElementsByTagName(\"*\");\n\t\tl = j.length;\n\t\tnodes = [];\n\t\tfor (i = 0; i < l; i++) {\n\t\t\tnodes[i] = j[i];\n\t\t}\n\n\t\t//for absolute positioning, we need to record the x/y offsets and width/height for every
. And even if we're not positioning things absolutely, in order to accommodate lines, we must figure out where the y offset changes so that we can sense where the lines break, and we populate the lines array.\n\t\tif (lines || absolute) {\n\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\tnode = nodes[i];\n\t\t\t\tisChild = (node.parentNode === element);\n\t\t\t\tif (isChild || absolute || (chars && !words)) {\n\t\t\t\t\toffset = node.offsetTop;\n\t\t\t\t\tif (lines && isChild && Math.abs(offset - lineOffsetY) > lineThreshold && (node.nodeName !== \"BR\" || i === 0)) { //we found some rare occasions where a certain character like ‑ could cause the offsetTop to be off by 1 pixel, so we build in a threshold.\n\t\t\t\t\t\tcurLine = [];\n\t\t\t\t\t\tlines.push(curLine);\n\t\t\t\t\t\tlineOffsetY = offset;\n\t\t\t\t\t}\n\t\t\t\t\tif (absolute) { //record offset x and y, as well as width and height so that we can access them later for positioning. Grabbing them at once ensures we don't trigger a browser paint & we maximize performance.\n\t\t\t\t\t\tnode._x = node.offsetLeft;\n\t\t\t\t\t\tnode._y = offset;\n\t\t\t\t\t\tnode._w = node.offsetWidth;\n\t\t\t\t\t\tnode._h = node.offsetHeight;\n\t\t\t\t\t}\n\t\t\t\t\tif (lines) {\n\t\t\t\t\t\tif ((node._isSplit && isChild) || (!chars && isChild) || (words && isChild) || (!words && node.parentNode.parentNode === element && !node.parentNode._isSplit)) {\n\t\t\t\t\t\t\tcurLine.push(node);\n\t\t\t\t\t\t\tnode._x -= paddingLeft;\n\t\t\t\t\t\t\tif (_isBeforeWordDelimiter(node, element, wordDelimiter)) {\n\t\t\t\t\t\t\t\tnode._wordEnd = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (node.nodeName === \"BR\" && ((node.nextSibling && node.nextSibling.nodeName === \"BR\") || i === 0)) { //two consecutive
tags signify a new [empty] line. Also, if the entire block of content STARTS with a
, add a line.\n\t\t\t\t\t\t\tlines.push([]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0; i < l; i++) {\n\t\t\tnode = nodes[i];\n\t\t\tisChild = (node.parentNode === element);\n\t\t\tif (node.nodeName === \"BR\") {\n\t\t\t\tif (lines || absolute) {\n\t\t\t\t\tif (node.parentNode) {\n\t\t\t\t\t\tnode.parentNode.removeChild(node);\n\t\t\t\t\t}\n\t\t\t\t\tnodes.splice(i--, 1);\n\t\t\t\t\tl--;\n\t\t\t\t} else if (!words) {\n\t\t\t\t\telement.appendChild(node);\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (absolute) {\n\t\t\t\tstyle = node.style;\n\t\t\t\tif (!words && !isChild) {\n\t\t\t\t\tnode._x += node.parentNode._x;\n\t\t\t\t\tnode._y += node.parentNode._y;\n\t\t\t\t}\n\t\t\t\tstyle.left = node._x + \"px\";\n\t\t\t\tstyle.top = node._y + \"px\";\n\t\t\t\tstyle.position = \"absolute\";\n\t\t\t\tstyle.display = \"block\";\n\t\t\t\t//if we don't set the width/height, things collapse in older versions of IE and the origin for transforms is thrown off in all browsers.\n\t\t\t\tstyle.width = (node._w + 1) + \"px\"; //IE is 1px short sometimes. Avoid wrapping\n\t\t\t\tstyle.height = node._h + \"px\";\n\t\t\t}\n\n\t\t\tif (!words && chars) {\n\t\t\t\t//we always start out wrapping words in their own
so that line breaks happen correctly, but here we'll remove those
tags if necessary and renest the characters directly into the element rather than inside the word
\n\t\t\t\tif (node._isSplit) {\n\t\t\t\t\tnode._next = node.nextSibling;\n\t\t\t\t\tnode.parentNode.appendChild(node); //put it at the end to keep the order correct.\n\n\t\t\t\t} else if (node.parentNode._isSplit) {\n\t\t\t\t\tnode._parent = node.parentNode;\n\t\t\t\t\tif (!node.previousSibling && node.firstChild) {\n\t\t\t\t\t\tnode.firstChild._isFirst = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (node.nextSibling && node.nextSibling.textContent === \" \" && !node.nextSibling.nextSibling) { //if the last node inside a nested element is just a space (like Tnested ), remove it otherwise it'll get placed in the wrong order. Don't remove it right away, though, because we need to sense when words/characters are before a space like _isBeforeWordDelimiter(). Removing it now would make that a false negative.\n\t\t\t\t\t\tspaceNodesToRemove.push(node.nextSibling);\n\t\t\t\t\t}\n\t\t\t\t\tnode._next = (node.nextSibling && node.nextSibling._isFirst) ? null : node.nextSibling;\n\t\t\t\t\tnode.parentNode.removeChild(node);\n\t\t\t\t\tnodes.splice(i--, 1);\n\t\t\t\t\tl--;\n\t\t\t\t} else if (!isChild) {\n\t\t\t\t\toffset = (!node.nextSibling && _isBeforeWordDelimiter(node.parentNode, element, wordDelimiter)); //if this is the last letter in the word (and we're not breaking by lines and not positioning things absolutely), we need to add a space afterwards so that the characters don't just mash together\n\t\t\t\t\tif (node.parentNode._parent) {\n\t\t\t\t\t\tnode.parentNode._parent.appendChild(node);\n\t\t\t\t\t}\n\t\t\t\t\tif (offset) {\n\t\t\t\t\t\tnode.parentNode.appendChild(_doc.createTextNode(\" \"));\n\t\t\t\t\t}\n\t\t\t\t\tif (tag === \"span\") {\n\t\t\t\t\t\tnode.style.display = \"inline\"; //so that word breaks are honored properly.\n\t\t\t\t\t}\n\t\t\t\t\tcharArray.push(node);\n\t\t\t\t}\n\t\t\t} else if (node.parentNode._isSplit && !node._isSplit && node.innerHTML !== \"\") {\n\t\t\t\twordArray.push(node);\n\t\t\t} else if (chars && !node._isSplit) {\n\t\t\t\tif (tag === \"span\") {\n\t\t\t\t\tnode.style.display = \"inline\";\n\t\t\t\t}\n\t\t\t\tcharArray.push(node);\n\t\t\t}\n\t\t}\n\n\t\ti = spaceNodesToRemove.length;\n\t\twhile (--i > -1) {\n\t\t\tspaceNodesToRemove[i].parentNode.removeChild(spaceNodesToRemove[i]);\n\t\t}\n\n\t\tif (lines) {\n\t\t\t//the next 7 lines just give us the line width in the most reliable way and figure out the left offset (if position isn't relative or absolute). We must set the width along with text-align to ensure everything works properly for various alignments.\n\t\t\tif (absolute) {\n\t\t\t\tlineNode = _doc.createElement(tag);\n\t\t\t\telement.appendChild(lineNode);\n\t\t\t\tlineWidth = lineNode.offsetWidth + \"px\";\n\t\t\t\toffset = (lineNode.offsetParent === element) ? 0 : element.offsetLeft;\n\t\t\t\telement.removeChild(lineNode);\n\t\t\t}\n\t\t\tstyle = element.style.cssText;\n\t\t\telement.style.cssText = \"display:none;\"; //to improve performance, set display:none on the element so that the browser doesn't have to worry about reflowing or rendering while we're renesting things. We'll revert the cssText later.\n\t\t\t//we can't use element.innerHTML = \"\" because that causes IE to literally delete all the nodes and their content even though we've stored them in an array! So we must loop through the children and remove them.\n\t\t\twhile (element.firstChild) {\n\t\t\t\telement.removeChild(element.firstChild);\n\t\t\t}\n\t\t\taddWordSpaces = (wordDelimiter === \" \" && (!absolute || (!words && !chars)));\n\t\t\tfor (i = 0; i < lines.length; i++) {\n\t\t\t\tcurLine = lines[i];\n\t\t\t\tlineNode = _doc.createElement(tag);\n\t\t\t\tlineNode.style.cssText = \"display:block;text-align:\" + textAlign + \";position:\" + (absolute ? \"absolute;\" : \"relative;\");\n\t\t\t\tif (linesClass) {\n\t\t\t\t\tlineNode.className = linesClass + (iterateLine ? i+1 : \"\");\n\t\t\t\t}\n\t\t\t\tlineArray.push(lineNode);\n\t\t\t\tl = curLine.length;\n\t\t\t\tfor (j = 0; j < l; j++) {\n\t\t\t\t\tif (curLine[j].nodeName !== \"BR\") {\n\t\t\t\t\t\tnode = curLine[j];\n\t\t\t\t\t\tlineNode.appendChild(node);\n\t\t\t\t\t\tif (addWordSpaces && node._wordEnd) {\n\t\t\t\t\t\t\tlineNode.appendChild(_doc.createTextNode(\" \"));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (absolute) {\n\t\t\t\t\t\t\tif (j === 0) {\n\t\t\t\t\t\t\t\tlineNode.style.top = (node._y) + \"px\";\n\t\t\t\t\t\t\t\tlineNode.style.left = (paddingLeft + offset) + \"px\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tnode.style.top = \"0px\";\n\t\t\t\t\t\t\tif (offset) {\n\t\t\t\t\t\t\t\tnode.style.left = (node._x - offset) + \"px\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (l === 0) { //if there are no nodes in the line (typically meaning there were two consecutive
tags, just add a non-breaking space so that things display properly.\n\t\t\t\t\tlineNode.innerHTML = \" \";\n\t\t\t\t} else if (!words && !chars) {\n\t\t\t\t\t_deWordify(lineNode);\n\t\t\t\t\t_swapText(lineNode, String.fromCharCode(160), \" \");\n\t\t\t\t}\n\t\t\t\tif (absolute) {\n\t\t\t\t\tlineNode.style.width = lineWidth;\n\t\t\t\t\tlineNode.style.height = node._h + \"px\";\n\t\t\t\t}\n\t\t\t\telement.appendChild(lineNode);\n\t\t\t}\n\t\t\telement.style.cssText = style;\n\t\t}\n\n\t\t//if everything shifts to being position:absolute, the container can collapse in terms of height or width, so fix that here.\n\t\tif (absolute) {\n\t\t\tif (origHeight > element.clientHeight) {\n\t\t\t\telement.style.height = (origHeight - padTopAndBottom) + \"px\";\n\t\t\t\tif (element.clientHeight < origHeight) { //IE8 and earlier use a different box model - we must include padding and borders\n\t\t\t\t\telement.style.height = (origHeight + borderTopAndBottom)+ \"px\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (origWidth > element.clientWidth) {\n\t\t\t\telement.style.width = (origWidth - padLeftAndRight) + \"px\";\n\t\t\t\tif (element.clientWidth < origWidth) { //IE8 and earlier use a different box model - we must include padding and borders\n\t\t\t\t\telement.style.width = (origWidth + borderLeftAndRight)+ \"px\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t_pushReversed(allChars, charArray);\n\t\tif (words) {\n\t\t\t_pushReversed(allWords, wordArray);\n\t\t}\n\t\t_pushReversed(allLines, lineArray);\n\t},\n\t_splitRawText = (element, vars, wordStart, charStart) => {\n\t\tlet tag = vars.tag ? vars.tag : (vars.span ? \"span\" : \"div\"),\n\t\t\ttypes = vars.type || vars.split || \"chars,words,lines\",\n\t\t\t//words = (types.indexOf(\"words\") !== -1),\n\t\t\tchars = ~types.indexOf(\"chars\"),\n\t\t\tabsolute = _isAbsolute(vars),\n\t\t\twordDelimiter = vars.wordDelimiter || \" \",\n\t\t\tspace = wordDelimiter !== \" \" ? \"\" : (absolute ? \"­ \" : \" \"),\n\t\t\twordEnd = \"\",\n\t\t\twordIsOpen = 1,\n\t\t\tspecialChars = vars.specialChars ? (typeof(vars.specialChars) === \"function\" ? vars.specialChars : _findSpecialChars) : null, //specialChars can be an array or a function. For performance reasons, we always set this local \"specialChars\" to a function to which we pass the remaining text and whatever the original vars.specialChars was so that if it's an array, it works with the _findSpecialChars() function.\n\t\t\ttext, splitText, i, j, l, character, hasTagStart, testResult,\n\t\t\tcontainer = _doc.createElement(\"div\"),\n\t\t\tparent = element.parentNode;\n\n\t\tparent.insertBefore(container, element);\n\t\tcontainer.textContent = element.nodeValue;\n\t\tparent.removeChild(element);\n\t\telement = container;\n\t\ttext = getText(element);\n\t\thasTagStart = text.indexOf(\"<\") !== -1;\n\n\t\tif (vars.reduceWhiteSpace !== false) {\n\t\t\ttext = text.replace(_multipleSpacesExp, \" \").replace(_stripExp, \"\");\n\t\t}\n\t\tif (hasTagStart) {\n\t\t\ttext = text.split(\"<\").join(\"{{LT}}\"); //we can't leave \"<\" in the string, or when we set the innerHTML, it can be interpreted as a node\n\t\t}\n\t\tl = text.length;\n\t\tsplitText = ((text.charAt(0) === \" \") ? space : \"\") + wordStart();\n\t\tfor (i = 0; i < l; i++) {\n\t\t\tcharacter = text.charAt(i);\n\t\t\tif (specialChars && (testResult = specialChars(text.substr(i), vars.specialChars))) { // look for any specialChars that were declared. Remember, they can be passed in like {specialChars:[\"मी\", \"पा\", \"है\"]} or a function could be defined instead. Either way, the function should return the number of characters that should be grouped together for this \"character\".\n\t\t\t\tcharacter = text.substr(i, testResult || 1);\n\t\t\t\tsplitText += (chars && character !== \" \") ? charStart() + character + \"\" : character;\n\t\t\t\ti += testResult - 1;\n\t\t\t} else if (character === wordDelimiter && text.charAt(i-1) !== wordDelimiter && i) {\n\t\t\t\tsplitText += wordIsOpen ? wordEnd : \"\";\n\t\t\t\twordIsOpen = 0;\n\t\t\t\twhile (text.charAt(i + 1) === wordDelimiter) { //skip over empty spaces (to avoid making them words)\n\t\t\t\t\tsplitText += space;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\tif (i === l-1) {\n\t\t\t\t\tsplitText += space;\n\t\t\t\t} else if (text.charAt(i + 1) !== \")\") {\n\t\t\t\t\tsplitText += space + wordStart();\n\t\t\t\t\twordIsOpen = 1;\n\t\t\t\t}\n\n\t\t\t} else if (character === \"{\" && text.substr(i, 6) === \"{{LT}}\") {\n\t\t\t\tsplitText += chars ? charStart() + \"{{LT}}\" + \"\" : \"{{LT}}\";\n\t\t\t\ti += 5;\n\n\t\t\t} else if ((character.charCodeAt(0) >= 0xD800 && character.charCodeAt(0) <= 0xDBFF) || (text.charCodeAt(i+1) >= 0xFE00 && text.charCodeAt(i+1) <= 0xFE0F)) { //special emoji characters use 2 or 4 unicode characters that we must keep together.\n\t\t\t\tj = ((text.substr(i, 12).split(emojiExp) || [])[1] || \"\").length || 2;\n\t\t\t\tsplitText += (chars && character !== \" \") ? charStart() + text.substr(i, j) + \"\" : text.substr(i, j);\n\t\t\t\ti += j - 1;\n\t\t\t} else {\n\t\t\t\tsplitText += (chars && character !== \" \") ? charStart() + character + \"\" : character;\n\t\t\t}\n\t\t}\n\t\telement.outerHTML = splitText + (wordIsOpen ? wordEnd : \"\");\n\t\tif (hasTagStart) {\n\t\t\t_swapText(parent, \"{{LT}}\", \"<\"); //note: don't perform this on \"element\" because that gets replaced with all new elements when we set element.outerHTML.\n\t\t}\n\t},\n\t_split = (element, vars, wordStart, charStart) => {\n\t\tlet children = _toArray(element.childNodes),\n\t\t\tl = children.length,\n\t\t\tabsolute = _isAbsolute(vars),\n\t\t\ti, child;\n\t\tif (element.nodeType !== 3 || l > 1) {\n\t\t\tvars.absolute = false;\n\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\tchild = children[i];\n\t\t\t\tif (child.nodeType !== 3 || /\\S+/.test(child.nodeValue)) {\n\t\t\t\t\tif (absolute && child.nodeType !== 3 && _getComputedStyle(child).display === \"inline\") { //if there's a child node that's display:inline, switch it to inline-block so that absolute positioning works properly (most browsers don't report offsetTop/offsetLeft properly inside a for example)\n\t\t\t\t\t\tchild.style.display = \"inline-block\";\n\t\t\t\t\t\tchild.style.position = \"relative\";\n\t\t\t\t\t}\n\t\t\t\t\tchild._isSplit = true;\n\t\t\t\t\t_split(child, vars, wordStart, charStart); //don't split lines on child elements\n\t\t\t\t}\n\t\t\t}\n\t\t\tvars.absolute = absolute;\n\t\t\telement._isSplit = true;\n\t\t\treturn;\n\t\t}\n\t\t_splitRawText(element, vars, wordStart, charStart);\n\t};\n\nexport class SplitText {\n\n\tconstructor(element, vars) {\n\t\tif (!_coreInitted) {\n\t\t\t_initCore();\n\t\t}\n\t\tthis.elements = _toArray(element);\n\t\tthis.chars = [];\n\t\tthis.words = [];\n\t\tthis.lines = [];\n\t\tthis._originals = [];\n\t\tthis.vars = vars || {};\n\t\tif (_bonusValidated) {\n\t\t\tthis.split(vars);\n\t\t}\n\t}\n\n\tsplit(vars) {\n\t\tif (this.isSplit) {\n\t\t\tthis.revert();\n\t\t}\n\t\tthis.vars = vars = vars || this.vars;\n\t\tthis._originals.length = this.chars.length = this.words.length = this.lines.length = 0;\n\t\tlet i = this.elements.length,\n\t\t\ttag = vars.tag ? vars.tag : (vars.span ? \"span\" : \"div\"),\n\t\t\twordStart = _cssClassFunc(vars.wordsClass, tag),\n\t\t\tcharStart = _cssClassFunc(vars.charsClass, tag),\n\t\t\torigHeight, origWidth, e;\n\t\t//we split in reversed order so that if/when we position:absolute elements, they don't affect the position of the ones after them in the document flow (shifting them up as they're taken out of the document flow).\n\t\twhile (--i > -1) {\n\t\t\te = this.elements[i];\n\t\t\tthis._originals[i] = e.innerHTML;\n\t\t\torigHeight = e.clientHeight;\n\t\t\torigWidth = e.clientWidth;\n\t\t\t_split(e, vars, wordStart, charStart);\n\t\t\t_setPositionsAfterSplit(e, vars, this.chars, this.words, this.lines, origWidth, origHeight);\n\t\t}\n\t\tthis.chars.reverse();\n\t\tthis.words.reverse();\n\t\tthis.lines.reverse();\n\t\tthis.isSplit = true;\n\t\treturn this;\n\t}\n\n\trevert() {\n\t\tlet originals = this._originals;\n\t\tif (!originals) {\n\t\t\tthrow(\"revert() call wasn't scoped properly.\");\n\t\t}\n\t\tthis.elements.forEach((e, i) => e.innerHTML = originals[i]);\n\t\tthis.chars = [];\n\t\tthis.words = [];\n\t\tthis.lines = [];\n\t\tthis.isSplit = false;\n\t\treturn this;\n\t}\n\n\tstatic create(element, vars) {\n\t\treturn new SplitText(element, vars);\n\t}\n\n}\n\nSplitText.version = \"3.2.1\";\n\nexport { SplitText as default };"],"names":["emojiExp","_bonusValidated","element","_win","getComputedStyle","_toArray","value","leaveStrings","type","_isArray","_slice","call","_doc","querySelectorAll","_isAbsolute","vars","position","absolute","_findSpecialChars","text","chars","s","i","length","substr","_cssClassFunc","cssClass","tag","iterate","indexOf","num","split","join","_swapText","oldText","newText","nodeType","firstChild","nextSibling","nodeValue","_pushReversed","a","merge","push","_isBeforeWordDelimiter","e","root","wordDelimiter","next","_next","textContent","charAt","parentNode","_parent","_deWordify","child","children","childNodes","l","_isSplit","previousSibling","insertBefore","removeChild","_getStyleAsNumber","name","computedStyle","parseFloat","_setPositionsAfterSplit","allChars","allWords","allLines","origWidth","origHeight","j","node","nodes","isChild","curLine","addWordSpaces","style","lineNode","lineWidth","offset","cs","_getComputedStyle","paddingLeft","lineOffsetY","borderTopAndBottom","borderLeftAndRight","padTopAndBottom","padLeftAndRight","lineThreshold","textAlign","charArray","wordArray","lineArray","span","types","lines","words","linesClass","iterateLine","spaceNodesToRemove","getElementsByTagName","offsetTop","Math","abs","nodeName","_x","offsetLeft","_y","_w","offsetWidth","_h","offsetHeight","_wordEnd","left","top","display","width","height","appendChild","_isFirst","splice","createTextNode","innerHTML","createElement","offsetParent","cssText","className","String","fromCharCode","clientHeight","clientWidth","_splitRawText","wordStart","charStart","splitText","character","hasTagStart","testResult","space","wordEnd","wordIsOpen","specialChars","container","parent","getText","result","reduceWhiteSpace","replace","_multipleSpacesExp","_stripExp","charCodeAt","outerHTML","_split","test","_coreInitted","Array","isArray","slice","SplitText","this","isSplit","revert","_originals","elements","wordsClass","charsClass","reverse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