(self.webpackChunksqueezelite_esp32=self.webpackChunksqueezelite_esp32||[]).push([[987],{4537:e=>{"use strict";e.exports=function(e,t){var o=new Array(arguments.length-1),r=0,n=2,i=!0;for(;n{"use strict";var o=t;o.length=function(e){var t=e.length;if(!t)return 0;for(var o=0;--t%4>1&&"="===e.charAt(t);)++o;return Math.ceil(3*e.length)/4-o};for(var r=new Array(64),n=new Array(123),i=0;i<64;)n[r[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;o.encode=function(e,t,o){for(var n,i=null,s=[],a=0,p=0;t>2],n=(3&l)<<4,p=1;break;case 1:s[a++]=r[n|l>>4],n=(15&l)<<2,p=2;break;case 2:s[a++]=r[n|l>>6],s[a++]=r[63&l],p=0}a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,s)),a=0)}return p&&(s[a++]=r[n],s[a++]=61,1===p&&(s[a++]=61)),i?(a&&i.push(String.fromCharCode.apply(String,s.slice(0,a))),i.join("")):String.fromCharCode.apply(String,s.slice(0,a))};var s="invalid encoding";o.decode=function(e,t,o){for(var r,i=o,a=0,p=0;p1)break;if(void 0===(l=n[l]))throw Error(s);switch(a){case 0:r=l,a=1;break;case 1:t[o++]=r<<2|(48&l)>>4,r=l,a=2;break;case 2:t[o++]=(15&r)<<4|(60&l)>>2,r=l,a=3;break;case 3:t[o++]=(3&r)<<6|l,a=0}}if(1===a)throw Error(s);return o-i},o.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},5124:e=>{"use strict";function t(e,o){"string"==typeof e&&(o=e,e=void 0);var r=[];function n(e){if("string"!=typeof e){var o=i();if(t.verbose&&console.log("codegen: "+o),o="return "+o,e){for(var s=Object.keys(e),a=new Array(s.length+1),p=new Array(s.length),l=0;l{"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,o){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:o||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var o=this._listeners[e],r=0;r{"use strict";e.exports=i;var r=o(4537),n=o(7199)("fs");function i(e,t,o){return"function"==typeof t?(o=t,t={}):t||(t={}),o?!t.xhr&&n&&n.readFile?n.readFile(e,(function(r,n){return r&&"undefined"!=typeof XMLHttpRequest?i.xhr(e,t,o):r?o(r):o(null,t.binary?n:n.toString("utf8"))})):i.xhr(e,t,o):r(i,this,e,t)}i.xhr=function(e,t,o){var r=new XMLHttpRequest;r.onreadystatechange=function(){if(4===r.readyState){if(0!==r.status&&200!==r.status)return o(Error("status "+r.status));if(t.binary){var e=r.response;if(!e){e=[];for(var n=0;n{"use strict";function t(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),o=new Uint8Array(t.buffer),r=128===o[3];function n(e,r,n){t[0]=e,r[n]=o[0],r[n+1]=o[1],r[n+2]=o[2],r[n+3]=o[3]}function i(e,r,n){t[0]=e,r[n]=o[3],r[n+1]=o[2],r[n+2]=o[1],r[n+3]=o[0]}function s(e,r){return o[0]=e[r],o[1]=e[r+1],o[2]=e[r+2],o[3]=e[r+3],t[0]}function a(e,r){return o[3]=e[r],o[2]=e[r+1],o[1]=e[r+2],o[0]=e[r+3],t[0]}e.writeFloatLE=r?n:i,e.writeFloatBE=r?i:n,e.readFloatLE=r?s:a,e.readFloatBE=r?a:s}():function(){function t(e,t,o,r){var n=t<0?1:0;if(n&&(t=-t),0===t)e(1/t>0?0:2147483648,o,r);else if(isNaN(t))e(2143289344,o,r);else if(t>34028234663852886e22)e((n<<31|2139095040)>>>0,o,r);else if(t<11754943508222875e-54)e((n<<31|Math.round(t/1401298464324817e-60))>>>0,o,r);else{var i=Math.floor(Math.log(t)/Math.LN2);e((n<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,o,r)}}function s(e,t,o){var r=e(t,o),n=2*(r>>31)+1,i=r>>>23&255,s=8388607&r;return 255===i?s?NaN:n*(1/0):0===i?1401298464324817e-60*n*s:n*Math.pow(2,i-150)*(s+8388608)}e.writeFloatLE=t.bind(null,o),e.writeFloatBE=t.bind(null,r),e.readFloatLE=s.bind(null,n),e.readFloatBE=s.bind(null,i)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),o=new Uint8Array(t.buffer),r=128===o[7];function n(e,r,n){t[0]=e,r[n]=o[0],r[n+1]=o[1],r[n+2]=o[2],r[n+3]=o[3],r[n+4]=o[4],r[n+5]=o[5],r[n+6]=o[6],r[n+7]=o[7]}function i(e,r,n){t[0]=e,r[n]=o[7],r[n+1]=o[6],r[n+2]=o[5],r[n+3]=o[4],r[n+4]=o[3],r[n+5]=o[2],r[n+6]=o[1],r[n+7]=o[0]}function s(e,r){return o[0]=e[r],o[1]=e[r+1],o[2]=e[r+2],o[3]=e[r+3],o[4]=e[r+4],o[5]=e[r+5],o[6]=e[r+6],o[7]=e[r+7],t[0]}function a(e,r){return o[7]=e[r],o[6]=e[r+1],o[5]=e[r+2],o[4]=e[r+3],o[3]=e[r+4],o[2]=e[r+5],o[1]=e[r+6],o[0]=e[r+7],t[0]}e.writeDoubleLE=r?n:i,e.writeDoubleBE=r?i:n,e.readDoubleLE=r?s:a,e.readDoubleBE=r?a:s}():function(){function t(e,t,o,r,n,i){var s=r<0?1:0;if(s&&(r=-r),0===r)e(0,n,i+t),e(1/r>0?0:2147483648,n,i+o);else if(isNaN(r))e(0,n,i+t),e(2146959360,n,i+o);else if(r>17976931348623157e292)e(0,n,i+t),e((s<<31|2146435072)>>>0,n,i+o);else{var a;if(r<22250738585072014e-324)e((a=r/5e-324)>>>0,n,i+t),e((s<<31|a/4294967296)>>>0,n,i+o);else{var p=Math.floor(Math.log(r)/Math.LN2);1024===p&&(p=1023),e(4503599627370496*(a=r*Math.pow(2,-p))>>>0,n,i+t),e((s<<31|p+1023<<20|1048576*a&1048575)>>>0,n,i+o)}}}function s(e,t,o,r,n){var i=e(r,n+t),s=e(r,n+o),a=2*(s>>31)+1,p=s>>>20&2047,l=4294967296*(1048575&s)+i;return 2047===p?l?NaN:a*(1/0):0===p?5e-324*a*l:a*Math.pow(2,p-1075)*(l+4503599627370496)}e.writeDoubleLE=t.bind(null,o,0,4),e.writeDoubleBE=t.bind(null,r,4,0),e.readDoubleLE=s.bind(null,n,0,4),e.readDoubleBE=s.bind(null,i,4,0)}(),e}function o(e,t,o){t[o]=255&e,t[o+1]=e>>>8&255,t[o+2]=e>>>16&255,t[o+3]=e>>>24}function r(e,t,o){t[o]=e>>>24,t[o+1]=e>>>16&255,t[o+2]=e>>>8&255,t[o+3]=255&e}function n(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function i(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},7199:module=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},8626:(e,t)=>{"use strict";var o=t,r=o.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},n=o.normalize=function(e){var t=(e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/")).split("/"),o=r(e),n="";o&&(n=t.shift()+"/");for(var i=0;i0&&".."!==t[i-1]?t.splice(--i,2):o?t.splice(i,1):++i:"."===t[i]?t.splice(i,1):++i;return n+t.join("/")};o.resolve=function(e,t,o){return o||(t=n(t)),r(t)?t:(o||(e=n(e)),(e=e.replace(/(?:\/|^)[^/]+$/,"")).length?n(e+"/"+t):t)}},6662:e=>{"use strict";e.exports=function(e,t,o){var r=o||8192,n=r>>>1,i=null,s=r;return function(o){if(o<1||o>n)return e(o);s+o>r&&(i=e(r),s=0);var a=t.call(i,s,s+=o);return 7&s&&(s=1+(7|s)),a}}},4997:(e,t)=>{"use strict";var o=t;o.length=function(e){for(var t=0,o=0,r=0;r191&&r<224?i[s++]=(31&r)<<6|63&e[t++]:r>239&&r<365?(r=((7&r)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[s++]=55296+(r>>10),i[s++]=56320+(1023&r)):i[s++]=(15&r)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,i)),s=0);return n?(s&&n.push(String.fromCharCode.apply(String,i.slice(0,s))),n.join("")):String.fromCharCode.apply(String,i.slice(0,s))},o.write=function(e,t,o){for(var r,n,i=o,s=0;s>6|192,t[o++]=63&r|128):55296==(64512&r)&&56320==(64512&(n=e.charCodeAt(s+1)))?(r=65536+((1023&r)<<10)+(1023&n),++s,t[o++]=r>>18|240,t[o++]=r>>12&63|128,t[o++]=r>>6&63|128,t[o++]=63&r|128):(t[o++]=r>>12|224,t[o++]=r>>6&63|128,t[o++]=63&r|128);return o-i}},3138:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Alert:()=>jt,Button:()=>Ft,Carousel:()=>po,Collapse:()=>To,Dropdown:()=>Yo,Modal:()=>Mr,Offcanvas:()=>$r,Popover:()=>bn,ScrollSpy:()=>Dn,Tab:()=>Jn,Toast:()=>ui,Tooltip:()=>dn});var r={};o.r(r),o.d(r,{afterMain:()=>T,afterRead:()=>v,afterWrite:()=>A,applyStyles:()=>P,arrow:()=>Q,auto:()=>p,basePlacements:()=>l,beforeMain:()=>E,beforeRead:()=>m,beforeWrite:()=>O,bottom:()=>i,clippingParents:()=>c,computeStyles:()=>re,createPopper:()=>Pe,createPopperBase:()=>xe,createPopperLite:()=>Ce,detectOverflow:()=>_e,end:()=>u,eventListeners:()=>ie,flip:()=>ve,hide:()=>Te,left:()=>a,main:()=>S,modifierPhases:()=>D,offset:()=>Oe,placements:()=>y,popper:()=>f,popperGenerator:()=>Re,popperOffsets:()=>we,preventOverflow:()=>Ae,read:()=>_,reference:()=>h,right:()=>s,start:()=>g,top:()=>n,variationPlacements:()=>b,viewport:()=>d,write:()=>w});var n="top",i="bottom",s="right",a="left",p="auto",l=[n,i,s,a],g="start",u="end",c="clippingParents",d="viewport",f="popper",h="reference",b=l.reduce((function(e,t){return e.concat([t+"-"+g,t+"-"+u])}),[]),y=[].concat(l,[p]).reduce((function(e,t){return e.concat([t,t+"-"+g,t+"-"+u])}),[]),m="beforeRead",_="read",v="afterRead",E="beforeMain",S="main",T="afterMain",O="beforeWrite",w="write",A="afterWrite",D=[m,_,v,E,S,T,O,w,A];function j(e){return e?(e.nodeName||"").toLowerCase():null}function M(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function F(e){return e instanceof M(e).Element||e instanceof Element}function R(e){return e instanceof M(e).HTMLElement||e instanceof HTMLElement}function x(e){return"undefined"!=typeof ShadowRoot&&(e instanceof M(e).ShadowRoot||e instanceof ShadowRoot)}const P={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},r=t.attributes[e]||{},n=t.elements[e];R(n)&&j(n)&&(Object.assign(n.style,o),Object.keys(r).forEach((function(e){var t=r[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],n=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});R(r)&&j(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function C(e){return e.split("-")[0]}var B=Math.max,N=Math.min,L=Math.round;function I(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function U(){return!/^((?!chrome|android).)*safari/i.test(I())}function k(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var r=e.getBoundingClientRect(),n=1,i=1;t&&R(e)&&(n=e.offsetWidth>0&&L(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&L(r.height)/e.offsetHeight||1);var s=(F(e)?M(e):window).visualViewport,a=!U()&&o,p=(r.left+(a&&s?s.offsetLeft:0))/n,l=(r.top+(a&&s?s.offsetTop:0))/i,g=r.width/n,u=r.height/i;return{width:g,height:u,top:l,right:p+g,bottom:l+u,left:p,x:p,y:l}}function W(e){var t=k(e),o=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function H(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&x(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(e){return M(e).getComputedStyle(e)}function q(e){return["table","td","th"].indexOf(j(e))>=0}function z(e){return((F(e)?e.ownerDocument:e.document)||window.document).documentElement}function G(e){return"html"===j(e)?e:e.assignedSlot||e.parentNode||(x(e)?e.host:null)||z(e)}function $(e){return R(e)&&"fixed"!==V(e).position?e.offsetParent:null}function Y(e){for(var t=M(e),o=$(e);o&&q(o)&&"static"===V(o).position;)o=$(o);return o&&("html"===j(o)||"body"===j(o)&&"static"===V(o).position)?t:o||function(e){var t=/firefox/i.test(I());if(/Trident/i.test(I())&&R(e)&&"fixed"===V(e).position)return null;var o=G(e);for(x(o)&&(o=o.host);R(o)&&["html","body"].indexOf(j(o))<0;){var r=V(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||t}function K(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e,t,o){return B(e,N(t,o))}function X(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,r=e.name,p=e.options,g=o.elements.arrow,u=o.modifiersData.popperOffsets,c=C(o.placement),d=K(c),f=[a,s].indexOf(c)>=0?"height":"width";if(g&&u){var h=function(e,t){return X("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,l))}(p.padding,o),b=W(g),y="y"===d?n:a,m="y"===d?i:s,_=o.rects.reference[f]+o.rects.reference[d]-u[d]-o.rects.popper[f],v=u[d]-o.rects.reference[d],E=Y(g),S=E?"y"===d?E.clientHeight||0:E.clientWidth||0:0,T=_/2-v/2,O=h[y],w=S-b[f]-h[m],A=S/2-b[f]/2+T,D=J(O,A,w),j=d;o.modifiersData[r]=((t={})[j]=D,t.centerOffset=D-A,t)}},effect:function(e){var t=e.state,o=e.options.element,r=void 0===o?"[data-popper-arrow]":o;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&H(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ee(e){return e.split("-")[1]}var te={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var t,o=e.popper,r=e.popperRect,p=e.placement,l=e.variation,g=e.offsets,c=e.position,d=e.gpuAcceleration,f=e.adaptive,h=e.roundOffsets,b=e.isFixed,y=g.x,m=void 0===y?0:y,_=g.y,v=void 0===_?0:_,E="function"==typeof h?h({x:m,y:v}):{x:m,y:v};m=E.x,v=E.y;var S=g.hasOwnProperty("x"),T=g.hasOwnProperty("y"),O=a,w=n,A=window;if(f){var D=Y(o),j="clientHeight",F="clientWidth";if(D===M(o)&&"static"!==V(D=z(o)).position&&"absolute"===c&&(j="scrollHeight",F="scrollWidth"),p===n||(p===a||p===s)&&l===u)w=i,v-=(b&&D===A&&A.visualViewport?A.visualViewport.height:D[j])-r.height,v*=d?1:-1;if(p===a||(p===n||p===i)&&l===u)O=s,m-=(b&&D===A&&A.visualViewport?A.visualViewport.width:D[F])-r.width,m*=d?1:-1}var R,x=Object.assign({position:c},f&&te),P=!0===h?function(e,t){var o=e.x,r=e.y,n=t.devicePixelRatio||1;return{x:L(o*n)/n||0,y:L(r*n)/n||0}}({x:m,y:v},M(o)):{x:m,y:v};return m=P.x,v=P.y,d?Object.assign({},x,((R={})[w]=T?"0":"",R[O]=S?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",R)):Object.assign({},x,((t={})[w]=T?v+"px":"",t[O]=S?m+"px":"",t.transform="",t))}const re={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=void 0===r||r,i=o.adaptive,s=void 0===i||i,a=o.roundOffsets,p=void 0===a||a,l={placement:C(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,oe(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,oe(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ne={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,i=void 0===n||n,s=r.resize,a=void 0===s||s,p=M(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",o.update,ne)})),a&&p.addEventListener("resize",o.update,ne),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",o.update,ne)})),a&&p.removeEventListener("resize",o.update,ne)}},data:{}};var se={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var pe={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return pe[e]}))}function ge(e){var t=M(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return k(z(e)).left+ge(e).scrollLeft}function ce(e){var t=V(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function de(e){return["html","body","#document"].indexOf(j(e))>=0?e.ownerDocument.body:R(e)&&ce(e)?e:de(G(e))}function fe(e,t){var o;void 0===t&&(t=[]);var r=de(e),n=r===(null==(o=e.ownerDocument)?void 0:o.body),i=M(r),s=n?[i].concat(i.visualViewport||[],ce(r)?r:[]):r,a=t.concat(s);return n?a:a.concat(fe(G(s)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function be(e,t,o){return t===d?he(function(e,t){var o=M(e),r=z(e),n=o.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,p=0;if(n){i=n.width,s=n.height;var l=U();(l||!l&&"fixed"===t)&&(a=n.offsetLeft,p=n.offsetTop)}return{width:i,height:s,x:a+ue(e),y:p}}(e,o)):F(t)?function(e,t){var o=k(e,!1,"fixed"===t);return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}(t,o):he(function(e){var t,o=z(e),r=ge(e),n=null==(t=e.ownerDocument)?void 0:t.body,i=B(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=B(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-r.scrollLeft+ue(e),p=-r.scrollTop;return"rtl"===V(n||o).direction&&(a+=B(o.clientWidth,n?n.clientWidth:0)-i),{width:i,height:s,x:a,y:p}}(z(e)))}function ye(e,t,o,r){var n="clippingParents"===t?function(e){var t=fe(G(e)),o=["absolute","fixed"].indexOf(V(e).position)>=0&&R(e)?Y(e):e;return F(o)?t.filter((function(e){return F(e)&&H(e,o)&&"body"!==j(e)})):[]}(e):[].concat(t),i=[].concat(n,[o]),s=i[0],a=i.reduce((function(t,o){var n=be(e,o,r);return t.top=B(n.top,t.top),t.right=N(n.right,t.right),t.bottom=N(n.bottom,t.bottom),t.left=B(n.left,t.left),t}),be(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function me(e){var t,o=e.reference,r=e.element,p=e.placement,l=p?C(p):null,c=p?ee(p):null,d=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2;switch(l){case n:t={x:d,y:o.y-r.height};break;case i:t={x:d,y:o.y+o.height};break;case s:t={x:o.x+o.width,y:f};break;case a:t={x:o.x-r.width,y:f};break;default:t={x:o.x,y:o.y}}var h=l?K(l):null;if(null!=h){var b="y"===h?"height":"width";switch(c){case g:t[h]=t[h]-(o[b]/2-r[b]/2);break;case u:t[h]=t[h]+(o[b]/2-r[b]/2)}}return t}function _e(e,t){void 0===t&&(t={});var o=t,r=o.placement,a=void 0===r?e.placement:r,p=o.strategy,g=void 0===p?e.strategy:p,u=o.boundary,b=void 0===u?c:u,y=o.rootBoundary,m=void 0===y?d:y,_=o.elementContext,v=void 0===_?f:_,E=o.altBoundary,S=void 0!==E&&E,T=o.padding,O=void 0===T?0:T,w=X("number"!=typeof O?O:Z(O,l)),A=v===f?h:f,D=e.rects.popper,j=e.elements[S?A:v],M=ye(F(j)?j:j.contextElement||z(e.elements.popper),b,m,g),R=k(e.elements.reference),x=me({reference:R,element:D,strategy:"absolute",placement:a}),P=he(Object.assign({},D,x)),C=v===f?P:R,B={top:M.top-C.top+w.top,bottom:C.bottom-M.bottom+w.bottom,left:M.left-C.left+w.left,right:C.right-M.right+w.right},N=e.modifiersData.offset;if(v===f&&N){var L=N[a];Object.keys(B).forEach((function(e){var t=[s,i].indexOf(e)>=0?1:-1,o=[n,i].indexOf(e)>=0?"y":"x";B[e]+=L[o]*t}))}return B}const ve={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var u=o.mainAxis,c=void 0===u||u,d=o.altAxis,f=void 0===d||d,h=o.fallbackPlacements,m=o.padding,_=o.boundary,v=o.rootBoundary,E=o.altBoundary,S=o.flipVariations,T=void 0===S||S,O=o.allowedAutoPlacements,w=t.options.placement,A=C(w),D=h||(A===w||!T?[ae(w)]:function(e){if(C(e)===p)return[];var t=ae(e);return[le(e),t,le(t)]}(w)),j=[w].concat(D).reduce((function(e,o){return e.concat(C(o)===p?function(e,t){void 0===t&&(t={});var o=t,r=o.placement,n=o.boundary,i=o.rootBoundary,s=o.padding,a=o.flipVariations,p=o.allowedAutoPlacements,g=void 0===p?y:p,u=ee(r),c=u?a?b:b.filter((function(e){return ee(e)===u})):l,d=c.filter((function(e){return g.indexOf(e)>=0}));0===d.length&&(d=c);var f=d.reduce((function(t,o){return t[o]=_e(e,{placement:o,boundary:n,rootBoundary:i,padding:s})[C(o)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:o,boundary:_,rootBoundary:v,padding:m,flipVariations:T,allowedAutoPlacements:O}):o)}),[]),M=t.rects.reference,F=t.rects.popper,R=new Map,x=!0,P=j[0],B=0;B=0,k=U?"width":"height",W=_e(t,{placement:N,boundary:_,rootBoundary:v,altBoundary:E,padding:m}),H=U?I?s:a:I?i:n;M[k]>F[k]&&(H=ae(H));var V=ae(H),q=[];if(c&&q.push(W[L]<=0),f&&q.push(W[H]<=0,W[V]<=0),q.every((function(e){return e}))){P=N,x=!1;break}R.set(N,q)}if(x)for(var z=function(e){var t=j.find((function(t){var o=R.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},G=T?3:1;G>0;G--){if("break"===z(G))break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ee(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Se(e){return[n,s,i,a].some((function(t){return e[t]>=0}))}const Te={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,i=t.modifiersData.preventOverflow,s=_e(t,{elementContext:"reference"}),a=_e(t,{altBoundary:!0}),p=Ee(s,r),l=Ee(a,n,i),g=Se(p),u=Se(l);t.modifiersData[o]={referenceClippingOffsets:p,popperEscapeOffsets:l,isReferenceHidden:g,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":g,"data-popper-escaped":u})}};const Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,r=e.name,i=o.offset,p=void 0===i?[0,0]:i,l=y.reduce((function(e,o){return e[o]=function(e,t,o){var r=C(e),i=[a,n].indexOf(r)>=0?-1:1,p="function"==typeof o?o(Object.assign({},t,{placement:e})):o,l=p[0],g=p[1];return l=l||0,g=(g||0)*i,[a,s].indexOf(r)>=0?{x:g,y:l}:{x:l,y:g}}(o,t.rects,p),e}),{}),g=l[t.placement],u=g.x,c=g.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=l}};const we={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=me({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name,p=o.mainAxis,l=void 0===p||p,u=o.altAxis,c=void 0!==u&&u,d=o.boundary,f=o.rootBoundary,h=o.altBoundary,b=o.padding,y=o.tether,m=void 0===y||y,_=o.tetherOffset,v=void 0===_?0:_,E=_e(t,{boundary:d,rootBoundary:f,padding:b,altBoundary:h}),S=C(t.placement),T=ee(t.placement),O=!T,w=K(S),A="x"===w?"y":"x",D=t.modifiersData.popperOffsets,j=t.rects.reference,M=t.rects.popper,F="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,R="number"==typeof F?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(D){if(l){var L,I="y"===w?n:a,U="y"===w?i:s,k="y"===w?"height":"width",H=D[w],V=H+E[I],q=H-E[U],z=m?-M[k]/2:0,G=T===g?j[k]:M[k],$=T===g?-M[k]:-j[k],X=t.elements.arrow,Z=m&&X?W(X):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=Q[I],oe=Q[U],re=J(0,j[k],Z[k]),ne=O?j[k]/2-z-re-te-R.mainAxis:G-re-te-R.mainAxis,ie=O?-j[k]/2+z+re+oe+R.mainAxis:$+re+oe+R.mainAxis,se=t.elements.arrow&&Y(t.elements.arrow),ae=se?"y"===w?se.clientTop||0:se.clientLeft||0:0,pe=null!=(L=null==x?void 0:x[w])?L:0,le=H+ie-pe,ge=J(m?N(V,H+ne-pe-ae):V,H,m?B(q,le):q);D[w]=ge,P[w]=ge-H}if(c){var ue,ce="x"===w?n:a,de="x"===w?i:s,fe=D[A],he="y"===A?"height":"width",be=fe+E[ce],ye=fe-E[de],me=-1!==[n,a].indexOf(S),ve=null!=(ue=null==x?void 0:x[A])?ue:0,Ee=me?be:fe-j[he]-M[he]-ve+R.altAxis,Se=me?fe+j[he]+M[he]-ve-R.altAxis:ye,Te=m&&me?function(e,t,o){var r=J(e,t,o);return r>o?o:r}(Ee,fe,Se):J(m?Ee:be,fe,m?Se:ye);D[A]=Te,P[A]=Te-fe}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function De(e,t,o){void 0===o&&(o=!1);var r,n,i=R(t),s=R(t)&&function(e){var t=e.getBoundingClientRect(),o=L(t.width)/e.offsetWidth||1,r=L(t.height)/e.offsetHeight||1;return 1!==o||1!==r}(t),a=z(t),p=k(e,s,o),l={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(i||!i&&!o)&&(("body"!==j(t)||ce(a))&&(l=(r=t)!==M(r)&&R(r)?{scrollLeft:(n=r).scrollLeft,scrollTop:n.scrollTop}:ge(r)),R(t)?((g=k(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):a&&(g.x=ue(a))),{x:p.left+l.scrollLeft-g.x,y:p.top+l.scrollTop-g.y,width:p.width,height:p.height}}function je(e){var t=new Map,o=new Set,r=[];function n(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var r=t.get(e);r&&n(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||n(e)})),r}var Me={placement:"bottom",modifiers:[],strategy:"absolute"};function Fe(){for(var e=arguments.length,t=new Array(e),o=0;oBe.has(e)&&Be.get(e).get(t)||null,remove(e,t){if(!Be.has(e))return;const o=Be.get(e);o.delete(t),0===o.size&&Be.delete(e)}},Le="transitionend",Ie=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),Ue=e=>{e.dispatchEvent(new Event(Le))},ke=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),We=e=>ke(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Ie(e)):null,He=e=>{if(!ke(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),o=e.closest("details:not([open])");if(!o)return t;if(o!==e){const t=e.closest("summary");if(t&&t.parentNode!==o)return!1;if(null===t)return!1}return t},Ve=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),qe=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?qe(e.parentNode):null},ze=()=>{},Ge=e=>{e.offsetHeight},$e=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ye=[],Ke=()=>"rtl"===document.documentElement.dir,Je=e=>{var t;t=()=>{const t=$e();if(t){const o=e.NAME,r=t.fn[o];t.fn[o]=e.jQueryInterface,t.fn[o].Constructor=e,t.fn[o].noConflict=()=>(t.fn[o]=r,e.jQueryInterface)}},"loading"===document.readyState?(Ye.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of Ye)e()})),Ye.push(t)):t()},Xe=(e,t=[],o=e)=>"function"==typeof e?e(...t):o,Ze=(e,t,o=!0)=>{if(!o)return void Xe(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:o}=window.getComputedStyle(e);const r=Number.parseFloat(t),n=Number.parseFloat(o);return r||n?(t=t.split(",")[0],o=o.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(o))):0})(t)+5;let n=!1;const i=({target:o})=>{o===t&&(n=!0,t.removeEventListener(Le,i),Xe(e))};t.addEventListener(Le,i),setTimeout((()=>{n||Ue(t)}),r)},Qe=(e,t,o,r)=>{const n=e.length;let i=e.indexOf(t);return-1===i?!o&&r?e[n-1]:e[0]:(i+=o?1:-1,r&&(i=(i+n)%n),e[Math.max(0,Math.min(i,n-1))])},et=/[^.]*(?=\..*)\.|.*/,tt=/\..*/,ot=/::\d+$/,rt={};let nt=1;const it={mouseenter:"mouseover",mouseleave:"mouseout"},st=new Set(["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 at(e,t){return t&&`${t}::${nt++}`||e.uidEvent||nt++}function pt(e){const t=at(e);return e.uidEvent=t,rt[t]=rt[t]||{},rt[t]}function lt(e,t,o=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===o))}function gt(e,t,o){const r="string"==typeof t,n=r?o:t||o;let i=ft(e);return st.has(i)||(i=e),[r,n,i]}function ut(e,t,o,r,n){if("string"!=typeof t||!e)return;let[i,s,a]=gt(t,o,r);if(t in it){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s=e(s)}const p=pt(e),l=p[a]||(p[a]={}),g=lt(l,s,i?o:null);if(g)return void(g.oneOff=g.oneOff&&n);const u=at(s,t.replace(et,"")),c=i?function(e,t,o){return function r(n){const i=e.querySelectorAll(t);for(let{target:s}=n;s&&s!==this;s=s.parentNode)for(const a of i)if(a===s)return bt(n,{delegateTarget:s}),r.oneOff&&ht.off(e,n.type,t,o),o.apply(s,[n])}}(e,o,s):function(e,t){return function o(r){return bt(r,{delegateTarget:e}),o.oneOff&&ht.off(e,r.type,t),t.apply(e,[r])}}(e,s);c.delegationSelector=i?o:null,c.callable=s,c.oneOff=n,c.uidEvent=u,l[u]=c,e.addEventListener(a,c,i)}function ct(e,t,o,r,n){const i=lt(t[o],r,n);i&&(e.removeEventListener(o,i,Boolean(n)),delete t[o][i.uidEvent])}function dt(e,t,o,r){const n=t[o]||{};for(const[i,s]of Object.entries(n))i.includes(r)&&ct(e,t,o,s.callable,s.delegationSelector)}function ft(e){return e=e.replace(tt,""),it[e]||e}const ht={on(e,t,o,r){ut(e,t,o,r,!1)},one(e,t,o,r){ut(e,t,o,r,!0)},off(e,t,o,r){if("string"!=typeof t||!e)return;const[n,i,s]=gt(t,o,r),a=s!==t,p=pt(e),l=p[s]||{},g=t.startsWith(".");if(void 0===i){if(g)for(const o of Object.keys(p))dt(e,p,o,t.slice(1));for(const[o,r]of Object.entries(l)){const n=o.replace(ot,"");a&&!t.includes(n)||ct(e,p,s,r.callable,r.delegationSelector)}}else{if(!Object.keys(l).length)return;ct(e,p,s,i,n?o:null)}},trigger(e,t,o){if("string"!=typeof t||!e)return null;const r=$e();let n=null,i=!0,s=!0,a=!1;t!==ft(t)&&r&&(n=r.Event(t,o),r(e).trigger(n),i=!n.isPropagationStopped(),s=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());const p=bt(new Event(t,{bubbles:i,cancelable:!0}),o);return a&&p.preventDefault(),s&&e.dispatchEvent(p),p.defaultPrevented&&n&&n.preventDefault(),p}};function bt(e,t={}){for(const[o,r]of Object.entries(t))try{e[o]=r}catch(t){Object.defineProperty(e,o,{configurable:!0,get:()=>r})}return e}function yt(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function mt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const _t={setDataAttribute(e,t,o){e.setAttribute(`data-bs-${mt(t)}`,o)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${mt(t)}`)},getDataAttributes(e){if(!e)return{};const t={},o=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const r of o){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),t[o]=yt(e.dataset[r])}return t},getDataAttribute:(e,t)=>yt(e.getAttribute(`data-bs-${mt(t)}`))};class vt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const o=ke(t)?_t.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof o?o:{},...ke(t)?_t.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,n]of Object.entries(t)){const t=e[r],i=ke(t)?"element":null==(o=t)?`${o}`:Object.prototype.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${n}".`)}var o}}class Et extends vt{constructor(e,t){super(),(e=We(e))&&(this._element=e,this._config=this._getConfig(t),Ne.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ne.remove(this._element,this.constructor.DATA_KEY),ht.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,o=!0){Ze(e,t,o)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ne.get(We(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const St=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let o=e.getAttribute("href");if(!o||!o.includes("#")&&!o.startsWith("."))return null;o.includes("#")&&!o.startsWith("#")&&(o=`#${o.split("#")[1]}`),t=o&&"#"!==o?Ie(o.trim()):null}return t},Tt={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const o=[];let r=e.parentNode.closest(t);for(;r;)o.push(r),r=r.parentNode.closest(t);return o},prev(e,t){let o=e.previousElementSibling;for(;o;){if(o.matches(t))return[o];o=o.previousElementSibling}return[]},next(e,t){let o=e.nextElementSibling;for(;o;){if(o.matches(t))return[o];o=o.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!Ve(e)&&He(e)))},getSelectorFromElement(e){const t=St(e);return t&&Tt.findOne(t)?t:null},getElementFromSelector(e){const t=St(e);return t?Tt.findOne(t):null},getMultipleElementsFromSelector(e){const t=St(e);return t?Tt.find(t):[]}},Ot=(e,t="hide")=>{const o=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;ht.on(document,o,`[data-bs-dismiss="${r}"]`,(function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Ve(this))return;const n=Tt.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(n)[t]()}))},wt=".bs.alert",At=`close${wt}`,Dt=`closed${wt}`;class jt extends Et{static get NAME(){return"alert"}close(){if(ht.trigger(this._element,At).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),ht.trigger(this._element,Dt),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=jt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}Ot(jt,"close"),Je(jt);const Mt='[data-bs-toggle="button"]';class Ft extends Et{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Ft.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}ht.on(document,"click.bs.button.data-api",Mt,(e=>{e.preventDefault();const t=e.target.closest(Mt);Ft.getOrCreateInstance(t).toggle()})),Je(Ft);const Rt=".bs.swipe",xt=`touchstart${Rt}`,Pt=`touchmove${Rt}`,Ct=`touchend${Rt}`,Bt=`pointerdown${Rt}`,Nt=`pointerup${Rt}`,Lt={endCallback:null,leftCallback:null,rightCallback:null},It={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ut extends vt{constructor(e,t){super(),this._element=e,e&&Ut.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Lt}static get DefaultType(){return It}static get NAME(){return"swipe"}dispose(){ht.off(this._element,Rt)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Xe(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&Xe(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ht.on(this._element,Bt,(e=>this._start(e))),ht.on(this._element,Nt,(e=>this._end(e))),this._element.classList.add("pointer-event")):(ht.on(this._element,xt,(e=>this._start(e))),ht.on(this._element,Pt,(e=>this._move(e))),ht.on(this._element,Ct,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const kt=".bs.carousel",Wt=".data-api",Ht="next",Vt="prev",qt="left",zt="right",Gt=`slide${kt}`,$t=`slid${kt}`,Yt=`keydown${kt}`,Kt=`mouseenter${kt}`,Jt=`mouseleave${kt}`,Xt=`dragstart${kt}`,Zt=`load${kt}${Wt}`,Qt=`click${kt}${Wt}`,eo="carousel",to="active",oo=".active",ro=".carousel-item",no=oo+ro,io={ArrowLeft:zt,ArrowRight:qt},so={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ao={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class po extends Et{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Tt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===eo&&this.cycle()}static get Default(){return so}static get DefaultType(){return ao}static get NAME(){return"carousel"}next(){this._slide(Ht)}nextWhenVisible(){!document.hidden&&He(this._element)&&this.next()}prev(){this._slide(Vt)}pause(){this._isSliding&&Ue(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?ht.one(this._element,$t,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void ht.one(this._element,$t,(()=>this.to(e)));const o=this._getItemIndex(this._getActive());if(o===e)return;const r=e>o?Ht:Vt;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ht.on(this._element,Yt,(e=>this._keydown(e))),"hover"===this._config.pause&&(ht.on(this._element,Kt,(()=>this.pause())),ht.on(this._element,Jt,(()=>this._maybeEnableCycle()))),this._config.touch&&Ut.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of Tt.find(".carousel-item img",this._element))ht.on(e,Xt,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(qt)),rightCallback:()=>this._slide(this._directionToOrder(zt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Ut(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=io[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Tt.findOne(oo,this._indicatorsElement);t.classList.remove(to),t.removeAttribute("aria-current");const o=Tt.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);o&&(o.classList.add(to),o.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const o=this._getActive(),r=e===Ht,n=t||Qe(this._getItems(),o,r,this._config.wrap);if(n===o)return;const i=this._getItemIndex(n),s=t=>ht.trigger(this._element,t,{relatedTarget:n,direction:this._orderToDirection(e),from:this._getItemIndex(o),to:i});if(s(Gt).defaultPrevented)return;if(!o||!n)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=n;const p=r?"carousel-item-start":"carousel-item-end",l=r?"carousel-item-next":"carousel-item-prev";n.classList.add(l),Ge(n),o.classList.add(p),n.classList.add(p);this._queueCallback((()=>{n.classList.remove(p,l),n.classList.add(to),o.classList.remove(to,l,p),this._isSliding=!1,s($t)}),o,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Tt.findOne(no,this._element)}_getItems(){return Tt.find(ro,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ke()?e===qt?Vt:Ht:e===qt?Ht:Vt}_orderToDirection(e){return Ke()?e===Vt?qt:zt:e===Vt?zt:qt}static jQueryInterface(e){return this.each((function(){const t=po.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}ht.on(document,Qt,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=Tt.getElementFromSelector(this);if(!t||!t.classList.contains(eo))return;e.preventDefault();const o=po.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(o.to(r),void o._maybeEnableCycle()):"next"===_t.getDataAttribute(this,"slide")?(o.next(),void o._maybeEnableCycle()):(o.prev(),void o._maybeEnableCycle())})),ht.on(window,Zt,(()=>{const e=Tt.find('[data-bs-ride="carousel"]');for(const t of e)po.getOrCreateInstance(t)})),Je(po);const lo=".bs.collapse",go=`show${lo}`,uo=`shown${lo}`,co=`hide${lo}`,fo=`hidden${lo}`,ho=`click${lo}.data-api`,bo="show",yo="collapse",mo="collapsing",_o=`:scope .${yo} .${yo}`,vo='[data-bs-toggle="collapse"]',Eo={parent:null,toggle:!0},So={parent:"(null|element)",toggle:"boolean"};class To extends Et{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const o=Tt.find(vo);for(const e of o){const t=Tt.getSelectorFromElement(e),o=Tt.find(t).filter((e=>e===this._element));null!==t&&o.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Eo}static get DefaultType(){return So}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>To.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(ht.trigger(this._element,go).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(yo),this._element.classList.add(mo),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(yo,bo),this._element.style[t]="",ht.trigger(this._element,uo)}),this._element,!0),this._element.style[t]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ht.trigger(this._element,co).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Ge(this._element),this._element.classList.add(mo),this._element.classList.remove(yo,bo);for(const e of this._triggerArray){const t=Tt.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(yo),ht.trigger(this._element,fo)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(bo)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=We(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(vo);for(const t of e){const e=Tt.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=Tt.find(_o,this._config.parent);return Tt.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const o of e)o.classList.toggle("collapsed",!t),o.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const o=To.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===o[e])throw new TypeError(`No method named "${e}"`);o[e]()}}))}}ht.on(document,ho,vo,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of Tt.getMultipleElementsFromSelector(this))To.getOrCreateInstance(e,{toggle:!1}).toggle()})),Je(To);const Oo="dropdown",wo=".bs.dropdown",Ao=".data-api",Do="ArrowUp",jo="ArrowDown",Mo=`hide${wo}`,Fo=`hidden${wo}`,Ro=`show${wo}`,xo=`shown${wo}`,Po=`click${wo}${Ao}`,Co=`keydown${wo}${Ao}`,Bo=`keyup${wo}${Ao}`,No="show",Lo='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Io=`${Lo}.${No}`,Uo=".dropdown-menu",ko=Ke()?"top-end":"top-start",Wo=Ke()?"top-start":"top-end",Ho=Ke()?"bottom-end":"bottom-start",Vo=Ke()?"bottom-start":"bottom-end",qo=Ke()?"left-start":"right-start",zo=Ke()?"right-start":"left-start",Go={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},$o={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Yo extends Et{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Tt.next(this._element,Uo)[0]||Tt.prev(this._element,Uo)[0]||Tt.findOne(Uo,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Go}static get DefaultType(){return $o}static get NAME(){return Oo}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ve(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ht.trigger(this._element,Ro,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))ht.on(e,"mouseover",ze);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(No),this._element.classList.add(No),ht.trigger(this._element,xo,e)}}hide(){if(Ve(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ht.trigger(this._element,Mo,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.off(e,"mouseover",ze);this._popper&&this._popper.destroy(),this._menu.classList.remove(No),this._element.classList.remove(No),this._element.setAttribute("aria-expanded","false"),_t.removeDataAttribute(this._menu,"popper"),ht.trigger(this._element,Fo,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!ke(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Oo.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:ke(this._config.reference)?e=We(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Pe(e,this._menu,t)}_isShown(){return this._menu.classList.contains(No)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return qo;if(e.classList.contains("dropstart"))return zo;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Wo:ko:t?Vo:Ho}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(_t.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Xe(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const o=Tt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>He(e)));o.length&&Qe(o,t,e===jo,!o.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Yo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=Tt.find(Io);for(const o of t){const t=Yo.getInstance(o);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),n=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!n||"outside"===t._config.autoClose&&n)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};"click"===e.type&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),o="Escape"===e.key,r=[Do,jo].includes(e.key);if(!r&&!o)return;if(t&&!o)return;e.preventDefault();const n=this.matches(Lo)?this:Tt.prev(this,Lo)[0]||Tt.next(this,Lo)[0]||Tt.findOne(Lo,e.delegateTarget.parentNode),i=Yo.getOrCreateInstance(n);if(r)return e.stopPropagation(),i.show(),void i._selectMenuItem(e);i._isShown()&&(e.stopPropagation(),i.hide(),n.focus())}}ht.on(document,Co,Lo,Yo.dataApiKeydownHandler),ht.on(document,Co,Uo,Yo.dataApiKeydownHandler),ht.on(document,Po,Yo.clearMenus),ht.on(document,Bo,Yo.clearMenus),ht.on(document,Po,Lo,(function(e){e.preventDefault(),Yo.getOrCreateInstance(this).toggle()})),Je(Yo);const Ko="backdrop",Jo="show",Xo=`mousedown.bs.${Ko}`,Zo={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qo={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class er extends vt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Zo}static get DefaultType(){return Qo}static get NAME(){return Ko}show(e){if(!this._config.isVisible)return void Xe(e);this._append();const t=this._getElement();this._config.isAnimated&&Ge(t),t.classList.add(Jo),this._emulateAnimation((()=>{Xe(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Jo),this._emulateAnimation((()=>{this.dispose(),Xe(e)}))):Xe(e)}dispose(){this._isAppended&&(ht.off(this._element,Xo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=We(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ht.on(e,Xo,(()=>{Xe(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){Ze(e,this._getElement(),this._config.isAnimated)}}const tr=".bs.focustrap",or=`focusin${tr}`,rr=`keydown.tab${tr}`,nr="backward",ir={autofocus:!0,trapElement:null},sr={autofocus:"boolean",trapElement:"element"};class ar extends vt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ir}static get DefaultType(){return sr}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ht.off(document,tr),ht.on(document,or,(e=>this._handleFocusin(e))),ht.on(document,rr,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ht.off(document,tr))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const o=Tt.focusableChildren(t);0===o.length?t.focus():this._lastTabNavDirection===nr?o[o.length-1].focus():o[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?nr:"forward")}}const pr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",lr=".sticky-top",gr="padding-right",ur="margin-right";class cr{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,gr,(t=>t+e)),this._setElementAttributes(pr,gr,(t=>t+e)),this._setElementAttributes(lr,ur,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,gr),this._resetElementAttributes(pr,gr),this._resetElementAttributes(lr,ur)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,o){const r=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);const n=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${o(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(e,t){const o=e.style.getPropertyValue(t);o&&_t.setDataAttribute(e,t,o)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const o=_t.getDataAttribute(e,t);null!==o?(_t.removeDataAttribute(e,t),e.style.setProperty(t,o)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(ke(e))t(e);else for(const o of Tt.find(e,this._element))t(o)}}const dr=".bs.modal",fr=`hide${dr}`,hr=`hidePrevented${dr}`,br=`hidden${dr}`,yr=`show${dr}`,mr=`shown${dr}`,_r=`resize${dr}`,vr=`click.dismiss${dr}`,Er=`mousedown.dismiss${dr}`,Sr=`keydown.dismiss${dr}`,Tr=`click${dr}.data-api`,Or="modal-open",wr="show",Ar="modal-static",Dr={backdrop:!0,focus:!0,keyboard:!0},jr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Mr extends Et{constructor(e,t){super(e,t),this._dialog=Tt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cr,this._addEventListeners()}static get Default(){return Dr}static get DefaultType(){return jr}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;ht.trigger(this._element,yr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Or),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;ht.trigger(this._element,fr).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(wr),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){ht.off(window,dr),ht.off(this._dialog,dr),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new er({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ar({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(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;const t=Tt.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),Ge(this._element),this._element.classList.add(wr);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ht.trigger(this._element,mr,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){ht.on(this._element,Sr,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),ht.on(window,_r,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),ht.on(this._element,Er,(e=>{ht.one(this._element,vr,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Or),this._resetAdjustments(),this._scrollBar.reset(),ht.trigger(this._element,br)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ht.trigger(this._element,hr).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Ar)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ar),this._queueCallback((()=>{this._element.classList.remove(Ar),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),o=t>0;if(o&&!e){const e=Ke()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!o&&e){const e=Ke()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const o=Mr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===o[e])throw new TypeError(`No method named "${e}"`);o[e](t)}}))}}ht.on(document,Tr,'[data-bs-toggle="modal"]',(function(e){const t=Tt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ht.one(t,yr,(e=>{e.defaultPrevented||ht.one(t,br,(()=>{He(this)&&this.focus()}))}));const o=Tt.findOne(".modal.show");o&&Mr.getInstance(o).hide();Mr.getOrCreateInstance(t).toggle(this)})),Ot(Mr),Je(Mr);const Fr=".bs.offcanvas",Rr=".data-api",xr=`load${Fr}${Rr}`,Pr="show",Cr="showing",Br="hiding",Nr=".offcanvas.show",Lr=`show${Fr}`,Ir=`shown${Fr}`,Ur=`hide${Fr}`,kr=`hidePrevented${Fr}`,Wr=`hidden${Fr}`,Hr=`resize${Fr}`,Vr=`click${Fr}${Rr}`,qr=`keydown.dismiss${Fr}`,zr={backdrop:!0,keyboard:!0,scroll:!1},Gr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $r extends Et{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return zr}static get DefaultType(){return Gr}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(ht.trigger(this._element,Lr,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new cr).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Cr);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Pr),this._element.classList.remove(Cr),ht.trigger(this._element,Ir,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(ht.trigger(this._element,Ur).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Br),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Pr,Br),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new cr).reset(),ht.trigger(this._element,Wr)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new er({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():ht.trigger(this._element,kr)}:null})}_initializeFocusTrap(){return new ar({trapElement:this._element})}_addEventListeners(){ht.on(this._element,qr,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():ht.trigger(this._element,kr))}))}static jQueryInterface(e){return this.each((function(){const t=$r.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}ht.on(document,Vr,'[data-bs-toggle="offcanvas"]',(function(e){const t=Tt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ve(this))return;ht.one(t,Wr,(()=>{He(this)&&this.focus()}));const o=Tt.findOne(Nr);o&&o!==t&&$r.getInstance(o).hide();$r.getOrCreateInstance(t).toggle(this)})),ht.on(window,xr,(()=>{for(const e of Tt.find(Nr))$r.getOrCreateInstance(e).show()})),ht.on(window,Hr,(()=>{for(const e of Tt.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&$r.getOrCreateInstance(e).hide()})),Ot($r),Je($r);const Yr={"*":["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:[]},Kr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Jr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Xr=(e,t)=>{const o=e.nodeName.toLowerCase();return t.includes(o)?!Kr.has(o)||Boolean(Jr.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(o)))};const Zr={allowList:Yr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Qr={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},en={entry:"(string|element|function|null)",selector:"(string|element)"};class tn extends vt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Zr}static get DefaultType(){return Qr}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,o]of Object.entries(this._config.content))this._setContent(e,o,t);const t=e.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&t.classList.add(...o.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,o]of Object.entries(e))super._typeCheckConfig({selector:t,entry:o},en)}_setContent(e,t,o){const r=Tt.findOne(o,e);r&&((t=this._resolvePossibleFunction(t))?ke(t)?this._putElementInTemplate(We(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,o){if(!e.length)return e;if(o&&"function"==typeof o)return o(e);const r=(new window.DOMParser).parseFromString(e,"text/html"),n=[].concat(...r.body.querySelectorAll("*"));for(const e of n){const o=e.nodeName.toLowerCase();if(!Object.keys(t).includes(o)){e.remove();continue}const r=[].concat(...e.attributes),n=[].concat(t["*"]||[],t[o]||[]);for(const t of r)Xr(t,n)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Xe(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const on=new Set(["sanitize","allowList","sanitizeFn"]),rn="fade",nn="show",sn=".modal",an="hide.bs.modal",pn="hover",ln="focus",gn={AUTO:"auto",TOP:"top",RIGHT:Ke()?"left":"right",BOTTOM:"bottom",LEFT:Ke()?"right":"left"},un={allowList:Yr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},cn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class dn extends Et{constructor(e,t){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return un}static get DefaultType(){return cn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),ht.off(this._element.closest(sn),an,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=ht.trigger(this._element,this.constructor.eventName("show")),t=(qe(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(o),ht.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(o),o.classList.add(nn),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.on(e,"mouseover",ze);this._queueCallback((()=>{ht.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(ht.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(nn),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))ht.off(e,"mouseover",ze);this._activeTrigger.click=!1,this._activeTrigger[ln]=!1,this._activeTrigger[pn]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ht.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(rn,nn),t.classList.add(`bs-${this.constructor.NAME}-auto`);const o=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",o),this._isAnimated()&&t.classList.add(rn),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new tn({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(rn)}_isShown(){return this.tip&&this.tip.classList.contains(nn)}_createPopper(e){const t=Xe(this._config.placement,[this,e,this._element]),o=gn[t.toUpperCase()];return Pe(this._element,e,this._getPopperConfig(o))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Xe(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...Xe(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)ht.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===pn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),o=t===pn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");ht.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?ln:pn]=!0,t._enter()})),ht.on(this._element,o,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?ln:pn]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},ht.on(this._element.closest(sn),an,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=_t.getDataAttributes(this._element);for(const e of Object.keys(t))on.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:We(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,o]of Object.entries(this._config))this.constructor.Default[t]!==o&&(e[t]=o);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=dn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Je(dn);const fn={...dn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},hn={...dn.DefaultType,content:"(null|string|element|function)"};class bn extends dn{static get Default(){return fn}static get DefaultType(){return hn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=bn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Je(bn);const yn=".bs.scrollspy",mn=`activate${yn}`,_n=`click${yn}`,vn=`load${yn}.data-api`,En="active",Sn="[href]",Tn=".nav-link",On=`${Tn}, .nav-item > ${Tn}, .list-group-item`,wn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},An={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Dn extends Et{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return wn}static get DefaultType(){return An}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=We(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ht.off(this._config.target,_n),ht.on(this._config.target,_n,Sn,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const o=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(o.scrollTo)return void o.scrollTo({top:r,behavior:"smooth"});o.scrollTop=r}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),o=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,n=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const e=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&e){if(o(i),!r)return}else n||e||o(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Tt.find(Sn,this._config.target);for(const t of e){if(!t.hash||Ve(t))continue;const e=Tt.findOne(decodeURI(t.hash),this._element);He(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(En),this._activateParents(e),ht.trigger(this._element,mn,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))Tt.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(En);else for(const t of Tt.parents(e,".nav, .list-group"))for(const e of Tt.prev(t,On))e.classList.add(En)}_clearActiveClass(e){e.classList.remove(En);const t=Tt.find(`${Sn}.${En}`,e);for(const e of t)e.classList.remove(En)}static jQueryInterface(e){return this.each((function(){const t=Dn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(window,vn,(()=>{for(const e of Tt.find('[data-bs-spy="scroll"]'))Dn.getOrCreateInstance(e)})),Je(Dn);const jn=".bs.tab",Mn=`hide${jn}`,Fn=`hidden${jn}`,Rn=`show${jn}`,xn=`shown${jn}`,Pn=`click${jn}`,Cn=`keydown${jn}`,Bn=`load${jn}`,Nn="ArrowLeft",Ln="ArrowRight",In="ArrowUp",Un="ArrowDown",kn="Home",Wn="End",Hn="active",Vn="fade",qn="show",zn=".dropdown-toggle",Gn=`:not(${zn})`,$n='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yn=`${`.nav-link${Gn}, .list-group-item${Gn}, [role="tab"]${Gn}`}, ${$n}`,Kn=`.${Hn}[data-bs-toggle="tab"], .${Hn}[data-bs-toggle="pill"], .${Hn}[data-bs-toggle="list"]`;class Jn extends Et{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ht.on(this._element,Cn,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),o=t?ht.trigger(t,Mn,{relatedTarget:e}):null;ht.trigger(e,Rn,{relatedTarget:t}).defaultPrevented||o&&o.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Hn),this._activate(Tt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ht.trigger(e,xn,{relatedTarget:t})):e.classList.add(qn)}),e,e.classList.contains(Vn))}_deactivate(e,t){if(!e)return;e.classList.remove(Hn),e.blur(),this._deactivate(Tt.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ht.trigger(e,Fn,{relatedTarget:t})):e.classList.remove(qn)}),e,e.classList.contains(Vn))}_keydown(e){if(![Nn,Ln,In,Un,kn,Wn].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!Ve(e)));let o;if([kn,Wn].includes(e.key))o=t[e.key===kn?0:t.length-1];else{const r=[Ln,Un].includes(e.key);o=Qe(t,e.target,r,!0)}o&&(o.focus({preventScroll:!0}),Jn.getOrCreateInstance(o).show())}_getChildren(){return Tt.find(Yn,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),o=this._getOuterElement(e);e.setAttribute("aria-selected",t),o!==e&&this._setAttributeIfNotExists(o,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=Tt.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const o=this._getOuterElement(e);if(!o.classList.contains("dropdown"))return;const r=(e,r)=>{const n=Tt.findOne(e,o);n&&n.classList.toggle(r,t)};r(zn,Hn),r(".dropdown-menu",qn),o.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,o){e.hasAttribute(t)||e.setAttribute(t,o)}_elemIsActive(e){return e.classList.contains(Hn)}_getInnerElement(e){return e.matches(Yn)?e:Tt.findOne(Yn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Jn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ht.on(document,Pn,$n,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ve(this)||Jn.getOrCreateInstance(this).show()})),ht.on(window,Bn,(()=>{for(const e of Tt.find(Kn))Jn.getOrCreateInstance(e)})),Je(Jn);const Xn=".bs.toast",Zn=`mouseover${Xn}`,Qn=`mouseout${Xn}`,ei=`focusin${Xn}`,ti=`focusout${Xn}`,oi=`hide${Xn}`,ri=`hidden${Xn}`,ni=`show${Xn}`,ii=`shown${Xn}`,si="hide",ai="show",pi="showing",li={animation:"boolean",autohide:"boolean",delay:"number"},gi={animation:!0,autohide:!0,delay:5e3};class ui extends Et{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return gi}static get DefaultType(){return li}static get NAME(){return"toast"}show(){if(ht.trigger(this._element,ni).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(si),Ge(this._element),this._element.classList.add(ai,pi),this._queueCallback((()=>{this._element.classList.remove(pi),ht.trigger(this._element,ii),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(ht.trigger(this._element,oi).defaultPrevented)return;this._element.classList.add(pi),this._queueCallback((()=>{this._element.classList.add(si),this._element.classList.remove(pi,ai),ht.trigger(this._element,ri)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ai),super.dispose()}isShown(){return this._element.classList.contains(ai)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const o=e.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){ht.on(this._element,Zn,(e=>this._onInteraction(e,!0))),ht.on(this._element,Qn,(e=>this._onInteraction(e,!1))),ht.on(this._element,ei,(e=>this._onInteraction(e,!0))),ht.on(this._element,ti,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=ui.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}Ot(ui),Je(ui)},3019:function(__unused_webpack_module,exports,__webpack_require__){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,o){e instanceof String&&(e=String(e));for(var r=e.length,n=0;n=r}}),"es6","es3"),$jscomp.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var r=o.length,n=e.length;t=Math.max(0,Math.min(0|t,o.length));for(var i=0;i=n}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279>>=1)&&(t+=t);return o}}),"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.exportPath_=function(e,t,o){e=e.split("."),o=o||goog.global,e[0]in o||void 0===o.execScript||o.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)e.length||void 0===t?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=t},goog.define=function(e,t){if(!COMPILED){var o=goog.global.CLOSURE_UNCOMPILED_DEFINES,r=goog.global.CLOSURE_DEFINES;o&&void 0===o.nodeType&&Object.prototype.hasOwnProperty.call(o,e)?t=o[e]:r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)&&(t=r[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var o=e;(o=o.substring(0,o.lastIndexOf(".")))&&!goog.getObjectByName(o);)goog.implicitNamespaces_[o]=!0}goog.exportPath_(e,t)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if("string"!=typeof e||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return!!e&&("function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath())},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&null!=goog.getObjectByName(e)},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"==typeof e.clone)return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.cloneObject(e[o]);return t}return e},goog.bindNative_=function(e,t,o){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,o){if(!e)throw Error();if(2{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2 ** 2 == 4")})),a("es8",(function(){return b("async () => 1, true")})),a("es9",(function(){return b("({...rest} = {}), true")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var o=this.createRequiresTranspilation_();this.requiresTranspilation_=o.map,this.transpilationTarget_=this.transpilationTarget_||o.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function o(){r&&(goog.global.setTimeout(r,0),r=null)}var r=t;if(e.length){t=[];for(var n=0;n<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}else{var n=t.createElement("script");n.defer=goog.Dependency.defer_,n.async=!1,n.type="text/javascript",(r=goog.getScriptNonce())&&n.setAttribute("nonce",r),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(e.loaded(),e.resume())}):n.onload=function(){n.onload=null,e.loaded()},n.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(n)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,o,r,n){goog.Dependency.call(this,e,t,o,r,n)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,o=this;if(goog.isDocumentLoading_()){var r=function(e,o){e=o?'