AUI.add("liferay-autocomplete-input-caretoffset-sel",(e=>{const t=e.Lang,o=e.config.doc,n=function AutcompleteInputCaretOffset(){};n.prototype={_getCaretOffset(e){(e=e||this.get("inputNode")).focus();const n=o.selection.createRange(),a=e.getXY();return{x:n.boundingLeft-a[0],y:t.toInt(n.boundingTop)-a[1]+e.get("scrollTop")+o.documentElement.scrollTop}}},e.Base.mix(Liferay.AutoCompleteTextarea,[n])}),"",{requires:["liferay-autocomplete-textarea"]});
//# sourceMappingURL=autocomplete_input_caretoffset_sel.js.map