(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();var M="top",H="bottom",j="right",P="left",ln="auto",ee=[M,H,j,P],It="start",zt="end",cs="clippingParents",vi="viewport",Bt="popper",ls="reference",Gn=ee.reduce(function(e,t){return e.concat([t+"-"+It,t+"-"+zt])},[]),bi=[].concat(ee,[ln]).reduce(function(e,t){return e.concat([t,t+"-"+It,t+"-"+zt])},[]),us="beforeRead",fs="read",ds="afterRead",hs="beforeMain",ps="main",_s="afterMain",gs="beforeWrite",ms="write",Es="afterWrite",vs=[us,fs,ds,hs,ps,_s,gs,ms,Es];function et(e){return e?(e.nodeName||"").toLowerCase():null}function F(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Mt(e){var t=F(e).Element;return e instanceof t||e instanceof Element}function W(e){var t=F(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yi(e){if(typeof ShadowRoot>"u")return!1;var t=F(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ca(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},r=t.attributes[n]||{},s=t.elements[n];!W(s)||!et(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function xa(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var r=t.elements[i],s=t.attributes[i]||{},o=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),a=o.reduce(function(c,u){return c[u]="",c},{});!W(r)||!et(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(c){r.removeAttribute(c)}))})}}const Ai={name:"applyStyles",enabled:!0,phase:"write",fn:Ca,effect:xa,requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var xt=Math.max,tn=Math.min,Ut=Math.round;function Xn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function bs(){return!/^((?!chrome|android).)*safari/i.test(Xn())}function qt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),r=1,s=1;t&&W(e)&&(r=e.offsetWidth>0&&Ut(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ut(i.height)/e.offsetHeight||1);var o=Mt(e)?F(e):window,a=o.visualViewport,c=!bs()&&n,u=(i.left+(c&&a?a.offsetLeft:0))/r,l=(i.top+(c&&a?a.offsetTop:0))/s,h=i.width/r,p=i.height/s;return{width:h,height:p,top:l,right:u+h,bottom:l+p,left:u,x:u,y:l}}function wi(e){var t=qt(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function ys(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yi(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function rt(e){return F(e).getComputedStyle(e)}function Na(e){return["table","td","th"].indexOf(et(e))>=0}function _t(e){return((Mt(e)?e.ownerDocument:e.document)||window.document).documentElement}function un(e){return et(e)==="html"?e:e.assignedSlot||e.parentNode||(yi(e)?e.host:null)||_t(e)}function dr(e){return!W(e)||rt(e).position==="fixed"?null:e.offsetParent}function $a(e){var t=/firefox/i.test(Xn()),n=/Trident/i.test(Xn());if(n&&W(e)){var i=rt(e);if(i.position==="fixed")return null}var r=un(e);for(yi(r)&&(r=r.host);W(r)&&["html","body"].indexOf(et(r))<0;){var s=rt(r);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 r;r=r.parentNode}return null}function Te(e){for(var t=F(e),n=dr(e);n&&Na(n)&&rt(n).position==="static";)n=dr(n);return n&&(et(n)==="html"||et(n)==="body"&&rt(n).position==="static")?t:n||$a(e)||t}function Ti(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ee(e,t,n){return xt(e,tn(t,n))}function Da(e,t,n){var i=Ee(e,t,n);return i>n?n:i}function As(){return{top:0,right:0,bottom:0,left:0}}function ws(e){return Object.assign({},As(),e)}function Ts(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var La=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ws(typeof t!="number"?t:Ts(t,ee))};function Ia(e){var t,n=e.state,i=e.name,r=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Z(n.placement),c=Ti(a),u=[P,j].indexOf(a)>=0,l=u?"height":"width";if(!(!s||!o)){var h=La(r.padding,n),p=wi(s),_=c==="y"?M:P,A=c==="y"?H:j,v=n.rects.reference[l]+n.rects.reference[c]-o[c]-n.rects.popper[l],d=o[c]-n.rects.reference[c],m=Te(s),b=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0,y=v/2-d/2,E=h[_],w=b-p[l]-h[A],T=b/2-p[l]/2+y,O=Ee(E,T,w),D=c;n.modifiersData[i]=(t={},t[D]=O,t.centerOffset=O-T,t)}}function Ma(e){var t=e.state,n=e.options,i=n.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||ys(t.elements.popper,r)&&(t.elements.arrow=r))}const Os={name:"arrow",enabled:!0,phase:"main",fn:Ia,effect:Ma,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gt(e){return e.split("-")[1]}var Pa={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ra(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:Ut(n*r)/r||0,y:Ut(i*r)/r||0}}function hr(e){var t,n=e.popper,i=e.popperRect,r=e.placement,s=e.variation,o=e.offsets,a=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,h=e.isFixed,p=o.x,_=p===void 0?0:p,A=o.y,v=A===void 0?0:A,d=typeof l=="function"?l({x:_,y:v}):{x:_,y:v};_=d.x,v=d.y;var m=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),y=P,E=M,w=window;if(u){var T=Te(n),O="clientHeight",D="clientWidth";if(T===F(n)&&(T=_t(n),rt(T).position!=="static"&&a==="absolute"&&(O="scrollHeight",D="scrollWidth")),T=T,r===M||(r===P||r===j)&&s===zt){E=H;var N=h&&T===w&&w.visualViewport?w.visualViewport.height:T[O];v-=N-i.height,v*=c?1:-1}if(r===P||(r===M||r===H)&&s===zt){y=j;var x=h&&T===w&&w.visualViewport?w.visualViewport.width:T[D];_-=x-i.width,_*=c?1:-1}}var L=Object.assign({position:a},u&&Pa),U=l===!0?Ra({x:_,y:v},F(n)):{x:_,y:v};if(_=U.x,v=U.y,c){var I;return Object.assign({},L,(I={},I[E]=b?"0":"",I[y]=m?"0":"",I.transform=(w.devicePixelRatio||1)<=1?"translate("+_+"px, "+v+"px)":"translate3d("+_+"px, "+v+"px, 0)",I))}return Object.assign({},L,(t={},t[E]=b?v+"px":"",t[y]=m?_+"px":"",t.transform="",t))}function ka(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=i===void 0?!0:i,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,c=a===void 0?!0:a,u={placement:Z(t.placement),variation:Gt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,hr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,hr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Oi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ka,data:{}};var ke={passive:!0};function Va(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,a=o===void 0?!0:o,c=F(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach(function(l){l.addEventListener("scroll",n.update,ke)}),a&&c.addEventListener("resize",n.update,ke),function(){s&&u.forEach(function(l){l.removeEventListener("scroll",n.update,ke)}),a&&c.removeEventListener("resize",n.update,ke)}}const Si={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Va,data:{}};var Ha={left:"right",right:"left",bottom:"top",top:"bottom"};function Ge(e){return e.replace(/left|right|bottom|top/g,function(t){return Ha[t]})}var ja={start:"end",end:"start"};function pr(e){return e.replace(/start|end/g,function(t){return ja[t]})}function Ci(e){var t=F(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function xi(e){return qt(_t(e)).left+Ci(e).scrollLeft}function Fa(e,t){var n=F(e),i=_t(e),r=n.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,c=0;if(r){s=r.width,o=r.height;var u=bs();(u||!u&&t==="fixed")&&(a=r.offsetLeft,c=r.offsetTop)}return{width:s,height:o,x:a+xi(e),y:c}}function Ba(e){var t,n=_t(e),i=Ci(e),r=(t=e.ownerDocument)==null?void 0:t.body,s=xt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=xt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+xi(e),c=-i.scrollTop;return rt(r||n).direction==="rtl"&&(a+=xt(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:c}}function Ni(e){var t=rt(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Ss(e){return["html","body","#document"].indexOf(et(e))>=0?e.ownerDocument.body:W(e)&&Ni(e)?e:Ss(un(e))}function ve(e,t){var n;t===void 0&&(t=[]);var i=Ss(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),s=F(i),o=r?[s].concat(s.visualViewport||[],Ni(i)?i:[]):i,a=t.concat(o);return r?a:a.concat(ve(un(o)))}function Qn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Wa(e,t){var n=qt(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function _r(e,t,n){return t===vi?Qn(Fa(e,n)):Mt(t)?Wa(t,n):Qn(Ba(_t(e)))}function Ka(e){var t=ve(un(e)),n=["absolute","fixed"].indexOf(rt(e).position)>=0,i=n&&W(e)?Te(e):e;return Mt(i)?t.filter(function(r){return Mt(r)&&ys(r,i)&&et(r)!=="body"}):[]}function Ya(e,t,n,i){var r=t==="clippingParents"?Ka(e):[].concat(t),s=[].concat(r,[n]),o=s[0],a=s.reduce(function(c,u){var l=_r(e,u,i);return c.top=xt(l.top,c.top),c.right=tn(l.right,c.right),c.bottom=tn(l.bottom,c.bottom),c.left=xt(l.left,c.left),c},_r(e,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Cs(e){var t=e.reference,n=e.element,i=e.placement,r=i?Z(i):null,s=i?Gt(i):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,c;switch(r){case M:c={x:o,y:t.y-n.height};break;case H:c={x:o,y:t.y+t.height};break;case j:c={x:t.x+t.width,y:a};break;case P:c={x:t.x-n.width,y:a};break;default:c={x:t.x,y:t.y}}var u=r?Ti(r):null;if(u!=null){var l=u==="y"?"height":"width";switch(s){case It:c[u]=c[u]-(t[l]/2-n[l]/2);break;case zt:c[u]=c[u]+(t[l]/2-n[l]/2);break}}return c}function Xt(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=i===void 0?e.placement:i,s=n.strategy,o=s===void 0?e.strategy:s,a=n.boundary,c=a===void 0?cs:a,u=n.rootBoundary,l=u===void 0?vi:u,h=n.elementContext,p=h===void 0?Bt:h,_=n.altBoundary,A=_===void 0?!1:_,v=n.padding,d=v===void 0?0:v,m=ws(typeof d!="number"?d:Ts(d,ee)),b=p===Bt?ls:Bt,y=e.rects.popper,E=e.elements[A?b:p],w=Ya(Mt(E)?E:E.contextElement||_t(e.elements.popper),c,l,o),T=qt(e.elements.reference),O=Cs({reference:T,element:y,placement:r}),D=Qn(Object.assign({},y,O)),N=p===Bt?D:T,x={top:w.top-N.top+m.top,bottom:N.bottom-w.bottom+m.bottom,left:w.left-N.left+m.left,right:N.right-w.right+m.right},L=e.modifiersData.offset;if(p===Bt&&L){var U=L[r];Object.keys(x).forEach(function(I){var vt=[j,H].indexOf(I)>=0?1:-1,bt=[M,H].indexOf(I)>=0?"y":"x";x[I]+=U[bt]*vt})}return x}function za(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=c===void 0?bi:c,l=Gt(i),h=l?a?Gn:Gn.filter(function(A){return Gt(A)===l}):ee,p=h.filter(function(A){return u.indexOf(A)>=0});p.length===0&&(p=h);var _=p.reduce(function(A,v){return A[v]=Xt(e,{placement:v,boundary:r,rootBoundary:s,padding:o})[Z(v)],A},{});return Object.keys(_).sort(function(A,v){return _[A]-_[v]})}function Ua(e){if(Z(e)===ln)return[];var t=Ge(e);return[pr(e),t,pr(t)]}function qa(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,c=n.fallbackPlacements,u=n.padding,l=n.boundary,h=n.rootBoundary,p=n.altBoundary,_=n.flipVariations,A=_===void 0?!0:_,v=n.allowedAutoPlacements,d=t.options.placement,m=Z(d),b=m===d,y=c||(b||!A?[Ge(d)]:Ua(d)),E=[d].concat(y).reduce(function(Ht,at){return Ht.concat(Z(at)===ln?za(t,{placement:at,boundary:l,rootBoundary:h,padding:u,flipVariations:A,allowedAutoPlacements:v}):at)},[]),w=t.rects.reference,T=t.rects.popper,O=new Map,D=!0,N=E[0],x=0;x=0,bt=vt?"width":"height",V=Xt(t,{placement:L,boundary:l,rootBoundary:h,altBoundary:p,padding:u}),q=vt?I?j:P:I?H:M;w[bt]>T[bt]&&(q=Ge(q));var Le=Ge(q),yt=[];if(s&&yt.push(V[U]<=0),a&&yt.push(V[q]<=0,V[Le]<=0),yt.every(function(Ht){return Ht})){N=L,D=!1;break}O.set(L,yt)}if(D)for(var Ie=A?3:1,On=function(at){var fe=E.find(function(Pe){var At=O.get(Pe);if(At)return At.slice(0,at).every(function(Sn){return Sn})});if(fe)return N=fe,"break"},ue=Ie;ue>0;ue--){var Me=On(ue);if(Me==="break")break}t.placement!==N&&(t.modifiersData[i]._skip=!0,t.placement=N,t.reset=!0)}}const xs={name:"flip",enabled:!0,phase:"main",fn:qa,requiresIfExists:["offset"],data:{_skip:!1}};function gr(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function mr(e){return[M,j,H,P].some(function(t){return e[t]>=0})}function Ga(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=Xt(t,{elementContext:"reference"}),a=Xt(t,{altBoundary:!0}),c=gr(o,i),u=gr(a,r,s),l=mr(c),h=mr(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}const Ns={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ga};function Xa(e,t,n){var i=Z(e),r=[P,M].indexOf(i)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[P,j].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function Qa(e){var t=e.state,n=e.options,i=e.name,r=n.offset,s=r===void 0?[0,0]:r,o=bi.reduce(function(l,h){return l[h]=Xa(h,t.rects,s),l},{}),a=o[t.placement],c=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[i]=o}const $s={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Qa};function Ja(e){var t=e.state,n=e.name;t.modifiersData[n]=Cs({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const $i={name:"popperOffsets",enabled:!0,phase:"read",fn:Ja,data:{}};function Za(e){return e==="x"?"y":"x"}function tc(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,h=n.padding,p=n.tether,_=p===void 0?!0:p,A=n.tetherOffset,v=A===void 0?0:A,d=Xt(t,{boundary:c,rootBoundary:u,padding:h,altBoundary:l}),m=Z(t.placement),b=Gt(t.placement),y=!b,E=Ti(m),w=Za(E),T=t.modifiersData.popperOffsets,O=t.rects.reference,D=t.rects.popper,N=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,x=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(T){if(s){var I,vt=E==="y"?M:P,bt=E==="y"?H:j,V=E==="y"?"height":"width",q=T[E],Le=q+d[vt],yt=q-d[bt],Ie=_?-D[V]/2:0,On=b===It?O[V]:D[V],ue=b===It?-D[V]:-O[V],Me=t.elements.arrow,Ht=_&&Me?wi(Me):{width:0,height:0},at=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:As(),fe=at[vt],Pe=at[bt],At=Ee(0,O[V],Ht[V]),Sn=y?O[V]/2-Ie-At-fe-x.mainAxis:On-At-fe-x.mainAxis,ya=y?-O[V]/2+Ie+At+Pe+x.mainAxis:ue+At+Pe+x.mainAxis,Cn=t.elements.arrow&&Te(t.elements.arrow),Aa=Cn?E==="y"?Cn.clientTop||0:Cn.clientLeft||0:0,ir=(I=L==null?void 0:L[E])!=null?I:0,wa=q+Sn-ir-Aa,Ta=q+ya-ir,rr=Ee(_?tn(Le,wa):Le,q,_?xt(yt,Ta):yt);T[E]=rr,U[E]=rr-q}if(a){var sr,Oa=E==="x"?M:P,Sa=E==="x"?H:j,wt=T[w],Re=w==="y"?"height":"width",or=wt+d[Oa],ar=wt-d[Sa],xn=[M,P].indexOf(m)!==-1,cr=(sr=L==null?void 0:L[w])!=null?sr:0,lr=xn?or:wt-O[Re]-D[Re]-cr+x.altAxis,ur=xn?wt+O[Re]+D[Re]-cr-x.altAxis:ar,fr=_&&xn?Da(lr,wt,ur):Ee(_?lr:or,wt,_?ur:ar);T[w]=fr,U[w]=fr-wt}t.modifiersData[i]=U}}const Ds={name:"preventOverflow",enabled:!0,phase:"main",fn:tc,requiresIfExists:["offset"]};function ec(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function nc(e){return e===F(e)||!W(e)?Ci(e):ec(e)}function ic(e){var t=e.getBoundingClientRect(),n=Ut(t.width)/e.offsetWidth||1,i=Ut(t.height)/e.offsetHeight||1;return n!==1||i!==1}function rc(e,t,n){n===void 0&&(n=!1);var i=W(t),r=W(t)&&ic(t),s=_t(t),o=qt(e,r,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&((et(t)!=="body"||Ni(s))&&(a=nc(t)),W(t)?(c=qt(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):s&&(c.x=xi(s))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function sc(e){var t=new Map,n=new Set,i=[];e.forEach(function(s){t.set(s.name,s)});function r(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var c=t.get(a);c&&r(c)}}),i.push(s)}return e.forEach(function(s){n.has(s.name)||r(s)}),i}function oc(e){var t=sc(e);return vs.reduce(function(n,i){return n.concat(t.filter(function(r){return r.phase===i}))},[])}function ac(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function cc(e){var t=e.reduce(function(n,i){var r=n[i.name];return n[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Er={placement:"bottom",modifiers:[],strategy:"absolute"};function vr(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),_c=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),gc=e=>{do e+=Math.floor(Math.random()*hc);while(document.getElementById(e));return e},mc=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return!i&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*pc)},Ms=e=>{e.dispatchEvent(new Event(Jn))},nt=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),ut=e=>nt(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Is(e)):null,ne=e=>{if(!nt(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const i=e.closest("summary");if(i&&i.parentNode!==n||i===null)return!1}return t},ft=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Ps=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Ps(e.parentNode):null},en=()=>{},Oe=e=>{e.offsetHeight},Rs=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$n=[],Ec=e=>{document.readyState==="loading"?($n.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of $n)t()}),$n.push(e)):e()},K=()=>document.documentElement.dir==="rtl",z=e=>{Ec(()=>{const t=Rs();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}})},k=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,ks=(e,t,n=!0)=>{if(!n){k(e);return}const r=mc(t)+5;let s=!1;const o=({target:a})=>{a===t&&(s=!0,t.removeEventListener(Jn,o),k(e))};t.addEventListener(Jn,o),setTimeout(()=>{s||Ms(t)},r)},Li=(e,t,n,i)=>{const r=e.length;let s=e.indexOf(t);return s===-1?!n&&i?e[r-1]:e[0]:(s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},vc=/[^.]*(?=\..*)\.|.*/,bc=/\..*/,yc=/::\d+$/,Dn={};let br=1;const Vs={mouseenter:"mouseover",mouseleave:"mouseout"},Ac=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 Hs(e,t){return t&&`${t}::${br++}`||e.uidEvent||br++}function js(e){const t=Hs(e);return e.uidEvent=t,Dn[t]=Dn[t]||{},Dn[t]}function wc(e,t){return function n(i){return Ii(i,{delegateTarget:e}),n.oneOff&&f.off(e,i.type,t),t.apply(e,[i])}}function Tc(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return Ii(r,{delegateTarget:o}),i.oneOff&&f.off(e,r.type,t,n),n.apply(o,[r])}}function Fs(e,t,n=null){return Object.values(e).find(i=>i.callable===t&&i.delegationSelector===n)}function Bs(e,t,n){const i=typeof t=="string",r=i?n:t||n;let s=Ws(e);return Ac.has(s)||(s=e),[i,r,s]}function yr(e,t,n,i,r){if(typeof t!="string"||!e)return;let[s,o,a]=Bs(t,n,i);t in Vs&&(o=(A=>function(v){if(!v.relatedTarget||v.relatedTarget!==v.delegateTarget&&!v.delegateTarget.contains(v.relatedTarget))return A.call(this,v)})(o));const c=js(e),u=c[a]||(c[a]={}),l=Fs(u,o,s?n:null);if(l){l.oneOff=l.oneOff&&r;return}const h=Hs(o,t.replace(vc,"")),p=s?Tc(e,n,o):wc(e,o);p.delegationSelector=s?n:null,p.callable=o,p.oneOff=r,p.uidEvent=h,u[h]=p,e.addEventListener(a,p,s)}function Zn(e,t,n,i,r){const s=Fs(t[n],i,r);s&&(e.removeEventListener(n,s,!!r),delete t[n][s.uidEvent])}function Oc(e,t,n,i){const r=t[n]||{};for(const[s,o]of Object.entries(r))s.includes(i)&&Zn(e,t,n,o.callable,o.delegationSelector)}function Ws(e){return e=e.replace(bc,""),Vs[e]||e}const f={on(e,t,n,i){yr(e,t,n,i,!1)},one(e,t,n,i){yr(e,t,n,i,!0)},off(e,t,n,i){if(typeof t!="string"||!e)return;const[r,s,o]=Bs(t,n,i),a=o!==t,c=js(e),u=c[o]||{},l=t.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Zn(e,c,o,s,r?n:null);return}if(l)for(const h of Object.keys(c))Oc(e,c,h,t.slice(1));for(const[h,p]of Object.entries(u)){const _=h.replace(yc,"");(!a||t.includes(_))&&Zn(e,c,o,p.callable,p.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const i=Rs(),r=Ws(t),s=t!==r;let o=null,a=!0,c=!0,u=!1;s&&i&&(o=i.Event(t,n),i(e).trigger(o),a=!o.isPropagationStopped(),c=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const l=Ii(new Event(t,{bubbles:a,cancelable:!0}),n);return u&&l.preventDefault(),c&&e.dispatchEvent(l),l.defaultPrevented&&o&&o.preventDefault(),l}};function Ii(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}function Ar(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Ln(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const it={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Ln(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Ln(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of n){let r=i.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=Ar(e.dataset[i])}return t},getDataAttribute(e,t){return Ar(e.getAttribute(`data-bs-${Ln(t)}`))}};class Se{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,n){const i=nt(n)?it.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof i=="object"?i:{},...nt(n)?it.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[i,r]of Object.entries(n)){const s=t[i],o=nt(s)?"element":_c(s);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${r}".`)}}}const Sc="5.3.3";class X extends Se{constructor(t,n){super(),t=ut(t),t&&(this._element=t,this._config=this._getConfig(n),Nn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Nn.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,i=!0){ks(t,n,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Nn.get(ut(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return Sc}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const In=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>Is(n)).join(","):null},g={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!ft(n)&&ne(n))},getSelectorFromElement(e){const t=In(e);return t&&g.findOne(t)?t:null},getElementFromSelector(e){const t=In(e);return t?g.findOne(t):null},getMultipleElementsFromSelector(e){const t=In(e);return t?g.find(t):[]}},dn=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;f.on(document,n,`[data-bs-dismiss="${i}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),ft(this))return;const s=g.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(s)[t]()})},Cc="alert",xc="bs.alert",Ks=`.${xc}`,Nc=`close${Ks}`,$c=`closed${Ks}`,Dc="fade",Lc="show";class hn extends X{static get NAME(){return Cc}close(){if(f.trigger(this._element,Nc).defaultPrevented)return;this._element.classList.remove(Lc);const n=this._element.classList.contains(Dc);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),f.trigger(this._element,$c),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=hn.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}dn(hn,"close");z(hn);const Ic="button",Mc="bs.button",Pc=`.${Mc}`,Rc=".data-api",kc="active",wr='[data-bs-toggle="button"]',Vc=`click${Pc}${Rc}`;class pn extends X{static get NAME(){return Ic}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kc))}static jQueryInterface(t){return this.each(function(){const n=pn.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}f.on(document,Vc,wr,e=>{e.preventDefault();const t=e.target.closest(wr);pn.getOrCreateInstance(t).toggle()});z(pn);const Hc="swipe",ie=".bs.swipe",jc=`touchstart${ie}`,Fc=`touchmove${ie}`,Bc=`touchend${ie}`,Wc=`pointerdown${ie}`,Kc=`pointerup${ie}`,Yc="touch",zc="pen",Uc="pointer-event",qc=40,Gc={endCallback:null,leftCallback:null,rightCallback:null},Xc={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class nn extends Se{constructor(t,n){super(),this._element=t,!(!t||!nn.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Gc}static get DefaultType(){return Xc}static get NAME(){return Hc}dispose(){f.off(this._element,ie)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),k(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=qc)return;const n=t/this._deltaX;this._deltaX=0,n&&k(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(f.on(this._element,Wc,t=>this._start(t)),f.on(this._element,Kc,t=>this._end(t)),this._element.classList.add(Uc)):(f.on(this._element,jc,t=>this._start(t)),f.on(this._element,Fc,t=>this._move(t)),f.on(this._element,Bc,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===zc||t.pointerType===Yc)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Qc="carousel",Jc="bs.carousel",gt=`.${Jc}`,Ys=".data-api",Zc="ArrowLeft",tl="ArrowRight",el=500,de="next",jt="prev",Wt="left",Xe="right",nl=`slide${gt}`,Mn=`slid${gt}`,il=`keydown${gt}`,rl=`mouseenter${gt}`,sl=`mouseleave${gt}`,ol=`dragstart${gt}`,al=`load${gt}${Ys}`,cl=`click${gt}${Ys}`,zs="carousel",Ve="active",ll="slide",ul="carousel-item-end",fl="carousel-item-start",dl="carousel-item-next",hl="carousel-item-prev",Us=".active",qs=".carousel-item",pl=Us+qs,_l=".carousel-item img",gl=".carousel-indicators",ml="[data-bs-slide], [data-bs-slide-to]",El='[data-bs-ride="carousel"]',vl={[Zc]:Xe,[tl]:Wt},bl={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},yl={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ce extends X{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=g.findOne(gl,this._element),this._addEventListeners(),this._config.ride===zs&&this.cycle()}static get Default(){return bl}static get DefaultType(){return yl}static get NAME(){return Qc}next(){this._slide(de)}nextWhenVisible(){!document.hidden&&ne(this._element)&&this.next()}prev(){this._slide(jt)}pause(){this._isSliding&&Ms(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){f.one(this._element,Mn,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){f.one(this._element,Mn,()=>this.to(t));return}const i=this._getItemIndex(this._getActive());if(i===t)return;const r=t>i?de:jt;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&f.on(this._element,il,t=>this._keydown(t)),this._config.pause==="hover"&&(f.on(this._element,rl,()=>this.pause()),f.on(this._element,sl,()=>this._maybeEnableCycle())),this._config.touch&&nn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of g.find(_l,this._element))f.on(i,ol,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Wt)),rightCallback:()=>this._slide(this._directionToOrder(Xe)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),el+this._config.interval))}};this._swipeHelper=new nn(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=vl[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=g.findOne(Us,this._indicatorsElement);n.classList.remove(Ve),n.removeAttribute("aria-current");const i=g.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(Ve),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const i=this._getActive(),r=t===de,s=n||Li(this._getItems(),i,r,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),a=_=>f.trigger(this._element,_,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(a(nl).defaultPrevented||!i||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=r?fl:ul,h=r?dl:hl;s.classList.add(h),Oe(s),i.classList.add(l),s.classList.add(l);const p=()=>{s.classList.remove(l,h),s.classList.add(Ve),i.classList.remove(Ve,h,l),this._isSliding=!1,a(Mn)};this._queueCallback(p,i,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ll)}_getActive(){return g.findOne(pl,this._element)}_getItems(){return g.find(qs,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return K()?t===Wt?jt:de:t===Wt?de:jt}_orderToDirection(t){return K()?t===jt?Wt:Xe:t===jt?Xe:Wt}static jQueryInterface(t){return this.each(function(){const n=Ce.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}f.on(document,cl,ml,function(e){const t=g.getElementFromSelector(this);if(!t||!t.classList.contains(zs))return;e.preventDefault();const n=Ce.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");if(i){n.to(i),n._maybeEnableCycle();return}if(it.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});f.on(window,al,()=>{const e=g.find(El);for(const t of e)Ce.getOrCreateInstance(t)});z(Ce);const Al="collapse",wl="bs.collapse",xe=`.${wl}`,Tl=".data-api",Ol=`show${xe}`,Sl=`shown${xe}`,Cl=`hide${xe}`,xl=`hidden${xe}`,Nl=`click${xe}${Tl}`,Pn="show",Yt="collapse",He="collapsing",$l="collapsed",Dl=`:scope .${Yt} .${Yt}`,Ll="collapse-horizontal",Il="width",Ml="height",Pl=".collapse.show, .collapse.collapsing",ti='[data-bs-toggle="collapse"]',Rl={parent:null,toggle:!0},kl={parent:"(null|element)",toggle:"boolean"};class Ae extends X{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const i=g.find(ti);for(const r of i){const s=g.getSelectorFromElement(r),o=g.find(s).filter(a=>a===this._element);s!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Rl}static get DefaultType(){return kl}static get NAME(){return Al}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Pl).filter(a=>a!==this._element).map(a=>Ae.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||f.trigger(this._element,Ol).defaultPrevented)return;for(const a of t)a.hide();const i=this._getDimension();this._element.classList.remove(Yt),this._element.classList.add(He),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(He),this._element.classList.add(Yt,Pn),this._element.style[i]="",f.trigger(this._element,Sl)},o=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[i]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||f.trigger(this._element,Cl).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Oe(this._element),this._element.classList.add(He),this._element.classList.remove(Yt,Pn);for(const r of this._triggerArray){const s=g.getElementFromSelector(r);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(He),this._element.classList.add(Yt),f.trigger(this._element,xl)};this._element.style[n]="",this._queueCallback(i,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Pn)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=ut(t.parent),t}_getDimension(){return this._element.classList.contains(Ll)?Il:Ml}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(ti);for(const n of t){const i=g.getElementFromSelector(n);i&&this._addAriaAndCollapsedClass([n],this._isShown(i))}}_getFirstLevelChildren(t){const n=g.find(Dl,this._config.parent);return g.find(t,this._config.parent).filter(i=>!n.includes(i))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const i of t)i.classList.toggle($l,!n),i.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const i=Ae.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}}f.on(document,Nl,ti,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of g.getMultipleElementsFromSelector(this))Ae.getOrCreateInstance(t,{toggle:!1}).toggle()});z(Ae);const Tr="dropdown",Vl="bs.dropdown",Rt=`.${Vl}`,Mi=".data-api",Hl="Escape",Or="Tab",jl="ArrowUp",Sr="ArrowDown",Fl=2,Bl=`hide${Rt}`,Wl=`hidden${Rt}`,Kl=`show${Rt}`,Yl=`shown${Rt}`,Gs=`click${Rt}${Mi}`,Xs=`keydown${Rt}${Mi}`,zl=`keyup${Rt}${Mi}`,Kt="show",Ul="dropup",ql="dropend",Gl="dropstart",Xl="dropup-center",Ql="dropdown-center",Ot='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Jl=`${Ot}.${Kt}`,Qe=".dropdown-menu",Zl=".navbar",tu=".navbar-nav",eu=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",nu=K()?"top-end":"top-start",iu=K()?"top-start":"top-end",ru=K()?"bottom-end":"bottom-start",su=K()?"bottom-start":"bottom-end",ou=K()?"left-start":"right-start",au=K()?"right-start":"left-start",cu="top",lu="bottom",uu={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},fu={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class tt extends X{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=g.next(this._element,Qe)[0]||g.prev(this._element,Qe)[0]||g.findOne(Qe,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return uu}static get DefaultType(){return fu}static get NAME(){return Tr}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ft(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!f.trigger(this._element,Kl,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(tu))for(const i of[].concat(...document.body.children))f.on(i,"mouseover",en);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kt),this._element.classList.add(Kt),f.trigger(this._element,Yl,t)}}hide(){if(ft(this._element)||!this._isShown())return;const 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(!f.trigger(this._element,Bl,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))f.off(i,"mouseover",en);this._popper&&this._popper.destroy(),this._menu.classList.remove(Kt),this._element.classList.remove(Kt),this._element.setAttribute("aria-expanded","false"),it.removeDataAttribute(this._menu,"popper"),f.trigger(this._element,Wl,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!nt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Tr.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Ls>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:nt(this._config.reference)?t=ut(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Di(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Kt)}_getPlacement(){const t=this._parent;if(t.classList.contains(ql))return ou;if(t.classList.contains(Gl))return au;if(t.classList.contains(Xl))return cu;if(t.classList.contains(Ql))return lu;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Ul)?n?iu:nu:n?su:ru}_detectNavbar(){return this._element.closest(Zl)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const 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")&&(it.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...k(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const i=g.find(eu,this._menu).filter(r=>ne(r));i.length&&Li(i,n,t===Sr,!i.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=tt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Fl||t.type==="keyup"&&t.key!==Or)return;const n=g.find(Jl);for(const i of n){const r=tt.getInstance(i);if(!r||r._config.autoClose===!1)continue;const s=t.composedPath(),o=s.includes(r._menu);if(s.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Or||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:r._element};t.type==="click"&&(a.clickEvent=t),r._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),i=t.key===Hl,r=[jl,Sr].includes(t.key);if(!r&&!i||n&&!i)return;t.preventDefault();const s=this.matches(Ot)?this:g.prev(this,Ot)[0]||g.next(this,Ot)[0]||g.findOne(Ot,t.delegateTarget.parentNode),o=tt.getOrCreateInstance(s);if(r){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}f.on(document,Xs,Ot,tt.dataApiKeydownHandler);f.on(document,Xs,Qe,tt.dataApiKeydownHandler);f.on(document,Gs,tt.clearMenus);f.on(document,zl,tt.clearMenus);f.on(document,Gs,Ot,function(e){e.preventDefault(),tt.getOrCreateInstance(this).toggle()});z(tt);const Qs="backdrop",du="fade",Cr="show",xr=`mousedown.bs.${Qs}`,hu={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},pu={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Js extends Se{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return hu}static get DefaultType(){return pu}static get NAME(){return Qs}show(t){if(!this._config.isVisible){k(t);return}this._append();const n=this._getElement();this._config.isAnimated&&Oe(n),n.classList.add(Cr),this._emulateAnimation(()=>{k(t)})}hide(t){if(!this._config.isVisible){k(t);return}this._getElement().classList.remove(Cr),this._emulateAnimation(()=>{this.dispose(),k(t)})}dispose(){this._isAppended&&(f.off(this._element,xr),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(du),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ut(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),f.on(t,xr,()=>{k(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){ks(t,this._getElement(),this._config.isAnimated)}}const _u="focustrap",gu="bs.focustrap",rn=`.${gu}`,mu=`focusin${rn}`,Eu=`keydown.tab${rn}`,vu="Tab",bu="forward",Nr="backward",yu={autofocus:!0,trapElement:null},Au={autofocus:"boolean",trapElement:"element"};class Zs extends Se{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return yu}static get DefaultType(){return Au}static get NAME(){return _u}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,rn),f.on(document,mu,t=>this._handleFocusin(t)),f.on(document,Eu,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,rn))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const i=g.focusableChildren(n);i.length===0?n.focus():this._lastTabNavDirection===Nr?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){t.key===vu&&(this._lastTabNavDirection=t.shiftKey?Nr:bu)}}const $r=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Dr=".sticky-top",je="padding-right",Lr="margin-right";class ei{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,je,n=>n+t),this._setElementAttributes($r,je,n=>n+t),this._setElementAttributes(Dr,Lr,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,je),this._resetElementAttributes($r,je),this._resetElementAttributes(Dr,Lr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,i){const r=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${i(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,s)}_saveInitialAttribute(t,n){const i=t.style.getPropertyValue(n);i&&it.setDataAttribute(t,n,i)}_resetElementAttributes(t,n){const i=r=>{const s=it.getDataAttribute(r,n);if(s===null){r.style.removeProperty(n);return}it.removeDataAttribute(r,n),r.style.setProperty(n,s)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,n){if(nt(t)){n(t);return}for(const i of g.find(t,this._element))n(i)}}const wu="modal",Tu="bs.modal",Y=`.${Tu}`,Ou=".data-api",Su="Escape",Cu=`hide${Y}`,xu=`hidePrevented${Y}`,to=`hidden${Y}`,eo=`show${Y}`,Nu=`shown${Y}`,$u=`resize${Y}`,Du=`click.dismiss${Y}`,Lu=`mousedown.dismiss${Y}`,Iu=`keydown.dismiss${Y}`,Mu=`click${Y}${Ou}`,Ir="modal-open",Pu="fade",Mr="show",Rn="modal-static",Ru=".modal.show",ku=".modal-dialog",Vu=".modal-body",Hu='[data-bs-toggle="modal"]',ju={backdrop:!0,focus:!0,keyboard:!0},Fu={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Qt extends X{constructor(t,n){super(t,n),this._dialog=g.findOne(ku,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ei,this._addEventListeners()}static get Default(){return ju}static get DefaultType(){return Fu}static get NAME(){return wu}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||f.trigger(this._element,eo,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ir),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||f.trigger(this._element,Cu).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Mr),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){f.off(window,Y),f.off(this._dialog,Y),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Js({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Zs({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;const n=g.findOne(Vu,this._dialog);n&&(n.scrollTop=0),Oe(this._element),this._element.classList.add(Mr);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,Nu,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,Iu,t=>{if(t.key===Su){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),f.on(window,$u,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,Lu,t=>{f.one(this._element,Du,n=>{if(!(this._element!==t.target||this._element!==n.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(Ir),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,to)})}_isAnimated(){return this._element.classList.contains(Pu)}_triggerBackdropTransition(){if(f.trigger(this._element,xu).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(Rn)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Rn),this._queueCallback(()=>{this._element.classList.remove(Rn),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),i=n>0;if(i&&!t){const r=K()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!i&&t){const r=K()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const i=Qt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t](n)}})}}f.on(document,Mu,Hu,function(e){const t=g.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),f.one(t,eo,r=>{r.defaultPrevented||f.one(t,to,()=>{ne(this)&&this.focus()})});const n=g.findOne(Ru);n&&Qt.getInstance(n).hide(),Qt.getOrCreateInstance(t).toggle(this)});dn(Qt);z(Qt);const Bu="offcanvas",Wu="bs.offcanvas",ot=`.${Wu}`,no=".data-api",Ku=`load${ot}${no}`,Yu="Escape",Pr="show",Rr="showing",kr="hiding",zu="offcanvas-backdrop",io=".offcanvas.show",Uu=`show${ot}`,qu=`shown${ot}`,Gu=`hide${ot}`,Vr=`hidePrevented${ot}`,ro=`hidden${ot}`,Xu=`resize${ot}`,Qu=`click${ot}${no}`,Ju=`keydown.dismiss${ot}`,Zu='[data-bs-toggle="offcanvas"]',tf={backdrop:!0,keyboard:!0,scroll:!1},ef={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class dt extends X{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return tf}static get DefaultType(){return ef}static get NAME(){return Bu}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||f.trigger(this._element,Uu,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ei().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Rr);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Pr),this._element.classList.remove(Rr),f.trigger(this._element,qu,{relatedTarget:t})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||f.trigger(this._element,Gu).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(kr),this._backdrop.hide();const n=()=>{this._element.classList.remove(Pr,kr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ei().reset(),f.trigger(this._element,ro)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){f.trigger(this._element,Vr);return}this.hide()},n=!!this._config.backdrop;return new Js({className:zu,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Zs({trapElement:this._element})}_addEventListeners(){f.on(this._element,Ju,t=>{if(t.key===Yu){if(this._config.keyboard){this.hide();return}f.trigger(this._element,Vr)}})}static jQueryInterface(t){return this.each(function(){const n=dt.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}f.on(document,Qu,Zu,function(e){const t=g.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),ft(this))return;f.one(t,ro,()=>{ne(this)&&this.focus()});const n=g.findOne(io);n&&n!==t&&dt.getInstance(n).hide(),dt.getOrCreateInstance(t).toggle(this)});f.on(window,Ku,()=>{for(const e of g.find(io))dt.getOrCreateInstance(e).show()});f.on(window,Xu,()=>{for(const e of g.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&dt.getOrCreateInstance(e).hide()});dn(dt);z(dt);const nf=/^aria-[\w-]*$/i,so={"*":["class","dir","id","lang","role",nf],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},rf=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),sf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,of=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?rf.has(n)?!!sf.test(e.nodeValue):!0:t.filter(i=>i instanceof RegExp).some(i=>i.test(n))};function af(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),s=[].concat(...r.body.querySelectorAll("*"));for(const o of s){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const c=[].concat(...o.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const l of c)of(l,u)||o.removeAttribute(l.nodeName)}return r.body.innerHTML}const cf="TemplateFactory",lf={allowList:so,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},uf={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ff={entry:"(string|element|function|null)",selector:"(string|element)"};class df extends Se{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return lf}static get DefaultType(){return uf}static get NAME(){return cf}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(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[r,s]of Object.entries(this._config.content))this._setContent(t,s,r);const n=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&n.classList.add(...i.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,i]of Object.entries(t))super._typeCheckConfig({selector:n,entry:i},ff)}_setContent(t,n,i){const r=g.findOne(i,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(nt(n)){this._putElementInTemplate(ut(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?af(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return k(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const hf="tooltip",pf=new Set(["sanitize","allowList","sanitizeFn"]),kn="fade",_f="modal",Fe="show",gf=".tooltip-inner",Hr=`.${_f}`,jr="hide.bs.modal",he="hover",Vn="focus",mf="click",Ef="manual",vf="hide",bf="hidden",yf="show",Af="shown",wf="inserted",Tf="click",Of="focusin",Sf="focusout",Cf="mouseenter",xf="mouseleave",Nf={AUTO:"auto",TOP:"top",RIGHT:K()?"left":"right",BOTTOM:"bottom",LEFT:K()?"right":"left"},$f={allowList:so,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"},Df={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 re extends X{constructor(t,n){if(typeof Ls>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),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 $f}static get DefaultType(){return Df}static get NAME(){return hf}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),f.off(this._element.closest(Hr),jr,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;const t=f.trigger(this._element,this.constructor.eventName(yf)),i=(Ps(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(r),f.trigger(this._element,this.constructor.eventName(wf))),this._popper=this._createPopper(r),r.classList.add(Fe),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))f.on(a,"mouseover",en);const o=()=>{f.trigger(this._element,this.constructor.eventName(Af)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||f.trigger(this._element,this.constructor.eventName(vf)).defaultPrevented)return;if(this._getTipElement().classList.remove(Fe),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))f.off(r,"mouseover",en);this._activeTrigger[mf]=!1,this._activeTrigger[Vn]=!1,this._activeTrigger[he]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.trigger(this._element,this.constructor.eventName(bf)))};this._queueCallback(i,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){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(kn,Fe),n.classList.add(`bs-${this.constructor.NAME}-auto`);const i=gc(this.constructor.NAME).toString();return n.setAttribute("id",i),this._isAnimated()&&n.classList.add(kn),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new df({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[gf]: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(kn)}_isShown(){return this.tip&&this.tip.classList.contains(Fe)}_createPopper(t){const n=k(this._config.placement,[this,t,this._element]),i=Nf[n.toUpperCase()];return Di(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return k(t,[this._element])}_getPopperConfig(t){const n={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:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...n,...k(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")f.on(this._element,this.constructor.eventName(Tf),this._config.selector,i=>{this._initializeOnDelegatedTarget(i).toggle()});else if(n!==Ef){const i=n===he?this.constructor.eventName(Cf):this.constructor.eventName(Of),r=n===he?this.constructor.eventName(xf):this.constructor.eventName(Sf);f.on(this._element,i,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?Vn:he]=!0,o._enter()}),f.on(this._element,r,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?Vn:he]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(Hr),jr,this._hideModalHandler)}_fixTitle(){const 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,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=it.getDataAttributes(this._element);for(const i of Object.keys(n))pf.has(i)&&delete n[i];return t={...n,...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:ut(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(){const t={};for(const[n,i]of Object.entries(this._config))this.constructor.Default[n]!==i&&(t[n]=i);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(){const n=re.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}z(re);const Lf="popover",If=".popover-header",Mf=".popover-body",Pf={...re.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Rf={...re.DefaultType,content:"(null|string|element|function)"};class _n extends re{static get Default(){return Pf}static get DefaultType(){return Rf}static get NAME(){return Lf}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[If]:this._getTitle(),[Mf]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=_n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}z(_n);const kf="scrollspy",Vf="bs.scrollspy",Pi=`.${Vf}`,Hf=".data-api",jf=`activate${Pi}`,Fr=`click${Pi}`,Ff=`load${Pi}${Hf}`,Bf="dropdown-item",Ft="active",Wf='[data-bs-spy="scroll"]',Hn="[href]",Kf=".nav, .list-group",Br=".nav-link",Yf=".nav-item",zf=".list-group-item",Uf=`${Br}, ${Yf} > ${Br}, ${zf}`,qf=".dropdown",Gf=".dropdown-toggle",Xf={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Qf={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class gn extends X{constructor(t,n){super(t,n),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 Xf}static get DefaultType(){return Qf}static get NAME(){return kf}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ut(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(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,Fr),f.on(this._config.target,Fr,Hn,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const i=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:r,behavior:"smooth"});return}i.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),i=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,s=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(i(o),!r)return;continue}!s&&!a&&i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=g.find(Hn,this._config.target);for(const n of t){if(!n.hash||ft(n))continue;const i=g.findOne(decodeURI(n.hash),this._element);ne(i)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,i))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Ft),this._activateParents(t),f.trigger(this._element,jf,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Bf)){g.findOne(Gf,t.closest(qf)).classList.add(Ft);return}for(const n of g.parents(t,Kf))for(const i of g.prev(n,Uf))i.classList.add(Ft)}_clearActiveClass(t){t.classList.remove(Ft);const n=g.find(`${Hn}.${Ft}`,t);for(const i of n)i.classList.remove(Ft)}static jQueryInterface(t){return this.each(function(){const n=gn.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}f.on(window,Ff,()=>{for(const e of g.find(Wf))gn.getOrCreateInstance(e)});z(gn);const Jf="tab",Zf="bs.tab",kt=`.${Zf}`,td=`hide${kt}`,ed=`hidden${kt}`,nd=`show${kt}`,id=`shown${kt}`,rd=`click${kt}`,sd=`keydown${kt}`,od=`load${kt}`,ad="ArrowLeft",Wr="ArrowRight",cd="ArrowUp",Kr="ArrowDown",jn="Home",Yr="End",St="active",zr="fade",Fn="show",ld="dropdown",oo=".dropdown-toggle",ud=".dropdown-menu",Bn=`:not(${oo})`,fd='.list-group, .nav, [role="tablist"]',dd=".nav-item, .list-group-item",hd=`.nav-link${Bn}, .list-group-item${Bn}, [role="tab"]${Bn}`,ao='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wn=`${hd}, ${ao}`,pd=`.${St}[data-bs-toggle="tab"], .${St}[data-bs-toggle="pill"], .${St}[data-bs-toggle="list"]`;class Jt extends X{constructor(t){super(t),this._parent=this._element.closest(fd),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,sd,n=>this._keydown(n)))}static get NAME(){return Jf}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),i=n?f.trigger(n,td,{relatedTarget:t}):null;f.trigger(t,nd,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(St),this._activate(g.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Fn);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),f.trigger(t,id,{relatedTarget:n})};this._queueCallback(i,t,t.classList.contains(zr))}_deactivate(t,n){if(!t)return;t.classList.remove(St),t.blur(),this._deactivate(g.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Fn);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),f.trigger(t,ed,{relatedTarget:n})};this._queueCallback(i,t,t.classList.contains(zr))}_keydown(t){if(![ad,Wr,cd,Kr,jn,Yr].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(r=>!ft(r));let i;if([jn,Yr].includes(t.key))i=n[t.key===jn?0:n.length-1];else{const r=[Wr,Kr].includes(t.key);i=Li(n,t.target,r,!0)}i&&(i.focus({preventScroll:!0}),Jt.getOrCreateInstance(i).show())}_getChildren(){return g.find(Wn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const i of n)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",n),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=g.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const i=this._getOuterElement(t);if(!i.classList.contains(ld))return;const r=(s,o)=>{const a=g.findOne(s,i);a&&a.classList.toggle(o,n)};r(oo,St),r(ud,Fn),i.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,i){t.hasAttribute(n)||t.setAttribute(n,i)}_elemIsActive(t){return t.classList.contains(St)}_getInnerElement(t){return t.matches(Wn)?t:g.findOne(Wn,t)}_getOuterElement(t){return t.closest(dd)||t}static jQueryInterface(t){return this.each(function(){const n=Jt.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}f.on(document,rd,ao,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!ft(this)&&Jt.getOrCreateInstance(this).show()});f.on(window,od,()=>{for(const e of g.find(pd))Jt.getOrCreateInstance(e)});z(Jt);const _d="toast",gd="bs.toast",mt=`.${gd}`,md=`mouseover${mt}`,Ed=`mouseout${mt}`,vd=`focusin${mt}`,bd=`focusout${mt}`,yd=`hide${mt}`,Ad=`hidden${mt}`,wd=`show${mt}`,Td=`shown${mt}`,Od="fade",Ur="hide",Be="show",We="showing",Sd={animation:"boolean",autohide:"boolean",delay:"number"},Cd={animation:!0,autohide:!0,delay:5e3};class mn extends X{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Cd}static get DefaultType(){return Sd}static get NAME(){return _d}show(){if(f.trigger(this._element,wd).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Od);const n=()=>{this._element.classList.remove(We),f.trigger(this._element,Td),this._maybeScheduleHide()};this._element.classList.remove(Ur),Oe(this._element),this._element.classList.add(Be,We),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||f.trigger(this._element,yd).defaultPrevented)return;const n=()=>{this._element.classList.add(Ur),this._element.classList.remove(We,Be),f.trigger(this._element,Ad)};this._element.classList.add(We),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Be),super.dispose()}isShown(){return this._element.classList.contains(Be)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){f.on(this._element,md,t=>this._onInteraction(t,!0)),f.on(this._element,Ed,t=>this._onInteraction(t,!1)),f.on(this._element,vd,t=>this._onInteraction(t,!0)),f.on(this._element,bd,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=mn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}dn(mn);z(mn);var ni=!1,ii=!1,Nt=[],ri=-1;function xd(e){Nd(e)}function Nd(e){Nt.includes(e)||Nt.push(e),Dd()}function $d(e){let t=Nt.indexOf(e);t!==-1&&t>ri&&Nt.splice(t,1)}function Dd(){!ii&&!ni&&(ni=!0,queueMicrotask(Ld))}function Ld(){ni=!1,ii=!0;for(let e=0;ee.effect(t,{scheduler:n=>{si?xd(n):n()}}),co=e.raw}function qr(e){Vt=e}function Pd(e){let t=()=>{};return[i=>{let r=Vt(i);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(s=>s())}),e._x_effects.add(r),t=()=>{r!==void 0&&(e._x_effects.delete(r),oe(r))},r},()=>{t()}]}function lo(e,t){let n=!0,i,r=Vt(()=>{let s=e();JSON.stringify(s),n?i=s:queueMicrotask(()=>{t(s,i),i=s}),n=!1});return()=>oe(r)}var uo=[],fo=[],ho=[];function Rd(e){ho.push(e)}function Ri(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,fo.push(t))}function po(e){uo.push(e)}function _o(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function go(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,i])=>{(t===void 0||t.includes(n))&&(i.forEach(r=>r()),delete e._x_attributeCleanups[n])})}function kd(e){var t,n;for((t=e._x_effects)==null||t.forEach($d);(n=e._x_cleanups)!=null&&n.length;)e._x_cleanups.pop()()}var ki=new MutationObserver(Fi),Vi=!1;function Hi(){ki.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Vi=!0}function mo(){Vd(),ki.disconnect(),Vi=!1}var pe=[];function Vd(){let e=ki.takeRecords();pe.push(()=>e.length>0&&Fi(e));let t=pe.length;queueMicrotask(()=>{if(pe.length===t)for(;pe.length>0;)pe.shift()()})}function C(e){if(!Vi)return e();mo();let t=e();return Hi(),t}var ji=!1,sn=[];function Hd(){ji=!0}function jd(){ji=!1,Fi(sn),sn=[]}function Fi(e){if(ji){sn=sn.concat(e);return}let t=[],n=new Set,i=new Map,r=new Map;for(let s=0;s{o.nodeType===1&&o._x_marker&&n.add(o)}),e[s].addedNodes.forEach(o=>{if(o.nodeType===1){if(n.has(o)){n.delete(o);return}o._x_marker||t.push(o)}})),e[s].type==="attributes")){let o=e[s].target,a=e[s].attributeName,c=e[s].oldValue,u=()=>{i.has(o)||i.set(o,[]),i.get(o).push({name:a,value:o.getAttribute(a)})},l=()=>{r.has(o)||r.set(o,[]),r.get(o).push(a)};o.hasAttribute(a)&&c===null?u():o.hasAttribute(a)?(l(),u()):l()}r.forEach((s,o)=>{go(o,s)}),i.forEach((s,o)=>{uo.forEach(a=>a(o,s))});for(let s of n)t.some(o=>o.contains(s))||fo.forEach(o=>o(s));for(let s of t)s.isConnected&&ho.forEach(o=>o(s));t=null,n=null,i=null,r=null}function Eo(e){return $e(Zt(e))}function Ne(e,t,n){return e._x_dataStack=[t,...Zt(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(i=>i!==t)}}function Zt(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?Zt(e.host):e.parentNode?Zt(e.parentNode):[]}function $e(e){return new Proxy({objects:e},Fd)}var Fd={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(t=>Object.keys(t))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(n=>Object.prototype.hasOwnProperty.call(n,t)||Reflect.has(n,t))},get({objects:e},t,n){return t=="toJSON"?Bd:Reflect.get(e.find(i=>Reflect.has(i,t))||{},t,n)},set({objects:e},t,n,i){const r=e.find(o=>Object.prototype.hasOwnProperty.call(o,t))||e[e.length-1],s=Object.getOwnPropertyDescriptor(r,t);return s!=null&&s.set&&(s!=null&&s.get)?s.set.call(i,n)||!0:Reflect.set(r,t,n)}};function Bd(){return Reflect.ownKeys(this).reduce((t,n)=>(t[n]=Reflect.get(this,n),t),{})}function vo(e){let t=i=>typeof i=="object"&&!Array.isArray(i)&&i!==null,n=(i,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(i)).forEach(([s,{value:o,enumerable:a}])=>{if(a===!1||o===void 0||typeof o=="object"&&o!==null&&o.__v_skip)return;let c=r===""?s:`${r}.${s}`;typeof o=="object"&&o!==null&&o._x_interceptor?i[s]=o.initialize(e,c,s):t(o)&&o!==i&&!(o instanceof Element)&&n(o,c)})};return n(e)}function bo(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(i,r,s){return e(this.initialValue,()=>Wd(i,r),o=>oi(i,r,o),r,s)}};return t(n),i=>{if(typeof i=="object"&&i!==null&&i._x_interceptor){let r=n.initialize.bind(n);n.initialize=(s,o,a)=>{let c=i.initialize(s,o,a);return n.initialValue=c,r(s,o,a)}}else n.initialValue=i;return n}}function Wd(e,t){return t.split(".").reduce((n,i)=>n[i],e)}function oi(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),oi(e[t[0]],t.slice(1),n)}}var yo={};function Q(e,t){yo[e]=t}function ai(e,t){let n=Kd(t);return Object.entries(yo).forEach(([i,r])=>{Object.defineProperty(e,`$${i}`,{get(){return r(t,n)},enumerable:!1})}),e}function Kd(e){let[t,n]=Co(e),i={interceptor:bo,...t};return Ri(e,n),i}function Yd(e,t,n,...i){try{return n(...i)}catch(r){we(r,e,t)}}function we(e,t,n=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message} ${n?'Expression: "'+n+`" `:""}`,t),setTimeout(()=>{throw e},0)}var Je=!0;function Ao(e){let t=Je;Je=!1;let n=e();return Je=t,n}function $t(e,t,n={}){let i;return R(e,t)(r=>i=r,n),i}function R(...e){return wo(...e)}var wo=To;function zd(e){wo=e}function To(e,t){let n={};ai(n,e);let i=[n,...Zt(e)],r=typeof t=="function"?Ud(i,t):Gd(i,t,e);return Yd.bind(null,e,t,r)}function Ud(e,t){return(n=()=>{},{scope:i={},params:r=[]}={})=>{let s=t.apply($e([i,...e]),r);on(n,s)}}var Kn={};function qd(e,t){if(Kn[e])return Kn[e];let n=Object.getPrototypeOf(async function(){}).constructor,i=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,s=(()=>{try{let o=new n(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`);return Object.defineProperty(o,"name",{value:`[Alpine] ${e}`}),o}catch(o){return we(o,t,e),Promise.resolve()}})();return Kn[e]=s,s}function Gd(e,t,n){let i=qd(t,n);return(r=()=>{},{scope:s={},params:o=[]}={})=>{i.result=void 0,i.finished=!1;let a=$e([s,...e]);if(typeof i=="function"){let c=i(i,a).catch(u=>we(u,n,t));i.finished?(on(r,i.result,a,o,n),i.result=void 0):c.then(u=>{on(r,u,a,o,n)}).catch(u=>we(u,n,t)).finally(()=>i.result=void 0)}}}function on(e,t,n,i,r){if(Je&&typeof t=="function"){let s=t.apply(n,i);s instanceof Promise?s.then(o=>on(e,o,n,i)).catch(o=>we(o,r,t)):e(s)}else typeof t=="object"&&t instanceof Promise?t.then(s=>e(s)):e(t)}var Bi="x-";function ae(e=""){return Bi+e}function Xd(e){Bi=e}var an={};function $(e,t){return an[e]=t,{before(n){if(!an[n]){console.warn(String.raw`Cannot find directive \`${n}\`. \`${e}\` will use the default order of execution`);return}const i=Ct.indexOf(n);Ct.splice(i>=0?i:Ct.indexOf("DEFAULT"),0,e)}}}function Qd(e){return Object.keys(an).includes(e)}function Wi(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let s=Object.entries(e._x_virtualDirectives).map(([a,c])=>({name:a,value:c})),o=Oo(s);s=s.map(a=>o.find(c=>c.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),t=t.concat(s)}let i={};return t.map($o((s,o)=>i[s]=o)).filter(Lo).map(th(i,n)).sort(eh).map(s=>Zd(e,s))}function Oo(e){return Array.from(e).map($o()).filter(t=>!Lo(t))}var ci=!1,me=new Map,So=Symbol();function Jd(e){ci=!0;let t=Symbol();So=t,me.set(t,[]);let n=()=>{for(;me.get(t).length;)me.get(t).shift()();me.delete(t)},i=()=>{ci=!1,n()};e(n),i()}function Co(e){let t=[],n=a=>t.push(a),[i,r]=Pd(e);return t.push(r),[{Alpine:De,effect:i,cleanup:n,evaluateLater:R.bind(R,e),evaluate:$t.bind($t,e)},()=>t.forEach(a=>a())]}function Zd(e,t){let n=()=>{},i=an[t.type]||n,[r,s]=Co(e);_o(e,t.original,s);let o=()=>{e._x_ignore||e._x_ignoreSelf||(i.inline&&i.inline(e,t,r),i=i.bind(i,e,t,r),ci?me.get(So).push(i):i())};return o.runCleanups=s,o}var xo=(e,t)=>({name:n,value:i})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:i}),No=e=>e;function $o(e=()=>{}){return({name:t,value:n})=>{let{name:i,value:r}=Do.reduce((s,o)=>o(s),{name:t,value:n});return i!==t&&e(i,t),{name:i,value:r}}}var Do=[];function Ki(e){Do.push(e)}function Lo({name:e}){return Io().test(e)}var Io=()=>new RegExp(`^${Bi}([^:^.]+)\\b`);function th(e,t){return({name:n,value:i})=>{let r=n.match(Io()),s=n.match(/:([a-zA-Z0-9\-_:]+)/),o=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[n]||n;return{type:r?r[1]:null,value:s?s[1]:null,modifiers:o.map(c=>c.replace(".","")),expression:i,original:a}}}var li="DEFAULT",Ct=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",li,"teleport"];function eh(e,t){let n=Ct.indexOf(e.type)===-1?li:e.type,i=Ct.indexOf(t.type)===-1?li:t.type;return Ct.indexOf(n)-Ct.indexOf(i)}function be(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function Pt(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(r=>Pt(r,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let i=e.firstElementChild;for(;i;)Pt(i,t),i=i.nextElementSibling}function B(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Gr=!1;function nh(){Gr&&B("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Gr=!0,document.body||B("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `