7 lines
80 KiB
JavaScript
7 lines
80 KiB
JavaScript
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))l(a);new MutationObserver(a=>{for(const h of a)if(h.type==="childList")for(const m of h.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&l(m)}).observe(document,{childList:!0,subtree:!0});function s(a){const h={};return a.integrity&&(h.integrity=a.integrity),a.referrerPolicy&&(h.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?h.credentials="include":a.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function l(a){if(a.ep)return;a.ep=!0;const h=s(a);fetch(a.href,h)}})();var Gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zn(i){if(i.__esModule)return i;var n=i.default;if(typeof n=="function"){var s=function l(){return this instanceof l?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};s.prototype=n.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(i).forEach(function(l){var a=Object.getOwnPropertyDescriptor(i,l);Object.defineProperty(s,l,a.get?a:{enumerable:!0,get:function(){return i[l]}})}),s}var Jn={exports:{}},q="top",G="bottom",Z="right",V="left",At="auto",Ke=[q,G,Z,V],je="start",ze="end",$i="clippingParents",$t="viewport",We="popper",Bi="reference",Nt=Ke.reduce(function(i,n){return i.concat([n+"-"+je,n+"-"+ze])},[]),Bt=[].concat(Ke,[At]).reduce(function(i,n){return i.concat([n,n+"-"+je,n+"-"+ze])},[]),Ri="beforeRead",Hi="read",Fi="afterRead",Wi="beforeMain",zi="main",qi="afterMain",Vi="beforeWrite",Xi="write",Yi="afterWrite",Ki=[Ri,Hi,Fi,Wi,zi,qi,Vi,Xi,Yi];function he(i){return i?(i.nodeName||"").toLowerCase():null}function J(i){if(i==null)return window;if(i.toString()!=="[object Window]"){var n=i.ownerDocument;return n&&n.defaultView||window}return i}function Me(i){var n=J(i).Element;return i instanceof n||i instanceof Element}function te(i){var n=J(i).HTMLElement;return i instanceof n||i instanceof HTMLElement}function Rt(i){if(typeof ShadowRoot>"u")return!1;var n=J(i).ShadowRoot;return i instanceof n||i instanceof ShadowRoot}function es(i){var n=i.state;Object.keys(n.elements).forEach(function(s){var l=n.styles[s]||{},a=n.attributes[s]||{},h=n.elements[s];!te(h)||!he(h)||(Object.assign(h.style,l),Object.keys(a).forEach(function(m){var f=a[m];f===!1?h.removeAttribute(m):h.setAttribute(m,f===!0?"":f)}))})}function ts(i){var n=i.state,s={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,s.popper),n.styles=s,n.elements.arrow&&Object.assign(n.elements.arrow.style,s.arrow),function(){Object.keys(n.elements).forEach(function(l){var a=n.elements[l],h=n.attributes[l]||{},m=Object.keys(n.styles.hasOwnProperty(l)?n.styles[l]:s[l]),f=m.reduce(function(d,v){return d[v]="",d},{});!te(a)||!he(a)||(Object.assign(a.style,f),Object.keys(h).forEach(function(d){a.removeAttribute(d)}))})}}const Ht={name:"applyStyles",enabled:!0,phase:"write",fn:es,effect:ts,requires:["computeStyles"]};function ue(i){return i.split("-")[0]}var Ne=Math.max,wt=Math.min,qe=Math.round;function jt(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function Ui(){return!/^((?!chrome|android).)*safari/i.test(jt())}function Ve(i,n,s){n===void 0&&(n=!1),s===void 0&&(s=!1);var l=i.getBoundingClientRect(),a=1,h=1;n&&te(i)&&(a=i.offsetWidth>0&&qe(l.width)/i.offsetWidth||1,h=i.offsetHeight>0&&qe(l.height)/i.offsetHeight||1);var m=Me(i)?J(i):window,f=m.visualViewport,d=!Ui()&&s,v=(l.left+(d&&f?f.offsetLeft:0))/a,g=(l.top+(d&&f?f.offsetTop:0))/h,A=l.width/a,k=l.height/h;return{width:A,height:k,top:g,right:v+A,bottom:g+k,left:v,x:v,y:g}}function Ft(i){var n=Ve(i),s=i.offsetWidth,l=i.offsetHeight;return Math.abs(n.width-s)<=1&&(s=n.width),Math.abs(n.height-l)<=1&&(l=n.height),{x:i.offsetLeft,y:i.offsetTop,width:s,height:l}}function Qi(i,n){var s=n.getRootNode&&n.getRootNode();if(i.contains(n))return!0;if(s&&Rt(s)){var l=n;do{if(l&&i.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function me(i){return J(i).getComputedStyle(i)}function is(i){return["table","td","th"].indexOf(he(i))>=0}function we(i){return((Me(i)?i.ownerDocument:i.document)||window.document).documentElement}function Et(i){return he(i)==="html"?i:i.assignedSlot||i.parentNode||(Rt(i)?i.host:null)||we(i)}function Li(i){return!te(i)||me(i).position==="fixed"?null:i.offsetParent}function ns(i){var n=/firefox/i.test(jt()),s=/Trident/i.test(jt());if(s&&te(i)){var l=me(i);if(l.position==="fixed")return null}var a=Et(i);for(Rt(a)&&(a=a.host);te(a)&&["html","body"].indexOf(he(a))<0;){var h=me(a);if(h.transform!=="none"||h.perspective!=="none"||h.contain==="paint"||["transform","perspective"].indexOf(h.willChange)!==-1||n&&h.willChange==="filter"||n&&h.filter&&h.filter!=="none")return a;a=a.parentNode}return null}function rt(i){for(var n=J(i),s=Li(i);s&&is(s)&&me(s).position==="static";)s=Li(s);return s&&(he(s)==="html"||he(s)==="body"&&me(s).position==="static")?n:s||ns(i)||n}function Wt(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function nt(i,n,s){return Ne(i,wt(n,s))}function ss(i,n,s){var l=nt(i,n,s);return l>s?s:l}function Gi(){return{top:0,right:0,bottom:0,left:0}}function Zi(i){return Object.assign({},Gi(),i)}function Ji(i,n){return n.reduce(function(s,l){return s[l]=i,s},{})}var rs=function(n,s){return n=typeof n=="function"?n(Object.assign({},s.rects,{placement:s.placement})):n,Zi(typeof n!="number"?n:Ji(n,Ke))};function os(i){var n,s=i.state,l=i.name,a=i.options,h=s.elements.arrow,m=s.modifiersData.popperOffsets,f=ue(s.placement),d=Wt(f),v=[V,Z].indexOf(f)>=0,g=v?"height":"width";if(!(!h||!m)){var A=rs(a.padding,s),k=Ft(h),y=d==="y"?q:V,P=d==="y"?G:Z,T=s.rects.reference[g]+s.rects.reference[d]-m[d]-s.rects.popper[g],E=m[d]-s.rects.reference[d],D=rt(h),I=D?d==="y"?D.clientHeight||0:D.clientWidth||0:0,x=T/2-E/2,b=A[y],C=I-k[g]-A[P],L=I/2-k[g]/2+x,S=nt(b,L,C),B=d;s.modifiersData[l]=(n={},n[B]=S,n.centerOffset=S-L,n)}}function as(i){var n=i.state,s=i.options,l=s.element,a=l===void 0?"[data-popper-arrow]":l;a!=null&&(typeof a=="string"&&(a=n.elements.popper.querySelector(a),!a)||Qi(n.elements.popper,a)&&(n.elements.arrow=a))}const en={name:"arrow",enabled:!0,phase:"main",fn:os,effect:as,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xe(i){return i.split("-")[1]}var ls={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cs(i,n){var s=i.x,l=i.y,a=n.devicePixelRatio||1;return{x:qe(s*a)/a||0,y:qe(l*a)/a||0}}function Di(i){var n,s=i.popper,l=i.popperRect,a=i.placement,h=i.variation,m=i.offsets,f=i.position,d=i.gpuAcceleration,v=i.adaptive,g=i.roundOffsets,A=i.isFixed,k=m.x,y=k===void 0?0:k,P=m.y,T=P===void 0?0:P,E=typeof g=="function"?g({x:y,y:T}):{x:y,y:T};y=E.x,T=E.y;var D=m.hasOwnProperty("x"),I=m.hasOwnProperty("y"),x=V,b=q,C=window;if(v){var L=rt(s),S="clientHeight",B="clientWidth";if(L===J(s)&&(L=we(s),me(L).position!=="static"&&f==="absolute"&&(S="scrollHeight",B="scrollWidth")),L=L,a===q||(a===V||a===Z)&&h===ze){b=G;var M=A&&L===C&&C.visualViewport?C.visualViewport.height:L[S];T-=M-l.height,T*=d?1:-1}if(a===V||(a===q||a===G)&&h===ze){x=Z;var j=A&&L===C&&C.visualViewport?C.visualViewport.width:L[B];y-=j-l.width,y*=d?1:-1}}var $=Object.assign({position:f},v&&ls),X=g===!0?cs({x:y,y:T},J(s)):{x:y,y:T};if(y=X.x,T=X.y,d){var R;return Object.assign({},$,(R={},R[b]=I?"0":"",R[x]=D?"0":"",R.transform=(C.devicePixelRatio||1)<=1?"translate("+y+"px, "+T+"px)":"translate3d("+y+"px, "+T+"px, 0)",R))}return Object.assign({},$,(n={},n[b]=I?T+"px":"",n[x]=D?y+"px":"",n.transform="",n))}function us(i){var n=i.state,s=i.options,l=s.gpuAcceleration,a=l===void 0?!0:l,h=s.adaptive,m=h===void 0?!0:h,f=s.roundOffsets,d=f===void 0?!0:f,v={placement:ue(n.placement),variation:Xe(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:a,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,Di(Object.assign({},v,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:m,roundOffsets:d})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,Di(Object.assign({},v,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}const zt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:us,data:{}};var bt={passive:!0};function hs(i){var n=i.state,s=i.instance,l=i.options,a=l.scroll,h=a===void 0?!0:a,m=l.resize,f=m===void 0?!0:m,d=J(n.elements.popper),v=[].concat(n.scrollParents.reference,n.scrollParents.popper);return h&&v.forEach(function(g){g.addEventListener("scroll",s.update,bt)}),f&&d.addEventListener("resize",s.update,bt),function(){h&&v.forEach(function(g){g.removeEventListener("scroll",s.update,bt)}),f&&d.removeEventListener("resize",s.update,bt)}}const qt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hs,data:{}};var ds={left:"right",right:"left",bottom:"top",top:"bottom"};function yt(i){return i.replace(/left|right|bottom|top/g,function(n){return ds[n]})}var fs={start:"end",end:"start"};function Pi(i){return i.replace(/start|end/g,function(n){return fs[n]})}function Vt(i){var n=J(i),s=n.pageXOffset,l=n.pageYOffset;return{scrollLeft:s,scrollTop:l}}function Xt(i){return Ve(we(i)).left+Vt(i).scrollLeft}function ps(i,n){var s=J(i),l=we(i),a=s.visualViewport,h=l.clientWidth,m=l.clientHeight,f=0,d=0;if(a){h=a.width,m=a.height;var v=Ui();(v||!v&&n==="fixed")&&(f=a.offsetLeft,d=a.offsetTop)}return{width:h,height:m,x:f+Xt(i),y:d}}function gs(i){var n,s=we(i),l=Vt(i),a=(n=i.ownerDocument)==null?void 0:n.body,h=Ne(s.scrollWidth,s.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),m=Ne(s.scrollHeight,s.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),f=-l.scrollLeft+Xt(i),d=-l.scrollTop;return me(a||s).direction==="rtl"&&(f+=Ne(s.clientWidth,a?a.clientWidth:0)-h),{width:h,height:m,x:f,y:d}}function Yt(i){var n=me(i),s=n.overflow,l=n.overflowX,a=n.overflowY;return/auto|scroll|overlay|hidden/.test(s+a+l)}function tn(i){return["html","body","#document"].indexOf(he(i))>=0?i.ownerDocument.body:te(i)&&Yt(i)?i:tn(Et(i))}function st(i,n){var s;n===void 0&&(n=[]);var l=tn(i),a=l===((s=i.ownerDocument)==null?void 0:s.body),h=J(l),m=a?[h].concat(h.visualViewport||[],Yt(l)?l:[]):l,f=n.concat(m);return a?f:f.concat(st(Et(m)))}function Mt(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function ms(i,n){var s=Ve(i,!1,n==="fixed");return s.top=s.top+i.clientTop,s.left=s.left+i.clientLeft,s.bottom=s.top+i.clientHeight,s.right=s.left+i.clientWidth,s.width=i.clientWidth,s.height=i.clientHeight,s.x=s.left,s.y=s.top,s}function Si(i,n,s){return n===$t?Mt(ps(i,s)):Me(n)?ms(n,s):Mt(gs(we(i)))}function _s(i){var n=st(Et(i)),s=["absolute","fixed"].indexOf(me(i).position)>=0,l=s&&te(i)?rt(i):i;return Me(l)?n.filter(function(a){return Me(a)&&Qi(a,l)&&he(a)!=="body"}):[]}function vs(i,n,s,l){var a=n==="clippingParents"?_s(i):[].concat(n),h=[].concat(a,[s]),m=h[0],f=h.reduce(function(d,v){var g=Si(i,v,l);return d.top=Ne(g.top,d.top),d.right=wt(g.right,d.right),d.bottom=wt(g.bottom,d.bottom),d.left=Ne(g.left,d.left),d},Si(i,m,l));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function nn(i){var n=i.reference,s=i.element,l=i.placement,a=l?ue(l):null,h=l?Xe(l):null,m=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2,d;switch(a){case q:d={x:m,y:n.y-s.height};break;case G:d={x:m,y:n.y+n.height};break;case Z:d={x:n.x+n.width,y:f};break;case V:d={x:n.x-s.width,y:f};break;default:d={x:n.x,y:n.y}}var v=a?Wt(a):null;if(v!=null){var g=v==="y"?"height":"width";switch(h){case je:d[v]=d[v]-(n[g]/2-s[g]/2);break;case ze:d[v]=d[v]+(n[g]/2-s[g]/2);break}}return d}function Ye(i,n){n===void 0&&(n={});var s=n,l=s.placement,a=l===void 0?i.placement:l,h=s.strategy,m=h===void 0?i.strategy:h,f=s.boundary,d=f===void 0?$i:f,v=s.rootBoundary,g=v===void 0?$t:v,A=s.elementContext,k=A===void 0?We:A,y=s.altBoundary,P=y===void 0?!1:y,T=s.padding,E=T===void 0?0:T,D=Zi(typeof E!="number"?E:Ji(E,Ke)),I=k===We?Bi:We,x=i.rects.popper,b=i.elements[P?I:k],C=vs(Me(b)?b:b.contextElement||we(i.elements.popper),d,g,m),L=Ve(i.elements.reference),S=nn({reference:L,element:x,strategy:"absolute",placement:a}),B=Mt(Object.assign({},x,S)),M=k===We?B:L,j={top:C.top-M.top+D.top,bottom:M.bottom-C.bottom+D.bottom,left:C.left-M.left+D.left,right:M.right-C.right+D.right},$=i.modifiersData.offset;if(k===We&&$){var X=$[a];Object.keys(j).forEach(function(R){var de=[Z,G].indexOf(R)>=0?1:-1,oe=[q,G].indexOf(R)>=0?"y":"x";j[R]+=X[oe]*de})}return j}function bs(i,n){n===void 0&&(n={});var s=n,l=s.placement,a=s.boundary,h=s.rootBoundary,m=s.padding,f=s.flipVariations,d=s.allowedAutoPlacements,v=d===void 0?Bt:d,g=Xe(l),A=g?f?Nt:Nt.filter(function(P){return Xe(P)===g}):Ke,k=A.filter(function(P){return v.indexOf(P)>=0});k.length===0&&(k=A);var y=k.reduce(function(P,T){return P[T]=Ye(i,{placement:T,boundary:a,rootBoundary:h,padding:m})[ue(T)],P},{});return Object.keys(y).sort(function(P,T){return y[P]-y[T]})}function ys(i){if(ue(i)===At)return[];var n=yt(i);return[Pi(i),n,Pi(n)]}function ws(i){var n=i.state,s=i.options,l=i.name;if(!n.modifiersData[l]._skip){for(var a=s.mainAxis,h=a===void 0?!0:a,m=s.altAxis,f=m===void 0?!0:m,d=s.fallbackPlacements,v=s.padding,g=s.boundary,A=s.rootBoundary,k=s.altBoundary,y=s.flipVariations,P=y===void 0?!0:y,T=s.allowedAutoPlacements,E=n.options.placement,D=ue(E),I=D===E,x=d||(I||!P?[yt(E)]:ys(E)),b=[E].concat(x).reduce(function(le,H){return le.concat(ue(H)===At?bs(n,{placement:H,boundary:g,rootBoundary:A,padding:v,flipVariations:P,allowedAutoPlacements:T}):H)},[]),C=n.rects.reference,L=n.rects.popper,S=new Map,B=!0,M=b[0],j=0;j<b.length;j++){var $=b[j],X=ue($),R=Xe($)===je,de=[q,G].indexOf(X)>=0,oe=de?"width":"height",F=Ye(n,{placement:$,boundary:g,rootBoundary:A,altBoundary:k,padding:v}),Y=de?R?Z:V:R?G:q;C[oe]>L[oe]&&(Y=yt(Y));var Ae=yt(Y),ae=[];if(h&&ae.push(F[X]<=0),f&&ae.push(F[Y]<=0,F[Ae]<=0),ae.every(function(le){return le})){M=$,B=!1;break}S.set($,ae)}if(B)for(var _e=P?3:1,Ue=function(H){var fe=b.find(function(Ee){var ie=S.get(Ee);if(ie)return ie.slice(0,H).every(function(K){return K})});if(fe)return M=fe,"break"},ve=_e;ve>0;ve--){var u=Ue(ve);if(u==="break")break}n.placement!==M&&(n.modifiersData[l]._skip=!0,n.placement=M,n.reset=!0)}}const sn={name:"flip",enabled:!0,phase:"main",fn:ws,requiresIfExists:["offset"],data:{_skip:!1}};function Ii(i,n,s){return s===void 0&&(s={x:0,y:0}),{top:i.top-n.height-s.y,right:i.right-n.width+s.x,bottom:i.bottom-n.height+s.y,left:i.left-n.width-s.x}}function Ni(i){return[q,Z,G,V].some(function(n){return i[n]>=0})}function As(i){var n=i.state,s=i.name,l=n.rects.reference,a=n.rects.popper,h=n.modifiersData.preventOverflow,m=Ye(n,{elementContext:"reference"}),f=Ye(n,{altBoundary:!0}),d=Ii(m,l),v=Ii(f,a,h),g=Ni(d),A=Ni(v);n.modifiersData[s]={referenceClippingOffsets:d,popperEscapeOffsets:v,isReferenceHidden:g,hasPopperEscaped:A},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":g,"data-popper-escaped":A})}const rn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:As};function Es(i,n,s){var l=ue(i),a=[V,q].indexOf(l)>=0?-1:1,h=typeof s=="function"?s(Object.assign({},n,{placement:i})):s,m=h[0],f=h[1];return m=m||0,f=(f||0)*a,[V,Z].indexOf(l)>=0?{x:f,y:m}:{x:m,y:f}}function Cs(i){var n=i.state,s=i.options,l=i.name,a=s.offset,h=a===void 0?[0,0]:a,m=Bt.reduce(function(g,A){return g[A]=Es(A,n.rects,h),g},{}),f=m[n.placement],d=f.x,v=f.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=d,n.modifiersData.popperOffsets.y+=v),n.modifiersData[l]=m}const on={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Cs};function Ts(i){var n=i.state,s=i.name;n.modifiersData[s]=nn({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})}const Kt={name:"popperOffsets",enabled:!0,phase:"read",fn:Ts,data:{}};function Os(i){return i==="x"?"y":"x"}function xs(i){var n=i.state,s=i.options,l=i.name,a=s.mainAxis,h=a===void 0?!0:a,m=s.altAxis,f=m===void 0?!1:m,d=s.boundary,v=s.rootBoundary,g=s.altBoundary,A=s.padding,k=s.tether,y=k===void 0?!0:k,P=s.tetherOffset,T=P===void 0?0:P,E=Ye(n,{boundary:d,rootBoundary:v,padding:A,altBoundary:g}),D=ue(n.placement),I=Xe(n.placement),x=!I,b=Wt(D),C=Os(b),L=n.modifiersData.popperOffsets,S=n.rects.reference,B=n.rects.popper,M=typeof T=="function"?T(Object.assign({},n.rects,{placement:n.placement})):T,j=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),$=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,X={x:0,y:0};if(L){if(h){var R,de=b==="y"?q:V,oe=b==="y"?G:Z,F=b==="y"?"height":"width",Y=L[b],Ae=Y+E[de],ae=Y-E[oe],_e=y?-B[F]/2:0,Ue=I===je?S[F]:B[F],ve=I===je?-B[F]:-S[F],u=n.elements.arrow,le=y&&u?Ft(u):{width:0,height:0},H=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:Gi(),fe=H[de],Ee=H[oe],ie=nt(0,S[F],le[F]),K=x?S[F]/2-_e-ie-fe-j.mainAxis:Ue-ie-fe-j.mainAxis,Ce=x?-S[F]/2+_e+ie+Ee+j.mainAxis:ve+ie+Ee+j.mainAxis,W=n.elements.arrow&&rt(n.elements.arrow),$e=W?b==="y"?W.clientTop||0:W.clientLeft||0:0,be=(R=$==null?void 0:$[b])!=null?R:0,ot=Y+K-be-$e,Te=Y+Ce-be,w=nt(y?wt(Ae,ot):Ae,Y,y?Ne(ae,Te):ae);L[b]=w,X[b]=w-Y}if(f){var at,Tt=b==="x"?q:V,Be=b==="x"?G:Z,U=L[C],ne=C==="y"?"height":"width",pe=U+E[Tt],Oe=U-E[Be],xe=[q,V].indexOf(D)!==-1,Qe=(at=$==null?void 0:$[C])!=null?at:0,ke=xe?pe:U-S[ne]-B[ne]-Qe+j.altAxis,lt=xe?U+S[ne]+B[ne]-Qe-j.altAxis:Oe,ct=y&&xe?ss(ke,U,lt):nt(y?ke:pe,U,y?lt:Oe);L[C]=ct,X[C]=ct-U}n.modifiersData[l]=X}}const an={name:"preventOverflow",enabled:!0,phase:"main",fn:xs,requiresIfExists:["offset"]};function ks(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function Ls(i){return i===J(i)||!te(i)?Vt(i):ks(i)}function Ds(i){var n=i.getBoundingClientRect(),s=qe(n.width)/i.offsetWidth||1,l=qe(n.height)/i.offsetHeight||1;return s!==1||l!==1}function Ps(i,n,s){s===void 0&&(s=!1);var l=te(n),a=te(n)&&Ds(n),h=we(n),m=Ve(i,a,s),f={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(l||!l&&!s)&&((he(n)!=="body"||Yt(h))&&(f=Ls(n)),te(n)?(d=Ve(n,!0),d.x+=n.clientLeft,d.y+=n.clientTop):h&&(d.x=Xt(h))),{x:m.left+f.scrollLeft-d.x,y:m.top+f.scrollTop-d.y,width:m.width,height:m.height}}function Ss(i){var n=new Map,s=new Set,l=[];i.forEach(function(h){n.set(h.name,h)});function a(h){s.add(h.name);var m=[].concat(h.requires||[],h.requiresIfExists||[]);m.forEach(function(f){if(!s.has(f)){var d=n.get(f);d&&a(d)}}),l.push(h)}return i.forEach(function(h){s.has(h.name)||a(h)}),l}function Is(i){var n=Ss(i);return Ki.reduce(function(s,l){return s.concat(n.filter(function(a){return a.phase===l}))},[])}function Ns(i){var n;return function(){return n||(n=new Promise(function(s){Promise.resolve().then(function(){n=void 0,s(i())})})),n}}function js(i){var n=i.reduce(function(s,l){var a=s[l.name];return s[l.name]=a?Object.assign({},a,l,{options:Object.assign({},a.options,l.options),data:Object.assign({},a.data,l.data)}):l,s},{});return Object.keys(n).map(function(s){return n[s]})}var ji={placement:"bottom",modifiers:[],strategy:"absolute"};function Mi(){for(var i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];return!n.some(function(l){return!(l&&typeof l.getBoundingClientRect=="function")})}function Ct(i){i===void 0&&(i={});var n=i,s=n.defaultModifiers,l=s===void 0?[]:s,a=n.defaultOptions,h=a===void 0?ji:a;return function(f,d,v){v===void 0&&(v=h);var g={placement:"bottom",orderedModifiers:[],options:Object.assign({},ji,h),modifiersData:{},elements:{reference:f,popper:d},attributes:{},styles:{}},A=[],k=!1,y={state:g,setOptions:function(D){var I=typeof D=="function"?D(g.options):D;T(),g.options=Object.assign({},h,g.options,I),g.scrollParents={reference:Me(f)?st(f):f.contextElement?st(f.contextElement):[],popper:st(d)};var x=Is(js([].concat(l,g.options.modifiers)));return g.orderedModifiers=x.filter(function(b){return b.enabled}),P(),y.update()},forceUpdate:function(){if(!k){var D=g.elements,I=D.reference,x=D.popper;if(Mi(I,x)){g.rects={reference:Ps(I,rt(x),g.options.strategy==="fixed"),popper:Ft(x)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach(function(j){return g.modifiersData[j.name]=Object.assign({},j.data)});for(var b=0;b<g.orderedModifiers.length;b++){if(g.reset===!0){g.reset=!1,b=-1;continue}var C=g.orderedModifiers[b],L=C.fn,S=C.options,B=S===void 0?{}:S,M=C.name;typeof L=="function"&&(g=L({state:g,options:B,name:M,instance:y})||g)}}}},update:Ns(function(){return new Promise(function(E){y.forceUpdate(),E(g)})}),destroy:function(){T(),k=!0}};if(!Mi(f,d))return y;y.setOptions(v).then(function(E){!k&&v.onFirstUpdate&&v.onFirstUpdate(E)});function P(){g.orderedModifiers.forEach(function(E){var D=E.name,I=E.options,x=I===void 0?{}:I,b=E.effect;if(typeof b=="function"){var C=b({state:g,name:D,instance:y,options:x}),L=function(){};A.push(C||L)}})}function T(){A.forEach(function(E){return E()}),A=[]}return y}}var Ms=Ct(),$s=[qt,Kt,zt,Ht],Bs=Ct({defaultModifiers:$s}),Rs=[qt,Kt,zt,Ht,on,sn,an,en,rn],Hs=Ct({defaultModifiers:Rs});const Fs=Object.freeze(Object.defineProperty({__proto__:null,afterMain:qi,afterRead:Fi,afterWrite:Yi,applyStyles:Ht,arrow:en,auto:At,basePlacements:Ke,beforeMain:Wi,beforeRead:Ri,beforeWrite:Vi,bottom:G,clippingParents:$i,computeStyles:zt,createPopper:Hs,createPopperBase:Ms,createPopperLite:Bs,detectOverflow:Ye,end:ze,eventListeners:qt,flip:sn,hide:rn,left:V,main:zi,modifierPhases:Ki,offset:on,placements:Bt,popper:We,popperGenerator:Ct,popperOffsets:Kt,preventOverflow:an,read:Hi,reference:Bi,right:Z,start:je,top:q,variationPlacements:Nt,viewport:$t,write:Xi},Symbol.toStringTag,{value:"Module"})),Ws=Zn(Fs);/*!
|
|
* Bootstrap v5.2.1 (https://getbootstrap.com/)
|
|
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/(function(i,n){(function(s,l){i.exports=l(Ws)})(Gn,function(s){function l(o){if(o&&o.__esModule)return o;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>o[t]})}}return e.default=o,Object.freeze(e)}const a=l(s),h="transitionend",m=o=>{let e=o.getAttribute("data-bs-target");if(!e||e==="#"){let t=o.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return e},f=o=>{const e=m(o);return e&&document.querySelector(e)?e:null},d=o=>{const e=m(o);return e?document.querySelector(e):null},v=o=>{o.dispatchEvent(new Event(h))},g=o=>!(!o||typeof o!="object")&&(o.jquery!==void 0&&(o=o[0]),o.nodeType!==void 0),A=o=>g(o)?o.jquery?o[0]:o:typeof o=="string"&&o.length>0?document.querySelector(o):null,k=o=>{if(!g(o)||o.getClientRects().length===0)return!1;const e=getComputedStyle(o).getPropertyValue("visibility")==="visible",t=o.closest("details:not([open])");if(!t)return e;if(t!==o){const r=o.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},y=o=>!o||o.nodeType!==Node.ELEMENT_NODE||!!o.classList.contains("disabled")||(o.disabled!==void 0?o.disabled:o.hasAttribute("disabled")&&o.getAttribute("disabled")!=="false"),P=o=>{if(!document.documentElement.attachShadow)return null;if(typeof o.getRootNode=="function"){const e=o.getRootNode();return e instanceof ShadowRoot?e:null}return o instanceof ShadowRoot?o:o.parentNode?P(o.parentNode):null},T=()=>{},E=o=>{o.offsetHeight},D=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,I=[],x=()=>document.documentElement.dir==="rtl",b=o=>{var e;e=()=>{const t=D();if(t){const r=o.NAME,c=t.fn[r];t.fn[r]=o.jQueryInterface,t.fn[r].Constructor=o,t.fn[r].noConflict=()=>(t.fn[r]=c,o.jQueryInterface)}},document.readyState==="loading"?(I.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of I)t()}),I.push(e)):e()},C=o=>{typeof o=="function"&&o()},L=(o,e,t=!0)=>{if(!t)return void C(o);const r=(_=>{if(!_)return 0;let{transitionDuration:O,transitionDelay:N}=window.getComputedStyle(_);const z=Number.parseFloat(O),Q=Number.parseFloat(N);return z||Q?(O=O.split(",")[0],N=N.split(",")[0],1e3*(Number.parseFloat(O)+Number.parseFloat(N))):0})(e)+5;let c=!1;const p=({target:_})=>{_===e&&(c=!0,e.removeEventListener(h,p),C(o))};e.addEventListener(h,p),setTimeout(()=>{c||v(e)},r)},S=(o,e,t,r)=>{const c=o.length;let p=o.indexOf(e);return p===-1?!t&&r?o[c-1]:o[0]:(p+=t?1:-1,r&&(p=(p+c)%c),o[Math.max(0,Math.min(p,c-1))])},B=/[^.]*(?=\..*)\.|.*/,M=/\..*/,j=/::\d+$/,$={};let X=1;const R={mouseenter:"mouseover",mouseleave:"mouseout"},de=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 oe(o,e){return e&&`${e}::${X++}`||o.uidEvent||X++}function F(o){const e=oe(o);return o.uidEvent=e,$[e]=$[e]||{},$[e]}function Y(o,e,t=null){return Object.values(o).find(r=>r.callable===e&&r.delegationSelector===t)}function Ae(o,e,t){const r=typeof e=="string",c=r?t:e||t;let p=ve(o);return de.has(p)||(p=o),[r,c,p]}function ae(o,e,t,r,c){if(typeof e!="string"||!o)return;let[p,_,O]=Ae(e,t,r);e in R&&(_=(Se=>function(re){if(!re.relatedTarget||re.relatedTarget!==re.delegateTarget&&!re.delegateTarget.contains(re.relatedTarget))return Se.call(this,re)})(_));const N=F(o),z=N[O]||(N[O]={}),Q=Y(z,_,p?t:null);if(Q)return void(Q.oneOff=Q.oneOff&&c);const ee=oe(_,e.replace(B,"")),ye=p?function(ce,Se,re){return function it(vt){const Un=ce.querySelectorAll(Se);for(let{target:Ie}=vt;Ie&&Ie!==this;Ie=Ie.parentNode)for(const Qn of Un)if(Qn===Ie)return le(vt,{delegateTarget:Ie}),it.oneOff&&u.off(ce,vt.type,Se,re),re.apply(Ie,[vt])}}(o,t,_):function(ce,Se){return function re(it){return le(it,{delegateTarget:ce}),re.oneOff&&u.off(ce,it.type,Se),Se.apply(ce,[it])}}(o,_);ye.delegationSelector=p?t:null,ye.callable=_,ye.oneOff=c,ye.uidEvent=ee,z[ee]=ye,o.addEventListener(O,ye,p)}function _e(o,e,t,r,c){const p=Y(e[t],r,c);p&&(o.removeEventListener(t,p,!!c),delete e[t][p.uidEvent])}function Ue(o,e,t,r){const c=e[t]||{};for(const p of Object.keys(c))if(p.includes(r)){const _=c[p];_e(o,e,t,_.callable,_.delegationSelector)}}function ve(o){return o=o.replace(M,""),R[o]||o}const u={on(o,e,t,r){ae(o,e,t,r,!1)},one(o,e,t,r){ae(o,e,t,r,!0)},off(o,e,t,r){if(typeof e!="string"||!o)return;const[c,p,_]=Ae(e,t,r),O=_!==e,N=F(o),z=N[_]||{},Q=e.startsWith(".");if(p===void 0){if(Q)for(const ee of Object.keys(N))Ue(o,N,ee,e.slice(1));for(const ee of Object.keys(z)){const ye=ee.replace(j,"");if(!O||e.includes(ye)){const ce=z[ee];_e(o,N,_,ce.callable,ce.delegationSelector)}}}else{if(!Object.keys(z).length)return;_e(o,N,_,p,c?t:null)}},trigger(o,e,t){if(typeof e!="string"||!o)return null;const r=D();let c=null,p=!0,_=!0,O=!1;e!==ve(e)&&r&&(c=r.Event(e,t),r(o).trigger(c),p=!c.isPropagationStopped(),_=!c.isImmediatePropagationStopped(),O=c.isDefaultPrevented());let N=new Event(e,{bubbles:p,cancelable:!0});return N=le(N,t),O&&N.preventDefault(),_&&o.dispatchEvent(N),N.defaultPrevented&&c&&c.preventDefault(),N}};function le(o,e){for(const[t,r]of Object.entries(e||{}))try{o[t]=r}catch{Object.defineProperty(o,t,{configurable:!0,get:()=>r})}return o}const H=new Map,fe={set(o,e,t){H.has(o)||H.set(o,new Map);const r=H.get(o);r.has(e)||r.size===0?r.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(o,e)=>H.has(o)&&H.get(o).get(e)||null,remove(o,e){if(!H.has(o))return;const t=H.get(o);t.delete(e),t.size===0&&H.delete(o)}};function Ee(o){if(o==="true")return!0;if(o==="false")return!1;if(o===Number(o).toString())return Number(o);if(o===""||o==="null")return null;if(typeof o!="string")return o;try{return JSON.parse(decodeURIComponent(o))}catch{return o}}function ie(o){return o.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const K={setDataAttribute(o,e,t){o.setAttribute(`data-bs-${ie(e)}`,t)},removeDataAttribute(o,e){o.removeAttribute(`data-bs-${ie(e)}`)},getDataAttributes(o){if(!o)return{};const e={},t=Object.keys(o.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let c=r.replace(/^bs/,"");c=c.charAt(0).toLowerCase()+c.slice(1,c.length),e[c]=Ee(o.dataset[r])}return e},getDataAttribute:(o,e)=>Ee(o.getAttribute(`data-bs-${ie(e)}`))};class Ce{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=g(t)?K.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...g(t)?K.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const c of Object.keys(t)){const p=t[c],_=e[c],O=g(_)?"element":(r=_)==null?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(p).test(O))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${c}" provided type "${O}" but expected type "${p}".`)}var r}}class W extends Ce{constructor(e,t){super(),(e=A(e))&&(this._element=e,this._config=this._getConfig(t),fe.set(this._element,this.constructor.DATA_KEY,this))}dispose(){fe.remove(this._element,this.constructor.DATA_KEY),u.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){L(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return fe.get(A(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return"5.2.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const $e=(o,e="hide")=>{const t=`click.dismiss${o.EVENT_KEY}`,r=o.NAME;u.on(document,t,`[data-bs-dismiss="${r}"]`,function(c){if(["A","AREA"].includes(this.tagName)&&c.preventDefault(),y(this))return;const p=d(this)||this.closest(`.${r}`);o.getOrCreateInstance(p)[e]()})};class be extends W{static get NAME(){return"alert"}close(){if(u.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),u.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=be.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}$e(be,"close"),b(be);const ot='[data-bs-toggle="button"]';class Te extends W{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=Te.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}u.on(document,"click.bs.button.data-api",ot,o=>{o.preventDefault();const e=o.target.closest(ot);Te.getOrCreateInstance(e).toggle()}),b(Te);const w={find:(o,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,o)),findOne:(o,e=document.documentElement)=>Element.prototype.querySelector.call(e,o),children:(o,e)=>[].concat(...o.children).filter(t=>t.matches(e)),parents(o,e){const t=[];let r=o.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(o,e){let t=o.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(o,e){let t=o.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(o){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,o).filter(t=>!y(t)&&k(t))}},at={endCallback:null,leftCallback:null,rightCallback:null},Tt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Be extends Ce{constructor(e,t){super(),this._element=e,e&&Be.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return at}static get DefaultType(){return Tt}static get NAME(){return"swipe"}dispose(){u.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),C(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&C(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(u.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),u.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(u.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),u.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),u.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType==="pen"||e.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const U="next",ne="prev",pe="left",Oe="right",xe="slid.bs.carousel",Qe="carousel",ke="active",lt={ArrowLeft:Oe,ArrowRight:pe},ct={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ln={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Re extends W{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=w.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Qe&&this.cycle()}static get Default(){return ct}static get DefaultType(){return ln}static get NAME(){return"carousel"}next(){this._slide(U)}nextWhenVisible(){!document.hidden&&k(this._element)&&this.next()}prev(){this._slide(ne)}pause(){this._isSliding&&v(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?u.one(this._element,xe,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void u.one(this._element,xe,()=>this.to(e));const r=this._getItemIndex(this._getActive());if(r===e)return;const c=e>r?U:ne;this._slide(c,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&u.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),this._config.pause==="hover"&&(u.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),u.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&Be.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of w.find(".carousel-item img",this._element))u.on(t,"dragstart.bs.carousel",r=>r.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(pe)),rightCallback:()=>this._slide(this._directionToOrder(Oe)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Be(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=lt[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=w.findOne(".active",this._indicatorsElement);t.classList.remove(ke),t.removeAttribute("aria-current");const r=w.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ke),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const r=this._getActive(),c=e===U,p=t||S(this._getItems(),r,c,this._config.wrap);if(p===r)return;const _=this._getItemIndex(p),O=ee=>u.trigger(this._element,ee,{relatedTarget:p,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:_});if(O("slide.bs.carousel").defaultPrevented||!r||!p)return;const N=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(_),this._activeElement=p;const z=c?"carousel-item-start":"carousel-item-end",Q=c?"carousel-item-next":"carousel-item-prev";p.classList.add(Q),E(p),r.classList.add(z),p.classList.add(z),this._queueCallback(()=>{p.classList.remove(z,Q),p.classList.add(ke),r.classList.remove(ke,Q,z),this._isSliding=!1,O(xe)},r,this._isAnimated()),N&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return w.findOne(".active.carousel-item",this._element)}_getItems(){return w.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return x()?e===pe?ne:U:e===pe?U:ne}_orderToDirection(e){return x()?e===ne?pe:Oe:e===ne?Oe:pe}static jQueryInterface(e){return this.each(function(){const t=Re.getOrCreateInstance(this,e);if(typeof e!="number"){if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}u.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(o){const e=d(this);if(!e||!e.classList.contains(Qe))return;o.preventDefault();const t=Re.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");return r?(t.to(r),void t._maybeEnableCycle()):K.getDataAttribute(this,"slide")==="next"?(t.next(),void t._maybeEnableCycle()):(t.prev(),void t._maybeEnableCycle())}),u.on(window,"load.bs.carousel.data-api",()=>{const o=w.find('[data-bs-ride="carousel"]');for(const e of o)Re.getOrCreateInstance(e)}),b(Re);const Ot="show",ut="collapse",ht="collapsing",xt='[data-bs-toggle="collapse"]',cn={parent:null,toggle:!0},un={parent:"(null|element)",toggle:"boolean"};class He extends W{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=w.find(xt);for(const c of r){const p=f(c),_=w.find(p).filter(O=>O===this._element);p!==null&&_.length&&this._triggerArray.push(c)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return cn}static get DefaultType(){return un}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(c=>c!==this._element).map(c=>He.getOrCreateInstance(c,{toggle:!1}))),e.length&&e[0]._isTransitioning||u.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const c of e)c.hide();const t=this._getDimension();this._element.classList.remove(ut),this._element.classList.add(ht),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(ut,Ot),this._element.style[t]="",u.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||u.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,E(this._element),this._element.classList.add(ht),this._element.classList.remove(ut,Ot);for(const t of this._triggerArray){const r=d(t);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(ut),u.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ot)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=A(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(xt);for(const t of e){const r=d(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=w.find(":scope .collapse .collapse",this._config.parent);return w.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle("collapsed",!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=He.getOrCreateInstance(this,t);if(typeof e=="string"){if(r[e]===void 0)throw new TypeError(`No method named "${e}"`);r[e]()}})}}u.on(document,"click.bs.collapse.data-api",xt,function(o){(o.target.tagName==="A"||o.delegateTarget&&o.delegateTarget.tagName==="A")&&o.preventDefault();const e=f(this),t=w.find(e);for(const r of t)He.getOrCreateInstance(r,{toggle:!1}).toggle()}),b(He);const Ut="dropdown",hn="ArrowUp",Qt="ArrowDown",Gt="click.bs.dropdown.data-api",Zt="keydown.bs.dropdown.data-api",Ge="show",Fe='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',dn=`${Fe}.show`,kt=".dropdown-menu",fn=x()?"top-end":"top-start",pn=x()?"top-start":"top-end",gn=x()?"bottom-end":"bottom-start",mn=x()?"bottom-start":"bottom-end",_n=x()?"left-start":"right-start",vn=x()?"right-start":"left-start",bn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},yn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class se extends W{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=w.next(this._element,kt)[0]||w.prev(this._element,kt)[0],this._inNavbar=this._detectNavbar()}static get Default(){return bn}static get DefaultType(){return yn}static get NAME(){return Ut}toggle(){return this._isShown()?this.hide():this.show()}show(){if(y(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!u.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))u.on(t,"mouseover",T);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ge),this._element.classList.add(Ge),u.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(y(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!u.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))u.off(t,"mouseover",T);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ge),this._element.classList.remove(Ge),this._element.setAttribute("aria-expanded","false"),K.removeDataAttribute(this._menu,"popper"),u.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if(typeof(e=super._getConfig(e)).reference=="object"&&!g(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Ut.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(a===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:g(this._config.reference)?e=A(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=a.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Ge)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return _n;if(e.classList.contains("dropstart"))return vn;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains("dropup")?t?pn:fn:t?mn:gn}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(K.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...typeof this._config.popperConfig=="function"?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const r=w.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(c=>k(c));r.length&&S(r,t,e===Qt,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=se.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===2||e.type==="keyup"&&e.key!=="Tab")return;const t=w.find(dn);for(const r of t){const c=se.getInstance(r);if(!c||c._config.autoClose===!1)continue;const p=e.composedPath(),_=p.includes(c._menu);if(p.includes(c._element)||c._config.autoClose==="inside"&&!_||c._config.autoClose==="outside"&&_||c._menu.contains(e.target)&&(e.type==="keyup"&&e.key==="Tab"||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const O={relatedTarget:c._element};e.type==="click"&&(O.clickEvent=e),c._completeHide(O)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key==="Escape",c=[hn,Qt].includes(e.key);if(!c&&!r||t&&!r)return;e.preventDefault();const p=this.matches(Fe)?this:w.prev(this,Fe)[0]||w.next(this,Fe)[0],_=se.getOrCreateInstance(p);if(c)return e.stopPropagation(),_.show(),void _._selectMenuItem(e);_._isShown()&&(e.stopPropagation(),_.hide(),p.focus())}}u.on(document,Zt,Fe,se.dataApiKeydownHandler),u.on(document,Zt,kt,se.dataApiKeydownHandler),u.on(document,Gt,se.clearMenus),u.on(document,"keyup.bs.dropdown.data-api",se.clearMenus),u.on(document,Gt,Fe,function(o){o.preventDefault(),se.getOrCreateInstance(this).toggle()}),b(se);const Jt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ei=".sticky-top",dt="padding-right",ti="margin-right";class Lt{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,dt,t=>t+e),this._setElementAttributes(Jt,dt,t=>t+e),this._setElementAttributes(ei,ti,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,dt),this._resetElementAttributes(Jt,dt),this._resetElementAttributes(ei,ti)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const c=this.getWidth();this._applyManipulationCallback(e,p=>{if(p!==this._element&&window.innerWidth>p.clientWidth+c)return;this._saveInitialAttribute(p,t);const _=window.getComputedStyle(p).getPropertyValue(t);p.style.setProperty(t,`${r(Number.parseFloat(_))}px`)})}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&K.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,r=>{const c=K.getDataAttribute(r,t);c!==null?(K.removeDataAttribute(r,t),r.style.setProperty(t,c)):r.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(g(e))t(e);else for(const r of w.find(e,this._element))t(r)}}const ii="show",ni="mousedown.bs.backdrop",wn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},An={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class si extends Ce{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return wn}static get DefaultType(){return An}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void C(e);this._append();const t=this._getElement();this._config.isAnimated&&E(t),t.classList.add(ii),this._emulateAnimation(()=>{C(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(ii),this._emulateAnimation(()=>{this.dispose(),C(e)})):C(e)}dispose(){this._isAppended&&(u.off(this._element,ni),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=A(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),u.on(e,ni,()=>{C(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){L(e,this._getElement(),this._config.isAnimated)}}const ri=".bs.focustrap",oi="backward",En={autofocus:!0,trapElement:null},Cn={autofocus:"boolean",trapElement:"element"};class ai extends Ce{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return En}static get DefaultType(){return Cn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),u.off(document,ri),u.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),u.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,u.off(document,ri))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=w.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===oi?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key==="Tab"&&(this._lastTabNavDirection=e.shiftKey?oi:"forward")}}const li="hidden.bs.modal",ci="show.bs.modal",ui="modal-open",hi="show",Dt="modal-static",Tn={backdrop:!0,focus:!0,keyboard:!0},On={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Le extends W{constructor(e,t){super(e,t),this._dialog=w.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Lt,this._addEventListeners()}static get Default(){return Tn}static get DefaultType(){return On}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||u.trigger(this._element,ci,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ui),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(u.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(hi),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){for(const e of[window,this._dialog])u.off(e,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new si({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ai({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=w.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),E(this._element),this._element.classList.add(hi),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,u.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){u.on(this._element,"keydown.dismiss.bs.modal",e=>{if(e.key==="Escape")return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),u.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),u.on(this._element,"mousedown.dismiss.bs.modal",e=>{u.one(this._element,"click.dismiss.bs.modal",t=>{this._dialog.contains(e.target)||this._dialog.contains(t.target)||(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ui),this._resetAdjustments(),this._scrollBar.reset(),u.trigger(this._element,li)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(u.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t==="hidden"||this._element.classList.contains(Dt)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Dt),this._queueCallback(()=>{this._element.classList.remove(Dt),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const c=x()?"paddingLeft":"paddingRight";this._element.style[c]=`${t}px`}if(!r&&e){const c=x()?"paddingRight":"paddingLeft";this._element.style[c]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=Le.getOrCreateInstance(this,e);if(typeof e=="string"){if(r[e]===void 0)throw new TypeError(`No method named "${e}"`);r[e](t)}})}}u.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(o){const e=d(this);["A","AREA"].includes(this.tagName)&&o.preventDefault(),u.one(e,ci,r=>{r.defaultPrevented||u.one(e,li,()=>{k(this)&&this.focus()})});const t=w.findOne(".modal.show");t&&Le.getInstance(t).hide(),Le.getOrCreateInstance(e).toggle(this)}),$e(Le),b(Le);const di="show",fi="showing",pi="hiding",gi=".offcanvas.show",mi="hidePrevented.bs.offcanvas",_i="hidden.bs.offcanvas",xn={backdrop:!0,keyboard:!0,scroll:!1},kn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ge extends W{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return xn}static get DefaultType(){return kn}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||u.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new Lt().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(fi),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(di),this._element.classList.remove(fi),u.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(u.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(pi),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(di,pi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Lt().reset(),u.trigger(this._element,_i)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=!!this._config.backdrop;return new si({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{this._config.backdrop!=="static"?this.hide():u.trigger(this._element,mi)}:null})}_initializeFocusTrap(){return new ai({trapElement:this._element})}_addEventListeners(){u.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{e.key==="Escape"&&(this._config.keyboard?this.hide():u.trigger(this._element,mi))})}static jQueryInterface(e){return this.each(function(){const t=ge.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}u.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(o){const e=d(this);if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),y(this))return;u.one(e,_i,()=>{k(this)&&this.focus()});const t=w.findOne(gi);t&&t!==e&&ge.getInstance(t).hide(),ge.getOrCreateInstance(e).toggle(this)}),u.on(window,"load.bs.offcanvas.data-api",()=>{for(const o of w.find(gi))ge.getOrCreateInstance(o).show()}),u.on(window,"resize.bs.offcanvas",()=>{for(const o of w.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(o).position!=="fixed"&&ge.getOrCreateInstance(o).hide()}),$e(ge),b(ge);const Ln=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Dn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Pn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Sn=(o,e)=>{const t=o.nodeName.toLowerCase();return e.includes(t)?!Ln.has(t)||!!(Dn.test(o.nodeValue)||Pn.test(o.nodeValue)):e.filter(r=>r instanceof RegExp).some(r=>r.test(t))},vi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},In={allowList:vi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Nn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},jn={entry:"(string|element|function|null)",selector:"(string|element)"};class Mn extends Ce{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return In}static get DefaultType(){return Nn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[c,p]of Object.entries(this._config.content))this._setContent(e,p,c);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},jn)}_setContent(e,t,r){const c=w.findOne(r,e);c&&((t=this._resolvePossibleFunction(t))?g(t)?this._putElementInTemplate(A(t),c):this._config.html?c.innerHTML=this._maybeSanitize(t):c.textContent=t:c.remove())}_maybeSanitize(e){return this._config.sanitize?function(t,r,c){if(!t.length)return t;if(c&&typeof c=="function")return c(t);const p=new window.DOMParser().parseFromString(t,"text/html"),_=[].concat(...p.body.querySelectorAll("*"));for(const O of _){const N=O.nodeName.toLowerCase();if(!Object.keys(r).includes(N)){O.remove();continue}const z=[].concat(...O.attributes),Q=[].concat(r["*"]||[],r[N]||[]);for(const ee of z)Sn(ee,Q)||O.removeAttribute(ee.nodeName)}return p.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return typeof e=="function"?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const $n=new Set(["sanitize","allowList","sanitizeFn"]),Pt="fade",ft="show",bi=".modal",yi="hide.bs.modal",pt="hover",wi="focus",Bn={AUTO:"auto",TOP:"top",RIGHT:x()?"left":"right",BOTTOM:"bottom",LEFT:x()?"right":"left"},Rn={allowList:vi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Hn={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 De extends W{constructor(e,t){if(a===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners()}static get Default(){return Rn}static get DefaultType(){return Hn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled){if(e){const t=this._initializeOnDelegatedTarget(e);return t._activeTrigger.click=!t._activeTrigger.click,void(t._isWithActiveTrigger()?t._enter():t._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),u.off(this._element.closest(bi),yi,this._hideModalHandler),this.tip&&this.tip.remove(),this._config.originalTitle&&this._element.setAttribute("title",this._config.originalTitle),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 e=u.trigger(this._element,this.constructor.eventName("show")),t=(P(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this.tip&&(this.tip.remove(),this.tip=null);const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:c}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(r),u.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(r),r.classList.add(ft),"ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))u.on(p,"mouseover",T);this._queueCallback(()=>{u.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown()||u.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const e=this._getTipElement();if(e.classList.remove(ft),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))u.off(t,"mouseover",T);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||e.remove(),this._element.removeAttribute("aria-describedby"),u.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())},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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Pt,ft),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(c=>{do c+=Math.floor(1e6*Math.random());while(document.getElementById(c));return c})(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Pt),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Mn({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Pt)}_isShown(){return this.tip&&this.tip.classList.contains(ft)}_createPopper(e){const t=typeof this._config.placement=="function"?this._config.placement.call(this,e,this._element):this._config.placement,r=Bn[t.toUpperCase()];return a.createPopper(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return typeof e=="function"?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...typeof this._config.popperConfig=="function"?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")u.on(this._element,this.constructor.eventName("click"),this._config.selector,r=>this.toggle(r));else if(t!=="manual"){const r=t===pt?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),c=t===pt?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");u.on(this._element,r,this._config.selector,p=>{const _=this._initializeOnDelegatedTarget(p);_._activeTrigger[p.type==="focusin"?wi:pt]=!0,_._enter()}),u.on(this._element,c,this._config.selector,p=>{const _=this._initializeOnDelegatedTarget(p);_._activeTrigger[p.type==="focusout"?wi:pt]=_._element.contains(p.relatedTarget),_._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},u.on(this._element.closest(bi),yi,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._config.originalTitle;e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=K.getDataAttributes(this._element);for(const r of Object.keys(t))$n.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:A(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),e.originalTitle=this._element.getAttribute("title")||"",typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=De.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method named "${e}"`);t[e]()}})}}b(De);const Fn={...De.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Wn={...De.DefaultType,content:"(null|string|element|function)"};class gt extends De{static get Default(){return Fn}static get DefaultType(){return Wn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=gt.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method named "${e}"`);t[e]()}})}}b(gt);const Ai="click.bs.scrollspy",Ze="active",Ei="[href]",zn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},qn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Je extends W{constructor(e,t){super(e,t),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 zn}static get DefaultType(){return qn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=A(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(u.off(this._config.target,Ai),u.on(this._config.target,Ai,Ei,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,c=t.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:c,behavior:"smooth"});r.scrollTop=c}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=_=>this._targetLinks.get(`#${_.target.id}`),r=_=>{this._previousScrollData.visibleEntryTop=_.target.offsetTop,this._process(t(_))},c=(this._rootElement||document.documentElement).scrollTop,p=c>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=c;for(const _ of e){if(!_.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(_));continue}const O=_.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(p&&O){if(r(_),!c)return}else p||O||r(_)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=w.find(Ei,this._config.target);for(const t of e){if(!t.hash||y(t))continue;const r=w.findOne(t.hash,this._element);k(r)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Ze),this._activateParents(e),u.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))w.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Ze);else for(const t of w.parents(e,".nav, .list-group"))for(const r of w.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))r.classList.add(Ze)}_clearActiveClass(e){e.classList.remove(Ze);const t=w.find("[href].active",e);for(const r of t)r.classList.remove(Ze)}static jQueryInterface(e){return this.each(function(){const t=Je.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}u.on(window,"load.bs.scrollspy.data-api",()=>{for(const o of w.find('[data-bs-spy="scroll"]'))Je.getOrCreateInstance(o)}),b(Je);const Vn="ArrowLeft",Ci="ArrowRight",Xn="ArrowUp",Ti="ArrowDown",et="active",Oi="fade",St="show",xi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',It=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${xi}`;class Pe extends W{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),u.on(this._element,"keydown.bs.tab",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?u.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;u.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(et),this._activate(d(e)),this._queueCallback(()=>{e.getAttribute("role")==="tab"?(e.focus(),e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),u.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(St)},e,e.classList.contains(Oi)))}_deactivate(e,t){e&&(e.classList.remove(et),e.blur(),this._deactivate(d(e)),this._queueCallback(()=>{e.getAttribute("role")==="tab"?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),u.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(St)},e,e.classList.contains(Oi)))}_keydown(e){if(![Vn,Ci,Xn,Ti].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Ci,Ti].includes(e.key),r=S(this._getChildren().filter(c=>!y(c)),e.target,t,!0);r&&Pe.getOrCreateInstance(r).show()}_getChildren(){return w.find(It,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=d(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains("dropdown"))return;const c=(p,_)=>{const O=w.findOne(p,r);O&&O.classList.toggle(_,t)};c(".dropdown-toggle",et),c(".dropdown-menu",St),c(".dropdown-item",et),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(et)}_getInnerElement(e){return e.matches(It)?e:w.findOne(It,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=Pe.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}u.on(document,"click.bs.tab",xi,function(o){["A","AREA"].includes(this.tagName)&&o.preventDefault(),y(this)||Pe.getOrCreateInstance(this).show()}),u.on(window,"load.bs.tab",()=>{for(const o of w.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Pe.getOrCreateInstance(o)}),b(Pe);const ki="hide",mt="show",_t="showing",Yn={animation:"boolean",autohide:"boolean",delay:"number"},Kn={animation:!0,autohide:!0,delay:5e3};class tt extends W{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Kn}static get DefaultType(){return Yn}static get NAME(){return"toast"}show(){u.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(ki),E(this._element),this._element.classList.add(mt,_t),this._queueCallback(()=>{this._element.classList.remove(_t),u.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(u.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(_t),this._queueCallback(()=>{this._element.classList.add(ki),this._element.classList.remove(_t,mt),u.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(mt),super.dispose()}isShown(){return this._element.classList.contains(mt)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){u.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),u.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),u.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),u.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=tt.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return $e(tt),b(tt),{Alert:be,Button:Te,Carousel:Re,Collapse:He,Dropdown:se,Modal:Le,Offcanvas:ge,Popover:gt,ScrollSpy:Je,Tab:Pe,Toast:tt,Tooltip:De}})})(Jn);function zs(){const i=document.querySelectorAll("form.needs-validation");for(let n=0;n<i.length;n+=1){const s=i[n];s.addEventListener("submit",l=>{s.checkValidity()||(l.preventDefault(),l.stopPropagation()),s.classList.add("was-validated")})}}export{zs as v};
|
|
//# sourceMappingURL=validation-959284d8.js.map
|