/*! * bootstrap v4.5.0 (https://getbootstrap.com/) * copyright 2011-2020 the bootstrap authors (https://github.com/twbs/bootstrap/graphs/contributors) * licensed under mit (https://github.com/twbs/bootstrap/blob/master/license) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jquery)}(this,(function(t,e){"use strict";function n(t,e){for(var n=0;n=4)throw new error("bootstrap's javascript requires at least jquery v1.9.1 but less than v4.0.0")}};l.jquerydetection(),e.fn.emulatetransitionend=a,e.event.special[l.transition_end]={bindtype:"transitionend",delegatetype:"transitionend",handle:function(t){if(e(t.target).is(this))return t.handleobj.handler.apply(this,arguments)}};var c="alert",u=e.fn[c],h=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(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=l.getselectorfromelement(t),i=!1;return n&&(i=document.queryselector(n)),i||(i=e(t).closest(".alert")[0]),i},n._triggercloseevent=function(t){var n=e.event("close.bs.alert");return e(t).trigger(n),n},n._removeelement=function(t){var n=this;if(e(t).removeclass("show"),e(t).hasclass("fade")){var i=l.gettransitiondurationfromelement(t);e(t).one(l.transition_end,(function(e){return n._destroyelement(t,e)})).emulatetransitionend(i)}else this._destroyelement(t)},n._destroyelement=function(t){e(t).detach().trigger("closed.bs.alert").remove()},t._jqueryinterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)}))},t._handledismiss=function(t){return function(e){e&&e.preventdefault(),t.close(this)}},i(t,null,[{key:"version",get:function(){return"4.5.0"}}]),t}();e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',h._handledismiss(new h)),e.fn[c]=h._jqueryinterface,e.fn[c].constructor=h,e.fn[c].noconflict=function(){return e.fn[c]=u,h._jqueryinterface};var f=e.fn.button,d=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest('[data-toggle="buttons"]')[0];if(i){var o=this._element.queryselector('input:not([type="hidden"])');if(o){if("radio"===o.type)if(o.checked&&this._element.classlist.contains("active"))t=!1;else{var r=i.queryselector(".active");r&&e(r).removeclass("active")}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classlist.contains("active")),e(o).trigger("change")),o.focus(),n=!1}}this._element.hasattribute("disabled")||this._element.classlist.contains("disabled")||(n&&this._element.setattribute("aria-pressed",!this._element.classlist.contains("active")),t&&e(this._element).toggleclass("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]()}))},i(t,null,[{key:"version",get:function(){return"4.5.0"}}]),t}();e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=t.target,i=n;if(e(n).hasclass("btn")||(n=e(n).closest(".btn")[0]),!n||n.hasattribute("disabled")||n.classlist.contains("disabled"))t.preventdefault();else{var o=n.queryselector('input:not([type="hidden"])');if(o&&(o.hasattribute("disabled")||o.classlist.contains("disabled")))return void t.preventdefault();"label"===i.tagname&&o&&"checkbox"===o.type&&t.preventdefault(),d._jqueryinterface.call(e(n),"toggle")}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=e(t.target).closest(".btn")[0];e(n).toggleclass("focus",/^focus(in)?$/.test(t.type))})),e(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.queryselectorall('[data-toggle="buttons"] .btn')),e=0,n=t.length;e0,this._pointerevent=boolean(window.pointerevent||window.mspointerevent),this._addeventlisteners()}var n=t.prototype;return n.next=function(){this._issliding||this._slide("next")},n.nextwhenvisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._issliding||this._slide("prev")},n.pause=function(t){t||(this._ispaused=!0),this._element.queryselector(".carousel-item-next, .carousel-item-prev")&&(l.triggertransitionend(this._element),this.cycle(!0)),clearinterval(this._interval),this._interval=null},n.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))},n.to=function(t){var n=this;this._activeelement=this._element.queryselector(".active.carousel-item");var i=this._getitemindex(this._activeelement);if(!(t>this._items.length-1||t<0))if(this._issliding)e(this._element).one("slid.bs.carousel",(function(){return n.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var o=t>i?"next":"prev";this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(m),e.removedata(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._ispaused=null,this._issliding=null,this._activeelement=null,this._indicatorselement=null},n._getconfig=function(t){return t=s(s({},v),t),l.typecheckconfig(p,t,_),t},n._handleswipe=function(){var t=math.abs(this.touchdeltax);if(!(t<=40)){var e=t/this.touchdeltax;this.touchdeltax=0,e>0&&this.prev(),e<0&&this.next()}},n._addeventlisteners=function(){var t=this;this._config.keyboard&&e(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&e(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addtoucheventlisteners()},n._addtoucheventlisteners=function(){var t=this;if(this._touchsupported){var n=function(e){t._pointerevent&&b[e.originalevent.pointertype.touppercase()]?t.touchstartx=e.originalevent.clientx:t._pointerevent||(t.touchstartx=e.originalevent.touches[0].clientx)},i=function(e){t._pointerevent&&b[e.originalevent.pointertype.touppercase()]&&(t.touchdeltax=e.originalevent.clientx-t.touchstartx),t._handleswipe(),"hover"===t._config.pause&&(t.pause(),t.touchtimeout&&cleartimeout(t.touchtimeout),t.touchtimeout=settimeout((function(e){return t.cycle(e)}),500+t._config.interval))};e(this._element.queryselectorall(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventdefault()})),this._pointerevent?(e(this._element).on("pointerdown.bs.carousel",(function(t){return n(t)})),e(this._element).on("pointerup.bs.carousel",(function(t){return i(t)})),this._element.classlist.add("pointer-event")):(e(this._element).on("touchstart.bs.carousel",(function(t){return n(t)})),e(this._element).on("touchmove.bs.carousel",(function(e){return function(e){e.originalevent.touches&&e.originalevent.touches.length>1?t.touchdeltax=0:t.touchdeltax=e.originalevent.touches[0].clientx-t.touchstartx}(e)})),e(this._element).on("touchend.bs.carousel",(function(t){return i(t)})))}},n._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()}},n._getitemindex=function(t){return this._items=t&&t.parentnode?[].slice.call(t.parentnode.queryselectorall(".carousel-item")):[],this._items.indexof(t)},n._getitembydirection=function(t,e){var n="next"===t,i="prev"===t,o=this._getitemindex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+("prev"===t?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerslideevent=function(t,n){var i=this._getitemindex(t),o=this._getitemindex(this._element.queryselector(".active.carousel-item")),r=e.event("slide.bs.carousel",{relatedtarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},n._setactiveindicatorelement=function(t){if(this._indicatorselement){var n=[].slice.call(this._indicatorselement.queryselectorall(".active"));e(n).removeclass("active");var i=this._indicatorselement.children[this._getitemindex(t)];i&&e(i).addclass("active")}},n._slide=function(t,n){var i,o,r,s=this,a=this._element.queryselector(".active.carousel-item"),c=this._getitemindex(a),u=n||a&&this._getitembydirection(t,a),h=this._getitemindex(u),f=boolean(this._interval);if("next"===t?(i="carousel-item-left",o="carousel-item-next",r="left"):(i="carousel-item-right",o="carousel-item-prev",r="right"),u&&e(u).hasclass("active"))this._issliding=!1;else if(!this._triggerslideevent(u,r).isdefaultprevented()&&a&&u){this._issliding=!0,f&&this.pause(),this._setactiveindicatorelement(u);var d=e.event("slid.bs.carousel",{relatedtarget:u,direction:r,from:c,to:h});if(e(this._element).hasclass("slide")){e(u).addclass(o),l.reflow(u),e(a).addclass(i),e(u).addclass(i);var p=parseint(u.getattribute("data-interval"),10);p?(this._config.defaultinterval=this._config.defaultinterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultinterval||this._config.interval;var m=l.gettransitiondurationfromelement(a);e(a).one(l.transition_end,(function(){e(u).removeclass(i+" "+o).addclass("active"),e(a).removeclass("active "+o+" "+i),s._issliding=!1,settimeout((function(){return e(s._element).trigger(d)}),0)})).emulatetransitionend(m)}else e(a).removeclass("active"),e(u).addclass("active"),this._issliding=!1,e(this._element).trigger(d);f&&this.cycle()}},t._jqueryinterface=function(n){return this.each((function(){var i=e(this).data("bs.carousel"),o=s(s({},v),e(this).data());"object"==typeof n&&(o=s(s({},o),n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if("undefined"==typeof i[r])throw new typeerror('no method named "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())}))},t._dataapiclickhandler=function(n){var i=l.getselectorfromelement(this);if(i){var o=e(i)[0];if(o&&e(o).hasclass("carousel")){var r=s(s({},e(o).data()),e(this).data()),a=this.getattribute("data-slide-to");a&&(r.interval=!1),t._jqueryinterface.call(e(o),r),a&&e(o).data("bs.carousel").to(a),n.preventdefault()}}},i(t,null,[{key:"version",get:function(){return"4.5.0"}},{key:"default",get:function(){return v}}]),t}();e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",y._dataapiclickhandler),e(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.queryselectorall('[data-ride="carousel"]')),n=0,i=t.length;n0&&(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 n=t.prototype;return n.toggle=function(){e(this._element).hasclass("show")?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!this._istransitioning&&!e(this._element).hasclass("show")&&(this._parent&&0===(n=[].slice.call(this._parent.queryselectorall(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getattribute("data-parent")===o._config.parent:t.classlist.contains("collapse")}))).length&&(n=null),!(n&&(i=e(n).not(this._selector).data("bs.collapse"))&&i._istransitioning))){var r=e.event("show.bs.collapse");if(e(this._element).trigger(r),!r.isdefaultprevented()){n&&(t._jqueryinterface.call(e(n).not(this._selector),"hide"),i||e(n).data("bs.collapse",null));var s=this._getdimension();e(this._element).removeclass("collapse").addclass("collapsing"),this._element.style[s]=0,this._triggerarray.length&&e(this._triggerarray).removeclass("collapsed").attr("aria-expanded",!0),this.settransitioning(!0);var a="scroll"+(s[0].touppercase()+s.slice(1)),c=l.gettransitiondurationfromelement(this._element);e(this._element).one(l.transition_end,(function(){e(o._element).removeclass("collapsing").addclass("collapse show"),o._element.style[s]="",o.settransitioning(!1),e(o._element).trigger("shown.bs.collapse")})).emulatetransitionend(c),this._element.style[s]=this._element[a]+"px"}}},n.hide=function(){var t=this;if(!this._istransitioning&&e(this._element).hasclass("show")){var n=e.event("hide.bs.collapse");if(e(this._element).trigger(n),!n.isdefaultprevented()){var i=this._getdimension();this._element.style[i]=this._element.getboundingclientrect()[i]+"px",l.reflow(this._element),e(this._element).addclass("collapsing").removeclass("collapse show");var o=this._triggerarray.length;if(o>0)for(var r=0;r=0)return 1;return 0}();var n=d&&window.promise?function(t){var e=!1;return function(){e||(e=!0,window.promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,settimeout((function(){e=!1,t()}),k))}};function o(t){return t&&"[object function]"==={}.tostring.call(t)}function a(t,e){if(1!==t.nodetype)return[];var n=t.ownerdocument.defaultview.getcomputedstyle(t,null);return e?n[e]:n}function i(t){return"html"===t.nodename?t:t.parentnode||t.host}function x(t){if(!t)return document.body;switch(t.nodename){case"html":case"body":return t.ownerdocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,i=e.overflowx,o=e.overflowy;return/(auto|scroll|overlay)/.test(n+o+i)?t:x(i(t))}function j(t){return t&&t.referencenode?t.referencenode:t}var l=d&&!(!window.msinputmethodcontext||!document.documentmode),p=d&&/msie 10/.test(navigator.useragent);function f(t){return 11===t?l:10===t?p:l||p}function r(t){if(!t)return document.documentelement;for(var e=f(10)?document.body:null,n=t.offsetparent||null;n===e&&t.nextelementsibling;)n=(t=t.nextelementsibling).offsetparent;var i=n&&n.nodename;return i&&"body"!==i&&"html"!==i?-1!==["th","td","table"].indexof(n.nodename)&&"static"===a(n,"position")?r(n):n:t?t.ownerdocument.documentelement:document.documentelement}function m(t){return null!==t.parentnode?m(t.parentnode):t}function b(t,e){if(!(t&&t.nodetype&&e&&e.nodetype))return document.documentelement;var n=t.comparedocumentposition(e)&node.document_position_following,i=n?t:e,o=n?e:t,r=document.createrange();r.setstart(i,0),r.setend(o,0);var s,a,l=r.commonancestorcontainer;if(t!==l&&e!==l||i.contains(o))return"body"===(a=(s=l).nodename)||"html"!==a&&r(s.firstelementchild)!==s?r(l):l;var c=m(t);return c.host?b(c.host,e):b(t,m(e).host)}function q(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrolltop":"scrollleft",i=t.nodename;if("body"===i||"html"===i){var o=t.ownerdocument.documentelement,r=t.ownerdocument.scrollingelement||o;return r[n]}return t[n]}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=q(e,"top"),o=q(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function q(t,e){var n="x"===e?"left":"top",i="left"===n?"right":"bottom";return parsefloat(t["border"+n+"width"],10)+parsefloat(t["border"+i+"width"],10)}function w(t,e,n,i){return math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],f(10)?parseint(n["offset"+t])+parseint(i["margin"+("height"===t?"top":"left")])+parseint(i["margin"+("height"===t?"bottom":"right")]):0)}function u(t){var e=t.body,n=t.documentelement,i=f(10)&&getcomputedstyle(n);return{height:w("height",e,n,i),width:w("width",e,n,i)}}var v=function(t,e){if(!(t instanceof e))throw new typeerror("cannot call a class as a function")},y=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=f(10),o="html"===e.nodename,r=g(t),s=g(e),a=x(t),l=a(e),c=parsefloat(l.bordertopwidth,10),u=parsefloat(l.borderleftwidth,10);n&&o&&(s.top=math.max(s.top,0),s.left=math.max(s.left,0));var h=k({top:r.top-s.top-c,left:r.left-s.left-u,width:r.width,height:r.height});if(h.margintop=0,h.marginleft=0,!i&&o){var f=parsefloat(l.margintop,10),d=parsefloat(l.marginleft,10);h.top-=c-f,h.bottom-=c-f,h.left-=u-d,h.right-=u-d,h.margintop=f,h.marginleft=d}return(i&&!n?e.contains(a):e===a&&"body"!==a.nodename)&&(h=h(h,e)),h}function j(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerdocument.documentelement,i=$(t,n),o=math.max(n.clientwidth,window.innerwidth||0),r=math.max(n.clientheight,window.innerheight||0),s=e?0:q(n),a=e?0:q(n,"left"),l={top:s-i.top+i.margintop,left:a-i.left+i.marginleft,width:o,height:r};return k(l)}function z(t){var e=t.nodename;if("body"===e||"html"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=i(t);return!!n&&z(n)}function tt(t){if(!t||!t.parentelement||f())return document.documentelement;for(var e=t.parentelement;e&&"none"===a(e,"transform");)e=e.parentelement;return e||document.documentelement}function et(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?tt(t):b(t,j(e));if("viewport"===i)r=j(s,o);else{var a=void 0;"scrollparent"===i?"body"===(a=x(i(e))).nodename&&(a=t.ownerdocument.documentelement):a="window"===i?t.ownerdocument.documentelement:i;var l=$(a,s,o);if("html"!==a.nodename||z(s))r=l;else{var c=u(t.ownerdocument),u=c.height,h=c.width;r.top+=l.top-l.margintop,r.bottom=u+l.top,r.left+=l.left-l.marginleft,r.right=h+l.left}}var f="number"==typeof(n=n||0);return r.left+=f?n:n.left||0,r.top+=f?n:n.top||0,r.right-=f?n:n.right||0,r.bottom-=f?n:n.bottom||0,r}function nt(t){return t.width*t.height}function it(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexof("auto"))return t;var s=et(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=object.keys(a).map((function(t){return x({key:t},a[t],{area:nt(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientwidth&&i>=n.clientheight})),u=c.length>0?c[0].key:l[0].key,h=t.split("-")[1];return u+(h?"-"+h:"")}function ot(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?tt(e):b(e,j(n));return $(n,o,i)}function rt(t){var e=t.ownerdocument.defaultview.getcomputedstyle(t),n=parsefloat(e.margintop||0)+parsefloat(e.marginbottom||0),i=parsefloat(e.marginleft||0)+parsefloat(e.marginright||0);return{width:t.offsetwidth+i,height:t.offsetheight+n}}function st(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function at(t,e,n){n=n.split("-")[0];var i=rt(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexof(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[st(a)],o}function lt(t,e){return array.prototype.find?t.find(e):t.filter(e)[0]}function ct(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(array.prototype.findindex)return t.findindex((function(t){return t[e]===n}));var i=lt(t,(function(t){return t[e]===n}));return t.indexof(i)}(t,"name",n))).foreach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=n(e,t))})),e}function ut(){if(!this.state.isdestroyed){var t={instance:this,styles:{},arrowstyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=ot(this.state,this.popper,this.reference,this.options.positionfixed),t.placement=it(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundarieselement,this.options.modifiers.flip.padding),t.originalplacement=t.placement,t.positionfixed=this.options.positionfixed,t.offsets.popper=at(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionfixed?"fixed":"absolute",t=ct(this.modifiers,t),this.state.iscreated?this.options.onupdate(t):(this.state.iscreated=!0,this.options.oncreate(t))}}function ht(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function ft(t){for(var e=[!1,"ms","webkit","moz","o"],n=t.charat(0).touppercase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=tt.indexof(t),i=tt.slice(n+1).concat(tt.slice(0,n));return e?i.reverse():i}var st="flip",dt="clockwise",kt="counterclockwise";function nt(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexof(i),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexof(lt(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexof(",")&&console.warn("offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexof(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexof("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return k(a)[e]/100*r}if("vh"===s||"vw"===s){return("vh"===s?math.max(document.documentelement.clientheight,window.innerheight||0):math.max(document.documentelement.clientwidth,window.innerwidth||0))/100*r}return r}(t,o,e,n)}))}))).foreach((function(t,e){t.foreach((function(n,i){_t(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var ot={placement:"bottom",positionfixed:!1,eventsenabled:!0,removeondestroy:!1,oncreate:function(){},onupdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexof(n),l=a?"left":"top",c=a?"width":"height",u={start:z({},l,r[l]),end:z({},l,r[l]+r[c]-s[c])};t.offsets.popper=x({},s,u[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=_t(+n)?[+n,0]:nt(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventoverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundarieselement||r(t.instance.popper);t.instance.reference===n&&(n=r(n));var i=ft("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=et(t.instance.popper,t.instance.reference,e.padding,n,t.positionfixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,h={primary:function(t){var n=u[t];return u[t]l[t]&&!e.escapewithreference&&(i=math.min(u[n],l[t]-("right"===t?u.width:u.height))),z({},n,i)}};return c.foreach((function(t){var e=-1!==["left","top"].indexof(t)?"primary":"secondary";u=x({},u,h[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundarieselement:"scrollparent"},keeptogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=math.floor,s=-1!==["top","bottom"].indexof(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!wt(t.instance.modifiers,"arrow","keeptogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.queryselector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("warning: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexof(o),c=l?"height":"width",u=l?"top":"left",h=u.tolowercase(),f=l?"left":"top",d=l?"bottom":"right",p=rt(i)[c];a[d]-ps[d]&&(t.offsets.popper[h]+=a[h]+p-s[d]),t.offsets.popper=k(t.offsets.popper);var m=a[h]+a[c]/2-p/2,g=a(t.instance.popper),v=parsefloat(g["margin"+u],10),_=parsefloat(g["border"+u+"width"],10),b=m-t.offsets.popper[h]-v-_;return b=math.max(math.min(s[c]-p,b),0),t.arrowelement=i,t.offsets.arrow=(z(n={},h,math.round(b)),z(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(ht(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalplacement)return t;var n=et(t.instance.popper,t.instance.reference,e.padding,e.boundarieselement,t.positionfixed),i=t.placement.split("-")[0],o=st(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case st:s=[i,o];break;case dt:s=ct(i);break;case kt:s=ct(i,!0);break;default:s=e.behavior}return s.foreach((function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=st(i);var c=t.offsets.popper,u=t.offsets.reference,h=math.floor,f="left"===i&&h(c.right)>h(u.left)||"right"===i&&h(c.left)h(u.top)||"bottom"===i&&h(c.top)h(n.right),m=h(c.top)h(n.bottom),v="left"===i&&d||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,_=-1!==["top","bottom"].indexof(i),b=!!e.flipvariations&&(_&&"start"===r&&d||_&&"end"===r&&p||!_&&"start"===r&&m||!_&&"end"===r&&g),y=!!e.flipvariationsbycontent&&(_&&"start"===r&&p||_&&"end"===r&&d||!_&&"start"===r&&g||!_&&"end"===r&&m),w=b||y;(f||v||w)&&(t.flipped=!0,(f||v)&&(i=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=x({},t.offsets.popper,at(t.instance.popper,t.offsets.reference,t.placement)),t=ct(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundarieselement:"viewport",flipvariations:!1,flipvariationsbycontent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexof(n),a=-1===["top","left"].indexof(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=st(e),t.offsets.popper=k(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!wt(t.instance.modifiers,"hide","preventoverflow"))return t;var e=t.offsets.reference,n=lt(t.instance.modifiers,(function(t){return"preventoverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};v(this,t),this.scheduleupdate=function(){return requestanimationframe(i.update)},this.update=n(this.update.bind(this)),this.options=x({},t.defaults,o),this.state={isdestroyed:!1,iscreated:!1,scrollparents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},object.keys(x({},t.defaults.modifiers,o.modifiers)).foreach((function(e){i.options.modifiers[e]=x({},t.defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=object.keys(this.options.modifiers).map((function(t){return x({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.foreach((function(t){t.enabled&&o(t.onload)&&t.onload(i.reference,i.popper,i.options,t,i.state)})),this.update();var r=this.options.eventsenabled;r&&this.enableeventlisteners(),this.state.eventsenabled=r}return y(t,[{key:"update",value:function(){return ut.call(this)}},{key:"destroy",value:function(){return dt.call(this)}},{key:"enableeventlisteners",value:function(){return gt.call(this)}},{key:"disableeventlisteners",value:function(){return vt.call(this)}}]),t}();at.utils=("undefined"!=typeof window?window:global).popperutils,at.placements=et,at.defaults=ot;var it="dropdown",xt=e.fn[it],jt=new regexp("38|40|27"),lt={offset:0,flip:!0,boundary:"scrollparent",reference:"toggle",display:"dynamic",popperconfig:null},pt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperconfig:"(null|object)"},ft=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getconfig(e),this._menu=this._getmenuelement(),this._innavbar=this._detectnavbar(),this._addeventlisteners()}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!e(this._element).hasclass("disabled")){var n=e(this._menu).hasclass("show");t._clearmenus(),n||this.show(!0)}},n.show=function(n){if(void 0===n&&(n=!1),!(this._element.disabled||e(this._element).hasclass("disabled")||e(this._menu).hasclass("show"))){var i={relatedtarget:this._element},o=e.event("show.bs.dropdown",i),r=t._getparentfromelement(this._element);if(e(r).trigger(o),!o.isdefaultprevented()){if(!this._innavbar&&n){if("undefined"==typeof at)throw new typeerror("bootstrap's dropdowns require popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=r:l.iselement(this._config.reference)&&(s=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(s=this._config.reference[0])),"scrollparent"!==this._config.boundary&&e(r).addclass("position-static"),this._popper=new at(s,this._menu,this._getpopperconfig())}"ontouchstart"in document.documentelement&&0===e(r).closest(".navbar-nav").length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setattribute("aria-expanded",!0),e(this._menu).toggleclass("show"),e(r).toggleclass("show").trigger(e.event("shown.bs.dropdown",i))}}},n.hide=function(){if(!this._element.disabled&&!e(this._element).hasclass("disabled")&&e(this._menu).hasclass("show")){var n={relatedtarget:this._element},i=e.event("hide.bs.dropdown",n),o=t._getparentfromelement(this._element);e(o).trigger(i),i.isdefaultprevented()||(this._popper&&this._popper.destroy(),e(this._menu).toggleclass("show"),e(o).toggleclass("show").trigger(e.event("hidden.bs.dropdown",n)))}},n.dispose=function(){e.removedata(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._innavbar=this._detectnavbar(),null!==this._popper&&this._popper.scheduleupdate()},n._addeventlisteners=function(){var t=this;e(this._element).on("click.bs.dropdown",(function(e){e.preventdefault(),e.stoppropagation(),t.toggle()}))},n._getconfig=function(t){return t=s(s(s({},this.constructor.default),e(this._element).data()),t),l.typecheckconfig(it,t,this.constructor.defaulttype),t},n._getmenuelement=function(){if(!this._menu){var e=t._getparentfromelement(this._element);e&&(this._menu=e.queryselector(".dropdown-menu"))}return this._menu},n._getplacement=function(){var t=e(this._element.parentnode),n="bottom-start";return t.hasclass("dropup")?n=e(this._menu).hasclass("dropdown-menu-right")?"top-end":"top-start":t.hasclass("dropright")?n="right-start":t.hasclass("dropleft")?n="left-start":e(this._menu).hasclass("dropdown-menu-right")&&(n="bottom-end"),n},n._detectnavbar=function(){return e(this._element).closest(".navbar").length>0},n._getoffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s(s({},e.offsets),t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},n._getpopperconfig=function(){var t={placement:this._getplacement(),modifiers:{offset:this._getoffset(),flip:{enabled:this._config.flip},preventoverflow:{boundarieselement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applystyle={enabled:!1}),s(s({},t),this._config.popperconfig)},t._jqueryinterface=function(n){return this.each((function(){var i=e(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof n?n:null),e(this).data("bs.dropdown",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new typeerror('no method named "'+n+'"');i[n]()}}))},t._clearmenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.queryselectorall('[data-toggle="dropdown"]')),o=0,r=i.length;o0&&s--,40===n.which&&sdocument.documentelement.clientheight;!this._isbodyoverflowing&&t&&(this._element.style.paddingleft=this._scrollbarwidth+"px"),this._isbodyoverflowing&&!t&&(this._element.style.paddingright=this._scrollbarwidth+"px")},n._resetadjustments=function(){this._element.style.paddingleft="",this._element.style.paddingright=""},n._checkscrollbar=function(){var t=document.body.getboundingclientrect();this._isbodyoverflowing=math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackplacement:"flip",boundary:"scrollparent",sanitize:!0,sanitizefn:null,whitelist:qt,popperconfig:null},zt={hide:"hide.bs.tooltip",hidden:"hidden.bs.tooltip",show:"show.bs.tooltip",shown:"shown.bs.tooltip",inserted:"inserted.bs.tooltip",click:"click.bs.tooltip",focusin:"focusin.bs.tooltip",focusout:"focusout.bs.tooltip",mouseenter:"mouseenter.bs.tooltip",mouseleave:"mouseleave.bs.tooltip"},te=function(){function t(t,e){if("undefined"==typeof at)throw new typeerror("bootstrap's tooltips require popper.js (https://popper.js.org/)");this._isenabled=!0,this._timeout=0,this._hoverstate="",this._activetrigger={},this._popper=null,this.element=t,this.config=this._getconfig(e),this.tip=null,this._setlisteners()}var n=t.prototype;return n.enable=function(){this._isenabled=!0},n.disable=function(){this._isenabled=!1},n.toggleenabled=function(){this._isenabled=!this._isenabled},n.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("show"))return void this._leave(null,this);this._enter(null,this)}},n.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._hidemodalhandler),this.tip&&e(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},n.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new error("please use show on visible elements");var n=e.event(this.constructor.event.show);if(this.iswithcontent()&&this._isenabled){e(this.element).trigger(n);var i=l.findshadowroot(this.element),o=e.contains(null!==i?i:this.element.ownerdocument.documentelement,this.element);if(n.isdefaultprevented()||!o)return;var r=this.gettipelement(),s=l.getuid(this.constructor.name);r.setattribute("id",s),this.element.setattribute("aria-describedby",s),this.setcontent(),this.config.animation&&e(r).addclass("fade");var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getattachment(a);this.addattachmentclass(c);var u=this._getcontainer();e(r).data(this.constructor.data_key,this),e.contains(this.element.ownerdocument.documentelement,this.tip)||e(r).appendto(u),e(this.element).trigger(this.constructor.event.inserted),this._popper=new at(this.element,r,this._getpopperconfig(c)),e(r).addclass("show"),"ontouchstart"in document.documentelement&&e(document.body).children().on("mouseover",null,e.noop);var h=function(){t.config.animation&&t._fixtransition();var n=t._hoverstate;t._hoverstate=null,e(t.element).trigger(t.constructor.event.shown),"out"===n&&t._leave(null,t)};if(e(this.tip).hasclass("fade")){var f=l.gettransitiondurationfromelement(this.tip);e(this.tip).one(l.transition_end,h).emulatetransitionend(f)}else h()}},n.hide=function(t){var n=this,i=this.gettipelement(),o=e.event(this.constructor.event.hide),r=function(){"show"!==n._hoverstate&&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()};if(e(this.element).trigger(o),!o.isdefaultprevented()){if(e(i).removeclass("show"),"ontouchstart"in document.documentelement&&e(document.body).children().off("mouseover",null,e.noop),this._activetrigger.click=!1,this._activetrigger.focus=!1,this._activetrigger.hover=!1,e(this.tip).hasclass("fade")){var s=l.gettransitiondurationfromelement(i);e(i).one(l.transition_end,r).emulatetransitionend(s)}else r();this._hoverstate=""}},n.update=function(){null!==this._popper&&this._popper.scheduleupdate()},n.iswithcontent=function(){return boolean(this.gettitle())},n.addattachmentclass=function(t){e(this.gettipelement()).addclass("bs-tooltip-"+t)},n.gettipelement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},n.setcontent=function(){var t=this.gettipelement();this.setelementcontent(e(t.queryselectorall(".tooltip-inner")),this.gettitle()),e(t).removeclass("fade show")},n.setelementcontent=function(t,n){"object"!=typeof n||!n.nodetype&&!n.jquery?this.config.html?(this.config.sanitize&&(n=vt(n,this.config.whitelist,this.config.sanitizefn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},n.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},n._getpopperconfig=function(t){var e=this;return s(s({},{placement:t,modifiers:{offset:this._getoffset(),flip:{behavior:this.config.fallbackplacement},arrow:{element:".arrow"},preventoverflow:{boundarieselement:this.config.boundary}},oncreate:function(t){t.originalplacement!==t.placement&&e._handlepopperplacementchange(t)},onupdate:function(t){return e._handlepopperplacementchange(t)}}),this.config.popperconfig)},n._getoffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s(s({},e.offsets),t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},n._getcontainer=function(){return!1===this.config.container?document.body:l.iselement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},n._getattachment=function(t){return $t[t.touppercase()]},n._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("manual"!==n){var i="hover"===n?t.constructor.event.mouseenter:t.constructor.event.focusin,o="hover"===n?t.constructor.event.mouseleave:t.constructor.event.focusout;e(t.element).on(i,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hidemodalhandler=function(){t.element&&t.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hidemodalhandler),this.config.selector?this.config=s(s({},this.config),{},{trigger:"manual",selector:""}):this._fixtitle()},n._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",""))},n._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?"focus":"hover"]=!0),e(n.gettipelement()).hasclass("show")||"show"===n._hoverstate?n._hoverstate="show":(cleartimeout(n._timeout),n._hoverstate="show",n.config.delay&&n.config.delay.show?n._timeout=settimeout((function(){"show"===n._hoverstate&&n.show()}),n.config.delay.show):n.show())},n._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?"focus":"hover"]=!1),n._iswithactivetrigger()||(cleartimeout(n._timeout),n._hoverstate="out",n.config.delay&&n.config.delay.hide?n._timeout=settimeout((function(){"out"===n._hoverstate&&n.hide()}),n.config.delay.hide):n.hide())},n._iswithactivetrigger=function(){for(var t in this._activetrigger)if(this._activetrigger[t])return!0;return!1},n._getconfig=function(t){var n=e(this.element).data();return object.keys(n).foreach((function(t){-1!==kt.indexof(t)&&delete n[t]})),"number"==typeof(t=s(s(s({},this.constructor.default),n),"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()),l.typecheckconfig(yt,t,this.constructor.defaulttype),t.sanitize&&(t.template=vt(t.template,t.whitelist,t.sanitizefn)),t},n._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},n._cleantipclass=function(){var t=e(this.gettipelement()),n=t.attr("class").match(xt);null!==n&&n.length&&t.removeclass(n.join(""))},n._handlepopperplacementchange=function(t){this.tip=t.instance.popper,this._cleantipclass(),this.addattachmentclass(this._getattachment(t.placement))},n._fixtransition=function(){var t=this.gettipelement(),n=this.config.animation;null===t.getattribute("x-placement")&&(e(t).removeclass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jqueryinterface=function(n){return this.each((function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new typeerror('no method named "'+n+'"');i[n]()}}))},i(t,null,[{key:"version",get:function(){return"4.5.0"}},{key:"default",get:function(){return jt}},{key:"name",get:function(){return yt}},{key:"data_key",get:function(){return"bs.tooltip"}},{key:"event",get:function(){return zt}},{key:"event_key",get:function(){return".bs.tooltip"}},{key:"defaulttype",get:function(){return gt}}]),t}();e.fn[yt]=te._jqueryinterface,e.fn[yt].constructor=te,e.fn[yt].noconflict=function(){return e.fn[yt]=zt,te._jqueryinterface};var ee="popover",ne=e.fn[ee],ie=new regexp("(^|\\s)bs-popover\\s+","g"),oe=s(s({},te.default),{},{placement:"right",trigger:"click",content:"",template:''}),re=s(s({},te.defaulttype),{},{content:"(string|element|function)"}),se={hide:"hide.bs.popover",hidden:"hidden.bs.popover",show:"show.bs.popover",shown:"shown.bs.popover",inserted:"inserted.bs.popover",click:"click.bs.popover",focusin:"focusin.bs.popover",focusout:"focusout.bs.popover",mouseenter:"mouseenter.bs.popover",mouseleave:"mouseleave.bs.popover"},ae=function(t){var n,o;function r(){return t.apply(this,arguments)||this}o=t,(n=r).prototype=object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o;var s=r.prototype;return s.iswithcontent=function(){return this.gettitle()||this._getcontent()},s.addattachmentclass=function(t){e(this.gettipelement()).addclass("bs-popover-"+t)},s.gettipelement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},s.setcontent=function(){var t=e(this.gettipelement());this.setelementcontent(t.find(".popover-header"),this.gettitle());var n=this._getcontent();"function"==typeof n&&(n=n.call(this.element)),this.setelementcontent(t.find(".popover-body"),n),t.removeclass("fade show")},s._getcontent=function(){return this.element.getattribute("data-content")||this.config.content},s._cleantipclass=function(){var t=e(this.gettipelement()),n=t.attr("class").match(ie);null!==n&&n.length>0&&t.removeclass(n.join(""))},r._jqueryinterface=function(t){return this.each((function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new r(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new typeerror('no method named "'+t+'"');n[t]()}}))},i(r,null,[{key:"version",get:function(){return"4.5.0"}},{key:"default",get:function(){return oe}},{key:"name",get:function(){return ee}},{key:"data_key",get:function(){return"bs.popover"}},{key:"event",get:function(){return se}},{key:"event_key",get:function(){return".bs.popover"}},{key:"defaulttype",get:function(){return re}}]),r}(te);e.fn[ee]=ae._jqueryinterface,e.fn[ee].constructor=ae,e.fn[ee].noconflict=function(){return e.fn[ee]=ne,ae._jqueryinterface};var le="scrollspy",ce=e.fn[le],ue={offset:10,method:"auto",target:""},he={offset:"number",method:"string",target:"(string|element)"},fe=function(){function t(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+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activetarget=null,this._scrollheight=0,e(this._scrollelement).on("scroll.bs.scrollspy",(function(t){return i._process(t)})),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollelement===this._scrollelement.window?"offset":"position",i="auto"===this._config.method?n:this._config.method,o="position"===i?this._getscrolltop():0;this._offsets=[],this._targets=[],this._scrollheight=this._getscrollheight(),[].slice.call(document.queryselectorall(this._selector)).map((function(t){var n,r=l.getselectorfromelement(t);if(r&&(n=document.queryselector(r)),n){var s=n.getboundingclientrect();if(s.width||s.height)return[e(n)[i]().top+o,r]}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])}))},n.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},n._getconfig=function(t){if("string"!=typeof(t=s(s({},ue),"object"==typeof t&&t?t:{})).target&&l.iselement(t.target)){var n=e(t.target).attr("id");n||(n=l.getuid(le),e(t.target).attr("id",n)),t.target="#"+n}return l.typecheckconfig(le,t,he),t},n._getscrolltop=function(){return this._scrollelement===window?this._scrollelement.pageyoffset:this._scrollelement.scrolltop},n._getscrollheight=function(){return this._scrollelement.scrollheight||math.max(document.body.scrollheight,document.documentelement.scrollheight)},n._getoffsetheight=function(){return this._scrollelement===window?window.innerheight:this._scrollelement.getboundingclientrect().height},n._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 o=this._offsets.length;o--;){this._activetarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t li > .active":".active";i=(i=e.makearray(e(o).find(s)))[i.length-1]}var a=e.event("hide.bs.tab",{relatedtarget:this._element}),c=e.event("show.bs.tab",{relatedtarget:i});if(i&&e(i).trigger(a),e(this._element).trigger(c),!c.isdefaultprevented()&&!a.isdefaultprevented()){r&&(n=document.queryselector(r)),this._activate(this._element,o);var u=function(){var n=e.event("hidden.bs.tab",{relatedtarget:t._element}),o=e.event("shown.bs.tab",{relatedtarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentnode,u):u()}}},n.dispose=function(){e.removedata(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var o=this,r=(!n||"ul"!==n.nodename&&"ol"!==n.nodename?e(n).children(".active"):e(n).find("> li > .active"))[0],s=i&&r&&e(r).hasclass("fade"),a=function(){return o._transitioncomplete(t,r,i)};if(r&&s){var c=l.gettransitiondurationfromelement(r);e(r).removeclass("show").one(l.transition_end,a).emulatetransitionend(c)}else a()},n._transitioncomplete=function(t,n,i){if(n){e(n).removeclass("active");var o=e(n.parentnode).find("> .dropdown-menu .active")[0];o&&e(o).removeclass("active"),"tab"===n.getattribute("role")&&n.setattribute("aria-selected",!1)}if(e(t).addclass("active"),"tab"===t.getattribute("role")&&t.setattribute("aria-selected",!0),l.reflow(t),t.classlist.contains("fade")&&t.classlist.add("show"),t.parentnode&&e(t.parentnode).hasclass("dropdown-menu")){var r=e(t).closest(".dropdown")[0];if(r){var s=[].slice.call(r.queryselectorall(".dropdown-toggle"));e(s).addclass("active")}t.setattribute("aria-expanded",!0)}i&&i()},t._jqueryinterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new typeerror('no method named "'+n+'"');o[n]()}}))},i(t,null,[{key:"version",get:function(){return"4.5.0"}}]),t}();e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventdefault(),pe._jqueryinterface.call(e(this),"show")})),e.fn.tab=pe._jqueryinterface,e.fn.tab.constructor=pe,e.fn.tab.noconflict=function(){return e.fn.tab=de,pe._jqueryinterface};var me=e.fn.toast,ge={animation:"boolean",autohide:"boolean",delay:"number"},ve={animation:!0,autohide:!0,delay:500},_e=function(){function t(t,e){this._element=t,this._config=this._getconfig(e),this._timeout=null,this._setlisteners()}var n=t.prototype;return n.show=function(){var t=this,n=e.event("show.bs.toast");if(e(this._element).trigger(n),!n.isdefaultprevented()){this._config.animation&&this._element.classlist.add("fade");var i=function(){t._element.classlist.remove("showing"),t._element.classlist.add("show"),e(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=settimeout((function(){t.hide()}),t._config.delay))};if(this._element.classlist.remove("hide"),l.reflow(this._element),this._element.classlist.add("showing"),this._config.animation){var o=l.gettransitiondurationfromelement(this._element);e(this._element).one(l.transition_end,i).emulatetransitionend(o)}else i()}},n.hide=function(){if(this._element.classlist.contains("show")){var t=e.event("hide.bs.toast");e(this._element).trigger(t),t.isdefaultprevented()||this._close()}},n.dispose=function(){cleartimeout(this._timeout),this._timeout=null,this._element.classlist.contains("show")&&this._element.classlist.remove("show"),e(this._element).off("click.dismiss.bs.toast"),e.removedata(this._element,"bs.toast"),this._element=null,this._config=null},n._getconfig=function(t){return t=s(s(s({},ve),e(this._element).data()),"object"==typeof t&&t?t:{}),l.typecheckconfig("toast",t,this.constructor.defaulttype),t},n._setlisteners=function(){var t=this;e(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return t.hide()}))},n._close=function(){var t=this,n=function(){t._element.classlist.add("hide"),e(t._element).trigger("hidden.bs.toast")};if(this._element.classlist.remove("show"),this._config.animation){var i=l.gettransitiondurationfromelement(this._element);e(this._element).one(l.transition_end,n).emulatetransitionend(i)}else n()},t._jqueryinterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.toast");if(o||(o=new t(this,"object"==typeof n&&n),i.data("bs.toast",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new typeerror('no method named "'+n+'"');o[n](this)}}))},i(t,null,[{key:"version",get:function(){return"4.5.0"}},{key:"defaulttype",get:function(){return ge}},{key:"default",get:function(){return ve}}]),t}();e.fn.toast=_e._jqueryinterface,e.fn.toast.constructor=_e,e.fn.toast.noconflict=function(){return e.fn.toast=me,_e._jqueryinterface},t.alert=h,t.button=d,t.carousel=y,t.collapse=s,t.dropdown=ft,t.modal=qt,t.popover=ae,t.scrollspy=fe,t.tab=pe,t.toast=_e,t.tooltip=te,t.util=l,object.defineproperty(t,"__esmodule",{value:!0})})); //# sourcemappingurl=bootstrap.bundle.min.js.map