/*! * Bootstrap v4.1.3 (https://getbootstrap.com/) * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(e.bootstrap={},e.jQuery,e.Popper)}(this,function(e,t,h){"use strict";function i(e,t){for(var n=0;ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right
',trigger:"hover focus",title:"",delay:0,html:!(we={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Se={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},Ie="out",Ne={HIDE:"hide"+Ee,HIDDEN:"hidden"+Ee,SHOW:(Ae="show")+Ee,SHOWN:"shown"+Ee,INSERTED:"inserted"+Ee,CLICK:"click"+Ee,FOCUSIN:"focusin"+Ee,FOCUSOUT:"focusout"+Ee,MOUSEENTER:"mouseenter"+Ee,MOUSELEAVE:"mouseleave"+Ee},ke="fade",Oe="show",Pe=".tooltip-inner",je=".arrow",We="hover",He="focus",Re="click",Fe="manual",Me=function(){function i(e,t){if("undefined"==typeof h)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=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=i.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=_e(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),_e(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(_e(this.getTipElement()).hasClass(Oe))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),_e.removeData(this.element,this.constructor.DATA_KEY),_e(this.element).off(this.constructor.EVENT_KEY),_e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&_e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===_e(this.element).css("display"))throw new Error("Please use show on visible elements");var e=_e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){_e(this.element).trigger(e);var n=_e.contains(this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var i=this.getTipElement(),o=Ke.getUID(this.constructor.NAME);i.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&_e(i).addClass(ke);var r="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(r);this.addAttachmentClass(s);var a=!1===this.config.container?document.body:_e(document).find(this.config.container);_e(i).data(this.constructor.DATA_KEY,this),_e.contains(this.element.ownerDocument.documentElement,this.tip)||_e(i).appendTo(a),_e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new h(this.element,i,{placement:s,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:je},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),_e(i).addClass(Oe),"ontouchstart"in document.documentElement&&_e(document.body).children().on("mouseover",null,_e.noop);var l=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,_e(t.element).trigger(t.constructor.Event.SHOWN),e===Ie&&t._leave(null,t)};if(_e(this.tip).hasClass(ke)){var c=Ke.getTransitionDurationFromElement(this.tip);_e(this.tip).one(Ke.TRANSITION_END,l).emulateTransitionEnd(c)}else l()}},e.hide=function(e){var t=this,n=this.getTipElement(),i=_e.Event(this.constructor.Event.HIDE),o=function(){t._hoverState!==Ae&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),_e(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(_e(this.element).trigger(i),!i.isDefaultPrevented()){if(_e(n).removeClass(Oe),"ontouchstart"in document.documentElement&&_e(document.body).children().off("mouseover",null,_e.noop),this._activeTrigger[Re]=!1,this._activeTrigger[He]=!1,this._activeTrigger[We]=!1,_e(this.tip).hasClass(ke)){var r=Ke.getTransitionDurationFromElement(n);_e(n).one(Ke.TRANSITION_END,o).emulateTransitionEnd(r)}else o();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){_e(this.getTipElement()).addClass(Te+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||_e(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(_e(e.querySelectorAll(Pe)),this.getTitle()),_e(e).removeClass(ke+" "+Oe)},e.setElementContent=function(e,t){var n=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?n?_e(t).parent().is(e)||e.empty().append(t):e.text(_e(t).text()):e[n?"html":"text"](t)},e.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},e._getAttachment=function(e){return we[e.toUpperCase()]},e._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)_e(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if(e!==Fe){var t=e===We?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===We?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;_e(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}_e(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||_e(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),_e(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?He:We]=!0),_e(t.getTipElement()).hasClass(Oe)||t._hoverState===Ae?t._hoverState=Ae:(clearTimeout(t._timeout),t._hoverState=Ae,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===Ae&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||_e(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),_e(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?He:We]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Ie,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===Ie&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){return"number"==typeof(e=s({},this.constructor.Default,_e(this.element).data(),"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),Ke.typeCheckConfig(ve,e,this.constructor.DefaultType),e},e._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function(){var e=_e(this.getTipElement()),t=e.attr("class").match(Ce);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(_e(e).removeClass(ke),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._jQueryInterface=function(n){return this.each(function(){var e=_e(this).data(ye),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),_e(this).data(ye,e)),"string"==typeof n)){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},n(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return De}},{key:"NAME",get:function(){return ve}},{key:"DATA_KEY",get:function(){return ye}},{key:"Event",get:function(){return Ne}},{key:"EVENT_KEY",get:function(){return Ee}},{key:"DefaultType",get:function(){return Se}}]),i}(),_e.fn[ve]=Me._jQueryInterface,_e.fn[ve].Constructor=Me,_e.fn[ve].noConflict=function(){return _e.fn[ve]=be,Me._jQueryInterface},Me);!function(e){if("undefined"==typeof e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),e.Util=Ke,e.Collapse=Ue,e.Dropdown=qe,e.Modal=xe,e.Tooltip=Be,Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=bootstrap-slim.min.js.map