!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=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,g,u){"use strict";function i(t,e){for(var n=0;nthis._items.length-1||t<0))if(this._isSliding)g(this._element).one("slid.bs.carousel",function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},B._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},B._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},ot={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"},st=(($=rt.prototype).enable=function(){this._isEnabled=!0},$.disable=function(){this._isEnabled=!1},$.toggleEnabled=function(){this._isEnabled=!this._isEnabled},$.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=g(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(g(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},$.dispose=function(){clearTimeout(this._timeout),g.removeData(this.element,this.constructor.DATA_KEY),g(this.element).off(this.constructor.EVENT_KEY),g(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&g(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},$.show=function(){var e=this;if("none"===g(this.element).css("display"))throw new Error("Please use show on visible elements");var t=g.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){g(this.element).trigger(t);var n=m.findShadowRoot(this.element),i=g.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var o=this.getTipElement(),s=m.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&g(o).addClass("fade");var r="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(r);this.addAttachmentClass(a);var l=this._getContainer();g(o).data(this.constructor.DATA_KEY,this),g.contains(this.element.ownerDocument.documentElement,this.tip)||g(o).appendTo(l),g(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new u(this.element,o,this._getPopperConfig(a)),g(o).addClass("show"),"ontouchstart"in document.documentElement&&g(document.body).children().on("mouseover",null,g.noop);var c,h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,g(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};g(this.tip).hasClass("fade")?(c=m.getTransitionDurationFromElement(this.tip),g(this.tip).one(m.TRANSITION_END,h).emulateTransitionEnd(c)):h()}},$.hide=function(t){function e(){"show"!==i._hoverState&&o.parentNode&&o.parentNode.removeChild(o),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),g(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var n,i=this,o=this.getTipElement(),s=g.Event(this.constructor.Event.HIDE);g(this.element).trigger(s),s.isDefaultPrevented()||(g(o).removeClass("show"),"ontouchstart"in document.documentElement&&g(document.body).children().off("mouseover",null,g.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,g(this.tip).hasClass("fade")?(n=m.getTransitionDurationFromElement(o),g(o).one(m.TRANSITION_END,e).emulateTransitionEnd(n)):e(),this._hoverState="")},$.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},$.isWithContent=function(){return Boolean(this.getTitle())},$.addAttachmentClass=function(t){g(this.getTipElement()).addClass("bs-tooltip-"+t)},$.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},$.setContent=function(){var t=this.getTipElement();this.setElementContent(g(t.querySelectorAll(".tooltip-inner")),this.getTitle()),g(t).removeClass("fade show")},$.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Y(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?g(e).parent().is(t)||t.empty().append(e):t.text(g(e).text())},$.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},$._getPopperConfig=function(t){var e=this;return r(r({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),this.config.popperConfig)},$._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=r(r({},t.offsets),e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},$._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?g(this.config.container):g(document).find(this.config.container)},$._getAttachment=function(t){return nt[t.toUpperCase()]},$._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){var e,n;"click"===t?g(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)}):"manual"!==t&&(e="hover"===t?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n="hover"===t?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT,g(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)}))}),this._hideModalHandler=function(){i.element&&i.hide()},g(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=r(r({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},$._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",""))},$._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||g(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),g(e.getTipElement()).hasClass("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){"show"===e._hoverState&&e.show()},e.config.delay.show):e.show())},$._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||g(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},$._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},$._getConfig=function(t){var e=g(this.element).data();return Object.keys(e).forEach(function(t){-1!==tt.indexOf(t)&&delete e[t]}),"number"==typeof(t=r(r(r({},this.constructor.Default),e),"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()),m.typeCheckConfig(J,t,this.constructor.DefaultType),t.sanitize&&(t.template=Y(t.template,t.whiteList,t.sanitizeFn)),t},$._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},$._cleanTipClass=function(){var t=g(this.getTipElement()),e=t.attr("class").match(Z);null!==e&&e.length&&t.removeClass(e.join(""))},$._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},$._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(g(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},rt._jQueryInterface=function(n){return this.each(function(){var t=g(this).data("bs.tooltip"),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new rt(this,e),g(this).data("bs.tooltip",t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(rt,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return it}},{key:"NAME",get:function(){return J}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return ot}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return et}}]),rt);function rt(t,e){if(void 0===u)throw new TypeError("Bootstrap's 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()}g.fn[J]=st._jQueryInterface,g.fn[J].Constructor=st,g.fn[J].noConflict=function(){return g.fn[J]=G,st._jQueryInterface};var at="popover",lt=g.fn[at],ct=new RegExp("(^|\\s)bs-popover\\S+","g"),ht=r(r({},st.Default),{},{placement:"right",trigger:"click",content:"",template:''}),ut=r(r({},st.DefaultType),{},{content:"(string|element|function)"}),dt={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"},ft=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 o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){g(this.getTipElement()).addClass("bs-popover-"+t)},o.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},o.setContent=function(){var t=g(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")},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=g(this.getTipElement()),e=t.attr("class").match(ct);null!==e&&0=this._offsets[o]&&(void 0===this._offsets[o+1]||t li > .active":".active",o=(o=g.makeArray(g(e).find(i)))[o.length-1]),s=g.Event("hide.bs.tab",{relatedTarget:this._element}),r=g.Event("show.bs.tab",{relatedTarget:o}),o&&g(o).trigger(s),g(this._element).trigger(r),r.isDefaultPrevented()||s.isDefaultPrevented()||(n&&(t=document.querySelector(n)),this._activate(this._element,e),a=function(){var t=g.Event("hidden.bs.tab",{relatedTarget:l._element}),e=g.Event("shown.bs.tab",{relatedTarget:o});g(o).trigger(t),g(l._element).trigger(e)},t?this._activate(t,t.parentNode,a):a()))},Et.dispose=function(){g.removeData(this._element,"bs.tab"),this._element=null},Et._activate=function(t,e,n){function i(){return s._transitionComplete(t,r,n)}var o,s=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?g(e).children(".active"):g(e).find("> li > .active"))[0],a=n&&r&&g(r).hasClass("fade");r&&a?(o=m.getTransitionDurationFromElement(r),g(r).removeClass("show").one(m.TRANSITION_END,i).emulateTransitionEnd(o)):i()},Et._transitionComplete=function(t,e,n){var i,o,s;e&&(g(e).removeClass("active"),(i=g(e.parentNode).find("> .dropdown-menu .active")[0])&&g(i).removeClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)),g(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),m.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&g(t.parentNode).hasClass("dropdown-menu")&&((o=g(t).closest(".dropdown")[0])&&(s=[].slice.call(o.querySelectorAll(".dropdown-toggle")),g(s).addClass("active")),t.setAttribute("aria-expanded",!0)),n&&n()},Ct._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data("bs.tab");if(e||(e=new Ct(this),t.data("bs.tab",e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(Ct,null,[{key:"VERSION",get:function(){return"4.5.0"}}]),Ct);function Ct(t){this._element=t}g(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),Tt._jQueryInterface.call(g(this),"show")}),g.fn.tab=Tt._jQueryInterface,g.fn.tab.Constructor=Tt,g.fn.tab.noConflict=function(){return g.fn.tab=wt,Tt._jQueryInterface};var St,Dt=g.fn.toast,kt={animation:"boolean",autohide:"boolean",delay:"number"},Nt={animation:!0,autohide:!0,delay:500},At=((St=It.prototype).show=function(){var t,e,n=this,i=g.Event("show.bs.toast");g(this._element).trigger(i),i.isDefaultPrevented()||(this._config.animation&&this._element.classList.add("fade"),t=function(){n._element.classList.remove("showing"),n._element.classList.add("show"),g(n._element).trigger("shown.bs.toast"),n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove("hide"),m.reflow(this._element),this._element.classList.add("showing"),this._config.animation?(e=m.getTransitionDurationFromElement(this._element),g(this._element).one(m.TRANSITION_END,t).emulateTransitionEnd(e)):t())},St.hide=function(){var t;this._element.classList.contains("show")&&(t=g.Event("hide.bs.toast"),g(this._element).trigger(t),t.isDefaultPrevented()||this._close())},St.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains("show")&&this._element.classList.remove("show"),g(this._element).off("click.dismiss.bs.toast"),g.removeData(this._element,"bs.toast"),this._element=null,this._config=null},St._getConfig=function(t){return t=r(r(r({},Nt),g(this._element).data()),"object"==typeof t&&t?t:{}),m.typeCheckConfig("toast",t,this.constructor.DefaultType),t},St._setListeners=function(){var t=this;g(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return t.hide()})},St._close=function(){function t(){n._element.classList.add("hide"),g(n._element).trigger("hidden.bs.toast")}var e,n=this;this._element.classList.remove("show"),this._config.animation?(e=m.getTransitionDurationFromElement(this._element),g(this._element).one(m.TRANSITION_END,t).emulateTransitionEnd(e)):t()},It._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data("bs.toast");if(e||(e=new It(this,"object"==typeof n&&n),t.data("bs.toast",e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](this)}})},s(It,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"DefaultType",get:function(){return kt}},{key:"Default",get:function(){return Nt}}]),It);function It(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}g.fn.toast=At._jQueryInterface,g.fn.toast.Constructor=At,g.fn.toast.noConflict=function(){return g.fn.toast=Dt,At._jQueryInterface},t.Alert=l,t.Button=f,t.Carousel=T,t.Collapse=I,t.Dropdown=F,t.Modal=W,t.Popover=ft,t.Scrollspy=bt,t.Tab=Tt,t.Toast=At,t.Tooltip=st,t.Util=m,Object.defineProperty(t,"__esModule",{value:!0})});