Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bootstrap.min.js « js « dist - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ab46105b175b70785ae36be05f97057a4d60ec0 (plain)
1
2
3
4
5
6
7
/*!
  * 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(require("popper.js")):"function"==typeof define&&define.amd?define(["popper.js"],e):(t=t||self).bootstrap=e(t.Popper)}(this,(function(t){"use strict";function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(n,!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}t=t&&t.hasOwnProperty("default")?t.default:t;var s,a,l,c="transitionend",u=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},f=function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():null}return e},h=function(t){var e=f(t);return e&&document.querySelector(e)?e:null},d=function(t){var e=f(t);return e?document.querySelector(e):null},g=function(t){if(!t)return 0;var e=window.getComputedStyle(t),n=e.transitionDuration,i=e.transitionDelay,o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},p=function(t){var e=document.createEvent("HTMLEvents");e.initEvent(c,!0,!0),t.dispatchEvent(e)},_=function(t){return(t[0]||t).nodeType},m=function(t,e){var n=!1,i=e+5;t.addEventListener(c,(function e(){n=!0,t.removeEventListener(c,e)})),setTimeout((function(){n||p(t)}),i)},v=function(t,e,n){Object.keys(n).forEach((function(i){var o,r=n[i],s=e[i],a=s&&_(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+r+'".')}))},E=function(t){return t?[].slice.call(t):[]},y=function(t){return!!t&&(!!(t.style&&t.parentNode&&t.parentNode.style)&&("none"!==t.style.display&&"none"!==t.parentNode.style.display&&"hidden"!==t.style.visibility))},b=function(){return function(){}},D=function(t){return t.offsetHeight},T=function(){var t=window.jQuery;return t&&!document.body.hasAttribute("data-no-jquery")?t:null},I=(s={},a=1,{set:function(t,e,n){"undefined"==typeof t.key&&(t.key={key:e,id:a},a++),s[t.key.id]=n},get:function(t,e){if(!t||"undefined"==typeof t.key)return null;var n=t.key;return n.key===e?s[n.id]:null},delete:function(t,e){if("undefined"!=typeof t.key){var n=t.key;n.key===e&&(delete s[n.id],delete t.key)}}}),A={setData:function(t,e,n){I.set(t,e,n)},getData:function(t,e){return I.get(t,e)},removeData:function(t,e){I.delete(t,e)}},S=Element.prototype,w=S.matches,C=S.closest,L=Element.prototype.querySelectorAll,O=Element.prototype.querySelector,N=function(t,e){return new CustomEvent(t,e)};if("function"!=typeof window.CustomEvent&&(N=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}),!((l=document.createEvent("CustomEvent")).initEvent("Bootstrap",!0,!0),l.preventDefault(),l.defaultPrevented)){var k=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(k.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var P=function(){var t=N("Bootstrap",{cancelable:!0}),e=document.createElement("div");return e.addEventListener("Bootstrap",(function(){return null})),t.preventDefault(),e.dispatchEvent(t),t.defaultPrevented}();w||(w=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),C||(C=function(t){var e=this;do{if(w.call(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var H=/:scope\b/;(function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0})()||(L=function(t){if(!H.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=u("scope"));var n=null;try{t=t.replace(H,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},O=function(t){if(!H.test(t))return this.querySelector(t);var e=L.call(this,t);return"undefined"!=typeof e[0]?e[0]:null});var j=T(),M=/[^.]*(?=\..*)\.|.*/,R=/\..*/,x=/^key/,W=/::\d+$/,U={},K=1,V={mouseenter:"mouseover",mouseleave:"mouseout"},B=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function F(t,e){return e&&e+"::"+K++||t.uidEvent||K++}function Q(t){var e=F(t);return t.uidEvent=e,U[e]=U[e]||{},U[e]}function Y(t,e){null===t.which&&x.test(t.type)&&(t.which=null===t.charCode?t.keyCode:t.charCode),t.delegateTarget=e}function G(t,e,n){void 0===n&&(n=null);for(var i=Object.keys(t),o=0,r=i.length;o<r;o++){var s=t[i[o]];if(s.originalHandler===e&&s.delegationSelector===n)return s}return null}function X(t,e,n){var i="string"==typeof e,o=i?n:e,r=t.replace(R,""),s=V[r];return s&&(r=s),B.indexOf(r)>-1||(r=t),[i,o,r]}function q(t,e,n,i,o){if("string"==typeof e&&t){n||(n=i,i=null);var r=X(e,n,i),s=r[0],a=r[1],l=r[2],c=Q(t),u=c[l]||(c[l]={}),f=G(u,a,s?n:null);if(f)f.oneOff=f.oneOff&&o;else{var h=F(a,e.replace(M,"")),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 Y(o,s),i.oneOff&&Z.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return Y(i,t),n.oneOff&&Z.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,u[h]=d,t.addEventListener(l,d,s)}}}function z(t,e,n,i,o){var r=G(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var Z={on:function(t,e,n,i){q(t,e,n,i,!1)},one:function(t,e,n,i){q(t,e,n,i,!0)},off:function(t,e,n,i){if("string"==typeof e&&t){var o=X(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=Q(t),u="."===e.charAt(0);if("undefined"==typeof s){u&&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];z(t,e,n,s.originalHandler,s.delegationSelector)}}))}(t,c,n,e.slice(1))}));var f=c[a]||{};Object.keys(f).forEach((function(n){var i=n.replace(W,"");if(!l||e.indexOf(i)>-1){var o=f[n];z(t,c,a,o.originalHandler,o.delegationSelector)}}))}else{if(!c||!c[a])return;z(t,c,a,s,r?n:null)}}},trigger:function(t,e,n){if("string"!=typeof e||!t)return null;var i,o=e.replace(R,""),r=e!==o,s=B.indexOf(o)>-1,a=!0,l=!0,c=!1,u=null;return r&&j&&(i=j.Event(e,n),j(t).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),s?(u=document.createEvent("HTMLEvents")).initEvent(o,a,!0):u=N(e,{bubbles:a,cancelable:!0}),"undefined"!=typeof n&&Object.keys(n).forEach((function(t){Object.defineProperty(u,t,{get:function(){return n[t]}})})),c&&(u.preventDefault(),P||Object.defineProperty(u,"defaultPrevented",{get:function(){return!0}})),l&&t.dispatchEvent(u),u.defaultPrevented&&"undefined"!=typeof i&&i.preventDefault(),u}},$={matches:function(t,e){return w.call(t,e)},find:function(t,e){return void 0===e&&(e=document.documentElement),L.call(e,t)},findOne:function(t,e){return void 0===e&&(e=document.documentElement),O.call(e,t)},children:function(t,e){var n=this,i=E(t.children);return i.filter((function(t){return n.matches(t,e)}))},parents:function(t,e){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 C.call(t,e)},prev:function(t,e){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}},J="bs.alert",tt="."+J,et={CLOSE:"close"+tt,CLOSED:"closed"+tt,CLICK_DATA_API:"click"+tt+".data-api"},nt="alert",it="fade",ot="show",rt=function(){function t(t){this._element=t,this._element&&A.setData(t,J,this)}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)},e.dispose=function(){A.removeData(this._element,J),this._element=null},e._getRootElement=function(t){var e=d(t);return e||(e=$.closest(t,"."+nt)),e},e._triggerCloseEvent=function(t){return Z.trigger(t,et.CLOSE)},e._removeElement=function(t){var e=this;if(t.classList.remove(ot),t.classList.contains(it)){var n=g(t);Z.one(t,c,(function(){return e._destroyElement(t)})),m(t,n)}else this._destroyElement(t)},e._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),Z.trigger(t,et.CLOSED)},t.jQueryInterface=function(e){return this.each((function(){var n=A.getData(this,J);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 A.getData(t,J)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();Z.on(document,et.CLICK_DATA_API,'[data-dismiss="alert"]',rt.handleDismiss(new rt));var st=T();if(st){var at=st.fn.alert;st.fn.alert=rt.jQueryInterface,st.fn.alert.Constructor=rt,st.fn.alert.noConflict=function(){return st.fn.alert=at,rt.jQueryInterface}}var lt="bs.button",ct="."+lt,ut="active",ft="btn",ht="focus",dt='[data-toggle^="button"]',gt='[data-toggle="buttons"]',pt='input:not([type="hidden"])',_t=".active",mt=".btn",vt={CLICK_DATA_API:"click"+ct+".data-api",FOCUS_DATA_API:"focus"+ct+".data-api",BLUR_DATA_API:"blur"+ct+".data-api"},Et=function(){function t(t){this._element=t,A.setData(t,lt,this)}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=$.closest(this._element,gt);if(n){var i=$.findOne(pt,this._element);if(i&&"radio"===i.type){if(i.checked&&this._element.classList.contains(ut))t=!1;else{var o=$.findOne(_t,n);o&&o.classList.remove(ut)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(ut),Z.trigger(i,"change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ut)),t&&this._element.classList.toggle(ut)},e.dispose=function(){A.removeData(this._element,lt),this._element=null},t.jQueryInterface=function(e){return this.each((function(){var n=A.getData(this,lt);n||(n=new t(this)),"toggle"===e&&n[e]()}))},t.getInstance=function(t){return A.getData(t,lt)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();Z.on(document,vt.CLICK_DATA_API,dt,(function(t){t.preventDefault();var e=t.target;e.classList.contains(ft)||(e=$.closest(e,mt));var n=A.getData(e,lt);n||(n=new Et(e)),n.toggle()})),Z.on(document,vt.FOCUS_DATA_API,dt,(function(t){var e=$.closest(t.target,mt);e&&e.classList.add(ht)})),Z.on(document,vt.BLUR_DATA_API,dt,(function(t){var e=$.closest(t.target,mt);e&&e.classList.remove(ht)}));var yt=T();if(yt){var bt=yt.fn.button;yt.fn.button=Et.jQueryInterface,yt.fn.button.Constructor=Et,yt.fn.button.noConflict=function(){return yt.fn.button=bt,Et.jQueryInterface}}function Dt(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function Tt(t){return t.replace(/[A-Z]/g,(function(t){return t.toLowerCase()}))}var It={setDataAttribute:function(t,e,n){t.setAttribute("data-"+Tt(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+Tt(e))},getDataAttributes:function(t){if(!t)return{};var e=r({},t.dataset);return Object.keys(e).forEach((function(t){e[t]=Dt(e[t])})),e},getDataAttribute:function(t,e){return Dt(t.getAttribute("data-"+Tt(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))}},At="carousel",St="bs.carousel",wt="."+St,Ct={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Lt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Ot="next",Nt="prev",kt="left",Pt="right",Ht={SLIDE:"slide"+wt,SLID:"slid"+wt,KEYDOWN:"keydown"+wt,MOUSEENTER:"mouseenter"+wt,MOUSELEAVE:"mouseleave"+wt,TOUCHSTART:"touchstart"+wt,TOUCHMOVE:"touchmove"+wt,TOUCHEND:"touchend"+wt,POINTERDOWN:"pointerdown"+wt,POINTERUP:"pointerup"+wt,DRAG_START:"dragstart"+wt,LOAD_DATA_API:"load"+wt+".data-api",CLICK_DATA_API:"click"+wt+".data-api"},jt="carousel",Mt="active",Rt="slide",xt="carousel-item-right",Wt="carousel-item-left",Ut="carousel-item-next",Kt="carousel-item-prev",Vt="pointer-event",Bt={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"]'},Ft={TOUCH:"touch",PEN:"pen"},Qt=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=$.findOne(Bt.INDICATORS,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners(),A.setData(t,St,this)}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(Ot)},e.nextWhenVisible=function(){!document.hidden&&y(this._element)&&this.next()},e.prev=function(){this._isSliding||this._slide(Nt)},e.pause=function(t){t||(this._isPaused=!0),$.findOne(Bt.NEXT_PREV,this._element)&&(p(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.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))},e.to=function(t){var e=this;this._activeElement=$.findOne(Bt.ACTIVE_ITEM,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)Z.one(this._element,Ht.SLID,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var i=t>n?Ot:Nt;this._slide(i,this._items[t])}},e.dispose=function(){Z.off(this._element,wt),A.removeData(this._element,St),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=r({},Ct,{},t),v(At,t,Lt),t},e._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()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&Z.on(this._element,Ht.KEYDOWN,(function(e){return t._keydown(e)})),"hover"===this._config.pause&&(Z.on(this._element,Ht.MOUSEENTER,(function(e){return t.pause(e)})),Z.on(this._element,Ht.MOUSELEAVE,(function(e){return t.cycle(e)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this,e=function(e){t._pointerEvent&&Ft[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&Ft[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))};E($.find(Bt.ITEM_IMG,this._element)).forEach((function(t){Z.on(t,Ht.DRAG_START,(function(t){return t.preventDefault()}))})),this._pointerEvent?(Z.on(this._element,Ht.POINTERDOWN,(function(t){return e(t)})),Z.on(this._element,Ht.POINTERUP,(function(t){return n(t)})),this._element.classList.add(Vt)):(Z.on(this._element,Ht.TOUCHSTART,(function(t){return e(t)})),Z.on(this._element,Ht.TOUCHMOVE,(function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)})),Z.on(this._element,Ht.TOUCHEND,(function(t){return n(t)})))},e._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()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?E($.find(Bt.ITEM,t.parentNode)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===Ot,i=t===Nt,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===Nt?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex($.findOne(Bt.ACTIVE_ITEM,this._element));return Z.trigger(this._element,Ht.SLIDE,{relatedTarget:t,direction:e,from:i,to:n})},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=$.find(Bt.ACTIVE,this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(Mt);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&i.classList.add(Mt)}},e._slide=function(t,e){var n,i,o,r=this,s=$.findOne(Bt.ACTIVE_ITEM,this._element),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),u=this._getItemIndex(l),f=Boolean(this._interval);if(t===Ot?(n=Wt,i=Ut,o=kt):(n=xt,i=Kt,o=Pt),l&&l.classList.contains(Mt))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).defaultPrevented&&s&&l){if(this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(l),this._element.classList.contains(Rt)){l.classList.add(i),D(l),s.classList.add(n),l.classList.add(n);var h=parseInt(l.getAttribute("data-interval"),10);h?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=h):this._config.interval=this._config.defaultInterval||this._config.interval;var d=g(s);Z.one(s,c,(function(){l.classList.remove(n),l.classList.remove(i),l.classList.add(Mt),s.classList.remove(Mt),s.classList.remove(i),s.classList.remove(n),r._isSliding=!1,setTimeout((function(){Z.trigger(r._element,Ht.SLID,{relatedTarget:l,direction:o,from:a,to:u})}),0)})),m(s,d)}else s.classList.remove(Mt),l.classList.add(Mt),this._isSliding=!1,Z.trigger(this._element,Ht.SLID,{relatedTarget:l,direction:o,from:a,to:u});f&&this.cycle()}},t.carouselInterface=function(e,n){var i=A.getData(e,St),o=r({},Ct,{},It.getDataAttributes(e));"object"==typeof n&&(o=r({},o,{},n));var s="string"==typeof n?n:o.slide;if(i||(i=new t(e,o)),"number"==typeof n)i.to(n);else if("string"==typeof s){if("undefined"==typeof i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else o.interval&&o.ride&&(i.pause(),i.cycle())},t.jQueryInterface=function(e){return this.each((function(){t.carouselInterface(this,e)}))},t.dataApiClickHandler=function(e){var n=d(this);if(n&&n.classList.contains(jt)){var i=r({},It.getDataAttributes(n),{},It.getDataAttributes(this)),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),t.carouselInterface(n,i),o&&A.getData(n,St).to(o),e.preventDefault()}},t.getInstance=function(t){return A.getData(t,St)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ct}}]),t}();Z.on(document,Ht.CLICK_DATA_API,Bt.DATA_SLIDE,Qt.dataApiClickHandler),Z.on(window,Ht.LOAD_DATA_API,(function(){for(var t=E($.find(Bt.DATA_RIDE)),e=0,n=t.length;e<n;e++)Qt.carouselInterface(t[e],A.getData(t[e],St))}));var Yt=T();if(Yt){var Gt=Yt.fn[At];Yt.fn[At]=Qt.jQueryInterface,Yt.fn[At].Constructor=Qt,Yt.fn[At].noConflict=function(){return Yt.fn[At]=Gt,Qt.jQueryInterface}}var Xt="collapse",qt="bs.collapse",zt="."+qt,Zt={toggle:!0,parent:""},$t={toggle:"boolean",parent:"(string|element)"},Jt={SHOW:"show"+zt,SHOWN:"shown"+zt,HIDE:"hide"+zt,HIDDEN:"hidden"+zt,CLICK_DATA_API:"click"+zt+".data-api"},te="show",ee="collapse",ne="collapsing",ie="collapsed",oe="width",re="height",se={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},ae=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=E($.find('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=E($.find(se.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],s=h(r),a=E($.find(s)).filter((function(e){return e===t}));null!==s&&a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle(),A.setData(t,qt,this)}var e=t.prototype;return e.toggle=function(){this._element.classList.contains(te)?this.hide():this.show()},e.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(te)){var n,i;this._parent&&0===(n=E($.find(se.ACTIVES,this._parent)).filter((function(t){return"string"==typeof e._config.parent?t.getAttribute("data-parent")===e._config.parent:t.classList.contains(ee)}))).length&&(n=null);var o=$.findOne(this._selector);if(n){var r=n.filter((function(t){return o!==t}));if((i=r[0]?A.getData(r[0],qt):null)&&i._isTransitioning)return}if(!Z.trigger(this._element,Jt.SHOW).defaultPrevented){n&&n.forEach((function(e){o!==e&&t.collapseInterface(e,"hide"),i||A.setData(e,qt,null)}));var s=this._getDimension();this._element.classList.remove(ee),this._element.classList.add(ne),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach((function(t){t.classList.remove(ie),t.setAttribute("aria-expanded",!0)})),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),l=g(this._element);Z.one(this._element,c,(function(){e._element.classList.remove(ne),e._element.classList.add(ee),e._element.classList.add(te),e._element.style[s]="",e.setTransitioning(!1),Z.trigger(e._element,Jt.SHOWN)})),m(this._element,l),this._element.style[s]=this._element[a]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(te)&&!Z.trigger(this._element,Jt.HIDE).defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",D(this._element),this._element.classList.add(ne),this._element.classList.remove(ee),this._element.classList.remove(te);var n=this._triggerArray.length;if(n>0)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=d(o);r&&!r.classList.contains(te)&&(o.classList.add(ie),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";var s=g(this._element);Z.one(this._element,c,(function(){t.setTransitioning(!1),t._element.classList.remove(ne),t._element.classList.add(ee),Z.trigger(t._element,Jt.HIDDEN)})),m(this._element,s)}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){A.removeData(this._element,qt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=r({},Zt,{},t)).toggle=Boolean(t.toggle),v(Xt,t,$t),t},e._getDimension=function(){return this._element.classList.contains(oe)?oe:re},e._getParent=function(){var t=this,e=this._config.parent;_(e)?"undefined"==typeof e.jquery&&"undefined"==typeof e[0]||(e=e[0]):e=$.findOne(e);var n='[data-toggle="collapse"][data-parent="'+e+'"]';return E($.find(n,e)).forEach((function(e){var n=d(e);t._addAriaAndCollapsedClass(n,[e])})),e},e._addAriaAndCollapsedClass=function(t,e){if(t){var n=t.classList.contains(te);e.length&&e.forEach((function(t){n?t.classList.remove(ie):t.classList.add(ie),t.setAttribute("aria-expanded",n)}))}},t.collapseInterface=function(e,n){var i=A.getData(e,qt),o=r({},Zt,{},It.getDataAttributes(e),{},"object"==typeof n&&n?n:{});if(!i&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),i||(i=new t(e,o)),"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.collapseInterface(this,e)}))},t.getInstance=function(t){return A.getData(t,qt)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Zt}}]),t}();Z.on(document,Jt.CLICK_DATA_API,se.DATA_TOGGLE,(function(t){"A"===t.target.tagName&&t.preventDefault();var e=It.getDataAttributes(this),n=h(this);E($.find(n)).forEach((function(t){var n,i=A.getData(t,qt);i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,ae.collapseInterface(t,n)}))}));var le=T();if(le){var ce=le.fn[Xt];le.fn[Xt]=ae.jQueryInterface,le.fn[Xt].Constructor=ae,le.fn[Xt].noConflict=function(){return le.fn[Xt]=ce,ae.jQueryInterface}}var ue="dropdown",fe="bs.dropdown",he="."+fe,de=new RegExp("38|40|27"),ge={HIDE:"hide"+he,HIDDEN:"hidden"+he,SHOW:"show"+he,SHOWN:"shown"+he,CLICK:"click"+he,CLICK_DATA_API:"click"+he+".data-api",KEYDOWN_DATA_API:"keydown"+he+".data-api",KEYUP_DATA_API:"keyup"+he+".data-api"},pe="disabled",_e="show",me="dropup",ve="dropright",Ee="dropleft",ye="dropdown-menu-right",be="position-static",De='[data-toggle="dropdown"]',Te=".dropdown form",Ie=".dropdown-menu",Ae=".navbar-nav",Se=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",we="top-start",Ce="top-end",Le="bottom-start",Oe="bottom-end",Ne="right-start",ke="left-start",Pe={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},He={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},je=function(){function e(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners(),A.setData(t,fe,this)}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(pe)){var t=this._menu.classList.contains(_e);e.clearMenus(),t||this.show()}},i.show=function(){if(!(this._element.disabled||this._element.classList.contains(pe)||this._menu.classList.contains(_e))){var n=e.getParentFromElement(this._element),i={relatedTarget:this._element};if(!Z.trigger(n,ge.SHOW,i).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var o=this._element;"parent"===this._config.reference?o=n:_(this._config.reference)&&(o=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n.classList.add(be),this._popper=new t(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!E($.closest(n,Ae)).length&&E(document.body.children).forEach((function(t){return Z.on(t,"mouseover",null,(function(){}))})),this._element.focus(),this._element.setAttribute("aria-expanded",!0),It.toggleClass(this._menu,_e),It.toggleClass(n,_e),Z.trigger(n,ge.SHOWN,i)}}},i.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(pe)&&this._menu.classList.contains(_e)){var t=e.getParentFromElement(this._element),n={relatedTarget:this._element};Z.trigger(t,ge.HIDE,n).defaultPrevented||(this._popper&&this._popper.destroy(),It.toggleClass(this._menu,_e),It.toggleClass(t,_e),Z.trigger(t,ge.HIDDEN,n))}},i.dispose=function(){A.removeData(this._element,fe),Z.off(this._element,he),this._element=null,this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var t=this;Z.on(this._element,ge.CLICK,(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},i._getConfig=function(t){return t=r({},this.constructor.Default,{},It.getDataAttributes(this._element),{},t),v(ue,t,this.constructor.DefaultType),t},i._getMenuElement=function(){var t=e.getParentFromElement(this._element);return $.findOne(Ie,t)},i._getPlacement=function(){var t=this._element.parentNode,e=Le;return t.classList.contains(me)?(e=we,this._menu.classList.contains(ye)&&(e=Ce)):t.classList.contains(ve)?e=Ne:t.classList.contains(Ee)?e=ke:this._menu.classList.contains(ye)&&(e=Oe),e},i._detectNavbar=function(){return Boolean($.closest(this._element,".navbar"))},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,{},t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._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}),r({},t,{},this._config.popperConfig)},e.dropdownInterface=function(t,n){var i=A.getData(t,fe);if(i||(i=new e(t,"object"==typeof n?n:null)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},e.jQueryInterface=function(t){return this.each((function(){e.dropdownInterface(this,t)}))},e.clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=E($.find(De)),i=0,o=n.length;i<o;i++){var r=e.getParentFromElement(n[i]),s=A.getData(n[i],fe),a={relatedTarget:n[i]};if(t&&"click"===t.type&&(a.clickEvent=t),s){var l=s._menu;if(r.classList.contains(_e))if(!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&r.contains(t.target)))Z.trigger(r,ge.HIDE,a).defaultPrevented||("ontouchstart"in document.documentElement&&E(document.body.children).forEach((function(t){return Z.off(t,"mouseover",null,(function(){}))})),n[i].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),l.classList.remove(_e),r.classList.remove(_e),Z.trigger(r,ge.HIDDEN,a))}}},e.getParentFromElement=function(t){return d(t)||t.parentNode},e.dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||$.closest(t.target,Ie))):de.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!this.classList.contains(pe))){var n=e.getParentFromElement(this),i=n.classList.contains(_e);if(!i||i&&(27===t.which||32===t.which))return 27===t.which&&$.findOne(De,n).focus(),void e.clearMenus();var o=E($.find(Se,n));if(o.length){var r=o.indexOf(t.target);38===t.which&&r>0&&r--,40===t.which&&r<o.length-1&&r++,r<0&&(r=0),o[r].focus()}}},e.getInstance=function(t){return A.getData(t,fe)},n(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Pe}},{key:"DefaultType",get:function(){return He}}]),e}();Z.on(document,ge.KEYDOWN_DATA_API,De,je.dataApiKeydownHandler),Z.on(document,ge.KEYDOWN_DATA_API,Ie,je.dataApiKeydownHandler),Z.on(document,ge.CLICK_DATA_API,je.clearMenus),Z.on(document,ge.KEYUP_DATA_API,je.clearMenus),Z.on(document,ge.CLICK_DATA_API,De,(function(t){t.preventDefault(),t.stopPropagation(),je.dropdownInterface(this,"toggle")})),Z.on(document,ge.CLICK_DATA_API,Te,(function(t){return t.stopPropagation()}));var Me=T();if(Me){var Re=Me.fn[ue];Me.fn[ue]=je.jQueryInterface,Me.fn[ue].Constructor=je,Me.fn[ue].noConflict=function(){return Me.fn[ue]=Re,je.jQueryInterface}}var xe="bs.modal",We="."+xe,Ue={backdrop:!0,keyboard:!0,focus:!0,show:!0},Ke={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ve={HIDE:"hide"+We,HIDDEN:"hidden"+We,SHOW:"show"+We,SHOWN:"shown"+We,FOCUSIN:"focusin"+We,RESIZE:"resize"+We,CLICK_DISMISS:"click.dismiss"+We,KEYDOWN_DISMISS:"keydown.dismiss"+We,MOUSEUP_DISMISS:"mouseup.dismiss"+We,MOUSEDOWN_DISMISS:"mousedown.dismiss"+We,CLICK_DATA_API:"click"+We+".data-api"},Be="modal-dialog-scrollable",Fe="modal-scrollbar-measure",Qe="modal-backdrop",Ye="modal-open",Ge="fade",Xe="show",qe={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},ze=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=$.findOne(qe.DIALOG,t),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0,A.setData(t,xe,this)}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){this._element.classList.contains(Ge)&&(this._isTransitioning=!0);var n=Z.trigger(this._element,Ve.SHOW,{relatedTarget:t});this._isShown||n.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),Z.on(this._element,Ve.CLICK_DISMISS,qe.DATA_DISMISS,(function(t){return e.hide(t)})),Z.on(this._dialog,Ve.MOUSEDOWN_DISMISS,(function(){Z.one(e._element,Ve.MOUSEUP_DISMISS,(function(t){t.target===e._element&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},e.hide=function(t){var e=this;if((t&&t.preventDefault(),this._isShown&&!this._isTransitioning)&&!Z.trigger(this._element,Ve.HIDE).defaultPrevented){this._isShown=!1;var n=this._element.classList.contains(Ge);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),Z.off(document,Ve.FOCUSIN),this._element.classList.remove(Xe),Z.off(this._element,Ve.CLICK_DISMISS),Z.off(this._dialog,Ve.MOUSEDOWN_DISMISS),n){var i=g(this._element);Z.one(this._element,c,(function(t){return e._hideModal(t)})),m(this._element,i)}else this._hideModal()}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return Z.off(t,We)})),Z.off(document,Ve.FOCUSIN),A.removeData(this._element,xe),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=r({},Ue,{},t),v("modal",t,Ke),t},e._showElement=function(t){var e=this,n=this._element.classList.contains(Ge),i=$.findOne(qe.MODAL_BODY,this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._dialog.classList.contains(Be)&&i?i.scrollTop=0:this._element.scrollTop=0,n&&D(this._element),this._element.classList.add(Xe),this._config.focus&&this._enforceFocus();var o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,Z.trigger(e._element,Ve.SHOWN,{relatedTarget:t})};if(n){var r=g(this._dialog);Z.one(this._dialog,c,o),m(this._dialog,r)}else o()},e._enforceFocus=function(){var t=this;Z.off(document,Ve.FOCUSIN),Z.on(document,Ve.FOCUSIN,(function(e){document===e.target||t._element===e.target||t._element.contains(e.target)||t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?Z.on(this._element,Ve.KEYDOWN_DISMISS,(function(e){27===e.which&&(e.preventDefault(),t.hide())})):Z.off(this._element,Ve.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?Z.on(window,Ve.RESIZE,(function(){return t._adjustDialog()})):Z.off(window,Ve.RESIZE)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop((function(){document.body.classList.remove(Ye),t._resetAdjustments(),t._resetScrollbar(),Z.trigger(t._element,Ve.HIDDEN)}))},e._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},e._showBackdrop=function(t){var e=this,n=this._element.classList.contains(Ge)?Ge:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Qe,n&&this._backdrop.classList.add(n),document.body.appendChild(this._backdrop),Z.on(this._element,Ve.CLICK_DISMISS,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())})),n&&D(this._backdrop),this._backdrop.classList.add(Xe),!n)return void t();var i=g(this._backdrop);Z.one(this._backdrop,c,t),m(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove(Xe);var o=function(){e._removeBackdrop(),t()};if(this._element.classList.contains(Ge)){var r=g(this._backdrop);Z.one(this._backdrop,c,o),m(this._backdrop,r)}else o()}else t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){E($.find(qe.FIXED_CONTENT)).forEach((function(e){var n=e.style.paddingRight,i=window.getComputedStyle(e)["padding-right"];It.setDataAttribute(e,"padding-right",n),e.style.paddingRight=parseFloat(i)+t._scrollbarWidth+"px"})),E($.find(qe.STICKY_CONTENT)).forEach((function(e){var n=e.style.marginRight,i=window.getComputedStyle(e)["margin-right"];It.setDataAttribute(e,"margin-right",n),e.style.marginRight=parseFloat(i)-t._scrollbarWidth+"px"}));var e=document.body.style.paddingRight,n=window.getComputedStyle(document.body)["padding-right"];It.setDataAttribute(document.body,"padding-right",e),document.body.style.paddingRight=parseFloat(n)+this._scrollbarWidth+"px"}document.body.classList.add(Ye)},e._resetScrollbar=function(){E($.find(qe.FIXED_CONTENT)).forEach((function(t){var e=It.getDataAttribute(t,"padding-right");"undefined"!=typeof e&&(It.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)})),E($.find(""+qe.STICKY_CONTENT)).forEach((function(t){var e=It.getDataAttribute(t,"margin-right");"undefined"!=typeof e&&(It.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)}));var t=It.getDataAttribute(document.body,"padding-right");"undefined"==typeof t?document.body.style.paddingRight="":(It.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Fe,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t.jQueryInterface=function(e,n){return this.each((function(){var i=A.getData(this,xe),o=r({},Ue,{},It.getDataAttributes(this),{},"object"==typeof e&&e?e:{});if(i||(i=new t(this,o)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](n)}else o.show&&i.show(n)}))},t.getInstance=function(t){return A.getData(t,xe)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ue}}]),t}();Z.on(document,Ve.CLICK_DATA_API,qe.DATA_TOGGLE,(function(t){var e=this,n=d(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),Z.one(n,Ve.SHOW,(function(t){t.defaultPrevented||Z.one(n,Ve.HIDDEN,(function(){y(e)&&e.focus()}))}));var i=A.getData(n,xe);if(!i){var o=r({},It.getDataAttributes(n),{},It.getDataAttributes(this));i=new ze(n,o)}i.show(this)}));var Ze=T();if(Ze){var $e=Ze.fn.modal;Ze.fn.modal=ze.jQueryInterface,Ze.fn.modal.Constructor=ze,Ze.fn.modal.noConflict=function(){return Ze.fn.modal=$e,ze.jQueryInterface}}var Je=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],tn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,en=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,nn=function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===Je.indexOf(n)||Boolean(t.nodeValue.match(tn)||t.nodeValue.match(en));for(var i=e.filter((function(t){return t instanceof RegExp})),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1},on={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function rn(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=E(i.body.querySelectorAll("*")),s=function(t,n){var i=r[t],s=i.nodeName.toLowerCase();if(-1===o.indexOf(s))return i.parentNode.removeChild(i),"continue";var a=E(i.attributes),l=[].concat(e["*"]||[],e[s]||[]);a.forEach((function(t){nn(t,l)||i.removeAttribute(t.nodeName)}))},a=0,l=r.length;a<l;a++)s(a);return i.body.innerHTML}var sn="tooltip",an=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ln=["sanitize","whiteList","sanitizeFn"],cn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},un={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},fn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:on,popperConfig:null},hn="show",dn="out",gn={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"},pn="fade",_n="show",mn=".tooltip-inner",vn="hover",En="focus",yn="click",bn="manual",Dn=function(){function e(e,n){if("undefined"==typeof t)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=e,this.config=this._getConfig(n),this.tip=null,this._setListeners(),A.setData(e,this.constructor.DATA_KEY,this)}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=A.getData(t.delegateTarget,e);n||(n=new this.constructor(t.delegateTarget,this._getDelegateConfig()),A.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(_n))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),A.removeData(this.element,this.constructor.DATA_KEY),Z.off(this.element,this.constructor.EVENT_KEY),Z.off($.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode.removeChild(this.tip),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},i.show=function(){var e=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var n=Z.trigger(this.element,this.constructor.Event.SHOW),i=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),o=null===i?this.element.ownerDocument.documentElement.contains(this.element):i.contains(this.element);if(n.defaultPrevented||!o)return;var r=this.getTipElement(),s=u(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&r.classList.add(pn);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,l=this._getAttachment(a);this._addAttachmentClass(l);var f=this._getContainer();A.setData(r,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||f.appendChild(r),Z.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new t(this.element,r,this._getPopperConfig(l)),r.classList.add(_n),"ontouchstart"in document.documentElement&&E(document.body.children).forEach((function(t){Z.on(t,"mouseover",(function(){}))}));var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,Z.trigger(e.element,e.constructor.Event.SHOWN),t===dn&&e._leave(null,e)};if(this.tip.classList.contains(pn)){var d=g(this.tip);Z.one(this.tip,c,h),m(this.tip,d)}else h()}},i.hide=function(){var t=this,e=this.getTipElement(),n=function(){t._hoverState!==hn&&e.parentNode&&e.parentNode.removeChild(e),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),Z.trigger(t.element,t.constructor.Event.HIDDEN),t._popper.destroy()};if(!Z.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){if(e.classList.remove(_n),"ontouchstart"in document.documentElement&&E(document.body.children).forEach((function(t){return Z.off(t,"mouseover",b)})),this._activeTrigger[yn]=!1,this._activeTrigger[En]=!1,this._activeTrigger[vn]=!1,this.tip.classList.contains(pn)){var i=g(e);Z.one(e,c,n),m(e,i)}else n();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.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},i.setContent=function(){var t=this.getTipElement();this.setElementContent($.findOne(mn,t),this.getTitle()),t.classList.remove(pn),t.classList.remove(_n)},i.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&_(e)?(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=rn(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.innerText=e)},i.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},i._getPopperConfig=function(t){var e=this;return r({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:"."+this.constructor.NAME+"-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)},i._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+t)},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,{},t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:_(this.config.container)?this.config.container:$.findOne(this.config.container)},i._getAttachment=function(t){return un[t.toUpperCase()]},i._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)Z.on(t.element,t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if(e!==bn){var n=e===vn?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===vn?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;Z.on(t.element,n,t.config.selector,(function(e){return t._enter(e)})),Z.on(t.element,i,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},Z.on($.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._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",""))},i._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||A.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),A.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusin"===t.type?En:vn]=!0),e.getTipElement().classList.contains(_n)||e._hoverState===hn?e._hoverState=hn:(clearTimeout(e._timeout),e._hoverState=hn,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===hn&&e.show()}),e.config.delay.show):e.show())},i._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||A.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),A.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusout"===t.type?En:vn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=dn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===dn&&e.hide()}),e.config.delay.hide):e.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var e=It.getDataAttributes(this.element);return Object.keys(e).forEach((function(t){-1!==ln.indexOf(t)&&delete e[t]})),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=r({},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()),v(sn,t,this.constructor.DefaultType),t.sanitize&&(t.template=rn(t.template,t.whiteList,t.sanitizeFn)),t},i._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},i._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(an);null!==e&&e.length&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(pn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},e.jQueryInterface=function(t){return this.each((function(){var n=A.getData(this,"bs.tooltip"),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,i)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e.getInstance=function(t){return A.getData(t,"bs.tooltip")},n(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return fn}},{key:"NAME",get:function(){return sn}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return gn}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return cn}}]),e}(),Tn=T();if(Tn){var In=Tn.fn.tooltip;Tn.fn.tooltip=Dn.jQueryInterface,Tn.fn.tooltip.Constructor=Dn,Tn.fn.tooltip.noConflict=function(){return Tn.fn.tooltip=In,Dn.jQueryInterface}}var An="popover",Sn=new RegExp("(^|\\s)bs-popover\\S+","g"),wn=r({},Dn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Cn=r({},Dn.DefaultType,{content:"(string|element|function)"}),Ln="fade",On="show",Nn=".popover-header",kn=".popover-body",Pn={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"},Hn=function(t){var e,i;function o(){return t.apply(this,arguments)||this}i=t,(e=o).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i;var r=o.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.setContent=function(){var t=this.getTipElement();this.setElementContent($.findOne(Nn,t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent($.findOne(kn,t),e),t.classList.remove(Ln),t.classList.remove(On)},r._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Sn);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=A.getData(this,"bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,n),A.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 A.getData(t,"bs.popover")},n(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return wn}},{key:"NAME",get:function(){return An}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Pn}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Cn}}]),o}(Dn),jn=T();if(jn){var Mn=jn.fn.popover;jn.fn.popover=Hn.jQueryInterface,jn.fn.popover.Constructor=Hn,jn.fn.popover.noConflict=function(){return jn.fn.popover=Mn,Hn.jQueryInterface}}var Rn="scrollspy",xn="bs.scrollspy",Wn="."+xn,Un={offset:10,method:"auto",target:""},Kn={offset:"number",method:"string",target:"(string|element)"},Vn={ACTIVATE:"activate"+Wn,SCROLL:"scroll"+Wn,LOAD_DATA_API:"load"+Wn+".data-api"},Bn={DROPDOWN_ITEM:"dropdown-item",ACTIVE:"active"},Fn={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"},Qn="offset",Yn="position",Gn=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+" "+Fn.NAV_LINKS+","+this._config.target+" "+Fn.LIST_ITEMS+","+this._config.target+" ."+Bn.DROPDOWN_ITEM,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,Z.on(this._scrollElement,Vn.SCROLL,(function(t){return n._process(t)})),this.refresh(),this._process(),A.setData(t,xn,this)}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Qn:Yn,n="auto"===this._config.method?e:this._config.method,i=n===Yn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),E($.find(this._selector)).map((function(t){var e,o=h(t);if(o&&(e=$.findOne(o)),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[It[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])}))},e.dispose=function(){A.removeData(this._element,xn),Z.off(this._scrollElement,Wn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=r({},Un,{},"object"==typeof t&&t?t:{})).target){var e=t.target.id;e||(e=u(Rn),t.target.id=e),t.target="#"+e}return v(Rn,t,Kn),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._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&&t<this._offsets[0]&&this._offsets[0]>0)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<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),n=$.findOne(e.join(","));n.classList.contains(Bn.DROPDOWN_ITEM)?($.findOne(Fn.DROPDOWN_TOGGLE,$.closest(n,Fn.DROPDOWN)).classList.add(Bn.ACTIVE),n.classList.add(Bn.ACTIVE)):(n.classList.add(Bn.ACTIVE),$.parents(n,Fn.NAV_LIST_GROUP).forEach((function(t){$.prev(t,Fn.NAV_LINKS+", "+Fn.LIST_ITEMS).forEach((function(t){return t.classList.add(Bn.ACTIVE)})),$.prev(t,Fn.NAV_ITEMS).forEach((function(t){$.children(t,Fn.NAV_LINKS).forEach((function(t){return t.classList.add(Bn.ACTIVE)}))}))}))),Z.trigger(this._scrollElement,Vn.ACTIVATE,{relatedTarget:t})},e._clear=function(){E($.find(this._selector)).filter((function(t){return t.classList.contains(Bn.ACTIVE)})).forEach((function(t){return t.classList.remove(Bn.ACTIVE)}))},t.jQueryInterface=function(e){return this.each((function(){var n=A.getData(this,xn);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t.getInstance=function(t){return A.getData(t,xn)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Un}}]),t}();Z.on(window,Vn.LOAD_DATA_API,(function(){E($.find(Fn.DATA_SPY)).forEach((function(t){return new Gn(t,It.getDataAttributes(t))}))}));var Xn=T();if(Xn){var qn=Xn.fn[Rn];Xn.fn[Rn]=Gn.jQueryInterface,Xn.fn[Rn].Constructor=Gn,Xn.fn[Rn].noConflict=function(){return Xn.fn[Rn]=qn,Gn.jQueryInterface}}var zn="bs.tab",Zn="."+zn,$n={HIDE:"hide"+Zn,HIDDEN:"hidden"+Zn,SHOW:"show"+Zn,SHOWN:"shown"+Zn,CLICK_DATA_API:"click"+Zn+".data-api"},Jn="dropdown-menu",ti="active",ei="disabled",ni="fade",ii="show",oi=".dropdown",ri=".nav, .list-group",si=".active",ai=":scope > li > .active",li='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',ci=".dropdown-toggle",ui=":scope > .dropdown-menu .active",fi=function(){function t(t){this._element=t,A.setData(this._element,zn,this)}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(ti)||this._element.classList.contains(ei))){var e,n=d(this._element),i=$.closest(this._element,ri);if(i){var o="UL"===i.nodeName||"OL"===i.nodeName?ai:si;e=(e=E($.find(o,i)))[e.length-1]}var r=null;if(e&&(r=Z.trigger(e,$n.HIDE,{relatedTarget:this._element})),!(Z.trigger(this._element,$n.SHOW,{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)){this._activate(this._element,i);var s=function(){Z.trigger(e,$n.HIDDEN,{relatedTarget:t._element}),Z.trigger(t._element,$n.SHOWN,{relatedTarget:e})};n?this._activate(n,n.parentNode,s):s()}}},e.dispose=function(){A.removeData(this._element,zn),this._element=null},e._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?$.children(e,si):$.find(ai,e))[0],r=n&&o&&o.classList.contains(ni),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=g(o);o.classList.remove(ii),Z.one(o,c,s),m(o,a)}else s()},e._transitionComplete=function(t,e,n){if(e){e.classList.remove(ti);var i=$.findOne(ui,e.parentNode);i&&i.classList.remove(ti),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}(t.classList.add(ti),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),D(t),t.classList.contains(ni)&&t.classList.add(ii),t.parentNode&&t.parentNode.classList.contains(Jn))&&($.closest(t,oi)&&E($.find(ci)).forEach((function(t){return t.classList.add(ti)})),t.setAttribute("aria-expanded",!0));n&&n()},t.jQueryInterface=function(e){return this.each((function(){var n=A.getData(this,zn)||new t(this);if("string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t.getInstance=function(t){return A.getData(t,zn)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();Z.on(document,$n.CLICK_DATA_API,li,(function(t){t.preventDefault(),(A.getData(this,zn)||new fi(this)).show()}));var hi=T();if(hi){var di=hi.fn.tab;hi.fn.tab=fi.jQueryInterface,hi.fn.tab.Constructor=fi,hi.fn.tab.noConflict=function(){return hi.fn.tab=di,fi.jQueryInterface}}var gi="bs.toast",pi="."+gi,_i={CLICK_DISMISS:"click.dismiss"+pi,HIDE:"hide"+pi,HIDDEN:"hidden"+pi,SHOW:"show"+pi,SHOWN:"shown"+pi},mi="fade",vi="hide",Ei="show",yi="showing",bi={animation:"boolean",autohide:"boolean",delay:"number"},Di={animation:!0,autohide:!0,delay:500},Ti='[data-dismiss="toast"]',Ii=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners(),A.setData(t,gi,this)}var e=t.prototype;return e.show=function(){var t=this;if(!Z.trigger(this._element,_i.SHOW).defaultPrevented){this._config.animation&&this._element.classList.add(mi);var e=function(){t._element.classList.remove(yi),t._element.classList.add(Ei),Z.trigger(t._element,_i.SHOWN),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(vi),D(this._element),this._element.classList.add(yi),this._config.animation){var n=g(this._element);Z.one(this._element,c,e),m(this._element,n)}else e()}},e.hide=function(){var t=this;if(this._element.classList.contains(Ei)&&!Z.trigger(this._element,_i.HIDE).defaultPrevented){var e=function(){t._element.classList.add(vi),Z.trigger(t._element,_i.HIDDEN)};if(this._element.classList.remove(Ei),this._config.animation){var n=g(this._element);Z.one(this._element,c,e),m(this._element,n)}else e()}},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Ei)&&this._element.classList.remove(Ei),Z.off(this._element,_i.CLICK_DISMISS),A.removeData(this._element,gi),this._element=null,this._config=null},e._getConfig=function(t){return t=r({},Di,{},It.getDataAttributes(this._element),{},"object"==typeof t&&t?t:{}),v("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;Z.on(this._element,_i.CLICK_DISMISS,Ti,(function(){return t.hide()}))},t.jQueryInterface=function(e){return this.each((function(){var n=A.getData(this,gi);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e](this)}}))},t.getInstance=function(t){return A.getData(t,gi)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return bi}},{key:"Default",get:function(){return Di}}]),t}(),Ai=T();if(Ai){var Si=Ai.fn.toast;Ai.fn.toast=Ii.jQueryInterface,Ai.fn.toast.Constructor=Ii,Ai.fn.toast.noConflict=function(){return Ai.fn.toast=Si,Ii.jQueryInterface}}return{Alert:rt,Button:Et,Carousel:Qt,Collapse:ae,Dropdown:je,Modal:ze,Popover:Hn,ScrollSpy:Gn,Tab:fi,Toast:Ii,Tooltip:Dn}}));
//# sourceMappingURL=bootstrap.min.js.map