msys2-web/app/static/index.js
Christoph Reiter 294b8bee6d Update deps
2020-09-13 10:49:27 +02:00

32 lines
82 KiB
JavaScript

!function(){"use strict";
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/var t="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,e=function(){for(var e=["Edge","Trident","Firefox"],n=0;n<e.length;n+=1)if(t&&navigator.userAgent.indexOf(e[n])>=0)return 1;return 0}();var n=t&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var n=!1;return function(){n||(n=!0,setTimeout((function(){n=!1,t()}),e))}};function i(t){return t&&"[object Function]"==={}.toString.call(t)}function o(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function r(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=o(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/(auto|scroll|overlay)/.test(n+a+i)?t:s(r(t))}function a(t){return t&&t.referenceNode?t.referenceNode:t}var l=t&&!(!window.MSInputMethodContext||!document.documentMode),c=t&&/MSIE 10/.test(navigator.userAgent);function u(t){return 11===t?l:10===t?c:l||c}function f(t){if(!t)return document.documentElement;for(var e=u(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?f(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function d(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&f(s.firstElementChild)!==s?f(l):l;var c=h(t);return c.host?d(c.host,e):d(t,h(e).host)}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function g(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=p(e,"top"),o=p(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function m(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function v(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],u(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,i=u(10)&&getComputedStyle(n);return{height:v("Height",e,n,i),width:v("Width",e,n,i)}}var b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},y=function(){function t(t,e){for(var n=0;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)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),w=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function T(t){return E({},t,{right:t.left+t.width,bottom:t.top+t.height})}function L(t){var e={};try{if(u(10)){e=t.getBoundingClientRect();var n=p(t,"top"),i=p(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?_(t.ownerDocument):{},a=s.width||t.clientWidth||r.width,l=s.height||t.clientHeight||r.height,c=t.offsetWidth-a,f=t.offsetHeight-l;if(c||f){var h=o(t);c-=m(h,"x"),f-=m(h,"y"),r.width-=c,r.height-=f}return T(r)}function k(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=u(10),r="HTML"===e.nodeName,a=L(t),l=L(e),c=s(t),f=o(e),h=parseFloat(f.borderTopWidth),d=parseFloat(f.borderLeftWidth);n&&r&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var p=T({top:a.top-l.top-h,left:a.left-l.left-d,width:a.width,height:a.height});if(p.marginTop=0,p.marginLeft=0,!i&&r){var m=parseFloat(f.marginTop),v=parseFloat(f.marginLeft);p.top-=h-m,p.bottom-=h-m,p.left-=d-v,p.right-=d-v,p.marginTop=m,p.marginLeft=v}return(i&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=g(p,e)),p}function O(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=k(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:p(n),a=e?0:p(n,"left"),l={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r};return T(l)}function C(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===o(t,"position"))return!0;var n=r(t);return!!n&&C(n)}function A(t){if(!t||!t.parentElement||u())return document.documentElement;for(var e=t.parentElement;e&&"none"===o(e,"transform");)e=e.parentElement;return e||document.documentElement}function D(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l={top:0,left:0},c=o?A(t):d(t,a(e));if("viewport"===i)l=O(c,o);else{var u=void 0;"scrollParent"===i?"BODY"===(u=s(r(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===i?t.ownerDocument.documentElement:i;var f=k(u,c,o);if("HTML"!==u.nodeName||C(c))l=f;else{var h=_(t.ownerDocument),p=h.height,g=h.width;l.top+=f.top-f.marginTop,l.bottom=p+f.top,l.left+=f.left-f.marginLeft,l.right=g+f.left}}var m="number"==typeof(n=n||0);return l.left+=m?n:n.left||0,l.top+=m?n:n.top||0,l.right-=m?n:n.right||0,l.bottom-=m?n:n.bottom||0,l}function S(t){return t.width*t.height}function N(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=D(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return E({key:t},a[t],{area:S(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,f=t.split("-")[1];return u+(f?"-"+f:"")}function x(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?A(e):d(e,a(n));return k(n,o,i)}function I(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function j(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function P(t,e,n){n=n.split("-")[0];var i=I(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[j(a)],o}function M(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function H(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=M(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&i(n)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=n(e,t))})),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=x(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=N(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=P(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=H(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function R(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if(void 0!==document.body.style[r])return r}return null}function W(){return this.state.isDestroyed=!0,R(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[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(t){var e=t.ownerDocument;return e?e.defaultView:window}function Q(t,e,n,i){var o="BODY"===t.nodeName,r=o?t.ownerDocument.defaultView:t;r.addEventListener(e,n,{passive:!0}),o||Q(s(r.parentNode),e,n,i),i.push(r)}function V(t,e,n,i){n.updateBound=i,U(t).addEventListener("resize",n.updateBound,{passive:!0});var o=s(t);return Q(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=V(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,U(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function z(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function K(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&z(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var X=t&&/Firefox/i.test(navigator.userAgent);function G(t,e,n){var i=M(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var $=["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"],Z=$.slice(3);function J(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(t),i=Z.slice(n+1).concat(Z.slice(0,n));return e?i.reverse():i}var tt="flip",et="clockwise",nt="counterclockwise";function it(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(M(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return T(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,i){z(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var ot={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:w({},l,r[l]),end:w({},l,r[l]+r[c]-s[c])};t.offsets.popper=E({},s,u[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=z(+n)?[+n,0]:it(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||f(t.instance.popper);t.instance.reference===n&&(n=f(n));var i=F("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=D(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,h={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),w({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),w({},n,i)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=E({},u,h[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],s=t.offsets,a=s.popper,l=s.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",f=c?"Top":"Left",h=f.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",g=I(i)[u];l[p]-g<a[h]&&(t.offsets.popper[h]-=a[h]-(l[p]-g)),l[h]+g>a[p]&&(t.offsets.popper[h]+=l[h]+g-a[p]),t.offsets.popper=T(t.offsets.popper);var m=l[h]+l[u]/2-g/2,v=o(t.instance.popper),_=parseFloat(v["margin"+f]),b=parseFloat(v["border"+f+"Width"]),y=m-t.offsets.popper[h]-_-b;return y=Math.max(Math.min(a[u]-g,y),0),t.arrowElement=i,t.offsets.arrow=(w(n={},h,Math.round(y)),w(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(R(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=D(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=j(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case tt:s=[i,o];break;case et:s=J(i);break;case nt:s=J(i,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=j(i);var c=t.offsets.popper,u=t.offsets.reference,f=Math.floor,h="left"===i&&f(c.right)>f(u.left)||"right"===i&&f(c.left)<f(u.right)||"top"===i&&f(c.bottom)>f(u.top)||"bottom"===i&&f(c.top)<f(u.bottom),d=f(c.left)<f(n.left),p=f(c.right)>f(n.right),g=f(c.top)<f(n.top),m=f(c.bottom)>f(n.bottom),v="left"===i&&d||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,_=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(_&&"start"===r&&d||_&&"end"===r&&p||!_&&"start"===r&&g||!_&&"end"===r&&m),y=!!e.flipVariationsByContent&&(_&&"start"===r&&p||_&&"end"===r&&d||!_&&"start"===r&&m||!_&&"end"===r&&g),w=b||y;(h||v||w)&&(t.flipped=!0,(h||v)&&(i=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=E({},t.offsets.popper,P(t.instance.popper,t.offsets.reference,t.placement)),t=H(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=j(e),t.offsets.popper=T(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=M(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=M(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=f(t.instance.popper),l=L(a),c={position:o.position},u=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),c=r(i.width),u=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),h=e?u||f||l%2==c%2?r:s:a,d=e?r:a;return{left:h(l%2==1&&c%2==1&&!f&&e?i.left-1:i.left),top:d(i.top),bottom:d(i.bottom),right:h(i.right)}}(t,window.devicePixelRatio<2||!X),h="bottom"===n?"top":"bottom",d="right"===i?"left":"right",p=F("transform"),g=void 0,m=void 0;if(m="bottom"===h?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,g="right"===d?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&p)c[p]="translate3d("+g+"px, "+m+"px, 0)",c[h]=0,c[d]=0,c.willChange="transform";else{var v="bottom"===h?-1:1,_="right"===d?-1:1;c[h]=m*v,c[d]=g*_,c.willChange=h+", "+d}var b={"x-placement":t.placement};return t.attributes=E({},b,t.attributes),t.styles=E({},c,t.styles),t.arrowStyles=E({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return K(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&K(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=x(o,e,t,n.positionFixed),s=N(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),K(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},rt=function(){function t(e,o){var r=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};b(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=n(this.update.bind(this)),this.options=E({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(E({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){r.options.modifiers[e]=E({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return E({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&i(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return y(t,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),t}();
/*!
* Bootstrap v5.0.0-alpha1 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
function st(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 at(t,e,n){return e&&st(t.prototype,e),n&&st(t,n),t}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(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 ut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ct(Object(n),!0).forEach((function(e){lt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}rt.Utils=("undefined"!=typeof window?window:global).PopperUtils,rt.placements=$,rt.Defaults=ot;var ft,ht,dt,pt,gt="transitionend",mt=function(t){do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},vt=function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():null}return e},_t=function(t){var e=vt(t);return e&&document.querySelector(e)?e:null},bt=function(t){var e=vt(t);return e?document.querySelector(e):null},yt=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},wt=function(t){t.dispatchEvent(new Event(gt))},Et=function(t){return(t[0]||t).nodeType},Tt=function(t,e){var n=!1,i=e+5;t.addEventListener(gt,(function e(){n=!0,t.removeEventListener(gt,e)})),setTimeout((function(){n||wt(t)}),i)},Lt=function(t,e,n){Object.keys(n).forEach((function(i){var o,r=n[i],s=e[i],a=s&&Et(s)?"element":null==(o=s)?""+o:{}.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+'".')}))},kt=function(t){if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){var e=getComputedStyle(t),n=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==n.display&&"hidden"!==e.visibility}return!1},Ot=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},Ct=function(){return function(){}},At=function(t){return t.offsetHeight},Dt=function(){var t=window.jQuery;return t&&!document.body.hasAttribute("data-no-jquery")?t:null},St=(ft={},ht=1,{set:function(t,e,n){void 0===t.key&&(t.key={key:e,id:ht},ht++),ft[t.key.id]=n},get:function(t,e){if(!t||void 0===t.key)return null;var n=t.key;return n.key===e?ft[n.id]:null},delete:function(t,e){if(void 0!==t.key){var n=t.key;n.key===e&&(delete ft[n.id],delete t.key)}}}),Nt=function(t,e,n){St.set(t,e,n)},xt=function(t,e){return St.get(t,e)},It=function(t,e){St.delete(t,e)},jt=Element.prototype.querySelectorAll,Pt=Element.prototype.querySelector,Mt=(dt=new CustomEvent("Bootstrap",{cancelable:!0}),(pt=document.createElement("div")).addEventListener("Bootstrap",(function(){return null})),dt.preventDefault(),pt.dispatchEvent(dt),dt.defaultPrevented),Ht=/:scope\b/;(function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0})()||(jt=function(t){if(!Ht.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=mt("scope"));var n=null;try{t=t.replace(Ht,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},Pt=function(t){if(!Ht.test(t))return this.querySelector(t);var e=jt.call(this,t);return void 0!==e[0]?e[0]:null});var Bt=Dt(),Rt=/[^.]*(?=\..*)\.|.*/,Ft=/\..*/,Wt=/::\d+$/,Ut={},Qt=1,Vt={mouseenter:"mouseover",mouseleave:"mouseout"},qt=["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 Yt(t,e){return e&&e+"::"+Qt++||t.uidEvent||Qt++}function zt(t){var e=Yt(t);return t.uidEvent=e,Ut[e]=Ut[e]||{},Ut[e]}function Kt(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 Xt(t,e,n){var i="string"==typeof e,o=i?n:e,r=t.replace(Ft,""),s=Vt[r];return s&&(r=s),qt.indexOf(r)>-1||(r=t),[i,o,r]}function Gt(t,e,n,i,o){if("string"==typeof e&&t){n||(n=i,i=null);var r=Xt(e,n,i),s=r[0],a=r[1],l=r[2],c=zt(t),u=c[l]||(c[l]={}),f=Kt(u,a,s?n:null);if(f)f.oneOff=f.oneOff&&o;else{var h=Yt(a,e.replace(Rt,"")),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 i.oneOff&&Zt.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return n.oneOff&&Zt.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 $t(t,e,n,i,o){var r=Kt(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var Zt={on:function(t,e,n,i){Gt(t,e,n,i,!1)},one:function(t,e,n,i){Gt(t,e,n,i,!0)},off:function(t,e,n,i){if("string"==typeof e&&t){var o=Xt(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=zt(t),u="."===e.charAt(0);if(void 0===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];$t(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(Wt,"");if(!l||e.indexOf(i)>-1){var o=f[n];$t(t,c,a,o.originalHandler,o.delegationSelector)}}))}else{if(!c||!c[a])return;$t(t,c,a,s,r?n:null)}}},trigger:function(t,e,n){if("string"!=typeof e||!t)return null;var i,o=e.replace(Ft,""),r=e!==o,s=qt.indexOf(o)>-1,a=!0,l=!0,c=!1,u=null;return r&&Bt&&(i=Bt.Event(e,n),Bt(t).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),s?(u=document.createEvent("HTMLEvents")).initEvent(o,a,!0):u=new CustomEvent(e,{bubbles:a,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((function(t){Object.defineProperty(u,t,{get:function(){return n[t]}})})),c&&(u.preventDefault(),Mt||Object.defineProperty(u,"defaultPrevented",{get:function(){return!0}})),l&&t.dispatchEvent(u),u.defaultPrevented&&void 0!==i&&i.preventDefault(),u}},Jt="bs.alert",te=function(){function t(t){this._element=t,this._element&&Nt(t,Jt,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(){It(this._element,Jt),this._element=null},e._getRootElement=function(t){return bt(t)||t.closest(".alert")},e._triggerCloseEvent=function(t){return Zt.trigger(t,"close.bs.alert")},e._removeElement=function(t){var e=this;if(t.classList.remove("show"),t.classList.contains("fade")){var n=yt(t);Zt.one(t,gt,(function(){return e._destroyElement(t)})),Tt(t,n)}else this._destroyElement(t)},e._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),Zt.trigger(t,"closed.bs.alert")},t.jQueryInterface=function(e){return this.each((function(){var n=xt(this,Jt);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 xt(t,Jt)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}}]),t}();Zt.on(document,"click.bs.alert.data-api",'[data-dismiss="alert"]',te.handleDismiss(new te));var ee=Dt();if(ee){var ne=ee.fn.alert;ee.fn.alert=te.jQueryInterface,ee.fn.alert.Constructor=te,ee.fn.alert.noConflict=function(){return ee.fn.alert=ne,te.jQueryInterface}}var ie="bs.button",oe='[data-toggle="button"]',re=function(){function t(t){this._element=t,Nt(t,ie,this)}var e=t.prototype;return e.toggle=function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))},e.dispose=function(){It(this._element,ie),this._element=null},t.jQueryInterface=function(e){return this.each((function(){var n=xt(this,ie);n||(n=new t(this)),"toggle"===e&&n[e]()}))},t.getInstance=function(t){return xt(t,ie)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}}]),t}();Zt.on(document,"click.bs.button.data-api",oe,(function(t){t.preventDefault();var e=t.target.closest(oe),n=xt(e,ie);n||(n=new re(e)),n.toggle()}));var se=Dt();if(se){var ae=se.fn.button;se.fn.button=re.jQueryInterface,se.fn.button.Constructor=re,se.fn.button.noConflict=function(){return se.fn.button=ae,re.jQueryInterface}}function le(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function ce(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))}var ue={setDataAttribute:function(t,e,n){t.setAttribute("data-"+ce(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+ce(e))},getDataAttributes:function(t){if(!t)return{};var e=ut({},t.dataset);return Object.keys(e).forEach((function(t){e[t]=le(e[t])})),e},getDataAttribute:function(t,e){return le(t.getAttribute("data-"+ce(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))}},fe={matches:function(t,e){return t.matches(e)},find:function(t,e){var n;return void 0===e&&(e=document.documentElement),(n=[]).concat.apply(n,jt.call(e,t))},findOne:function(t,e){return void 0===e&&(e=document.documentElement),Pt.call(e,t)},children:function(t,e){var n,i=(n=[]).concat.apply(n,t.children);return i.filter((function(t){return t.matches(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},prev:function(t,e){for(var n=t.previousElementSibling;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next:function(t,e){for(var n=t.nextElementSibling;n;){if(this.matches(n,e))return[n];n=n.nextElementSibling}return[]}},he="carousel",de="bs.carousel",pe=".bs.carousel",ge={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},me={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ve="next",_e="prev",be="slid.bs.carousel",ye="active",we=".active.carousel-item",Ee={TOUCH:"touch",PEN:"pen"},Te=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=fe.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners(),Nt(t,de,this)}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(ve)},e.nextWhenVisible=function(){!document.hidden&&kt(this._element)&&this.next()},e.prev=function(){this._isSliding||this._slide(_e)},e.pause=function(t){t||(this._isPaused=!0),fe.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(wt(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=fe.findOne(we,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)Zt.one(this._element,be,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var i=t>n?ve:_e;this._slide(i,this._items[t])}},e.dispose=function(){Zt.off(this._element,pe),It(this._element,de),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=ut(ut({},ge),t),Lt(he,t,me),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&&Zt.on(this._element,"keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&(Zt.on(this._element,"mouseenter.bs.carousel",(function(e){return t.pause(e)})),Zt.on(this._element,"mouseleave.bs.carousel",(function(e){return t.cycle(e)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this,e=function(e){t._pointerEvent&&Ee[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&Ee[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))};fe.find(".carousel-item img",this._element).forEach((function(t){Zt.on(t,"dragstart.bs.carousel",(function(t){return t.preventDefault()}))})),this._pointerEvent?(Zt.on(this._element,"pointerdown.bs.carousel",(function(t){return e(t)})),Zt.on(this._element,"pointerup.bs.carousel",(function(t){return n(t)})),this._element.classList.add("pointer-event")):(Zt.on(this._element,"touchstart.bs.carousel",(function(t){return e(t)})),Zt.on(this._element,"touchmove.bs.carousel",(function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)})),Zt.on(this._element,"touchend.bs.carousel",(function(t){return n(t)})))},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.key){case"ArrowLeft":t.preventDefault(),this.prev();break;case"ArrowRight":t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?fe.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===ve,i=t===_e,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===_e?-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(fe.findOne(we,this._element));return Zt.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:i,to:n})},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=fe.find(".active",this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(ye);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&i.classList.add(ye)}},e._slide=function(t,e){var n,i,o,r=this,s=fe.findOne(we,this._element),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),c=this._getItemIndex(l),u=Boolean(this._interval);if(t===ve?(n="carousel-item-left",i="carousel-item-next",o="left"):(n="carousel-item-right",i="carousel-item-prev",o="right"),l&&l.classList.contains(ye))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).defaultPrevented&&s&&l){if(this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l),this._element.classList.contains("slide")){l.classList.add(i),At(l),s.classList.add(n),l.classList.add(n);var f=parseInt(l.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;var h=yt(s);Zt.one(s,gt,(function(){l.classList.remove(n,i),l.classList.add(ye),s.classList.remove(ye,i,n),r._isSliding=!1,setTimeout((function(){Zt.trigger(r._element,be,{relatedTarget:l,direction:o,from:a,to:c})}),0)})),Tt(s,h)}else s.classList.remove(ye),l.classList.add(ye),this._isSliding=!1,Zt.trigger(this._element,be,{relatedTarget:l,direction:o,from:a,to:c});u&&this.cycle()}},t.carouselInterface=function(e,n){var i=xt(e,de),o=ut(ut({},ge),ue.getDataAttributes(e));"object"==typeof n&&(o=ut(ut({},o),n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(e,o)),"number"==typeof n)i.to(n);else if("string"==typeof r){if(void 0===i[r])throw new TypeError('No method named "'+r+'"');i[r]()}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=bt(this);if(n&&n.classList.contains("carousel")){var i=ut(ut({},ue.getDataAttributes(n)),ue.getDataAttributes(this)),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),t.carouselInterface(n,i),o&&xt(n,de).to(o),e.preventDefault()}},t.getInstance=function(t){return xt(t,de)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"Default",get:function(){return ge}}]),t}();Zt.on(document,"click.bs.carousel.data-api","[data-slide], [data-slide-to]",Te.dataApiClickHandler),Zt.on(window,"load.bs.carousel.data-api",(function(){for(var t=fe.find('[data-ride="carousel"]'),e=0,n=t.length;e<n;e++)Te.carouselInterface(t[e],xt(t[e],de))}));var Le=Dt();if(Le){var ke=Le.fn[he];Le.fn[he]=Te.jQueryInterface,Le.fn[he].Constructor=Te,Le.fn[he].noConflict=function(){return Le.fn[he]=ke,Te.jQueryInterface}}var Oe="collapse",Ce="bs.collapse",Ae={toggle:!0,parent:""},De={toggle:"boolean",parent:"(string|element)"},Se="show",Ne="collapse",xe="collapsing",Ie="collapsed",je="width",Pe='[data-toggle="collapse"]',Me=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=fe.find(Pe+'[href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]');for(var n=fe.find(Pe),i=0,o=n.length;i<o;i++){var r=n[i],s=_t(r),a=fe.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(),Nt(t,Ce,this)}var e=t.prototype;return e.toggle=function(){this._element.classList.contains(Se)?this.hide():this.show()},e.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(Se)){var n,i;this._parent&&0===(n=fe.find(".show, .collapsing",this._parent).filter((function(t){return"string"==typeof e._config.parent?t.getAttribute("data-parent")===e._config.parent:t.classList.contains(Ne)}))).length&&(n=null);var o=fe.findOne(this._selector);if(n){var r=n.filter((function(t){return o!==t}));if((i=r[0]?xt(r[0],Ce):null)&&i._isTransitioning)return}if(!Zt.trigger(this._element,"show.bs.collapse").defaultPrevented){n&&n.forEach((function(e){o!==e&&t.collapseInterface(e,"hide"),i||Nt(e,Ce,null)}));var s=this._getDimension();this._element.classList.remove(Ne),this._element.classList.add(xe),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=yt(this._element);Zt.one(this._element,gt,(function(){e._element.classList.remove(xe),e._element.classList.add(Ne,Se),e._element.style[s]="",e.setTransitioning(!1),Zt.trigger(e._element,"shown.bs.collapse")})),Tt(this._element,l),this._element.style[s]=this._element[a]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(Se)&&!Zt.trigger(this._element,"hide.bs.collapse").defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",At(this._element),this._element.classList.add(xe),this._element.classList.remove(Ne,Se);var n=this._triggerArray.length;if(n>0)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=bt(o);r&&!r.classList.contains(Se)&&(o.classList.add(Ie),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";var s=yt(this._element);Zt.one(this._element,gt,(function(){t.setTransitioning(!1),t._element.classList.remove(xe),t._element.classList.add(Ne),Zt.trigger(t._element,"hidden.bs.collapse")})),Tt(this._element,s)}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){It(this._element,Ce),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=ut(ut({},Ae),t)).toggle=Boolean(t.toggle),Lt(Oe,t,De),t},e._getDimension=function(){return this._element.classList.contains(je)?je:"height"},e._getParent=function(){var t=this,e=this._config.parent;Et(e)?void 0===e.jquery&&void 0===e[0]||(e=e[0]):e=fe.findOne(e);var n=Pe+'[data-parent="'+e+'"]';return fe.find(n,e).forEach((function(e){var n=bt(e);t._addAriaAndCollapsedClass(n,[e])})),e},e._addAriaAndCollapsedClass=function(t,e){if(t){var n=t.classList.contains(Se);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=xt(e,Ce),o=ut(ut(ut({},Ae),ue.getDataAttributes(e)),"object"==typeof n&&n?n:{});if(!i&&o.toggle&&"string"==typeof n&&/show|hide/.test(n)&&(o.toggle=!1),i||(i=new t(e,o)),"string"==typeof n){if(void 0===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 xt(t,Ce)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"Default",get:function(){return Ae}}]),t}();Zt.on(document,"click.bs.collapse.data-api",Pe,(function(t){"A"===t.target.tagName&&t.preventDefault();var e=ue.getDataAttributes(this),n=_t(this);fe.find(n).forEach((function(t){var n,i=xt(t,Ce);i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,Me.collapseInterface(t,n)}))}));var He=Dt();if(He){var Be=He.fn[Oe];He.fn[Oe]=Me.jQueryInterface,He.fn[Oe].Constructor=Me,He.fn[Oe].noConflict=function(){return He.fn[Oe]=Be,Me.jQueryInterface}}var Re="dropdown",Fe="bs.dropdown",We=".bs.dropdown",Ue="Escape",Qe="Space",Ve="ArrowUp",qe="ArrowDown",Ye=new RegExp("ArrowUp|ArrowDown|Escape"),ze="hide.bs.dropdown",Ke="hidden.bs.dropdown",Xe="click.bs.dropdown.data-api",Ge="keydown.bs.dropdown.data-api",$e="disabled",Ze="show",Je="dropdown-menu-right",tn='[data-toggle="dropdown"]',en=".dropdown-menu",nn={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},on={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},rn=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners(),Nt(t,Fe,this)}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains($e)){var e=this._element.classList.contains(Ze);t.clearMenus(),e||this.show()}},e.show=function(){if(!(this._element.disabled||this._element.classList.contains($e)||this._menu.classList.contains(Ze))){var e=t.getParentFromElement(this._element),n={relatedTarget:this._element};if(!Zt.trigger(this._element,"show.bs.dropdown",n).defaultPrevented){if(!this._inNavbar){if(void 0===rt)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var i=this._element;"parent"===this._config.reference?i=e:Et(this._config.reference)&&(i=this._config.reference,void 0!==this._config.reference.jquery&&(i=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e.classList.add("position-static"),this._popper=new rt(i,this._menu,this._getPopperConfig())}var o;if("ontouchstart"in document.documentElement&&!e.closest(".navbar-nav"))(o=[]).concat.apply(o,document.body.children).forEach((function(t){return Zt.on(t,"mouseover",null,(function(){}))}));this._element.focus(),this._element.setAttribute("aria-expanded",!0),ue.toggleClass(this._menu,Ze),ue.toggleClass(this._element,Ze),Zt.trigger(e,"shown.bs.dropdown",n)}}},e.hide=function(){if(!this._element.disabled&&!this._element.classList.contains($e)&&this._menu.classList.contains(Ze)){var e=t.getParentFromElement(this._element),n={relatedTarget:this._element};Zt.trigger(e,ze,n).defaultPrevented||(this._popper&&this._popper.destroy(),ue.toggleClass(this._menu,Ze),ue.toggleClass(this._element,Ze),Zt.trigger(e,Ke,n))}},e.dispose=function(){It(this._element,Fe),Zt.off(this._element,We),this._element=null,this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;Zt.on(this._element,"click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=ut(ut(ut({},this.constructor.Default),ue.getDataAttributes(this._element)),t),Lt(Re,t,this.constructor.DefaultType),t},e._getMenuElement=function(){return fe.next(this._element,en)[0]},e._getPlacement=function(){var t=this._element.parentNode,e="bottom-start";return t.classList.contains("dropup")?(e="top-start",this._menu.classList.contains(Je)&&(e="top-end")):t.classList.contains("dropright")?e="right-start":t.classList.contains("dropleft")?e="left-start":this._menu.classList.contains(Je)&&(e="bottom-end"),e},e._detectNavbar=function(){return Boolean(this._element.closest(".navbar"))},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=ut(ut({},e.offsets),t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._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}),ut(ut({},t),this._config.popperConfig)},t.dropdownInterface=function(e,n){var i=xt(e,Fe);if(i||(i=new t(e,"object"==typeof n?n:null)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t.jQueryInterface=function(e){return this.each((function(){t.dropdownInterface(this,e)}))},t.clearMenus=function(e){if(!e||2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(var n=fe.find(tn),i=0,o=n.length;i<o;i++){var r=t.getParentFromElement(n[i]),s=xt(n[i],Fe),a={relatedTarget:n[i]};if(e&&"click"===e.type&&(a.clickEvent=e),s){var l=s._menu;if(n[i].classList.contains(Ze))if(!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&"Tab"===e.key)&&l.contains(e.target)))if(!Zt.trigger(r,ze,a).defaultPrevented){var c;if("ontouchstart"in document.documentElement)(c=[]).concat.apply(c,document.body.children).forEach((function(t){return Zt.off(t,"mouseover",null,(function(){}))}));n[i].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),l.classList.remove(Ze),n[i].classList.remove(Ze),Zt.trigger(r,Ke,a)}}}},t.getParentFromElement=function(t){return bt(t)||t.parentNode},t.dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?e.key===Qe||e.key!==Ue&&(e.key!==qe&&e.key!==Ve||e.target.closest(en)):!Ye.test(e.key))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!this.classList.contains($e))){var n=t.getParentFromElement(this),i=this.classList.contains(Ze);if(e.key===Ue)return(this.matches(tn)?this:fe.prev(this,tn)[0]).focus(),void t.clearMenus();if(i&&e.key!==Qe){var o=fe.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",n).filter(kt);if(o.length){var r=o.indexOf(e.target);e.key===Ve&&r>0&&r--,e.key===qe&&r<o.length-1&&r++,o[r=-1===r?0:r].focus()}}else t.clearMenus()}},t.getInstance=function(t){return xt(t,Fe)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"Default",get:function(){return nn}},{key:"DefaultType",get:function(){return on}}]),t}();Zt.on(document,Ge,tn,rn.dataApiKeydownHandler),Zt.on(document,Ge,en,rn.dataApiKeydownHandler),Zt.on(document,Xe,rn.clearMenus),Zt.on(document,"keyup.bs.dropdown.data-api",rn.clearMenus),Zt.on(document,Xe,tn,(function(t){t.preventDefault(),t.stopPropagation(),rn.dropdownInterface(this,"toggle")})),Zt.on(document,Xe,".dropdown form",(function(t){return t.stopPropagation()}));var sn=Dt();if(sn){var an=sn.fn[Re];sn.fn[Re]=rn.jQueryInterface,sn.fn[Re].Constructor=rn,sn.fn[Re].noConflict=function(){return sn.fn[Re]=an,rn.jQueryInterface}}var ln="modal",cn="bs.modal",un=".bs.modal",fn="Escape",hn={backdrop:!0,keyboard:!0,focus:!0,show:!0},dn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},pn="hidden.bs.modal",gn="show.bs.modal",mn="focusin.bs.modal",vn="resize.bs.modal",_n="click.dismiss.bs.modal",bn="keydown.dismiss.bs.modal",yn="mousedown.dismiss.bs.modal",wn="modal-open",En="fade",Tn="show",Ln="modal-static",kn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",On=".sticky-top",Cn=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=fe.findOne(".modal-dialog",t),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0,Nt(t,cn,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(En)&&(this._isTransitioning=!0);var n=Zt.trigger(this._element,gn,{relatedTarget:t});this._isShown||n.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),Zt.on(this._element,_n,'[data-dismiss="modal"]',(function(t){return e.hide(t)})),Zt.on(this._dialog,yn,(function(){Zt.one(e._element,"mouseup.dismiss.bs.modal",(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)&&!Zt.trigger(this._element,"hide.bs.modal").defaultPrevented){this._isShown=!1;var n=this._element.classList.contains(En);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),Zt.off(document,mn),this._element.classList.remove(Tn),Zt.off(this._element,_n),Zt.off(this._dialog,yn),n){var i=yt(this._element);Zt.one(this._element,gt,(function(t){return e._hideModal(t)})),Tt(this._element,i)}else this._hideModal()}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return Zt.off(t,un)})),Zt.off(document,mn),It(this._element,cn),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=ut(ut({},hn),t),Lt(ln,t,dn),t},e._showElement=function(t){var e=this,n=this._element.classList.contains(En),i=fe.findOne(".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._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),n&&At(this._element),this._element.classList.add(Tn),this._config.focus&&this._enforceFocus();var o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,Zt.trigger(e._element,"shown.bs.modal",{relatedTarget:t})};if(n){var r=yt(this._dialog);Zt.one(this._dialog,gt,o),Tt(this._dialog,r)}else o()},e._enforceFocus=function(){var t=this;Zt.off(document,mn),Zt.on(document,mn,(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?Zt.on(this._element,bn,(function(e){t._config.keyboard&&e.key===fn?(e.preventDefault(),t.hide()):t._config.keyboard||e.key!==fn||t._triggerBackdropTransition()})):Zt.off(this._element,bn)},e._setResizeEvent=function(){var t=this;this._isShown?Zt.on(window,vn,(function(){return t._adjustDialog()})):Zt.off(window,vn)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){document.body.classList.remove(wn),t._resetAdjustments(),t._resetScrollbar(),Zt.trigger(t._element,pn)}))},e._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},e._showBackdrop=function(t){var e=this,n=this._element.classList.contains(En)?En:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),document.body.appendChild(this._backdrop),Zt.on(this._element,_n,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e._triggerBackdropTransition()})),n&&At(this._backdrop),this._backdrop.classList.add(Tn),!n)return void t();var i=yt(this._backdrop);Zt.one(this._backdrop,gt,t),Tt(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove(Tn);var o=function(){e._removeBackdrop(),t()};if(this._element.classList.contains(En)){var r=yt(this._backdrop);Zt.one(this._backdrop,gt,o),Tt(this._backdrop,r)}else o()}else t()},e._triggerBackdropTransition=function(){var t=this;if("static"===this._config.backdrop){if(Zt.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;this._element.classList.add(Ln);var e=yt(this._element);Zt.one(this._element,gt,(function(){t._element.classList.remove(Ln)})),Tt(this._element,e),this._element.focus()}else this.hide()},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=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){fe.find(kn).forEach((function(e){var n=e.style.paddingRight,i=window.getComputedStyle(e)["padding-right"];ue.setDataAttribute(e,"padding-right",n),e.style.paddingRight=parseFloat(i)+t._scrollbarWidth+"px"})),fe.find(On).forEach((function(e){var n=e.style.marginRight,i=window.getComputedStyle(e)["margin-right"];ue.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"];ue.setDataAttribute(document.body,"padding-right",e),document.body.style.paddingRight=parseFloat(n)+this._scrollbarWidth+"px"}document.body.classList.add(wn)},e._resetScrollbar=function(){fe.find(kn).forEach((function(t){var e=ue.getDataAttribute(t,"padding-right");void 0!==e&&(ue.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)})),fe.find(".sticky-top").forEach((function(t){var e=ue.getDataAttribute(t,"margin-right");void 0!==e&&(ue.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)}));var t=ue.getDataAttribute(document.body,"padding-right");void 0===t?document.body.style.paddingRight="":(ue.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",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=xt(this,cn),o=ut(ut(ut({},hn),ue.getDataAttributes(this)),"object"==typeof e&&e?e:{});if(i||(i=new t(this,o)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e](n)}else o.show&&i.show(n)}))},t.getInstance=function(t){return xt(t,cn)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"Default",get:function(){return hn}}]),t}();Zt.on(document,"click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var e=this,n=bt(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),Zt.one(n,gn,(function(t){t.defaultPrevented||Zt.one(n,pn,(function(){kt(e)&&e.focus()}))}));var i=xt(n,cn);if(!i){var o=ut(ut({},ue.getDataAttributes(n)),ue.getDataAttributes(this));i=new Cn(n,o)}i.show(this)}));var An=Dt();if(An){var Dn=An.fn.modal;An.fn.modal=Cn.jQueryInterface,An.fn.modal.Constructor=Cn,An.fn.modal.noConflict=function(){return An.fn.modal=Dn,Cn.jQueryInterface}}var Sn=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Nn=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,xn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,In={"*":["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:[]};function jn(t,e,n){var i;if(!t.length)return t;if(n&&"function"==typeof n)return n(t);for(var o=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(e),s=(i=[]).concat.apply(i,o.body.querySelectorAll("*")),a=function(t,n){var i,o=s[t],a=o.nodeName.toLowerCase();if(-1===r.indexOf(a))return o.parentNode.removeChild(o),"continue";var l=(i=[]).concat.apply(i,o.attributes),c=[].concat(e["*"]||[],e[a]||[]);l.forEach((function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===Sn.indexOf(n)||Boolean(t.nodeValue.match(Nn)||t.nodeValue.match(xn));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})(t,c)||o.removeAttribute(t.nodeName)}))},l=0,c=s.length;l<c;l++)a(l);return o.body.innerHTML}var Pn="tooltip",Mn="bs.tooltip",Hn=".bs.tooltip",Bn=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Rn=["sanitize","whiteList","sanitizeFn"],Fn={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)"},Wn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Un={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:In,popperConfig:null},Qn={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"},Vn="fade",qn="show",Yn="show",zn="out",Kn="hover",Xn="focus",Gn=function(){function t(t,e){if(void 0===rt)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners(),Nt(t,this.constructor.DATA_KEY,this)}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=xt(t.target,e);n||(n=new this.constructor(t.target,this._getDelegateConfig()),Nt(t.target,e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(this.getTipElement().classList.contains(qn))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),It(this.element,this.constructor.DATA_KEY),Zt.off(this.element,this.constructor.EVENT_KEY),Zt.off(this.element.closest(".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},e.show=function(){var t=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var e=Zt.trigger(this.element,this.constructor.Event.SHOW),n=Ot(this.element),i=null===n?this.element.ownerDocument.documentElement.contains(this.element):n.contains(this.element);if(e.defaultPrevented||!i)return;var o=this.getTipElement(),r=mt(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&o.classList.add(Vn);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this._addAttachmentClass(a);var l,c=this._getContainer();if(Nt(o,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||c.appendChild(o),Zt.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new rt(this.element,o,this._getPopperConfig(a)),o.classList.add(qn),"ontouchstart"in document.documentElement)(l=[]).concat.apply(l,document.body.children).forEach((function(t){Zt.on(t,"mouseover",(function(){}))}));var u=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,Zt.trigger(t.element,t.constructor.Event.SHOWN),e===zn&&t._leave(null,t)};if(this.tip.classList.contains(Vn)){var f=yt(this.tip);Zt.one(this.tip,gt,u),Tt(this.tip,f)}else u()}},e.hide=function(){var t=this,e=this.getTipElement(),n=function(){t._hoverState!==Yn&&e.parentNode&&e.parentNode.removeChild(e),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),Zt.trigger(t.element,t.constructor.Event.HIDDEN),t._popper.destroy()};if(!Zt.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){var i;if(e.classList.remove(qn),"ontouchstart"in document.documentElement)(i=[]).concat.apply(i,document.body.children).forEach((function(t){return Zt.off(t,"mouseover",Ct)}));if(this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains(Vn)){var o=yt(e);Zt.one(e,gt,n),Tt(e,o)}else n();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.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},e.setContent=function(){var t=this.getTipElement();this.setElementContent(fe.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove(Vn,qn)},e.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&Et(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=jn(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)},e.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},e._getPopperConfig=function(t){var e=this;return ut(ut({},{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)},e._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+t)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=ut(ut({},e.offsets),t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:Et(this.config.container)?this.config.container:fe.findOne(this.config.container)},e._getAttachment=function(t){return Wn[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)Zt.on(t.element,t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var n=e===Kn?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===Kn?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;Zt.on(t.element,n,t.config.selector,(function(e){return t._enter(e)})),Zt.on(t.element,i,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},Zt.on(this.element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=ut(ut({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},e._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",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||xt(t.target,n))||(e=new this.constructor(t.target,this._getDelegateConfig()),Nt(t.target,n,e)),t&&(e._activeTrigger["focusin"===t.type?Xn:Kn]=!0),e.getTipElement().classList.contains(qn)||e._hoverState===Yn?e._hoverState=Yn:(clearTimeout(e._timeout),e._hoverState=Yn,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===Yn&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||xt(t.target,n))||(e=new this.constructor(t.target,this._getDelegateConfig()),Nt(t.target,n,e)),t&&(e._activeTrigger["focusout"===t.type?Xn:Kn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=zn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===zn&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=ue.getDataAttributes(this.element);return Object.keys(e).forEach((function(t){-1!==Rn.indexOf(t)&&delete e[t]})),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=ut(ut(ut({},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()),Lt(Pn,t,this.constructor.DefaultType),t.sanitize&&(t.template=jn(t.template,t.whiteList,t.sanitizeFn)),t},e._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},e._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Bn);null!==e&&e.length>0&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},e._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(Vn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t.jQueryInterface=function(e){return this.each((function(){var n=xt(this,Mn),i="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t.getInstance=function(t){return xt(t,Mn)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"Default",get:function(){return Un}},{key:"NAME",get:function(){return Pn}},{key:"DATA_KEY",get:function(){return Mn}},{key:"Event",get:function(){return Qn}},{key:"EVENT_KEY",get:function(){return Hn}},{key:"DefaultType",get:function(){return Fn}}]),t}(),$n=Dt();if($n){var Zn=$n.fn.tooltip;$n.fn.tooltip=Gn.jQueryInterface,$n.fn.tooltip.Constructor=Gn,$n.fn.tooltip.noConflict=function(){return $n.fn.tooltip=Zn,Gn.jQueryInterface}}var Jn="popover",ti="bs.popover",ei=".bs.popover",ni=new RegExp("(^|\\s)bs-popover\\S+","g"),ii=ut(ut({},Gn.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>'}),oi=ut(ut({},Gn.DefaultType),{},{content:"(string|element|function)"}),ri={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"},si=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.setContent=function(){var t=this.getTipElement();this.setElementContent(fe.findOne(".popover-header",t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(fe.findOne(".popover-body",t),e),t.classList.remove("fade","show")},o._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(ni);null!==e&&e.length>0&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},i.jQueryInterface=function(t){return this.each((function(){var e=xt(this,ti),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new i(this,n),Nt(this,ti,e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},i.getInstance=function(t){return xt(t,ti)},at(i,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"Default",get:function(){return ii}},{key:"NAME",get:function(){return Jn}},{key:"DATA_KEY",get:function(){return ti}},{key:"Event",get:function(){return ri}},{key:"EVENT_KEY",get:function(){return ei}},{key:"DefaultType",get:function(){return oi}}]),i}(Gn),ai=Dt();if(ai){var li=ai.fn.popover;ai.fn.popover=si.jQueryInterface,ai.fn.popover.Constructor=si,ai.fn.popover.noConflict=function(){return ai.fn.popover=li,si.jQueryInterface}}var ci="scrollspy",ui="bs.scrollspy",fi="."+ui,hi={offset:10,method:"auto",target:""},di={offset:"number",method:"string",target:"(string|element)"},pi="dropdown-item",gi="active",mi=".nav-link",vi="position",_i=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+" "+".nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" ."+pi,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,Zt.on(this._scrollElement,"scroll.bs.scrollspy",(function(t){return n._process(t)})),this.refresh(),this._process(),Nt(t,ui,this)}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":vi,n="auto"===this._config.method?e:this._config.method,i=n===vi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),fe.find(this._selector).map((function(t){var e,o=_t(t);if(o&&(e=fe.findOne(o)),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[ue[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(){It(this._element,ui),Zt.off(this._scrollElement,fi),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=ut(ut({},hi),"object"==typeof t&&t?t:{})).target&&Et(t.target)){var e=t.target.id;e||(e=mt(ci),t.target.id=e),t.target="#"+e}return Lt(ci,t,di),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]&&(void 0===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=fe.findOne(e.join(","));n.classList.contains(pi)?(fe.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(gi),n.classList.add(gi)):(n.classList.add(gi),fe.parents(n,".nav, .list-group").forEach((function(t){fe.prev(t,".nav-link, .list-group-item").forEach((function(t){return t.classList.add(gi)})),fe.prev(t,".nav-item").forEach((function(t){fe.children(t,mi).forEach((function(t){return t.classList.add(gi)}))}))}))),Zt.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){fe.find(this._selector).filter((function(t){return t.classList.contains(gi)})).forEach((function(t){return t.classList.remove(gi)}))},t.jQueryInterface=function(e){return this.each((function(){var n=xt(this,ui);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t.getInstance=function(t){return xt(t,ui)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"Default",get:function(){return hi}}]),t}();Zt.on(window,"load.bs.scrollspy.data-api",(function(){fe.find('[data-spy="scroll"]').forEach((function(t){return new _i(t,ue.getDataAttributes(t))}))}));var bi=Dt();if(bi){var yi=bi.fn[ci];bi.fn[ci]=_i.jQueryInterface,bi.fn[ci].Constructor=_i,bi.fn[ci].noConflict=function(){return bi.fn[ci]=yi,_i.jQueryInterface}}var wi="bs.tab",Ei="active",Ti="fade",Li="show",ki=".active",Oi=":scope > li > .active",Ci=function(){function t(t){this._element=t,Nt(this._element,wi,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(Ei)||this._element.classList.contains("disabled"))){var e,n=bt(this._element),i=this._element.closest(".nav, .list-group");if(i){var o="UL"===i.nodeName||"OL"===i.nodeName?Oi:ki;e=(e=fe.find(o,i))[e.length-1]}var r=null;if(e&&(r=Zt.trigger(e,"hide.bs.tab",{relatedTarget:this._element})),!(Zt.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)){this._activate(this._element,i);var s=function(){Zt.trigger(e,"hidden.bs.tab",{relatedTarget:t._element}),Zt.trigger(t._element,"shown.bs.tab",{relatedTarget:e})};n?this._activate(n,n.parentNode,s):s()}}},e.dispose=function(){It(this._element,wi),this._element=null},e._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?fe.children(e,ki):fe.find(Oi,e))[0],r=n&&o&&o.classList.contains(Ti),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=yt(o);o.classList.remove(Li),Zt.one(o,gt,s),Tt(o,a)}else s()},e._transitionComplete=function(t,e,n){if(e){e.classList.remove(Ei);var i=fe.findOne(":scope > .dropdown-menu .active",e.parentNode);i&&i.classList.remove(Ei),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}(t.classList.add(Ei),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),At(t),t.classList.contains(Ti)&&t.classList.add(Li),t.parentNode&&t.parentNode.classList.contains("dropdown-menu"))&&(t.closest(".dropdown")&&fe.find(".dropdown-toggle").forEach((function(t){return t.classList.add(Ei)})),t.setAttribute("aria-expanded",!0));n&&n()},t.jQueryInterface=function(e){return this.each((function(){var n=xt(this,wi)||new t(this);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t.getInstance=function(t){return xt(t,wi)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}}]),t}();Zt.on(document,"click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),(xt(this,wi)||new Ci(this)).show()}));var Ai=Dt();if(Ai){var Di=Ai.fn.tab;Ai.fn.tab=Ci.jQueryInterface,Ai.fn.tab.Constructor=Ci,Ai.fn.tab.noConflict=function(){return Ai.fn.tab=Di,Ci.jQueryInterface}}var Si="toast",Ni="bs.toast",xi="click.dismiss.bs.toast",Ii="hide",ji="show",Pi="showing",Mi={animation:"boolean",autohide:"boolean",delay:"number"},Hi={animation:!0,autohide:!0,delay:500},Bi=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners(),Nt(t,Ni,this)}var e=t.prototype;return e.show=function(){var t=this;if(!Zt.trigger(this._element,"show.bs.toast").defaultPrevented){this._config.animation&&this._element.classList.add("fade");var e=function(){t._element.classList.remove(Pi),t._element.classList.add(ji),Zt.trigger(t._element,"shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(Ii),At(this._element),this._element.classList.add(Pi),this._config.animation){var n=yt(this._element);Zt.one(this._element,gt,e),Tt(this._element,n)}else e()}},e.hide=function(){var t=this;if(this._element.classList.contains(ji)&&!Zt.trigger(this._element,"hide.bs.toast").defaultPrevented){var e=function(){t._element.classList.add(Ii),Zt.trigger(t._element,"hidden.bs.toast")};if(this._element.classList.remove(ji),this._config.animation){var n=yt(this._element);Zt.one(this._element,gt,e),Tt(this._element,n)}else e()}},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(ji)&&this._element.classList.remove(ji),Zt.off(this._element,xi),It(this._element,Ni),this._element=null,this._config=null},e._getConfig=function(t){return t=ut(ut(ut({},Hi),ue.getDataAttributes(this._element)),"object"==typeof t&&t?t:{}),Lt(Si,t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;Zt.on(this._element,xi,'[data-dismiss="toast"]',(function(){return t.hide()}))},t.jQueryInterface=function(e){return this.each((function(){var n=xt(this,Ni);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e](this)}}))},t.getInstance=function(t){return xt(t,Ni)},at(t,null,[{key:"VERSION",get:function(){return"5.0.0-alpha1"}},{key:"DefaultType",get:function(){return Mi}},{key:"Default",get:function(){return Hi}}]),t}(),Ri=Dt();if(Ri){var Fi=Ri.fn.toast;Ri.fn.toast=Bi.jQueryInterface,Ri.fn.toast.Constructor=Bi,Ri.fn.toast.noConflict=function(){return Ri.fn.toast=Fi,Bi.jQueryInterface}}}();