/*! * Bootstrap v5.0.2 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ (function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self,n.bootstrap=t())})(this,function(){"use strict";function we(n,t){return t&&`${t}::${ye++}`||n.uidEvent||ye++}function be(n){const t=we(n);return n.uidEvent=t,vu[t]=vu[t]||{},vu[t]}function wl(t,i){return function r(u){return u.delegateTarget=t,r.oneOff&&n.off(t,u.type,i),i.apply(t,[u])}}function bl(t,i,r){return function u(f){const e=t.querySelectorAll(i);for(let{target:o}=f;o&&o!==this;o=o.parentNode)for(let s=e.length;s--;)if(e[s]===o)return f.delegateTarget=o,u.oneOff&&n.off(t,f.type,i,r),r.apply(o,[f]);return null}}function ke(n,t,i=null){const r=Object.keys(n);for(let u=0,f=r.length;ufunction(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return n.call(this,t)};r?r=n(r):i=n(i)}const[e,o,s]=de(t,i,r),c=be(n),l=c[s]||(c[s]={}),h=ke(l,o,e?i:null);if(h){h.oneOff=h.oneOff&&u;return}const a=we(o,t.replace(ll,"")),f=e?bl(n,i,r):wl(n,i);f.delegationSelector=e?i:null;f.originalHandler=o;f.oneOff=u;f.uidEvent=a;l[a]=f;n.addEventListener(s,f,e)}}function yu(n,t,i,r,u){const f=ke(t[i],r,u);f&&(n.removeEventListener(i,f,Boolean(u)),delete t[i][f.uidEvent])}function kl(n,t,i,r){const u=t[i]||{};Object.keys(u).forEach(f=>{if(f.includes(r)){const r=u[f];yu(n,t,i,r.originalHandler,r.delegationSelector)}})}function no(n){return n=n.replace(al,""),yl[n]||n}function io(n){return n==="true"?!0:n==="false"?!1:n===Number(n).toString()?Number(n):n===""||n==="null"?null:n}function wu(n){return n.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function p(n){return n?(n.nodeName||"").toLowerCase():null}function v(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t?t.defaultView||window:window}return n}function vi(n){var t=v(n).Element;return n instanceof t||n instanceof Element}function y(n){var t=v(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function us(n){if(typeof ShadowRoot=="undefined")return!1;var t=v(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function ey(n){var t=n.state;Object.keys(t.elements).forEach(function(n){var u=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];y(i)&&p(i)&&(Object.assign(i.style,u),Object.keys(r).forEach(function(n){var t=r[n];t===!1?i.removeAttribute(n):i.setAttribute(n,t===!0?"":t)}))})}function oy(n){var t=n.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(n){var r=t.elements[n],u=t.attributes[n]||{},f=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:i[n]),e=f.reduce(function(n,t){return n[t]="",n},{});y(r)&&p(r)&&(Object.assign(r.style,e),Object.keys(u).forEach(function(n){r.removeAttribute(n)}))})}}function w(n){return n.split("-")[0]}function ui(n){var t=n.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function nf(n){var t=ui(n),i=n.offsetWidth,r=n.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:n.offsetLeft,y:n.offsetTop,width:i,height:r}}function fs(n,t){var r=t.getRootNode&&t.getRootNode(),i;if(n.contains(t))return!0;if(r&&us(r)){i=t;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function tt(n){return v(n).getComputedStyle(n)}function sy(n){return["table","td","th"].indexOf(p(n))>=0}function ht(n){return((vi(n)?n.ownerDocument:n.document)||window.document).documentElement}function yr(n){return p(n)==="html"?n:n.assignedSlot||n.parentNode||(us(n)?n.host:null)||ht(n)}function es(n){return!y(n)||tt(n).position==="fixed"?null:n.offsetParent}function hy(n){var r=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,f=navigator.userAgent.indexOf("Trident")!==-1,u,i,t;if(f&&y(n)&&(u=tt(n),u.position==="fixed"))return null;for(i=yr(n);y(i)&&["html","body"].indexOf(p(i))<0;){if(t=tt(i),t.transform!=="none"||t.perspective!=="none"||t.contain==="paint"||["transform","perspective"].indexOf(t.willChange)!==-1||r&&t.willChange==="filter"||r&&t.filter&&t.filter!=="none")return i;i=i.parentNode}return null}function yi(n){for(var i=v(n),t=es(n);t&&sy(t)&&tt(t).position==="static";)t=es(t);return t&&(p(t)==="html"||p(t)==="body"&&tt(t).position==="static")?i:t||hy(n)||i}function tf(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function wr(n,t,i){return ct(n,pi(t,i))}function os(){return{top:0,right:0,bottom:0,left:0}}function ss(n){return Object.assign({},os(),n)}function hs(n,t){return t.reduce(function(t,i){return t[i]=n,t},{})}function cy(n){var r,t=n.state,d=n.name,g=n.options,f=t.elements.arrow,s=t.modifiersData.popperOffsets,a=w(t.placement),i=tf(a),nt=[o,l].indexOf(a)>=0,u=nt?"height":"width";if(f&&s){var v=cs(g.padding,t),y=nf(f),tt=i==="y"?e:o,it=i==="y"?c:l,rt=t.rects.reference[u]+t.rects.reference[i]-s[i]-t.rects.popper[u],ut=s[i]-t.rects.reference[i],h=yi(f),p=h?i==="y"?h.clientHeight||0:h.clientWidth||0:0,ft=rt/2-ut/2,et=v[tt],ot=p-y[u]-v[it],b=p/2-y[u]/2+ft,k=wr(et,b,ot),st=i;t.modifiersData[d]=(r={},r[st]=k,r.centerOffset=k-b,r)}}function ly(n){var i=n.state,u=n.options,r=u.element,t=r===void 0?"[data-popper-arrow]":r;t!=null&&(typeof t!="string"||(t=i.elements.popper.querySelector(t),t))&&fs(i.elements.popper,t)&&(i.elements.arrow=t)}function ay(n){var i=n.x,r=n.y,u=window,t=u.devicePixelRatio||1;return{x:pr(pr(i*t)/t)||0,y:pr(pr(r*t)/t)||0}}function as(n){var i,h=n.popper,k=n.popperRect,d=n.placement,r=n.offsets,st=n.position,a=n.gpuAcceleration,g=n.adaptive,y=n.roundOffsets,nt=y===!0?ay(r):typeof y=="function"?y(r):r,it=nt.x,u=it===void 0?0:it,rt=nt.y,f=rt===void 0?0:rt,ut=r.hasOwnProperty("x"),ft=r.hasOwnProperty("y"),p=o,w=e,ct=window,b,s;if(g){var t=yi(h),et="clientHeight",ot="clientWidth";t===v(h)&&(t=ht(h),tt(t).position!=="static"&&(et="scrollHeight",ot="scrollWidth"));t=t;d===e&&(w=c,f-=t[et]-k.height,f*=a?1:-1);d===o&&(p=l,u-=t[ot]-k.width,u*=a?1:-1)}return(b=Object.assign({position:st},g&&ls),a)?Object.assign({},b,(s={},s[w]=ft?"0":"",s[p]=ut?"0":"",s.transform=(ct.devicePixelRatio||1)<2?"translate("+u+"px, "+f+"px)":"translate3d("+u+"px, "+f+"px, 0)",s)):Object.assign({},b,(i={},i[w]=ft?f+"px":"",i[p]=ut?u+"px":"",i.transform="",i))}function vy(n){var t=n.state,i=n.options,r=i.gpuAcceleration,s=r===void 0?!0:r,u=i.adaptive,h=u===void 0?!0:u,f=i.roundOffsets,e=f===void 0?!0:f,o={placement:w(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,as(Object.assign({},o,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:h,roundOffsets:e}))));t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,as(Object.assign({},o,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e}))));t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}function yy(n){var i=n.state,t=n.instance,r=n.options,u=r.scroll,f=u===void 0?!0:u,e=r.resize,o=e===void 0?!0:e,s=v(i.elements.popper),h=[].concat(i.scrollParents.reference,i.scrollParents.popper);return f&&h.forEach(function(n){n.addEventListener("scroll",t.update,wi)}),o&&s.addEventListener("resize",t.update,wi),function(){f&&h.forEach(function(n){n.removeEventListener("scroll",t.update,wi)});o&&s.removeEventListener("resize",t.update,wi)}}function dr(n){return n.replace(/left|right|bottom|top/g,function(n){return vs[n]})}function ps(n){return n.replace(/start|end/g,function(n){return ys[n]})}function uf(n){var t=v(n),i=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:i,scrollTop:r}}function ff(n){return ui(ht(n)).left+uf(n).scrollLeft}function py(n){var o=v(n),i=ht(n),t=o.visualViewport,r=i.clientWidth,u=i.clientHeight,f=0,e=0;return t&&(r=t.width,u=t.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(f=t.offsetLeft,e=t.offsetTop)),{width:r,height:u,x:f+ff(n),y:e}}function wy(n){var r,i=ht(n),u=uf(n),t=(r=n.ownerDocument)==null?void 0:r.body,f=ct(i.scrollWidth,i.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),o=ct(i.scrollHeight,i.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),e=-u.scrollLeft+ff(n),s=-u.scrollTop;return tt(t||i).direction==="rtl"&&(e+=ct(i.clientWidth,t?t.clientWidth:0)-f),{width:f,height:o,x:e,y:s}}function ef(n){var t=tt(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+u+r)}function ws(n){return["html","body","#document"].indexOf(p(n))>=0?n.ownerDocument.body:y(n)&&ef(n)?n:ws(yr(n))}function bi(n,t){var r;t===void 0&&(t=[]);var i=ws(n),u=i===((r=n.ownerDocument)==null?void 0:r.body),f=v(i),e=u?[f].concat(f.visualViewport||[],ef(i)?i:[]):i,o=t.concat(e);return u?o:o.concat(bi(yr(e)))}function sf(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function by(n){var t=ui(n);return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function bs(n,t){return t===ku?sf(py(n)):y(t)?by(t):sf(wy(ht(n)))}function ky(n){var i=bi(yr(n)),r=["absolute","fixed"].indexOf(tt(n).position)>=0,t=r&&y(n)?yi(n):n;return vi(t)?i.filter(function(n){return vi(n)&&fs(n,t)&&p(n)!=="body"}):[]}function dy(n,t,i){var f=t==="clippingParents"?ky(n):[].concat(t),u=[].concat(f,[i]),e=u[0],r=u.reduce(function(t,i){var r=bs(n,i);return t.top=ct(r.top,t.top),t.right=pi(r.right,t.right),t.bottom=pi(r.bottom,t.bottom),t.left=ct(r.left,t.left),t},bs(n,e));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function ki(n){return n.split("-")[1]}function ks(n){var t=n.reference,u=n.element,s=n.placement,h=s?w(s):null,y=s?ki(s):null,a=t.x+t.width/2-u.width/2,v=t.y+t.height/2-u.height/2,i,r,f;switch(h){case e:i={x:a,y:t.y-u.height};break;case c:i={x:a,y:t.y+t.height};break;case l:i={x:t.x+t.width,y:v};break;case o:i={x:t.x-u.width,y:v};break;default:i={x:t.x,y:t.y}}if(r=h?tf(h):null,r!=null){f=r==="y"?"height":"width";switch(y){case kt:i[r]=i[r]-(t[f]/2-u[f]/2);break;case ar:i[r]=i[r]+(t[f]/2-u[f]/2)}}return i}function fi(n,t){var it;t===void 0&&(t={});var i=t,v=i.placement,y=v===void 0?n.placement:v,p=i.boundary,rt=p===void 0?ao:p,w=i.rootBoundary,ut=w===void 0?ku:w,b=i.elementContext,r=b===void 0?ri:b,k=i.altBoundary,ft=k===void 0?!1:k,d=i.padding,s=d===void 0?0:d,u=ss(typeof s!="number"?s:hs(s,ii)),et=r===ri?vo:ri,ot=n.elements.reference,g=n.rects.popper,h=n.elements[ft?et:r],f=dy(vi(h)?h:h.contextElement||ht(n.elements.popper),rt,ut),nt=ui(ot),st=ks({reference:nt,element:g,strategy:"absolute",placement:y}),ct=sf(Object.assign({},g,st)),o=r===ri?ct:nt,a={top:f.top-o.top+u.top,bottom:o.bottom-f.bottom+u.bottom,left:f.left-o.left+u.left,right:o.right-f.right+u.right},tt=n.modifiersData.offset;return r===ri&&tt&&(it=tt[y],Object.keys(a).forEach(function(n){var t=[l,c].indexOf(n)>=0?1:-1,i=[e,c].indexOf(n)>=0?"y":"x";a[n]+=it[i]*t})),a}function gy(n,t){var r;t===void 0&&(t={});var i=t,s=i.placement,h=i.boundary,c=i.rootBoundary,l=i.padding,a=i.flipVariations,f=i.allowedAutoPlacements,v=f===void 0?gu:f,e=ki(s),o=e?a?du:du.filter(function(n){return ki(n)===e}):ii,u=o.filter(function(n){return v.indexOf(n)>=0});return u.length===0&&(u=o),r=u.reduce(function(t,i){return t[i]=fi(n,{placement:i,boundary:h,rootBoundary:c,padding:l})[w(i)],t},{}),Object.keys(r).sort(function(n,t){return r[n]-r[t]})}function np(n){if(w(n)===lr)return[];var t=dr(n);return[ps(n),t,ps(t)]}function tp(n){var t=n.state,i=n.options,k=n.name,a,ct,f,lt,at,y,vt;if(!t.modifiersData[k]._skip){var d=i.mainAxis,yt=d===void 0?!0:d,g=i.altAxis,pt=g===void 0?!0:g,wt=i.fallbackPlacements,nt=i.padding,tt=i.boundary,it=i.rootBoundary,bt=i.altBoundary,rt=i.flipVariations,p=rt===void 0?!0:rt,dt=i.allowedAutoPlacements,r=t.options.placement,gt=w(r),ni=gt===r,ti=wt||(ni||!p?[dr(r)]:np(r)),s=[r].concat(ti).reduce(function(n,i){return n.concat(w(i)===lr?gy(t,{placement:i,boundary:tt,rootBoundary:it,padding:nt,flipVariations:p,allowedAutoPlacements:dt}):i)},[]),ii=t.rects.reference,ri=t.rects.popper,ut=new Map,ft=!0,h=s[0];for(a=0;a=0,ht=st?"width":"height",b=fi(t,{placement:u,boundary:tt,rootBoundary:it,altBoundary:bt,padding:nt}),v=st?ot?l:o:ot?c:e;if(ii[ht]>ri[ht]&&(v=dr(v)),ct=dr(v),f=[],yt&&f.push(b[et]<=0),pt&&f.push(b[v]<=0,b[ct]<=0),f.every(function(n){return n})){h=u;ft=!1;break}ut.set(u,f)}if(ft)for(lt=p?3:1,at=function(n){var t=s.find(function(t){var i=ut.get(t);if(i)return i.slice(0,n).every(function(n){return n})});if(t)return h=t,"break"},y=lt;y>0;y--)if(vt=at(y),vt==="break")break;t.placement!==h&&(t.modifiersData[k]._skip=!0,t.placement=h,t.reset=!0)}}function ds(n,t,i){return i===void 0&&(i={x:0,y:0}),{top:n.top-t.height-i.y,right:n.right-t.width+i.x,bottom:n.bottom-t.height+i.y,left:n.left-t.width-i.x}}function gs(n){return[e,l,c,o].some(function(t){return n[t]>=0})}function ip(n){var t=n.state,e=n.name,o=t.rects.reference,s=t.rects.popper,h=t.modifiersData.preventOverflow,c=fi(t,{elementContext:"reference"}),l=fi(t,{altBoundary:!0}),i=ds(c,o),r=ds(l,s,h),u=gs(i),f=gs(r);t.modifiersData[e]={referenceClippingOffsets:i,popperEscapeOffsets:r,isReferenceHidden:u,hasPopperEscaped:f};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}function rp(n,t,i){var f=w(n),h=[o,e].indexOf(f)>=0?-1:1,s=typeof i=="function"?i(Object.assign({},t,{placement:n})):i,r=s[0],u=s[1];return r=r||0,u=(u||0)*h,[o,l].indexOf(f)>=0?{x:u,y:r}:{x:r,y:u}}function up(n){var t=n.state,f=n.options,e=n.name,i=f.offset,o=i===void 0?[0,0]:i,r=gu.reduce(function(n,i){return n[i]=rp(i,t.rects,o),n},{}),u=r[t.placement],s=u.x,h=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=h);t.modifiersData[e]=r}function fp(n){var t=n.state,i=n.name;t.modifiersData[i]=ks({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}function ep(n){return n==="x"?"y":"x"}function op(n){var t=n.state,f=n.options,si=n.name,rt=f.mainAxis,ut=rt===void 0?!0:rt,ft=f.altAxis,et=ft===void 0?!1:ft,hi=f.boundary,ci=f.rootBoundary,li=f.altBoundary,ai=f.padding,ot=f.tether,s=ot===void 0?!0:ot,st=f.tetherOffset,b=st===void 0?0:st,a=fi(t,{boundary:hi,rootBoundary:ci,padding:ai,altBoundary:li}),vi=w(t.placement),k=ki(t.placement),ht=!k,i=tf(vi),d=ep(i),r=t.modifiersData.popperOffsets,h=t.rects.reference,g=t.rects.popper,v=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,nt={x:0,y:0},it;if(r){if(ut||et){var lt=i==="y"?e:o,at=i==="y"?c:l,u=i==="y"?"height":"width",vt=r[i],yt=r[i]+a[lt],pt=r[i]-a[at],wt=s?-g[u]/2:0,wi=k===kt?h[u]:g[u],bi=k===kt?-g[u]:-h[u],bt=t.elements.arrow,di=s&&bt?nf(bt):{width:0,height:0},dt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:os(),gt=dt[lt],ni=dt[at],y=wr(0,h[u],di[u]),gi=ht?h[u]/2-wt-y-gt-v:wi-y-gt-v,nr=ht?-h[u]/2+wt+y+ni+v:bi+y+ni+v,tt=t.elements.arrow&&yi(t.elements.arrow),tr=tt?i==="y"?tt.clientTop||0:tt.clientLeft||0:0,ti=t.modifiersData.offset?t.modifiersData.offset[t.placement][i]:0,ii=r[i]+gi-ti-tr,ri=r[i]+nr-ti;if(ut&&(it=wr(s?pi(yt,ii):yt,vt,s?ct(pt,ri):pt),r[i]=it,nt[i]=it-vt),et){var ir=i==="x"?e:o,rr=i==="x"?c:l,p=r[d],ui=p+a[ir],ei=p-a[rr],oi=wr(s?pi(ui,ii):ui,p,s?ct(ei,ri):ei);r[d]=oi;nt[d]=oi-p}}t.modifiersData[si]=nt}}function sp(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function hp(n){return n!==v(n)&&y(n)?sp(n):uf(n)}function cp(n,t,i){i===void 0&&(i=!1);var f=ht(t),u=ui(n),o=y(t),e={scrollLeft:0,scrollTop:0},r={x:0,y:0};return!o&&(o||i)||((p(t)!=="body"||ef(f))&&(e=hp(t)),y(t)?(r=ui(t),r.x+=t.clientLeft,r.y+=t.clientTop):f&&(r.x=ff(f))),{x:u.left+e.scrollLeft-r.x,y:u.top+e.scrollTop-r.y,width:u.width,height:u.height}}function lp(n){function u(n){t.add(n.name);var f=[].concat(n.requires||[],n.requiresIfExists||[]);f.forEach(function(n){if(!t.has(n)){var r=i.get(n);r&&u(r)}});r.push(n)}var i=new Map,t=new Set,r=[];return n.forEach(function(n){i.set(n.name,n)}),n.forEach(function(n){t.has(n.name)||u(n)}),r}function ap(n){var t=lp(n);return rs.reduce(function(n,i){return n.concat(t.filter(function(n){return n.phase===i}))},[])}function vp(n){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=undefined;i(n())})})),t}}function yp(n){var t=n.reduce(function(n,t){var i=n[t.name];return n[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,n},{});return Object.keys(t).map(function(n){return t[n]})}function nh(){for(var t=arguments.length,i=new Array(t),n=0;n{fk(n,o)||i.removeAttribute(n.nodeName)})}return r.body.innerHTML}var st,vr,cs,rf,ls,br,wi,kr,vs,ys,hf,cf,lf,gr,af,vf;const fl=3,t={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(n=>n.matches(t))},parents(n,t){const r=[];let i=n.parentNode;while(i&&i.nodeType===Node.ELEMENT_NODE&&i.nodeType!==fl)i.matches(t)&&r.push(i),i=i.parentNode;return r},prev(n,t){let i=n.previousElementSibling;while(i){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(n,t){let i=n.nextElementSibling;while(i){if(i.matches(t))return[i];i=i.nextElementSibling}return[]}},el=1e6,ol=1e3,cu="transitionend",sl=n=>n===null||n===undefined?`${n}`:{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),oe=n=>{do n+=Math.floor(Math.random()*el);while(document.getElementById(n));return n},se=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let i=n.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`);t=i&&i!=="#"?i.trim():null}return t},lu=n=>{const t=se(n);return t?document.querySelector(t)?t:null:null},ft=n=>{const t=se(n);return t?document.querySelector(t):null},hl=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(n);const r=Number.parseFloat(t),u=Number.parseFloat(i);return!r&&!u?0:(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*ol)},he=n=>{n.dispatchEvent(new Event(cu))},et=n=>!n||typeof n!="object"?!1:(typeof n.jquery!="undefined"&&(n=n[0]),typeof n.nodeType!="undefined"),gt=n=>et(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?t.findOne(n):null,d=(n,t,i)=>{Object.keys(i).forEach(r=>{const f=i[r],u=t[r],e=u&&et(u)?"element":sl(u);if(!new RegExp(f).test(e))throw new TypeError(`${n.toUpperCase()}: Option "${r}" provided type "${e}" but expected type "${f}".`);})},fr=n=>!et(n)||n.getClientRects().length===0?!1:getComputedStyle(n).getPropertyValue("visibility")==="visible",ni=n=>!n||n.nodeType!==Node.ELEMENT_NODE?!0:n.classList.contains("disabled")?!0:typeof n.disabled!="undefined"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",ce=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?ce(n.parentNode):null},er=()=>{},ti=n=>n.offsetHeight,le=()=>{const{jQuery:n}=window;return n&&!document.body.hasAttribute("data-bs-no-jquery")?n:null},au=[],cl=n=>{document.readyState==="loading"?(au.length||document.addEventListener("DOMContentLoaded",()=>{au.forEach(n=>n())}),au.push(n)):n()},r=()=>document.documentElement.dir==="rtl",h=n=>{cl(()=>{const t=le();if(t){const i=n.NAME,r=t.fn[i];t.fn[i]=n.jQueryInterface;t.fn[i].Constructor=n;t.fn[i].noConflict=()=>(t.fn[i]=r,n.jQueryInterface)}})},at=n=>{typeof n=="function"&&n()},ae=(n,t,i=true)=>{if(!i){at(n);return}const f=hl(t)+5;let r=!1;const u=({target:i})=>{i===t&&(r=!0,t.removeEventListener(cu,u),at(n))};t.addEventListener(cu,u);setTimeout(()=>{r||he(t)},f)},ve=(n,t,i,r)=>{let u=n.indexOf(t);if(u===-1)return n[!i&&r?n.length-1:0];const f=n.length;return u+=i?1:-1,r&&(u=(u+f)%f),n[Math.max(0,Math.min(u,f-1))]},ll=/[^.]*(?=\..*)\.|.*/,al=/\..*/,vl=/::\d+$/,vu={};let ye=1;const yl={mouseenter:"mouseover",mouseleave:"mouseout"},pl=/^(mouseenter|mouseleave)/i,pe=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"]);const n={on(n,t,i,r){ge(n,t,i,r,!1)},one(n,t,i,r){ge(n,t,i,r,!0)},off(n,t,i,r){if(typeof t=="string"&&n){const[s,e,f]=de(t,i,r),h=f!==t,u=be(n),c=t.startsWith(".");if(typeof e!="undefined"){if(!u||!u[f])return;yu(n,u,f,e,s?i:null);return}c&&Object.keys(u).forEach(i=>{kl(n,u,i,t.slice(1))});const o=u[f]||{};Object.keys(o).forEach(i=>{const r=i.replace(vl,"");if(!h||t.includes(r)){const t=o[i];yu(n,u,f,t.originalHandler,t.delegationSelector)}})}},trigger(n,t,i){if(typeof t!="string"||!n)return null;const f=le(),e=no(t),c=t!==e,l=pe.has(e);let u,o=!0,s=!0,h=!1,r=null;return c&&f&&(u=f.Event(t,i),f(n).trigger(u),o=!u.isPropagationStopped(),s=!u.isImmediatePropagationStopped(),h=u.isDefaultPrevented()),l?(r=document.createEvent("HTMLEvents"),r.initEvent(e,o,!0)):r=new CustomEvent(t,{bubbles:o,cancelable:!0}),typeof i!="undefined"&&Object.keys(i).forEach(n=>{Object.defineProperty(r,n,{get(){return i[n]}})}),h&&r.preventDefault(),s&&n.dispatchEvent(r),r.defaultPrevented&&typeof u!="undefined"&&u.preventDefault(),r}},ot=new Map;st={set(n,t,i){ot.has(n)||ot.set(n,new Map);const r=ot.get(n);if(!r.has(t)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(t,i)},get(n,t){return ot.has(n)?ot.get(n).get(t)||null:null},remove(n,t){if(ot.has(n)){const i=ot.get(n);i.delete(t);i.size===0&&ot.delete(n)}}};const dl="5.0.2";class a{constructor(n){(n=gt(n),n)&&(this._element=n,st.set(this._element,this.constructor.DATA_KEY,this))}dispose(){st.remove(this._element,this.constructor.DATA_KEY);n.off(this._element,this.constructor.EVENT_KEY);Object.getOwnPropertyNames(this).forEach(n=>{this[n]=null})}_queueCallback(n,t,i=true){ae(n,t,i)}static getInstance(n){return st.get(n,this.DATA_KEY)}static getOrCreateInstance(n,t={}){return this.getInstance(n)||new this(n,typeof t=="object"?t:null)}static get VERSION(){return dl}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!');}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const gl="alert",pu=`.${"bs.alert"}`,na=`close${pu}`,ta=`closed${pu}`,ia=`click${pu}${".data-api"}`,ra="alert",ua="fade",fa="show";class si extends a{static get NAME(){return gl}close(n){const t=n?this._getRootElement(n):this._element,i=this._triggerCloseEvent(t);i===null||i.defaultPrevented||this._removeElement(t)}_getRootElement(n){return ft(n)||n.closest(`.${ra}`)}_triggerCloseEvent(t){return n.trigger(t,na)}_removeElement(n){n.classList.remove(fa);const t=n.classList.contains(ua);this._queueCallback(()=>this._destroyElement(n),n,t)}_destroyElement(t){t.remove();n.trigger(t,ta)}static jQueryInterface(n){return this.each(function(){const t=si.getOrCreateInstance(this);n==="close"&&t[n](this)})}static handleDismiss(n){return function(t){t&&t.preventDefault();n.close(this)}}}n.on(document,ia,'[data-bs-dismiss="alert"]',si.handleDismiss(new si));h(si);const ea="button",oa=`.${"bs.button"}`,sa="active",to='[data-bs-toggle="button"]',ha=`click${oa}${".data-api"}`;class or extends a{static get NAME(){return ea}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(sa))}static jQueryInterface(n){return this.each(function(){const t=or.getOrCreateInstance(this);n==="toggle"&&t[n]()})}}n.on(document,ha,to,n=>{n.preventDefault();const t=n.target.closest(to),i=or.getOrCreateInstance(t);i.toggle()});h(or);const i={setDataAttribute(n,t,i){n.setAttribute(`data-bs-${wu(t)}`,i)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${wu(t)}`)},getDataAttributes(n){if(!n)return{};const t={};return Object.keys(n.dataset).filter(n=>n.startsWith("bs")).forEach(i=>{let r=i.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length);t[r]=io(n.dataset[i])}),t},getDataAttribute(n,t){return io(n.getAttribute(`data-bs-${wu(t)}`))},offset(n){const t=n.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position(n){return{top:n.offsetTop,left:n.offsetLeft}}},ro="carousel",f=`.${"bs.carousel"}`,uo=".data-api",ca=500,la=40,fo={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},aa={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},vt="next",yt="prev",pt="left",hi="right",va={["ArrowLeft"]:hi,["ArrowRight"]:pt},ya=`slide${f}`,eo=`slid${f}`,pa=`keydown${f}`,wa=`mouseenter${f}`,ba=`mouseleave${f}`,ka=`touchstart${f}`,da=`touchmove${f}`,ga=`touchend${f}`,nv=`pointerdown${f}`,tv=`pointerup${f}`,iv=`dragstart${f}`,rv=`load${f}${uo}`,uv=`click${f}${uo}`,fv="carousel",wt="active",ev="slide",ov="carousel-item-end",sv="carousel-item-start",hv="carousel-item-next",cv="carousel-item-prev",lv="pointer-event",av=".active",sr=".active.carousel-item",vv=".carousel-item",yv=".carousel-item img",pv=".carousel-item-next, .carousel-item-prev",wv=".carousel-indicators",bv="[data-bs-target]",kv='[data-bs-ride="carousel"]',oo="touch",so="pen";class g extends a{constructor(n,i){super(n);this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(i);this._indicatorsElement=t.findOne(wv,this._element);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent);this._addEventListeners()}static get Default(){return fo}static get NAME(){return ro}next(){this._slide(vt)}nextWhenVisible(){!document.hidden&&fr(this._element)&&this.next()}prev(){this._slide(yt)}pause(n){n||(this._isPaused=!0);t.findOne(pv,this._element)&&(he(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null}cycle(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(i){this._activeElement=t.findOne(sr,this._element);const r=this._getItemIndex(this._activeElement);if(!(i>this._items.length-1)&&!(i<0)){if(this._isSliding){n.one(this._element,eo,()=>this.to(i));return}if(r===i){this.pause();this.cycle();return}const u=i>r?vt:yt;this._slide(u,this._items[i])}}_getConfig(n){return n={...fo,...i.getDataAttributes(this._element),...(typeof n=="object"?n:{})},d(ro,n,aa),n}_handleSwipe(){const n=Math.abs(this.touchDeltaX);if(!(n<=la)){const t=n/this.touchDeltaX;(this.touchDeltaX=0,t)&&this._slide(t>0?hi:pt)}}_addEventListeners(){if(this._config.keyboard)n.on(this._element,pa,n=>this._keydown(n));if(this._config.pause==="hover"){n.on(this._element,wa,n=>this.pause(n));n.on(this._element,ba,n=>this.cycle(n))}this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const i=n=>{this._pointerEvent&&(n.pointerType===so||n.pointerType===oo)?this.touchStartX=n.clientX:this._pointerEvent||(this.touchStartX=n.touches[0].clientX)},u=n=>{this.touchDeltaX=n.touches&&n.touches.length>1?0:n.touches[0].clientX-this.touchStartX},r=n=>{this._pointerEvent&&(n.pointerType===so||n.pointerType===oo)&&(this.touchDeltaX=n.clientX-this.touchStartX),this._handleSwipe(),this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(n=>this.cycle(n),ca+this._config.interval))};if(t.find(yv,this._element).forEach(t=>{n.on(t,iv,n=>n.preventDefault())}),this._pointerEvent){n.on(this._element,nv,n=>i(n));n.on(this._element,tv,n=>r(n));this._element.classList.add(lv)}else{n.on(this._element,ka,n=>i(n));n.on(this._element,da,n=>u(n));n.on(this._element,ga,n=>r(n))}}_keydown(n){if(!/input|textarea/i.test(n.target.tagName)){const t=va[n.key];t&&(n.preventDefault(),this._slide(t))}}_getItemIndex(n){return this._items=n&&n.parentNode?t.find(vv,n.parentNode):[],this._items.indexOf(n)}_getItemByOrder(n,t){const i=n===vt;return ve(this._items,t,i,this._config.wrap)}_triggerSlideEvent(i,r){const u=this._getItemIndex(i),f=this._getItemIndex(t.findOne(sr,this._element));return n.trigger(this._element,ya,{relatedTarget:i,direction:r,from:f,to:u})}_setActiveIndicatorElement(n){if(this._indicatorsElement){const r=t.findOne(av,this._indicatorsElement);r.classList.remove(wt);r.removeAttribute("aria-current");const i=t.find(bv,this._indicatorsElement);for(let t=0;t{n.trigger(this._element,eo,{relatedTarget:u,direction:l,from:v,to:y})};if(this._element.classList.contains(ev)){u.classList.add(s);ti(u);f.classList.add(e);u.classList.add(e);const n=()=>{u.classList.remove(e,s),u.classList.add(wt),f.classList.remove(wt,s,e),this._isSliding=!1,setTimeout(a,0)};this._queueCallback(n,f,!0)}else f.classList.remove(wt),u.classList.add(wt),this._isSliding=!1,a();h&&this.cycle()}}}_directionToOrder(n){return[hi,pt].includes(n)?r()?n===pt?yt:vt:n===pt?vt:yt:n}_orderToDirection(n){return[vt,yt].includes(n)?r()?n===yt?pt:hi:n===yt?hi:pt:n}static carouselInterface(n,t){const i=g.getOrCreateInstance(n,t);let{_config:r}=i;typeof t=="object"&&(r={...r,...t});const u=typeof t=="string"?t:r.slide;if(typeof t=="number")i.to(t);else if(typeof u=="string"){if(typeof i[u]=="undefined")throw new TypeError(`No method named "${u}"`);i[u]()}else r.interval&&r.ride&&(i.pause(),i.cycle())}static jQueryInterface(n){return this.each(function(){g.carouselInterface(this,n)})}static dataApiClickHandler(n){const t=ft(this);if(t&&t.classList.contains(fv)){const u={...i.getDataAttributes(t),...i.getDataAttributes(this)},r=this.getAttribute("data-bs-slide-to");r&&(u.interval=!1);g.carouselInterface(t,u);r&&g.getInstance(t).to(r);n.preventDefault()}}}n.on(document,uv,"[data-bs-slide], [data-bs-slide-to]",g.dataApiClickHandler);n.on(window,rv,()=>{const n=t.find(kv);for(let t=0,i=n.length;tn===this._element);i!==null&&f.length&&(this._selector=i,this._triggerArray.push(u))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}static get Default(){return bu}static get NAME(){return ho}toggle(){this._element.classList.contains(bt)?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._element.classList.contains(bt)){let i,u;this._parent&&(i=t.find(fy,this._parent).filter(n=>typeof this._config.parent=="string"?n.getAttribute("data-bs-parent")===this._config.parent:n.classList.contains(li)),i.length===0&&(i=null));const f=t.findOne(this._selector);if(i){const n=i.find(n=>f!==n);if(u=n?nt.getInstance(n):null,u&&u._isTransitioning)return}const e=n.trigger(this._element,gv);if(!e.defaultPrevented){i&&i.forEach(n=>{f!==n&&nt.collapseInterface(n,"hide"),u||st.set(n,co,null)});const r=this._getDimension();this._element.classList.remove(li);this._element.classList.add(hr);this._element.style[r]=0;this._triggerArray.length&&this._triggerArray.forEach(n=>{n.classList.remove(cr),n.setAttribute("aria-expanded",!0)});this.setTransitioning(!0);const o=()=>{this._element.classList.remove(hr),this._element.classList.add(li,bt),this._element.style[r]="",this.setTransitioning(!1),n.trigger(this._element,ny)},s=r[0].toUpperCase()+r.slice(1),h=`scroll${s}`;this._queueCallback(o,this._element,!0);this._element.style[r]=`${this._element[h]}px`}}}hide(){if(!this._isTransitioning&&this._element.classList.contains(bt)){const r=n.trigger(this._element,ty);if(!r.defaultPrevented){const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`;ti(this._element);this._element.classList.add(hr);this._element.classList.remove(li,bt);const i=this._triggerArray.length;if(i>0)for(let n=0;n{this.setTransitioning(!1),this._element.classList.remove(hr),this._element.classList.add(li),n.trigger(this._element,iy)};this._element.style[t]="";this._queueCallback(u,this._element,!0)}}}setTransitioning(n){this._isTransitioning=n}_getConfig(n){return n={...bu,...n},n.toggle=Boolean(n.toggle),d(ho,n,dv),n}_getDimension(){return this._element.classList.contains(lo)?lo:uy}_getParent(){let{parent:n}=this._config;n=gt(n);const i=`${ai}[data-bs-parent="${n}"]`;return t.find(i,n).forEach(n=>{const t=ft(n);this._addAriaAndCollapsedClass(t,[n])}),n}_addAriaAndCollapsedClass(n,t){if(n&&t.length){const i=n.classList.contains(bt);t.forEach(n=>{i?n.classList.remove(cr):n.classList.add(cr),n.setAttribute("aria-expanded",i)})}}static collapseInterface(n,t){let r=nt.getInstance(n);const u={...bu,...i.getDataAttributes(n),...(typeof t=="object"&&t?t:{})};if(!r&&u.toggle&&typeof t=="string"&&/show|hide/.test(t)&&(u.toggle=!1),r||(r=new nt(n,u)),typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError(`No method named "${t}"`);r[t]()}}static jQueryInterface(n){return this.each(function(){nt.collapseInterface(this,n)})}}n.on(document,ry,ai,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();const r=i.getDataAttributes(this),u=lu(this),f=t.find(u);f.forEach(n=>{const t=nt.getInstance(n);let i;t?(t._parent===null&&typeof r.parent=="string"&&(t._config.parent=r.parent,t._parent=t._getParent()),i="toggle"):i=r;nt.collapseInterface(n,i)})});h(nt);var e="top",c="bottom",l="right",o="left",lr="auto",ii=[e,c,l,o],kt="start",ar="end",ao="clippingParents",ku="viewport",ri="popper",vo="reference",du=ii.reduce(function(n,t){return n.concat([t+"-"+kt,t+"-"+ar])},[]),gu=[].concat(ii,[lr]).reduce(function(n,t){return n.concat([t,t+"-"+kt,t+"-"+ar])},[]),yo="beforeRead",po="read",wo="afterRead",bo="beforeMain",ko="main",go="afterMain",ns="beforeWrite",ts="write",is="afterWrite",rs=[yo,po,wo,bo,ko,go,ns,ts,is];vr={name:"applyStyles",enabled:!0,phase:"write",fn:ey,effect:oy,requires:["computeStyles"]};var ct=Math.max,pi=Math.min,pr=Math.round;cs=function(n,t){return n=typeof n=="function"?n(Object.assign({},t.rects,{placement:t.placement})):n,ss(typeof n!="number"?n:hs(n,ii))};rf={name:"arrow",enabled:!0,phase:"main",fn:cy,effect:ly,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};ls={top:"auto",right:"auto",bottom:"auto",left:"auto"};br={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vy,data:{}};wi={passive:!0};kr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:yy,data:{}};vs={left:"right",right:"left",bottom:"top",top:"bottom"};ys={start:"end",end:"start"};hf={name:"flip",enabled:!0,phase:"main",fn:tp,requiresIfExists:["offset"],data:{_skip:!1}};cf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ip};lf={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:up};gr={name:"popperOffsets",enabled:!0,phase:"read",fn:fp,data:{}};af={name:"preventOverflow",enabled:!0,phase:"main",fn:op,requiresIfExists:["offset"]};vf={placement:"bottom",modifiers:[],strategy:"absolute"};var pp=nu(),wp=[kr,gr,br,vr],bp=nu({defaultModifiers:wp}),kp=[kr,gr,br,vr,lf,hf,af,rf,cf],yf=nu({defaultModifiers:kp}),th=Object.freeze({__proto__:null,popperGenerator:nu,detectOverflow:fi,createPopperBase:pp,createPopper:yf,createPopperLite:bp,top:e,bottom:c,right:l,left:o,auto:lr,basePlacements:ii,start:kt,end:ar,clippingParents:ao,viewport:ku,popper:ri,reference:vo,variationPlacements:du,placements:gu,beforeRead:yo,read:po,afterRead:wo,beforeMain:bo,main:ko,afterMain:go,beforeWrite:ns,write:ts,afterWrite:is,modifierPhases:rs,applyStyles:vr,arrow:rf,computeStyles:br,eventListeners:kr,flip:hf,hide:cf,offset:lf,popperOffsets:gr,preventOverflow:af});const pf="dropdown",lt=`.${"bs.dropdown"}`,wf=".data-api",tu="Escape",ih="Space",rh="Tab",bf="ArrowUp",iu="ArrowDown",dp=2,gp=new RegExp(`${bf}|${iu}|${tu}`),nw=`hide${lt}`,tw=`hidden${lt}`,iw=`show${lt}`,rw=`shown${lt}`,uw=`click${lt}`,uh=`click${lt}${wf}`,fh=`keydown${lt}${wf}`,fw=`keyup${lt}${wf}`,it="show",ew="dropup",ow="dropend",sw="dropstart",hw="navbar",di='[data-bs-toggle="dropdown"]',kf=".dropdown-menu",cw=".navbar-nav",lw=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",aw=r()?"top-end":"top-start",vw=r()?"top-start":"top-end",yw=r()?"bottom-end":"bottom-start",pw=r()?"bottom-start":"bottom-end",ww=r()?"left-start":"right-start",bw=r()?"right-start":"left-start",kw={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},dw={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class u extends a{constructor(n,t){super(n);this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}static get Default(){return kw}static get DefaultType(){return dw}static get NAME(){return pf}toggle(){if(!ni(this._element)){const n=this._element.classList.contains(it);if(n){this.hide();return}this.show()}}show(){if(!ni(this._element)&&!this._menu.classList.contains(it)){const t=u.getParentFromElement(this._element),r={relatedTarget:this._element},f=n.trigger(this._element,iw,r);if(!f.defaultPrevented){if(this._inNavbar)i.setDataAttribute(this._menu,"popper","none");else{if(typeof th=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let n=this._element;this._config.reference==="parent"?n=t:et(this._config.reference)?n=gt(this._config.reference):typeof this._config.reference=="object"&&(n=this._config.reference);const r=this._getPopperConfig(),u=r.modifiers.find(n=>n.name==="applyStyles"&&n.enabled===!1);this._popper=yf(n,this._menu,r);u&&i.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(cw)&&[].concat(...document.body.children).forEach(t=>n.on(t,"mouseover",er));this._element.focus();this._element.setAttribute("aria-expanded",!0);this._menu.classList.toggle(it);this._element.classList.toggle(it);n.trigger(this._element,rw,r)}}}hide(){if(!ni(this._element)&&this._menu.classList.contains(it)){const n={relatedTarget:this._element};this._completeHide(n)}}dispose(){this._popper&&this._popper.destroy();super.dispose()}update(){this._inNavbar=this._detectNavbar();this._popper&&this._popper.update()}_addEventListeners(){n.on(this._element,uw,n=>{n.preventDefault(),this.toggle()})}_completeHide(t){const r=n.trigger(this._element,nw,t);r.defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>n.off(t,"mouseover",er)),this._popper&&this._popper.destroy(),this._menu.classList.remove(it),this._element.classList.remove(it),this._element.setAttribute("aria-expanded","false"),i.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,tw,t))}_getConfig(n){if(n={...this.constructor.Default,...i.getDataAttributes(this._element),...n},d(pf,n,this.constructor.DefaultType),typeof n.reference=="object"&&!et(n.reference)&&typeof n.reference.getBoundingClientRect!="function")throw new TypeError(`${pf.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return n}_getMenuElement(){return t.next(this._element,kf)[0]}_getPlacement(){const n=this._element.parentNode;if(n.classList.contains(ow))return ww;if(n.classList.contains(sw))return bw;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return n.classList.contains(ew)?t?vw:aw:t?pw:yw}_detectNavbar(){return this._element.closest(`.${hw}`)!==null}_getOffset(){const{offset:n}=this._config;return typeof n=="string"?n.split(",").map(n=>Number.parseInt(n,10)):typeof n=="function"?t=>n(t,this._element):n}_getPopperConfig(){const n={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return this._config.display==="static"&&(n.modifiers=[{name:"applyStyles",enabled:!1}]),{...n,...(typeof this._config.popperConfig=="function"?this._config.popperConfig(n):this._config.popperConfig)}}_selectMenuItem({key:n,target:i}){const r=t.find(lw,this._menu).filter(fr);r.length&&ve(r,i,n===iu,!r.includes(i)).focus()}static dropdownInterface(n,t){const i=u.getOrCreateInstance(n,t);if(typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError(`No method named "${t}"`);i[t]()}}static jQueryInterface(n){return this.each(function(){u.dropdownInterface(this,n)})}static clearMenus(n){if(!n||n.button!==dp&&(n.type!=="keyup"||n.key===rh)){const i=t.find(di);for(let t=0,r=i.length;tthis.matches(di)?this:t.prev(this,di)[0];if(n.key===tu){r().focus();u.clearMenus();return}if(n.key===bf||n.key===iu){i||r().click();u.getInstance(r())._selectMenuItem(n);return}i&&n.key!==ih||u.clearMenus()}}}}n.on(document,fh,di,u.dataApiKeydownHandler);n.on(document,fh,kf,u.dataApiKeydownHandler);n.on(document,uh,u.clearMenus);n.on(document,fw,u.clearMenus);n.on(document,uh,di,function(n){n.preventDefault();u.dropdownInterface(this)});h(u);const eh=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oh=".sticky-top";class df{constructor(){this._element=document.body}getWidth(){const n=document.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}hide(){const n=this.getWidth();this._disableOverFlow();this._setElementAttributes(this._element,"paddingRight",t=>t+n);this._setElementAttributes(eh,"paddingRight",t=>t+n);this._setElementAttributes(oh,"marginRight",t=>t-n)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow");this._element.style.overflow="hidden"}_setElementAttributes(n,t,i){const r=this.getWidth(),u=n=>{if(n===this._element||!(window.innerWidth>n.clientWidth+r)){this._saveInitialAttribute(n,t);const u=window.getComputedStyle(n)[t];n.style[t]=`${i(Number.parseFloat(u))}px`}};this._applyManipulationCallback(n,u)}reset(){this._resetElementAttributes(this._element,"overflow");this._resetElementAttributes(this._element,"paddingRight");this._resetElementAttributes(eh,"paddingRight");this._resetElementAttributes(oh,"marginRight")}_saveInitialAttribute(n,t){const r=n.style[t];r&&i.setDataAttribute(n,t,r)}_resetElementAttributes(n,t){const r=n=>{const r=i.getDataAttribute(n,t);typeof r=="undefined"?n.style.removeProperty(t):(i.removeDataAttribute(n,t),n.style[t]=r)};this._applyManipulationCallback(n,r)}_applyManipulationCallback(n,i){et(n)?i(n):t.find(n,this._element).forEach(i)}isOverflowing(){return this.getWidth()>0}}const gw={isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},nb={isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},sh="backdrop",tb="modal-backdrop",ib="fade",hh="show",ch=`mousedown.bs.${sh}`;class lh{constructor(n){this._config=this._getConfig(n);this._isAppended=!1;this._element=null}show(n){if(!this._config.isVisible){at(n);return}this._append();this._config.isAnimated&&ti(this._getElement());this._getElement().classList.add(hh);this._emulateAnimation(()=>{at(n)})}hide(n){if(!this._config.isVisible){at(n);return}this._getElement().classList.remove(hh);this._emulateAnimation(()=>{this.dispose(),at(n)})}_getElement(){if(!this._element){const n=document.createElement("div");n.className=tb;this._config.isAnimated&&n.classList.add(ib);this._element=n}return this._element}_getConfig(n){return n={...gw,...(typeof n=="object"?n:{})},n.rootElement=gt(n.rootElement),d(sh,n,nb),n}_append(){if(!this._isAppended){this._config.rootElement.appendChild(this._getElement());n.on(this._getElement(),ch,()=>{at(this._config.clickCallback)});this._isAppended=!0}}dispose(){this._isAppended&&(n.off(this._element,ch),this._element.remove(),this._isAppended=!1)}_emulateAnimation(n){ae(n,this._getElement(),this._config.isAnimated)}}const ah="modal",s=`.${"bs.modal"}`,vh="Escape",yh={backdrop:!0,keyboard:!0,focus:!0},rb={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},ub=`hide${s}`,fb=`hidePrevented${s}`,ph=`hidden${s}`,wh=`show${s}`,eb=`shown${s}`,ru=`focusin${s}`,bh=`resize${s}`,gf=`click.dismiss${s}`,kh=`keydown.dismiss${s}`,ob=`mouseup.dismiss${s}`,dh=`mousedown.dismiss${s}`,sb=`click${s}${".data-api"}`,gh="modal-open",hb="fade",nc="show",ne="modal-static",cb=".modal-dialog",lb=".modal-body",ab='[data-bs-dismiss="modal"]';class uu extends a{constructor(n,i){super(n);this._config=this._getConfig(i);this._dialog=t.findOne(cb,this._element);this._backdrop=this._initializeBackDrop();this._isShown=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollBar=new df}static get Default(){return yh}static get NAME(){return ah}toggle(n){return this._isShown?this.hide():this.show(n)}show(t){if(!this._isShown&&!this._isTransitioning){const i=n.trigger(this._element,wh,{relatedTarget:t});if(!i.defaultPrevented){this._isShown=!0;this._isAnimated()&&(this._isTransitioning=!0);this._scrollBar.hide();document.body.classList.add(gh);this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();n.on(this._element,gf,ab,n=>this.hide(n));n.on(this._dialog,dh,()=>{n.one(this._element,ob,n=>{n.target===this._element&&(this._ignoreBackdropClick=!0)})});this._showBackdrop(()=>this._showElement(t))}}}hide(t){if(t&&["A","AREA"].includes(t.target.tagName)&&t.preventDefault(),this._isShown&&!this._isTransitioning){const r=n.trigger(this._element,ub);if(!r.defaultPrevented){this._isShown=!1;const i=this._isAnimated();i&&(this._isTransitioning=!0);this._setEscapeEvent();this._setResizeEvent();n.off(document,ru);this._element.classList.remove(nc);n.off(this._element,gf);n.off(this._dialog,dh);this._queueCallback(()=>this._hideModal(),this._element,i)}}}dispose(){[window,this._dialog].forEach(t=>n.off(t,s));this._backdrop.dispose();super.dispose();n.off(document,ru)}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new lh({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(n){return n={...yh,...i.getDataAttributes(this._element),...(typeof n=="object"?n:{})},d(ah,n,rb),n}_showElement(i){const r=this._isAnimated(),u=t.findOne(lb,this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",!0);this._element.setAttribute("role","dialog");this._element.scrollTop=0;u&&(u.scrollTop=0);r&&ti(this._element);this._element.classList.add(nc);this._config.focus&&this._enforceFocus();const f=()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,n.trigger(this._element,eb,{relatedTarget:i})};this._queueCallback(f,this._dialog,r)}_enforceFocus(){n.off(document,ru);n.on(document,ru,n=>{document===n.target||this._element===n.target||this._element.contains(n.target)||this._element.focus()})}_setEscapeEvent(){if(this._isShown)n.on(this._element,kh,n=>{this._config.keyboard&&n.key===vh?(n.preventDefault(),this.hide()):this._config.keyboard||n.key!==vh||this._triggerBackdropTransition()});else n.off(this._element,kh)}_setResizeEvent(){if(this._isShown)n.on(window,bh,()=>this._adjustDialog());else n.off(window,bh)}_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(gh),this._resetAdjustments(),this._scrollBar.reset(),n.trigger(this._element,ph)})}_showBackdrop(t){n.on(this._element,gf,n=>{if(this._ignoreBackdropClick){this._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(this._config.backdrop===!0?this.hide():this._config.backdrop==="static"&&this._triggerBackdropTransition())});this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains(hb)}_triggerBackdropTransition(){const u=n.trigger(this._element,fb);if(!u.defaultPrevented){const{classList:t,scrollHeight:f,style:i}=this._element,r=f>document.documentElement.clientHeight;(r||i.overflowY!=="hidden")&&!t.contains(ne)&&(r||(i.overflowY="hidden"),t.add(ne),this._queueCallback(()=>{t.remove(ne),r||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const n=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),t=i>0;(!t&&n&&!r()||t&&!n&&r())&&(this._element.style.paddingLeft=`${i}px`);(t&&!n&&!r()||!t&&n&&r())&&(this._element.style.paddingRight=`${i}px`)}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(n,t){return this.each(function(){const i=uu.getOrCreateInstance(this,n);if(typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError(`No method named "${n}"`);i[n](t)}})}}n.on(document,sb,'[data-bs-toggle="modal"]',function(t){const i=ft(this);["A","AREA"].includes(this.tagName)&&t.preventDefault();n.one(i,wh,t=>{if(!t.defaultPrevented)n.one(i,ph,()=>{fr(this)&&this.focus()})});const r=uu.getOrCreateInstance(i);r.toggle(this)});h(uu);const tc="offcanvas",rt=`.${"bs.offcanvas"}`,ic=".data-api",vb=`load${rt}${ic}`,yb="Escape",rc={backdrop:!0,keyboard:!0,scroll:!1},pb={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},uc="show",fc=".offcanvas.show",wb=`show${rt}`,bb=`shown${rt}`,kb=`hide${rt}`,ec=`hidden${rt}`,fu=`focusin${rt}`,db=`click${rt}${ic}`,gb=`click.dismiss${rt}`,nk=`keydown.dismiss${rt}`,tk='[data-bs-dismiss="offcanvas"]';class ei extends a{constructor(n,t){super(n);this._config=this._getConfig(t);this._isShown=!1;this._backdrop=this._initializeBackDrop();this._addEventListeners()}static get NAME(){return tc}static get Default(){return rc}toggle(n){return this._isShown?this.hide():this.show(n)}show(t){if(!this._isShown){const i=n.trigger(this._element,wb,{relatedTarget:t});if(!i.defaultPrevented){this._isShown=!0;this._element.style.visibility="visible";this._backdrop.show();this._config.scroll||((new df).hide(),this._enforceFocusOnElement(this._element));this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",!0);this._element.setAttribute("role","dialog");this._element.classList.add(uc);const r=()=>{n.trigger(this._element,bb,{relatedTarget:t})};this._queueCallback(r,this._element,!0)}}}hide(){if(this._isShown){const t=n.trigger(this._element,kb);if(!t.defaultPrevented){n.off(document,fu);this._element.blur();this._isShown=!1;this._element.classList.remove(uc);this._backdrop.hide();const i=()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new df).reset(),n.trigger(this._element,ec)};this._queueCallback(i,this._element,!0)}}}dispose(){this._backdrop.dispose();super.dispose();n.off(document,fu)}_getConfig(n){return n={...rc,...i.getDataAttributes(this._element),...(typeof n=="object"?n:{})},d(tc,n,pb),n}_initializeBackDrop(){return new lh({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(t){n.off(document,fu);n.on(document,fu,n=>{document===n.target||t===n.target||t.contains(n.target)||t.focus()});t.focus()}_addEventListeners(){n.on(this._element,gb,tk,()=>this.hide());n.on(this._element,nk,n=>{this._config.keyboard&&n.key===yb&&this.hide()})}static jQueryInterface(n){return this.each(function(){const t=ei.getOrCreateInstance(this,n);if(typeof n=="string"){if(t[n]===undefined||n.startsWith("_")||n==="constructor")throw new TypeError(`No method named "${n}"`);t[n](this)}})}}n.on(document,db,'[data-bs-toggle="offcanvas"]',function(i){const r=ft(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),!ni(this)){n.one(r,ec,()=>{fr(this)&&this.focus()});const u=t.findOne(fc);u&&u!==r&&ei.getInstance(u).hide();const f=ei.getOrCreateInstance(r);f.toggle(this)}});n.on(window,vb,()=>t.find(fc).forEach(n=>ei.getOrCreateInstance(n).show()));h(ei);const ik=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),rk=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,uk=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,fk=(n,t)=>{const i=n.nodeName.toLowerCase();if(t.includes(i))return ik.has(i)?Boolean(rk.test(n.nodeValue)||uk.test(n.nodeValue)):!0;const r=t.filter(n=>n instanceof RegExp);for(let n=0,t=r.length;n
<\/div>
<\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},lk={HIDE:`hide${b}`,HIDDEN:`hidden${b}`,SHOW:`show${b}`,SHOWN:`shown${b}`,INSERTED:`inserted${b}`,CLICK:`click${b}`,FOCUSIN:`focusin${b}`,FOCUSOUT:`focusout${b}`,MOUSEENTER:`mouseenter${b}`,MOUSELEAVE:`mouseleave${b}`},eu="fade",cc="modal",gi="show",nr="show",te="out",ak=".tooltip-inner",tr="hover",ie="focus",vk="click",yk="manual";class oi extends a{constructor(n,t){if(typeof th=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(n);this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this._config=this._getConfig(t);this.tip=null;this._setListeners()}static get Default(){return ck}static get NAME(){return sc}static get Event(){return lk}static get DefaultType(){return sk}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(n){if(this._isEnabled)if(n){const t=this._initializeOnDelegatedTarget(n);t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(gi)){this._leave(null,this);return}this._enter(null,this)}}dispose(){clearTimeout(this._timeout);n.off(this._element.closest(`.${cc}`),"hide.bs.modal",this._hideModalHandler);this.tip&&this.tip.remove();this._popper&&this._popper.destroy();super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){const e=n.trigger(this._element,this.constructor.Event.SHOW),i=ce(this._element),o=i===null?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(!e.defaultPrevented&&o){const t=this.getTipElement(),r=oe(this.constructor.NAME);t.setAttribute("id",r);this._element.setAttribute("aria-describedby",r);this.setContent();this._config.animation&&t.classList.add(eu);const s=typeof this._config.placement=="function"?this._config.placement.call(this,t,this._element):this._config.placement,u=this._getAttachment(s);this._addAttachmentClass(u);const{container:h}=this._config;st.set(t,this.constructor.DATA_KEY,this);this._element.ownerDocument.documentElement.contains(this.tip)||(h.appendChild(t),n.trigger(this._element,this.constructor.Event.INSERTED));this._popper?this._popper.update():this._popper=yf(this._element,t,this._getPopperConfig(u));t.classList.add(gi);const f=typeof this._config.customClass=="function"?this._config.customClass():this._config.customClass;f&&t.classList.add(...f.split(" "));"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{n.on(t,"mouseover",er)});const c=()=>{const t=this._hoverState;this._hoverState=null;n.trigger(this._element,this.constructor.Event.SHOWN);t===te&&this._leave(null,this)},l=this.tip.classList.contains(eu);this._queueCallback(c,this.tip,l)}}}hide(){if(this._popper){const t=this.getTipElement(),i=()=>{this._isWithActiveTrigger()||(this._hoverState!==nr&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),n.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))},r=n.trigger(this._element,this.constructor.Event.HIDE);if(!r.defaultPrevented){t.classList.remove(gi);"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>n.off(t,"mouseover",er));this._activeTrigger[vk]=!1;this._activeTrigger[ie]=!1;this._activeTrigger[tr]=!1;const u=this.tip.classList.contains(eu);this._queueCallback(i,this.tip,u);this._hoverState=""}}}update(){this._popper!==null&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const n=document.createElement("div");return n.innerHTML=this._config.template,this.tip=n.children[0],this.tip}setContent(){const n=this.getTipElement();this.setElementContent(t.findOne(ak,n),this.getTitle());n.classList.remove(eu,gi)}setElementContent(n,t){if(n!==null){if(et(t)){t=gt(t);this._config.html?t.parentNode!==n&&(n.innerHTML="",n.appendChild(t)):n.textContent=t.textContent;return}this._config.html?(this._config.sanitize&&(t=oc(t,this._config.allowList,this._config.sanitizeFn)),n.innerHTML=t):n.textContent=t}}getTitle(){let n=this._element.getAttribute("data-bs-original-title");return n||(n=typeof this._config.title=="function"?this._config.title.call(this._element):this._config.title),n}updateAttachment(n){return n==="right"?"end":n==="left"?"start":n}_initializeOnDelegatedTarget(n,t){const i=this.constructor.DATA_KEY;return t=t||st.get(n.delegateTarget,i),t||(t=new this.constructor(n.delegateTarget,this._getDelegateConfig()),st.set(n.delegateTarget,i,t)),t}_getOffset(){const{offset:n}=this._config;return typeof n=="string"?n.split(",").map(n=>Number.parseInt(n,10)):typeof n=="function"?t=>n(t,this._element):n}_getPopperConfig(n){const t={placement:n,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:"onChange",enabled:!0,phase:"afterWrite",fn:n=>this._handlePopperPlacementChange(n)}],onFirstUpdate:n=>{n.options.placement!==n.placement&&this._handlePopperPlacementChange(n)}};return{...t,...(typeof this._config.popperConfig=="function"?this._config.popperConfig(t):this._config.popperConfig)}}_addAttachmentClass(n){this.getTipElement().classList.add(`${hc}-${this.updateAttachment(n)}`)}_getAttachment(n){return hk[n.toUpperCase()]}_setListeners(){const t=this._config.trigger.split(" ");t.forEach(t=>{if(t==="click")n.on(this._element,this.constructor.Event.CLICK,this._config.selector,n=>this.toggle(n));else if(t!==yk){const i=t===tr?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,r=t===tr?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;n.on(this._element,i,this._config.selector,n=>this._enter(n));n.on(this._element,r,this._config.selector,n=>this._leave(n))}});this._hideModalHandler=()=>{this._element&&this.hide()};n.on(this._element.closest(`.${cc}`),"hide.bs.modal",this._hideModalHandler);this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const n=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(n||t!=="string")&&(this._element.setAttribute("data-bs-original-title",n||""),!n||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",n),this._element.setAttribute("title",""))}_enter(n,t){if(t=this._initializeOnDelegatedTarget(n,t),n&&(t._activeTrigger[n.type==="focusin"?ie:tr]=!0),t.getTipElement().classList.contains(gi)||t._hoverState===nr){t._hoverState=nr;return}if(clearTimeout(t._timeout),t._hoverState=nr,!t._config.delay||!t._config.delay.show){t.show();return}t._timeout=setTimeout(()=>{t._hoverState===nr&&t.show()},t._config.delay.show)}_leave(n,t){if(t=this._initializeOnDelegatedTarget(n,t),n&&(t._activeTrigger[n.type==="focusout"?ie:tr]=t._element.contains(n.relatedTarget)),!t._isWithActiveTrigger()){if(clearTimeout(t._timeout),t._hoverState=te,!t._config.delay||!t._config.delay.hide){t.hide();return}t._timeout=setTimeout(()=>{t._hoverState===te&&t.hide()},t._config.delay.hide)}}_isWithActiveTrigger(){for(const n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1}_getConfig(n){const t=i.getDataAttributes(this._element);return Object.keys(t).forEach(n=>{ok.has(n)&&delete t[n]}),n={...this.constructor.Default,...t,...(typeof n=="object"&&n?n:{})},n.container=n.container===!1?document.body:gt(n.container),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),d(sc,n,this.constructor.DefaultType),n.sanitize&&(n.template=oc(n.template,n.allowList,n.sanitizeFn)),n}_getDelegateConfig(){const n={};if(this._config)for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(n[t]=this._config[t]);return n}_cleanTipClass(){const t=this.getTipElement(),n=t.getAttribute("class").match(ek);n!==null&&n.length>0&&n.map(n=>n.trim()).forEach(n=>t.classList.remove(n))}_handlePopperPlacementChange(n){const{state:t}=n;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}static jQueryInterface(n){return this.each(function(){const t=oi.getOrCreateInstance(this,n);if(typeof n=="string"){if(typeof t[n]=="undefined")throw new TypeError(`No method named "${n}"`);t[n]()}})}}h(oi);const pk="popover",k=`.${"bs.popover"}`,lc="bs-popover",wk=new RegExp(`(^|\\s)${lc}\\S+`,"g"),bk={...oi.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'