/*! * bootstrap v4.0.0-beta.2 (https://getbootstrap.com) * copyright 2011-2017 the bootstrap authors (https://github.com/twbs/bootstrap/graphs/contributors) * licensed under mit (https://github.com/twbs/bootstrap/blob/master/license) */ var bootstrap=function(t,e,n){"use strict";function i(t,e){for(var n=0;n0?n:null}catch(t){return null}},reflow:function(t){return t.offsetheight},triggertransitionend:function(t){e(t).trigger(r.end)},supportstransitionend:function(){return boolean(r)},iselement:function(t){return(t[0]||t).nodetype},typecheckconfig:function(e,n,i){for(var s in i)if(object.prototype.hasownproperty.call(i,s)){var r=i[s],o=n[s],l=o&&a.iselement(o)?"element":t(o);if(!new regexp(r).test(l))throw new error(e.touppercase()+': option "'+s+'" provided type "'+l+'" but expected type "'+r+'".')}}};return r=i(),e.fn.emulatetransitionend=s,a.supportstransitionend()&&(e.event.special[a.transition_end]=n()),a}(),r=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t},o=function(t,e){t.prototype=object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e},a=function(){var t="alert",n=e.fn[t],i={close:"close.bs.alert",closed:"closed.bs.alert",click_data_api:"click.bs.alert.data-api"},o={alert:"alert",fade:"fade",show:"show"},a=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){t=t||this._element;var e=this._getrootelement(t);this._triggercloseevent(e).isdefaultprevented()||this._removeelement(e)},n.dispose=function(){e.removedata(this._element,"bs.alert"),this._element=null},n._getrootelement=function(t){var n=s.getselectorfromelement(t),i=!1;return n&&(i=e(n)[0]),i||(i=e(t).closest("."+o.alert)[0]),i},n._triggercloseevent=function(t){var n=e.event(i.close);return e(t).trigger(n),n},n._removeelement=function(t){var n=this;e(t).removeclass(o.show),s.supportstransitionend()&&e(t).hasclass(o.fade)?e(t).one(s.transition_end,function(e){return n._destroyelement(t,e)}).emulatetransitionend(150):this._destroyelement(t)},n._destroyelement=function(t){e(t).detach().trigger(i.closed).remove()},t._jqueryinterface=function(n){return this.each(function(){var i=e(this),s=i.data("bs.alert");s||(s=new t(this),i.data("bs.alert",s)),"close"===n&&s[n](this)})},t._handledismiss=function(t){return function(e){e&&e.preventdefault(),t.close(this)}},r(t,null,[{key:"version",get:function(){return"4.0.0-beta.2"}}]),t}();return e(document).on(i.click_data_api,{dismiss:'[data-dismiss="alert"]'}.dismiss,a._handledismiss(new a)),e.fn[t]=a._jqueryinterface,e.fn[t].constructor=a,e.fn[t].noconflict=function(){return e.fn[t]=n,a._jqueryinterface},a}(),l=function(){var t="button",n=e.fn[t],i={active:"active",button:"btn",focus:"focus"},s={data_toggle_carrot:'[data-toggle^="button"]',data_toggle:'[data-toggle="buttons"]',input:"input",active:".active",button:".btn"},o={click_data_api:"click.bs.button.data-api",focus_blur_data_api:"focus.bs.button.data-api blur.bs.button.data-api"},a=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,r=e(this._element).closest(s.data_toggle)[0];if(r){var o=e(this._element).find(s.input)[0];if(o){if("radio"===o.type)if(o.checked&&e(this._element).hasclass(i.active))t=!1;else{var a=e(r).find(s.active)[0];a&&e(a).removeclass(i.active)}if(t){if(o.hasattribute("disabled")||r.hasattribute("disabled")||o.classlist.contains("disabled")||r.classlist.contains("disabled"))return;o.checked=!e(this._element).hasclass(i.active),e(o).trigger("change")}o.focus(),n=!1}}n&&this._element.setattribute("aria-pressed",!e(this._element).hasclass(i.active)),t&&e(this._element).toggleclass(i.active)},n.dispose=function(){e.removedata(this._element,"bs.button"),this._element=null},t._jqueryinterface=function(n){return this.each(function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()})},r(t,null,[{key:"version",get:function(){return"4.0.0-beta.2"}}]),t}();return e(document).on(o.click_data_api,s.data_toggle_carrot,function(t){t.preventdefault();var n=t.target;e(n).hasclass(i.button)||(n=e(n).closest(s.button)),a._jqueryinterface.call(e(n),"toggle")}).on(o.focus_blur_data_api,s.data_toggle_carrot,function(t){var n=e(t.target).closest(s.button)[0];e(n).toggleclass(i.focus,/^focus(in)?$/.test(t.type))}),e.fn[t]=a._jqueryinterface,e.fn[t].constructor=a,e.fn[t].noconflict=function(){return e.fn[t]=n,a._jqueryinterface},a}(),h=function(){var t="carousel",n="bs.carousel",i="."+n,o=e.fn[t],a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},l={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},h={next:"next",prev:"prev",left:"left",right:"right"},c={slide:"slide"+i,slid:"slid"+i,keydown:"keydown"+i,mouseenter:"mouseenter"+i,mouseleave:"mouseleave"+i,touchend:"touchend"+i,load_data_api:"load.bs.carousel.data-api",click_data_api:"click.bs.carousel.data-api"},u={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"},d={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"]'},f=function(){function o(t,n){this._items=null,this._interval=null,this._activeelement=null,this._ispaused=!1,this._issliding=!1,this.touchtimeout=null,this._config=this._getconfig(n),this._element=e(t)[0],this._indicatorselement=e(this._element).find(d.indicators)[0],this._addeventlisteners()}var f=o.prototype;return f.next=function(){this._issliding||this._slide(h.next)},f.nextwhenvisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},f.prev=function(){this._issliding||this._slide(h.prev)},f.pause=function(t){t||(this._ispaused=!0),e(this._element).find(d.next_prev)[0]&&s.supportstransitionend()&&(s.triggertransitionend(this._element),this.cycle(!0)),clearinterval(this._interval),this._interval=null},f.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))},f.to=function(t){var n=this;this._activeelement=e(this._element).find(d.active_item)[0];var i=this._getitemindex(this._activeelement);if(!(t>this._items.length-1||t<0))if(this._issliding)e(this._element).one(c.slid,function(){return n.to(t)});else{if(i===t)return this.pause(),void this.cycle();var s=t>i?h.next:h.prev;this._slide(s,this._items[t])}},f.dispose=function(){e(this._element).off(i),e.removedata(this._element,n),this._items=null,this._config=null,this._element=null,this._interval=null,this._ispaused=null,this._issliding=null,this._activeelement=null,this._indicatorselement=null},f._getconfig=function(n){return n=e.extend({},a,n),s.typecheckconfig(t,n,l),n},f._addeventlisteners=function(){var t=this;this._config.keyboard&&e(this._element).on(c.keydown,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(e(this._element).on(c.mouseenter,function(e){return t.pause(e)}).on(c.mouseleave,function(e){return t.cycle(e)}),"ontouchstart"in document.documentelement&&e(this._element).on(c.touchend,function(){t.pause(),t.touchtimeout&&cleartimeout(t.touchtimeout),t.touchtimeout=settimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},f._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();break;default:return}},f._getitemindex=function(t){return this._items=e.makearray(e(t).parent().find(d.item)),this._items.indexof(t)},f._getitembydirection=function(t,e){var n=t===h.next,i=t===h.prev,s=this._getitemindex(e),r=this._items.length-1;if((i&&0===s||n&&s===r)&&!this._config.wrap)return e;var o=(s+(t===h.prev?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},f._triggerslideevent=function(t,n){var i=this._getitemindex(t),s=this._getitemindex(e(this._element).find(d.active_item)[0]),r=e.event(c.slide,{relatedtarget:t,direction:n,from:s,to:i});return e(this._element).trigger(r),r},f._setactiveindicatorelement=function(t){if(this._indicatorselement){e(this._indicatorselement).find(d.active).removeclass(u.active);var n=this._indicatorselement.children[this._getitemindex(t)];n&&e(n).addclass(u.active)}},f._slide=function(t,n){var i,r,o,a=this,l=e(this._element).find(d.active_item)[0],f=this._getitemindex(l),_=n||l&&this._getitembydirection(t,l),g=this._getitemindex(_),m=boolean(this._interval);if(t===h.next?(i=u.left,r=u.next,o=h.left):(i=u.right,r=u.prev,o=h.right),_&&e(_).hasclass(u.active))this._issliding=!1;else if(!this._triggerslideevent(_,o).isdefaultprevented()&&l&&_){this._issliding=!0,m&&this.pause(),this._setactiveindicatorelement(_);var p=e.event(c.slid,{relatedtarget:_,direction:o,from:f,to:g});s.supportstransitionend()&&e(this._element).hasclass(u.slide)?(e(_).addclass(r),s.reflow(_),e(l).addclass(i),e(_).addclass(i),e(l).one(s.transition_end,function(){e(_).removeclass(i+" "+r).addclass(u.active),e(l).removeclass(u.active+" "+r+" "+i),a._issliding=!1,settimeout(function(){return e(a._element).trigger(p)},0)}).emulatetransitionend(600)):(e(l).removeclass(u.active),e(_).addclass(u.active),this._issliding=!1,e(this._element).trigger(p)),m&&this.cycle()}},o._jqueryinterface=function(t){return this.each(function(){var i=e(this).data(n),s=e.extend({},a,e(this).data());"object"==typeof t&&e.extend(s,t);var r="string"==typeof t?t:s.slide;if(i||(i=new o(this,s),e(this).data(n,i)),"number"==typeof t)i.to(t);else if("string"==typeof r){if("undefined"==typeof i[r])throw new error('no method named "'+r+'"');i[r]()}else s.interval&&(i.pause(),i.cycle())})},o._dataapiclickhandler=function(t){var i=s.getselectorfromelement(this);if(i){var r=e(i)[0];if(r&&e(r).hasclass(u.carousel)){var a=e.extend({},e(r).data(),e(this).data()),l=this.getattribute("data-slide-to");l&&(a.interval=!1),o._jqueryinterface.call(e(r),a),l&&e(r).data(n).to(l),t.preventdefault()}}},r(o,null,[{key:"version",get:function(){return"4.0.0-beta.2"}},{key:"default",get:function(){return a}}]),o}();return e(document).on(c.click_data_api,d.data_slide,f._dataapiclickhandler),e(window).on(c.load_data_api,function(){e(d.data_ride).each(function(){var t=e(this);f._jqueryinterface.call(t,t.data())})}),e.fn[t]=f._jqueryinterface,e.fn[t].constructor=f,e.fn[t].noconflict=function(){return e.fn[t]=o,f._jqueryinterface},f}(),c=function(){var t="collapse",n="bs.collapse",i=e.fn[t],o={toggle:!0,parent:""},a={toggle:"boolean",parent:"(string|element)"},l={show:"show.bs.collapse",shown:"shown.bs.collapse",hide:"hide.bs.collapse",hidden:"hidden.bs.collapse",click_data_api:"click.bs.collapse.data-api"},h={show:"show",collapse:"collapse",collapsing:"collapsing",collapsed:"collapsed"},c={width:"width",height:"height"},u={actives:".show, .collapsing",data_toggle:'[data-toggle="collapse"]'},d=function(){function i(t,n){this._istransitioning=!1,this._element=t,this._config=this._getconfig(n),this._triggerarray=e.makearray(e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=e(u.data_toggle),r=0;r0&&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()}var d=i.prototype;return d.toggle=function(){e(this._element).hasclass(h.show)?this.hide():this.show()},d.show=function(){var t=this;if(!this._istransitioning&&!e(this._element).hasclass(h.show)){var r,o;if(this._parent&&((r=e.makearray(e(this._parent).children().children(u.actives))).length||(r=null)),!(r&&(o=e(r).data(n))&&o._istransitioning)){var a=e.event(l.show);if(e(this._element).trigger(a),!a.isdefaultprevented()){r&&(i._jqueryinterface.call(e(r),"hide"),o||e(r).data(n,null));var c=this._getdimension();e(this._element).removeclass(h.collapse).addclass(h.collapsing),this._element.style[c]=0,this._triggerarray.length&&e(this._triggerarray).removeclass(h.collapsed).attr("aria-expanded",!0),this.settransitioning(!0);var d=function(){e(t._element).removeclass(h.collapsing).addclass(h.collapse).addclass(h.show),t._element.style[c]="",t.settransitioning(!1),e(t._element).trigger(l.shown)};if(s.supportstransitionend()){var f="scroll"+(c[0].touppercase()+c.slice(1));e(this._element).one(s.transition_end,d).emulatetransitionend(600),this._element.style[c]=this._element[f]+"px"}else d()}}}},d.hide=function(){var t=this;if(!this._istransitioning&&e(this._element).hasclass(h.show)){var n=e.event(l.hide);if(e(this._element).trigger(n),!n.isdefaultprevented()){var i=this._getdimension();if(this._element.style[i]=this._element.getboundingclientrect()[i]+"px",s.reflow(this._element),e(this._element).addclass(h.collapsing).removeclass(h.collapse).removeclass(h.show),this._triggerarray.length)for(var r=0;r0},g._getpopperconfig=function(){var t=this,n={};"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=e.extend({},n.offsets,t._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset;var i={placement:this._getplacement(),modifiers:{offset:n,flip:{enabled:this._config.flip}}};return this._innavbar&&(i.modifiers.applystyle={enabled:!this._innavbar}),i},a._jqueryinterface=function(t){return this.each(function(){var n=e(this).data(i),s="object"==typeof t?t:null;if(n||(n=new a(this,s),e(this).data(i,n)),"string"==typeof t){if("undefined"==typeof n[t])throw new error('no method named "'+t+'"');n[t]()}})},a._clearmenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=e.makearray(e(u.data_toggle)),s=0;s0&&r--,40===t.which&&rdocument.documentelement.clientheight;!this._isbodyoverflowing&&t&&(this._element.style.paddingleft=this._scrollbarwidth+"px"),this._isbodyoverflowing&&!t&&(this._element.style.paddingright=this._scrollbarwidth+"px")},u._resetadjustments=function(){this._element.style.paddingleft="",this._element.style.paddingright=""},u._checkscrollbar=function(){var t=document.body.getboundingclientrect();this._isbodyoverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackplacement:"flip"},u={show:"show",out:"out"},d={hide:"hide"+i,hidden:"hidden"+i,show:"show"+i,shown:"shown"+i,inserted:"inserted"+i,click:"click"+i,focusin:"focusin"+i,focusout:"focusout"+i,mouseenter:"mouseenter"+i,mouseleave:"mouseleave"+i},f={fade:"fade",show:"show"},_={tooltip:".tooltip",tooltip_inner:".tooltip-inner",arrow:".arrow"},g={hover:"hover",focus:"focus",click:"click",manual:"manual"},m=function(){function o(t,e){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 m=o.prototype;return m.enable=function(){this._isenabled=!0},m.disable=function(){this._isenabled=!1},m.toggleenabled=function(){this._isenabled=!this._isenabled},m.toggle=function(t){if(this._isenabled)if(t){var n=this.constructor.data_key,i=e(t.currenttarget).data(n);i||(i=new this.constructor(t.currenttarget,this._getdelegateconfig()),e(t.currenttarget).data(n,i)),i._activetrigger.click=!i._activetrigger.click,i._iswithactivetrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.gettipelement()).hasclass(f.show))return void this._leave(null,this);this._enter(null,this)}},m.dispose=function(){cleartimeout(this._timeout),e.removedata(this.element,this.constructor.data_key),e(this.element).off(this.constructor.event_key),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isenabled=null,this._timeout=null,this._hoverstate=null,this._activetrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},m.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new error("please use show on visible elements");var i=e.event(this.constructor.event.show);if(this.iswithcontent()&&this._isenabled){e(this.element).trigger(i);var r=e.contains(this.element.ownerdocument.documentelement,this.element);if(i.isdefaultprevented()||!r)return;var a=this.gettipelement(),l=s.getuid(this.constructor.name);a.setattribute("id",l),this.element.setattribute("aria-describedby",l),this.setcontent(),this.config.animation&&e(a).addclass(f.fade);var h="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,c=this._getattachment(h);this.addattachmentclass(c);var d=!1===this.config.container?document.body:e(this.config.container);e(a).data(this.constructor.data_key,this),e.contains(this.element.ownerdocument.documentelement,this.tip)||e(a).appendto(d),e(this.element).trigger(this.constructor.event.inserted),this._popper=new n(this.element,a,{placement:c,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackplacement},arrow:{element:_.arrow}},oncreate:function(e){e.originalplacement!==e.placement&&t._handlepopperplacementchange(e)},onupdate:function(e){t._handlepopperplacementchange(e)}}),e(a).addclass(f.show),"ontouchstart"in document.documentelement&&e("body").children().on("mouseover",null,e.noop);var g=function(){t.config.animation&&t._fixtransition();var n=t._hoverstate;t._hoverstate=null,e(t.element).trigger(t.constructor.event.shown),n===u.out&&t._leave(null,t)};s.supportstransitionend()&&e(this.tip).hasclass(f.fade)?e(this.tip).one(s.transition_end,g).emulatetransitionend(o._transition_duration):g()}},m.hide=function(t){var n=this,i=this.gettipelement(),r=e.event(this.constructor.event.hide),o=function(){n._hoverstate!==u.show&&i.parentnode&&i.parentnode.removechild(i),n._cleantipclass(),n.element.removeattribute("aria-describedby"),e(n.element).trigger(n.constructor.event.hidden),null!==n._popper&&n._popper.destroy(),t&&t()};e(this.element).trigger(r),r.isdefaultprevented()||(e(i).removeclass(f.show),"ontouchstart"in document.documentelement&&e("body").children().off("mouseover",null,e.noop),this._activetrigger[g.click]=!1,this._activetrigger[g.focus]=!1,this._activetrigger[g.hover]=!1,s.supportstransitionend()&&e(this.tip).hasclass(f.fade)?e(i).one(s.transition_end,o).emulatetransitionend(150):o(),this._hoverstate="")},m.update=function(){null!==this._popper&&this._popper.scheduleupdate()},m.iswithcontent=function(){return boolean(this.gettitle())},m.addattachmentclass=function(t){e(this.gettipelement()).addclass("bs-tooltip-"+t)},m.gettipelement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},m.setcontent=function(){var t=e(this.gettipelement());this.setelementcontent(t.find(_.tooltip_inner),this.gettitle()),t.removeclass(f.fade+" "+f.show)},m.setelementcontent=function(t,n){var i=this.config.html;"object"==typeof n&&(n.nodetype||n.jquery)?i?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text()):t[i?"html":"text"](n)},m.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},m._getattachment=function(t){return h[t.touppercase()]},m._setlisteners=function(){var t=this;this.config.trigger.split(" ").foreach(function(n){if("click"===n)e(t.element).on(t.constructor.event.click,t.config.selector,function(e){return t.toggle(e)});else if(n!==g.manual){var i=n===g.hover?t.constructor.event.mouseenter:t.constructor.event.focusin,s=n===g.hover?t.constructor.event.mouseleave:t.constructor.event.focusout;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(s,t.config.selector,function(e){return t._leave(e)})}e(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=e.extend({},this.config,{trigger:"manual",selector:""}):this._fixtitle()},m._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",""))},m._enter=function(t,n){var i=this.constructor.data_key;(n=n||e(t.currenttarget).data(i))||(n=new this.constructor(t.currenttarget,this._getdelegateconfig()),e(t.currenttarget).data(i,n)),t&&(n._activetrigger["focusin"===t.type?g.focus:g.hover]=!0),e(n.gettipelement()).hasclass(f.show)||n._hoverstate===u.show?n._hoverstate=u.show:(cleartimeout(n._timeout),n._hoverstate=u.show,n.config.delay&&n.config.delay.show?n._timeout=settimeout(function(){n._hoverstate===u.show&&n.show()},n.config.delay.show):n.show())},m._leave=function(t,n){var i=this.constructor.data_key;(n=n||e(t.currenttarget).data(i))||(n=new this.constructor(t.currenttarget,this._getdelegateconfig()),e(t.currenttarget).data(i,n)),t&&(n._activetrigger["focusout"===t.type?g.focus:g.hover]=!1),n._iswithactivetrigger()||(cleartimeout(n._timeout),n._hoverstate=u.out,n.config.delay&&n.config.delay.hide?n._timeout=settimeout(function(){n._hoverstate===u.out&&n.hide()},n.config.delay.hide):n.hide())},m._iswithactivetrigger=function(){for(var t in this._activetrigger)if(this._activetrigger[t])return!0;return!1},m._getconfig=function(n){return"number"==typeof(n=e.extend({},this.constructor.default,e(this.element).data(),n)).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.tostring()),"number"==typeof n.content&&(n.content=n.content.tostring()),s.typecheckconfig(t,n,this.constructor.defaulttype),n},m._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},m._cleantipclass=function(){var t=e(this.gettipelement()),n=t.attr("class").match(a);null!==n&&n.length>0&&t.removeclass(n.join(""))},m._handlepopperplacementchange=function(t){this._cleantipclass(),this.addattachmentclass(this._getattachment(t.placement))},m._fixtransition=function(){var t=this.gettipelement(),n=this.config.animation;null===t.getattribute("x-placement")&&(e(t).removeclass(f.fade),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},o._jqueryinterface=function(t){return this.each(function(){var n=e(this).data("bs.tooltip"),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new o(this,i),e(this).data("bs.tooltip",n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new error('no method named "'+t+'"');n[t]()}})},r(o,null,[{key:"version",get:function(){return"4.0.0-beta.2"}},{key:"default",get:function(){return c}},{key:"name",get:function(){return t}},{key:"data_key",get:function(){return"bs.tooltip"}},{key:"event",get:function(){return d}},{key:"event_key",get:function(){return i}},{key:"defaulttype",get:function(){return l}}]),o}();return e.fn[t]=m._jqueryinterface,e.fn[t].constructor=m,e.fn[t].noconflict=function(){return e.fn[t]=o,m._jqueryinterface},m}(),_=function(){var t="popover",n=".bs.popover",i=e.fn[t],s=new regexp("(^|\\s)bs-popover\\s+","g"),a=e.extend({},f.default,{placement:"right",trigger:"click",content:"",template:''}),l=e.extend({},f.defaulttype,{content:"(string|element|function)"}),h={fade:"fade",show:"show"},c={title:".popover-header",content:".popover-body"},u={hide:"hide"+n,hidden:"hidden"+n,show:"show"+n,shown:"shown"+n,inserted:"inserted"+n,click:"click"+n,focusin:"focusin"+n,focusout:"focusout"+n,mouseenter:"mouseenter"+n,mouseleave:"mouseleave"+n},d=function(i){function d(){return i.apply(this,arguments)||this}o(d,i);var f=d.prototype;return f.iswithcontent=function(){return this.gettitle()||this._getcontent()},f.addattachmentclass=function(t){e(this.gettipelement()).addclass("bs-popover-"+t)},f.gettipelement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},f.setcontent=function(){var t=e(this.gettipelement());this.setelementcontent(t.find(c.title),this.gettitle()),this.setelementcontent(t.find(c.content),this._getcontent()),t.removeclass(h.fade+" "+h.show)},f._getcontent=function(){return this.element.getattribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},f._cleantipclass=function(){var t=e(this.gettipelement()),n=t.attr("class").match(s);null!==n&&n.length>0&&t.removeclass(n.join(""))},d._jqueryinterface=function(t){return this.each(function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/destroy|hide/.test(t))&&(n||(n=new d(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new error('no method named "'+t+'"');n[t]()}})},r(d,null,[{key:"version",get:function(){return"4.0.0-beta.2"}},{key:"default",get:function(){return a}},{key:"name",get:function(){return t}},{key:"data_key",get:function(){return"bs.popover"}},{key:"event",get:function(){return u}},{key:"event_key",get:function(){return n}},{key:"defaulttype",get:function(){return l}}]),d}(f);return e.fn[t]=d._jqueryinterface,e.fn[t].constructor=d,e.fn[t].noconflict=function(){return e.fn[t]=i,d._jqueryinterface},d}(),g=function(){var t="scrollspy",n=e.fn[t],i={offset:10,method:"auto",target:""},o={offset:"number",method:"string",target:"(string|element)"},a={activate:"activate.bs.scrollspy",scroll:"scroll.bs.scrollspy",load_data_api:"load.bs.scrollspy.data-api"},l={dropdown_item:"dropdown-item",dropdown_menu:"dropdown-menu",active:"active"},h={data_spy:'[data-spy="scroll"]',active:".active",nav_list_group:".nav, .list-group",nav_links:".nav-link",nav_items:".nav-item",list_items:".list-group-item",dropdown:".dropdown",dropdown_items:".dropdown-item",dropdown_toggle:".dropdown-toggle"},c={offset:"offset",position:"position"},u=function(){function n(t,n){var i=this;this._element=t,this._scrollelement="body"===t.tagname?window:t,this._config=this._getconfig(n),this._selector=this._config.target+" "+h.nav_links+","+this._config.target+" "+h.list_items+","+this._config.target+" "+h.dropdown_items,this._offsets=[],this._targets=[],this._activetarget=null,this._scrollheight=0,e(this._scrollelement).on(a.scroll,function(t){return i._process(t)}),this.refresh(),this._process()}var u=n.prototype;return u.refresh=function(){var t=this,n=this._scrollelement!==this._scrollelement.window?c.position:c.offset,i="auto"===this._config.method?n:this._config.method,r=i===c.position?this._getscrolltop():0;this._offsets=[],this._targets=[],this._scrollheight=this._getscrollheight(),e.makearray(e(this._selector)).map(function(t){var n,o=s.getselectorfromelement(t);if(o&&(n=e(o)[0]),n){var a=n.getboundingclientrect();if(a.width||a.height)return[e(n)[i]().top+r,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).foreach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},u.dispose=function(){e.removedata(this._element,"bs.scrollspy"),e(this._scrollelement).off(".bs.scrollspy"),this._element=null,this._scrollelement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activetarget=null,this._scrollheight=null},u._getconfig=function(n){if("string"!=typeof(n=e.extend({},i,n)).target){var r=e(n.target).attr("id");r||(r=s.getuid(t),e(n.target).attr("id",r)),n.target="#"+r}return s.typecheckconfig(t,n,o),n},u._getscrolltop=function(){return this._scrollelement===window?this._scrollelement.pageyoffset:this._scrollelement.scrolltop},u._getscrollheight=function(){return this._scrollelement.scrollheight||math.max(document.body.scrollheight,document.documentelement.scrollheight)},u._getoffsetheight=function(){return this._scrollelement===window?window.innerheight:this._scrollelement.getboundingclientrect().height},u._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(),t>=n){var i=this._targets[this._targets.length-1];this._activetarget!==i&&this._activate(i)}else{if(this._activetarget&&t0)return this._activetarget=null,void this._clear();for(var s=this._offsets.length;s--;)this._activetarget!==this._targets[s]&&t>=this._offsets[s]&&("undefined"==typeof this._offsets[s+1]||t li > .active",data_toggle:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',dropdown_toggle:".dropdown-toggle",dropdown_active_child:"> .dropdown-menu .active"},a=function(){function t(t){this._element=t}var a=t.prototype;return a.show=function(){var t=this;if(!(this._element.parentnode&&this._element.parentnode.nodetype===node.element_node&&e(this._element).hasclass(i.active)||e(this._element).hasclass(i.disabled))){var r,a,l=e(this._element).closest(o.nav_list_group)[0],h=s.getselectorfromelement(this._element);if(l){var c="ul"===l.nodename?o.active_ul:o.active;a=e.makearray(e(l).find(c)),a=a[a.length-1]}var u=e.event(n.hide,{relatedtarget:this._element}),d=e.event(n.show,{relatedtarget:a});if(a&&e(a).trigger(u),e(this._element).trigger(d),!d.isdefaultprevented()&&!u.isdefaultprevented()){h&&(r=e(h)[0]),this._activate(this._element,l);var f=function(){var i=e.event(n.hidden,{relatedtarget:t._element}),s=e.event(n.shown,{relatedtarget:a});e(a).trigger(i),e(t._element).trigger(s)};r?this._activate(r,r.parentnode,f):f()}}},a.dispose=function(){e.removedata(this._element,"bs.tab"),this._element=null},a._activate=function(t,n,r){var a,l=this,h=(a="ul"===n.nodename?e(n).find(o.active_ul):e(n).children(o.active))[0],c=r&&s.supportstransitionend()&&h&&e(h).hasclass(i.fade),u=function(){return l._transitioncomplete(t,h,c,r)};h&&c?e(h).one(s.transition_end,u).emulatetransitionend(150):u(),h&&e(h).removeclass(i.show)},a._transitioncomplete=function(t,n,r,a){if(n){e(n).removeclass(i.active);var l=e(n.parentnode).find(o.dropdown_active_child)[0];l&&e(l).removeclass(i.active),"tab"===n.getattribute("role")&&n.setattribute("aria-selected",!1)}if(e(t).addclass(i.active),"tab"===t.getattribute("role")&&t.setattribute("aria-selected",!0),r?(s.reflow(t),e(t).addclass(i.show)):e(t).removeclass(i.fade),t.parentnode&&e(t.parentnode).hasclass(i.dropdown_menu)){var h=e(t).closest(o.dropdown)[0];h&&e(h).find(o.dropdown_toggle).addclass(i.active),t.setattribute("aria-expanded",!0)}a&&a()},t._jqueryinterface=function(n){return this.each(function(){var i=e(this),s=i.data("bs.tab");if(s||(s=new t(this),i.data("bs.tab",s)),"string"==typeof n){if("undefined"==typeof s[n])throw new error('no method named "'+n+'"');s[n]()}})},r(t,null,[{key:"version",get:function(){return"4.0.0-beta.2"}}]),t}();return e(document).on(n.click_data_api,o.data_toggle,function(t){t.preventdefault(),a._jqueryinterface.call(e(this),"show")}),e.fn.tab=a._jqueryinterface,e.fn.tab.constructor=a,e.fn.tab.noconflict=function(){return e.fn.tab=t,a._jqueryinterface},a}();return function(){if("undefined"==typeof e)throw new error("bootstrap's javascript requires jquery. jquery must be included before bootstrap's javascript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&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")}(),t.util=s,t.alert=a,t.button=l,t.carousel=h,t.collapse=c,t.dropdown=u,t.modal=d,t.popover=_,t.scrollspy=g,t.tab=m,t.tooltip=f,t}({},$,popper);