{"version":3,"sources":["dist/tribute.js"],"names":["f","exports","module","define","amd","g","window","global","self","this","Tribute","e","t","n","r","s","o","u","a","require","i","Error","code","l","call","length","1","_interopRequireDefault","obj","__esModule","default","_classCallCheck","instance","Constructor","TypeError","Object","defineProperty","value","_createClass","defineProperties","target","props","descriptor","enumerable","configurable","writable","key","protoProps","staticProps","prototype","_TributeEvents","_TributeEvents2","_TributeMenuEvents","_TributeMenuEvents2","_TributeRange","_TributeRange2","_TributeSearch","_TributeSearch2","_ref","_this","_ref$values","values","undefined","_ref$iframe","iframe","_ref$selectClass","selectClass","_ref$trigger","trigger","_ref$selectTemplate","selectTemplate","_ref$menuItemTemplate","menuItemTemplate","_ref$lookup","lookup","_ref$fillAttr","fillAttr","_ref$collection","collection","_ref$menuContainer","menuContainer","_ref$noMatchTemplate","noMatchTemplate","_ref$requireLeadingSp","requireLeadingSpace","_ref$allowSpaces","allowSpaces","menuSelected","current","inputEvent","isActive","defaultSelectTemplate","bind","defaultMenuItemTemplate","map","item","config","el","jQuery","get","constructor","NodeList","HTMLCollection","Array","_attach","hasAttribute","console","warn","nodeName","ensureEditable","events","setAttribute","element","inputTypes","indexOf","contentEditable","wrapper","range","getDocument","createElement","ul","className","appendChild","body","scrollTo","_this2","mentionText","currentMentionTextSnapshot","menu","createMenu","menuEvents","processValues","items","search","filter","pre","post","extract","filteredItems","querySelector","noMatchEvent","CustomEvent","detail","dispatchEvent","innerHTML","hideMenu","forEach","index","li","addEventListener","getAttribute","setActiveLi","positionMenuAtCaret","style","cssText","parseInt","content","replaceText","replaceTriggerText","newValues","replace","concat","collectionIndex","_append","isContentEditable","original","matchItem","string","./TributeEvents","./TributeMenuEvents","./TributeRange","./TributeSearch","./utils","2","_typeof","Symbol","iterator","TributeEvents","tribute","keydown","keyup","input","event","shouldDeactivate","commandEvent","keys","keyCode","callbacks","toLowerCase","contains","parentNode","selectItemAtIndex","updateSelection","_ret","getKeyCode","isNaN","v","triggers","find","charCodeAt","triggerChar","showMenuFor","eventKeyPressed","info","getTriggerInfo","mentionTriggerChar","selectedPath","mentionSelectedPath","selectedOffset","mentionSelectedOffset","collectionItem","enter","preventDefault","setTimeout","escape","tab","up","count","selected","down","delete","lis","querySelectorAll","menuFullHeight","getFullHeight","liHeight","offset","scrollTop","totalScroll","elem","includeMargin","height","getBoundingClientRect","currentStyle","getComputedStyle","parseFloat","marginTop","marginBottom","3","TributeMenuEvents","click","debounce","onscroll","func","wait","immediate","timeout","_arguments","arguments","context","args","later","apply","callNow","clearTimeout","4","TributeRange","contentWindow","document","coordinates","getContentEditableCaretPosition","mentionPosition","getTextAreaOrInputUnderlinePosition","activeElement","top","left","scrollIntoView","targetElement","path","childNodes","nextSibling","previousSibling","sel","getWindowSelection","createRange","setStart","setEnd","collapse","removeAllRanges","error","addRange","focus","selectElement","text","hasTrailingSpace","resetSelection","replaceEvent","pasteHtml","myField","startPos","endPos","substring","selectionStart","selectionEnd","html","anchorNode","deleteContents","frag","createDocumentFragment","node","lastNode","firstChild","insertNode","cloneRange","setStartAfter","getSelection","ce","getNodePositionInParent","push","reverse","getRangeAt","startOffset","selectedElem","workingNodeContent","textContent","selectStartOffset","textComponent","menuAlreadyActive","ctx","selectionInfo","getContentEditableSelectedPath","effectiveRange","getTextPrecedingCurrentSelection","mostRecentTriggerCharPos","c","idx","lastIndexWithLeadingSpace","lastIndexOf","test","currentTriggerSnippet","firstSnippetChar","leadingSpace","trim","regex","mentionSelectedElement","str","char","reversedStr","split","join","cidx","len","firstChar","match","position","properties","isFirefox","mozInnerScreenX","div","id","computed","whiteSpace","wordWrap","visibility","prop","width","scrollHeight","overflowY","overflow","span","rect","doc","documentElement","windowLeft","pageXOffset","scrollLeft","clientLeft","windowTop","pageYOffset","clientTop","offsetTop","borderTopWidth","fontSize","offsetLeft","borderLeftWidth","removeChild","selectedNodePosition","markerTextChar","markerEl","markerId","Date","getTime","Math","random","toString","substr","prevRange","createTextNode","offsetHeight","reasonableBuffer","clientRect","maxScrollDisplacement","elemTop","elemBottom","innerHeight","maxY","targetY","5","TributeSearch","pattern","array","opts","compareString","caseSensitive","patternCache","traverse","rendered","render","cache","score","stringIndex","patternIndex","calculateScore","slice","best","temp","pop","indices","arr","reduce","prev","sort","b","compare","6","_Tribute","_Tribute2","./Tribute","7","predicate","list","thisArg","params","bubbles","cancelable","evt","createEvent","initCustomEvent","Event"],"mappings":"CAAA,SAAUA,GAAG,GAAoB,gBAAVC,UAAoC,mBAATC,QAAsBA,OAAOD,QAAQD,QAAS,IAAmB,kBAATG,SAAqBA,OAAOC,IAAKD,UAAUH,OAAO,CAAC,GAAIK,EAAkCA,GAAb,mBAATC,QAAwBA,OAA+B,mBAATC,QAAwBA,OAA6B,mBAAPC,MAAsBA,KAAYC,KAAKJ,EAAEK,QAAUV,MAAO,WAAqC,MAAO,SAAUW,GAAEC,EAAEC,EAAEC,GAAG,QAASC,GAAEC,EAAEC,GAAG,IAAIJ,EAAEG,GAAG,CAAC,IAAIJ,EAAEI,GAAG,CAAC,GAAIE,GAAkB,kBAATC,UAAqBA,OAAQ,KAAIF,GAAGC,EAAE,MAAOA,GAAEF,GAAE,EAAI,IAAGI,EAAE,MAAOA,GAAEJ,GAAE,EAAI,IAAIhB,GAAE,GAAIqB,OAAM,uBAAuBL,EAAE,IAAK,MAAMhB,GAAEsB,KAAK,mBAAmBtB,EAAE,GAAIuB,GAAEV,EAAEG,IAAIf,WAAYW,GAAEI,GAAG,GAAGQ,KAAKD,EAAEtB,QAAQ,SAASU,GAAG,GAAIE,GAAED,EAAEI,GAAG,GAAGL,EAAG,OAAOI,GAAEF,EAAEA,EAAEF,IAAIY,EAAEA,EAAEtB,QAAQU,EAAEC,EAAEC,EAAEC,GAAG,MAAOD,GAAEG,GAAGf,QAAkD,IAAI,GAA1CmB,GAAkB,kBAATD,UAAqBA,QAAgBH,EAAE,EAAEA,EAAEF,EAAEW,OAAOT,IAAID,EAAED,EAAEE,GAAI,OAAOD,KAAKW,GAAG,SAASP,EAAQjB,EAAOD,GACt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