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aAAO,CAAO,EAAU,GACtB,OAAO,IAAI,EAAW,EAAU,EAClC,CACA,eAAO,CAAS,GACd,KAAO,MAAQ,GAAQ,OAAO,KAC1B,OACF,SAAW,KAAK,MAAM,QACtB,SAAW,KAAK,KAAK,SAAW,WAE7B,cAAgB,OAAO,WAAa,IACvC,OAAS,SAAS,MAClB,cAAe,EAEnB,GAEF,WAAW,QAAU,SACrB,IAAI,UAAY,kBAEd,UACA","file":"/npm/gsap@3.15.1/SplitText.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.48.0.\n * Original file: /npm/gsap@3.15.1/SplitText.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*!\n * SplitText 3.15.1\n * https://gsap.com\n *\n * @license Copyright 2008-2026, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle\n*/\nlet gsap, _fonts, _splitProp = typeof Symbol === \"function\" ? Symbol() : \"_split\", _coreInitted, _initIfNecessary = () => _coreInitted || SplitText.register(window.gsap), _charSegmenter = typeof Intl !== \"undefined\" && \"Segmenter\" in Intl ? new Intl.Segmenter() : 0, _toArray = (r) => !r ? [] : typeof r === \"string\" ? _toArray(document.querySelectorAll(r)) : \"length\" in r ? Array.from(r).reduce((acc, cur) => {\n  typeof cur === \"string\" ? acc.push(..._toArray(cur)) : acc.push(cur);\n  return acc;\n}, []) : [r], _elements = (targets) => _toArray(targets).filter((e) => e && e.nodeType === 1), _emptyArray = [], _context = function() {\n}, _defaultContext = { add: (f) => f() }, _spacesRegEx = /\\s+/g, _emojiSafeRegEx = new RegExp(\"\\\\p{RI}\\\\p{RI}|\\\\p{Emoji}(\\\\p{EMod}|\\\\u{FE0F}\\\\u{20E3}?|[\\\\u{E0020}-\\\\u{E007E}]+\\\\u{E007F})?(\\\\u{200D}\\\\p{Emoji}(\\\\p{EMod}|\\\\u{FE0F}\\\\u{20E3}?|[\\\\u{E0020}-\\\\u{E007E}]+\\\\u{E007F})?)*|.\", \"gu\"), _emptyBounds = { left: 0, top: 0, width: 0, height: 0 }, _findNextValidBounds = (allBounds, startIndex) => {\n  while (++startIndex < allBounds.length && allBounds[startIndex] === _emptyBounds) {\n  }\n  return allBounds[startIndex] || _emptyBounds;\n}, _revertOriginal = ({ element, html, ariaL, ariaH }) => {\n  element.innerHTML = html;\n  ariaL ? element.setAttribute(\"aria-label\", ariaL) : element.removeAttribute(\"aria-label\");\n  ariaH ? element.setAttribute(\"aria-hidden\", ariaH) : element.removeAttribute(\"aria-hidden\");\n}, _stretchToFitSpecialChars = (collection, specialCharsRegEx) => {\n  if (specialCharsRegEx) {\n    let charsFound = new Set(collection.join(\"\").match(specialCharsRegEx) || _emptyArray), i = collection.length, slots, word, char, combined;\n    if (charsFound.size) {\n      while (--i > -1) {\n        word = collection[i];\n        for (char of charsFound) {\n          if (char.startsWith(word) && char.length > word.length) {\n            slots = 0;\n            combined = word;\n            while (char.startsWith(combined += collection[i + ++slots]) && combined.length < char.length) {\n            }\n            if (slots && combined.length === char.length) {\n              collection[i] = char;\n              collection.splice(i + 1, slots);\n              break;\n            }\n          }\n        }\n      }\n    }\n  }\n  return collection;\n}, _disallowInline = (element) => window.getComputedStyle(element).display === \"inline\" && (element.style.display = \"inline-block\"), _insertNodeBefore = (newChild, parent, existingChild) => parent.insertBefore(typeof newChild === \"string\" ? document.createTextNode(newChild) : newChild, existingChild), _getWrapper = (type, config, collection) => {\n  let className = config[type + \"sClass\"] || \"\", { tag = \"div\", aria = \"auto\", propIndex = false } = config, display = type === \"line\" ? \"block\" : \"inline-block\", incrementClass = className.indexOf(\"++\") > -1, wrapper = (text) => {\n    let el = document.createElement(tag), i = collection.length + 1;\n    className && (el.className = className + (incrementClass ? \" \" + className + i : \"\"));\n    propIndex && el.style.setProperty(\"--\" + type, i + \"\");\n    aria !== \"none\" && el.setAttribute(\"aria-hidden\", \"true\");\n    if (tag !== \"span\") {\n      el.style.position = \"relative\";\n      el.style.display = display;\n    }\n    el.textContent = text;\n    collection.push(el);\n    return el;\n  };\n  incrementClass && (className = className.replace(\"++\", \"\"));\n  wrapper.collection = collection;\n  return wrapper;\n}, _getLineWrapper = (element, nodes, config, collection) => {\n  let lineWrapper = _getWrapper(\"line\", config, collection), textAlign = window.getComputedStyle(element).textAlign || \"left\";\n  return (startIndex, endIndex) => {\n    let newLine = lineWrapper(\"\");\n    newLine.style.textAlign = textAlign;\n    element.insertBefore(newLine, nodes[startIndex]);\n    for (; startIndex < endIndex; startIndex++) {\n      newLine.appendChild(nodes[startIndex]);\n    }\n    newLine.normalize();\n  };\n}, _splitWordsAndCharsRecursively = (element, config, wordWrapper, charWrapper, prepForCharsOnly, deepSlice, ignore, charSplitRegEx, specialCharsRegEx, isNested) => {\n  var _a;\n  let nodes = Array.from(element.childNodes), i = 0, { wordDelimiter, reduceWhiteSpace = true, prepareText } = config, elementBounds = element.getBoundingClientRect(), lastBounds = elementBounds, isPreformatted = !reduceWhiteSpace && window.getComputedStyle(element).whiteSpace.substring(0, 3) === \"pre\", rtl = deepSlice && isNested && window.getComputedStyle(element).direction === \"rtl\", ignoredPreviousSibling = 0, wordsCollection = wordWrapper.collection, wordDelimIsNotSpace, wordDelimString, wordDelimSplitter, curNode, words, curWordEl, startsWithSpace, endsWithSpace, j, bounds, curWordChars, clonedNode, curSubNode, tempSubNode, curTextContent, wordText, lastWordText, k;\n  if (typeof wordDelimiter === \"object\") {\n    wordDelimSplitter = wordDelimiter.delimiter || wordDelimiter;\n    wordDelimString = wordDelimiter.replaceWith || \"\";\n  } else {\n    wordDelimString = wordDelimiter === \"\" ? \"\" : wordDelimiter || \" \";\n  }\n  wordDelimIsNotSpace = wordDelimString !== \" \";\n  for (; i < nodes.length; i++) {\n    curNode = nodes[i];\n    if (curNode.nodeType === 3) {\n      curTextContent = curNode.textContent || \"\";\n      if (reduceWhiteSpace) {\n        curTextContent = curTextContent.replace(_spacesRegEx, \" \");\n      } else if (isPreformatted) {\n        curTextContent = curTextContent.replace(/\\n/g, wordDelimString + \"\\n\");\n      }\n      prepareText && (curTextContent = prepareText(curTextContent, element));\n      curNode.textContent = curTextContent;\n      words = wordDelimString || wordDelimSplitter ? curTextContent.split(wordDelimSplitter || wordDelimString) : curTextContent.match(charSplitRegEx) || _emptyArray;\n      lastWordText = words[words.length - 1];\n      endsWithSpace = wordDelimIsNotSpace ? lastWordText.slice(-1) === \" \" : !lastWordText;\n      lastWordText || words.pop();\n      lastBounds = elementBounds;\n      startsWithSpace = wordDelimIsNotSpace ? words[0].charAt(0) === \" \" : !words[0];\n      startsWithSpace && _insertNodeBefore(\" \", element, curNode);\n      words[0] || words.shift();\n      _stretchToFitSpecialChars(words, specialCharsRegEx);\n      deepSlice && isNested || (curNode.textContent = \"\");\n      for (j = 1; j <= words.length; j++) {\n        wordText = words[j - 1];\n        if (!reduceWhiteSpace && isPreformatted && wordText.charAt(0) === \"\\n\") {\n          (_a = curNode.previousSibling) == null ? void 0 : _a.remove();\n          _insertNodeBefore(document.createElement(\"br\"), element, curNode);\n          wordText = wordText.slice(1);\n        }\n        if (!reduceWhiteSpace && wordText === \"\") {\n          _insertNodeBefore(wordDelimString, element, curNode);\n        } else if (wordText === \" \") {\n          element.insertBefore(document.createTextNode(\" \"), curNode);\n        } else {\n          wordDelimIsNotSpace && wordText.charAt(0) === \" \" && _insertNodeBefore(\" \", element, curNode);\n          if (ignoredPreviousSibling && j === 1 && !startsWithSpace && wordsCollection.indexOf(ignoredPreviousSibling.parentNode) > -1) {\n            curWordEl = wordsCollection[wordsCollection.length - 1];\n            curWordEl.appendChild(document.createTextNode(charWrapper ? \"\" : wordText));\n          } else {\n            curWordEl = wordWrapper(charWrapper ? \"\" : wordText);\n            _insertNodeBefore(curWordEl, element, curNode);\n            ignoredPreviousSibling && j === 1 && !startsWithSpace && curWordEl.insertBefore(ignoredPreviousSibling, curWordEl.firstChild);\n          }\n          if (charWrapper) {\n            curWordChars = _charSegmenter ? _stretchToFitSpecialChars([..._charSegmenter.segment(wordText)].map((s) => s.segment), specialCharsRegEx) : wordText.match(charSplitRegEx) || _emptyArray;\n            if (specialCharsRegEx) {\n              let p = wordText.match(specialCharsRegEx);\n              p && p.some((s) => curWordChars.indexOf(s) < 0) && (curWordChars = wordText.match(charSplitRegEx) || _emptyArray);\n            }\n            for (k = 0; k < curWordChars.length; k++) {\n              curWordEl.appendChild(curWordChars[k] === \" \" ? document.createTextNode(\" \") : charWrapper(curWordChars[k]));\n            }\n          }\n          if (deepSlice && isNested) {\n            curTextContent = curNode.textContent = curTextContent.substring(wordText.length + 1, curTextContent.length);\n            bounds = curWordEl.getBoundingClientRect();\n            if (bounds.top > lastBounds.top && (rtl ? bounds.left >= lastBounds.left : bounds.left <= lastBounds.left)) {\n              clonedNode = element.cloneNode();\n              curSubNode = element.childNodes[0];\n              while (curSubNode && curSubNode !== curWordEl) {\n                tempSubNode = curSubNode;\n                curSubNode = curSubNode.nextSibling;\n                clonedNode.appendChild(tempSubNode);\n              }\n              element.parentNode.insertBefore(clonedNode, element);\n              prepForCharsOnly && _disallowInline(clonedNode);\n            }\n            lastBounds = bounds;\n          }\n          if (j < words.length || endsWithSpace) {\n            _insertNodeBefore(j >= words.length ? \" \" : wordDelimIsNotSpace && wordText.slice(-1) === \" \" ? \" \" + wordDelimString : wordDelimString, element, curNode);\n          }\n        }\n      }\n      element.removeChild(curNode);\n      ignoredPreviousSibling = 0;\n    } else if (curNode.nodeType === 1) {\n      if (ignore && ignore.indexOf(curNode) > -1) {\n        wordsCollection.indexOf(curNode.previousSibling) > -1 && wordsCollection[wordsCollection.length - 1].appendChild(curNode);\n        ignoredPreviousSibling = curNode;\n      } else {\n        _splitWordsAndCharsRecursively(curNode, config, wordWrapper, charWrapper, prepForCharsOnly, deepSlice, ignore, charSplitRegEx, specialCharsRegEx, true);\n        ignoredPreviousSibling = 0;\n      }\n      prepForCharsOnly && _disallowInline(curNode);\n    }\n  }\n};\nconst _SplitText = class _SplitText {\n  constructor(elements, config) {\n    this.isSplit = false;\n    _initIfNecessary();\n    this.elements = _elements(elements);\n    this.chars = [];\n    this.words = [];\n    this.lines = [];\n    this.masks = [];\n    this.vars = config;\n    this.elements.forEach((el) => {\n      var _a;\n      config.overwrite !== false && ((_a = el[_splitProp]) == null ? void 0 : _a._data.orig.filter(({ element }) => element === el).forEach(_revertOriginal));\n      el[_splitProp] = this;\n    });\n    this._split = () => this.isSplit && this.split(this.vars);\n    let orig = [], checkWidths = () => {\n      let i = orig.length, o;\n      while (i--) {\n        o = orig[i];\n        let w = o.element.offsetWidth;\n        if (w !== o.width) {\n          o.width = w;\n          this._split();\n          return;\n        }\n      }\n    };\n    this._data = { orig, obs: typeof ResizeObserver !== \"undefined\" && new ResizeObserver(() => {\n      clearTimeout(this._data.t);\n      this._data.t = setTimeout(checkWidths, 200);\n    }) };\n    _context(this);\n    this.split(config);\n  }\n  split(config) {\n    (this._ctx || _defaultContext).add(() => {\n      this.isSplit && this.revert();\n      this.vars = config = config || this.vars || {};\n      let { type = \"chars,words,lines\", aria = \"auto\", deepSlice = true, smartWrap, onSplit, autoSplit = false, specialChars, mask } = this.vars, splitLines = type.indexOf(\"lines\") > -1, splitCharacters = type.indexOf(\"chars\") > -1, splitWords = type.indexOf(\"words\") > -1, onlySplitCharacters = splitCharacters && !splitWords && !splitLines, specialCharsRegEx = specialChars && (\"push\" in specialChars ? new RegExp(\"(?:\" + specialChars.join(\"|\") + \")\", \"gu\") : specialChars), finalCharSplitRegEx = specialCharsRegEx ? new RegExp(specialCharsRegEx.source + \"|\" + _emojiSafeRegEx.source, \"gu\") : _emojiSafeRegEx, ignore = !!config.ignore && _elements(config.ignore), { orig, animTime, obs } = this._data, onSplitResult;\n      if (splitCharacters || splitWords || splitLines) {\n        this.elements.forEach((element, index) => {\n          orig[index] = {\n            element,\n            html: element.innerHTML,\n            ariaL: element.getAttribute(\"aria-label\"),\n            ariaH: element.getAttribute(\"aria-hidden\")\n          };\n          aria === \"auto\" ? element.setAttribute(\"aria-label\", (element.textContent || \"\").trim()) : aria === \"hidden\" && element.setAttribute(\"aria-hidden\", \"true\");\n          let chars = [], words = [], lines = [], charWrapper = splitCharacters ? _getWrapper(\"char\", config, chars) : null, wordWrapper = _getWrapper(\"word\", config, words), i, curWord, smartWrapSpan, nextSibling;\n          _splitWordsAndCharsRecursively(element, config, wordWrapper, charWrapper, onlySplitCharacters, deepSlice && (splitLines || onlySplitCharacters), ignore, finalCharSplitRegEx, specialCharsRegEx, false);\n          if (splitLines) {\n            let nodes = _toArray(element.childNodes), wrapLine = _getLineWrapper(element, nodes, config, lines), curNode, toRemove = [], lineStartIndex = 0, rtl = window.getComputedStyle(element).direction === \"rtl\", allBounds = nodes.map((n) => n.nodeType === 1 ? n.getBoundingClientRect() : _emptyBounds), lastBounds = _emptyBounds, curBounds;\n            for (i = 0; i < nodes.length; i++) {\n              curNode = nodes[i];\n              if (curNode.nodeType === 1) {\n                if (curNode.nodeName === \"BR\") {\n                  if (!i || nodes[i - 1].nodeName !== \"BR\") {\n                    toRemove.push(curNode);\n                    wrapLine(lineStartIndex, i + 1);\n                  }\n                  lineStartIndex = i + 1;\n                  lastBounds = _findNextValidBounds(allBounds, i);\n                } else {\n                  curBounds = allBounds[i];\n                  if (i && curBounds.top > lastBounds.top && (rtl ? curBounds.left + curBounds.width > lastBounds.left + 1 : curBounds.left < lastBounds.left + lastBounds.width - 1)) {\n                    wrapLine(lineStartIndex, i);\n                    lineStartIndex = i;\n                  }\n                  lastBounds = curBounds;\n                }\n              }\n            }\n            lineStartIndex < i && wrapLine(lineStartIndex, i);\n            toRemove.forEach((el) => {\n              var _a;\n              return (_a = el.parentNode) == null ? void 0 : _a.removeChild(el);\n            });\n          }\n          if (!splitWords) {\n            for (i = 0; i < words.length; i++) {\n              curWord = words[i];\n              if (splitCharacters || !curWord.nextSibling || curWord.nextSibling.nodeType !== 3) {\n                if (smartWrap && !splitLines) {\n                  smartWrapSpan = document.createElement(\"span\");\n                  smartWrapSpan.style.whiteSpace = \"nowrap\";\n                  while (curWord.firstChild) {\n                    smartWrapSpan.appendChild(curWord.firstChild);\n                  }\n                  curWord.replaceWith(smartWrapSpan);\n                } else {\n                  curWord.replaceWith(...curWord.childNodes);\n                }\n              } else {\n                nextSibling = curWord.nextSibling;\n                if (nextSibling && nextSibling.nodeType === 3) {\n                  nextSibling.textContent = (curWord.textContent || \"\") + (nextSibling.textContent || \"\");\n                  curWord.remove();\n                }\n              }\n            }\n            words.length = 0;\n            element.normalize();\n          }\n          this.lines.push(...lines);\n          this.words.push(...words);\n          this.chars.push(...chars);\n        });\n        mask && this[mask] && this.masks.push(...this[mask].map((el) => {\n          let maskEl = el.cloneNode();\n          el.replaceWith(maskEl);\n          maskEl.appendChild(el);\n          el.className && (maskEl.className = el.className.trim().split(\" \").map((s) => s + \"-mask\").join(\" \"));\n          maskEl.style.overflow = \"clip\";\n          maskEl.style.verticalAlign = \"top\";\n          return maskEl;\n        }));\n      }\n      this.isSplit = true;\n      _fonts && splitLines && autoSplit && _fonts.addEventListener(\"loadingdone\", this._split);\n      if ((onSplitResult = onSplit && onSplit(this)) && onSplitResult.totalTime) {\n        this._data.anim = animTime ? onSplitResult.totalTime(animTime) : onSplitResult;\n      }\n      splitLines && autoSplit && this.elements.forEach((element, index) => {\n        orig[index].width = element.offsetWidth;\n        obs && obs.observe(element);\n      });\n    });\n    return this;\n  }\n  kill() {\n    let { obs, t } = this._data;\n    obs && obs.disconnect();\n    clearTimeout(t);\n    _fonts == null ? void 0 : _fonts.removeEventListener(\"loadingdone\", this._split);\n  }\n  revert() {\n    var _a, _b;\n    if (this.isSplit) {\n      let { orig, anim } = this._data;\n      this.kill();\n      orig.forEach(_revertOriginal);\n      this.chars.length = this.words.length = this.lines.length = orig.length = this.masks.length = 0;\n      this.isSplit = false;\n      if (anim) {\n        this._data.animTime = anim.totalTime();\n        anim.revert();\n      }\n      (_b = (_a = this.vars).onRevert) == null ? void 0 : _b.call(_a, this);\n    }\n    return this;\n  }\n  static create(elements, config) {\n    return new _SplitText(elements, config);\n  }\n  static register(core) {\n    gsap = gsap || core || window.gsap;\n    if (gsap) {\n      _toArray = gsap.utils.toArray;\n      _context = gsap.core.context || _context;\n    }\n    if (!_coreInitted && window.innerWidth > 0) {\n      _fonts = document.fonts;\n      _coreInitted = true;\n    }\n  }\n};\n_SplitText.version = \"3.15.1\";\nlet SplitText = _SplitText;\nexport {\n  SplitText,\n  SplitText as default\n};\n"]}