!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,n){"use strict";function i(t,e){for(var n=0;nthis._items.length-1||t<0))if(this._isSliding)A(this._element).one(L.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();this._slide(ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!(Rt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(jt={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"},Mt="out",xt={HIDE:"hide"+Ot,HIDDEN:"hidden"+Ot,SHOW:(Wt="show")+Ot,SHOWN:"shown"+Ot,INSERTED:"inserted"+Ot,CLICK:"click"+Ot,FOCUSIN:"focusin"+Ot,FOCUSOUT:"focusout"+Ot,MOUSEENTER:"mouseenter"+Ot,MOUSELEAVE:"mouseleave"+Ot},Ut="fade",Kt="show",Ft="hover",Vt="focus",Qt=function(){function t(t,e){if(void 0===n)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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=St(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),St(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(St(this.getTipElement()).hasClass(Kt))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),St.removeData(this.element,this.constructor.DATA_KEY),St(this.element).off(this.constructor.EVENT_KEY),St(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&St(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"===St(this.element).css("display"))throw new Error("Please use show on visible elements");var e=St.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){St(this.element).trigger(e);var i=St.contains(this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var r=this.getTipElement(),s=Ae.getUID(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&St(r).addClass(Ut);var o="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,a=this._getAttachment(o);this.addAttachmentClass(a);var l=!1===this.config.container?document.body:St(this.config.container);St(r).data(this.constructor.DATA_KEY,this),St.contains(this.element.ownerDocument.documentElement,this.tip)||St(r).appendTo(l),St(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,r,{placement:a,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),St(r).addClass(Kt),"ontouchstart"in document.documentElement&&St(document.body).children().on("mouseover",null,St.noop);var h=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,St(t.element).trigger(t.constructor.Event.SHOWN),e===Mt&&t._leave(null,t)};if(St(this.tip).hasClass(Ut)){var c=Ae.getTransitionDurationFromElement(this.tip);St(this.tip).one(Ae.TRANSITION_END,h).emulateTransitionEnd(c)}else h()}},e.hide=function(t){var e=this,n=this.getTipElement(),i=St.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==Wt&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),St(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(St(this.element).trigger(i),!i.isDefaultPrevented()){if(St(n).removeClass(Kt),"ontouchstart"in document.documentElement&&St(document.body).children().off("mouseover",null,St.noop),this._activeTrigger.click=!1,this._activeTrigger[Vt]=!1,this._activeTrigger[Ft]=!1,St(this.tip).hasClass(Ut)){var s=Ae.getTransitionDurationFromElement(n);St(n).one(Ae.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){St(this.getTipElement()).addClass(Pt+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||St(this.config.template)[0],this.tip},e.setContent=function(){var t=St(this.getTipElement());this.setElementContent(t.find(".tooltip-inner"),this.getTitle()),t.removeClass(Ut+" "+Kt)},e.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?St(e).parent().is(t)||t.empty().append(e):t.text(St(e).text()):t[n?"html":"text"](e)},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getAttachment=function(t){return Rt[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)St(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if("manual"!==e){var n=e===Ft?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===Ft?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;St(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}St(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||St(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),St(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Vt:Ft]=!0),St(e.getTipElement()).hasClass(Kt)||e._hoverState===Wt?e._hoverState=Wt:(clearTimeout(e._timeout),e._hoverState=Wt,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Wt&&e.show()},e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||St(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),St(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Vt:Ft]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Mt,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===Mt&&e.hide()},e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){return"number"==typeof(t=s({},this.constructor.Default,St(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),Ae.typeCheckConfig(wt,t,this.constructor.DefaultType),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=St(this.getTipElement()),e=t.attr("class").match(Lt);null!==e&&0

'}),$t=s({},ke.DefaultType,{content:"(string|element|function)"}),te={HIDE:"hide"+qt,HIDDEN:"hidden"+qt,SHOW:"show"+qt,SHOWN:"shown"+qt,INSERTED:"inserted"+qt,CLICK:"click"+qt,FOCUSIN:"focusin"+qt,FOCUSOUT:"focusout"+qt,MOUSEENTER:"mouseenter"+qt,MOUSELEAVE:"mouseleave"+qt},ee=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var s=i.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){Bt(this.getTipElement()).addClass(Xt+"-"+t)},s.getTipElement=function(){return this.tip=this.tip||Bt(this.config.template)[0],this.tip},s.setContent=function(){var t=Bt(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=Bt(this.getTipElement()),e=t.attr("class").match(Jt);null!==e&&0=this._offsets[r]&&(void 0===this._offsets[r+1]||t li > .active",Ie=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&_e(this._element).hasClass(Ee)||_e(this._element).hasClass("disabled"))){var e,n,i=_e(this._element).closest(".nav, .list-group")[0],r=Ae.getSelectorFromElement(this._element);if(i){var s="UL"===i.nodeName?Ce:ye;n=(n=_e.makeArray(_e(i).find(s)))[n.length-1]}var o=_e.Event(ve.HIDE,{relatedTarget:this._element}),a=_e.Event(ve.SHOW,{relatedTarget:n});if(n&&_e(n).trigger(o),_e(this._element).trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){r&&(e=_e(r)[0]),this._activate(this._element,i);var l=function(){var e=_e.Event(ve.HIDDEN,{relatedTarget:t._element}),i=_e.Event(ve.SHOWN,{relatedTarget:n});_e(n).trigger(e),_e(t._element).trigger(i)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function(){_e.removeData(this._element,ge),this._element=null},e._activate=function(t,e,n){var i=this,r=("UL"===e.nodeName?_e(e).find(Ce):_e(e).children(ye))[0],s=n&&r&&_e(r).hasClass("fade"),o=function(){return i._transitionComplete(t,r,n)};if(r&&s){var a=Ae.getTransitionDurationFromElement(r);_e(r).one(Ae.TRANSITION_END,o).emulateTransitionEnd(a)}else o()},e._transitionComplete=function(t,e,n){if(e){_e(e).removeClass(Te+" "+Ee);var i=_e(e.parentNode).find("> .dropdown-menu .active")[0];i&&_e(i).removeClass(Ee),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(_e(t).addClass(Ee),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),Ae.reflow(t),_e(t).addClass(Te),t.parentNode&&_e(t.parentNode).hasClass("dropdown-menu")){var r=_e(t).closest(".dropdown")[0];r&&_e(r).find(".dropdown-toggle").addClass(Ee),t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each(function(){var n=_e(this),i=n.data(ge);if(i||(i=new t(this),n.data(ge,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),t}(),_e(document).on(ve.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),Ie._jQueryInterface.call(_e(this),"show")}),_e.fn.tab=Ie._jQueryInterface,_e.fn.tab.Constructor=Ie,_e.fn.tab.noConflict=function(){return _e.fn.tab=pe,Ie._jQueryInterface},Ie);!function(t){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=Ae,t.Alert=De,t.Button=be,t.Carousel=Se,t.Collapse=we,t.Dropdown=Ne,t.Modal=Oe,t.Popover=Pe,t.Scrollspy=Le,t.Tab=je,t.Tooltip=ke,Object.defineProperty(t,"__esModule",{value:!0})});