This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/js/theme.min.js

1 line
49 KiB
JavaScript

!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,c){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function h(r){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{},e=Object.keys(s);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(s).filter(function(t){return Object.getOwnPropertyDescriptor(s,t).enumerable}))),e.forEach(function(t){var e,n,i;e=r,i=s[n=t],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return r}e=e&&e.hasOwnProperty("default")?e.default:e,c=c&&c.hasOwnProperty("default")?c.default:c;var r,n,s,a,l,u,f,d,g,_,m,p,v,E,y,C,b,T,I,w,D,A,S,N,O,k,P,j,H,L,x,R,W,U,F,K,M,Q,B,V,Y,q,z,J,Z,$,G,X,tt,et,nt,it,rt,st,ot,at,lt,ht,ct,ut,ft,dt,gt,_t,mt,pt,vt,Et,yt,Ct,bt,Tt,It,wt,Dt,At,St,Nt,Ot,kt,Pt,jt,Ht,Lt,xt,Rt,Wt,Ut,Ft,Kt,Mt,Qt,Bt,Vt,Yt,qt,zt,Jt,Zt,$t,Gt,Xt,te,ee,ne,ie,re,se,oe,ae,le,he,ce,ue,fe,de,ge,_e,me,pe,ve,Ee,ye,Ce,be,Te,Ie,we,De,Ae,Se,Ne,Oe,ke,Pe,je,He,Le,xe,Re,We,Ue,Fe,Ke,Me,Qe,Be,Ve,Ye,qe,ze,Je,Ze,$e,Ge,Xe,tn,en,nn,rn,sn,on,an,ln,hn,cn,un,fn,dn,gn,_n,mn,pn,vn,En,yn,Cn,bn,Tn,In,wn,Dn,An,Sn,Nn,On,kn,Pn,jn,Hn,Ln,xn,Rn,Wn,Un,Fn,Kn,Mn=function(i){var e="transitionend";function t(t){var e=this,n=!1;return i(this).one(l.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||l.triggerTransitionEnd(e)},t),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");e&&"#"!==e||(e=t.getAttribute("href")||"");try{return 0<i(document).find(e).length?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=i(t).css("transition-duration");return parseFloat(e)?(e=e.split(",")[0],1e3*parseFloat(e)):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){i(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],s=e[i],o=s&&l.isElement(s)?"element":(a=s,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(o))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+r+'".')}var a}};return i.fn.emulateTransitionEnd=t,i.event.special[l.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},l}(e),Qn=(n="alert",a="."+(s="bs.alert"),l=(r=e).fn[n],u={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},f="alert",d="fade",g="show",_=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){r.removeData(this._element,s),this._element=null},t._getRootElement=function(t){var e=Mn.getSelectorFromElement(t),n=!1;return e&&(n=r(e)[0]),n||(n=r(t).closest("."+f)[0]),n},t._triggerCloseEvent=function(t){var e=r.Event(u.CLOSE);return r(t).trigger(e),e},t._removeElement=function(e){var n=this;if(r(e).removeClass(g),r(e).hasClass(d)){var t=Mn.getTransitionDurationFromElement(e);r(e).one(Mn.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},t._destroyElement=function(t){r(t).detach().trigger(u.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=r(this),e=t.data(s);e||(e=new i(this),t.data(s,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},o(i,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),i}(),r(document).on(u.CLICK_DATA_API,'[data-dismiss="alert"]',_._handleDismiss(new _)),r.fn[n]=_._jQueryInterface,r.fn[n].Constructor=_,r.fn[n].noConflict=function(){return r.fn[n]=l,_._jQueryInterface},_),Bn=(p="button",E="."+(v="bs.button"),y=".data-api",C=(m=e).fn[p],b="active",T="btn",w='[data-toggle^="button"]',D='[data-toggle="buttons"]',A="input",S=".active",N=".btn",O={CLICK_DATA_API:"click"+E+y,FOCUS_BLUR_DATA_API:(I="focus")+E+y+" blur"+E+y},k=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=m(this._element).closest(D)[0];if(n){var i=m(this._element).find(A)[0];if(i){if("radio"===i.type)if(i.checked&&m(this._element).hasClass(b))t=!1;else{var r=m(n).find(S)[0];r&&m(r).removeClass(b)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!m(this._element).hasClass(b),m(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!m(this._element).hasClass(b)),t&&m(this._element).toggleClass(b)},t.dispose=function(){m.removeData(this._element,v),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=m(this).data(v);t||(t=new n(this),m(this).data(v,t)),"toggle"===e&&t[e]()})},o(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n}(),m(document).on(O.CLICK_DATA_API,w,function(t){t.preventDefault();var e=t.target;m(e).hasClass(T)||(e=m(e).closest(N)),k._jQueryInterface.call(m(e),"toggle")}).on(O.FOCUS_BLUR_DATA_API,w,function(t){var e=m(t.target).closest(N)[0];m(e).toggleClass(I,/^focus(in)?$/.test(t.type))}),m.fn[p]=k._jQueryInterface,m.fn[p].Constructor=k,m.fn[p].noConflict=function(){return m.fn[p]=C,k._jQueryInterface},k),Vn=(j="carousel",L="."+(H="bs.carousel"),x=".data-api",R=(P=e).fn[j],W={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},U={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},F="next",K="prev",M="left",Q="right",B={SLIDE:"slide"+L,SLID:"slid"+L,KEYDOWN:"keydown"+L,MOUSEENTER:"mouseenter"+L,MOUSELEAVE:"mouseleave"+L,TOUCHEND:"touchend"+L,LOAD_DATA_API:"load"+L+x,CLICK_DATA_API:"click"+L+x},V="carousel",Y="active",q="slide",z="carousel-item-right",J="carousel-item-left",Z="carousel-item-next",$="carousel-item-prev",G=".active",X=".active.carousel-item",tt=".carousel-item",et=".carousel-item-next, .carousel-item-prev",nt=".carousel-indicators",it="[data-slide], [data-slide-to]",rt='[data-ride="carousel"]',st=function(){function s(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=P(t)[0],this._indicatorsElement=P(this._element).find(nt)[0],this._addEventListeners()}var t=s.prototype;return t.next=function(){this._isSliding||this._slide(F)},t.nextWhenVisible=function(){!document.hidden&&P(this._element).is(":visible")&&"hidden"!==P(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(K)},t.pause=function(t){t||(this._isPaused=!0),P(this._element).find(et)[0]&&(Mn.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=P(this._element).find(X)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)P(this._element).one(B.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n<t?F:K;this._slide(i,this._items[t])}},t.dispose=function(){P(this._element).off(L),P.removeData(this._element,H),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=h({},W,t),Mn.typeCheckConfig(j,t,U),t},t._addEventListeners=function(){var e=this;this._config.keyboard&&P(this._element).on(B.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(P(this._element).on(B.MOUSEENTER,function(t){return e.pause(t)}).on(B.MOUSELEAVE,function(t){return e.cycle(t)}),"ontouchstart"in document.documentElement&&P(this._element).on(B.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=P.makeArray(P(t).parent().find(tt)),this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===F,i=t===K,r=this._getItemIndex(e),s=this._items.length-1;if((i&&0===r||n&&r===s)&&!this._config.wrap)return e;var o=(r+(t===K?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(P(this._element).find(X)[0]),r=P.Event(B.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return P(this._element).trigger(r),r},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){P(this._indicatorsElement).find(G).removeClass(Y);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&P(e).addClass(Y)}},t._slide=function(t,e){var n,i,r,s=this,o=P(this._element).find(X)[0],a=this._getItemIndex(o),l=e||o&&this._getItemByDirection(t,o),h=this._getItemIndex(l),c=Boolean(this._interval);if(t===F?(n=J,i=Z,r=M):(n=z,i=$,r=Q),l&&P(l).hasClass(Y))this._isSliding=!1;else if(!this._triggerSlideEvent(l,r).isDefaultPrevented()&&o&&l){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(l);var u=P.Event(B.SLID,{relatedTarget:l,direction:r,from:a,to:h});if(P(this._element).hasClass(q)){P(l).addClass(i),Mn.reflow(l),P(o).addClass(n),P(l).addClass(n);var f=Mn.getTransitionDurationFromElement(o);P(o).one(Mn.TRANSITION_END,function(){P(l).removeClass(n+" "+i).addClass(Y),P(o).removeClass(Y+" "+i+" "+n),s._isSliding=!1,setTimeout(function(){return P(s._element).trigger(u)},0)}).emulateTransitionEnd(f)}else P(o).removeClass(Y),P(l).addClass(Y),this._isSliding=!1,P(this._element).trigger(u);c&&this.cycle()}},s._jQueryInterface=function(i){return this.each(function(){var t=P(this).data(H),e=h({},W,P(this).data());"object"==typeof i&&(e=h({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new s(this,e),P(this).data(H,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&(t.pause(),t.cycle())})},s._dataApiClickHandler=function(t){var e=Mn.getSelectorFromElement(this);if(e){var n=P(e)[0];if(n&&P(n).hasClass(V)){var i=h({},P(n).data(),P(this).data()),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),s._jQueryInterface.call(P(n),i),r&&P(n).data(H).to(r),t.preventDefault()}}},o(s,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return W}}]),s}(),P(document).on(B.CLICK_DATA_API,it,st._dataApiClickHandler),P(window).on(B.LOAD_DATA_API,function(){P(rt).each(function(){var t=P(this);st._jQueryInterface.call(t,t.data())})}),P.fn[j]=st._jQueryInterface,P.fn[j].Constructor=st,P.fn[j].noConflict=function(){return P.fn[j]=R,st._jQueryInterface},st),Yn=(at="collapse",ht="."+(lt="bs.collapse"),ct=(ot=e).fn[at],ut={toggle:!0,parent:""},ft={toggle:"boolean",parent:"(string|element)"},dt={SHOW:"show"+ht,SHOWN:"shown"+ht,HIDE:"hide"+ht,HIDDEN:"hidden"+ht,CLICK_DATA_API:"click"+ht+".data-api"},gt="show",_t="collapse",mt="collapsing",pt="collapsed",vt="width",Et="height",yt=".show, .collapsing",Ct='[data-toggle="collapse"]',bt=function(){function a(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=ot.makeArray(ot('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=ot(Ct),i=0;i<n.length;i++){var r=n[i],s=Mn.getSelectorFromElement(r);null!==s&&0<ot(s).filter(t).length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){ot(this._element).hasClass(gt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!this._isTransitioning&&!ot(this._element).hasClass(gt)&&(this._parent&&0===(t=ot.makeArray(ot(this._parent).find(yt).filter('[data-parent="'+this._config.parent+'"]'))).length&&(t=null),!(t&&(e=ot(t).not(this._selector).data(lt))&&e._isTransitioning))){var i=ot.Event(dt.SHOW);if(ot(this._element).trigger(i),!i.isDefaultPrevented()){t&&(a._jQueryInterface.call(ot(t).not(this._selector),"hide"),e||ot(t).data(lt,null));var r=this._getDimension();ot(this._element).removeClass(_t).addClass(mt),(this._element.style[r]=0)<this._triggerArray.length&&ot(this._triggerArray).removeClass(pt).attr("aria-expanded",!0),this.setTransitioning(!0);var s="scroll"+(r[0].toUpperCase()+r.slice(1)),o=Mn.getTransitionDurationFromElement(this._element);ot(this._element).one(Mn.TRANSITION_END,function(){ot(n._element).removeClass(mt).addClass(_t).addClass(gt),n._element.style[r]="",n.setTransitioning(!1),ot(n._element).trigger(dt.SHOWN)}).emulateTransitionEnd(o),this._element.style[r]=this._element[s]+"px"}}},t.hide=function(){var t=this;if(!this._isTransitioning&&ot(this._element).hasClass(gt)){var e=ot.Event(dt.HIDE);if(ot(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",Mn.reflow(this._element),ot(this._element).addClass(mt).removeClass(_t).removeClass(gt),0<this._triggerArray.length)for(var i=0;i<this._triggerArray.length;i++){var r=this._triggerArray[i],s=Mn.getSelectorFromElement(r);if(null!==s)ot(s).hasClass(gt)||ot(r).addClass(pt).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var o=Mn.getTransitionDurationFromElement(this._element);ot(this._element).one(Mn.TRANSITION_END,function(){t.setTransitioning(!1),ot(t._element).removeClass(mt).addClass(_t).trigger(dt.HIDDEN)}).emulateTransitionEnd(o)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){ot.removeData(this._element,lt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=h({},ut,t)).toggle=Boolean(t.toggle),Mn.typeCheckConfig(at,t,ft),t},t._getDimension=function(){return ot(this._element).hasClass(vt)?vt:Et},t._getParent=function(){var n=this,t=null;Mn.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=ot(this._config.parent)[0];var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return ot(t).find(e).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){if(t){var n=ot(t).hasClass(gt);0<e.length&&ot(e).toggleClass(pt,!n).attr("aria-expanded",n)}},a._getTargetFromElement=function(t){var e=Mn.getSelectorFromElement(t);return e?ot(e)[0]:null},a._jQueryInterface=function(i){return this.each(function(){var t=ot(this),e=t.data(lt),n=h({},ut,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(lt,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},o(a,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return ut}}]),a}(),ot(document).on(dt.CLICK_DATA_API,Ct,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=ot(this),e=Mn.getSelectorFromElement(this);ot(e).each(function(){var t=ot(this),e=t.data(lt)?"toggle":n.data();bt._jQueryInterface.call(t,e)})}),ot.fn[at]=bt._jQueryInterface,ot.fn[at].Constructor=bt,ot.fn[at].noConflict=function(){return ot.fn[at]=ct,bt._jQueryInterface},bt),qn=(It="dropdown",Dt="."+(wt="bs.dropdown"),At=".data-api",St=(Tt=e).fn[It],Nt=new RegExp("38|40|27"),Ot={HIDE:"hide"+Dt,HIDDEN:"hidden"+Dt,SHOW:"show"+Dt,SHOWN:"shown"+Dt,CLICK:"click"+Dt,CLICK_DATA_API:"click"+Dt+At,KEYDOWN_DATA_API:"keydown"+Dt+At,KEYUP_DATA_API:"keyup"+Dt+At},kt="disabled",Pt="show",jt="dropup",Ht="dropright",Lt="dropleft",xt="dropdown-menu-right",Rt="position-static",Wt='[data-toggle="dropdown"]',Ut=".dropdown form",Ft=".dropdown-menu",Kt=".navbar-nav",Mt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Qt="top-start",Bt="top-end",Vt="bottom-start",Yt="bottom-end",qt="right-start",zt="left-start",Jt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Zt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},$t=function(){function l(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=l.prototype;return t.toggle=function(){if(!this._element.disabled&&!Tt(this._element).hasClass(kt)){var t=l._getParentFromElement(this._element),e=Tt(this._menu).hasClass(Pt);if(l._clearMenus(),!e){var n={relatedTarget:this._element},i=Tt.Event(Ot.SHOW,n);if(Tt(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===c)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var r=this._element;"parent"===this._config.reference?r=t:Mn.isElement(this._config.reference)&&(r=this._config.reference,void 0!==this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&Tt(t).addClass(Rt),this._popper=new c(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===Tt(t).closest(Kt).length&&Tt(document.body).children().on("mouseover",null,Tt.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),Tt(this._menu).toggleClass(Pt),Tt(t).toggleClass(Pt).trigger(Tt.Event(Ot.SHOWN,n))}}}},t.dispose=function(){Tt.removeData(this._element,wt),Tt(this._element).off(Dt),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;Tt(this._element).on(Ot.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=h({},this.constructor.Default,Tt(this._element).data(),t),Mn.typeCheckConfig(It,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=l._getParentFromElement(this._element);this._menu=Tt(t).find(Ft)[0]}return this._menu},t._getPlacement=function(){var t=Tt(this._element).parent(),e=Vt;return t.hasClass(jt)?(e=Qt,Tt(this._menu).hasClass(xt)&&(e=Bt)):t.hasClass(Ht)?e=qt:t.hasClass(Lt)?e=zt:Tt(this._menu).hasClass(xt)&&(e=Yt),e},t._detectNavbar=function(){return 0<Tt(this._element).closest(".navbar").length},t._getPopperConfig=function(){var e=this,t={};"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=h({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},l._jQueryInterface=function(e){return this.each(function(){var t=Tt(this).data(wt);if(t||(t=new l(this,"object"==typeof e?e:null),Tt(this).data(wt,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},l._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=Tt.makeArray(Tt(Wt)),n=0;n<e.length;n++){var i=l._getParentFromElement(e[n]),r=Tt(e[n]).data(wt),s={relatedTarget:e[n]};if(r){var o=r._menu;if(Tt(i).hasClass(Pt)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&Tt.contains(i,t.target))){var a=Tt.Event(Ot.HIDE,s);Tt(i).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&Tt(document.body).children().off("mouseover",null,Tt.noop),e[n].setAttribute("aria-expanded","false"),Tt(o).removeClass(Pt),Tt(i).removeClass(Pt).trigger(Tt.Event(Ot.HIDDEN,s)))}}}},l._getParentFromElement=function(t){var e,n=Mn.getSelectorFromElement(t);return n&&(e=Tt(n)[0]),e||t.parentNode},l._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||Tt(t.target).closest(Ft).length)):Nt.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!Tt(this).hasClass(kt))){var e=l._getParentFromElement(this),n=Tt(e).hasClass(Pt);if((n||27===t.which&&32===t.which)&&(!n||27!==t.which&&32!==t.which)){var i=Tt(e).find(Mt).get();if(0!==i.length){var r=i.indexOf(t.target);38===t.which&&0<r&&r--,40===t.which&&r<i.length-1&&r++,r<0&&(r=0),i[r].focus()}}else{if(27===t.which){var s=Tt(e).find(Wt)[0];Tt(s).trigger("focus")}Tt(this).trigger("click")}}},o(l,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return Jt}},{key:"DefaultType",get:function(){return Zt}}]),l}(),Tt(document).on(Ot.KEYDOWN_DATA_API,Wt,$t._dataApiKeydownHandler).on(Ot.KEYDOWN_DATA_API,Ft,$t._dataApiKeydownHandler).on(Ot.CLICK_DATA_API+" "+Ot.KEYUP_DATA_API,$t._clearMenus).on(Ot.CLICK_DATA_API,Wt,function(t){t.preventDefault(),t.stopPropagation(),$t._jQueryInterface.call(Tt(this),"toggle")}).on(Ot.CLICK_DATA_API,Ut,function(t){t.stopPropagation()}),Tt.fn[It]=$t._jQueryInterface,Tt.fn[It].Constructor=$t,Tt.fn[It].noConflict=function(){return Tt.fn[It]=St,$t._jQueryInterface},$t),zn=(Xt="modal",ee="."+(te="bs.modal"),ne=(Gt=e).fn[Xt],ie={backdrop:!0,keyboard:!0,focus:!0,show:!0},re={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},se={HIDE:"hide"+ee,HIDDEN:"hidden"+ee,SHOW:"show"+ee,SHOWN:"shown"+ee,FOCUSIN:"focusin"+ee,RESIZE:"resize"+ee,CLICK_DISMISS:"click.dismiss"+ee,KEYDOWN_DISMISS:"keydown.dismiss"+ee,MOUSEUP_DISMISS:"mouseup.dismiss"+ee,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ee,CLICK_DATA_API:"click"+ee+".data-api"},oe="modal-scrollbar-measure",ae="modal-backdrop",le="modal-open",he="fade",ce="show",ue=".modal-dialog",fe='[data-toggle="modal"]',de='[data-dismiss="modal"]',ge=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_e=".sticky-top",me=".navbar-toggler",pe=function(){function r(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=Gt(t).find(ue)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var t=r.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isTransitioning&&!this._isShown){Gt(this._element).hasClass(he)&&(this._isTransitioning=!0);var n=Gt.Event(se.SHOW,{relatedTarget:t});Gt(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),Gt(document.body).addClass(le),this._setEscapeEvent(),this._setResizeEvent(),Gt(this._element).on(se.CLICK_DISMISS,de,function(t){return e.hide(t)}),Gt(this._dialog).on(se.MOUSEDOWN_DISMISS,function(){Gt(e._element).one(se.MOUSEUP_DISMISS,function(t){Gt(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var n=Gt.Event(se.HIDE);if(Gt(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=Gt(this._element).hasClass(he);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),Gt(document).off(se.FOCUSIN),Gt(this._element).removeClass(ce),Gt(this._element).off(se.CLICK_DISMISS),Gt(this._dialog).off(se.MOUSEDOWN_DISMISS),i){var r=Mn.getTransitionDurationFromElement(this._element);Gt(this._element).one(Mn.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(r)}else this._hideModal()}}},t.dispose=function(){Gt.removeData(this._element,te),Gt(window,document,this._element,this._backdrop).off(ee),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=h({},ie,t),Mn.typeCheckConfig(Xt,t,re),t},t._showElement=function(t){var e=this,n=Gt(this._element).hasClass(he);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&Mn.reflow(this._element),Gt(this._element).addClass(ce),this._config.focus&&this._enforceFocus();var i=Gt.Event(se.SHOWN,{relatedTarget:t}),r=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,Gt(e._element).trigger(i)};if(n){var s=Mn.getTransitionDurationFromElement(this._element);Gt(this._dialog).one(Mn.TRANSITION_END,r).emulateTransitionEnd(s)}else r()},t._enforceFocus=function(){var e=this;Gt(document).off(se.FOCUSIN).on(se.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===Gt(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?Gt(this._element).on(se.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||Gt(this._element).off(se.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?Gt(window).on(se.RESIZE,function(t){return e.handleUpdate(t)}):Gt(window).off(se.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){Gt(document.body).removeClass(le),t._resetAdjustments(),t._resetScrollbar(),Gt(t._element).trigger(se.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(Gt(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,n=Gt(this._element).hasClass(he)?he:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=ae,n&&Gt(this._backdrop).addClass(n),Gt(this._backdrop).appendTo(document.body),Gt(this._element).on(se.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&Mn.reflow(this._backdrop),Gt(this._backdrop).addClass(ce),!t)return;if(!n)return void t();var i=Mn.getTransitionDurationFromElement(this._backdrop);Gt(this._backdrop).one(Mn.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){Gt(this._backdrop).removeClass(ce);var r=function(){e._removeBackdrop(),t&&t()};if(Gt(this._element).hasClass(he)){var s=Mn.getTransitionDurationFromElement(this._backdrop);Gt(this._backdrop).one(Mn.TRANSITION_END,r).emulateTransitionEnd(s)}else r()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.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<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var r=this;if(this._isBodyOverflowing){Gt(ge).each(function(t,e){var n=Gt(e)[0].style.paddingRight,i=Gt(e).css("padding-right");Gt(e).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),Gt(_e).each(function(t,e){var n=Gt(e)[0].style.marginRight,i=Gt(e).css("margin-right");Gt(e).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")}),Gt(me).each(function(t,e){var n=Gt(e)[0].style.marginRight,i=Gt(e).css("margin-right");Gt(e).data("margin-right",n).css("margin-right",parseFloat(i)+r._scrollbarWidth+"px")});var t=document.body.style.paddingRight,e=Gt(document.body).css("padding-right");Gt(document.body).data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px")}},t._resetScrollbar=function(){Gt(ge).each(function(t,e){var n=Gt(e).data("padding-right");void 0!==n&&Gt(e).css("padding-right",n).removeData("padding-right")}),Gt(_e+", "+me).each(function(t,e){var n=Gt(e).data("margin-right");void 0!==n&&Gt(e).css("margin-right",n).removeData("margin-right")});var t=Gt(document.body).data("padding-right");void 0!==t&&Gt(document.body).css("padding-right",t).removeData("padding-right")},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=oe,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},r._jQueryInterface=function(n,i){return this.each(function(){var t=Gt(this).data(te),e=h({},ie,Gt(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new r(this,e),Gt(this).data(te,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},o(r,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return ie}}]),r}(),Gt(document).on(se.CLICK_DATA_API,fe,function(t){var e,n=this,i=Mn.getSelectorFromElement(this);i&&(e=Gt(i)[0]);var r=Gt(e).data(te)?"toggle":h({},Gt(e).data(),Gt(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=Gt(e).one(se.SHOW,function(t){t.isDefaultPrevented()||s.one(se.HIDDEN,function(){Gt(n).is(":visible")&&n.focus()})});pe._jQueryInterface.call(Gt(e),r,this)}),Gt.fn[Xt]=pe._jQueryInterface,Gt.fn[Xt].Constructor=pe,Gt.fn[Xt].noConflict=function(){return Gt.fn[Xt]=ne,pe._jQueryInterface},pe),Jn=(Ee="tooltip",Ce="."+(ye="bs.tooltip"),be=(ve=e).fn[Ee],Te="bs-tooltip",Ie=new RegExp("(^|\\s)"+Te+"\\S+","g"),Ae={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!(De={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(we={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"},Ne="out",Oe={HIDE:"hide"+Ce,HIDDEN:"hidden"+Ce,SHOW:(Se="show")+Ce,SHOWN:"shown"+Ce,INSERTED:"inserted"+Ce,CLICK:"click"+Ce,FOCUSIN:"focusin"+Ce,FOCUSOUT:"focusout"+Ce,MOUSEENTER:"mouseenter"+Ce,MOUSELEAVE:"mouseleave"+Ce},ke="fade",Pe="show",je=".tooltip-inner",He=".arrow",Le="hover",xe="focus",Re="click",We="manual",Ue=function(){function i(t,e){if(void 0===c)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=ve(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),ve(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(ve(this.getTipElement()).hasClass(Pe))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),ve.removeData(this.element,this.constructor.DATA_KEY),ve(this.element).off(this.constructor.EVENT_KEY),ve(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&ve(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"===ve(this.element).css("display"))throw new Error("Please use show on visible elements");var t=ve.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){ve(this.element).trigger(t);var n=ve.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var i=this.getTipElement(),r=Mn.getUID(this.constructor.NAME);i.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&ve(i).addClass(ke);var s="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,o=this._getAttachment(s);this.addAttachmentClass(o);var a=!1===this.config.container?document.body:ve(this.config.container);ve(i).data(this.constructor.DATA_KEY,this),ve.contains(this.element.ownerDocument.documentElement,this.tip)||ve(i).appendTo(a),ve(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new c(this.element,i,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:He},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),ve(i).addClass(Pe),"ontouchstart"in document.documentElement&&ve(document.body).children().on("mouseover",null,ve.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,ve(e.element).trigger(e.constructor.Event.SHOWN),t===Ne&&e._leave(null,e)};if(ve(this.tip).hasClass(ke)){var h=Mn.getTransitionDurationFromElement(this.tip);ve(this.tip).one(Mn.TRANSITION_END,l).emulateTransitionEnd(h)}else l()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=ve.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==Se&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),ve(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(ve(this.element).trigger(i),!i.isDefaultPrevented()){if(ve(n).removeClass(Pe),"ontouchstart"in document.documentElement&&ve(document.body).children().off("mouseover",null,ve.noop),this._activeTrigger[Re]=!1,this._activeTrigger[xe]=!1,this._activeTrigger[Le]=!1,ve(this.tip).hasClass(ke)){var s=Mn.getTransitionDurationFromElement(n);ve(n).one(Mn.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){ve(this.getTipElement()).addClass(Te+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||ve(this.config.template)[0],this.tip},t.setContent=function(){var t=ve(this.getTipElement());this.setElementContent(t.find(je),this.getTitle()),t.removeClass(ke+" "+Pe)},t.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?ve(e).parent().is(t)||t.empty().append(e):t.text(ve(e).text()):t[n?"html":"text"](e)},t.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},t._getAttachment=function(t){return De[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)ve(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if(t!==We){var e=t===Le?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===Le?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;ve(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}ve(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=h({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._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",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||ve(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),ve(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?xe:Le]=!0),ve(e.getTipElement()).hasClass(Pe)||e._hoverState===Se?e._hoverState=Se:(clearTimeout(e._timeout),e._hoverState=Se,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Se&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||ve(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),ve(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?xe:Le]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Ne,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===Ne&&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=h({},this.constructor.Default,ve(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()),Mn.typeCheckConfig(Ee,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=ve(this.getTipElement()),e=t.attr("class").match(Ie);null!==e&&0<e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(ve(t).removeClass(ke),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=ve(this).data(ye),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),ve(this).data(ye,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return Ae}},{key:"NAME",get:function(){return Ee}},{key:"DATA_KEY",get:function(){return ye}},{key:"Event",get:function(){return Oe}},{key:"EVENT_KEY",get:function(){return Ce}},{key:"DefaultType",get:function(){return we}}]),i}(),ve.fn[Ee]=Ue._jQueryInterface,ve.fn[Ee].Constructor=Ue,ve.fn[Ee].noConflict=function(){return ve.fn[Ee]=be,Ue._jQueryInterface},Ue),Zn=(Ke="popover",Qe="."+(Me="bs.popover"),Be=(Fe=e).fn[Ke],Ve="bs-popover",Ye=new RegExp("(^|\\s)"+Ve+"\\S+","g"),qe=h({},Jn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),ze=h({},Jn.DefaultType,{content:"(string|element|function)"}),Je="fade",$e=".popover-header",Ge=".popover-body",Xe={HIDE:"hide"+Qe,HIDDEN:"hidden"+Qe,SHOW:(Ze="show")+Qe,SHOWN:"shown"+Qe,INSERTED:"inserted"+Qe,CLICK:"click"+Qe,FOCUSIN:"focusin"+Qe,FOCUSOUT:"focusout"+Qe,MOUSEENTER:"mouseenter"+Qe,MOUSELEAVE:"mouseleave"+Qe},tn=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){Fe(this.getTipElement()).addClass(Ve+"-"+t)},r.getTipElement=function(){return this.tip=this.tip||Fe(this.config.template)[0],this.tip},r.setContent=function(){var t=Fe(this.getTipElement());this.setElementContent(t.find($e),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Ge),e),t.removeClass(Je+" "+Ze)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=Fe(this.getTipElement()),e=t.attr("class").match(Ye);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=Fe(this).data(Me),e="object"==typeof n?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,e),Fe(this).data(Me,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return qe}},{key:"NAME",get:function(){return Ke}},{key:"DATA_KEY",get:function(){return Me}},{key:"Event",get:function(){return Xe}},{key:"EVENT_KEY",get:function(){return Qe}},{key:"DefaultType",get:function(){return ze}}]),i}(Jn),Fe.fn[Ke]=tn._jQueryInterface,Fe.fn[Ke].Constructor=tn,Fe.fn[Ke].noConflict=function(){return Fe.fn[Ke]=Be,tn._jQueryInterface},tn),$n=(nn="scrollspy",sn="."+(rn="bs.scrollspy"),on=(en=e).fn[nn],an={offset:10,method:"auto",target:""},ln={offset:"number",method:"string",target:"(string|element)"},hn={ACTIVATE:"activate"+sn,SCROLL:"scroll"+sn,LOAD_DATA_API:"load"+sn+".data-api"},cn="dropdown-item",un="active",fn='[data-spy="scroll"]',dn=".active",gn=".nav, .list-group",_n=".nav-link",mn=".nav-item",pn=".list-group-item",vn=".dropdown",En=".dropdown-item",yn=".dropdown-toggle",Cn="offset",bn="position",Tn=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+_n+","+this._config.target+" "+pn+","+this._config.target+" "+En,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,en(this._scrollElement).on(hn.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?Cn:bn,r="auto"===this._config.method?t:this._config.method,s=r===bn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),en.makeArray(en(this._selector)).map(function(t){var e,n=Mn.getSelectorFromElement(t);if(n&&(e=en(n)[0]),e){var i=e.getBoundingClientRect();if(i.width||i.height)return[en(e)[r]().top+s,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){en.removeData(this._element,rn),en(this._scrollElement).off(sn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=h({},an,"object"==typeof t&&t?t:{})).target){var e=en(t.target).attr("id");e||(e=Mn.getUID(nn),en(t.target).attr("id",e)),t.target="#"+e}return Mn.typeCheckConfig(nn,t,ln),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;){this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1])&&this._activate(this._targets[r])}}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",");t=t.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var n=en(t.join(","));n.hasClass(cn)?(n.closest(vn).find(yn).addClass(un),n.addClass(un)):(n.addClass(un),n.parents(gn).prev(_n+", "+pn).addClass(un),n.parents(gn).prev(mn).children(_n).addClass(un)),en(this._scrollElement).trigger(hn.ACTIVATE,{relatedTarget:e})},t._clear=function(){en(this._selector).filter(dn).removeClass(un)},n._jQueryInterface=function(e){return this.each(function(){var t=en(this).data(rn);if(t||(t=new n(this,"object"==typeof e&&e),en(this).data(rn,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return an}}]),n}(),en(window).on(hn.LOAD_DATA_API,function(){for(var t=en.makeArray(en(fn)),e=t.length;e--;){var n=en(t[e]);Tn._jQueryInterface.call(n,n.data())}}),en.fn[nn]=Tn._jQueryInterface,en.fn[nn].Constructor=Tn,en.fn[nn].noConflict=function(){return en.fn[nn]=on,Tn._jQueryInterface},Tn),Gn=(Dn="."+(wn="bs.tab"),An=(In=e).fn.tab,Sn={HIDE:"hide"+Dn,HIDDEN:"hidden"+Dn,SHOW:"show"+Dn,SHOWN:"shown"+Dn,CLICK_DATA_API:"click"+Dn+".data-api"},Nn="dropdown-menu",On="active",kn="disabled",Pn="fade",jn="show",Hn=".dropdown",Ln=".nav, .list-group",xn=".active",Rn="> li > .active",Wn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Un=".dropdown-toggle",Fn="> .dropdown-menu .active",Kn=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&&In(this._element).hasClass(On)||In(this._element).hasClass(kn))){var t,i,e=In(this._element).closest(Ln)[0],r=Mn.getSelectorFromElement(this._element);if(e){var s="UL"===e.nodeName?Rn:xn;i=(i=In.makeArray(In(e).find(s)))[i.length-1]}var o=In.Event(Sn.HIDE,{relatedTarget:this._element}),a=In.Event(Sn.SHOW,{relatedTarget:i});if(i&&In(i).trigger(o),In(this._element).trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){r&&(t=In(r)[0]),this._activate(this._element,e);var l=function(){var t=In.Event(Sn.HIDDEN,{relatedTarget:n._element}),e=In.Event(Sn.SHOWN,{relatedTarget:i});In(i).trigger(t),In(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){In.removeData(this._element,wn),this._element=null},t._activate=function(t,e,n){var i=this,r=("UL"===e.nodeName?In(e).find(Rn):In(e).children(xn))[0],s=n&&r&&In(r).hasClass(Pn),o=function(){return i._transitionComplete(t,r,n)};if(r&&s){var a=Mn.getTransitionDurationFromElement(r);In(r).one(Mn.TRANSITION_END,o).emulateTransitionEnd(a)}else o()},t._transitionComplete=function(t,e,n){if(e){In(e).removeClass(jn+" "+On);var i=In(e.parentNode).find(Fn)[0];i&&In(i).removeClass(On),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(In(t).addClass(On),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),Mn.reflow(t),In(t).addClass(jn),t.parentNode&&In(t.parentNode).hasClass(Nn)){var r=In(t).closest(Hn)[0];r&&In(r).find(Un).addClass(On),t.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=In(this),e=t.data(wn);if(e||(e=new i(this),t.data(wn,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},o(i,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),i}(),In(document).on(Sn.CLICK_DATA_API,Wn,function(t){t.preventDefault(),Kn._jQueryInterface.call(In(this),"show")}),In.fn.tab=Kn._jQueryInterface,In.fn.tab.Constructor=Kn,In.fn.tab.noConflict=function(){return In.fn.tab=An,Kn._jQueryInterface},Kn);!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=Mn,t.Alert=Qn,t.Button=Bn,t.Carousel=Vn,t.Collapse=Yn,t.Dropdown=qn,t.Modal=zn,t.Popover=Zn,t.Scrollspy=$n,t.Tab=Gn,t.Tooltip=Jn,Object.defineProperty(t,"__esModule",{value:!0})}),function(){var t=-1<navigator.userAgent.toLowerCase().indexOf("webkit"),e=-1<navigator.userAgent.toLowerCase().indexOf("opera"),n=-1<navigator.userAgent.toLowerCase().indexOf("msie");(t||e||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1)}();