(()=>{var Vr=Object.create;var dn=Object.defineProperty;var Hr=Object.getOwnPropertyDescriptor;var jr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Wr=Object.prototype.hasOwnProperty;var Fr=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports);var Kr=(n,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jr(t))!Wr.call(n,i)&&i!==e&&dn(n,i,{get:()=>t[i],enumerable:!(r=Hr(t,i))||r.enumerable});return n};var hn=(n,t,e)=>(e=n!=null?Vr(Br(n)):{},Kr(t||!n||!n.__esModule?dn(e,"default",{value:n,enumerable:!0}):e,n));var qe=Fr(P=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0});function z(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function Et(n){var t=z(n).Element;return n instanceof t||n instanceof Element}function K(n){var t=z(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function ir(n){if(typeof ShadowRoot=="undefined")return!1;var t=z(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}var ft=Math.max,ee=Math.min,bt=Math.round;function yt(n,t){t===void 0&&(t=!1);var e=n.getBoundingClientRect(),r=1,i=1;if(K(n)&&t){var s=n.offsetHeight,o=n.offsetWidth;o>0&&(r=bt(e.width)/o||1),s>0&&(i=bt(e.height)/s||1)}return{width:e.width/r,height:e.height/i,top:e.top/i,right:e.right/r,bottom:e.bottom/i,left:e.left/r,x:e.left/r,y:e.top/i}}function ke(n){var t=z(n),e=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:e,scrollTop:r}}function po(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function ho(n){return n===z(n)||!K(n)?ke(n):po(n)}function Q(n){return n?(n.nodeName||"").toLowerCase():null}function rt(n){return((Et(n)?n.ownerDocument:n.document)||window.document).documentElement}function $e(n){return yt(rt(n)).left+ke(n).scrollLeft}function X(n){return z(n).getComputedStyle(n)}function Ve(n){var t=X(n),e=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+r)}function mo(n){var t=n.getBoundingClientRect(),e=bt(t.width)/n.offsetWidth||1,r=bt(t.height)/n.offsetHeight||1;return e!==1||r!==1}function go(n,t,e){e===void 0&&(e=!1);var r=K(t),i=K(t)&&mo(t),s=rt(t),o=yt(n,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!e)&&((Q(t)!=="body"||Ve(s))&&(a=ho(t)),K(t)?(l=yt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=$e(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function He(n){var t=yt(n),e=n.offsetWidth,r=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:r}}function ne(n){return Q(n)==="html"?n:n.assignedSlot||n.parentNode||(ir(n)?n.host:null)||rt(n)}function or(n){return["html","body","#document"].indexOf(Q(n))>=0?n.ownerDocument.body:K(n)&&Ve(n)?n:or(ne(n))}function Rt(n,t){var e;t===void 0&&(t=[]);var r=or(n),i=r===((e=n.ownerDocument)==null?void 0:e.body),s=z(r),o=i?[s].concat(s.visualViewport||[],Ve(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(Rt(ne(o)))}function _o(n){return["table","td","th"].indexOf(Q(n))>=0}function Gn(n){return!K(n)||X(n).position==="fixed"?null:n.offsetParent}function vo(n){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,e=navigator.userAgent.indexOf("Trident")!==-1;if(e&&K(n)){var r=X(n);if(r.position==="fixed")return null}for(var i=ne(n);K(i)&&["html","body"].indexOf(Q(i))<0;){var s=X(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function $t(n){for(var t=z(n),e=Gn(n);e&&_o(e)&&X(e).position==="static";)e=Gn(e);return e&&(Q(e)==="html"||Q(e)==="body"&&X(e).position==="static")?t:e||vo(n)||t}var R="top",Y="bottom",U="right",M="left",je="auto",Vt=[R,Y,U,M],At="start",kt="end",Eo="clippingParents",sr="viewport",It="popper",bo="reference",Qn=Vt.reduce(function(n,t){return n.concat([t+"-"+At,t+"-"+kt])},[]),ar=[].concat(Vt,[je]).reduce(function(n,t){return n.concat([t,t+"-"+At,t+"-"+kt])},[]),yo="beforeRead",Ao="read",To="afterRead",wo="beforeMain",Oo="main",Co="afterMain",So="beforeWrite",No="write",Do="afterWrite",Lo=[yo,Ao,To,wo,Oo,Co,So,No,Do];function xo(n){var t=new Map,e=new Set,r=[];n.forEach(function(s){t.set(s.name,s)});function i(s){e.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&i(l)}}),r.push(s)}return n.forEach(function(s){e.has(s.name)||i(s)}),r}function Po(n){var t=xo(n);return Lo.reduce(function(e,r){return e.concat(t.filter(function(i){return i.phase===r}))},[])}function Io(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}function G(n){return n.split("-")[0]}function Ro(n){var t=n.reduce(function(e,r){var i=e[r.name];return e[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,e},{});return Object.keys(t).map(function(e){return t[e]})}function Mo(n){var t=z(n),e=rt(n),r=t.visualViewport,i=e.clientWidth,s=e.clientHeight,o=0,a=0;return r&&(i=r.width,s=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,a=r.offsetTop)),{width:i,height:s,x:o+$e(n),y:a}}function ko(n){var t,e=rt(n),r=ke(n),i=(t=n.ownerDocument)==null?void 0:t.body,s=ft(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=ft(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+$e(n),l=-r.scrollTop;return X(i||e).direction==="rtl"&&(a+=ft(e.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function lr(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&ir(e)){var r=t;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Me(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function $o(n){var t=yt(n);return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Xn(n,t){return t===sr?Me(Mo(n)):Et(t)?$o(t):Me(ko(rt(n)))}function Vo(n){var t=Rt(ne(n)),e=["absolute","fixed"].indexOf(X(n).position)>=0,r=e&&K(n)?$t(n):n;return Et(r)?t.filter(function(i){return Et(i)&&lr(i,r)&&Q(i)!=="body"&&(e?X(i).position!=="static":!0)}):[]}function Ho(n,t,e){var r=t==="clippingParents"?Vo(n):[].concat(t),i=[].concat(r,[e]),s=i[0],o=i.reduce(function(a,l){var f=Xn(n,l);return a.top=ft(f.top,a.top),a.right=ee(f.right,a.right),a.bottom=ee(f.bottom,a.bottom),a.left=ft(f.left,a.left),a},Xn(n,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Tt(n){return n.split("-")[1]}function Be(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function cr(n){var t=n.reference,e=n.element,r=n.placement,i=r?G(r):null,s=r?Tt(r):null,o=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,l;switch(i){case R:l={x:o,y:t.y-e.height};break;case Y:l={x:o,y:t.y+t.height};break;case U:l={x:t.x+t.width,y:a};break;case M:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var f=i?Be(i):null;if(f!=null){var c=f==="y"?"height":"width";switch(s){case At:l[f]=l[f]-(t[c]/2-e[c]/2);break;case kt:l[f]=l[f]+(t[c]/2-e[c]/2);break}}return l}function ur(){return{top:0,right:0,bottom:0,left:0}}function fr(n){return Object.assign({},ur(),n)}function pr(n,t){return t.reduce(function(e,r){return e[r]=n,e},{})}function wt(n,t){t===void 0&&(t={});var e=t,r=e.placement,i=r===void 0?n.placement:r,s=e.boundary,o=s===void 0?Eo:s,a=e.rootBoundary,l=a===void 0?sr:a,f=e.elementContext,c=f===void 0?It:f,d=e.altBoundary,v=d===void 0?!1:d,h=e.padding,g=h===void 0?0:h,_=fr(typeof g!="number"?g:pr(g,Vt)),m=c===It?bo:It,w=n.rects.popper,O=n.elements[v?m:c],C=Ho(Et(O)?O:O.contextElement||rt(n.elements.popper),o,l),E=yt(n.elements.reference),A=cr({reference:E,element:w,strategy:"absolute",placement:i}),b=Me(Object.assign({},w,A)),y=c===It?b:E,S={top:C.top-y.top+_.top,bottom:y.bottom-C.bottom+_.bottom,left:C.left-y.left+_.left,right:y.right-C.right+_.right},N=n.modifiersData.offset;if(c===It&&N){var D=N[i];Object.keys(S).forEach(function(T){var L=[U,Y].indexOf(T)>=0?1:-1,it=[R,Y].indexOf(T)>=0?"y":"x";S[T]+=D[it]*L})}return S}var Jn={placement:"bottom",modifiers:[],strategy:"absolute"};function Zn(){for(var n=arguments.length,t=new Array(n),e=0;e=0?-1:1,s=typeof e=="function"?e(Object.assign({},t,{placement:n})):e,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[M,U].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function zo(n){var t=n.state,e=n.options,r=n.name,i=e.offset,s=i===void 0?[0,0]:i,o=ar.reduce(function(c,d){return c[d]=qo(d,t.rects,s),c},{}),a=o[t.placement],l=a.x,f=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=o}var dr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:zo},Go={left:"right",right:"left",bottom:"top",top:"bottom"};function te(n){return n.replace(/left|right|bottom|top/g,function(t){return Go[t]})}var Qo={start:"end",end:"start"};function er(n){return n.replace(/start|end/g,function(t){return Qo[t]})}function Xo(n,t){t===void 0&&(t={});var e=t,r=e.placement,i=e.boundary,s=e.rootBoundary,o=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,f=l===void 0?ar:l,c=Tt(r),d=c?a?Qn:Qn.filter(function(g){return Tt(g)===c}):Vt,v=d.filter(function(g){return f.indexOf(g)>=0});v.length===0&&(v=d);var h=v.reduce(function(g,_){return g[_]=wt(n,{placement:_,boundary:i,rootBoundary:s,padding:o})[G(_)],g},{});return Object.keys(h).sort(function(g,_){return h[g]-h[_]})}function Jo(n){if(G(n)===je)return[];var t=te(n);return[er(n),t,er(t)]}function Zo(n){var t=n.state,e=n.options,r=n.name;if(!t.modifiersData[r]._skip){for(var i=e.mainAxis,s=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!0:o,l=e.fallbackPlacements,f=e.padding,c=e.boundary,d=e.rootBoundary,v=e.altBoundary,h=e.flipVariations,g=h===void 0?!0:h,_=e.allowedAutoPlacements,m=t.options.placement,w=G(m),O=w===m,C=l||(O||!g?[te(m)]:Jo(m)),E=[m].concat(C).reduce(function(ht,Z){return ht.concat(G(Z)===je?Xo(t,{placement:Z,boundary:c,rootBoundary:d,padding:f,flipVariations:g,allowedAutoPlacements:_}):Z)},[]),A=t.rects.reference,b=t.rects.popper,y=new Map,S=!0,N=E[0],D=0;D=0,Nt=St?"width":"height",k=wt(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:v,padding:f}),q=St?it?U:M:it?Y:R;A[Nt]>b[Nt]&&(q=te(q));var Bt=te(q),ot=[];if(s&&ot.push(k[L]<=0),a&&ot.push(k[q]<=0,k[Bt]<=0),ot.every(function(ht){return ht})){N=T,S=!1;break}y.set(T,ot)}if(S)for(var Wt=g?3:1,ae=function(Z){var Lt=E.find(function(Kt){var st=y.get(Kt);if(st)return st.slice(0,Z).every(function(le){return le})});if(Lt)return N=Lt,"break"},Dt=Wt;Dt>0;Dt--){var Ft=ae(Dt);if(Ft==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}var hr={name:"flip",enabled:!0,phase:"main",fn:Zo,requiresIfExists:["offset"],data:{_skip:!1}};function ts(n){return n==="x"?"y":"x"}function Mt(n,t,e){return ft(n,ee(t,e))}function es(n,t,e){var r=Mt(n,t,e);return r>e?e:r}function ns(n){var t=n.state,e=n.options,r=n.name,i=e.mainAxis,s=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!1:o,l=e.boundary,f=e.rootBoundary,c=e.altBoundary,d=e.padding,v=e.tether,h=v===void 0?!0:v,g=e.tetherOffset,_=g===void 0?0:g,m=wt(t,{boundary:l,rootBoundary:f,padding:d,altBoundary:c}),w=G(t.placement),O=Tt(t.placement),C=!O,E=Be(w),A=ts(E),b=t.modifiersData.popperOffsets,y=t.rects.reference,S=t.rects.popper,N=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,D=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(b){if(s){var it,St=E==="y"?R:M,Nt=E==="y"?Y:U,k=E==="y"?"height":"width",q=b[E],Bt=q+m[St],ot=q-m[Nt],Wt=h?-S[k]/2:0,ae=O===At?y[k]:S[k],Dt=O===At?-S[k]:-y[k],Ft=t.elements.arrow,ht=h&&Ft?He(Ft):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ur(),Lt=Z[St],Kt=Z[Nt],st=Mt(0,y[k],ht[k]),le=C?y[k]/2-Wt-st-Lt-D.mainAxis:ae-st-Lt-D.mainAxis,Pr=C?-y[k]/2+Wt+st+Kt+D.mainAxis:Dt+st+Kt+D.mainAxis,ce=t.elements.arrow&&$t(t.elements.arrow),Ir=ce?E==="y"?ce.clientTop||0:ce.clientLeft||0:0,rn=(it=T==null?void 0:T[E])!=null?it:0,Rr=q+le-rn-Ir,Mr=q+Pr-rn,on=Mt(h?ee(Bt,Rr):Bt,q,h?ft(ot,Mr):ot);b[E]=on,L[E]=on-q}if(a){var sn,kr=E==="x"?R:M,$r=E==="x"?Y:U,at=b[A],Yt=A==="y"?"height":"width",an=at+m[kr],ln=at-m[$r],ue=[R,M].indexOf(w)!==-1,cn=(sn=T==null?void 0:T[A])!=null?sn:0,un=ue?an:at-y[Yt]-S[Yt]-cn+D.altAxis,fn=ue?at+y[Yt]+S[Yt]-cn-D.altAxis:ln,pn=h&&ue?es(un,at,fn):Mt(h?un:an,at,h?fn:ln);b[A]=pn,L[A]=pn-at}t.modifiersData[r]=L}}var mr={name:"preventOverflow",enabled:!0,phase:"main",fn:ns,requiresIfExists:["offset"]},rs=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,fr(typeof t!="number"?t:pr(t,Vt))};function is(n){var t,e=n.state,r=n.name,i=n.options,s=e.elements.arrow,o=e.modifiersData.popperOffsets,a=G(e.placement),l=Be(a),f=[M,U].indexOf(a)>=0,c=f?"height":"width";if(!(!s||!o)){var d=rs(i.padding,e),v=He(s),h=l==="y"?R:M,g=l==="y"?Y:U,_=e.rects.reference[c]+e.rects.reference[l]-o[l]-e.rects.popper[c],m=o[l]-e.rects.reference[l],w=$t(s),O=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,C=_/2-m/2,E=d[h],A=O-v[c]-d[g],b=O/2-v[c]/2+C,y=Mt(E,b,A),S=l;e.modifiersData[r]=(t={},t[S]=y,t.centerOffset=y-b,t)}}function os(n){var t=n.state,e=n.options,r=e.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||lr(t.elements.popper,i)&&(t.elements.arrow=i))}var gr={name:"arrow",enabled:!0,phase:"main",fn:is,effect:os,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nr(n,t,e){return e===void 0&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function rr(n){return[R,U,Y,M].some(function(t){return n[t]>=0})}function ss(n){var t=n.state,e=n.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=wt(t,{elementContext:"reference"}),a=wt(t,{altBoundary:!0}),l=nr(o,r),f=nr(a,i,s),c=rr(l),d=rr(f);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}var _r={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ss},as=[Fe,Ke,Ye,Ue],ls=We({defaultModifiers:as}),vr=[Fe,Ke,Ye,Ue,dr,hr,mr,gr,_r],cs=We({defaultModifiers:vr});P.applyStyles=Ue;P.arrow=gr;P.computeStyles=Ye;P.createPopper=cs;P.createPopperLite=ls;P.defaultModifiers=vr;P.detectOverflow=wt;P.eventListeners=Fe;P.flip=hr;P.hide=_r;P.offset=dr;P.popperGenerator=We;P.popperOffsets=Ke;P.preventOverflow=mr});var tt=new Map,Ut={set(n,t,e){tt.has(n)||tt.set(n,new Map);let r=tt.get(n);if(!r.has(t)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(t,e)},get(n,t){return tt.has(n)&&tt.get(n).get(t)||null},remove(n,t){if(!tt.has(n))return;let e=tt.get(n);e.delete(t),e.size===0&&tt.delete(n)}};var pe="transitionend",de=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),n),mn=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),gn=n=>{do n+=Math.floor(Math.random()*1e6);while(document.getElementById(n));return n},Yr=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(n),r=Number.parseFloat(t),i=Number.parseFloat(e);return!r&&!i?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*1e3)},Ur=n=>{n.dispatchEvent(new Event(pe))},$=n=>!n||typeof n!="object"?!1:(typeof n.jquery!="undefined"&&(n=n[0]),typeof n.nodeType!="undefined"),I=n=>$(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(de(n)):null,et=n=>{if(!$(n)||n.getClientRects().length===0)return!1;let t=getComputedStyle(n).getPropertyValue("visibility")==="visible",e=n.closest("details:not([open])");if(!e)return t;if(e!==n){let r=n.closest("summary");if(r&&r.parentNode!==e||r===null)return!1}return t},H=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled!="undefined"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",he=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){let t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?he(n.parentNode):null},mt=()=>{},gt=n=>{n.offsetHeight},me=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,fe=[],qr=n=>{document.readyState==="loading"?(fe.length||document.addEventListener("DOMContentLoaded",()=>{for(let t of fe)t()}),fe.push(n)):n()},V=()=>document.documentElement.dir==="rtl",j=n=>{qr(()=>{let t=me();if(t){let e=n.NAME,r=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=r,n.jQueryInterface)}})},x=(n,t=[],e=n)=>typeof n=="function"?n(...t):e,qt=(n,t,e=!0)=>{if(!e){x(n);return}let r=5,i=Yr(t)+r,s=!1,o=({target:a})=>{a===t&&(s=!0,t.removeEventListener(pe,o),x(n))};t.addEventListener(pe,o),setTimeout(()=>{s||Ur(t)},i)},zt=(n,t,e,r)=>{let i=n.length,s=n.indexOf(t);return s===-1?!e&&r?n[i-1]:n[0]:(s+=e?1:-1,r&&(s=(s+i)%i),n[Math.max(0,Math.min(s,i-1))])};var zr=/[^.]*(?=\..*)\.|.*/,Gr=/\..*/,Qr=/::\d+$/,ge={},_n=1,En={mouseenter:"mouseover",mouseleave:"mouseout"},Xr=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 bn(n,t){return t&&`${t}::${_n++}`||n.uidEvent||_n++}function yn(n){let t=bn(n);return n.uidEvent=t,ge[t]=ge[t]||{},ge[t]}function Jr(n,t){return function e(r){return Ee(r,{delegateTarget:n}),e.oneOff&&ve.off(n,r.type,t),t.apply(n,[r])}}function Zr(n,t,e){return function r(i){let s=n.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let a of s)if(a===o)return Ee(i,{delegateTarget:o}),r.oneOff&&ve.off(n,i.type,t,e),e.apply(o,[i])}}function An(n,t,e=null){return Object.values(n).find(r=>r.callable===t&&r.delegationSelector===e)}function Tn(n,t,e){let r=typeof t=="string",i=r?e:t||e,s=wn(n);return Xr.has(s)||(s=n),[r,i,s]}function vn(n,t,e,r,i){if(typeof t!="string"||!n)return;let[s,o,a]=Tn(t,e,r);t in En&&(o=(g=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return g.call(this,_)})(o));let l=yn(n),f=l[a]||(l[a]={}),c=An(f,o,s?e:null);if(c){c.oneOff=c.oneOff&&i;return}let d=bn(o,t.replace(zr,"")),v=s?Zr(n,e,o):Jr(n,o);v.delegationSelector=s?e:null,v.callable=o,v.oneOff=i,v.uidEvent=d,f[d]=v,n.addEventListener(a,v,s)}function _e(n,t,e,r,i){let s=An(t[e],r,i);s&&(n.removeEventListener(e,s,!!i),delete t[e][s.uidEvent])}function ti(n,t,e,r){let i=t[e]||{};for(let[s,o]of Object.entries(i))s.includes(r)&&_e(n,t,e,o.callable,o.delegationSelector)}function wn(n){return n=n.replace(Gr,""),En[n]||n}var ve={on(n,t,e,r){vn(n,t,e,r,!1)},one(n,t,e,r){vn(n,t,e,r,!0)},off(n,t,e,r){if(typeof t!="string"||!n)return;let[i,s,o]=Tn(t,e,r),a=o!==t,l=yn(n),f=l[o]||{},c=t.startsWith(".");if(typeof s!="undefined"){if(!Object.keys(f).length)return;_e(n,l,o,s,i?e:null);return}if(c)for(let d of Object.keys(l))ti(n,l,d,t.slice(1));for(let[d,v]of Object.entries(f)){let h=d.replace(Qr,"");(!a||t.includes(h))&&_e(n,l,o,v.callable,v.delegationSelector)}},trigger(n,t,e){if(typeof t!="string"||!n)return null;let r=me(),i=wn(t),s=t!==i,o=null,a=!0,l=!0,f=!1;s&&r&&(o=r.Event(t,e),r(n).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),f=o.isDefaultPrevented());let c=Ee(new Event(t,{bubbles:a,cancelable:!0}),e);return f&&c.preventDefault(),l&&n.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function Ee(n,t={}){for(let[e,r]of Object.entries(t))try{n[e]=r}catch(i){Object.defineProperty(n,e,{configurable:!0,get(){return r}})}return n}var u=ve;function On(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch(t){return n}}function be(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var ei={setDataAttribute(n,t,e){n.setAttribute(`data-bs-${be(t)}`,e)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${be(t)}`)},getDataAttributes(n){if(!n)return{};let t={},e=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(let r of e){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=On(n.dataset[r])}return t},getDataAttribute(n,t){return On(n.getAttribute(`data-bs-${be(t)}`))}},B=ei;var ye=class{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){let r=$(e)?B.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...$(e)?B.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(let[r,i]of Object.entries(e)){let s=t[r],o=$(s)?"element":mn(s);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}}},nt=ye;var ni="5.3.2",Ae=class extends nt{constructor(t,e){super(),t=I(t),t&&(this._element=t,this._config=this._getConfig(e),Ut.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ut.remove(this._element,this.constructor.DATA_KEY),u.off(this._element,this.constructor.EVENT_KEY);for(let t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,r=!0){qt(t,e,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Ut.get(I(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return ni}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},W=Ae;var Te=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let e=n.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?de(e.trim()):null}return t},Gt={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(e=>e.matches(t))},parents(n,t){let e=[],r=n.parentNode.closest(t);for(;r;)e.push(r),r=r.parentNode.closest(t);return e},prev(n,t){let e=n.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(n,t){let e=n.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(n){let t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(e=>!H(e)&&et(e))},getSelectorFromElement(n){let t=Te(n);return t&&Gt.findOne(t)?t:null},getElementFromSelector(n){let t=Te(n);return t?Gt.findOne(t):null},getMultipleElementsFromSelector(n){let t=Te(n);return t?Gt.find(t):[]}},p=Gt;var ri="tab",ii="bs.tab",ct=`.${ii}`,oi=`hide${ct}`,si=`hidden${ct}`,ai=`show${ct}`,li=`shown${ct}`,ci=`click${ct}`,ui=`keydown${ct}`,fi=`load${ct}`,pi="ArrowLeft",Cn="ArrowRight",di="ArrowUp",Sn="ArrowDown",we="Home",Nn="End",lt="active",Dn="fade",Oe="show",hi="dropdown",Ln=".dropdown-toggle",mi=".dropdown-menu",Ce=`:not(${Ln})`,gi='.list-group, .nav, [role="tablist"]',_i=".nav-item, .list-group-item",vi=`.nav-link${Ce}, .list-group-item${Ce}, [role="tab"]${Ce}`,xn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Se=`${vi}, ${xn}`,Ei=`.${lt}[data-bs-toggle="tab"], .${lt}[data-bs-toggle="pill"], .${lt}[data-bs-toggle="list"]`,_t=class n extends W{constructor(t){super(t),this._parent=this._element.closest(gi),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),u.on(this._element,ui,e=>this._keydown(e)))}static get NAME(){return ri}show(){let t=this._element;if(this._elemIsActive(t))return;let e=this._getActiveElem(),r=e?u.trigger(e,oi,{relatedTarget:t}):null;u.trigger(t,ai,{relatedTarget:e}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(lt),this._activate(p.getElementFromSelector(t));let r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Oe);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),u.trigger(t,li,{relatedTarget:e})};this._queueCallback(r,t,t.classList.contains(Dn))}_deactivate(t,e){if(!t)return;t.classList.remove(lt),t.blur(),this._deactivate(p.getElementFromSelector(t));let r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Oe);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),u.trigger(t,si,{relatedTarget:e})};this._queueCallback(r,t,t.classList.contains(Dn))}_keydown(t){if(![pi,Cn,di,Sn,we,Nn].includes(t.key))return;t.stopPropagation(),t.preventDefault();let e=this._getChildren().filter(i=>!H(i)),r;if([we,Nn].includes(t.key))r=e[t.key===we?0:e.length-1];else{let i=[Cn,Sn].includes(t.key);r=zt(e,t.target,i,!0)}r&&(r.focus({preventScroll:!0}),n.getOrCreateInstance(r).show())}_getChildren(){return p.find(Se,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(let r of e)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);let e=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",e),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){let e=p.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){let r=this._getOuterElement(t);if(!r.classList.contains(hi))return;let i=(s,o)=>{let a=p.findOne(s,r);a&&a.classList.toggle(o,e)};i(Ln,lt),i(mi,Oe),r.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,r){t.hasAttribute(e)||t.setAttribute(e,r)}_elemIsActive(t){return t.classList.contains(lt)}_getInnerElement(t){return t.matches(Se)?t:p.findOne(Se,t)}_getOuterElement(t){return t.closest(_i)||t}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}};u.on(document,ci,xn,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!H(this)&&_t.getOrCreateInstance(this).show()});u.on(window,fi,()=>{for(let n of p.find(Ei))_t.getOrCreateInstance(n)});j(_t);var Pn=_t;var Mn="backdrop",bi="fade",In="show",Rn=`mousedown.bs.${Mn}`,yi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ai={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Ne=class extends nt{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return yi}static get DefaultType(){return Ai}static get NAME(){return Mn}show(t){if(!this._config.isVisible){x(t);return}this._append();let e=this._getElement();this._config.isAnimated&>(e),e.classList.add(In),this._emulateAnimation(()=>{x(t)})}hide(t){if(!this._config.isVisible){x(t);return}this._getElement().classList.remove(In),this._emulateAnimation(()=>{this.dispose(),x(t)})}dispose(){this._isAppended&&(u.off(this._element,Rn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(bi),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=I(t.rootElement),t}_append(){if(this._isAppended)return;let t=this._getElement();this._config.rootElement.append(t),u.on(t,Rn,()=>{x(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){qt(t,this._getElement(),this._config.isAnimated)}},kn=Ne;var $n=(n,t="hide")=>{let e=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;u.on(document,e,`[data-bs-dismiss="${r}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),H(this))return;let s=p.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[t]()})};var Ti="focustrap",wi="bs.focustrap",Qt=`.${wi}`,Oi=`focusin${Qt}`,Ci=`keydown.tab${Qt}`,Si="Tab",Ni="forward",Vn="backward",Di={autofocus:!0,trapElement:null},Li={autofocus:"boolean",trapElement:"element"},De=class extends nt{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Di}static get DefaultType(){return Li}static get NAME(){return Ti}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),u.off(document,Qt),u.on(document,Oi,t=>this._handleFocusin(t)),u.on(document,Ci,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,u.off(document,Qt))}_handleFocusin(t){let{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;let r=p.focusableChildren(e);r.length===0?e.focus():this._lastTabNavDirection===Vn?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key===Si&&(this._lastTabNavDirection=t.shiftKey?Vn:Ni)}},Hn=De;var jn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Bn=".sticky-top",Xt="padding-right",Wn="margin-right",Le=class{constructor(){this._element=document.body}getWidth(){let t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Xt,e=>e+t),this._setElementAttributes(jn,Xt,e=>e+t),this._setElementAttributes(Bn,Wn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Xt),this._resetElementAttributes(jn,Xt),this._resetElementAttributes(Bn,Wn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,r){let i=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,e);let a=window.getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,s)}_saveInitialAttribute(t,e){let r=t.style.getPropertyValue(e);r&&B.setDataAttribute(t,e,r)}_resetElementAttributes(t,e){let r=i=>{let s=B.getDataAttribute(i,e);if(s===null){i.style.removeProperty(e);return}B.removeDataAttribute(i,e),i.style.setProperty(e,s)};this._applyManipulationCallback(t,r)}_applyManipulationCallback(t,e){if($(t)){e(t);return}for(let r of p.find(t,this._element))e(r)}},Fn=Le;var xi="modal",Pi="bs.modal",F=`.${Pi}`,Ii=".data-api",Ri="Escape",Mi=`hide${F}`,ki=`hidePrevented${F}`,Un=`hidden${F}`,qn=`show${F}`,$i=`shown${F}`,Vi=`resize${F}`,Hi=`click.dismiss${F}`,ji=`mousedown.dismiss${F}`,Bi=`keydown.dismiss${F}`,Wi=`click${F}${Ii}`,Kn="modal-open",Fi="fade",Yn="show",xe="modal-static",Ki=".modal.show",Yi=".modal-dialog",Ui=".modal-body",qi='[data-bs-toggle="modal"]',zi={backdrop:!0,focus:!0,keyboard:!0},Gi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},ut=class n extends W{constructor(t,e){super(t,e),this._dialog=p.findOne(Yi,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fn,this._addEventListeners()}static get Default(){return zi}static get DefaultType(){return Gi}static get NAME(){return xi}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||u.trigger(this._element,qn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Kn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||u.trigger(this._element,Mi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Yn),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){u.off(window,F),u.off(this._dialog,F),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new kn({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Hn({trapElement:this._element})}_showElement(t){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;let e=p.findOne(Ui,this._dialog);e&&(e.scrollTop=0),gt(this._element),this._element.classList.add(Yn);let r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,u.trigger(this._element,$i,{relatedTarget:t})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){u.on(this._element,Bi,t=>{if(t.key===Ri){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),u.on(window,Vi,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),u.on(this._element,ji,t=>{u.one(this._element,Hi,e=>{if(!(this._element!==t.target||this._element!==e.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(Kn),this._resetAdjustments(),this._scrollBar.reset(),u.trigger(this._element,Un)})}_isAnimated(){return this._element.classList.contains(Fi)}_triggerBackdropTransition(){if(u.trigger(this._element,ki).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(xe)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(xe),this._queueCallback(()=>{this._element.classList.remove(xe),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),r=e>0;if(r&&!t){let i=V()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!r&&t){let i=V()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){let r=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError(`No method named "${t}"`);r[t](e)}})}};u.on(document,Wi,qi,function(n){let t=p.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),u.one(t,qn,i=>{i.defaultPrevented||u.one(t,Un,()=>{et(this)&&this.focus()})});let e=p.findOne(Ki);e&&ut.getInstance(e).hide(),ut.getOrCreateInstance(t).toggle(this)});$n(ut);j(ut);var zn=ut;var Qi="collapse",Xi="bs.collapse",Pt=`.${Xi}`,Ji=".data-api",Zi=`show${Pt}`,to=`shown${Pt}`,eo=`hide${Pt}`,no=`hidden${Pt}`,ro=`click${Pt}${Ji}`,Pe="show",vt="collapse",Jt="collapsing",io="collapsed",oo=`:scope .${vt} .${vt}`,so="collapse-horizontal",ao="width",lo="height",co=".collapse.show, .collapse.collapsing",Ie='[data-bs-toggle="collapse"]',uo={parent:null,toggle:!0},fo={parent:"(null|element)",toggle:"boolean"},xt=class n extends W{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];let r=p.find(Ie);for(let i of r){let s=p.getSelectorFromElement(i),o=p.find(s).filter(a=>a===this._element);s!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return uo}static get DefaultType(){return fo}static get NAME(){return Qi}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(co).filter(a=>a!==this._element).map(a=>n.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||u.trigger(this._element,Zi).defaultPrevented)return;for(let a of t)a.hide();let r=this._getDimension();this._element.classList.remove(vt),this._element.classList.add(Jt),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let i=()=>{this._isTransitioning=!1,this._element.classList.remove(Jt),this._element.classList.add(vt,Pe),this._element.style[r]="",u.trigger(this._element,to)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||u.trigger(this._element,eo).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,gt(this._element),this._element.classList.add(Jt),this._element.classList.remove(vt,Pe);for(let i of this._triggerArray){let s=p.getElementFromSelector(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;let r=()=>{this._isTransitioning=!1,this._element.classList.remove(Jt),this._element.classList.add(vt),u.trigger(this._element,no)};this._element.style[e]="",this._queueCallback(r,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Pe)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=I(t.parent),t}_getDimension(){return this._element.classList.contains(so)?ao:lo}_initializeChildren(){if(!this._config.parent)return;let t=this._getFirstLevelChildren(Ie);for(let e of t){let r=p.getElementFromSelector(e);r&&this._addAriaAndCollapsedClass([e],this._isShown(r))}}_getFirstLevelChildren(t){let e=p.find(oo,this._config.parent);return p.find(t,this._config.parent).filter(r=>!e.includes(r))}_addAriaAndCollapsedClass(t,e){if(t.length)for(let r of t)r.classList.toggle(io,!e),r.setAttribute("aria-expanded",e)}static jQueryInterface(t){let e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){let r=n.getOrCreateInstance(this,e);if(typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError(`No method named "${t}"`);r[t]()}})}};u.on(document,ro,Ie,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(let t of p.getMultipleElementsFromSelector(this))xt.getOrCreateInstance(t,{toggle:!1}).toggle()});j(xt);var Re=xt;var ze=hn(qe());var Er="dropdown",us="bs.dropdown",dt=`.${us}`,Ge=".data-api",fs="Escape",br="Tab",ps="ArrowUp",yr="ArrowDown",ds=2,hs=`hide${dt}`,ms=`hidden${dt}`,gs=`show${dt}`,_s=`shown${dt}`,Ar=`click${dt}${Ge}`,Tr=`keydown${dt}${Ge}`,vs=`keyup${dt}${Ge}`,Ot="show",Es="dropup",bs="dropend",ys="dropstart",As="dropup-center",Ts="dropdown-center",pt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ws=`${pt}.${Ot}`,re=".dropdown-menu",Os=".navbar",Cs=".navbar-nav",Ss=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ns=V()?"top-end":"top-start",Ds=V()?"top-start":"top-end",Ls=V()?"bottom-end":"bottom-start",xs=V()?"bottom-start":"bottom-end",Ps=V()?"left-start":"right-start",Is=V()?"right-start":"left-start",Rs="top",Ms="bottom",ks={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},$s={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},J=class n extends W{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=p.next(this._element,re)[0]||p.prev(this._element,re)[0]||p.findOne(re,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ks}static get DefaultType(){return $s}static get NAME(){return Er}toggle(){return this._isShown()?this.hide():this.show()}show(){if(H(this._element)||this._isShown())return;let t={relatedTarget:this._element};if(!u.trigger(this._element,gs,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Cs))for(let r of[].concat(...document.body.children))u.on(r,"mouseover",mt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ot),this._element.classList.add(Ot),u.trigger(this._element,_s,t)}}hide(){if(H(this._element)||!this._isShown())return;let t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!u.trigger(this._element,hs,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(let r of[].concat(...document.body.children))u.off(r,"mouseover",mt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ot),this._element.classList.remove(Ot),this._element.setAttribute("aria-expanded","false"),B.removeDataAttribute(this._menu,"popper"),u.trigger(this._element,ms,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!$(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Er.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ze=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:$(this._config.reference)?t=I(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);let e=this._getPopperConfig();this._popper=ze.createPopper(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Ot)}_getPlacement(){let t=this._parent;if(t.classList.contains(bs))return Ps;if(t.classList.contains(ys))return Is;if(t.classList.contains(As))return Rs;if(t.classList.contains(Ts))return Ms;let e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Es)?e?Ds:Ns:e?xs:Ls}_detectNavbar(){return this._element.closest(Os)!==null}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){let t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(B.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...x(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){let r=p.find(Ss,this._menu).filter(i=>et(i));r.length&&zt(r,e,t===yr,!r.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===ds||t.type==="keyup"&&t.key!==br)return;let e=p.find(ws);for(let r of e){let i=n.getInstance(r);if(!i||i._config.autoClose===!1)continue;let s=t.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===br||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let a={relatedTarget:i._element};t.type==="click"&&(a.clickEvent=t),i._completeHide(a)}}static dataApiKeydownHandler(t){let e=/input|textarea/i.test(t.target.tagName),r=t.key===fs,i=[ps,yr].includes(t.key);if(!i&&!r||e&&!r)return;t.preventDefault();let s=this.matches(pt)?this:p.prev(this,pt)[0]||p.next(this,pt)[0]||p.findOne(pt,t.delegateTarget.parentNode),o=n.getOrCreateInstance(s);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}};u.on(document,Tr,pt,J.dataApiKeydownHandler);u.on(document,Tr,re,J.dataApiKeydownHandler);u.on(document,Ar,J.clearMenus);u.on(document,vs,J.clearMenus);u.on(document,Ar,pt,function(n){n.preventDefault(),J.getOrCreateInstance(this).toggle()});j(J);var wr=J;var Vs="scrollspy",Hs="bs.scrollspy",Xe=`.${Hs}`,js=".data-api",Bs=`activate${Xe}`,Or=`click${Xe}`,Ws=`load${Xe}${js}`,Fs="dropdown-item",Ct="active",Ks='[data-bs-spy="scroll"]',Qe="[href]",Ys=".nav, .list-group",Cr=".nav-link",Us=".nav-item",qs=".list-group-item",zs=`${Cr}, ${Us} > ${Cr}, ${qs}`,Gs=".dropdown",Qs=".dropdown-toggle",Xs={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Js={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},Ht=class n extends W{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xs}static get DefaultType(){return Js}static get NAME(){return Vs}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=I(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(u.off(this._config.target,Or),u.on(this._config.target,Or,Qe,t=>{let e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();let r=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:i,behavior:"smooth"});return}r.scrollTop=i}}))}_getNewObserver(){let t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){let e=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(e(o))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(let o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}let a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(r(o),!i)return;continue}!s&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let t=p.find(Qe,this._config.target);for(let e of t){if(!e.hash||H(e))continue;let r=p.findOne(decodeURI(e.hash),this._element);et(r)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Ct),this._activateParents(t),u.trigger(this._element,Bs,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Fs)){p.findOne(Qs,t.closest(Gs)).classList.add(Ct);return}for(let e of p.parents(t,Ys))for(let r of p.prev(e,zs))r.classList.add(Ct)}_clearActiveClass(t){t.classList.remove(Ct);let e=p.find(`${Qe}.${Ct}`,t);for(let r of e)r.classList.remove(Ct)}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}};u.on(window,Ws,()=>{for(let n of p.find(Ks))Ht.getOrCreateInstance(n)});j(Ht);var Sr=Ht;var en=hn(qe());var Zs=/^aria-[\w-]*$/i,ie={"*":["class","dir","id","lang","role",Zs],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:[]},ta=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ea=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,na=(n,t)=>{let e=n.nodeName.toLowerCase();return t.includes(e)?ta.has(e)?!!ea.test(n.nodeValue):!0:t.filter(r=>r instanceof RegExp).some(r=>r.test(e))};function Nr(n,t,e){if(!n.length)return n;if(e&&typeof e=="function")return e(n);let i=new window.DOMParser().parseFromString(n,"text/html"),s=[].concat(...i.body.querySelectorAll("*"));for(let o of s){let a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}let l=[].concat(...o.attributes),f=[].concat(t["*"]||[],t[a]||[]);for(let c of l)na(c,f)||o.removeAttribute(c.nodeName)}return i.body.innerHTML}var ra="TemplateFactory",ia={allowList:ie,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},oa={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},sa={entry:"(string|element|function|null)",selector:"(string|element)"},Je=class extends nt{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ia}static get DefaultType(){return oa}static get NAME(){return ra}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){let t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(let[i,s]of Object.entries(this._config.content))this._setContent(t,s,i);let e=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&e.classList.add(...r.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(let[e,r]of Object.entries(t))super._typeCheckConfig({selector:e,entry:r},sa)}_setContent(t,e,r){let i=p.findOne(r,t);if(i){if(e=this._resolvePossibleFunction(e),!e){i.remove();return}if($(e)){this._putElementInTemplate(I(e),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(e);return}i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?Nr(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return x(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="",e.append(t);return}e.textContent=t.textContent}},Dr=Je;var aa="tooltip",la=new Set(["sanitize","allowList","sanitizeFn"]),Ze="fade",ca="modal",oe="show",ua=".tooltip-inner",Lr=`.${ca}`,xr="hide.bs.modal",jt="hover",tn="focus",fa="click",pa="manual",da="hide",ha="hidden",ma="show",ga="shown",_a="inserted",va="click",Ea="focusin",ba="focusout",ya="mouseenter",Aa="mouseleave",Ta={AUTO:"auto",TOP:"top",RIGHT:V()?"left":"right",BOTTOM:"bottom",LEFT:V()?"right":"left"},wa={allowList:ie,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"},Oa={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"},se=class n extends W{constructor(t,e){if(typeof en=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),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 wa}static get DefaultType(){return Oa}static get NAME(){return aa}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),u.off(this._element.closest(Lr),xr,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(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;let t=u.trigger(this._element,this.constructor.eventName(ma)),r=(he(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!r)return;this._disposePopper();let i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));let{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),u.trigger(this._element,this.constructor.eventName(_a))),this._popper=this._createPopper(i),i.classList.add(oe),"ontouchstart"in document.documentElement)for(let a of[].concat(...document.body.children))u.on(a,"mouseover",mt);let o=()=>{u.trigger(this._element,this.constructor.eventName(ga)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||u.trigger(this._element,this.constructor.eventName(da)).defaultPrevented)return;if(this._getTipElement().classList.remove(oe),"ontouchstart"in document.documentElement)for(let i of[].concat(...document.body.children))u.off(i,"mouseover",mt);this._activeTrigger[fa]=!1,this._activeTrigger[tn]=!1,this._activeTrigger[jt]=!1,this._isHovered=null;let r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),u.trigger(this._element,this.constructor.eventName(ha)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){let e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Ze,oe),e.classList.add(`bs-${this.constructor.NAME}-auto`);let r=gn(this.constructor.NAME).toString();return e.setAttribute("id",r),this._isAnimated()&&e.classList.add(Ze),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Dr({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ua]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ze)}_isShown(){return this.tip&&this.tip.classList.contains(oe)}_createPopper(t){let e=x(this._config.placement,[this,t,this._element]),r=Ta[e.toUpperCase()];return en.createPopper(this._element,t,this._getPopperConfig(r))}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return x(t,[this._element])}_getPopperConfig(t){let e={placement:t,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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...e,...x(this._config.popperConfig,[e])}}_setListeners(){let t=this._config.trigger.split(" ");for(let e of t)if(e==="click")u.on(this._element,this.constructor.eventName(va),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(e!==pa){let r=e===jt?this.constructor.eventName(ya):this.constructor.eventName(Ea),i=e===jt?this.constructor.eventName(Aa):this.constructor.eventName(ba);u.on(this._element,r,this._config.selector,s=>{let o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?tn:jt]=!0,o._enter()}),u.on(this._element,i,this._config.selector,s=>{let o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?tn:jt]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},u.on(this._element.closest(Lr),xr,this._hideModalHandler)}_fixTitle(){let t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){let e=B.getDataAttributes(this._element);for(let r of Object.keys(e))la.has(r)&&delete e[r];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:I(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){let t={};for(let[e,r]of Object.entries(this._config))this.constructor.Default[e]!==r&&(t[e]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){let e=n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]=="undefined")throw new TypeError(`No method named "${t}"`);e[t]()}})}};j(se);var nn=se;var tc={Tab:Pn,Modal:zn,Collapse:Re,Dropdown:wr,ScrollSpy:Sr,Tooltip:nn};window.Collapse=Re;window.Tooltip=nn;})();