function _objectSpread(c){for(var e=1;e
', trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},n={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},k=function(){function e(b,a){if("undefined"===typeof Popper)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)"); this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=b;this.config=this._getConfig(a);this.tip=null;this._setListeners()}var f=e.prototype;f.enable=function(){this._isEnabled=!0};f.disable=function(){this._isEnabled=!1};f.toggleEnabled=function(){this._isEnabled=!this._isEnabled};f.toggle=function(b){if(this._isEnabled)if(b){var a=this.constructor.DATA_KEY,d=c(b.currentTarget).data(a);d||(d=new this.constructor(b.currentTarget,this._getDelegateConfig()), c(b.currentTarget).data(a,d));d._activeTrigger.click=!d._activeTrigger.click;d._isWithActiveTrigger()?d._enter(null,d):d._leave(null,d)}else c(this.getTipElement()).hasClass("show")?this._leave(null,this):this._enter(null,this)};f.dispose=function(){clearTimeout(this._timeout);c.removeData(this.element,this.constructor.DATA_KEY);c(this.element).off(this.constructor.EVENT_KEY);c(this.element).closest(".modal").off("hide.bs.modal");this.tip&&c(this.tip).remove();this._activeTrigger=this._hoverState= this._timeout=this._isEnabled=null;null!==this._popper&&this._popper.destroy();this.tip=this.config=this.element=this._popper=null};f.show=function(){var b=this;if("none"===c(this.element).css("display"))throw Error("Please use show on visible elements");var a=c.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){c(this.element).trigger(a);var d=c.contains(this.element.ownerDocument.documentElement,this.element);if(!a.isDefaultPrevented()&&d){a=this.getTipElement();d=Util.getUID(this.constructor.NAME); a.setAttribute("id",d);this.element.setAttribute("aria-describedby",d);this.setContent();this.config.animation&&c(a).addClass("fade");d="function"===typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement;d=this._getAttachment(d);this.addAttachmentClass(d);var e=!1===this.config.container?document.body:c(this.config.container);c(a).data(this.constructor.DATA_KEY,this);c.contains(this.element.ownerDocument.documentElement,this.tip)||c(a).appendTo(e);c(this.element).trigger(this.constructor.Event.INSERTED); this._popper=new Popper(this.element,a,{placement:d,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(a){a.originalPlacement!==a.placement&&b._handlePopperPlacementChange(a)},onUpdate:function(a){b._handlePopperPlacementChange(a)}});c(a).addClass("show");if("ontouchstart"in document.documentElement)c(document.body).children().on("mouseover",null,c.noop);a= function(){b.config.animation&&b._fixTransition();var a=b._hoverState;b._hoverState=null;c(b.element).trigger(b.constructor.Event.SHOWN);"out"===a&&b._leave(null,b)};c(this.tip).hasClass("fade")?(d=Util.getTransitionDurationFromElement(this.tip),c(this.tip).one(Util.TRANSITION_END,a).emulateTransitionEnd(d)):a()}}};f.hide=function(b){var a=this,d=this.getTipElement(),e=c.Event(this.constructor.Event.HIDE),f=function(){"show"!==a._hoverState&&d.parentNode&&d.parentNode.removeChild(d);a._cleanTipClass(); a.element.removeAttribute("aria-describedby");c(a.element).trigger(a.constructor.Event.HIDDEN);null!==a._popper&&a._popper.destroy();b&&b()};c(this.element).trigger(e);e.isDefaultPrevented()||(c(d).removeClass("show"),"ontouchstart"in document.documentElement&&c(document.body).children().off("mouseover",null,c.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,c(this.tip).hasClass("fade")?(e=Util.getTransitionDurationFromElement(d),c(d).one(Util.TRANSITION_END, f).emulateTransitionEnd(e)):f(),this._hoverState="")};f.update=function(){null!==this._popper&&this._popper.scheduleUpdate()};f.isWithContent=function(){return!!this.getTitle()};f.addAttachmentClass=function(b){c(this.getTipElement()).addClass("bs-tooltip-"+b)};f.getTipElement=function(){return this.tip=this.tip||c(this.config.template)[0]};f.setContent=function(){var b=c(this.getTipElement());this.setElementContent(b.find(".tooltip-inner"),this.getTitle());b.removeClass("fade show")};f.setElementContent= function(b,a){var d=this.config.html;if("object"===typeof a&&(a.nodeType||a.jquery))d?c(a).parent().is(b)||b.empty().append(a):b.text(c(a).text());else b[d?"html":"text"](a)};f.getTitle=function(){var b=this.element.getAttribute("data-original-title");b||(b="function"===typeof this.config.title?this.config.title.call(this.element):this.config.title);return b};f._getAttachment=function(b){return l[b.toUpperCase()]};f._setListeners=function(){var b=this;this.config.trigger.split(" ").forEach(function(a){if("click"=== a)c(b.element).on(b.constructor.Event.CLICK,b.config.selector,function(a){return b.toggle(a)});else if("manual"!==a){var d="hover"===a?b.constructor.Event.MOUSEENTER:b.constructor.Event.FOCUSIN;a="hover"===a?b.constructor.Event.MOUSELEAVE:b.constructor.Event.FOCUSOUT;c(b.element).on(d,b.config.selector,function(a){return b._enter(a)}).on(a,b.config.selector,function(a){return b._leave(a)})}c(b.element).closest(".modal").on("hide.bs.modal",function(){return b.hide()})});this.config.selector?this.config= _objectSpread({},this.config,{trigger:"manual",selector:""}):this._fixTitle()};f._fixTitle=function(){var b=typeof this.element.getAttribute("data-original-title");if(this.element.getAttribute("title")||"string"!==b)this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title","")};f._enter=function(b,a){var d=this.constructor.DATA_KEY;a=a||c(b.currentTarget).data(d);a||(a=new this.constructor(b.currentTarget,this._getDelegateConfig()),c(b.currentTarget).data(d, a));b&&(a._activeTrigger["focusin"===b.type?"focus":"hover"]=!0);c(a.getTipElement()).hasClass("show")||"show"===a._hoverState?a._hoverState="show":(clearTimeout(a._timeout),a._hoverState="show",a.config.delay&&a.config.delay.show?a._timeout=setTimeout(function(){"show"===a._hoverState&&a.show()},a.config.delay.show):a.show())};f._leave=function(b,a){var d=this.constructor.DATA_KEY;a=a||c(b.currentTarget).data(d);a||(a=new this.constructor(b.currentTarget,this._getDelegateConfig()),c(b.currentTarget).data(d, a));b&&(a._activeTrigger["focusout"===b.type?"focus":"hover"]=!1);a._isWithActiveTrigger()||(clearTimeout(a._timeout),a._hoverState="out",a.config.delay&&a.config.delay.hide?a._timeout=setTimeout(function(){"out"===a._hoverState&&a.hide()},a.config.delay.hide):a.hide())};f._isWithActiveTrigger=function(){for(var b in this._activeTrigger)if(this._activeTrigger[b])return!0;return!1};f._getConfig=function(b){b=_objectSpread({},this.constructor.Default,c(this.element).data(),"object"===typeof b&&b?b: {});"number"===typeof b.delay&&(b.delay={show:b.delay,hide:b.delay});"number"===typeof b.title&&(b.title=b.title.toString());"number"===typeof b.content&&(b.content=b.content.toString());Util.typeCheckConfig("tooltip",b,this.constructor.DefaultType);return b};f._getDelegateConfig=function(){var b={};if(this.config)for(var a in this.config)this.constructor.Default[a]!==this.config[a]&&(b[a]=this.config[a]);return b};f._cleanTipClass=function(){var b=c(this.getTipElement()),a=b.attr("class").match(g); null!==a&&0