/*! * Bootstrap v4.3.1 (https://getbootstrap.com/) * Copyright 2011-2019 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?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).bootstrap=e()}(this,function(){"use strict";function t(t,e){for(var n=0;n-1||(r=t),[i,o,r]}function V(t,e,n,i,o){if("string"==typeof e&&t){n||(n=i,i=null);var r=K(e,n,i),s=r[0],a=r[1],l=r[2],c=F(t),f=c[l]||(c[l]={}),u=B(f,a,s?n:null);if(u)u.oneOff=u.oneOff&&o;else{var h=W(a,e.replace(N,"")),d=s?function(t,e,n){return function i(o){for(var r=t.querySelectorAll(e),s=o.target;s&&s!==this;s=s.parentNode)for(var a=r.length;a--;)if(r[a]===s)return U(o,s),i.oneOff&&Q.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return U(i,t),n.oneOff&&Q.off(t,i.type,e),e.apply(t,[i])}}(t,n);d.delegationSelector=s?n:null,d.originalHandler=a,d.oneOff=o,d.uidEvent=h,f[h]=d,t.addEventListener(l,d,s)}}}function Y(t,e,n,i,o){var r=B(e[n],i,o);null!==r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var Q={on:function(t,e,n,i){V(t,e,n,i,!1)},one:function(t,e,n,i){V(t,e,n,i,!0)},off:function(t,e,n,i){if("string"==typeof e&&t){var o=K(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=F(t),f="."===e.charAt(0);if("undefined"==typeof s){f&&Object.keys(c).forEach(function(n){!function(t,e,n,i){var o=e[n]||{};Object.keys(o).forEach(function(r){if(r.indexOf(i)>-1){var s=o[r];Y(t,e,n,s.originalHandler,s.delegationSelector)}})}(t,c,n,e.substr(1))});var u=c[a]||{};Object.keys(u).forEach(function(n){var i=n.replace(x,"");if(!l||e.indexOf(i)>-1){var o=u[n];Y(t,c,a,o.originalHandler,o.delegationSelector)}})}else{if(!c||!c[a])return;Y(t,c,a,s,r?n:null)}}},trigger:function(t,e,n){if("string"!=typeof e||!t)return null;var i,o=e.replace(k,""),r=e!==o,s=R.indexOf(o)>-1,a=!0,c=!0,f=!1,u=null;return r&&"undefined"!=typeof l&&(i=l.Event(e,n),l(t).trigger(i),a=!i.isPropagationStopped(),c=!i.isImmediatePropagationStopped(),f=i.isDefaultPrevented()),s?(u=document.createEvent("HTMLEvents")).initEvent(o,a,!0):u=O(e,{bubbles:a,cancelable:!0}),"undefined"!=typeof n&&Object.keys(n).forEach(function(t){Object.defineProperty(u,t,{get:function(){return n[t]}})}),f&&(u.preventDefault(),L||Object.defineProperty(u,"defaultPrevented",{get:function(){return!0}})),c&&t.dispatchEvent(u),u.defaultPrevented&&"undefined"!=typeof i&&i.preventDefault(),u}},G={matches:function(t,e){return D.call(t,e)},find:function(t,e){return void 0===e&&(e=document.documentElement),"string"!=typeof t?null:I.call(e,t)},findOne:function(t,e){return void 0===e&&(e=document.documentElement),"string"!=typeof t?null:A.call(e,t)},children:function(t,e){var n=this;if("string"!=typeof e)return null;var i=m(t.children);return i.filter(function(t){return n.matches(t,e)})},parents:function(t,e){if("string"!=typeof e)return null;for(var n=[],i=t.parentNode;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.parentNode;return n},closest:function(t,e){return"string"!=typeof e?null:T.call(t,e)},prev:function(t,e){if("string"!=typeof e)return null;for(var n=[],i=t.previousSibling;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.previousSibling;return n}},X="bs.alert",q="."+X,z={CLOSE:"close"+q,CLOSED:"closed"+q,CLICK_DATA_API:"click"+q+".data-api"},Z="alert",$="fade",J="show",tt=function(){function t(t){this._element=t,this._element&&E.setData(t,X,this)}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)},n.dispose=function(){E.removeData(this._element,X),this._element=null},n._getRootElement=function(t){var e=f(t),n=!1;return e&&(n=G.findOne(e)),n||(n=G.closest(t,"."+Z)),n},n._triggerCloseEvent=function(t){return Q.trigger(t,z.CLOSE)},n._removeElement=function(t){var e=this;if(t.classList.remove(J),t.classList.contains($)){var n=u(t);Q.one(t,a,function(n){return e._destroyElement(t,n)}),p(t,n)}else this._destroyElement(t)},n._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),Q.trigger(t,z.CLOSED)},t._jQueryInterface=function(e){return this.each(function(){var n=E.getData(this,X);n||(n=new t(this)),"close"===e&&n[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},t._getInstance=function(t){return E.getData(t,X)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(Q.on(document,z.CLICK_DATA_API,'[data-dismiss="alert"]',tt._handleDismiss(new tt)),"undefined"!=typeof l){var et=l.fn.alert;l.fn.alert=tt._jQueryInterface,l.fn.alert.Constructor=tt,l.fn.alert.noConflict=function(){return l.fn.alert=et,tt._jQueryInterface}}var nt="bs.button",it="."+nt,ot="active",rt="btn",st="focus",at='[data-toggle^="button"]',lt='[data-toggle="buttons"]',ct='input:not([type="hidden"])',ft=".active",ut=".btn",ht={CLICK_DATA_API:"click"+it+".data-api",FOCUS_DATA_API:"focus"+it+".data-api",BLUR_DATA_API:"blur"+it+".data-api"},dt=function(){function t(t){this._element=t,E.setData(t,nt,this)}var n=t.prototype;return n.toggle=function(){var t=!0,e=!0,n=G.closest(this._element,lt);if(n){var i=G.findOne(ct,this._element);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(ot))t=!1;else{var o=G.findOne(ft,n);o&&o.classList.remove(ot)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(ot),Q.trigger(i,"change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ot)),t&&this._element.classList.toggle(ot)},n.dispose=function(){E.removeData(this._element,nt),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=E.getData(this,nt);n||(n=new t(this)),"toggle"===e&&n[e]()})},t._getInstance=function(t){return E.getData(t,nt)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(Q.on(document,ht.CLICK_DATA_API,at,function(t){t.preventDefault();var e=t.target;e.classList.contains(rt)||(e=G.closest(e,ut));var n=E.getData(e,nt);n||(n=new dt(e),E.setData(e,nt,n)),n.toggle()}),Q.on(document,ht.FOCUS_DATA_API,at,function(t){var e=G.closest(t.target,ut);e&&e.classList.add(st)}),Q.on(document,ht.BLUR_DATA_API,at,function(t){var e=G.closest(t.target,ut);e&&e.classList.remove(st)}),"undefined"!=typeof l){var pt=l.fn.button;l.fn.button=dt._jQueryInterface,l.fn.button.Constructor=dt,l.fn.button.noConflict=function(){return l.fn.button=pt,dt._jQueryInterface}}function gt(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function mt(t){return t.replace(/[A-Z]/g,function(t){return t.toLowerCase()})}var _t={setDataAttribute:function(t,e,n){t.setAttribute("data-"+mt(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+mt(e))},getDataAttributes:function(t){if(!t)return{};var e=i({},t.dataset);return Object.keys(e).forEach(function(t){e[t]=gt(e[t])}),e},getDataAttribute:function(t,e){return gt(t.getAttribute("data-"+mt(e)))},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:function(t){return{top:t.offsetTop,left:t.offsetLeft}},toggleClass:function(t,e){t&&(t.classList.contains(e)?t.classList.remove(e):t.classList.add(e))}},vt="carousel",yt="bs.carousel",bt="."+yt,Et={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},wt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Dt="next",Tt="prev",It="left",At="right",Ot={SLIDE:"slide"+bt,SLID:"slid"+bt,KEYDOWN:"keydown"+bt,MOUSEENTER:"mouseenter"+bt,MOUSELEAVE:"mouseleave"+bt,TOUCHSTART:"touchstart"+bt,TOUCHMOVE:"touchmove"+bt,TOUCHEND:"touchend"+bt,POINTERDOWN:"pointerdown"+bt,POINTERUP:"pointerup"+bt,DRAG_START:"dragstart"+bt,LOAD_DATA_API:"load"+bt+".data-api",CLICK_DATA_API:"click"+bt+".data-api"},St="carousel",Lt="active",Ct="slide",Nt="carousel-item-right",kt="carousel-item-left",Pt="carousel-item-next",xt="carousel-item-prev",Mt="pointer-event",Ht={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},jt={TOUCH:"touch",PEN:"pen"},Rt=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=G.findOne(Ht.INDICATORS,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners(),E.setData(t,yt,this)}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(Dt)},n.nextWhenVisible=function(){!document.hidden&&_(this._element)&&this.next()},n.prev=function(){this._isSliding||this._slide(Tt)},n.pause=function(t){t||(this._isPaused=!0),G.findOne(Ht.NEXT_PREV,this._element)&&(h(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&&this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(t){var e=this;this._activeElement=G.findOne(Ht.ACTIVE_ITEM,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)Q.one(this._element,Ot.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=t>n?Dt:Tt;this._slide(i,this._items[t])}},n.dispose=function(){Q.off(this._element,bt),E.removeData(this._element,yt),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=i({},Et,t),g(vt,t,wt),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&&Q.on(this._element,Ot.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(Q.on(this._element,Ot.MOUSEENTER,function(e){return t.pause(e)}),Q.on(this._element,Ot.MOUSELEAVE,function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&jt[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&jt[e.pointerType.toUpperCase()]&&(t.touchDeltaX=e.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))};m(G.find(Ht.ITEM_IMG,this._element)).forEach(function(t){Q.on(t,Ot.DRAG_START,function(t){return t.preventDefault()})}),this._pointerEvent?(Q.on(this._element,Ot.POINTERDOWN,function(t){return e(t)}),Q.on(this._element,Ot.POINTERUP,function(t){return n(t)}),this._element.classList.add(Mt)):(Q.on(this._element,Ot.TOUCHSTART,function(t){return e(t)}),Q.on(this._element,Ot.TOUCHMOVE,function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)}),Q.on(this._element,Ot.TOUCHEND,function(t){return n(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?m(G.find(Ht.ITEM,t.parentNode)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===Dt,i=t===Tt,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===Tt?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(G.findOne(Ht.ACTIVE_ITEM,this._element));return Q.trigger(this._element,Ot.SLIDE,{relatedTarget:t,direction:e,from:i,to:n})},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=G.find(Ht.ACTIVE,this._indicatorsElement),n=0;n0)for(var i=0;i=0){ie=1;break}var re=ee&&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()},ie))}};function se(t){return t&&"[object Function]"==={}.toString.call(t)}function ae(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function le(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function ce(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=ae(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:ce(le(t))}var fe=ee&&!(!window.MSInputMethodContext||!document.documentMode),ue=ee&&/MSIE 10/.test(navigator.userAgent);function he(t){return 11===t?fe:10===t?ue:fe||ue}function de(t){if(!t)return document.documentElement;for(var e=he(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"===ae(n,"position")?de(n):n:t?t.ownerDocument.documentElement:document.documentElement}function pe(t){return null!==t.parentNode?pe(t.parentNode):t}function ge(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&&de(s.firstElementChild)!==s?de(l):l;var c=pe(t);return c.host?ge(c.host,e):ge(t,pe(e).host)}function me(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function _e(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 ve(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],he(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function ye(t){var e=t.body,n=t.documentElement,i=he(10)&&getComputedStyle(n);return{height:ve("Height",e,n,i),width:ve("Width",e,n,i)}}var be=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ee=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=he(10),o="HTML"===e.nodeName,r=Ie(t),s=Ie(e),a=ce(t),l=ae(e),c=parseFloat(l.borderTopWidth,10),f=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=Te({top:r.top-s.top-c,left:r.left-s.left-f,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var h=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);u.top-=c-h,u.bottom-=c-h,u.left-=f-d,u.right-=f-d,u.marginTop=h,u.marginLeft=d}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=me(e,"top"),o=me(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(u,e)),u}function Oe(t){if(!t||!t.parentElement||he())return document.documentElement;for(var e=t.parentElement;e&&"none"===ae(e,"transform");)e=e.parentElement;return e||document.documentElement}function Se(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?Oe(t):ge(t,e);if("viewport"===i)r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=Ae(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:me(n),a=e?0:me(n,"left");return Te({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=ce(le(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=Ae(a,s,o);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===ae(e,"position"))return!0;var i=le(e);return!!i&&t(i)}(s))r=l;else{var c=ye(t.ownerDocument),f=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=f+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var h="number"==typeof(n=n||0);return r.left+=h?n:n.left||0,r.top+=h?n:n.top||0,r.right-=h?n:n.right||0,r.bottom-=h?n:n.bottom||0,r}function Le(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=Se(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 De({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).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}),f=c.length>0?c[0].key:l[0].key,u=t.split("-")[1];return f+(u?"-"+u:"")}function Ce(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Ae(n,i?Oe(e):ge(e,n),i)}function Ne(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 ke(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 Pe(t,e,n){n=n.split("-")[0];var i=Ne(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[ke(a)],o}function xe(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Me(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=xe(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&&se(n)&&(e.offsets.popper=Te(e.offsets.popper),e.offsets.reference=Te(e.offsets.reference),e=n(e,t))}),e}function He(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function je(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=Qe.indexOf(t),i=Qe.slice(n+1).concat(Qe.slice(0,n));return e?i.reverse():i}var Xe={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function qe(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(xe(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 Te(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){Ue(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))})}),o}var ze={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",f={start:we({},l,r[l]),end:we({},l,r[l]+r[c]-s[c])};t.offsets.popper=De({},s,f[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=Ue(+n)?[+n,0]:qe(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||de(t.instance.popper);t.instance.reference===n&&(n=de(n));var i=je("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=Se(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,f=t.offsets.popper,u={primary:function(t){var n=f[t];return f[t]l[t]&&!e.escapeWithReference&&(i=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),we({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=De({},f,u[e](t))}),t.offsets.popper=f,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(!Ve(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",f=l?"Top":"Left",u=f.toLowerCase(),h=l?"left":"top",d=l?"bottom":"right",p=Ne(i)[c];a[d]-ps[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=Te(t.offsets.popper);var g=a[u]+a[c]/2-p/2,m=ae(t.instance.popper),_=parseFloat(m["margin"+f],10),v=parseFloat(m["border"+f+"Width"],10),y=g-t.offsets.popper[u]-_-v;return y=Math.max(Math.min(s[c]-p,y),0),t.arrowElement=i,t.offsets.arrow=(we(n={},u,Math.round(y)),we(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(He(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=Se(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=ke(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case Xe.FLIP:s=[i,o];break;case Xe.CLOCKWISE:s=Ge(i);break;case Xe.COUNTERCLOCKWISE:s=Ge(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=ke(i);var c=t.offsets.popper,f=t.offsets.reference,u=Math.floor,h="left"===i&&u(c.right)>u(f.left)||"right"===i&&u(c.left)u(f.top)||"bottom"===i&&u(c.top)u(n.right),g=u(c.top)u(n.bottom),_="left"===i&&d||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,v=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(v&&"start"===r&&d||v&&"end"===r&&p||!v&&"start"===r&&g||!v&&"end"===r&&m),b=!!e.flipVariationsByContent&&(v&&"start"===r&&p||v&&"end"===r&&d||!v&&"start"===r&&m||!v&&"end"===r&&g),E=y||b;(h||_||E)&&(t.flipped=!0,(h||_)&&(i=s[l+1]),E&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=De({},t.offsets.popper,Pe(t.instance.popper,t.offsets.reference,t.placement)),t=Me(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=ke(e),t.offsets.popper=Te(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Ve(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=xe(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]:{};be(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=re(this.update.bind(this)),this.options=De({},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(De({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=De({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return De({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&se(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 Ee(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Ce(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=Le(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=Pe(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Me(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,He(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[je("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=We(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return Fe.call(this)}}]),t}();Ze.Utils=("undefined"!=typeof window?window:global).PopperUtils,Ze.placements=Ye,Ze.Defaults=ze;var $e="dropdown",Je="bs.dropdown",tn="."+Je,en=new RegExp("38|40|27"),nn={HIDE:"hide"+tn,HIDDEN:"hidden"+tn,SHOW:"show"+tn,SHOWN:"shown"+tn,CLICK:"click"+tn,CLICK_DATA_API:"click"+tn+".data-api",KEYDOWN_DATA_API:"keydown"+tn+".data-api",KEYUP_DATA_API:"keyup"+tn+".data-api"},on="disabled",rn="show",sn="dropup",an="dropright",ln="dropleft",cn="dropdown-menu-right",fn="position-static",un='[data-toggle="dropdown"]',hn=".dropdown form",dn=".dropdown-menu",pn=".navbar-nav",gn=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",mn="top-start",_n="top-end",vn="bottom-start",yn="bottom-end",bn="right-start",En="left-start",wn={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Dn={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Tn=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(),E.setData(t,Je,this)}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(on)){var e=t._getParentFromElement(this._element),n=this._menu.classList.contains(rn);if(t._clearMenus(),!n){var i={relatedTarget:this._element};if(!Q.trigger(e,nn.SHOW,i).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof Ze)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var o=this._element;"parent"===this._config.reference?o=e:d(this._config.reference)&&(o=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e.classList.add(fn),this._popper=new Ze(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!m(G.closest(e,pn)).length&&m(document.body.children).forEach(function(t){return Q.on(t,"mouseover",null,function(){})}),this._element.focus(),this._element.setAttribute("aria-expanded",!0),_t.toggleClass(this._menu,rn),_t.toggleClass(e,rn),Q.trigger(e,nn.SHOWN,i)}}}},n.show=function(){if(!(this._element.disabled||this._element.classList.contains(on)||this._menu.classList.contains(rn))){var e=t._getParentFromElement(this._element),n={relatedTarget:this._element};Q.trigger(e,nn.SHOW,n).defaultPrevented||(_t.toggleClass(this._menu,rn),_t.toggleClass(e,rn),Q.trigger(e,nn.SHOWN,n))}},n.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(on)&&this._menu.classList.contains(rn)){var e=t._getParentFromElement(this._element),n={relatedTarget:this._element};Q.trigger(e,nn.HIDE,n).defaultPrevented||(_t.toggleClass(this._menu,rn),_t.toggleClass(e,rn),Q.trigger(e,nn.HIDDEN,n))}},n.dispose=function(){E.removeData(this._element,Je),Q.off(this._element,tn),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;Q.on(this._element,nn.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},n._getConfig=function(t){return t=i({},this.constructor.Default,_t.getDataAttributes(this._element),t),g($e,t,this.constructor.DefaultType),t},n._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=G.findOne(dn,e))}return this._menu},n._getPlacement=function(){var t=this._element.parentNode,e=vn;return t.classList.contains(sn)?(e=mn,this._menu.classList.contains(cn)&&(e=_n)):t.classList.contains(an)?e=bn:t.classList.contains(ln)?e=En:this._menu.classList.contains(cn)&&(e=yn),e},n._detectNavbar=function(){return Boolean(G.closest(this._element,".navbar"))},n._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=i({},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}),t},t._dropdownInterface=function(e,n){var i=E.getData(e,Je);if(i||(i=new t(e,"object"==typeof n?n:null)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t._jQueryInterface=function(e){return this.each(function(){t._dropdownInterface(this,e)})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=m(G.find(un)),i=0,o=n.length;i0&&r--,40===e.which&&rdocument.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=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:Vn},$n="show",Jn="out",ti={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"},ei="fade",ni="show",ii=".tooltip-inner",oi=".tooltip-arrow",ri="hover",si="focus",ai="click",li="manual",ci=function(){function t(t,e){if("undefined"==typeof Ze)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(),E.setData(t,this.constructor.DATA_KEY,this)}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 e=this.constructor.DATA_KEY,n=E.getData(t.delegateTarget,e);n||(n=new this.constructor(t.delegateTarget,this._getDelegateConfig()),E.setData(t.delegateTarget,e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(this.getTipElement().classList.contains(ni))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),E.removeData(this.element,this.constructor.DATA_KEY),Q.off(this.element,this.constructor.EVENT_KEY),Q.off(G.closest(this.element,".modal"),"hide.bs.modal"),this.tip&&this.tip.parentNode.removeChild(this.tip),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},n.show=function(){var t=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var e=Q.trigger(this.element,this.constructor.Event.SHOW),n=function t(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var n=e.getRootNode();return n instanceof ShadowRoot?n:null}return e instanceof ShadowRoot?e:e.parentNode?t(e.parentNode):null}(this.element),i=null===n?this.element.ownerDocument.documentElement.contains(this.element):n.contains(this.element);if(e.defaultPrevented||!i)return;var o=this.getTipElement(),r=c(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&o.classList.add(ei);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(s);this.addAttachmentClass(l);var f=this._getContainer();E.setData(o,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||f.appendChild(o),Q.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new Ze(this.element,o,{placement:l,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:oi},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),o.classList.add(ni),"ontouchstart"in document.documentElement&&m(document.body.children).forEach(function(t){Q.on(t,"mouseover",function(){})});var h=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,Q.trigger(t.element,t.constructor.Event.SHOWN),e===Jn&&t._leave(null,t)};if(this.tip.classList.contains(ei)){var d=u(this.tip);Q.one(this.tip,a,h),p(this.tip,d)}else h()}},n.hide=function(t){var e=this,n=this.getTipElement(),i=function(){e._hoverState!==$n&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),Q.trigger(e.element,e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(!Q.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){if(n.classList.remove(ni),"ontouchstart"in document.documentElement&&m(document.body.children).forEach(function(t){return Q.off(t,"mouseover",v)}),this._activeTrigger[ai]=!1,this._activeTrigger[si]=!1,this._activeTrigger[ri]=!1,this.tip.classList.contains(ei)){var o=u(n);Q.one(n,a,i),p(n,o)}else i();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+t)},n.getTipElement=function(){if(this.tip)return this.tip;var t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip},n.setContent=function(){var t=this.getTipElement();this.setElementContent(G.findOne(ii,t),this.getTitle()),t.classList.remove(ei),t.classList.remove(ni)},n.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&(e.nodeType||e.jquery)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.innerText=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=Yn(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.innerText=e)},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._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=i({},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:d(this.config.container)?this.config.container:G.findOne(this.config.container)},n._getAttachment=function(t){return zn[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)Q.on(t.element,t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==li){var n=e===ri?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===ri?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;Q.on(t.element,n,t.config.selector,function(e){return t._enter(e)}),Q.on(t.element,i,t.config.selector,function(e){return t._leave(e)})}}),Q.on(G.closest(this.element,".modal"),"hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=i({},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,e){var n=this.constructor.DATA_KEY;(e=e||E.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),E.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusin"===t.type?si:ri]=!0),e.getTipElement().classList.contains(ni)||e._hoverState===$n?e._hoverState=$n:(clearTimeout(e._timeout),e._hoverState=$n,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===$n&&e.show()},e.config.delay.show):e.show())},n._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||E.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),E.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusout"===t.type?si:ri]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Jn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===Jn&&e.hide()},e.config.delay.hide):e.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var e=_t.getDataAttributes(this.element);return Object.keys(e).forEach(function(t){-1!==Xn.indexOf(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=i({},this.constructor.Default,e,"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()),g(Qn,t,this.constructor.DefaultType),t.sanitize&&(t.template=Yn(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=this.getTipElement(),e=t.getAttribute("class").match(Gn);null!==e&&e.length&&e.map(function(t){return t.trim()}).forEach(function(e){return t.classList.remove(e)})},n._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(ei),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var n=E.getData(this,"bs.tooltip"),i="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i)),"string"==typeof e)){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},t._getInstance=function(t){return E.getData(t,"bs.tooltip")},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Zn}},{key:"NAME",get:function(){return Qn}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return ti}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return qn}}]),t}();if("undefined"!=typeof l){var fi=l.fn.tooltip;l.fn.tooltip=ci._jQueryInterface,l.fn.tooltip.Constructor=ci,l.fn.tooltip.noConflict=function(){return l.fn.tooltip=fi,ci._jQueryInterface}}var ui="popover",hi=new RegExp("(^|\\s)bs-popover\\S+","g"),di=i({},ci.Default,{placement:"right",trigger:"click",content:"",template:''}),pi=i({},ci.DefaultType,{content:"(string|element|function)"}),gi="fade",mi="show",_i=".popover-header",vi=".popover-body",yi={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"},bi=function(t){var n,i;function o(){return t.apply(this,arguments)||this}i=t,(n=o).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var r=o.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},r.setContent=function(){var t=this.getTipElement();this.setElementContent(G.findOne(_i,t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(G.findOne(vi,t),e),t.classList.remove(gi),t.classList.remove(mi)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(hi);null!==e&&e.length>0&&e.map(function(t){return t.trim()}).forEach(function(e){return t.classList.remove(e)})},o._jQueryInterface=function(t){return this.each(function(){var e=E.getData(this,"bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,n),E.setData(this,"bs.popover",e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},o._getInstance=function(t){return E.getData(t,"bs.popover")},e(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return di}},{key:"NAME",get:function(){return ui}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return yi}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return pi}}]),o}(ci);if("undefined"!=typeof l){var Ei=l.fn.popover;l.fn.popover=bi._jQueryInterface,l.fn.popover.Constructor=bi,l.fn.popover.noConflict=function(){return l.fn.popover=Ei,bi._jQueryInterface}}var wi="scrollspy",Di="bs.scrollspy",Ti="."+Di,Ii={offset:10,method:"auto",target:""},Ai={offset:"number",method:"string",target:"(string|element)"},Oi={ACTIVATE:"activate"+Ti,SCROLL:"scroll"+Ti,LOAD_DATA_API:"load"+Ti+".data-api"},Si={DROPDOWN_ITEM:"dropdown-item",ACTIVE:"active"},Li={DATA_SPY:'[data-spy="scroll"]',NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_TOGGLE:".dropdown-toggle"},Ci="offset",Ni="position",ki=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Li.NAV_LINKS+","+this._config.target+" "+Li.LIST_ITEMS+","+this._config.target+" ."+Si.DROPDOWN_ITEM,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,Q.on(this._scrollElement,Oi.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process(),E.setData(t,Di,this)}var n=t.prototype;return n.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Ci:Ni,n="auto"===this._config.method?e:this._config.method,i=n===Ni?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),m(G.find(this._selector)).map(function(t){var e,o=f(t);if(o&&(e=G.findOne(o)),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[_t[n](e).top+i,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])})},n.dispose=function(){E.removeData(this._element,Di),Q.off(this._scrollElement,Ti),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=i({},Ii,"object"==typeof t&&t?t:{})).target){var e=t.target.id;e||(e=c(wi),t.target.id=e),t.target="#"+e}return g(wi,t,Ai),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