!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((n=n||self).bootstrap={},n.jQuery)}(this,function(n,t){"use strict";function hi(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function f(n,t,i){return t&&hi(n.prototype,t),i&&hi(n,i),n}function yr(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function ci(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function r(n){for(var i,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},t%2?ci(Object(i),!0).forEach(function(t){yr(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):ci(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function pr(n){var u=this,r=!1;return t(this).one(i.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||i.triggerTransitionEnd(u)},n),this}function vi(n){return n&&"[object Function]"==={}.toString.call(n)}function h(n,t){if(1!==n.nodeType)return[];var i=n.ownerDocument.defaultView.getComputedStyle(n,null);return t?i[t]:i}function kt(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function ot(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=h(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:ot(kt(n))}function yi(n){return n&&n.referenceNode?n.referenceNode:n}function k(n){return 11===n?dt:10===n?gt:dt||gt}function d(n){var r,t,i;if(!n)return document.documentElement;for(r=k(10)?document.body:null,t=n.offsetParent||null;t===r&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return i=t&&t.nodeName,i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(t.nodeName)&&"static"===h(t,"position")?d(t):t:n?n.ownerDocument.documentElement:document.documentElement}function ni(n){return null!==n.parentNode?ni(n.parentNode):n}function lt(n,t){var u,h,i,f;if(!(n&&n.nodeType&&t&&t.nodeType))return document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,r=document.createRange();return(r.setStart(o,0),r.setEnd(s,0),i=r.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?"BODY"===(h=(u=i).nodeName)||"HTML"!==h&&d(u.firstElementChild)!==u?d(i):i:(f=ni(n),f.host?lt(f.host,t):lt(n,ni(t).host))}function g(n){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",t="top"===f?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return"BODY"===i||"HTML"===i?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function ru(n,t){var f=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),u=g(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function pi(n,t){var i="x"===t?"Left":"Top",r="Left"===i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function wi(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],k(10)?parseInt(i["offset"+n])+parseInt(r["margin"+("Height"===n?"Top":"Left")])+parseInt(r["margin"+("Height"===n?"Bottom":"Right")]):0)}function bi(n){var i=n.body,t=n.documentElement,r=k(10)&&getComputedStyle(t);return{height:wi("Height",i,t,r),width:wi("Width",i,t,r)}}function e(n){return u({},n,{right:n.left+n.width,bottom:n.top+n.height})}function ti(n){var t={},r,u,s;try{k(10)?(t=n.getBoundingClientRect(),r=g(n,"top"),u=g(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(n){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},c="HTML"===n.nodeName?bi(n.ownerDocument):{},l=c.width||n.clientWidth||i.width,a=c.height||n.clientHeight||i.height,f=n.offsetWidth-l,o=n.offsetHeight-a;return(f||o)&&(s=h(n),f-=pi(s,"x"),o-=pi(s,"y"),i.width-=f,i.height-=o),e(i)}function ii(n,t){var v=arguments.length>2&&void 0!==arguments[2]&&arguments[2],y=k(10),p="HTML"===t.nodeName,u=ti(n),r=ti(t),c=ot(n),f=h(t),l=parseFloat(f.borderTopWidth,10),a=parseFloat(f.borderLeftWidth,10),i,o,s;return v&&p&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0)),i=e({top:u.top-r.top-l,left:u.left-r.left-a,width:u.width,height:u.height}),(i.marginTop=0,i.marginLeft=0,!y&&p)&&(o=parseFloat(f.marginTop,10),s=parseFloat(f.marginLeft,10),i.top-=l-o,i.bottom-=l-o,i.left-=a-s,i.right-=a-s,i.marginTop=o,i.marginLeft=s),(y&&!v?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(i=ru(i,t)),i}function eu(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=n.ownerDocument.documentElement,i=ii(n,t),u=Math.max(t.clientWidth,window.innerWidth||0),f=Math.max(t.clientHeight,window.innerHeight||0),o=r?0:g(t),s=r?0:g(t,"left"),h={top:o-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:u,height:f};return e(h)}function ki(n){var i=n.nodeName,t;return"BODY"===i||"HTML"===i?!1:"fixed"===h(n,"position")?!0:(t=kt(n),!!t&&ki(t))}function di(n){if(!n||!n.parentElement||k())return document.documentElement;for(var t=n.parentElement;t&&"none"===h(t,"transform");)t=t.parentElement;return t||document.documentElement}function ri(n,t,i,r){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},h=s?di(n):lt(n,yi(t)),e,f,o;if("viewport"===r)u=eu(h,s);else if(e=void 0,"scrollParent"===r?"BODY"===(e=ot(kt(t))).nodeName&&(e=n.ownerDocument.documentElement):e="window"===r?n.ownerDocument.documentElement:r,f=ii(e,h,s),"HTML"!==e.nodeName||ki(h))u=f;else{var c=bi(n.ownerDocument),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return o="number"==typeof(i=i||0),u.left+=o?i:i.left||0,u.top+=o?i:i.top||0,u.right-=o?i:i.right||0,u.bottom-=o?i:i.bottom||0,u}function ou(n){return n.width*n.height}function gi(n,t,i,r,f){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var e=ri(i,r,l,f),o={top:{width:e.width,height:t.top-e.top},right:{width:e.right-t.right,height:e.height},bottom:{width:e.width,height:e.bottom-t.bottom},left:{width:t.left-e.left,height:e.height}},s=Object.keys(o).map(function(n){return u({key:n},o[n],{area:ou(o[n])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),a=h.length>0?h[0].key:s[0].key,c=n.split("-")[1];return a+(c?"-"+c:"")}function nr(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=r?di(t):lt(t,yi(i));return ii(i,u,r)}function tr(n){var t=n.ownerDocument.defaultView.getComputedStyle(n),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function at(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function ir(n,t,i){i=i.split("-")[0];var r=tr(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[at(f)],e}function st(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function rr(n,t,i){return(void 0===i?n:n.slice(0,function(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=st(n,function(n){return n[t]===i});return n.indexOf(r)}(n,"name",i))).forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n.function||n.fn;n.enabled&&vi(i)&&(t.offsets.popper=e(t.offsets.popper),t.offsets.reference=e(t.offsets.reference),t=i(t,n))}),t}function su(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=nr(this.state,this.popper,this.reference,this.options.positionFixed);n.placement=gi(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.positionFixed=this.options.positionFixed;n.offsets.popper=ir(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";n=rr(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function ur(n,t){return n.some(function(n){var i=n.name;return n.enabled&&i===t})}function ui(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof document.body.style[r])return r;return null}function hu(){return this.state.isDestroyed=!0,ur(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[ui("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function fr(n){var t=n.ownerDocument;return t?t.defaultView:window}function cu(n,t,i,r){i.updateBound=r;fr(n).addEventListener("resize",i.updateBound,{passive:!0});var u=ot(n);return function n(t,i,r,u){var e="BODY"===t.nodeName,f=e?t.ownerDocument.defaultView:t;f.addEventListener(i,r,{passive:!0});e||n(ot(f.parentNode),i,r,u);u.push(f)}(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function lu(){this.state.eventsEnabled||(this.state=cu(this.reference,this.options,this.state,this.scheduleUpdate))}function au(){var t,n;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,n=this.state,fr(t).removeEventListener("resize",n.updateBound),n.scrollParents.forEach(function(t){t.removeEventListener("scroll",n.updateBound)}),n.updateBound=null,n.scrollParents=[],n.scrollElement=null,n.eventsEnabled=!1,n))}function fi(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function ei(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&fi(t[i])&&(r="px");n.style[i]=t[i]+r})}function or(n,t,i){var u=st(n,function(n){return n.name===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function sr(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=vt.indexOf(n),i=vt.slice(t+1).concat(vt.slice(0,t));return r?i.reverse():i}function wu(n,t,i,r){var h=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(st(u,function(n){return-1!==n.search(/,|\s/)})),o,s;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,s=-1!==f?[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))]:[u],(s=s.map(function(n,r){var f=(1===r?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return function(n,t,i,r){var s=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+s[1],u=s[2],o;if(!f)return n;if(0===u.indexOf("%")){o=void 0;switch(u){case"%p":o=i;break;case"%":case"%r":default:o=r}return e(o)[t]/100*f}return"vh"===u||"vw"===u?("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*f:f}(n,f,t,i)})})).forEach(function(n,t){n.forEach(function(i,r){fi(i)&&(h[t]+=i*("-"===n[r-1]?-1:1))})}),h}function cr(n,t,i){if(0===n.length)return n;if(i&&"function"==typeof i)return i(n);for(var u=(new window.DOMParser).parseFromString(n,"text/html"),e=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),o=function(n){var i=f[n],o=i.nodeName.toLowerCase(),r,u;if(-1===e.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[o]||[]);r.forEach(function(n){(function(n,t){var i=n.nodeName.toLowerCase();if(-1!==t.indexOf(i))return-1===rf.indexOf(i)||Boolean(n.nodeValue.match(uf)||n.nodeValue.match(ff));for(var u=t.filter(function(n){return n instanceof RegExp}),r=0,f=u.length;r<f;r++)if(i.match(u[r]))return!0;return!1})(n,u)||i.removeAttribute(n.nodeName)})},r=0,s=f.length;r<s;r++)o(r);return u.body.innerHTML}var i,li,y,dt,gt,er,oi,vt,hr,o,ar,rt;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&"#"!==t||(i=n.getAttribute("href"),t=i&&"#"!==i?i.trim():"");try{return document.querySelector(t)?t:null}catch(n){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return u||f?(i=i.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(i)+parseFloat(r))):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,r){var u,f;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var o=r[u],e=t[u],s=e&&i.isElement(e)?"element":null===(f=e)||"undefined"==typeof f?""+f:{}.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+s+'" but expected type "'+o+'".');}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if("function"==typeof n.getRootNode){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?i.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if("undefined"==typeof t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};i.jQueryDetection();t.fn.emulateTransitionEnd=pr;t.event.special[i.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var ut="alert",wr=t.fn[ut],v=function(){function n(n){this._element=n}var r=n.prototype;return r.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},r.dispose=function(){t.removeData(this._element,"bs.alert");this._element=null},r._getRootElement=function(n){var u=i.getSelectorFromElement(n),r=!1;return u&&(r=document.querySelector(u)),r||(r=t(n).closest(".alert")[0]),r},r._triggerCloseEvent=function(n){var i=t.Event("close.bs.alert");return t(n).trigger(i),i},r._removeElement=function(n){var u=this,r;(t(n).removeClass("show"),t(n).hasClass("fade"))?(r=i.getTransitionDurationFromElement(n),t(n).one(i.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(r)):this._destroyElement(n)},r._destroyElement=function(n){t(n).detach().trigger("closed.bs.alert").remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data("bs.alert");r||(r=new n(this),u.data("bs.alert",r));"close"===i&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},f(n,null,[{key:"VERSION",get:function(){return"4.5.0"}}]),n}();t(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',v._handleDismiss(new v));t.fn[ut]=v._jQueryInterface;t.fn[ut].Constructor=v;t.fn[ut].noConflict=function(){return t.fn[ut]=wr,v._jQueryInterface};li=t.fn.button;y=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var i=!0,u=!0,f=t(this._element).closest('[data-toggle="buttons"]')[0],n,r;f&&(n=this._element.querySelector('input:not([type="hidden"])'),n&&("radio"===n.type&&(n.checked&&this._element.classList.contains("active")?i=!1:(r=f.querySelector(".active"),r&&t(r).removeClass("active"))),i&&("checkbox"!==n.type&&"radio"!==n.type||(n.checked=!this._element.classList.contains("active")),t(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),i&&t(this._element).toggleClass("active"))},i.dispose=function(){t.removeData(this._element,"bs.button");this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data("bs.button");r||(r=new n(this),t(this).data("bs.button",r));"toggle"===i&&r[i]()})},f(n,null,[{key:"VERSION",get:function(){return"4.5.0"}}]),n}();t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=n.target,u=i,r;if(t(i).hasClass("btn")||(i=t(i).closest(".btn")[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector('input:not([type="hidden"])'),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void n.preventDefault();"LABEL"===u.tagName&&r&&"checkbox"===r.type&&n.preventDefault();y._jQueryInterface.call(t(i),"toggle")}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target).closest(".btn")[0];t(i).toggleClass("focus",/^focus(in)?$/.test(n.type))});t(window).on("load.bs.button.data-api",function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector('input:not([type="hidden"])'),f.checked||f.hasAttribute("checked")?t.classList.add("active"):t.classList.remove("active");for(i=0,e=(n=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;i<e;i++)r=n[i],"true"===r.getAttribute("aria-pressed")?r.classList.add("active"):r.classList.remove("active")});t.fn.button=y._jQueryInterface;t.fn.button.Constructor=y;t.fn.button.noConflict=function(){return t.fn.button=li,y._jQueryInterface};var p="carousel",br=".bs.carousel",kr=t.fn[p],wt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},dr={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ai={TOUCH:"touch",PEN:"pen"},w=function(){function u(n,t){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(t);this._element=n;this._indicatorsElement=this._element.querySelector(".carousel-indicators");this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=u.prototype;return n.next=function(){this._isSliding||this._slide("next")},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide("prev")},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(i.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var u=this,i,r;if(this._activeElement=this._element.querySelector(".active.carousel-item"),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)t(this._element).one("slid.bs.carousel",function(){return u.to(n)});else{if(i===n)return this.pause(),void this.cycle();r=n>i?"next":"prev";this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(br);t.removeData(this._element,"bs.carousel");this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=r(r({},wt),n),i.typeCheckConfig(p,n,dr),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=40||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;this._config.keyboard&&t(this._element).on("keydown.bs.carousel",function(t){return n._keydown(t)});"hover"===this._config.pause&&t(this._element).on("mouseenter.bs.carousel",function(t){return n.pause(t)}).on("mouseleave.bs.carousel",function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this,i,r;this._touchSupported&&(i=function(t){n._pointerEvent&&ai[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},r=function(t){n._pointerEvent&&ai[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))},t(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(n){return n.preventDefault()}),this._pointerEvent?(t(this._element).on("pointerdown.bs.carousel",function(n){return i(n)}),t(this._element).on("pointerup.bs.carousel",function(n){return r(n)}),this._element.classList.add("pointer-event")):(t(this._element).on("touchstart.bs.carousel",function(n){return i(n)}),t(this._element).on("touchmove.bs.carousel",function(t){return function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX}(t)}),t(this._element).on("touchend.bs.carousel",function(n){return r(n)})))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u="next"===n,f="prev"===n,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+("prev"===n?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(".active.carousel-item")),r=t.Event("slide.bs.carousel",{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),t(r).removeClass("active"),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass("active"))},n._slide=function(n,r){var e,o,s,l=this,f=this._element.querySelector(".active.carousel-item"),y=this._getItemIndex(f),u=r||f&&this._getItemByDirection(n,f),p=this._getItemIndex(u),a=Boolean(this._interval),h,c,v;("next"===n?(e="carousel-item-left",o="carousel-item-next",s="left"):(e="carousel-item-right",o="carousel-item-prev",s="right"),u&&t(u).hasClass("active"))?this._isSliding=!1:!this._triggerSlideEvent(u,s).isDefaultPrevented()&&f&&u&&(this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(u),h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:s,from:y,to:p}),t(this._element).hasClass("slide")?(t(u).addClass(o),i.reflow(u),t(f).addClass(e),t(u).addClass(e),c=parseInt(u.getAttribute("data-interval"),10),c?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=c):this._config.interval=this._config.defaultInterval||this._config.interval,v=i.getTransitionDurationFromElement(f),t(f).one(i.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass("active");t(f).removeClass("active "+o+" "+e);l._isSliding=!1;setTimeout(function(){return t(l._element).trigger(h)},0)}).emulateTransitionEnd(v)):(t(f).removeClass("active"),t(u).addClass("active"),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle())},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.carousel"),f=r(r({},wt),t(this).data()),e;if("object"==typeof n&&(f=r(r({},f),n)),e="string"==typeof n?n:f.slide,i||(i=new u(this,f),t(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}else f.interval&&f.ride&&(i.pause(),i.cycle())})},u._dataApiClickHandler=function(n){var s=i.getSelectorFromElement(this),f,o,e;s&&(f=t(s)[0],f&&t(f).hasClass("carousel")&&(o=r(r({},t(f).data()),t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),u._jQueryInterface.call(t(f),o),e&&t(f).data("bs.carousel").to(e),n.preventDefault()))},f(u,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return wt}}]),u}();t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",w._dataApiClickHandler);t(window).on("load.bs.carousel.data-api",function(){for(var i,r=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),n=0,u=r.length;n<u;n++)i=t(r[n]),w._jQueryInterface.call(i,i.data())});t.fn[p]=w._jQueryInterface;t.fn[p].Constructor=w;t.fn[p].noConflict=function(){return t.fn[p]=kr,w._jQueryInterface};var b="collapse",gr=t.fn[b],bt={toggle:!0,parent:""},nu={toggle:"boolean",parent:"(string|element)"},ft=function(){function u(n,t){this._isTransitioning=!1;this._element=n;this._config=this._getConfig(t);this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'));for(var f=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),r=0,o=f.length;r<o;r++){var e=f[r],u=i.getSelectorFromElement(e),s=[].slice.call(document.querySelectorAll(u)).filter(function(t){return t===n});null!==u&&s.length>0&&(this._selector=u,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=u.prototype;return n.toggle=function(){t(this._element).hasClass("show")?this.hide():this.show()},n.show=function(){var n,e,r=this,o,f,s,h;this._isTransitioning||t(this._element).hasClass("show")||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(n){return"string"==typeof r._config.parent?n.getAttribute("data-parent")===r._config.parent:n.classList.contains("collapse")})).length&&(n=null),n&&(e=t(n).not(this._selector).data("bs.collapse"))&&e._isTransitioning)||(o=t.Event("show.bs.collapse"),(t(this._element).trigger(o),o.isDefaultPrevented())||(n&&(u._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data("bs.collapse",null)),f=this._getDimension(),t(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[f]=0,this._triggerArray.length&&t(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(f[0].toUpperCase()+f.slice(1)),h=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(){t(r._element).removeClass("collapsing").addClass("collapse show");r._element.style[f]="";r.setTransitioning(!1);t(r._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(h),this._element.style[f]=this._element[s]+"px"))},n.hide=function(){var s=this,u,n,f,r,e,o,h;if(!this._isTransitioning&&t(this._element).hasClass("show")&&(u=t.Event("hide.bs.collapse"),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",i.reflow(this._element),t(this._element).addClass("collapsing").removeClass("collapse show"),f=this._triggerArray.length,f>0)for(r=0;r<f;r++)e=this._triggerArray[r],o=i.getSelectorFromElement(e),null!==o&&(t([].slice.call(document.querySelectorAll(o))).hasClass("show")||t(e).addClass("collapsed").attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,function(){s.setTransitioning(!1);t(s._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,"bs.collapse");this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=r(r({},bt),n)).toggle=Boolean(n.toggle),i.typeCheckConfig(b,n,nu),n},n._getDimension=function(){return t(this._element).hasClass("width")?"width":"height"},n._getParent=function(){var n,e=this,r,f;return i.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(r)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(u._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass("show");i.length&&t(i).toggleClass("collapsed",!r).attr("aria-expanded",r)},u._getTargetFromElement=function(n){var t=i.getSelectorFromElement(n);return t?document.querySelector(t):null},u._jQueryInterface=function(n){return this.each(function(){var f=t(this),i=f.data("bs.collapse"),e=r(r(r({},bt),f.data()),"object"==typeof n&&n?n:{});if(!i&&e.toggle&&"string"==typeof n&&/show|hide/.test(n)&&(e.toggle=!1),i||(i=new u(this,e),f.data("bs.collapse",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},f(u,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return bt}}]),u}();t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var r=t(this),u=i.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),i=n.data("bs.collapse")?"toggle":r.data();ft._jQueryInterface.call(n,i)})});t.fn[b]=ft._jQueryInterface;t.fn[b].Constructor=ft;t.fn[b].noConflict=function(){return t.fn[b]=gr,ft._jQueryInterface};var et="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,tu=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(et&&navigator.userAgent.indexOf(t[n])>=0)return 1;return 0}(),iu=et&&window.Promise?function(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},tu))}};dt=et&&!(!window.MSInputMethodContext||!document.documentMode);gt=et&&/MSIE 10/.test(navigator.userAgent);var uu=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},fu=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),nt=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};er=et&&/Firefox/i.test(navigator.userAgent);oi=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];vt=oi.slice(3);var vu="flip",yu="clockwise",pu="counterclockwise";hr={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(n){var r=n.placement,c=r.split("-")[0],f=r.split("-")[1];if(f){var e=n.offsets,i=e.reference,o=e.popper,s=-1!==["bottom","top"].indexOf(c),t=s?"left":"top",h=s?"width":"height",l={start:nt({},t,i[t]),end:nt({},t,i[t]+i[h]-o[h])};n.offsets.popper=u({},o,l[f])}return n}},offset:{order:200,enabled:!0,fn:function(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=fi(+f)?[+f,0]:wu(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(n,t){var e=t.boundariesElement||d(n.instance.popper),f;n.instance.reference===e&&(e=d(e));var o=ui("transform"),r=n.instance.popper.style,s=r.top,h=r.left,c=r[o];r.top="";r.left="";r[o]="";f=ri(n.instance.popper,n.instance.reference,t.padding,e,n.positionFixed);r.top=s;r.left=h;r[o]=c;t.boundaries=f;var l=t.priority,i=n.offsets.popper,a={primary:function(n){var r=i[n];return i[n]<f[n]&&!t.escapeWithReference&&(r=Math.max(i[n],f[n])),nt({},n,r)},secondary:function(n){var r="right"===n?"left":"top",u=i[r];return i[n]>f[n]&&!t.escapeWithReference&&(u=Math.min(i[r],f[n]-("right"===n?i.width:i.height))),nt({},r,u)}};return l.forEach(function(n){var t=-1!==["left","top"].indexOf(n)?"primary":"secondary";i=u({},i,a[t](n))}),n.offsets.popper=i,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,t){var l,r;if(!or(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,"string"==typeof r){if(!(r=n.instance.popper.querySelector(r)))return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var b=n.placement.split("-")[0],p=n.offsets,o=p.popper,u=p.reference,s=-1!==["left","right"].indexOf(b),a=s?"height":"width",v=s?"Top":"Left",i=v.toLowerCase(),k=s?"left":"top",c=s?"bottom":"right",f=tr(r)[a];u[c]-f<o[i]&&(n.offsets.popper[i]-=o[i]-(u[c]-f));u[i]+f>o[c]&&(n.offsets.popper[i]+=u[i]+f-o[c]);n.offsets.popper=e(n.offsets.popper);var d=u[i]+u[a]/2-f/2,w=h(n.instance.popper),g=parseFloat(w["margin"+v],10),tt=parseFloat(w["border"+v+"Width"],10),y=d-n.offsets.popper[i]-g-tt;return y=Math.max(Math.min(o[a]-f,y),0),n.arrowElement=r,n.offsets.arrow=(nt(l={},i,Math.round(y)),nt(l,k,""),l),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(n,t){if(ur(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var e=ri(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],o=at(i),r=n.placement.split("-")[1]||"",f=[];switch(t.behavior){case vu:f=[i,o];break;case yu:f=sr(i);break;case pu:f=sr(i,!0);break;default:f=t.behavior}return f.forEach(function(s,h){if(i!==s||f.length===h+1)return n;i=n.placement.split("-")[0];o=at(i);var l=n.offsets.popper,v=n.offsets.reference,c=Math.floor,k="left"===i&&c(l.right)>c(v.left)||"right"===i&&c(l.left)<c(v.right)||"top"===i&&c(l.bottom)>c(v.top)||"bottom"===i&&c(l.top)<c(v.bottom),y=c(l.left)<c(e.left),p=c(l.right)>c(e.right),w=c(l.top)<c(e.top),b=c(l.bottom)>c(e.bottom),d="left"===i&&y||"right"===i&&p||"top"===i&&w||"bottom"===i&&b,a=-1!==["top","bottom"].indexOf(i),nt=!!t.flipVariations&&(a&&"start"===r&&y||a&&"end"===r&&p||!a&&"start"===r&&w||!a&&"end"===r&&b),tt=!!t.flipVariationsByContent&&(a&&"start"===r&&p||a&&"end"===r&&y||!a&&"start"===r&&b||!a&&"end"===r&&w),g=nt||tt;(k||d||g)&&(n.flipped=!0,(k||d)&&(i=f[h+1]),g&&(r=function(n){return"end"===n?"start":"start"===n?"end":n}(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=u({},n.offsets.popper,ir(n.instance.popper,n.offsets.reference,n.placement)),n=rr(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,o=u.reference,f=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return i[f?"left":"top"]=o[t]-(s?i[f?"width":"height"]:0),n.placement=at(r),n.offsets.popper=e(i),n}},hide:{order:800,enabled:!0,fn:function(n){if(!or(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=st(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(n,t){var w=t.x,b=t.y,k=n.offsets.popper,s=st(n.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,v,y,p;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var g=void 0!==s?s:t.gpuAcceleration,f=d(n.instance.popper),l=ti(f),i={position:k.position},r=function(n,t){var u=n.offsets,i=u.popper,l=u.reference,r=Math.round,a=Math.floor,f=function(n){return n},e=r(l.width),o=r(i.width),v=-1!==["left","right"].indexOf(n.placement),s=-1!==n.placement.indexOf("-"),h=t?v||s||e%2==o%2?r:a:f,c=t?r:f;return{left:h(e%2==1&&o%2==1&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}(n,window.devicePixelRatio<2||!er),e="bottom"===w?"top":"bottom",o="right"===b?"left":"right",a=ui("transform"),h=void 0,c=void 0;return(c="bottom"===e?"HTML"===f.nodeName?-f.clientHeight+r.bottom:-l.height+r.bottom:r.top,h="right"===o?"HTML"===f.nodeName?-f.clientWidth+r.right:-l.width+r.right:r.left,g&&a)?(i[a]="translate3d("+h+"px, "+c+"px, 0)",i[e]=0,i[o]=0,i.willChange="transform"):(v="bottom"===e?-1:1,y="right"===o?-1:1,i[e]=c*v,i[o]=h*y,i.willChange=e+", "+o),p={"x-placement":n.placement},n.attributes=u({},p,n.attributes),n.styles=u({},i,n.styles),n.arrowStyles=u({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){var i,t;return ei(n.instance.popper,n.styles),i=n.instance.popper,t=n.attributes,Object.keys(t).forEach(function(n){!1!==t[n]?i.setAttribute(n,t[n]):i.removeAttribute(n)}),n.arrowElement&&Object.keys(n.arrowStyles).length&&ei(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=nr(u,t,n,i.positionFixed),e=gi(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),ei(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}};o=function(){function n(t,i){var r=this,f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e;uu(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=iu(this.update.bind(this));this.options=u({},n.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=i&&i.jquery?i[0]:i;this.options.modifiers={};Object.keys(u({},n.Defaults.modifiers,f.modifiers)).forEach(function(t){r.options.modifiers[t]=u({},n.Defaults.modifiers[t]||{},f.modifiers?f.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return u({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&vi(n.onLoad)&&n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return fu(n,[{key:"update",value:function(){return su.call(this)}},{key:"destroy",value:function(){return hu.call(this)}},{key:"enableEventListeners",value:function(){return lu.call(this)}},{key:"disableEventListeners",value:function(){return au.call(this)}}]),n}();o.Utils=("undefined"!=typeof window?window:global).PopperUtils;o.placements=oi;o.Defaults=hr;var tt="dropdown",bu=t.fn[tt],ku=new RegExp("38|40|27"),du={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},gu={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},s=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var u=n.prototype;return u.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass("disabled")){var i=t(this._menu).hasClass("show");n._clearMenus();i||this.show(!0)}},u.show=function(r){var f;if(void 0===r&&(r=!1),!(this._element.disabled||t(this._element).hasClass("disabled")||t(this._menu).hasClass("show"))){var e={relatedTarget:this._element},s=t.Event("show.bs.dropdown",e),u=n._getParentFromElement(this._element);if(t(u).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar&&r){if("undefined"==typeof o)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");f=this._element;"parent"===this._config.reference?f=u:i.isElement(this._config.reference)&&(f=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(f=this._config.reference[0]));"scrollParent"!==this._config.boundary&&t(u).addClass("position-static");this._popper=new o(f,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(u).closest(".navbar-nav").length&&t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass("show");t(u).toggleClass("show").trigger(t.Event("shown.bs.dropdown",e))}}},u.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass("disabled")&&t(this._menu).hasClass("show")){var i={relatedTarget:this._element},r=t.Event("hide.bs.dropdown",i),u=n._getParentFromElement(this._element);t(u).trigger(r);r.isDefaultPrevented()||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass("show"),t(u).toggleClass("show").trigger(t.Event("hidden.bs.dropdown",i)))}},u.dispose=function(){t.removeData(this._element,"bs.dropdown");t(this._element).off(".bs.dropdown");this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var n=this;t(this._element).on("click.bs.dropdown",function(t){t.preventDefault();t.stopPropagation();n.toggle()})},u._getConfig=function(n){return n=r(r(r({},this.constructor.Default),t(this._element).data()),n),i.typeCheckConfig(tt,n,this.constructor.DefaultType),n},u._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(".dropdown-menu"))}return this._menu},u._getPlacement=function(){var i=t(this._element.parentNode),n="bottom-start";return i.hasClass("dropup")?n=t(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":i.hasClass("dropright")?n="right-start":i.hasClass("dropleft")?n="left-start":t(this._menu).hasClass("dropdown-menu-right")&&(n="bottom-end"),n},u._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},u._getOffset=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=r(r({},n.offsets),t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},u._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),r(r({},n),this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data("bs.dropdown");if(r||(r=new n(this,"object"==typeof i?i:null),t(this).data("bs.dropdown",r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var h,s;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(var u=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),r=0,c=u.length;r<c;r++){var f=n._getParentFromElement(u[r]),e=t(u[r]).data("bs.dropdown"),o={relatedTarget:u[r]};(i&&"click"===i.type&&(o.clickEvent=i),e)&&(h=e._menu,!t(f).hasClass("show")||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&t.contains(f,i.target)||(s=t.Event("hide.bs.dropdown",o),t(f).trigger(s),s.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),e._popper&&e._popper.destroy(),t(h).removeClass("show"),t(f).removeClass("show").trigger(t.Event("hidden.bs.dropdown",o)))))}},n._getParentFromElement=function(n){var t,r=i.getSelectorFromElement(n);return r&&(t=document.querySelector(r)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var f,e,u,r;if(!(/input|textarea/i.test(i.target.tagName)?32===i.which||27!==i.which&&(40!==i.which&&38!==i.which||t(i.target).closest(".dropdown-menu").length):!ku.test(i.which))&&!this.disabled&&!t(this).hasClass("disabled")&&(f=n._getParentFromElement(this),e=t(f).hasClass("show"),e||27!==i.which)){if(i.preventDefault(),i.stopPropagation(),!e||e&&(27===i.which||32===i.which))return 27===i.which&&t(f.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void t(this).trigger("click");u=[].slice.call(f.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(n){return t(n).is(":visible")});0!==u.length&&(r=u.indexOf(i.target),38===i.which&&r>0&&r--,40===i.which&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},f(n,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return du}},{key:"DefaultType",get:function(){return gu}}]),n}();t(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',s._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",s._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",s._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(n){n.preventDefault();n.stopPropagation();s._jQueryInterface.call(t(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()});t.fn[tt]=s._jQueryInterface;t.fn[tt].Constructor=s;t.fn[tt].noConflict=function(){return t.fn[tt]=bu,s._jQueryInterface};var nf=t.fn.modal,si={backdrop:!0,keyboard:!0,focus:!0,show:!0},tf={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},ht=function(){function u(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(".modal-dialog");this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=u.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;this._isShown||this._isTransitioning||(t(this._element).hasClass("fade")&&(this._isTransitioning=!0),r=t.Event("show.bs.modal",{relatedTarget:n}),t(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(n){return i.hide(n)}),t(this._dialog).on("mousedown.dismiss.bs.modal",function(){t(i._element).one("mouseup.dismiss.bs.modal",function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(n)})))},n.hide=function(n){var e=this,r,u,f;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(r=t.Event("hide.bs.modal"),(t(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented())&&(this._isShown=!1,u=t(this._element).hasClass("fade"),(u&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off("focusin.bs.modal"),t(this._element).removeClass("show"),t(this._element).off("click.dismiss.bs.modal"),t(this._dialog).off("mousedown.dismiss.bs.modal"),u)?(f=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(f)):this._hideModal()))},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(".bs.modal")});t(document).off("focusin.bs.modal");t.removeData(this._element,"bs.modal");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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=r(r({},si),n),i.typeCheckConfig("modal",n,tf),n},n._triggerBackdropTransition=function(){var u=this,n,r;if("static"===this._config.backdrop){if(n=t.Event("hidePrevented.bs.modal"),t(this._element).trigger(n),n.defaultPrevented)return;this._element.classList.add("modal-static");r=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,function(){u._element.classList.remove("modal-static")}).emulateTransitionEnd(r);this._element.focus()}else this.hide()},n._showElement=function(n){var r=this,f=t(this._element).hasClass("fade"),e=this._dialog?this._dialog.querySelector(".modal-body"):null,o,u,s;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);t(this._dialog).hasClass("modal-dialog-scrollable")&&e?e.scrollTop=0:this._element.scrollTop=0;f&&i.reflow(this._element);t(this._element).addClass("show");this._config.focus&&this._enforceFocus();o=t.Event("shown.bs.modal",{relatedTarget:n});u=function(){r._config.focus&&r._element.focus();r._isTransitioning=!1;t(r._element).trigger(o)};f?(s=i.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(i.TRANSITION_END,u).emulateTransitionEnd(s)):u()},n._enforceFocus=function(){var n=this;t(document).off("focusin.bs.modal").on("focusin.bs.modal",function(i){document!==i.target&&n._element!==i.target&&0===t(n._element).has(i.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown?t(this._element).on("keydown.dismiss.bs.modal",function(t){n._config.keyboard&&27===t.which?(t.preventDefault(),n.hide()):n._config.keyboard||27!==t.which||n._triggerBackdropTransition()}):this._isShown||t(this._element).off("keydown.dismiss.bs.modal")},n._setResizeEvent=function(){var n=this;this._isShown?t(window).on("resize.bs.modal",function(t){return n.handleUpdate(t)}):t(window).off("resize.bs.modal")},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass("modal-open");n._resetAdjustments();n._resetScrollbar();t(n._element).trigger("hidden.bs.modal")})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var r=this,u=t(this._element).hasClass("fade")?"fade":"",e,f,o;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",u&&this._backdrop.classList.add(u),t(this._backdrop).appendTo(document.body),t(this._element).on("click.dismiss.bs.modal",function(n){r._ignoreBackdropClick?r._ignoreBackdropClick=!1:n.target===n.currentTarget&&r._triggerBackdropTransition()}),u&&i.reflow(this._backdrop),t(this._backdrop).addClass("show"),!n)return;if(!u)return void n();e=i.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(i.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass("show"),f=function(){r._removeBackdrop();n&&n()},t(this._element).hasClass("fade")?(o=i.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(i.TRANSITION_END,f).emulateTransitionEnd(o)):f()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(n.left+n.right)<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),r=[].slice.call(document.querySelectorAll(".sticky-top")),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass("modal-open")},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),n,i;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r||""});n=[].slice.call(document.querySelectorAll(".sticky-top"));t(n).each(function(n,i){var r=t(i).data("margin-right");"undefined"!=typeof r&&t(i).css("margin-right",r).removeData("margin-right")});i=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},u._jQueryInterface=function(n,i){return this.each(function(){var f=t(this).data("bs.modal"),e=r(r(r({},si),t(this).data()),"object"==typeof n&&n?n:{});if(f||(f=new u(this,e),t(this).data("bs.modal",f)),"string"==typeof n){if("undefined"==typeof f[n])throw new TypeError('No method named "'+n+'"');f[n](i)}else e.show&&f.show(i)})},f(u,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return si}}]),u}();t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var u,f=this,e=i.getSelectorFromElement(this),o,s;e&&(u=document.querySelector(e));o=t(u).data("bs.modal")?"toggle":r(r({},t(u).data()),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();s=t(u).one("show.bs.modal",function(n){n.isDefaultPrevented()||s.one("hidden.bs.modal",function(){t(f).is(":visible")&&f.focus()})});ht._jQueryInterface.call(t(u),o,this)});t.fn.modal=ht._jQueryInterface;t.fn.modal.Constructor=ht;t.fn.modal.noConflict=function(){return t.fn.modal=nf,ht._jQueryInterface};var rf=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],uf=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,ff=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;var c="tooltip",ef=t.fn[c],of=new RegExp("(^|\\s)bs-tooltip\\S+","g"),sf=["sanitize","whiteList","sanitizeFn"],hf={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)"},cf={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},lf={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},af={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"},l=function(){function u(n,t){if("undefined"==typeof o)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=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=u.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&t(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},n.show=function(){var n=this,u,f,c,r,e,l,s,a,h,v;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");if(u=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(u),f=i.findShadowRoot(this.element),c=t.contains(null!==f?f:this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!c)return;r=this.getTipElement();e=i.getUID(this.constructor.NAME);r.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&t(r).addClass("fade");l="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement;s=this._getAttachment(l);this.addAttachmentClass(s);a=this._getContainer();t(r).data(this.constructor.DATA_KEY,this);t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(a);t(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new o(this.element,r,this._getPopperConfig(s));t(r).addClass("show");"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);h=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);"out"===i&&n._leave(null,n)};t(this.tip).hasClass("fade")?(v=i.getTransitionDurationFromElement(this.tip),t(this.tip).one(i.TRANSITION_END,h).emulateTransitionEnd(v)):h()}},n.hide=function(n){var r=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){"show"!==r._hoverState&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");t(r.element).trigger(r.constructor.Event.HIDDEN);null!==r._popper&&r._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||((t(u).removeClass("show"),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,t(this.tip).hasClass("fade"))?(o=i.getTransitionDurationFromElement(u),t(u).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass("bs-tooltip-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(".tooltip-inner")),this.getTitle());t(n).removeClass("fade show")},n.setElementContent=function(n,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=cr(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i):this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text())},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this;return r(r({},{placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}}),this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return"function"==typeof this.config.offset?n.fn=function(n){return n.offsets=r(r({},n.offsets),t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return!1===this.config.container?document.body:i.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return cf[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if("manual"!==i){var r="hover"===i?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u="hover"===i?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=r(r({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusin"===n.type?"focus":"hover"]=!0);t(i.getTipElement()).hasClass("show")||"show"===i._hoverState?i._hoverState="show":(clearTimeout(i._timeout),i._hoverState="show",i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){"show"===i._hoverState&&i.show()},i.config.delay.show):i.show())},n._leave=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusout"===n.type?"focus":"hover"]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState="out",i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){"out"===i._hoverState&&i.hide()},i.config.delay.hide):i.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var u=t(this.element).data();return Object.keys(u).forEach(function(n){-1!==sf.indexOf(n)&&delete u[n]}),"number"==typeof(n=r(r(r({},this.constructor.Default),u),"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),i.typeCheckConfig(c,n,this.constructor.DefaultType),n.sanitize&&(n.template=cr(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(of);null!==n&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){this.tip=n.instance.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;null===n.getAttribute("x-placement")&&(t(n).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.tooltip"),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new u(this,r),t(this).data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},f(u,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return lf}},{key:"NAME",get:function(){return c}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return af}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return hf}}]),u}();t.fn[c]=l._jQueryInterface;t.fn[c].Constructor=l;t.fn[c].noConflict=function(){return t.fn[c]=ef,l._jQueryInterface};var it="popover",vf=t.fn[it],yf=new RegExp("(^|\\s)bs-popover\\S+","g"),pf=r(r({},l.Default),{},{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),wf=r(r({},l.DefaultType),{},{content:"(string|element|function)"}),bf={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"},yt=function(n){function r(){return n.apply(this,arguments)||this}var u,e,i;return e=n,(u=r).prototype=Object.create(e.prototype),u.prototype.constructor=u,u.__proto__=e,i=r.prototype,i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(n){t(this.getTipElement()).addClass("bs-popover-"+n)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(".popover-header"),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(i.find(".popover-body"),n);i.removeClass("fade show")},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(yf);null!==n&&n.length>0&&i.removeClass(n.join(""))},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.popover"),u="object"==typeof n?n:null;if((i||!/dispose|hide/.test(n))&&(i||(i=new r(this,u),t(this).data("bs.popover",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},f(r,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return pf}},{key:"NAME",get:function(){return it}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return bf}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return wf}}]),r}(l);t.fn[it]=yt._jQueryInterface;t.fn[it].Constructor=yt;t.fn[it].noConflict=function(){return t.fn[it]=vf,yt._jQueryInterface};var a="scrollspy",kf=t.fn[a],lr={offset:10,method:"auto",target:""},df={offset:"number",method:"string",target:"(string|element)"},ct=function(){function u(n,i){var r=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item";this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on("scroll.bs.scrollspy",function(n){return r._process(n)});this.refresh();this._process()}var n=u.prototype;return n.refresh=function(){var n=this,u=this._scrollElement===this._scrollElement.window?"offset":"position",r="auto"===this._config.method?u:this._config.method,f="position"===r?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var u,e=i.getSelectorFromElement(n),o;return(e&&(u=document.querySelector(e)),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[t(u)[r]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,"bs.scrollspy");t(this._scrollElement).off(".bs.scrollspy");this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if("string"!=typeof(n=r(r({},lr),"object"==typeof n&&n?n:{})).target&&i.isElement(n.target)){var u=t(n.target).attr("id");u||(u=i.getUID(a),t(n.target).attr("id",u));n.target="#"+u}return i.typeCheckConfig(a,n,df),n},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,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),t>=u)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(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass("active"),i.addClass("active")):(i.addClass("active"),i.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),i.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active"));t(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains("active")}).forEach(function(n){return n.classList.remove("active")})},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.scrollspy");if(i||(i=new u(this,"object"==typeof n&&n),t(this).data("bs.scrollspy",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},f(u,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"Default",get:function(){return lr}}]),u}();t(window).on("load.bs.scrollspy.data-api",function(){for(var r,n=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),i=n.length;i--;)r=t(n[i]),ct._jQueryInterface.call(r,r.data())});t.fn[a]=ct._jQueryInterface;t.fn[a].Constructor=ct;t.fn[a].noConflict=function(){return t.fn[a]=kf,ct._jQueryInterface};ar=t.fn.tab;rt=function(){function n(n){this._element=n}var r=n.prototype;return r.show=function(){var h=this,u,n,r,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass("active")||t(this._element).hasClass("disabled")||(r=t(this._element).closest(".nav, .list-group")[0],f=i.getSelectorFromElement(this._element),r&&(c="UL"===r.nodeName||"OL"===r.nodeName?"> li > .active":".active",n=(n=t.makeArray(t(r).find(c)))[n.length-1]),e=t.Event("hide.bs.tab",{relatedTarget:this._element}),o=t.Event("show.bs.tab",{relatedTarget:n}),(n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,r),s=function(){var i=t.Event("hidden.bs.tab",{relatedTarget:h._element}),r=t.Event("shown.bs.tab",{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s()))},r.dispose=function(){t.removeData(this._element,"bs.tab");this._element=null},r._activate=function(n,r,u){var s=this,f=(!r||"UL"!==r.nodeName&&"OL"!==r.nodeName?t(r).children(".active"):t(r).find("> li > .active"))[0],h=u&&f&&t(f).hasClass("fade"),e=function(){return s._transitionComplete(n,f,u)},o;f&&h?(o=i.getTransitionDurationFromElement(f),t(f).removeClass("show").one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e()},r._transitionComplete=function(n,r,u){var f,e,o;r&&(t(r).removeClass("active"),f=t(r.parentNode).find("> .dropdown-menu .active")[0],f&&t(f).removeClass("active"),"tab"===r.getAttribute("role")&&r.setAttribute("aria-selected",!1));(t(n).addClass("active"),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),i.reflow(n),n.classList.contains("fade")&&n.classList.add("show"),n.parentNode&&t(n.parentNode).hasClass("dropdown-menu"))&&(e=t(n).closest(".dropdown")[0],e&&(o=[].slice.call(e.querySelectorAll(".dropdown-toggle")),t(o).addClass("active")),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data("bs.tab");if(r||(r=new n(this),u.data("bs.tab",r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},f(n,null,[{key:"VERSION",get:function(){return"4.5.0"}}]),n}();t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();rt._jQueryInterface.call(t(this),"show")});t.fn.tab=rt._jQueryInterface;t.fn.tab.Constructor=rt;t.fn.tab.noConflict=function(){return t.fn.tab=ar,rt._jQueryInterface};var gf=t.fn.toast,ne={animation:"boolean",autohide:"boolean",delay:"number"},vr={animation:!0,autohide:!0,delay:500},pt=function(){function u(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=u.prototype;return n.show=function(){var n=this,u=t.Event("show.bs.toast"),r,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._config.animation&&this._element.classList.add("fade"),r=function(){n._element.classList.remove("showing");n._element.classList.add("show");t(n._element).trigger("shown.bs.toast");n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},(this._element.classList.remove("hide"),i.reflow(this._element),this._element.classList.add("showing"),this._config.animation)?(f=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(f)):r())},n.hide=function(){if(this._element.classList.contains("show")){var n=t.Event("hide.bs.toast");t(this._element).trigger(n);n.isDefaultPrevented()||this._close()}},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains("show")&&this._element.classList.remove("show");t(this._element).off("click.dismiss.bs.toast");t.removeData(this._element,"bs.toast");this._element=null;this._config=null},n._getConfig=function(n){return n=r(r(r({},vr),t(this._element).data()),"object"==typeof n&&n?n:{}),i.typeCheckConfig("toast",n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return n.hide()})},n._close=function(){var n=this,r=function(){n._element.classList.add("hide");t(n._element).trigger("hidden.bs.toast")},u;(this._element.classList.remove("show"),this._config.animation)?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(u)):r()},u._jQueryInterface=function(n){return this.each(function(){var r=t(this),i=r.data("bs.toast");if(i||(i=new u(this,"object"==typeof n&&n),r.data("bs.toast",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n](this)}})},f(u,null,[{key:"VERSION",get:function(){return"4.5.0"}},{key:"DefaultType",get:function(){return ne}},{key:"Default",get:function(){return vr}}]),u}();t.fn.toast=pt._jQueryInterface;t.fn.toast.Constructor=pt;t.fn.toast.noConflict=function(){return t.fn.toast=gf,pt._jQueryInterface};n.Alert=v;n.Button=y;n.Carousel=w;n.Collapse=ft;n.Dropdown=s;n.Modal=ht;n.Popover=yt;n.Scrollspy=ct;n.Tab=rt;n.Toast=pt;n.Tooltip=l;n.Util=i;Object.defineProperty(n,"__esModule",{value:!0})});angular.module("ui.bootstrap.modal",[]).constant("modalConfig",{backdrop:!0,escape:!0}).directive("modal",["$parse","modalConfig",function(n,t){var i,r=angular.element(document.getElementsByTagName("body")[0]);return{restrict:"EA",link:function(u,f,e){function c(n){n.which===27&&s()}function l(){s()}function a(){o.escape&&r.unbind("keyup",c);o.backdrop&&(i.css("display","none").removeClass("in"),i.unbind("click",l));f.css("display","none").removeClass("in");r.removeClass("modal-open")}function v(){o.escape&&r.bind("keyup",c);o.backdrop&&(i.css("display","block").addClass("in"),o.backdrop!="static"&&i.bind("click",l));f.css("display","block").addClass("in");r.addClass("modal-open")}var o=angular.extend({},t,u.$eval(e.uiOptions||e.bsOptions||e.options)),h=e.modal||e.show,s;s=e.close?function(){u.$apply(e.close)}:function(){u.$apply(function(){n(h).assign(u,!1)})};f.addClass("modal");o.backdrop&&!i&&(i=angular.element('<div class="modal-backdrop"><\/div>'),i.css("display","none"),r.append(i));u.$watch(h,function(n){n?v():a()})}}}])