function _defineProperties(b,a){for(var c=0;c

'}),h=_objectSpread({},Tooltip.DefaultType,{content:"(string|element|function)"}),k={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover", CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},g=function(a){function e(){return a.apply(this,arguments)||this}_inheritsLoose(e,a);var f=e.prototype;f.isWithContent=function(){return this.getTitle()||this._getContent()};f.addAttachmentClass=function(a){b(this.getTipElement()).addClass("bs-popover-"+a)};f.getTipElement=function(){return this.tip=this.tip||b(this.config.template)[0]};f.setContent= function(){var a=b(this.getTipElement());this.setElementContent(a.find(".popover-header"),this.getTitle());var c=this._getContent();"function"===typeof c&&(c=c.call(this.element));this.setElementContent(a.find(".popover-body"),c);a.removeClass("fade show")};f._getContent=function(){return this.element.getAttribute("data-content")||this.config.content};f._cleanTipClass=function(){var a=b(this.getTipElement()),d=a.attr("class").match(c);null!==d&&0