!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function i(t,e){for(var n=0;nthis._items.length-1||t<0))if(this._isSliding)w(this._element).one(P.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n=i.clientWidth&&n>=i.clientHeight}),h=0r[t]&&!i.escapeWithReference&&(n=Math.min(o[e],r[t]-("right"===t?o.width:o.height))),Tt({},e,n)}};return n.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";o=wt({},o,s[e](t))}),t.offsets.popper=o,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]o(i[a])&&(t.offsets.popper[l]=o(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Ut(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,s=o.popper,a=o.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",h=l?"Top":"Left",f=h.toLowerCase(),u=l?"left":"top",d=l?"bottom":"right",p=kt(i)[c];a[d]-ps[d]&&(t.offsets.popper[f]+=a[f]+p-s[d]),t.offsets.popper=Ct(t.offsets.popper);var g=a[f]+a[c]/2-p/2,m=lt(t.instance.popper),_=parseFloat(m["margin"+h],10),v=parseFloat(m["border"+h+"Width"],10),E=g-t.offsets.popper[f]-_-v;return E=Math.max(Math.min(s[c]-p,E),0),t.arrowElement=i,t.offsets.arrow=(Tt(n={},f,Math.round(E)),Tt(n,u,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,g){if(Mt(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var m=St(p.instance.popper,p.instance.reference,g.padding,g.boundariesElement,p.positionFixed),_=p.placement.split("-")[0],v=Lt(_),E=p.placement.split("-")[1]||"",b=[];switch(g.behavior){case Qt:b=[_,v];break;case Yt:b=Vt(_);break;case Gt:b=Vt(_,!0);break;default:b=g.behavior}return b.forEach(function(t,e){if(_!==t||b.length===e+1)return p;_=p.placement.split("-")[0],v=Lt(_);var n,i=p.offsets.popper,r=p.offsets.reference,o=Math.floor,s="left"===_&&o(i.right)>o(r.left)||"right"===_&&o(i.left)o(r.top)||"bottom"===_&&o(i.top)o(m.right),c=o(i.top)o(m.bottom),f="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&h,u=-1!==["top","bottom"].indexOf(_),d=!!g.flipVariations&&(u&&"start"===E&&a||u&&"end"===E&&l||!u&&"start"===E&&c||!u&&"end"===E&&h);(s||f||d)&&(p.flipped=!0,(s||f)&&(_=b[e+1]),d&&(E="end"===(n=E)?"start":"start"===n?"end":n),p.placement=_+(E?"-"+E:""),p.offsets.popper=wt({},p.offsets.popper,Pt(p.instance.popper,p.offsets.reference,p.placement)),p=jt(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),t.placement=Lt(e),t.offsets.popper=Ct(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Ut(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=xt(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.rightdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:(Pe={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},!1),selector:(Le={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)"},!1),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},"out",Me={HIDE:"hide"+Se,HIDDEN:"hidden"+Se,SHOW:(je="show")+Se,SHOWN:"shown"+Se,INSERTED:"inserted"+Se,CLICK:"click"+Se,FOCUSIN:"focusin"+Se,FOCUSOUT:"focusout"+Se,MOUSEENTER:"mouseenter"+Se,MOUSELEAVE:"mouseleave"+Se},Re="fade",He="show",".tooltip-inner",".arrow",Fe="hover",We="focus","click","manual",Ue=function(){function i(t,e){if(void 0===zt)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 t=i.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=Ie(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),Ie(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(Ie(this.getTipElement()).hasClass(He))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),Ie.removeData(this.element,this.constructor.DATA_KEY),Ie(this.element).off(this.constructor.EVENT_KEY),Ie(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&Ie(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},t.show=function(){var e=this;if("none"===Ie(this.element).css("display"))throw new Error("Please use show on visible elements");var t=Ie.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){Ie(this.element).trigger(t);var n=Ie.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var i=this.getTipElement(),r=J.getUID(this.constructor.NAME);i.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&Ie(i).addClass(Re);var o="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(o);this.addAttachmentClass(s);var a=!1===this.config.container?document.body:Ie(this.config.container);Ie(i).data(this.constructor.DATA_KEY,this),Ie.contains(this.element.ownerDocument.documentElement,this.tip)||Ie(i).appendTo(a),Ie(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new zt(this.element,i,{placement:s,modifiers:{offset:{offset:this.config.offset},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){e._handlePopperPlacementChange(t)}}),Ie(i).addClass(He),"ontouchstart"in document.documentElement&&Ie(document.body).children().on("mouseover",null,Ie.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,Ie(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(Ie(this.tip).hasClass(Re)){var c=J.getTransitionDurationFromElement(this.tip);Ie(this.tip).one(J.TRANSITION_END,l).emulateTransitionEnd(c)}else l()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=Ie.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==je&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),Ie(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(Ie(this.element).trigger(i),!i.isDefaultPrevented()){if(Ie(n).removeClass(He),"ontouchstart"in document.documentElement&&Ie(document.body).children().off("mouseover",null,Ie.noop),this._activeTrigger.click=!1,this._activeTrigger[We]=!1,this._activeTrigger[Fe]=!1,Ie(this.tip).hasClass(Re)){var o=J.getTransitionDurationFromElement(n);Ie(n).one(J.TRANSITION_END,r).emulateTransitionEnd(o)}else r();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){Ie(this.getTipElement()).addClass(Ne+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||Ie(this.config.template)[0],this.tip},t.setContent=function(){var t=Ie(this.getTipElement());this.setElementContent(t.find(".tooltip-inner"),this.getTitle()),t.removeClass(Re+" "+He)},t.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?Ie(e).parent().is(t)||t.empty().append(e):t.text(Ie(e).text()):t[n?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("src-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getAttachment=function(t){return Pe[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)Ie(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if("manual"!==t){var e=t===Fe?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===Fe?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;Ie(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}Ie(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=c({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("src-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("src-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||Ie(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),Ie(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?We:Fe]=!0),Ie(e.getTipElement()).hasClass(He)||e._hoverState===je?e._hoverState=je:(clearTimeout(e._timeout),e._hoverState=je,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===je&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||Ie(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),Ie(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?We:Fe]=!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())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=c({},this.constructor.Default,Ie(this.element).data(),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()),J.typeCheckConfig(De,t,this.constructor.DefaultType),t},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},t._cleanTipClass=function(){var t=Ie(this.getTipElement()),e=t.attr("class").match(ke);null!==e&&0

'}),Xe=c({},wn.DefaultType,{content:"(string|element|function)"}),"fade",".popover-header",".popover-body",Je={HIDE:"hide"+Qe,HIDDEN:"hidden"+Qe,SHOW:"show"+Qe,SHOWN:"shown"+Qe,INSERTED:"inserted"+Qe,CLICK:"click"+Qe,FOCUSIN:"focusin"+Qe,FOCUSOUT:"focusout"+Qe,MOUSEENTER:"mouseenter"+Qe,MOUSELEAVE:"mouseleave"+Qe},Ze=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 r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){Be(this.getTipElement()).addClass(Ge+"-"+t)},r.getTipElement=function(){return this.tip=this.tip||Be(this.config.template)[0],this.tip},r.setContent=function(){var t=Be(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")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=Be(this.getTipElement()),e=t.attr("class").match(qe);null!==e&&0=this._offsets[r]&&(void 0===this._offsets[r+1]||t .dropdown-menu .active",bn=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&un(this._element).hasClass(_n)||un(this._element).hasClass("disabled"))){var t,i,e=un(this._element).closest(".nav, .list-group")[0],r=J.getSelectorFromElement(this._element);if(e){var o="UL"===e.nodeName?En:vn;i=(i=un.makeArray(un(e).find(o)))[i.length-1]}var s=un.Event(mn.HIDE,{relatedTarget:this._element}),a=un.Event(mn.SHOW,{relatedTarget:i});if(i&&un(i).trigger(s),un(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(t=un(r)[0]),this._activate(this._element,e);var l=function(){var t=un.Event(mn.HIDDEN,{relatedTarget:n._element}),e=un.Event(mn.SHOWN,{relatedTarget:i});un(i).trigger(t),un(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){un.removeData(this._element,dn),this._element=null},t._activate=function(t,e,n){var i=this,r=("UL"===e.nodeName?un(e).find(En):un(e).children(vn))[0],o=n&&r&&un(r).hasClass("fade"),s=function(){return i._transitionComplete(t,r,n)};if(r&&o){var a=J.getTransitionDurationFromElement(r);un(r).one(J.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},t._transitionComplete=function(t,e,n){if(e){un(e).removeClass("show "+_n);var i=un(e.parentNode).find("> .dropdown-menu .active")[0];i&&un(i).removeClass(_n),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(un(t).addClass(_n),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),J.reflow(t),un(t).addClass("show"),t.parentNode&&un(t.parentNode).hasClass("dropdown-menu")){var r=un(t).closest(".dropdown")[0];r&&un(r).find(".dropdown-toggle").addClass(_n),t.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=un(this),e=t.data(dn);if(e||(e=new i(this),t.data(dn,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.1.0"}}]),i}(),un(document).on(mn.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),bn._jQueryInterface.call(un(this),"show")}),un.fn.tab=bn._jQueryInterface,un.fn.tab.Constructor=bn,un.fn.tab.noConflict=function(){return un.fn.tab=gn,bn._jQueryInterface},bn);!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=J,t.Alert=Z,t.Button=$,t.Carousel=tt,t.Collapse=et,t.Dropdown=yn,t.Modal=Tn,t.Popover=Cn,t.Scrollspy=In,t.Tab=Dn,t.Tooltip=wn,Object.defineProperty(t,"__esModule",{value:!0})});