if(typeof jQuery=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");(function(n){var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||t[0]==1&&t[1]==9&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");})(jQuery),function(){function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function e(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function i(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),n=function(n){function f(n){return{}.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function e(n){return(n[0]||n).nodeType}function o(){return{bindType:t.end,delegateType:t.end,handle:function(t){return n(t.target).is(this)?t.handleObj.handler.apply(this,arguments):undefined}}}function s(){var t,n;if(window.QUnit)return!1;t=document.createElement("bootstrap");for(n in r)if(t.style[n]!==undefined)return{end:r[n]};return!1}function h(t){var u=this,r=!1;n(this).one(i.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||i.triggerTransitionEnd(u)},t),this}function c(){t=s();n.fn.emulateTransitionEnd=h;i.supportsTransitionEnd()&&(n.event.special[i.TRANSITION_END]=o())}var t=!1,u=1e6,r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*u);while(document.getElementById(n));return n},getSelectorFromElement:function(t){var i=t.getAttribute("data-target"),r;i&&i!=="#"||(i=t.getAttribute("href")||"");try{return r=n(i),r.length>0?i:null}catch(u){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(i){n(i).trigger(t.end)},supportsTransitionEnd:function(){return Boolean(t)},typeCheckConfig:function(n,t,i){var r;for(r in i)if(i.hasOwnProperty(r)){var o=i[r],u=t[r],s=u&&e(u)?"element":f(u);if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+": "+('Option "'+r+'" provided type "'+s+'" ')+('but expected type "'+o+'".'));}}};return c(),i}(jQuery),o=function(r){var f="alert",c="4.0.0-beta",e="bs.alert",o="."+e,l=r.fn[f],a=150,s={CLOSE:"close"+o,CLOSED:"closed"+o,CLICK_DATA_API:"click"+o+".data-api"},h={ALERT:"alert",FADE:"fade",SHOW:"show"},u=function(){function u(n){i(this,u);this._element=n}return u.prototype.close=function(n){n=n||this._element;var t=this._getRootElement(n),i=this._triggerCloseEvent(t);i.isDefaultPrevented()||this._removeElement(t)},u.prototype.dispose=function(){r.removeData(this._element,e);this._element=null},u.prototype._getRootElement=function(t){var u=n.getSelectorFromElement(t),i=!1;return u&&(i=r(u)[0]),i||(i=r(t).closest("."+h.ALERT)[0]),i},u.prototype._triggerCloseEvent=function(n){var t=r.Event(s.CLOSE);return r(n).trigger(t),t},u.prototype._removeElement=function(t){var i=this;if(r(t).removeClass(h.SHOW),!n.supportsTransitionEnd()||!r(t).hasClass(h.FADE)){this._destroyElement(t);return}r(t).one(n.TRANSITION_END,function(n){return i._destroyElement(t,n)}).emulateTransitionEnd(a)},u.prototype._destroyElement=function(n){r(n).detach().trigger(s.CLOSED).remove()},u._jQueryInterface=function(n){return this.each(function(){var i=r(this),t=i.data(e);t||(t=new u(this),i.data(e,t));n==="close"&&t[n](this)})},u._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},t(u,null,[{key:"VERSION",get:function(){return c}}]),u}();r(document).on(s.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,u._handleDismiss(new u));return r.fn[f]=u._jQueryInterface,r.fn[f].Constructor=u,r.fn[f].noConflict=function(){return r.fn[f]=l,u._jQueryInterface},u}(jQuery),s=function(n){var f="button",l="4.0.0-beta",o="bs.button",s="."+o,h=".data-api",a=n.fn[f],r={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},u={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},c={CLICK_DATA_API:"click"+s+h,FOCUS_BLUR_DATA_API:"focus"+s+h+" "+("blur"+s+h)},e=function(){function f(n){i(this,f);this._element=n}return f.prototype.toggle=function(){var f=!0,o=!0,i=n(this._element).closest(u.DATA_TOGGLE)[0],t,e;if(i&&(t=n(this._element).find(u.INPUT)[0],t)){if(t.type==="radio"&&(t.checked&&n(this._element).hasClass(r.ACTIVE)?f=!1:(e=n(i).find(u.ACTIVE)[0],e&&n(e).removeClass(r.ACTIVE))),f){if(t.hasAttribute("disabled")||i.hasAttribute("disabled")||t.classList.contains("disabled")||i.classList.contains("disabled"))return;t.checked=!n(this._element).hasClass(r.ACTIVE);n(t).trigger("change")}t.focus();o=!1}o&&this._element.setAttribute("aria-pressed",!n(this._element).hasClass(r.ACTIVE));f&&n(this._element).toggleClass(r.ACTIVE)},f.prototype.dispose=function(){n.removeData(this._element,o);this._element=null},f._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(o);i||(i=new f(this),n(this).data(o,i));t==="toggle"&&i[t]()})},t(f,null,[{key:"VERSION",get:function(){return l}}]),f}();n(document).on(c.CLICK_DATA_API,u.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var i=t.target;n(i).hasClass(r.BUTTON)||(i=n(i).closest(u.BUTTON));e._jQueryInterface.call(n(i),"toggle")}).on(c.FOCUS_BLUR_DATA_API,u.DATA_TOGGLE_CARROT,function(t){var i=n(t.target).closest(u.BUTTON)[0];n(i).toggleClass(r.FOCUS,/^focus(in)?$/.test(t.type))});return n.fn[f]=e._jQueryInterface,n.fn[f].Constructor=e,n.fn[f].noConflict=function(){return n.fn[f]=a,e._jQueryInterface},e}(jQuery),h=function(u){var c="carousel",p="4.0.0-beta",a="bs.carousel",o="."+a,y=".data-api",w=u.fn[c],b=600,k=37,d=39,g=500,v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},nt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},e={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},s={SLIDE:"slide"+o,SLID:"slid"+o,KEYDOWN:"keydown"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o,TOUCHEND:"touchend"+o,LOAD_DATA_API:"load"+o+y,CLICK_DATA_API:"click"+o+y},f={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},h={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},l=function(){function l(n,t){i(this,l);this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(t);this._element=u(n)[0];this._indicatorsElement=u(this._element).find(h.INDICATORS)[0];this._addEventListeners()}return l.prototype.next=function(){this._isSliding||this._slide(e.NEXT)},l.prototype.nextWhenVisible=function(){document.hidden||this.next()},l.prototype.prev=function(){this._isSliding||this._slide(e.PREV)},l.prototype.pause=function(t){t||(this._isPaused=!0);u(this._element).find(h.NEXT_PREV)[0]&&n.supportsTransitionEnd()&&(n.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},l.prototype.cycle=function(n){n||(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))},l.prototype.to=function(n){var r=this,t,i;if(this._activeElement=u(this._element).find(h.ACTIVE_ITEM)[0],t=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){u(this._element).one(s.SLID,function(){return r.to(n)});return}if(t===n){this.pause();this.cycle();return}i=n>t?e.NEXT:e.PREV;this._slide(i,this._items[n])}},l.prototype.dispose=function(){u(this._element).off(o);u.removeData(this._element,a);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},l.prototype._getConfig=function(t){return t=u.extend({},v,t),n.typeCheckConfig(c,t,nt),t},l.prototype._addEventListeners=function(){var n=this;if(this._config.keyboard)u(this._element).on(s.KEYDOWN,function(t){return n._keydown(t)});if(this._config.pause==="hover"){u(this._element).on(s.MOUSEENTER,function(t){return n.pause(t)}).on(s.MOUSELEAVE,function(t){return n.cycle(t)});if("ontouchstart"in document.documentElement)u(this._element).on(s.TOUCHEND,function(){n.pause();n.touchTimeout&&clearTimeout(n.touchTimeout);n.touchTimeout=setTimeout(function(t){return n.cycle(t)},g+n._config.interval)})}},l.prototype._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case k:n.preventDefault();this.prev();break;case d:n.preventDefault();this.next();break;default:return}},l.prototype._getItemIndex=function(n){return this._items=u.makeArray(u(n).parent().find(h.ITEM)),this._items.indexOf(n)},l.prototype._getItemByDirection=function(n,t){var f=n===e.NEXT,o=n===e.PREV,i=this._getItemIndex(t),s=this._items.length-1,h=o&&i===0||f&&i===s,u,r;return h&&!this._config.wrap?t:(u=n===e.PREV?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},l.prototype._triggerSlideEvent=function(n,t){var r=this._getItemIndex(n),f=this._getItemIndex(u(this._element).find(h.ACTIVE_ITEM)[0]),i=u.Event(s.SLIDE,{relatedTarget:n,direction:t,from:f,to:r});return u(this._element).trigger(i),i},l.prototype._setActiveIndicatorElement=function(n){if(this._indicatorsElement){u(this._indicatorsElement).find(h.ACTIVE).removeClass(f.ACTIVE);var t=this._indicatorsElement.children[this._getItemIndex(n)];t&&u(t).addClass(f.ACTIVE)}},l.prototype._slide=function(t,i){var y=this,o=u(this._element).find(h.ACTIVE_ITEM)[0],k=this._getItemIndex(o),r=i||o&&this._getItemByDirection(t,o),d=this._getItemIndex(r),p=Boolean(this._interval),c=void 0,l=void 0,a=void 0,w,v;if(t===e.NEXT?(c=f.LEFT,l=f.NEXT,a=e.LEFT):(c=f.RIGHT,l=f.PREV,a=e.RIGHT),r&&u(r).hasClass(f.ACTIVE)){this._isSliding=!1;return}(w=this._triggerSlideEvent(r,a),w.isDefaultPrevented())||o&&r&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(r),v=u.Event(s.SLID,{relatedTarget:r,direction:a,from:k,to:d}),n.supportsTransitionEnd()&&u(this._element).hasClass(f.SLIDE)?(u(r).addClass(l),n.reflow(r),u(o).addClass(c),u(r).addClass(c),u(o).one(n.TRANSITION_END,function(){u(r).removeClass(c+" "+l).addClass(f.ACTIVE);u(o).removeClass(f.ACTIVE+" "+l+" "+c);y._isSliding=!1;setTimeout(function(){return u(y._element).trigger(v)},0)}).emulateTransitionEnd(b)):(u(o).removeClass(f.ACTIVE),u(r).addClass(f.ACTIVE),this._isSliding=!1,u(this._element).trigger(v)),p&&this.cycle())},l._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(a),f=u.extend({},v,u(this).data()),i;if((typeof n=="undefined"?"undefined":r(n))==="object"&&u.extend(f,n),i=typeof n=="string"?n:f.slide,t||(t=new l(this,f),u(this).data(a,t)),typeof n=="number")t.to(n);else if(typeof i=="string"){if(t[i]===undefined)throw new Error('No method named "'+i+'"');t[i]()}else f.interval&&(t.pause(),t.cycle())})},l._dataApiClickHandler=function(t){var o=n.getSelectorFromElement(this),i,e,r;o&&(i=u(o)[0],i&&u(i).hasClass(f.CAROUSEL))&&(e=u.extend({},u(i).data(),u(this).data()),r=this.getAttribute("data-slide-to"),r&&(e.interval=!1),l._jQueryInterface.call(u(i),e),r&&u(i).data(a).to(r),t.preventDefault())},t(l,null,[{key:"VERSION",get:function(){return p}},{key:"Default",get:function(){return v}}]),l}();u(document).on(s.CLICK_DATA_API,h.DATA_SLIDE,l._dataApiClickHandler);u(window).on(s.LOAD_DATA_API,function(){u(h.DATA_RIDE).each(function(){var n=u(this);l._jQueryInterface.call(n,n.data())})});return u.fn[c]=l._jQueryInterface,u.fn[c].Constructor=l,u.fn[c].noConflict=function(){return u.fn[c]=w,l._jQueryInterface},l}(jQuery),c=function(u){var o="collapse",p="4.0.0-beta",e="bs.collapse",s="."+e,w=u.fn[o],y=600,l={toggle:!0,parent:""},b={toggle:"boolean",parent:"string"},h={SHOW:"show"+s,SHOWN:"shown"+s,HIDE:"hide"+s,HIDDEN:"hidden"+s,CLICK_DATA_API:"click"+s+".data-api"},f={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},a={WIDTH:"width",HEIGHT:"height"},v={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},c=function(){function s(t,r){var e,f,o,h;for(i(this,s),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(r),this._triggerArray=u.makeArray(u('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]'))),e=u(v.DATA_TOGGLE),f=0;f<e.length;f++)o=e[f],h=n.getSelectorFromElement(o),h!==null&&u(h).filter(t).length>0&&this._triggerArray.push(o);this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}return s.prototype.toggle=function(){u(this._element).hasClass(f.SHOW)?this.hide():this.show()},s.prototype.show=function(){var o=this,t,r,c,i,l,a,p;if(!this._isTransitioning&&!u(this._element).hasClass(f.SHOW)&&(t=void 0,r=void 0,this._parent&&(t=u.makeArray(u(this._parent).children().children(v.ACTIVES)),t.length||(t=null)),!t||(r=u(t).data(e),!r||!r._isTransitioning))&&(c=u.Event(h.SHOW),u(this._element).trigger(c),!c.isDefaultPrevented())){if(t&&(s._jQueryInterface.call(u(t),"hide"),r||u(t).data(e,null)),i=this._getDimension(),u(this._element).removeClass(f.COLLAPSE).addClass(f.COLLAPSING),this._element.style[i]=0,this._triggerArray.length&&u(this._triggerArray).removeClass(f.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0),l=function(){u(o._element).removeClass(f.COLLAPSING).addClass(f.COLLAPSE).addClass(f.SHOW);o._element.style[i]="";o.setTransitioning(!1);u(o._element).trigger(h.SHOWN)},!n.supportsTransitionEnd()){l();return}a=i[0].toUpperCase()+i.slice(1);p="scroll"+a;u(this._element).one(n.TRANSITION_END,l).emulateTransitionEnd(y);this._element.style[i]=this._element[p]+"px"}},s.prototype.hide=function(){var c=this,r,t,i,e,o,l,s;if(!this._isTransitioning&&u(this._element).hasClass(f.SHOW)&&(r=u.Event(h.HIDE),u(this._element).trigger(r),!r.isDefaultPrevented())){if(t=this._getDimension(),this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",n.reflow(this._element),u(this._element).addClass(f.COLLAPSING).removeClass(f.COLLAPSE).removeClass(f.SHOW),this._triggerArray.length)for(i=0;i<this._triggerArray.length;i++)e=this._triggerArray[i],o=n.getSelectorFromElement(e),o!==null&&(l=u(o),l.hasClass(f.SHOW)||u(e).addClass(f.COLLAPSED).attr("aria-expanded",!1));if(this.setTransitioning(!0),s=function(){c.setTransitioning(!1);u(c._element).removeClass(f.COLLAPSING).addClass(f.COLLAPSE).trigger(h.HIDDEN)},this._element.style[t]="",!n.supportsTransitionEnd()){s();return}u(this._element).one(n.TRANSITION_END,s).emulateTransitionEnd(y)}},s.prototype.setTransitioning=function(n){this._isTransitioning=n},s.prototype.dispose=function(){u.removeData(this._element,e);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},s.prototype._getConfig=function(t){return t=u.extend({},l,t),t.toggle=Boolean(t.toggle),n.typeCheckConfig(o,t,b),t},s.prototype._getDimension=function(){var n=u(this._element).hasClass(a.WIDTH);return n?a.WIDTH:a.HEIGHT},s.prototype._getParent=function(){var t=this,n=u(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return u(n).find(i).each(function(n,i){t._addAriaAndCollapsedClass(s._getTargetFromElement(i),[i])}),n},s.prototype._addAriaAndCollapsedClass=function(n,t){if(n){var i=u(n).hasClass(f.SHOW);t.length&&u(t).toggleClass(f.COLLAPSED,!i).attr("aria-expanded",i)}},s._getTargetFromElement=function(t){var i=n.getSelectorFromElement(t);return i?u(i)[0]:null},s._jQueryInterface=function(n){return this.each(function(){var i=u(this),t=i.data(e),f=u.extend({},l,i.data(),(typeof n=="undefined"?"undefined":r(n))==="object"&&n);if(!t&&f.toggle&&/show|hide/.test(n)&&(f.toggle=!1),t||(t=new s(this,f),i.data(e,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(s,null,[{key:"VERSION",get:function(){return p}},{key:"Default",get:function(){return l}}]),s}();u(document).on(h.CLICK_DATA_API,v.DATA_TOGGLE,function(t){/input|textarea/i.test(t.target.tagName)||t.preventDefault();var i=u(this),r=n.getSelectorFromElement(this);u(r).each(function(){var n=u(this),t=n.data(e),r=t?"toggle":i.data();c._jQueryInterface.call(n,r)})});return u.fn[o]=c._jQueryInterface,u.fn[o].Constructor=c,u.fn[o].noConflict=function(){return u.fn[o]=w,c._jQueryInterface},c}(jQuery),l=function(u){if(typeof Popper=="undefined")throw new Error("Bootstrap dropdown require Popper.js (https://popper.js.org)");var c="dropdown",d="4.0.0-beta",a="bs.dropdown",o="."+a,y=".data-api",g=u.fn[c],v=27,p=32,w=9,b=38,k=40,nt=3,tt=new RegExp(b+"|"+k+"|"+v),e={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK:"click"+o,CLICK_DATA_API:"click"+o+y,KEYDOWN_DATA_API:"keydown"+o+y,KEYUP_DATA_API:"keyup"+o+y},f={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left"},s={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled)"},l={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end"},it={placement:l.BOTTOM,offset:0,flip:!0},rt={placement:"string",offset:"(number|string)",flip:"boolean"},h=function(){function h(n,t){i(this,h);this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}return h.prototype.toggle=function(){var n,o,t,i,r;if(!this._element.disabled&&!u(this._element).hasClass(f.DISABLED)&&(n=h._getParentFromElement(this._element),o=u(this._menu).hasClass(f.SHOW),h._clearMenus(),!o)&&(t={relatedTarget:this._element},i=u.Event(e.SHOW,t),u(n).trigger(i),!i.isDefaultPrevented())){if(r=this._element,u(n).hasClass(f.DROPUP)&&(u(this._menu).hasClass(f.MENULEFT)||u(this._menu).hasClass(f.MENURIGHT))&&(r=n),this._popper=new Popper(r,this._menu,this._getPopperConfig()),"ontouchstart"in document.documentElement&&!u(n).closest(s.NAVBAR_NAV).length)u("body").children().on("mouseover",null,u.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);u(this._menu).toggleClass(f.SHOW);u(n).toggleClass(f.SHOW).trigger(u.Event(e.SHOWN,t))}},h.prototype.dispose=function(){u.removeData(this._element,a);u(this._element).off(o);this._element=null;this._menu=null;this._popper!==null&&this._popper.destroy();this._popper=null},h.prototype.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},h.prototype._addEventListeners=function(){var n=this;u(this._element).on(e.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},h.prototype._getConfig=function(t){var i=u(this._element).data();return i.placement!==undefined&&(i.placement=l[i.placement.toUpperCase()]),t=u.extend({},this.constructor.Default,u(this._element).data(),t),n.typeCheckConfig(c,t,this.constructor.DefaultType),t},h.prototype._getMenuElement=function(){if(!this._menu){var n=h._getParentFromElement(this._element);this._menu=u(n).find(s.MENU)[0]}return this._menu},h.prototype._getPlacement=function(){var t=u(this._element).parent(),n=this._config.placement;return t.hasClass(f.DROPUP)||this._config.placement===l.TOP?(n=l.TOP,u(this._menu).hasClass(f.MENURIGHT)&&(n=l.TOPEND)):u(this._menu).hasClass(f.MENURIGHT)&&(n=l.BOTTOMEND),n},h.prototype._detectNavbar=function(){return u(this._element).closest(".navbar").length>0},h.prototype._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:{offset:this._config.offset},flip:{enabled:this._config.flip}}};return this._inNavbar&&(n.modifiers.applyStyle={enabled:!this._inNavbar}),n},h._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(a),i=(typeof n=="undefined"?"undefined":r(n))==="object"?n:null;if(t||(t=new h(this,i),u(this).data(a,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},h._clearMenus=function(n){var i,t,v,o;if(!n||n.which!==nt&&(n.type!=="keyup"||n.which===w))for(i=u.makeArray(u(s.DATA_TOGGLE)),t=0;t<i.length;t++){var r=h._getParentFromElement(i[t]),c=u(i[t]).data(a),l={relatedTarget:i[t]};c&&(v=c._menu,u(r).hasClass(f.SHOW))&&(n&&(n.type==="click"&&/input|textarea/i.test(n.target.tagName)||n.type==="keyup"&&n.which===w)&&u.contains(r,n.target)||(o=u.Event(e.HIDE,l),u(r).trigger(o),o.isDefaultPrevented())||("ontouchstart"in document.documentElement&&u("body").children().off("mouseover",null,u.noop),i[t].setAttribute("aria-expanded","false"),u(v).removeClass(f.SHOW),u(r).removeClass(f.SHOW).trigger(u.Event(e.HIDDEN,l))))}},h._getParentFromElement=function(t){var i=void 0,r=n.getSelectorFromElement(t);return r&&(i=u(r)[0]),i||t.parentNode},h._dataApiKeydownHandler=function(n){var r,e,o,i,t;if(tt.test(n.which)&&(!/button/i.test(n.target.tagName)||n.which!==p)&&!/input|textarea/i.test(n.target.tagName)&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!u(this).hasClass(f.DISABLED))){if(r=h._getParentFromElement(this),e=u(r).hasClass(f.SHOW),!e&&(n.which!==v||n.which!==p)||e&&(n.which===v||n.which===p)){n.which===v&&(o=u(r).find(s.DATA_TOGGLE)[0],u(o).trigger("focus"));u(this).trigger("click");return}(i=u(r).find(s.VISIBLE_ITEMS).get(),i.length)&&(t=i.indexOf(n.target),n.which===b&&t>0&&t--,n.which===k&&t<i.length-1&&t++,t<0&&(t=0),i[t].focus())}},t(h,null,[{key:"VERSION",get:function(){return d}},{key:"Default",get:function(){return it}},{key:"DefaultType",get:function(){return rt}}]),h}();u(document).on(e.KEYDOWN_DATA_API,s.DATA_TOGGLE,h._dataApiKeydownHandler).on(e.KEYDOWN_DATA_API,s.MENU,h._dataApiKeydownHandler).on(e.CLICK_DATA_API+" "+e.KEYUP_DATA_API,h._clearMenus).on(e.CLICK_DATA_API,s.DATA_TOGGLE,function(n){n.preventDefault();n.stopPropagation();h._jQueryInterface.call(u(this),"toggle")}).on(e.CLICK_DATA_API,s.FORM_CHILD,function(n){n.stopPropagation()});return u.fn[c]=h._jQueryInterface,u.fn[c].Constructor=h,u.fn[c].noConflict=function(){return u.fn[c]=g,h._jQueryInterface},h}(jQuery),a=function(u){var h="modal",p="4.0.0-beta",c="bs.modal",o="."+c,w=u.fn[h],a=300,v=150,b=27,y={backdrop:!0,keyboard:!0,focus:!0,show:!0},k={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},f={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,FOCUSIN:"focusin"+o,RESIZE:"resize"+o,CLICK_DISMISS:"click.dismiss"+o,KEYDOWN_DISMISS:"keydown.dismiss"+o,MOUSEUP_DISMISS:"mouseup.dismiss"+o,MOUSEDOWN_DISMISS:"mousedown.dismiss"+o,CLICK_DATA_API:"click"+o+".data-api"},e={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},s={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},l=function(){function l(n,t){i(this,l);this._config=this._getConfig(t);this._element=n;this._dialog=u(n).find(s.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._originalBodyPadding=0;this._scrollbarWidth=0}return l.prototype.toggle=function(n){return this._isShown?this.hide():this.show(n)},l.prototype.show=function(t){var i=this,r;if(!this._isTransitioning&&(n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE)&&(this._isTransitioning=!0),r=u.Event(f.SHOW,{relatedTarget:t}),u(this._element).trigger(r),!this._isShown&&!r.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();u(document.body).addClass(e.OPEN);this._setEscapeEvent();this._setResizeEvent();u(this._element).on(f.CLICK_DISMISS,s.DATA_DISMISS,function(n){return i.hide(n)});u(this._dialog).on(f.MOUSEDOWN_DISMISS,function(){u(i._element).one(f.MOUSEUP_DISMISS,function(n){u(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(t)})}},l.prototype.hide=function(t){var o=this,i,r;(t&&t.preventDefault(),!this._isTransitioning&&this._isShown)&&(i=n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE),i&&(this._isTransitioning=!0),r=u.Event(f.HIDE),u(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented())&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),u(document).off(f.FOCUSIN),u(this._element).removeClass(e.SHOW),u(this._element).off(f.CLICK_DISMISS),u(this._dialog).off(f.MOUSEDOWN_DISMISS),i?u(this._element).one(n.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(a):this._hideModal())},l.prototype.dispose=function(){u.removeData(this._element,c);u(window,document,this._element,this._backdrop).off(o);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},l.prototype.handleUpdate=function(){this._adjustDialog()},l.prototype._getConfig=function(t){return t=u.extend({},y,t),n.typeCheckConfig(h,t,k),t},l.prototype._showElement=function(t){var i=this,o=n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE),s,r;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;o&&n.reflow(this._element);u(this._element).addClass(e.SHOW);this._config.focus&&this._enforceFocus();s=u.Event(f.SHOWN,{relatedTarget:t});r=function(){i._config.focus&&i._element.focus();i._isTransitioning=!1;u(i._element).trigger(s)};o?u(this._dialog).one(n.TRANSITION_END,r).emulateTransitionEnd(a):r()},l.prototype._enforceFocus=function(){var n=this;u(document).off(f.FOCUSIN).on(f.FOCUSIN,function(t){document===t.target||n._element===t.target||u(n._element).has(t.target).length||n._element.focus()})},l.prototype._setEscapeEvent=function(){var n=this;if(this._isShown&&this._config.keyboard)u(this._element).on(f.KEYDOWN_DISMISS,function(t){t.which===b&&(t.preventDefault(),n.hide())});else this._isShown||u(this._element).off(f.KEYDOWN_DISMISS)},l.prototype._setResizeEvent=function(){var n=this;if(this._isShown)u(window).on(f.RESIZE,function(t){return n.handleUpdate(t)});else u(window).off(f.RESIZE)},l.prototype._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){u(document.body).removeClass(e.OPEN);n._resetAdjustments();n._resetScrollbar();u(n._element).trigger(f.HIDDEN)})},l.prototype._removeBackdrop=function(){this._backdrop&&(u(this._backdrop).remove(),this._backdrop=null)},l.prototype._showBackdrop=function(t){var i=this,r=u(this._element).hasClass(e.FADE)?e.FADE:"",o,s;if(this._isShown&&this._config.backdrop){o=n.supportsTransitionEnd()&&r;this._backdrop=document.createElement("div");this._backdrop.className=e.BACKDROP;r&&u(this._backdrop).addClass(r);u(this._backdrop).appendTo(document.body);u(this._element).on(f.CLICK_DISMISS,function(n){if(i._ignoreBackdropClick){i._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(i._config.backdrop==="static"?i._element.focus():i.hide())});if(o&&n.reflow(this._backdrop),u(this._backdrop).addClass(e.SHOW),!t)return;if(!o){t();return}u(this._backdrop).one(n.TRANSITION_END,t).emulateTransitionEnd(v)}else!this._isShown&&this._backdrop?(u(this._backdrop).removeClass(e.SHOW),s=function(){i._removeBackdrop();t&&t()},n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE)?u(this._backdrop).one(n.TRANSITION_END,s).emulateTransitionEnd(v):s()):t&&t()},l.prototype._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},l.prototype._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},l.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},l.prototype._setScrollbar=function(){var n=this,t,i;this._isBodyOverflowing&&(u(s.FIXED_CONTENT).each(function(t,i){var r=u(i)[0].style.paddingRight,f=u(i).css("padding-right");u(i).data("padding-right",r).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),u(s.NAVBAR_TOGGLER).each(function(t,i){var r=u(i)[0].style.marginRight,f=u(i).css("margin-right");u(i).data("margin-right",r).css("margin-right",parseFloat(f)+n._scrollbarWidth+"px")}),t=document.body.style.paddingRight,i=u("body").css("padding-right"),u("body").data("padding-right",t).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px"))},l.prototype._resetScrollbar=function(){u(s.FIXED_CONTENT).each(function(n,t){var i=u(t).data("padding-right");typeof i!="undefined"&&u(t).css("padding-right",i).removeData("padding-right")});u(s.NAVBAR_TOGGLER).each(function(n,t){var i=u(t).data("margin-right");typeof i!="undefined"&&u(t).css("margin-right",i).removeData("margin-right")});var n=u("body").data("padding-right");typeof n!="undefined"&&u("body").css("padding-right",n).removeData("padding-right")},l.prototype._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=e.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},l._jQueryInterface=function(n,t){return this.each(function(){var i=u(this).data(c),f=u.extend({},l.Default,u(this).data(),(typeof n=="undefined"?"undefined":r(n))==="object"&&n);if(i||(i=new l(this,f),u(this).data(c,i)),typeof n=="string"){if(i[n]===undefined)throw new Error('No method named "'+n+'"');i[n](t)}else f.show&&i.show(t)})},t(l,null,[{key:"VERSION",get:function(){return p}},{key:"Default",get:function(){return y}}]),l}();u(document).on(f.CLICK_DATA_API,s.DATA_TOGGLE,function(t){var r=this,i=void 0,e=n.getSelectorFromElement(this),o,s;e&&(i=u(e)[0]);o=u(i).data(c)?"toggle":u.extend({},u(i).data(),u(this).data());(this.tagName==="A"||this.tagName==="AREA")&&t.preventDefault();s=u(i).one(f.SHOW,function(n){if(!n.isDefaultPrevented())s.one(f.HIDDEN,function(){u(r).is(":visible")&&r.focus()})});l._jQueryInterface.call(u(i),o,this)});return u.fn[h]=l._jQueryInterface,u.fn[h].Constructor=l,u.fn[h].noConflict=function(){return u.fn[h]=w,l._jQueryInterface},l}(jQuery),v=function(u){var e="scrollspy",y="4.0.0-beta",h="bs.scrollspy",c="."+h,p=u.fn[e],v={offset:10,method:"auto",target:""},w={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate"+c,SCROLL:"scroll"+c,LOAD_DATA_API:"load"+c+".data-api"},o={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},f={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},a={OFFSET:"offset",POSITION:"position"},s=function(){function s(n,t){var r=this;i(this,s);this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(t);this._selector=this._config.target+" "+f.NAV_LINKS+","+(this._config.target+" "+f.LIST_ITEMS+",")+(this._config.target+" "+f.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;u(this._scrollElement).on(l.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}return s.prototype.refresh=function(){var t=this,f=this._scrollElement!==this._scrollElement.window?a.POSITION:a.OFFSET,i=this._config.method==="auto"?f:this._config.method,e=i===a.POSITION?this._getScrollTop():0,r;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();r=u.makeArray(u(this._selector));r.map(function(t){var r=void 0,f=n.getSelectorFromElement(t),o;return(f&&(r=u(f)[0]),r&&(o=r.getBoundingClientRect(),o.width||o.height))?[u(r)[i]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(n){t._offsets.push(n[0]);t._targets.push(n[1])})},s.prototype.dispose=function(){u.removeData(this._element,h);u(this._scrollElement).off(c);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},s.prototype._getConfig=function(t){if(t=u.extend({},v,t),typeof t.target!="string"){var i=u(t.target).attr("id");i||(i=n.getUID(e),u(t.target).attr("id",i));t.target="#"+i}return n.typeCheckConfig(e,t,w),t},s.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},s.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},s.prototype._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},s.prototype._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),f=this._config.offset+r-this._getOffsetHeight(),i,n,u;if(this._scrollHeight!==r&&this.refresh(),t>=f){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(n=this._offsets.length;n--;)u=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(this._offsets[n+1]===undefined||t<this._offsets[n+1]),u&&this._activate(this._targets[n])},s.prototype._activate=function(n){var i,t;this._activeTarget=n;this._clear();i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+n+'"],'+(t+'[href="'+n+'"]')});t=u(i.join(","));t.hasClass(o.DROPDOWN_ITEM)?(t.closest(f.DROPDOWN).find(f.DROPDOWN_TOGGLE).addClass(o.ACTIVE),t.addClass(o.ACTIVE)):(t.addClass(o.ACTIVE),t.parents(f.NAV_LIST_GROUP).prev(f.NAV_LINKS+", "+f.LIST_ITEMS).addClass(o.ACTIVE));u(this._scrollElement).trigger(l.ACTIVATE,{relatedTarget:n})},s.prototype._clear=function(){u(this._selector).filter(f.ACTIVE).removeClass(o.ACTIVE)},s._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(h),i=(typeof n=="undefined"?"undefined":r(n))==="object"&&n;if(t||(t=new s(this,i),u(this).data(h,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(s,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return v}}]),s}();u(window).on(l.LOAD_DATA_API,function(){for(var i=u.makeArray(u(f.DATA_SPY)),t,n=i.length;n--;)t=u(i[n]),s._jQueryInterface.call(t,t.data())});return u.fn[e]=s._jQueryInterface,u.fn[e].Constructor=s,u.fn[e].noConflict=function(){return u.fn[e]=p,s._jQueryInterface},s}(jQuery),y=function(r){var e="tab",l="4.0.0-beta",c="bs.tab",o="."+c,a=r.fn[e],v=150,s={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK_DATA_API:"click"+o+".data-api"},u={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},f={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},h=function(){function e(n){i(this,e);this._element=n}return e.prototype.show=function(){var l=this,o,h,c;if((!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!r(this._element).hasClass(u.ACTIVE))&&!r(this._element).hasClass(u.DISABLED)){var i=void 0,t=void 0,e=r(this._element).closest(f.NAV_LIST_GROUP)[0],a=n.getSelectorFromElement(this._element);(e&&(t=r.makeArray(r(e).find(f.ACTIVE)),t=t[t.length-1]),o=r.Event(s.HIDE,{relatedTarget:this._element}),h=r.Event(s.SHOW,{relatedTarget:t}),t&&r(t).trigger(o),r(this._element).trigger(h),h.isDefaultPrevented()||o.isDefaultPrevented())||(a&&(i=r(a)[0]),this._activate(this._element,e),c=function(){var n=r.Event(s.HIDDEN,{relatedTarget:l._element}),i=r.Event(s.SHOWN,{relatedTarget:t});r(t).trigger(n);r(l._element).trigger(i)},i?this._activate(i,i.parentNode,c):c())}},e.prototype.dispose=function(){r.removeData(this._element,c);this._element=null},e.prototype._activate=function(t,i,e){var c=this,o=r(i).find(f.ACTIVE)[0],s=e&&n.supportsTransitionEnd()&&o&&r(o).hasClass(u.FADE),h=function(){return c._transitionComplete(t,o,s,e)};o&&s?r(o).one(n.TRANSITION_END,h).emulateTransitionEnd(v):h();o&&r(o).removeClass(u.SHOW)},e.prototype._transitionComplete=function(t,i,e,o){var s,h;i&&(r(i).removeClass(u.ACTIVE),s=r(i.parentNode).find(f.DROPDOWN_ACTIVE_CHILD)[0],s&&r(s).removeClass(u.ACTIVE),i.setAttribute("aria-expanded",!1));r(t).addClass(u.ACTIVE);t.setAttribute("aria-expanded",!0);e?(n.reflow(t),r(t).addClass(u.SHOW)):r(t).removeClass(u.FADE);t.parentNode&&r(t.parentNode).hasClass(u.DROPDOWN_MENU)&&(h=r(t).closest(f.DROPDOWN)[0],h&&r(h).find(f.DROPDOWN_TOGGLE).addClass(u.ACTIVE),t.setAttribute("aria-expanded",!0));o&&o()},e._jQueryInterface=function(n){return this.each(function(){var i=r(this),t=i.data(c);if(t||(t=new e(this),i.data(c,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(e,null,[{key:"VERSION",get:function(){return l}}]),e}();r(document).on(s.CLICK_DATA_API,f.DATA_TOGGLE,function(n){n.preventDefault();h._jQueryInterface.call(r(this),"show")});return r.fn[e]=h._jQueryInterface,r.fn[e].Constructor=h,r.fn[e].noConflict=function(){return r.fn[e]=a,h._jQueryInterface},h}(jQuery),u=function(u){if(typeof Popper=="undefined")throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)");var h="tooltip",y="4.0.0-beta",c="bs.tooltip",f="."+c,p=u.fn[h],w=150,a="bs-tooltip",b=new RegExp("(^|\\s)"+a+"\\S+","g"),k={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)"},d={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},g={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:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip"},s={SHOW:"show",OUT:"out"},nt={HIDE:"hide"+f,HIDDEN:"hidden"+f,SHOW:"show"+f,SHOWN:"shown"+f,INSERTED:"inserted"+f,CLICK:"click"+f,FOCUSIN:"focusin"+f,FOCUSOUT:"focusout"+f,MOUSEENTER:"mouseenter"+f,MOUSELEAVE:"mouseleave"+f},e={FADE:"fade",SHOW:"show"},v={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},o={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},l=function(){function l(n,t){i(this,l);this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}return l.prototype.enable=function(){this._isEnabled=!0},l.prototype.disable=function(){this._isEnabled=!1},l.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},l.prototype.toggle=function(n){if(n){var i=this.constructor.DATA_KEY,t=u(n.currentTarget).data(i);t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(u(this.getTipElement()).hasClass(e.SHOW)){this._leave(null,this);return}this._enter(null,this)}},l.prototype.dispose=function(){clearTimeout(this._timeout);u.removeData(this.element,this.constructor.DATA_KEY);u(this.element).off(this.constructor.EVENT_KEY);u(this.element).closest(".modal").off("hide.bs.modal");this.tip&&u(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper!==null&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},l.prototype.show=function(){var t=this,r,c,i,f,a,o,y,h;if(u(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(r=u.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(u(this.element).trigger(r),c=u.contains(this.element.ownerDocument.documentElement,this.element),r.isDefaultPrevented()||!c)return;if(i=this.getTipElement(),f=n.getUID(this.constructor.NAME),i.setAttribute("id",f),this.element.setAttribute("aria-describedby",f),this.setContent(),this.config.animation&&u(i).addClass(e.FADE),a=typeof this.config.placement=="function"?this.config.placement.call(this,i,this.element):this.config.placement,o=this._getAttachment(a),this.addAttachmentClass(o),y=this.config.container===!1?document.body:u(this.config.container),u(i).data(this.constructor.DATA_KEY,this),u.contains(this.element.ownerDocument.documentElement,this.tip)||u(i).appendTo(y),u(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Popper(this.element,i,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:v.ARROW}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}}),u(i).addClass(e.SHOW),"ontouchstart"in document.documentElement)u("body").children().on("mouseover",null,u.noop);h=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null;u(t.element).trigger(t.constructor.Event.SHOWN);n===s.OUT&&t._leave(null,t)};n.supportsTransitionEnd()&&u(this.tip).hasClass(e.FADE)?u(this.tip).one(n.TRANSITION_END,h).emulateTransitionEnd(l._TRANSITION_DURATION):h()}},l.prototype.hide=function(t){var i=this,r=this.getTipElement(),f=u.Event(this.constructor.Event.HIDE),h=function(){i._hoverState!==s.SHOW&&r.parentNode&&r.parentNode.removeChild(r);i._cleanTipClass();i.element.removeAttribute("aria-describedby");u(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();t&&t()};(u(this.element).trigger(f),f.isDefaultPrevented())||(u(r).removeClass(e.SHOW),"ontouchstart"in document.documentElement&&u("body").children().off("mouseover",null,u.noop),this._activeTrigger[o.CLICK]=!1,this._activeTrigger[o.FOCUS]=!1,this._activeTrigger[o.HOVER]=!1,n.supportsTransitionEnd()&&u(this.tip).hasClass(e.FADE)?u(r).one(n.TRANSITION_END,h).emulateTransitionEnd(w):h(),this._hoverState="")},l.prototype.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},l.prototype.isWithContent=function(){return Boolean(this.getTitle())},l.prototype.addAttachmentClass=function(n){u(this.getTipElement()).addClass(a+"-"+n)},l.prototype.getTipElement=function(){return this.tip=this.tip||u(this.config.template)[0]},l.prototype.setContent=function(){var n=u(this.getTipElement());this.setElementContent(n.find(v.TOOLTIP_INNER),this.getTitle());n.removeClass(e.FADE+" "+e.SHOW)},l.prototype.setElementContent=function(n,t){var i=this.config.html;(typeof t=="undefined"?"undefined":r(t))==="object"&&(t.nodeType||t.jquery)?i?u(t).parent().is(n)||n.empty().append(t):n.text(u(t).text()):n[i?"html":"text"](t)},l.prototype.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},l.prototype._getAttachment=function(n){return d[n.toUpperCase()]},l.prototype._setListeners=function(){var n=this,t=this.config.trigger.split(" ");t.forEach(function(t){if(t==="click")u(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==o.MANUAL){var i=t===o.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,r=t===o.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;u(n.element).on(i,n.config.selector,function(t){return n._enter(t)}).on(r,n.config.selector,function(t){return n._leave(t)})}u(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});this.config.selector?this.config=u.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},l.prototype._fixTitle=function(){var n=r(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},l.prototype._enter=function(n,t){var i=this.constructor.DATA_KEY;if(t=t||u(n.currentTarget).data(i),t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t)),n&&(t._activeTrigger[n.type==="focusin"?o.FOCUS:o.HOVER]=!0),u(t.getTipElement()).hasClass(e.SHOW)||t._hoverState===s.SHOW){t._hoverState=s.SHOW;return}if(clearTimeout(t._timeout),t._hoverState=s.SHOW,!t.config.delay||!t.config.delay.show){t.show();return}t._timeout=setTimeout(function(){t._hoverState===s.SHOW&&t.show()},t.config.delay.show)},l.prototype._leave=function(n,t){var i=this.constructor.DATA_KEY;if(t=t||u(n.currentTarget).data(i),t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t)),n&&(t._activeTrigger[n.type==="focusout"?o.FOCUS:o.HOVER]=!1),!t._isWithActiveTrigger()){if(clearTimeout(t._timeout),t._hoverState=s.OUT,!t.config.delay||!t.config.delay.hide){t.hide();return}t._timeout=setTimeout(function(){t._hoverState===s.OUT&&t.hide()},t.config.delay.hide)}},l.prototype._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},l.prototype._getConfig=function(t){return t=u.extend({},this.constructor.Default,u(this.element).data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t.title&&typeof t.title=="number"&&(t.title=t.title.toString()),t.content&&typeof t.content=="number"&&(t.content=t.content.toString()),n.typeCheckConfig(h,t,this.constructor.DefaultType),t},l.prototype._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},l.prototype._cleanTipClass=function(){var t=u(this.getTipElement()),n=t.attr("class").match(b);n!==null&&n.length>0&&t.removeClass(n.join(""))},l.prototype._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},l.prototype._fixTransition=function(){var n=this.getTipElement(),t=this.config.animation;n.getAttribute("x-placement")===null&&(u(n).removeClass(e.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},l._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(c),i=(typeof n=="undefined"?"undefined":r(n))==="object"&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new l(this,i),u(this).data(c,t)),typeof n=="string")){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(l,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return g}},{key:"NAME",get:function(){return h}},{key:"DATA_KEY",get:function(){return c}},{key:"Event",get:function(){return nt}},{key:"EVENT_KEY",get:function(){return f}},{key:"DefaultType",get:function(){return k}}]),l}();return u.fn[h]=l._jQueryInterface,u.fn[h].Constructor=l,u.fn[h].noConflict=function(){return u.fn[h]=p,l._jQueryInterface},l}(jQuery),p=function(n){var s="popover",y="4.0.0-beta",h="bs.popover",o="."+h,p=n.fn[s],l="bs-popover",w=new RegExp("(^|\\s)"+l+"\\S+","g"),b=n.extend({},u.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>'}),k=n.extend({},u.DefaultType,{content:"(string|element|function)"}),a={FADE:"fade",SHOW:"show"},v={TITLE:".popover-header",CONTENT:".popover-body"},d={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,INSERTED:"inserted"+o,CLICK:"click"+o,FOCUSIN:"focusin"+o,FOCUSOUT:"focusout"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o},c=function(u){function c(){return i(this,c),f(this,u.apply(this,arguments))}return e(c,u),c.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},c.prototype.addAttachmentClass=function(t){n(this.getTipElement()).addClass(l+"-"+t)},c.prototype.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0]},c.prototype.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(v.TITLE),this.getTitle());this.setElementContent(t.find(v.CONTENT),this._getContent());t.removeClass(a.FADE+" "+a.SHOW)},c.prototype._getContent=function(){return this.element.getAttribute("data-content")||(typeof this.config.content=="function"?this.config.content.call(this.element):this.config.content)},c.prototype._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);t!==null&&t.length>0&&i.removeClass(t.join(""))},c._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(h),u=(typeof t=="undefined"?"undefined":r(t))==="object"?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new c(this,u),n(this).data(h,i)),typeof t=="string")){if(i[t]===undefined)throw new Error('No method named "'+t+'"');i[t]()}})},t(c,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return b}},{key:"NAME",get:function(){return s}},{key:"DATA_KEY",get:function(){return h}},{key:"Event",get:function(){return d}},{key:"EVENT_KEY",get:function(){return o}},{key:"DefaultType",get:function(){return k}}]),c}(u);return n.fn[s]=c._jQueryInterface,n.fn[s].Constructor=c,n.fn[s].noConflict=function(){return n.fn[s]=p,c._jQueryInterface},c}(jQuery)}(),function(n){"use strict";n.fn.filestyle=function(t){if(typeof t=="object"||typeof t=="undefined")return t=n.extend({buttonText:"Choose file",textField:!0,icon:!1,classButton:"",classText:"",classIcon:"fa fa-folder-open"},t),this.each(function(){var i=n(this);i.data("filestyle",!0);i.css({position:"fixed",top:"-100px",left:"-100px"}).parent().addClass("form-search").append((t.textField?'<input type="text" class="'+t.classText+'" disabled size="40" /> ':"")+'<button type="button" class="btn '+t.classButton+'" >'+(t.icon?'<i class="'+t.classIcon+'"><\/i> ':"")+t.buttonText+"<\/button>");i.change(function(){i.parent().children(":text").val(n(this).val().split("\\").pop())});i.parent().children(":button").click(function(){i.click()})});return this.each(function(){var i=n(this);i.data("filestyle")===!0&&t==="clear"?(i.parent().children(":text").val(""),i.val("")):window.console.error("Method filestyle not defined!")})}}(jQuery)