(function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.Popper=t()})(this,function(){"use strict";function ii(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}function ri(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},ti))}}function it(n){return n&&{}.toString.call(n)==="[object Function]"}function i(n,t){if(n.nodeType!==1)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function v(n){return n.nodeName==="HTML"?n:n.parentNode||n.host}function s(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=i(n),r=t.overflow,u=t.overflowX,f=t.overflowY;return/(auto|scroll|overlay)/.test(r+f+u)?n:s(v(n))}function rt(n){return n&&n.referenceNode?n.referenceNode:n}function r(n){return n===11?ut:n===10?ft:ut||ft}function u(n){var e,t,f;if(!n)return document.documentElement;for(e=r(10)?document.body:null,t=n.offsetParent||null;t===e&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return(f=t&&t.nodeName,!f||f==="BODY"||f==="HTML")?n?n.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(t.nodeName)!==-1&&i(t,"position")==="static"?u(t):t}function ei(n){var t=n.nodeName;return t==="BODY"?!1:t==="HTML"||u(n.firstElementChild)===n}function y(n){return n.parentNode!==null?y(n.parentNode):n}function c(n,t){var 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))?ei(i)?i:u(i):(f=y(n),f.host?c(f.host,t):c(n,y(t).host))}function f(n){var f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",t=f==="top"?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return i==="BODY"||i==="HTML"?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function oi(n,t){var e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,r=f(t,"top"),u=f(t,"left"),i=e?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function et(n,t){var i=t==="x"?"Left":"Top",r=i==="Left"?"Right":"Bottom";return parseFloat(n["border"+i+"Width"])+parseFloat(n["border"+r+"Width"])}function ot(n,t,i,u){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],r(10)?parseInt(i["offset"+n])+parseInt(u["margin"+(n==="Height"?"Top":"Left")])+parseInt(u["margin"+(n==="Height"?"Bottom":"Right")]):0)}function st(n){var i=n.body,t=n.documentElement,u=r(10)&&getComputedStyle(t);return{height:ot("Height",i,t,u),width:ot("Width",i,t,u)}}function t(t){return n({},t,{right:t.left+t.width,bottom:t.top+t.height})}function p(n){var u={},o,s,l;try{r(10)?(u=n.getBoundingClientRect(),o=f(n,"top"),s=f(n,"left"),u.top+=o,u.left+=s,u.bottom+=o,u.right+=s):u=n.getBoundingClientRect()}catch(p){}var e={left:u.left,top:u.top,width:u.right-u.left,height:u.bottom-u.top},a=n.nodeName==="HTML"?st(n.ownerDocument):{},v=a.width||n.clientWidth||e.width,y=a.height||n.clientHeight||e.height,h=n.offsetWidth-v,c=n.offsetHeight-y;return(h||c)&&(l=i(n),h-=et(l,"x"),c-=et(l,"y"),e.width-=h,e.height-=c),t(e)}function w(n,u){var w=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,b=r(10),k=u.nodeName==="HTML",o=p(n),e=p(u),a=s(n),h=i(u),v=parseFloat(h.borderTopWidth),y=parseFloat(h.borderLeftWidth),f,c,l;return w&&k&&(e.top=Math.max(e.top,0),e.left=Math.max(e.left,0)),f=t({top:o.top-e.top-v,left:o.left-e.left-y,width:o.width,height:o.height}),f.marginTop=0,f.marginLeft=0,!b&&k&&(c=parseFloat(h.marginTop),l=parseFloat(h.marginLeft),f.top-=v-c,f.bottom-=v-c,f.left-=y-l,f.right-=y-l,f.marginTop=c,f.marginLeft=l),(b&&!w?u.contains(a):u===a&&a.nodeName!=="BODY")&&(f=oi(f,u)),f}function ci(n){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,i=n.ownerDocument.documentElement,r=w(n,i),e=Math.max(i.clientWidth,window.innerWidth||0),o=Math.max(i.clientHeight,window.innerHeight||0),s=u?0:f(i),h=u?0:f(i,"left"),c={top:s-r.top+r.marginTop,left:h-r.left+r.marginLeft,width:e,height:o};return t(c)}function ht(n){var r=n.nodeName,t;return r==="BODY"||r==="HTML"?!1:i(n,"position")==="fixed"?!0:(t=v(n),!t)?!1:ht(t)}function ct(n){if(!n||!n.parentElement||r())return document.documentElement;for(var t=n.parentElement;t&&i(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function b(n,t,i,r){var h=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1,u={top:0,left:0},l=h?ct(n):c(n,rt(t)),e,f,o;if(r==="viewport")u=ci(l,h);else if(e=void 0,r==="scrollParent"?(e=s(v(t)),e.nodeName==="BODY"&&(e=n.ownerDocument.documentElement)):e=r==="window"?n.ownerDocument.documentElement:r,f=w(e,l,h),e.nodeName!=="HTML"||ht(l))u=f;else{var a=st(n.ownerDocument),y=a.height,p=a.width;u.top+=f.top-f.marginTop;u.bottom=y+f.top;u.left+=f.left-f.marginLeft;u.right=p+f.left}return i=i||0,o=typeof i=="number",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 li(n){var t=n.width,i=n.height;return t*i}function lt(t,i,r,u,f){var l=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var e=b(r,u,l,f),o={top:{width:e.width,height:i.top-e.top},right:{width:e.right-i.right,height:e.height},bottom:{width:e.width,height:e.bottom-i.bottom},left:{width:i.left-e.left,height:e.height}},s=Object.keys(o).map(function(t){return n({key:t},o[t],{area:li(o[t])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,i=n.height;return t>=r.clientWidth&&i>=r.clientHeight}),a=h.length>0?h[0].key:s[0].key,c=t.split("-")[1];return a+(c?"-"+c:"")}function at(n,t,i){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,u=r?ct(t):c(t,rt(i));return w(i,u,r)}function vt(n){var i=n.ownerDocument.defaultView,t=i.getComputedStyle(n),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),u=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+r}}function l(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 yt(n,t,i){i=i.split("-")[0];var r=vt(n),e={width:r.width,height:r.height},u=["right","left"].indexOf(i)!==-1,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[l(f)],e}function h(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function ai(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=h(n,function(n){return n[t]===i});return n.indexOf(r)}function pt(n,i,r){var u=r===undefined?n:n.slice(0,ai(n,"name",r));return u.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=n["function"]||n.fn;n.enabled&&it(r)&&(i.offsets.popper=t(i.offsets.popper),i.offsets.reference=t(i.offsets.reference),i=r(i,n))}),i}function vi(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};if(n.offsets.reference=at(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=lt(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=yt(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=pt(this.modifiers,n),this.state.isCreated)this.options.onUpdate(n);else{this.state.isCreated=!0;this.options.onCreate(n)}}}function wt(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function k(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,typeof document.body.style[r]!="undefined")return r;return null}function yi(){return this.state.isDestroyed=!0,wt(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[k("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function bt(n){var t=n.ownerDocument;return t?t.defaultView:window}function kt(n,t,i,r){var f=n.nodeName==="BODY",u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||kt(s(u.parentNode),t,i,r);r.push(u)}function pi(n,t,i,r){i.updateBound=r;bt(n).addEventListener("resize",i.updateBound,{passive:!0});var u=s(n);return kt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function wi(){this.state.eventsEnabled||(this.state=pi(this.reference,this.options,this.state,this.scheduleUpdate))}function bi(n,t){return bt(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function ki(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=bi(this.reference,this.state))}function d(n){return n!==""&&!isNaN(parseFloat(n))&&isFinite(n)}function g(n,t){Object.keys(t).forEach(function(i){var r="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&d(t[i])&&(r="px");n.style[i]=t[i]+r})}function di(n,t){Object.keys(t).forEach(function(i){var r=t[i];r!==!1?n.setAttribute(i,t[i]):n.removeAttribute(i)})}function gi(n){return g(n.instance.popper,n.styles),di(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&g(n.arrowElement,n.arrowStyles),n}function nr(n,t,i,r,u){var f=at(u,t,n,i.positionFixed),e=lt(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),g(t,{position:i.positionFixed?"fixed":"absolute"}),i}function tr(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=["left","right"].indexOf(n.placement)!==-1,s=n.placement.indexOf("-")!==-1,y=e%2==o%2,p=e%2==1&&o%2==1,h=t?v||s||y?r:a:f,c=t?r:f;return{left:h(p&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}function rr(t,i){var g=i.x,nt=i.y,tt=t.offsets.popper,c=h(t.instance.modifiers,function(n){return n.name==="applyStyle"}).gpuAcceleration,w,b,d;c!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var it=c!==undefined?c:i.gpuAcceleration,e=u(t.instance.popper),v=p(e),r={position:tt.position},f=tr(t,window.devicePixelRatio<2||!ir),o=g==="bottom"?"top":"bottom",s=nt==="right"?"left":"right",y=k("transform"),l=void 0,a=void 0;return a=o==="bottom"?e.nodeName==="HTML"?-e.clientHeight+f.bottom:-v.height+f.bottom:f.top,l=s==="right"?e.nodeName==="HTML"?-e.clientWidth+f.right:-v.width+f.right:f.left,it&&y?(r[y]="translate3d("+l+"px, "+a+"px, 0)",r[o]=0,r[s]=0,r.willChange="transform"):(w=o==="bottom"?-1:1,b=s==="right"?-1:1,r[o]=a*w,r[s]=l*b,r.willChange=o+", "+s),d={"x-placement":t.placement},t.attributes=n({},d,t.attributes),t.styles=n({},r,t.styles),t.arrowStyles=n({},t.offsets.arrow,t.arrowStyles),t}function dt(n,t,i){var u=h(n,function(n){var i=n.name;return i===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 ur(n,r){var c,f;if(!dt(n.instance.modifiers,"arrow","keepTogether"))return n;if(f=r.element,typeof f=="string"){if(f=n.instance.popper.querySelector(f),!f)return n}else if(!n.instance.popper.contains(f))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var k=n.placement.split("-")[0],w=n.offsets,h=w.popper,o=w.reference,l=["left","right"].indexOf(k)!==-1,v=l?"height":"width",y=l?"Top":"Left",u=y.toLowerCase(),d=l?"left":"top",a=l?"bottom":"right",s=vt(f)[v];o[a]-s<h[u]&&(n.offsets.popper[u]-=h[u]-(o[a]-s));o[u]+s>h[a]&&(n.offsets.popper[u]+=o[u]+s-h[a]);n.offsets.popper=t(n.offsets.popper);var g=o[u]+o[v]/2-s/2,b=i(n.instance.popper),nt=parseFloat(b["margin"+y]),tt=parseFloat(b["border"+y+"Width"]),p=g-n.offsets.popper[u]-nt-tt;return p=Math.max(Math.min(h[v]-s,p),0),n.arrowElement=f,n.offsets.arrow=(c={},e(c,u,Math.round(p)),e(c,d,""),c),n}function fr(n){return n==="end"?"start":n==="start"?"end":n}function ni(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=nt.indexOf(n),i=nt.slice(t+1).concat(nt.slice(0,t));return r?i.reverse():i}function er(t,i){if(wt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var e=b(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=l(r),u=t.placement.split("-")[1]||"",f=[];switch(i.behavior){case tt.FLIP:f=[r,o];break;case tt.CLOCKWISE:f=ni(r);break;case tt.COUNTERCLOCKWISE:f=ni(r,!0);break;default:f=i.behavior}return f.forEach(function(s,h){if(r!==s||f.length===h+1)return t;r=t.placement.split("-")[0];o=l(r);var a=t.offsets.popper,y=t.offsets.reference,c=Math.floor,d=r==="left"&&c(a.right)>c(y.left)||r==="right"&&c(a.left)<c(y.right)||r==="top"&&c(a.bottom)>c(y.top)||r==="bottom"&&c(a.top)<c(y.bottom),p=c(a.left)<c(e.left),w=c(a.right)>c(e.right),b=c(a.top)<c(e.top),k=c(a.bottom)>c(e.bottom),g=r==="left"&&p||r==="right"&&w||r==="top"&&b||r==="bottom"&&k,v=["top","bottom"].indexOf(r)!==-1,tt=!!i.flipVariations&&(v&&u==="start"&&p||v&&u==="end"&&w||!v&&u==="start"&&b||!v&&u==="end"&&k),it=!!i.flipVariationsByContent&&(v&&u==="start"&&w||v&&u==="end"&&p||!v&&u==="start"&&k||!v&&u==="end"&&b),nt=tt||it;(d||g||nt)&&(t.flipped=!0,(d||g)&&(r=f[h+1]),nt&&(u=fr(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,yt(t.instance.popper,t.offsets.reference,t.placement)),t=pt(t.instance.modifiers,t,"flip"))}),t}function or(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=["top","bottom"].indexOf(s)!==-1,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}function sr(n,i,r,u){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),e=+h[1],f=h[2],o,c,s;if(!e)return n;if(f.indexOf("%")===0){o=void 0;switch(f){case"%p":o=r;break;case"%":case"%r":default:o=u}return c=t(o),c[i]/100*e}return f==="vh"||f==="vw"?(s=void 0,s=f==="vh"?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),s/100*e):e}function hr(n,t,i,r){var s=[0,0],c=["right","left"].indexOf(r)!==-1,u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(h(u,function(n){return n.search(/,|\s/)!==-1})),o,e;return u[f]&&u[f].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=f!==-1?[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))]:[u],e=e.map(function(n,r){var f=(r===1?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return n[n.length-1]===""&&["+","-"].indexOf(t)!==-1?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return sr(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){d(i)&&(s[t]+=i*(n[r-1]==="-"?-1:1))})}),s}function cr(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=d(+f)?[+f,0]:hr(f,i,s,u),u==="left"?(i.top+=r[0],i.left-=r[1]):u==="right"?(i.top+=r[0],i.left+=r[1]):u==="top"?(i.left+=r[0],i.top-=r[1]):u==="bottom"&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}function lr(t,i){var s=i.boundariesElement||u(t.instance.popper),o;t.instance.reference===s&&(s=u(s));var h=k("transform"),f=t.instance.popper.style,c=f.top,l=f.left,a=f[h];f.top="";f.left="";f[h]="";o=b(t.instance.popper,t.instance.reference,i.padding,s,t.positionFixed);f.top=c;f.left=l;f[h]=a;i.boundaries=o;var v=i.priority,r=t.offsets.popper,y={primary:function(n){var t=r[n];return r[n]<o[n]&&!i.escapeWithReference&&(t=Math.max(r[n],o[n])),e({},n,t)},secondary:function(n){var t=n==="right"?"left":"top",u=r[t];return r[n]>o[n]&&!i.escapeWithReference&&(u=Math.min(r[t],o[n]-(n==="right"?r.width:r.height))),e({},t,u)}};return v.forEach(function(t){var i=["left","top"].indexOf(t)!==-1?"primary":"secondary";r=n({},r,y[i](t))}),t.offsets.popper=r,t}function ar(t){var u=t.placement,l=u.split("-")[0],f=u.split("-")[1];if(f){var o=t.offsets,r=o.reference,s=o.popper,h=["bottom","top"].indexOf(l)!==-1,i=h?"left":"top",c=h?"width":"height",a={start:e({},i,r[i]),end:e({},i,r[i]+r[c]-s[c])};t.offsets.popper=n({},s,a[f])}return t}function vr(n){if(!dt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=h(n.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(n.hide===!0)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(n.hide===!1)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}function yr(n){var u=n.placement,i=u.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=["left","right"].indexOf(i)!==-1,s=["top","left"].indexOf(i)===-1;return r[e?"left":"top"]=o[i]-(s?r[e?"width":"height"]:0),n.placement=l(u),n.offsets.popper=t(r),n}var o=typeof window!="undefined"&&typeof document!="undefined"&&typeof navigator!="undefined",ti=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(o&&navigator.userAgent.indexOf(t[n])>=0)return 1;return 0}(),ui=o&&window.Promise,fi=ui?ii:ri,ut=o&&!!(window.MSInputMethodContext&&document.documentMode),ft=o&&/MSIE 10/.test(navigator.userAgent),si=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},hi=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}}(),e=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},n=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},ir=o&&/Firefox/i.test(navigator.userAgent),gt=["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"],nt=gt.slice(3),tt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},pr={shift:{order:100,enabled:!0,fn:ar},offset:{order:200,enabled:!0,fn:cr,offset:0},preventOverflow:{order:300,enabled:!0,fn:lr,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:or},arrow:{order:500,enabled:!0,fn:ur,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:er,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:yr},hide:{order:800,enabled:!0,fn:vr},computeStyle:{order:850,enabled:!0,fn:rr,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:gi,onLoad:nr,gpuAcceleration:undefined}},wr={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:pr},a=function(){function t(i,r){var u=this,f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},e;si(this,t);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=fi(this.update.bind(this));this.options=n({},t.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=i&&i.jquery?i[0]:i;this.popper=r&&r.jquery?r[0]:r;this.options.modifiers={};Object.keys(n({},t.Defaults.modifiers,f.modifiers)).forEach(function(i){u.options.modifiers[i]=n({},t.Defaults.modifiers[i]||{},f.modifiers?f.modifiers[i]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(t){return n({name:t},u.options.modifiers[t])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){if(n.enabled&&it(n.onLoad))n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return hi(t,[{key:"update",value:function(){return vi.call(this)}},{key:"destroy",value:function(){return yi.call(this)}},{key:"enableEventListeners",value:function(){return wi.call(this)}},{key:"disableEventListeners",value:function(){return ki.call(this)}}]),t}();return a.Utils=(typeof window!="undefined"?window:global).PopperUtils,a.placements=gt,a.Defaults=wr,a}),function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery"),require("popper.js")):typeof define=="function"&&define.amd?define(["exports","jquery","popper.js"],t):(n=typeof globalThis!="undefined"?globalThis:n||self,t(n.bootstrap={},n.jQuery,n.Popper))}(this,function(n,t,i){"use strict";function uu(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 o(n,t,i){return t&&uu(n.prototype,t),i&&uu(n,i),n}function u(){return 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},u.apply(this,arguments)}function ie(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function fe(n){return n===null||typeof n=="undefined"?""+n:{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function ee(){return{bindType:ci,delegateType:ci,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):undefined}}}function oe(n){var u=this,i=!1;t(this).one(r.TRANSITION_END,function(){i=!0});return setTimeout(function(){i||r.triggerTransitionEnd(u)},n),this}function se(){t.fn.emulateTransitionEnd=oe;t.event.special[r.TRANSITION_END]=ee()}function ol(n,t){var r=n.nodeName.toLowerCase(),u,i,f;if(t.indexOf(r)!==-1)return ul.indexOf(r)!==-1?Boolean(n.nodeValue.match(fl)||n.nodeValue.match(el)):!0;for(u=t.filter(function(n){return n instanceof RegExp}),i=0,f=u.length;i<f;i++)if(r.match(u[i]))return!0;return!1}function sf(n,t,i){var r,e,o;if(n.length===0)return n;if(i&&typeof i=="function")return i(n);var s=new window.DOMParser,u=s.parseFromString(n,"text/html"),h=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),c=function(n){var i=f[n],e=i.nodeName.toLowerCase(),r,u;if(h.indexOf(i.nodeName.toLowerCase())===-1)return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[e]||[]);r.forEach(function(n){ol(n,u)||i.removeAttribute(n.nodeName)})};for(r=0,e=f.length;r<e;r++)o=c(r),o==="continue";return u.body.innerHTML}var r;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t;i=i&&Object.prototype.hasOwnProperty.call(i,"default")?i["default"]:i;var ci="transitionend",re=1e6,ue=1e3;r={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*re);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(r){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?0:(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*ue)},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(ci)},supportsTransitionEnd:function(){return Boolean(ci)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){for(var u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var e=i[u],f=t[u],o=f&&r.isElement(f)?"element":fe(f);if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+o+'" ')+('but expected type "'+e+'".'));}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?r.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if(typeof t=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split("."),i=9;if(n[0]<2&&n[1]<i||n[0]===1&&n[1]===i&&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");}};r.jQueryDetection();se();var ht="alert",he="4.5.2",li="bs.alert",hr="."+li,ce=t.fn[ht],le="close"+hr,ae="closed"+hr,ve="click"+hr+".data-api",ye="alert",pe="fade",we="show",nt=function(){function n(n){this._element=n}var i=n.prototype;return i.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},i.dispose=function(){t.removeData(this._element,li);this._element=null},i._getRootElement=function(n){var u=r.getSelectorFromElement(n),i=!1;return u&&(i=document.querySelector(u)),i||(i=t(n).closest("."+ye)[0]),i},i._triggerCloseEvent=function(n){var i=t.Event(le);return t(n).trigger(i),i},i._removeElement=function(n){var u=this,i;if(t(n).removeClass(we),!t(n).hasClass(pe)){this._destroyElement(n);return}i=r.getTransitionDurationFromElement(n);t(n).one(r.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(i)},i._destroyElement=function(n){t(n).detach().trigger(ae).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(li);r||(r=new n(this),u.data(li,r));i==="close"&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},o(n,null,[{key:"VERSION",get:function(){return he}}]),n}();t(document).on(ve,'[data-dismiss="alert"]',nt._handleDismiss(new nt));t.fn[ht]=nt._jQueryInterface;t.fn[ht].Constructor=nt;t.fn[ht].noConflict=function(){return t.fn[ht]=ce,nt._jQueryInterface};var ct="button",be="4.5.2",ai="bs.button",vi="."+ai,yi=".data-api",ke=t.fn[ct],l="active",de="btn",ge="focus",fu='[data-toggle^="button"]',no='[data-toggle="buttons"]',to='[data-toggle="button"]',io='[data-toggle="buttons"] .btn',cr='input:not([type="hidden"])',ro=".active",eu=".btn",uo="click"+vi+yi,fo="focus"+vi+yi+" "+("blur"+vi+yi),eo="load"+vi+yi,lt=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(no)[0],n,r;f&&(n=this._element.querySelector(cr),n&&(n.type==="radio"&&(n.checked&&this._element.classList.contains(l)?i=!1:(r=f.querySelector(ro),r&&t(r).removeClass(l))),i&&((n.type==="checkbox"||n.type==="radio")&&(n.checked=!this._element.classList.contains(l)),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(l)),i&&t(this._element).toggleClass(l))},i.dispose=function(){t.removeData(this._element,ai);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ai);r||(r=new n(this),t(this).data(ai,r));i==="toggle"&&r[i]()})},o(n,null,[{key:"VERSION",get:function(){return be}}]),n}();t(document).on(uo,fu,function(n){var i=n.target,u=i,r;if(t(i).hasClass(de)||(i=t(i).closest(eu)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(cr),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled"))){n.preventDefault();return}(u.tagName!=="LABEL"||r&&r.type!=="checkbox")&&lt._jQueryInterface.call(t(i),"toggle")}}).on(fo,fu,function(n){var i=t(n.target).closest(eu)[0];t(i).toggleClass(ge,/^focus(in)?$/.test(n.type))});t(window).on(eo,function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll(io)),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector(cr),f.checked||f.hasAttribute("checked")?t.classList.add(l):t.classList.remove(l);for(n=[].slice.call(document.querySelectorAll(to)),i=0,e=n.length;i<e;i++)r=n[i],r.getAttribute("aria-pressed")==="true"?r.classList.add(l):r.classList.remove(l)});t.fn[ct]=lt._jQueryInterface;t.fn[ct].Constructor=lt;t.fn[ct].noConflict=function(){return t.fn[ct]=ke,lt._jQueryInterface};var tt="carousel",oo="4.5.2",at="bs.carousel",f="."+at,ou=".data-api",so=t.fn[tt],ho=37,co=39,lo=500,ao=40,lr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},vo={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},pi="next",wi="prev",yo="left",po="right",wo="slide"+f,su="slid"+f,bo="keydown"+f,ko="mouseenter"+f,go="mouseleave"+f,ns="touchstart"+f,ts="touchmove"+f,is="touchend"+f,rs="pointerdown"+f,us="pointerup"+f,fs="dragstart"+f,es="load"+f+ou,os="click"+f+ou,ss="carousel",y="active",hs="slide",cs="carousel-item-right",ls="carousel-item-left",as="carousel-item-next",vs="carousel-item-prev",ys="pointer-event",ps=".active",ar=".active.carousel-item",ws=".carousel-item",bs=".carousel-item img",ks=".carousel-item-next, .carousel-item-prev",ds=".carousel-indicators",gs='[data-ride="carousel"]',hu={TOUCH:"touch",PEN:"pen"},it=function(){function i(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(ds);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=i.prototype;return n.next=function(){this._isSliding||this._slide(pi)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},n.prev=function(){this._isSliding||this._slide(wi)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(ks)&&(r.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(ar),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){t(this._element).one(su,function(){return u.to(n)});return}if(i===n){this.pause();this.cycle();return}r=n>i?pi:wi;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(f);t.removeData(this._element,at);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=u({},lr,n),r.typeCheckConfig(tt,n,vo),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=ao||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;if(this._config.keyboard)t(this._element).on(bo,function(t){return n._keydown(t)});if(this._config.pause==="hover")t(this._element).on(ko,function(t){return n.pause(t)}).on(go,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var i=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},u=function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX},r=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},lo+n._config.interval))};t(this._element.querySelectorAll(bs)).on(fs,function(n){return n.preventDefault()});if(this._pointerEvent){t(this._element).on(rs,function(n){return i(n)});t(this._element).on(us,function(n){return r(n)});this._element.classList.add(ys)}else{t(this._element).on(ns,function(n){return i(n)});t(this._element).on(ts,function(n){return u(n)});t(this._element).on(is,function(n){return r(n)})}}},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case ho:n.preventDefault();this.prev();break;case co:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(ws)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var f=n===pi,e=n===wi,i=this._getItemIndex(t),o=this._items.length-1,s=e&&i===0||f&&i===o,u,r;return s&&!this._config.wrap?t:(u=n===wi?-1:1,r=(i+u)%this._items.length,r===-1?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(ar)),r=t.Event(wo,{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(ps)),t(r).removeClass(y),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(y))},n._slide=function(n,i){var l=this,f=this._element.querySelector(ar),w=this._getItemIndex(f),u=i||f&&this._getItemByDirection(n,f),b=this._getItemIndex(u),a=Boolean(this._interval),e,o,s,v,h,c,p;if(n===pi?(e=ls,o=as,s=yo):(e=cs,o=vs,s=po),u&&t(u).hasClass(y)){this._isSliding=!1;return}(v=this._triggerSlideEvent(u,s),v.isDefaultPrevented())||f&&u&&(this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(u),h=t.Event(su,{relatedTarget:u,direction:s,from:w,to:b}),t(this._element).hasClass(hs)?(t(u).addClass(o),r.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,p=r.getTransitionDurationFromElement(f),t(f).one(r.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(y);t(f).removeClass(y+" "+o+" "+e);l._isSliding=!1;setTimeout(function(){return t(l._element).trigger(h)},0)}).emulateTransitionEnd(p)):(t(f).removeClass(y),t(u).addClass(y),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle())},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(at),f=u({},lr,t(this).data()),e;if(typeof n=="object"&&(f=u({},f,n)),e=typeof n=="string"?n:f.slide,r||(r=new i(this,f),t(this).data(at,r)),typeof n=="number")r.to(n);else if(typeof e=="string"){if(typeof r[e]=="undefined")throw new TypeError('No method named "'+e+'"');r[e]()}else f.interval&&f.ride&&(r.pause(),r.cycle())})},i._dataApiClickHandler=function(n){var s=r.getSelectorFromElement(this),f,o,e;s&&(f=t(s)[0],f&&t(f).hasClass(ss))&&(o=u({},t(f).data(),t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),i._jQueryInterface.call(t(f),o),e&&t(f).data(at).to(e),n.preventDefault())},o(i,null,[{key:"VERSION",get:function(){return oo}},{key:"Default",get:function(){return lr}}]),i}();t(document).on(os,"[data-slide], [data-slide-to]",it._dataApiClickHandler);t(window).on(es,function(){for(var i,r=[].slice.call(document.querySelectorAll(gs)),n=0,u=r.length;n<u;n++)i=t(r[n]),it._jQueryInterface.call(i,i.data())});t.fn[tt]=it._jQueryInterface;t.fn[tt].Constructor=it;t.fn[tt].noConflict=function(){return t.fn[tt]=so,it._jQueryInterface};var rt="collapse",nh="4.5.2",p="bs.collapse",vt="."+p,th=t.fn[rt],vr={toggle:!0,parent:""},ih={toggle:"boolean",parent:"(string|element)"},rh="show"+vt,uh="shown"+vt,fh="hide"+vt,eh="hidden"+vt,oh="click"+vt+".data-api",w="show",yt="collapse",bi="collapsing",yr="collapsed",cu="width",sh="height",hh=".show, .collapsing",lu='[data-toggle="collapse"]',pt=function(){function i(n,t){var u,i,e;for(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+'"]'))),u=[].slice.call(document.querySelectorAll(lu)),i=0,e=u.length;i<e;i++){var o=u[i],f=r.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(f)).filter(function(t){return t===n});f!==null&&s.length>0&&(this._selector=f,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=i.prototype;return n.toggle=function(){t(this._element).hasClass(w)?this.hide():this.show()},n.show=function(){var u=this,n,e,o,f;if(!this._isTransitioning&&!t(this._element).hasClass(w)&&(this._parent&&(n=[].slice.call(this._parent.querySelectorAll(hh)).filter(function(n){return typeof u._config.parent=="string"?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(yt)}),n.length===0&&(n=null)),!n||(e=t(n).not(this._selector).data(p),!e||!e._isTransitioning))&&(o=t.Event(rh),t(this._element).trigger(o),!o.isDefaultPrevented())){n&&(i._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(p,null));f=this._getDimension();t(this._element).removeClass(yt).addClass(bi);this._element.style[f]=0;this._triggerArray.length&&t(this._triggerArray).removeClass(yr).attr("aria-expanded",!0);this.setTransitioning(!0);var s=function(){t(u._element).removeClass(bi).addClass(yt+" "+w);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(uh)},h=f[0].toUpperCase()+f.slice(1),c="scroll"+h,l=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,s).emulateTransitionEnd(l);this._element.style[f]=this._element[c]+"px"}},n.hide=function(){var s=this,u,n,f,i,e,o,h,c,l;if(!this._isTransitioning&&t(this._element).hasClass(w)&&(u=t.Event(fh),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",r.reflow(this._element),t(this._element).addClass(bi).removeClass(yt+" "+w),f=this._triggerArray.length,f>0)for(i=0;i<f;i++)e=this._triggerArray[i],o=r.getSelectorFromElement(e),o!==null&&(h=t([].slice.call(document.querySelectorAll(o))),h.hasClass(w)||t(e).addClass(yr).attr("aria-expanded",!1));this.setTransitioning(!0);c=function(){s.setTransitioning(!1);t(s._element).removeClass(bi).addClass(yt).trigger(eh)};this._element.style[n]="";l=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,c).emulateTransitionEnd(l)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,p);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return n=u({},vr,n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(rt,n,ih),n},n._getDimension=function(){var n=t(this._element).hasClass(cu);return n?cu:sh},n._getParent=function(){var e=this,n,u,f;return r.isElement(this._config.parent)?(n=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(i._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(w);i.length&&t(i).toggleClass(yr,!r).attr("aria-expanded",r)},i._getTargetFromElement=function(n){var t=r.getSelectorFromElement(n);return t?document.querySelector(t):null},i._jQueryInterface=function(n){return this.each(function(){var f=t(this),r=f.data(p),e=u({},vr,f.data(),typeof n=="object"&&n?n:{});if(!r&&e.toggle&&typeof n=="string"&&/show|hide/.test(n)&&(e.toggle=!1),r||(r=new i(this,e),f.data(p,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return nh}},{key:"Default",get:function(){return vr}}]),i}();t(document).on(oh,lu,function(n){n.currentTarget.tagName==="A"&&n.preventDefault();var i=t(this),u=r.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),r=n.data(p),u=r?"toggle":i.data();pt._jQueryInterface.call(n,u)})});t.fn[rt]=pt._jQueryInterface;t.fn[rt].Constructor=pt;t.fn[rt].noConflict=function(){return t.fn[rt]=th,pt._jQueryInterface};var ut="dropdown",ch="4.5.2",wt="bs.dropdown",a="."+wt,pr=".data-api",lh=t.fn[ut],bt=27,au=32,vu=9,wr=38,br=40,ah=3,vh=new RegExp(wr+"|"+br+"|"+bt),yu="hide"+a,pu="hidden"+a,yh="show"+a,ph="shown"+a,wh="click"+a,kr="click"+a+pr,wu="keydown"+a+pr,bh="keyup"+a+pr,ki="disabled",s="show",kh="dropup",dh="dropright",gh="dropleft",bu="dropdown-menu-right",nc="position-static",di='[data-toggle="dropdown"]',dr=".dropdown-menu",tc=".navbar-nav",ic=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",rc="top-start",uc="top-end",fc="bottom-start",ec="bottom-end",oc="right-start",sc="left-start",hc={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},cc={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},v=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 f=n.prototype;return f.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(ki)){var i=t(this._menu).hasClass(s);(n._clearMenus(),i)||this.show(!0)}},f.show=function(u){var e;if(u===void 0&&(u=!1),!this._element.disabled&&!t(this._element).hasClass(ki)&&!t(this._menu).hasClass(s)){var o={relatedTarget:this._element},h=t.Event(yh,o),f=n._getParentFromElement(this._element);if(t(f).trigger(h),!h.isDefaultPrevented()){if(!this._inNavbar&&u){if(typeof i=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");e=this._element;this._config.reference==="parent"?e=f:r.isElement(this._config.reference)&&(e=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(e=this._config.reference[0]));this._config.boundary!=="scrollParent"&&t(f).addClass(nc);this._popper=new i(e,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&t(f).closest(tc).length===0)t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(s);t(f).toggleClass(s).trigger(t.Event(ph,o))}}},f.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(ki)&&t(this._menu).hasClass(s)){var i={relatedTarget:this._element},r=t.Event(yu,i),u=n._getParentFromElement(this._element);(t(u).trigger(r),r.isDefaultPrevented())||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(s),t(u).toggleClass(s).trigger(t.Event(pu,i)))}},f.dispose=function(){t.removeData(this._element,wt);t(this._element).off(a);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},f.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},f._addEventListeners=function(){var n=this;t(this._element).on(wh,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},f._getConfig=function(n){return n=u({},this.constructor.Default,t(this._element).data(),n),r.typeCheckConfig(ut,n,this.constructor.DefaultType),n},f._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(dr))}return this._menu},f._getPlacement=function(){var i=t(this._element.parentNode),n=fc;return i.hasClass(kh)?n=t(this._menu).hasClass(bu)?uc:rc:i.hasClass(dh)?n=oc:i.hasClass(gh)?n=sc:t(this._menu).hasClass(bu)&&(n=ec),n},f._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},f._getOffset=function(){var t=this,n={};return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=u({},n.offsets,t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},f._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(n.modifiers.applyStyle={enabled:!1}),u({},n,this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(wt),u=typeof i=="object"?i:null;if(r||(r=new n(this,u),t(this).data(wt,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var u,r,c,l,h;if(!i||i.which!==ah&&(i.type!=="keyup"||i.which===vu))for(u=[].slice.call(document.querySelectorAll(di)),r=0,c=u.length;r<c;r++){var f=n._getParentFromElement(u[r]),e=t(u[r]).data(wt),o={relatedTarget:u[r]};(i&&i.type==="click"&&(o.clickEvent=i),e)&&(l=e._menu,t(f).hasClass(s))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===vu)&&t.contains(f,i.target)||(h=t.Event(yu,o),t(f).trigger(h),h.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(l).removeClass(s),t(f).removeClass(s).trigger(t.Event(pu,o))))}},n._getParentFromElement=function(n){var t,i=r.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var f,e,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==au&&(i.which===bt||(i.which===br||i.which===wr)&&!t(i.target).closest(dr).length):vh.test(i.which))&&!this.disabled&&!t(this).hasClass(ki)&&(f=n._getParentFromElement(this),e=t(f).hasClass(s),e||i.which!==bt)){if(i.preventDefault(),i.stopPropagation(),!e||e&&(i.which===bt||i.which===au)){i.which===bt&&t(f.querySelector(di)).trigger("focus");t(this).trigger("click");return}(u=[].slice.call(f.querySelectorAll(ic)).filter(function(n){return t(n).is(":visible")}),u.length!==0)&&(r=u.indexOf(i.target),i.which===wr&&r>0&&r--,i.which===br&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},o(n,null,[{key:"VERSION",get:function(){return ch}},{key:"Default",get:function(){return hc}},{key:"DefaultType",get:function(){return cc}}]),n}();t(document).on(wu,di,v._dataApiKeydownHandler).on(wu,dr,v._dataApiKeydownHandler).on(kr+" "+bh,v._clearMenus).on(kr,di,function(n){n.preventDefault();n.stopPropagation();v._jQueryInterface.call(t(this),"toggle")}).on(kr,".dropdown form",function(n){n.stopPropagation()});t.fn[ut]=v._jQueryInterface;t.fn[ut].Constructor=v;t.fn[ut].noConflict=function(){return t.fn[ut]=lh,v._jQueryInterface};var ft="modal",lc="4.5.2",kt="bs.modal",e="."+kt,ac=t.fn[ft],ku=27,gr={backdrop:!0,keyboard:!0,focus:!0,show:!0},vc={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},yc="hide"+e,pc="hidePrevented"+e,du="hidden"+e,gu="show"+e,wc="shown"+e,gi="focusin"+e,nf="resize"+e,nu="click.dismiss"+e,tf="keydown.dismiss"+e,bc="mouseup.dismiss"+e,rf="mousedown.dismiss"+e,kc="click"+e+".data-api",dc="modal-dialog-scrollable",gc="modal-scrollbar-measure",nl="modal-backdrop",uf="modal-open",et="fade",nr="show",ff="modal-static",tl=".modal-dialog",il=".modal-body",rl='[data-dismiss="modal"]',ef=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",of=".sticky-top",dt=function(){function i(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(tl);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=i.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;if(!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(et)&&(this._isTransitioning=!0),r=t.Event(gu,{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(nu,rl,function(n){return i.hide(n)});t(this._dialog).on(rf,function(){t(i._element).one(bc,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,i,u,f;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(i=t.Event(yc),t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented())&&(this._isShown=!1,u=t(this._element).hasClass(et),u&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(gi),t(this._element).removeClass(nr),t(this._element).off(nu),t(this._dialog).off(rf),u?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.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(e)});t(document).off(gi);t.removeData(this._element,kt);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=u({},gr,n),r.typeCheckConfig(ft,n,vc),n},n._triggerBackdropTransition=function(){var n=this,i,u,f;if(this._config.backdrop==="static"){if(i=t.Event(pc),t(this._element).trigger(i),i.defaultPrevented)return;u=this._element.scrollHeight>document.documentElement.clientHeight;u||(this._element.style.overflowY="hidden");this._element.classList.add(ff);f=r.getTransitionDurationFromElement(this._dialog);t(this._element).off(r.TRANSITION_END);t(this._element).one(r.TRANSITION_END,function(){n._element.classList.remove(ff);u||t(n._element).one(r.TRANSITION_END,function(){n._element.style.overflowY=""}).emulateTransitionEnd(n._element,f)}).emulateTransitionEnd(f);this._element.focus()}else this.hide()},n._showElement=function(n){var i=this,f=t(this._element).hasClass(et),e=this._dialog?this._dialog.querySelector(il):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);this._element.setAttribute("role","dialog");t(this._dialog).hasClass(dc)&&e?e.scrollTop=0:this._element.scrollTop=0;f&&r.reflow(this._element);t(this._element).addClass(nr);this._config.focus&&this._enforceFocus();o=t.Event(wc,{relatedTarget:n});u=function(){i._config.focus&&i._element.focus();i._isTransitioning=!1;t(i._element).trigger(o)};f?(s=r.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(r.TRANSITION_END,u).emulateTransitionEnd(s)):u()},n._enforceFocus=function(){var n=this;t(document).off(gi).on(gi,function(i){document!==i.target&&n._element!==i.target&&t(n._element).has(i.target).length===0&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;if(this._isShown)t(this._element).on(tf,function(t){n._config.keyboard&&t.which===ku?(t.preventDefault(),n.hide()):n._config.keyboard||t.which!==ku||n._triggerBackdropTransition()});else this._isShown||t(this._element).off(tf)},n._setResizeEvent=function(){var n=this;if(this._isShown)t(window).on(nf,function(t){return n.handleUpdate(t)});else t(window).off(nf)},n._hideModal=function(){var n=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(){t(document.body).removeClass(uf);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(du)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var i=this,u=t(this._element).hasClass(et)?et:"",e,f,o;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=nl;u&&this._backdrop.classList.add(u);t(this._backdrop).appendTo(document.body);t(this._element).on(nu,function(n){if(i._ignoreBackdropClick){i._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&i._triggerBackdropTransition()});if(u&&r.reflow(this._backdrop),t(this._backdrop).addClass(nr),!n)return;if(!u){n();return}e=r.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(r.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(nr),f=function(){i._removeBackdrop();n&&n()},t(this._element).hasClass(et)?(o=r.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(r.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(ef)),r=[].slice.call(document.querySelectorAll(of)),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(uf)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(ef)),i,n;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+of));t(i).each(function(n,i){var r=t(i).data("margin-right");typeof r!="undefined"&&t(i).css("margin-right",r).removeData("margin-right")});n=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=gc,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},i._jQueryInterface=function(n,r){return this.each(function(){var f=t(this).data(kt),e=u({},gr,t(this).data(),typeof n=="object"&&n?n:{});if(f||(f=new i(this,e),t(this).data(kt,f)),typeof n=="string"){if(typeof f[n]=="undefined")throw new TypeError('No method named "'+n+'"');f[n](r)}else e.show&&f.show(r)})},o(i,null,[{key:"VERSION",get:function(){return lc}},{key:"Default",get:function(){return gr}}]),i}();t(document).on(kc,'[data-toggle="modal"]',function(n){var f=this,i,e=r.getSelectorFromElement(this),o,s;e&&(i=document.querySelector(e));o=t(i).data(kt)?"toggle":u({},t(i).data(),t(this).data());(this.tagName==="A"||this.tagName==="AREA")&&n.preventDefault();s=t(i).one(gu,function(n){if(!n.isDefaultPrevented())s.one(du,function(){t(f).is(":visible")&&f.focus()})});dt._jQueryInterface.call(t(i),o,this)});t.fn[ft]=dt._jQueryInterface;t.fn[ft].Constructor=dt;t.fn[ft].noConflict=function(){return t.fn[ft]=ac,dt._jQueryInterface};var ul=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],fl=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,el=/^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 b="tooltip",sl="4.5.2",tr="bs.tooltip",h="."+tr,hl=t.fn[b],hf="bs-tooltip",cl=new RegExp("(^|\\s)"+hf+"\\S+","g"),ll=["sanitize","whiteList","sanitizeFn"],al={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)"},vl={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},yl={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},gt="show",tu="out",pl={HIDE:"hide"+h,HIDDEN:"hidden"+h,SHOW:"show"+h,SHOWN:"shown"+h,INSERTED:"inserted"+h,CLICK:"click"+h,FOCUSIN:"focusin"+h,FOCUSOUT:"focusout"+h,MOUSEENTER:"mouseenter"+h,MOUSELEAVE:"mouseleave"+h},ni="fade",ti="show",wl=".tooltip-inner",bl=".arrow",ii="hover",iu="focus",kl="click",dl="manual",k=function(){function f(n,t){if(typeof i=="undefined")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=f.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(ti)){this._leave(null,this);return}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,f,e,c,u,o,l,s,a,h,v;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(f=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(f),e=r.findShadowRoot(this.element),c=t.contains(e!==null?e:this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!c)return;if(u=this.getTipElement(),o=r.getUID(this.constructor.NAME),u.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&t(u).addClass(ni),l=typeof this.config.placement=="function"?this.config.placement.call(this,u,this.element):this.config.placement,s=this._getAttachment(l),this.addAttachmentClass(s),a=this._getContainer(),t(u).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(u).appendTo(a),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i(this.element,u,this._getPopperConfig(s)),t(u).addClass(ti),"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);i===tu&&n._leave(null,n)};t(this.tip).hasClass(ni)?(v=r.getTransitionDurationFromElement(this.tip),t(this.tip).one(r.TRANSITION_END,h).emulateTransitionEnd(v)):h()}},n.hide=function(n){var i=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){i._hoverState!==gt&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");t(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||(t(u).removeClass(ti),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[kl]=!1,this._activeTrigger[iu]=!1,this._activeTrigger[ii]=!1,t(this.tip).hasClass(ni)?(o=r.getTransitionDurationFromElement(u),t(u).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(hf+"-"+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(wl)),this.getTitle());t(n).removeClass(ni+" "+ti)},n.setElementContent=function(n,i){if(typeof i=="object"&&(i.nodeType||i.jquery)){this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text());return}this.config.html?(this.config.sanitize&&(i=sf(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this,i={placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:bl},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}};return u({},i,this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return typeof this.config.offset=="function"?n.fn=function(n){return n.offsets=u({},n.offsets,t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return this.config.container===!1?document.body:r.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return vl[n.toUpperCase()]},n._setListeners=function(){var n=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==dl){var r=i===ii?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===ii?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=u({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(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;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusin"?iu:ii]=!0),t(i.getTipElement()).hasClass(ti)||i._hoverState===gt){i._hoverState=gt;return}if(clearTimeout(i._timeout),i._hoverState=gt,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===gt&&i.show()},i.config.delay.show)},n._leave=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusout"?iu:ii]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=tu,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===tu&&i.hide()},i.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var i=t(this.element).data();return Object.keys(i).forEach(function(n){ll.indexOf(n)!==-1&&delete i[n]}),n=u({},this.constructor.Default,i,typeof n=="object"&&n?n:{}),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),r.typeCheckConfig(b,n,this.constructor.DefaultType),n.sanitize&&(n.template=sf(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(cl);n!==null&&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;n.getAttribute("x-placement")===null&&(t(n).removeClass(ni),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},f._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(tr),r=typeof n=="object"&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new f(this,r),t(this).data(tr,i)),typeof n=="string")){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},o(f,null,[{key:"VERSION",get:function(){return sl}},{key:"Default",get:function(){return yl}},{key:"NAME",get:function(){return b}},{key:"DATA_KEY",get:function(){return tr}},{key:"Event",get:function(){return pl}},{key:"EVENT_KEY",get:function(){return h}},{key:"DefaultType",get:function(){return al}}]),f}();t.fn[b]=k._jQueryInterface;t.fn[b].Constructor=k;t.fn[b].noConflict=function(){return t.fn[b]=hl,k._jQueryInterface};var ot="popover",gl="4.5.2",ir="bs.popover",c="."+ir,na=t.fn[ot],cf="bs-popover",ta=new RegExp("(^|\\s)"+cf+"\\S+","g"),ia=u({},k.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>'}),ra=u({},k.DefaultType,{content:"(string|element|function)"}),ua="fade",fa="show",ea=".popover-header",oa=".popover-body",sa={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},rr=function(n){function i(){return n.apply(this,arguments)||this}ie(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(cf+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(ea),this.getTitle());n=this._getContent();typeof n=="function"&&(n=n.call(this.element));this.setElementContent(i.find(oa),n);i.removeClass(ua+" "+fa)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(ta);n!==null&&n.length>0&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(ir),u=typeof n=="object"?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(ir,r)),typeof n=="string")){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return gl}},{key:"Default",get:function(){return ia}},{key:"NAME",get:function(){return ot}},{key:"DATA_KEY",get:function(){return ir}},{key:"Event",get:function(){return sa}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return ra}}]),i}(k);t.fn[ot]=rr._jQueryInterface;t.fn[ot].Constructor=rr;t.fn[ot].noConflict=function(){return t.fn[ot]=na,rr._jQueryInterface};var d="scrollspy",ha="4.5.2",ur="bs.scrollspy",fr="."+ur,ca=t.fn[d],lf={offset:10,method:"auto",target:""},la={offset:"number",method:"string",target:"(string|element)"},aa="activate"+fr,va="scroll"+fr,ya="load"+fr+".data-api",pa="dropdown-item",g="active",wa='[data-spy="scroll"]',af=".nav, .list-group",ru=".nav-link",ba=".nav-item",vf=".list-group-item",ka=".dropdown",da=".dropdown-item",ga=".dropdown-toggle",nv="offset",yf="position",ri=function(){function i(n,i){var r=this;this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+ru+","+(this._config.target+" "+vf+",")+(this._config.target+" "+da);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(va,function(n){return r._process(n)});this.refresh();this._process()}var n=i.prototype;return n.refresh=function(){var n=this,f=this._scrollElement===this._scrollElement.window?nv:yf,i=this._config.method==="auto"?f:this._config.method,e=i===yf?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(n){var u,f=r.getSelectorFromElement(n),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[t(u)[i]().top+e,f]: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,ur);t(this._scrollElement).off(fr);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(n=u({},lf,typeof n=="object"&&n?n:{}),typeof n.target!="string"&&r.isElement(n.target)){var i=t(n.target).attr("id");i||(i=r.getUID(d),t(n.target).attr("id",i));n.target="#"+i}return r.typeCheckConfig(d,n,la),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(),f=this._config.offset+r-this._getOffsetHeight(),i,n,u;if(this._scrollHeight!==r&&this.refresh(),t>=f){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(n=this._offsets.length;n--;)u=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),u&&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(pa)?(i.closest(ka).find(ga).addClass(g),i.addClass(g)):(i.addClass(g),i.parents(af).prev(ru+", "+vf).addClass(g),i.parents(af).prev(ba).children(ru).addClass(g));t(this._scrollElement).trigger(aa,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(g)}).forEach(function(n){return n.classList.remove(g)})},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(ur),u=typeof n=="object"&&n;if(r||(r=new i(this,u),t(this).data(ur,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return ha}},{key:"Default",get:function(){return lf}}]),i}();t(window).on(ya,function(){for(var n,i=[].slice.call(document.querySelectorAll(wa)),u=i.length,r=u;r--;)n=t(i[r]),ri._jQueryInterface.call(n,n.data())});t.fn[d]=ri._jQueryInterface;t.fn[d].Constructor=ri;t.fn[d].noConflict=function(){return t.fn[d]=ca,ri._jQueryInterface};var ui="tab",tv="4.5.2",er="bs.tab",fi="."+er,iv=t.fn[ui],rv="hide"+fi,uv="hidden"+fi,fv="show"+fi,ev="shown"+fi,ov="click"+fi+".data-api",sv="dropdown-menu",ei="active",hv="disabled",pf="fade",wf="show",cv=".dropdown",lv=".nav, .list-group",bf=".active",kf="> li > .active",av=".dropdown-toggle",vv="> .dropdown-menu .active",oi=function(){function n(n){this._element=n}var i=n.prototype;return i.show=function(){var h=this,u,n,i,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(ei)||t(this._element).hasClass(hv)||(i=t(this._element).closest(lv)[0],f=r.getSelectorFromElement(this._element),i&&(c=i.nodeName==="UL"||i.nodeName==="OL"?kf:bf,n=t.makeArray(t(i).find(c)),n=n[n.length-1]),e=t.Event(rv,{relatedTarget:this._element}),o=t.Event(fv,{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,i),s=function(){var i=t.Event(uv,{relatedTarget:h._element}),r=t.Event(ev,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s())},i.dispose=function(){t.removeData(this._element,er);this._element=null},i._activate=function(n,i,u){var s=this,h=i&&(i.nodeName==="UL"||i.nodeName==="OL")?t(i).find(kf):t(i).children(bf),f=h[0],c=u&&f&&t(f).hasClass(pf),e=function(){return s._transitionComplete(n,f,u)},o;f&&c?(o=r.getTransitionDurationFromElement(f),t(f).removeClass(wf).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e()},i._transitionComplete=function(n,i,u){var f,e,o;i&&(t(i).removeClass(ei),f=t(i.parentNode).find(vv)[0],f&&t(f).removeClass(ei),i.getAttribute("role")==="tab"&&i.setAttribute("aria-selected",!1));t(n).addClass(ei);n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!0);r.reflow(n);n.classList.contains(pf)&&n.classList.add(wf);n.parentNode&&t(n.parentNode).hasClass(sv)&&(e=t(n).closest(cv)[0],e&&(o=[].slice.call(e.querySelectorAll(av)),t(o).addClass(ei)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(er);if(r||(r=new n(this),u.data(er,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},o(n,null,[{key:"VERSION",get:function(){return tv}}]),n}();t(document).on(ov,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();oi._jQueryInterface.call(t(this),"show")});t.fn[ui]=oi._jQueryInterface;t.fn[ui].Constructor=oi;t.fn[ui].noConflict=function(){return t.fn[ui]=iv,oi._jQueryInterface};var st="toast",yv="4.5.2",or="bs.toast",si="."+or,pv=t.fn[st],df="click.dismiss"+si,wv="hide"+si,bv="hidden"+si,kv="show"+si,dv="shown"+si,gv="fade",gf="hide",hi="show",ne="showing",ny={animation:"boolean",autohide:"boolean",delay:"number"},te={animation:!0,autohide:!0,delay:500},ty='[data-dismiss="toast"]',sr=function(){function i(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=i.prototype;return n.show=function(){var n=this,u=t.Event(kv),i,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._clearTimeout(),this._config.animation&&this._element.classList.add(gv),i=function(){n._element.classList.remove(ne);n._element.classList.add(hi);t(n._element).trigger(dv);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove(gf),r.reflow(this._element),this._element.classList.add(ne),this._config.animation?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(f)):i())},n.hide=function(){if(this._element.classList.contains(hi)){var n=t.Event(wv);(t(this._element).trigger(n),n.isDefaultPrevented())||this._close()}},n.dispose=function(){this._clearTimeout();this._element.classList.contains(hi)&&this._element.classList.remove(hi);t(this._element).off(df);t.removeData(this._element,or);this._element=null;this._config=null},n._getConfig=function(n){return n=u({},te,t(this._element).data(),typeof n=="object"&&n?n:{}),r.typeCheckConfig(st,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(df,ty,function(){return n.hide()})},n._close=function(){var n=this,i=function(){n._element.classList.add(gf);t(n._element).trigger(bv)},u;this._element.classList.remove(hi);this._config.animation?(u=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(u)):i()},n._clearTimeout=function(){clearTimeout(this._timeout);this._timeout=null},i._jQueryInterface=function(n){return this.each(function(){var u=t(this),r=u.data(or),f=typeof n=="object"&&n;if(r||(r=new i(this,f),u.data(or,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n](this)}})},o(i,null,[{key:"VERSION",get:function(){return yv}},{key:"DefaultType",get:function(){return ny}},{key:"Default",get:function(){return te}}]),i}();t.fn[st]=sr._jQueryInterface;t.fn[st].Constructor=sr;t.fn[st].noConflict=function(){return t.fn[st]=pv,sr._jQueryInterface};n.Alert=nt;n.Button=lt;n.Carousel=it;n.Collapse=pt;n.Dropdown=v;n.Modal=dt;n.Popover=rr;n.Scrollspy=ri;n.Tab=oi;n.Toast=sr;n.Tooltip=k;n.Util=r;Object.defineProperty(n,"__esModule",{value:!0})})