Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap.native

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap.native - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

2

dist/bootstrap-native.js

@@ -1,2 +0,2 @@

var BSN=function(N){"use strict";var C={};(function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n={},s=c=>{const{type:m,currentTarget:h}=c;[...n[m]].forEach(([p,v])=>{h===p&&[...v].forEach(([b,S])=>{b.apply(p,[c]),typeof S=="object"&&S.once&&a(p,m,b,S)})})},o=(c,m,h,p)=>{n[m]||(n[m]=new Map);const v=n[m];v.has(c)||v.set(c,new Map);const b=v.get(c),{size:S}=b;b.set(h,p),S||c.addEventListener(m,s,p)},a=(c,m,h,p)=>{const v=n[m],b=v&&v.get(c),S=b&&b.get(h),R=S!==void 0?S:p;b&&b.has(h)&&b.delete(h),v&&(!b||!b.size)&&v.delete(c),(!v||!v.size)&&delete n[m],(!b||!b.size)&&c.removeEventListener(m,s,R)},r=o,d=a;t.addListener=o,t.globalListener=s,t.off=d,t.on=r,t.registry=n,t.removeListener=a})(C);var e={};(function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n="aria-checked",s="aria-description",o="aria-describedby",a="aria-expanded",r="aria-haspopup",d="aria-hidden",c="aria-label",m="aria-labelledby",h="aria-modal",p="aria-pressed",v="aria-selected",b="aria-valuemin",S="aria-valuemax",R="aria-valuenow",y="aria-valuetext",M="abort",z="beforeunload",le="blur",X="change",A="contextmenu",Y="DOMContentLoaded",U="DOMMouseScroll",L="error",O="focus",w="focusin",ce="focusout",x="gesturechange",D="gestureend",ee="gesturestart",ie="keydown",pe="keypress",te="keyup",ze="load",de="click",Pe="dblclick",We="mousedown",ae="mouseup",ne="hover",qe="mouseenter",Ee="mouseleave",be="mousein",Ce="mouseout",ye="mouseover",Me="mousemove",Fe="mousewheel",Et="move",ao="orientationchange",ro="pointercancel",lo="pointerdown",co="pointerleave",uo="pointermove",mo="pointerup",ho="readystatechange",go="reset",fo="resize",vo="select",po="selectend",Eo="selectstart",bo="scroll",Co="submit",yo="touchstart",To="touchmove",wo="touchcancel",So="touchend",Ao="unload",Na={DOMContentLoaded:Y,DOMMouseScroll:U,abort:M,beforeunload:z,blur:le,change:X,click:de,contextmenu:A,dblclick:Pe,error:L,focus:O,focusin:w,focusout:ce,gesturechange:x,gestureend:D,gesturestart:ee,hover:ne,keydown:ie,keypress:pe,keyup:te,load:ze,mousedown:We,mousemove:Me,mousein:be,mouseout:Ce,mouseenter:qe,mouseleave:Ee,mouseover:ye,mouseup:ae,mousewheel:Fe,move:Et,orientationchange:ao,pointercancel:ro,pointerdown:lo,pointerleave:co,pointermove:uo,pointerup:mo,readystatechange:ho,reset:go,resize:fo,scroll:bo,select:vo,selectend:po,selectstart:Eo,submit:Co,touchcancel:wo,touchend:So,touchmove:To,touchstart:yo,unload:Ao},Pa="drag",Ma="dragstart",Oa="dragenter",Ba="dragleave",Ra="dragover",za="dragend",Wa="loadstart",qa={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Fa={down:"mousedown",up:"mouseup"},ja="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],Va={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},Ua={in:"focusin",out:"focusout"},Ka={Backspace:"Backspace",Tab:"Tab",Enter:"Enter",Shift:"Shift",Control:"Control",Alt:"Alt",Pause:"Pause",CapsLock:"CapsLock",Escape:"Escape",Scape:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Insert:"Insert",Delete:"Delete",Meta:"Meta",ContextMenu:"ContextMenu",ScrollLock:"ScrollLock"},Qa="Alt",Xa="ArrowDown",Ya="ArrowUp",Ga="ArrowLeft",Ja="ArrowRight",Za="Backspace",_a="CapsLock",xa="Control",er="Delete",tr="Enter",nr="Escape",sr="Insert",or="Meta",ir="Pause",ar="ScrollLock",rr="Shift",lr="Space",cr="Tab",Do="animationDuration",$o="animationDelay",an="animationName",bt="animationend",Ho="transitionDuration",Lo="transitionDelay",Ct="transitionend",rn="transitionProperty",dr="addEventListener",ur="removeEventListener",mr={linear:"linear",easingSinusoidalIn:"cubic-bezier(0.47,0,0.745,0.715)",easingSinusoidalOut:"cubic-bezier(0.39,0.575,0.565,1)",easingSinusoidalInOut:"cubic-bezier(0.445,0.05,0.55,0.95)",easingQuadraticIn:"cubic-bezier(0.550,0.085,0.680,0.530)",easingQuadraticOut:"cubic-bezier(0.250,0.460,0.450,0.940)",easingQuadraticInOut:"cubic-bezier(0.455,0.030,0.515,0.955)",easingCubicIn:"cubic-bezier(0.55,0.055,0.675,0.19)",easingCubicOut:"cubic-bezier(0.215,0.61,0.355,1)",easingCubicInOut:"cubic-bezier(0.645,0.045,0.355,1)",easingQuarticIn:"cubic-bezier(0.895,0.03,0.685,0.22)",easingQuarticOut:"cubic-bezier(0.165,0.84,0.44,1)",easingQuarticInOut:"cubic-bezier(0.77,0,0.175,1)",easingQuinticIn:"cubic-bezier(0.755,0.05,0.855,0.06)",easingQuinticOut:"cubic-bezier(0.23,1,0.32,1)",easingQuinticInOut:"cubic-bezier(0.86,0,0.07,1)",easingExponentialIn:"cubic-bezier(0.95,0.05,0.795,0.035)",easingExponentialOut:"cubic-bezier(0.19,1,0.22,1)",easingExponentialInOut:"cubic-bezier(1,0,0,1)",easingCircularIn:"cubic-bezier(0.6,0.04,0.98,0.335)",easingCircularOut:"cubic-bezier(0.075,0.82,0.165,1)",easingCircularInOut:"cubic-bezier(0.785,0.135,0.15,0.86)",easingBackIn:"cubic-bezier(0.6,-0.28,0.735,0.045)",easingBackOut:"cubic-bezier(0.175,0.885,0.32,1.275)",easingBackInOut:"cubic-bezier(0.68,-0.55,0.265,1.55)"},hr="offsetHeight",gr="offsetWidth",fr="scrollHeight",vr="scrollWidth",pr="tabindex",Er=navigator.userAgentData,Ze=Er,{userAgent:br}=navigator,_e=br,ko=/iPhone|iPad|iPod|Android/i;let ln=!1;Ze?ln=Ze.brands.some(i=>ko.test(i.brand)):ln=ko.test(_e);const Cr=ln,Io=/(iPhone|iPod|iPad)/,yr=Ze?Ze.brands.some(i=>Io.test(i.brand)):Io.test(_e),Tr=_e?_e.includes("Firefox"):!1,{head:xe}=document,wr=["webkitPerspective","perspective"].some(i=>i in xe.style),No=(i,l,u,g)=>{const f=g||!1;i.addEventListener(l,u,f)},Po=(i,l,u,g)=>{const f=g||!1;i.removeEventListener(l,u,f)},Mo=(i,l,u,g)=>{const f=I=>{(I.target===i||I.currentTarget===i)&&(u.apply(i,[I]),Po(i,l,f,g))};No(i,l,f,g)},Oo=()=>{},Sr=(()=>{let i=!1;try{const l=Object.defineProperty({},"passive",{get:()=>(i=!0,i)});Mo(document,Y,Oo,l)}catch{}return i})(),Ar=["webkitTransform","transform"].some(i=>i in xe.style),Dr="ontouchstart"in window||"msMaxTouchPoints"in navigator,$r=["webkitAnimation","animation"].some(i=>i in xe.style),Hr=["webkitTransition","transition"].some(i=>i in xe.style),Bo=(i,l)=>i.getAttribute(l),Lr=(i,l,u)=>l.getAttributeNS(i,u),kr=(i,l)=>i.hasAttribute(l),Ir=(i,l,u)=>l.hasAttributeNS(i,u),Nr=(i,l,u)=>i.setAttribute(l,u),Pr=(i,l,u,g)=>l.setAttributeNS(i,u,g),Mr=(i,l)=>i.removeAttribute(l),Or=(i,l,u)=>l.removeAttributeNS(i,u),Br=(i,...l)=>{i.classList.add(...l)},Rr=(i,...l)=>{i.classList.remove(...l)},zr=(i,l)=>i.classList.contains(l),{body:Wr}=document,{documentElement:qr}=document,Fr=i=>Array.from(i),ue=i=>i!=null&&typeof i=="object"||!1,k=i=>ue(i)&&typeof i.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(l=>i.nodeType===l)||!1,W=i=>k(i)&&i.nodeType===1||!1,et=new Map,yt={set:(i,l,u)=>{W(i)&&(et.has(l)||et.set(l,new Map),et.get(l).set(i,u))},getAllFor:i=>et.get(i)||null,get:(i,l)=>{if(!W(i)||!l)return null;const u=yt.getAllFor(l);return i&&u&&u.get(i)||null},remove:(i,l)=>{const u=yt.getAllFor(l);!u||!W(i)||(u.delete(i),u.size===0&&et.delete(l))}},jr=(i,l)=>yt.get(i,l),tt=i=>typeof i=="string"||!1,cn=i=>ue(i)&&i.constructor.name==="Window"||!1,dn=i=>k(i)&&i.nodeType===9||!1,se=i=>cn(i)?i.document:dn(i)?i:k(i)?i.ownerDocument:window.document,nt=(i,...l)=>Object.assign(i,...l),Ro=i=>{if(!i)return;if(tt(i))return se().createElement(i);const{tagName:l}=i,u=Ro(l);if(!u)return;const g={...i};return delete g.tagName,nt(u,g)},zo=(i,l)=>{if(!i||!l)return;if(tt(l))return se().createElementNS(i,l);const{tagName:u}=l,g=zo(i,u);if(!g)return;const f={...l};return delete f.tagName,nt(g,f)},un=(i,l)=>i.dispatchEvent(l),Vr=(i,l,u)=>u.indexOf(i)===l,me=(i,l)=>{const u=getComputedStyle(i),g=l.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return u.getPropertyValue(g)},Wo=i=>{const l=me(i,an),u=me(i,$o),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},qo=i=>{const l=me(i,an),u=me(i,Do),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},Ur=(i,l)=>{let u=0;const g=new Event(bt),f=qo(i),I=Wo(i);if(f){const B=G=>{G.target===i&&(l.apply(i,[G]),i.removeEventListener(bt,B),u=1)};i.addEventListener(bt,B),setTimeout(()=>{u||un(i,g)},f+I+17)}else l.apply(i,[g])},Fo=i=>{const l=me(i,rn),u=me(i,Lo),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},jo=i=>{const l=me(i,rn),u=me(i,Ho),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},Kr=(i,l)=>{let u=0;const g=new Event(Ct),f=jo(i),I=Fo(i);if(f){const B=G=>{G.target===i&&(l.apply(i,[G]),i.removeEventListener(Ct,B),u=1)};i.addEventListener(Ct,B),setTimeout(()=>{u||un(i,g)},f+I+17)}else l.apply(i,[g])},Qr=i=>Float32Array.from(Array.from(i)),Xr=i=>Float64Array.from(Array.from(i)),Yr=(i,l)=>i.focus(l),mn=i=>["true",!0].includes(i)?!0:["false",!1].includes(i)?!1:["null","",null,void 0].includes(i)?null:i!==""&&!Number.isNaN(+i)?+i:i,st=i=>Object.entries(i),Vo=i=>i.toLowerCase(),Gr=(i,l,u,g)=>{const f={...u},I={...i.dataset},B={...l},G={},we="title";return st(I).forEach(([H,Se])=>{const wt=g&&typeof H=="string"&&H.includes(g)?H.replace(g,"").replace(/[A-Z]/g,Pl=>Vo(Pl)):H;G[wt]=mn(Se)}),st(f).forEach(([H,Se])=>{f[H]=mn(Se)}),st(l).forEach(([H,Se])=>{H in f?B[H]=f[H]:H in G?B[H]=G[H]:B[H]=H===we?Bo(i,we):Se}),B},Jr=(i,l)=>ue(i)&&(Object.hasOwn(i,l)||l in i),Zr=i=>Object.keys(i),_r=i=>Object.values(i),xr=(i,l)=>{const u=new CustomEvent(i,{cancelable:!0,bubbles:!0});return ue(l)&&nt(u,l),u},el={passive:!0},tl=i=>i.offsetHeight,nl=(i,l)=>{st(l).forEach(([u,g])=>{if(g&&tt(u)&&u.includes("--"))i.style.setProperty(u,g);else{const f={};f[u]=g,nt(i.style,f)}})},Tt=i=>ue(i)&&i.constructor.name==="Map"||!1,Uo=i=>typeof i=="number"||!1,Te=new Map,sl={set:(i,l,u,g)=>{W(i)&&(g&&g.length?(Te.has(i)||Te.set(i,new Map),Te.get(i).set(g,setTimeout(l,u))):Te.set(i,setTimeout(l,u)))},get:(i,l)=>{if(!W(i))return null;const u=Te.get(i);return l&&u&&Tt(u)?u.get(l)||null:Uo(u)?u:null},clear:(i,l)=>{if(!W(i))return;const u=Te.get(i);l&&l.length&&Tt(u)?(clearTimeout(u.get(l)),u.delete(l),u.size===0&&Te.delete(i)):(clearTimeout(u),Te.delete(i))}},ol=i=>i.toUpperCase(),je=(i,l)=>{const{width:u,height:g,top:f,right:I,bottom:B,left:G}=i.getBoundingClientRect();let we=1,H=1;if(l&&W(i)){const{offsetWidth:Se,offsetHeight:wt}=i;we=Se>0?Math.round(u)/Se:1,H=wt>0?Math.round(g)/wt:1}return{width:u/we,height:g/H,top:f/H,right:I/we,bottom:B/H,left:G/we,x:G/we,y:f/H}},il=i=>se(i).body,ot=i=>se(i).documentElement,al=i=>se(i).head,rl=i=>{const l=cn(i),u=l?i.scrollX:i.scrollLeft,g=l?i.scrollY:i.scrollTop;return{x:u,y:g}},Ko=i=>k(i)&&i.constructor.name==="ShadowRoot"||!1,ll=i=>i.nodeName==="HTML"?i:W(i)&&i.assignedSlot||k(i)&&i.parentNode||Ko(i)&&i.host||ot(i),Qo=i=>{if(!W(i))return!1;const{width:l,height:u}=je(i),{offsetWidth:g,offsetHeight:f}=i;return Math.round(l)!==g||Math.round(u)!==f},cl=(i,l,u)=>{const g=W(l),f=je(i,g&&Qo(l)),I={x:0,y:0};if(g){const B=je(l,!0);I.x=B.x+l.clientLeft,I.y=B.y+l.clientTop}return{x:f.left+u.x-I.x,y:f.top+u.y-I.y,width:f.width,height:f.height}};let Xo=0,Yo=0;const Ve=new Map,Go=(i,l)=>{let u=l?Xo:Yo;if(l){const g=Go(i),f=Ve.get(g)||new Map;Ve.has(g)||Ve.set(g,f),Tt(f)&&!f.has(l)?(f.set(l,u),Xo+=1):u=f.get(l)}else{const g=i.id||i;Ve.has(g)?u=Ve.get(g):(Ve.set(g,u),Yo+=1)}return u},dl=i=>i?dn(i)?i.defaultView:k(i)?i?.ownerDocument?.defaultView:i:window,Jo=i=>Array.isArray(i)||!1,ul=i=>k(i)&&i.nodeName==="CANVAS"||!1,Zo=i=>W(i)&&!!i.shadowRoot||!1,ml=i=>k(i)&&[1,2,3,4,5,6,7,8].some(l=>i.nodeType===l)||!1,hl=i=>{if(!k(i))return!1;const{top:l,bottom:u}=je(i),{clientHeight:g}=ot(i);return l<=g&&u>=0},gl=i=>{if(!k(i))return!1;const{clientWidth:l,clientHeight:u}=ot(i),{top:g,left:f,bottom:I,right:B}=je(i,!0);return g>=0&&f>=0&&I<=u&&B<=l},fl=i=>Jo(i)&&i.every(W)||!1,vl=i=>typeof i=="function"||!1,pl=i=>ue(i)&&i.constructor.name==="HTMLCollection"||!1,El=i=>W(i)&&i.tagName==="IMG"||!1,bl=i=>{if(!tt(i))return!1;try{JSON.parse(i)}catch{return!1}return!0},Cl=i=>ue(i)&&i.constructor.name==="WeakMap"||!1,yl=i=>k(i)&&["SVG","Image","Video","Canvas"].some(l=>i.constructor.name.includes(l))||!1,Tl=i=>ue(i)&&i.constructor.name==="NodeList"||!1,wl=i=>ot(i).dir==="rtl",Sl=i=>k(i)&&i.constructor.name.includes("SVG")||!1,Al=i=>k(i)&&["TABLE","TD","TH"].includes(i.nodeName)||!1,_o=(i,l)=>i?i.closest(l)||_o(i.getRootNode().host,l):null,Dl=(i,l)=>W(i)?i:(k(l)?l:se()).querySelector(i),xo=(i,l)=>(k(l)?l:se()).getElementsByTagName(i),$l=i=>[...xo("*",i)].filter(Zo),Hl=(i,l)=>se(l).getElementById(i)||null,Ll=(i,l)=>(k(l)?l:se()).querySelectorAll(i),kl=(i,l)=>(l&&k(l)?l:se()).getElementsByClassName(i),Il=(i,l)=>i.matches(l),Nl="2.0.0alpha12";t.ArrayFrom=Fr,t.DOMContentLoadedEvent=Y,t.DOMMouseScrollEvent=U,t.Data=yt,t.Float32ArrayFrom=Qr,t.Float64ArrayFrom=Xr,t.ObjectAssign=nt,t.ObjectEntries=st,t.ObjectHasOwn=Jr,t.ObjectKeys=Zr,t.ObjectValues=_r,t.Timer=sl,t.abortEvent=M,t.addClass=Br,t.addEventListener=dr,t.animationDelay=$o,t.animationDuration=Do,t.animationEndEvent=bt,t.animationName=an,t.ariaChecked=n,t.ariaDescribedBy=o,t.ariaDescription=s,t.ariaExpanded=a,t.ariaHasPopup=r,t.ariaHidden=d,t.ariaLabel=c,t.ariaLabelledBy=m,t.ariaModal=h,t.ariaPressed=p,t.ariaSelected=v,t.ariaValueMax=S,t.ariaValueMin=b,t.ariaValueNow=R,t.ariaValueText=y,t.beforeunloadEvent=z,t.bezierEasings=mr,t.blurEvent=le,t.changeEvent=X,t.closest=_o,t.contextmenuEvent=A,t.createCustomEvent=xr,t.createElement=Ro,t.createElementNS=zo,t.dispatchEvent=un,t.distinct=Vr,t.documentBody=Wr,t.documentElement=qr,t.documentHead=xe,t.dragEvent=Pa,t.dragendEvent=za,t.dragenterEvent=Oa,t.dragleaveEvent=Ba,t.dragoverEvent=Ra,t.dragstartEvent=Ma,t.emulateAnimationEnd=Ur,t.emulateTransitionEnd=Kr,t.errorEvent=L,t.focus=Yr,t.focusEvent=O,t.focusEvents=Ua,t.focusinEvent=w,t.focusoutEvent=ce,t.gesturechangeEvent=x,t.gestureendEvent=D,t.gesturestartEvent=ee,t.getAttribute=Bo,t.getAttributeNS=Lr,t.getBoundingClientRect=je,t.getCustomElements=$l,t.getDocument=se,t.getDocumentBody=il,t.getDocumentElement=ot,t.getDocumentHead=al,t.getElementAnimationDelay=Wo,t.getElementAnimationDuration=qo,t.getElementById=Hl,t.getElementStyle=me,t.getElementTransitionDelay=Fo,t.getElementTransitionDuration=jo,t.getElementsByClassName=kl,t.getElementsByTagName=xo,t.getInstance=jr,t.getNodeScroll=rl,t.getParentNode=ll,t.getRectRelativeToOffsetParent=cl,t.getUID=Go,t.getWindow=dl,t.hasAttribute=kr,t.hasAttributeNS=Ir,t.hasClass=zr,t.isApple=yr,t.isArray=Jo,t.isCanvas=ul,t.isCustomElement=Zo,t.isDocument=dn,t.isElement=ml,t.isElementInScrollRange=hl,t.isElementInViewport=gl,t.isElementsArray=fl,t.isFirefox=Tr,t.isFunction=vl,t.isHTMLCollection=pl,t.isHTMLElement=W,t.isHTMLImageElement=El,t.isJSON=bl,t.isMap=Tt,t.isMedia=yl,t.isMobile=Cr,t.isNode=k,t.isNodeList=Tl,t.isNumber=Uo,t.isObject=ue,t.isRTL=wl,t.isSVGElement=Sl,t.isScaledElement=Qo,t.isShadowRoot=Ko,t.isString=tt,t.isTableElement=Al,t.isWeakMap=Cl,t.isWindow=cn,t.keyAlt=Qa,t.keyArrowDown=Xa,t.keyArrowLeft=Ga,t.keyArrowRight=Ja,t.keyArrowUp=Ya,t.keyBackspace=Za,t.keyCapsLock=_a,t.keyControl=xa,t.keyDelete=er,t.keyEnter=tr,t.keyEscape=nr,t.keyInsert=sr,t.keyMeta=or,t.keyPause=ir,t.keyScrollLock=ar,t.keyShift=rr,t.keySpace=lr,t.keyTab=cr,t.keyboardEventKeys=Ka,t.keydownEvent=ie,t.keypressEvent=pe,t.keyupEvent=te,t.loadEvent=ze,t.loadstartEvent=Wa,t.matches=Il,t.mouseClickEvents=Fa,t.mouseHoverEvents=ja,t.mouseSwipeEvents=qa,t.mouseclickEvent=de,t.mousedblclickEvent=Pe,t.mousedownEvent=We,t.mouseenterEvent=qe,t.mousehoverEvent=ne,t.mouseinEvent=be,t.mouseleaveEvent=Ee,t.mousemoveEvent=Me,t.mouseoutEvent=Ce,t.mouseoverEvent=ye,t.mouseupEvent=ae,t.mousewheelEvent=Fe,t.moveEvent=Et,t.nativeEvents=Na,t.noop=Oo,t.normalizeOptions=Gr,t.normalizeValue=mn,t.off=Po,t.offsetHeight=hr,t.offsetWidth=gr,t.on=No,t.one=Mo,t.orientationchangeEvent=ao,t.passiveHandler=el,t.pointercancelEvent=ro,t.pointerdownEvent=lo,t.pointerleaveEvent=co,t.pointermoveEvent=uo,t.pointerupEvent=mo,t.querySelector=Dl,t.querySelectorAll=Ll,t.readystatechangeEvent=ho,t.reflow=tl,t.removeAttribute=Mr,t.removeAttributeNS=Or,t.removeClass=Rr,t.removeEventListener=ur,t.resetEvent=go,t.resizeEvent=fo,t.scrollEvent=bo,t.scrollHeight=fr,t.scrollWidth=vr,t.selectEvent=vo,t.selectendEvent=po,t.selectstartEvent=Eo,t.setAttribute=Nr,t.setAttributeNS=Pr,t.setElementStyle=nl,t.submitEvent=Co,t.support3DTransform=wr,t.supportAnimation=$r,t.supportPassive=Sr,t.supportTouch=Dr,t.supportTransform=Ar,t.supportTransition=Hr,t.tabindex=pr,t.toLowerCase=Vo,t.toUpperCase=ol,t.touchEvents=Va,t.touchcancelEvent=wo,t.touchendEvent=So,t.touchmoveEvent=To,t.touchstartEvent=yo,t.transitionDelay=Lo,t.transitionDuration=Ho,t.transitionEndEvent=Ct,t.transitionProperty=rn,t.unloadEvent=Ao,t.userAgent=_e,t.userAgentData=Ze,t.version=Nl})(e);const P="fade",E="show",it="data-bs-dismiss",at="alert",hn="Alert",ei="5.0.2";class J{element;options;constructor(n,s){const o=e.querySelector(n);if(!o)throw e.isString(n)?Error(`${this.name} Error: "${n}" is not a valid selector.`):Error(`${this.name} Error: your target is not an instance of HTMLElement.`);const a=e.Data.get(o,this.name);a&&a.dispose(),this.element=o,this.defaults&&e.ObjectKeys(this.defaults).length&&(this.options=e.normalizeOptions(o,this.defaults,s||{},"bs")),e.Data.set(o,this.name,this)}get version(){return ei}get name(){return"BaseComponent"}get defaults(){return{}}dispose(){e.Data.remove(this.element,this.name),e.ObjectKeys(this).forEach(n=>{delete this[n]})}}const gn=`.${at}`,ti=`[${it}="${at}"]`,fn=t=>e.getInstance(t,hn),ni=t=>new At(t),vn=e.createCustomEvent(`close.bs.${at}`),si=e.createCustomEvent(`closed.bs.${at}`),pn=t=>{const{element:n}=t;St(t),e.dispatchEvent(n,si),t.dispose(),n.remove()},St=(t,n)=>{const s=n?C.addListener:C.removeListener,{dismiss:o}=t;o&&s(o,e.mouseclickEvent,t.close)};class At extends J{static selector=gn;static init=ni;static getInstance=fn;dismiss;constructor(n){super(n),this.dismiss=e.querySelector(ti,this.element),St(this,!0)}get name(){return hn}close(n){const s=n?fn(e.closest(n.target,gn)):this,{element:o}=s;if(o&&e.hasClass(o,E)){if(e.dispatchEvent(o,vn),vn.defaultPrevented)return;e.removeClass(o,E),e.hasClass(o,P)?e.emulateTransitionEnd(o,()=>pn(s)):pn(s)}}dispose(){St(this),super.dispose()}}const T="active",j="data-bs-toggle",oi="button",En="Button",ii=`[${j}="${oi}"]`,bn=t=>e.getInstance(t,En),ai=t=>new Dt(t),Cn=(t,n)=>{(n?C.addListener:C.removeListener)(t.element,e.mouseclickEvent,t.toggle)};class Dt extends J{static selector=ii;static init=ai;static getInstance=bn;isActive=!1;constructor(n){super(n);const{element:s}=this;this.isActive=e.hasClass(s,T),e.setAttribute(s,e.ariaPressed,String(!!this.isActive)),Cn(this,!0)}get name(){return En}toggle(n){n&&n.preventDefault();const s=n?bn(n.target):this;if(!s.element)return;const{element:o,isActive:a}=s;if(e.hasClass(o,"disabled"))return;(a?e.removeClass:e.addClass)(o,T),e.setAttribute(o,e.ariaPressed,a?"false":"true"),s.isActive=e.hasClass(o,T)}dispose(){Cn(this),super.dispose()}}const $t="data-bs-target",Ae="carousel",yn="Carousel",Tn="data-bs-parent",ri="data-bs-container",q=t=>{const n=[$t,Tn,ri,"href"],s=e.getDocument(t);return n.map(o=>{const a=e.getAttribute(t,o);return a?o===Tn?e.closest(t,a):e.querySelector(a,s):null}).filter(o=>o)[0]},Ue=`[data-bs-ride="${Ae}"]`,Z=`${Ae}-item`,Ht="data-bs-slide-to",he="data-bs-slide",ge="paused",wn={pause:"hover",keyboard:!1,touch:!0,interval:5e3},oe=t=>e.getInstance(t,yn),li=t=>new Pt(t);let De=0,Oe=0,Ke=0;const Lt=e.createCustomEvent(`slide.bs.${Ae}`),kt=e.createCustomEvent(`slid.bs.${Ae}`),ci=t=>{const{index:n,direction:s,element:o,slides:a,options:r}=t;if(t.isAnimating&&oe(o)){const d=Nt(t),c=s==="left"?"next":"prev",m=s==="left"?"start":"end";e.addClass(a[n],T),e.removeClass(a[n],`${Z}-${c}`),e.removeClass(a[n],`${Z}-${m}`),e.removeClass(a[d],T),e.removeClass(a[d],`${Z}-${m}`),e.dispatchEvent(o,kt),e.Timer.clear(o,he),!e.getDocument(o).hidden&&r.interval&&!t.isPaused&&t.cycle()}};function di(){const t=oe(this);t&&!t.isPaused&&!e.Timer.get(this,ge)&&e.addClass(this,ge)}function ui(){const t=oe(this);t&&t.isPaused&&!e.Timer.get(this,ge)&&t.cycle()}function mi(t){t.preventDefault();const n=e.closest(this,Ue)||q(this),s=oe(n);if(!s||s.isAnimating)return;const o=+(e.getAttribute(this,Ht)||0);this&&!e.hasClass(this,T)&&!Number.isNaN(o)&&s.to(o)}function hi(t){t.preventDefault();const n=e.closest(this,Ue)||q(this),s=oe(n);if(!s||s.isAnimating)return;const o=e.getAttribute(this,he);o==="next"?s.next():o==="prev"&&s.prev()}const gi=({code:t,target:n})=>{const s=e.getDocument(n),[o]=[...e.querySelectorAll(Ue,s)].filter(m=>e.isElementInScrollRange(m)),a=oe(o);if(!a||a.isAnimating||/textarea|input/i.test(n.nodeName))return;const r=e.isRTL(o),d=r?e.keyArrowLeft:e.keyArrowRight,c=r?e.keyArrowRight:e.keyArrowLeft;t===c?a.prev():t===d&&a.next()};function Sn(t){const{target:n}=t,s=oe(this);s&&s.isTouch&&(s.indicator&&!s.indicator.contains(n)||!s.controls.includes(n))&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())}function fi(t){const{target:n}=t,s=oe(this);if(!s||s.isAnimating||s.isTouch)return;const{controls:o,indicators:a}=s;[...o,...a].some(r=>r===n||r.contains(n))||(De=t.pageX,this.contains(n)&&(s.isTouch=!0,An(s,!0)))}const vi=t=>{Oe=t.pageX},pi=t=>{const{target:n}=t,s=e.getDocument(n),o=[...e.querySelectorAll(Ue,s)].map(c=>oe(c)).find(c=>c.isTouch);if(!o)return;const{element:a,index:r}=o,d=e.isRTL(a);if(o.isTouch=!1,An(o),s.getSelection()?.toString().length){De=0,Oe=0,Ke=0;return}if(Ke=t.pageX,!a.contains(n)||Math.abs(De-Ke)<120){De=0,Oe=0,Ke=0;return}Oe<De?o.to(r+(d?-1:1)):Oe>De&&o.to(r+(d?1:-1)),De=0,Oe=0,Ke=0},It=(t,n)=>{const{indicators:s}=t;[...s].forEach(o=>e.removeClass(o,T)),t.indicators[n]&&e.addClass(s[n],T)},An=(t,n)=>{const{element:s}=t,o=n?C.addListener:C.removeListener;o(e.getDocument(s),e.pointermoveEvent,vi,e.passiveHandler),o(e.getDocument(s),e.pointerupEvent,pi,e.passiveHandler)},Dn=(t,n)=>{const{element:s,options:o,slides:a,controls:r,indicators:d}=t,{touch:c,pause:m,interval:h,keyboard:p}=o,v=n?C.addListener:C.removeListener;m&&h&&(v(s,e.mouseenterEvent,di),v(s,e.mouseleaveEvent,ui)),c&&a.length>2&&(v(s,e.pointerdownEvent,fi,e.passiveHandler),v(s,e.touchstartEvent,Sn,{passive:!1}),v(s,e.dragstartEvent,Sn,{passive:!1})),r.length&&r.forEach(b=>{b&&v(b,e.mouseclickEvent,hi)}),d.length&&d.forEach(b=>{v(b,e.mouseclickEvent,mi)}),p&&v(e.getDocument(s),e.keydownEvent,gi)},Nt=t=>{const{slides:n,element:s}=t,o=e.querySelector(`.${Z}.${T}`,s);return e.isHTMLElement(o)?[...n].indexOf(o):-1};class Pt extends J{static selector=Ue;static init=li;static getInstance=oe;constructor(n,s){super(n,s);const{element:o}=this;this.direction=e.isRTL(o)?"right":"left",this.index=0,this.isTouch=!1,this.slides=e.getElementsByClassName(Z,o);const{slides:a}=this;if(a.length<2)return;const r=e.getDocument(o);this.controls=[...e.querySelectorAll(`[${he}]`,o),...e.querySelectorAll(`[${he}][${$t}="#${o.id}"]`,r)],this.indicator=e.querySelector(`.${Ae}-indicators`,o),this.indicators=[...this.indicator?e.querySelectorAll(`[${Ht}]`,this.indicator):[],...e.querySelectorAll(`[${Ht}][${$t}="#${o.id}"]`,r)];const{options:d}=this;this.options.interval=d.interval===!0?wn.interval:d.interval,Nt(this)<0&&(e.addClass(a[0],T),this.indicators.length&&It(this,0)),Dn(this,!0),d.interval&&this.cycle()}get name(){return yn}get defaults(){return wn}get isPaused(){return e.hasClass(this.element,ge)}get isAnimating(){return e.querySelector(`.${Z}-next,.${Z}-prev`,this.element)!==null}cycle(){const{element:n,options:s,isPaused:o,index:a}=this;e.Timer.clear(n,Ae),o&&(e.Timer.clear(n,ge),e.removeClass(n,ge)),e.Timer.set(n,()=>{this.element&&!this.isPaused&&!this.isTouch&&e.isElementInScrollRange(n)&&this.to(a+1)},s.interval,Ae)}pause(){const{element:n,options:s}=this;!this.isPaused&&s.interval&&(e.addClass(n,ge),e.Timer.set(n,()=>{},1,ge))}next(){this.isAnimating||this.to(this.index+1)}prev(){this.isAnimating||this.to(this.index-1)}to(n){const{element:s,slides:o,options:a}=this,r=Nt(this),d=e.isRTL(s);let c=n;if(this.isAnimating||r===c||e.Timer.get(s,he))return;r<c||r===0&&c===o.length-1?this.direction=d?"right":"left":(r>c||r===o.length-1&&c===0)&&(this.direction=d?"left":"right");const{direction:m}=this;c<0?c=o.length-1:c>=o.length&&(c=0);const h=m==="left"?"next":"prev",p=m==="left"?"start":"end",v={relatedTarget:o[c],from:r,to:c,direction:m};e.ObjectAssign(Lt,v),e.ObjectAssign(kt,v),e.dispatchEvent(s,Lt),!Lt.defaultPrevented&&(this.index=c,It(this,c),e.getElementTransitionDuration(o[c])&&e.hasClass(s,"slide")?e.Timer.set(s,()=>{e.addClass(o[c],`${Z}-${h}`),e.reflow(o[c]),e.addClass(o[c],`${Z}-${p}`),e.addClass(o[r],`${Z}-${p}`),e.emulateTransitionEnd(o[c],()=>ci(this))},0,he):(e.addClass(o[c],T),e.removeClass(o[r],T),e.Timer.set(s,()=>{e.Timer.clear(s,he),s&&a.interval&&!this.isPaused&&this.cycle(),e.dispatchEvent(s,kt)},0,he)))}dispose(){const{slides:n}=this,s=["start","end","prev","next"];[...n].forEach((o,a)=>{e.hasClass(o,T)&&It(this,a),s.forEach(r=>e.removeClass(o,`${Z}-${r}`))}),Dn(this),super.dispose()}}const $e="collapsing",F="collapse",$n="Collapse",Ei=`.${F}`,Hn=`[${j}="${F}"]`,bi={parent:null},rt=t=>e.getInstance(t,$n),Ci=t=>new Mt(t),Ln=e.createCustomEvent(`show.bs.${F}`),yi=e.createCustomEvent(`shown.bs.${F}`),kn=e.createCustomEvent(`hide.bs.${F}`),Ti=e.createCustomEvent(`hidden.bs.${F}`),wi=t=>{const{element:n,parent:s,triggers:o}=t;e.dispatchEvent(n,Ln),!Ln.defaultPrevented&&(e.Timer.set(n,e.noop,17),s&&e.Timer.set(s,e.noop,17),e.addClass(n,$e),e.removeClass(n,F),e.setElementStyle(n,{height:`${n.scrollHeight}px`}),e.emulateTransitionEnd(n,()=>{e.Timer.clear(n),s&&e.Timer.clear(s),o.forEach(a=>e.setAttribute(a,e.ariaExpanded,"true")),e.removeClass(n,$e),e.addClass(n,F),e.addClass(n,E),e.setElementStyle(n,{height:""}),e.dispatchEvent(n,yi)}))},In=t=>{const{element:n,parent:s,triggers:o}=t;e.dispatchEvent(n,kn),!kn.defaultPrevented&&(e.Timer.set(n,e.noop,17),s&&e.Timer.set(s,e.noop,17),e.setElementStyle(n,{height:`${n.scrollHeight}px`}),e.removeClass(n,F),e.removeClass(n,E),e.addClass(n,$e),e.reflow(n),e.setElementStyle(n,{height:"0px"}),e.emulateTransitionEnd(n,()=>{e.Timer.clear(n),s&&e.Timer.clear(s),o.forEach(a=>e.setAttribute(a,e.ariaExpanded,"false")),e.removeClass(n,$e),e.addClass(n,F),e.setElementStyle(n,{height:""}),e.dispatchEvent(n,Ti)}))},Nn=(t,n)=>{const s=n?C.addListener:C.removeListener,{triggers:o}=t;o.length&&o.forEach(a=>s(a,e.mouseclickEvent,Si))},Si=t=>{const{target:n}=t,s=n&&e.closest(n,Hn),o=s&&q(s),a=o&&rt(o);a&&a.toggle(),s&&s.tagName==="A"&&t.preventDefault()};class Mt extends J{static selector=Ei;static init=Ci;static getInstance=rt;constructor(n,s){super(n,s);const{element:o,options:a}=this,r=e.getDocument(o);this.triggers=[...e.querySelectorAll(Hn,r)].filter(d=>q(d)===o),this.parent=e.isHTMLElement(a.parent)?a.parent:e.isString(a.parent)?q(o)||e.querySelector(a.parent,r):null,Nn(this,!0)}get name(){return $n}get defaults(){return bi}toggle(){e.hasClass(this.element,E)?this.hide():this.show()}hide(){const{triggers:n,element:s}=this;e.Timer.get(s)||(In(this),n.length&&n.forEach(o=>e.addClass(o,`${F}d`)))}show(){const{element:n,parent:s,triggers:o}=this;let a,r;s&&(a=[...e.querySelectorAll(`.${F}.${E}`,s)].find(d=>rt(d)),r=a&&rt(a)),(!s||!e.Timer.get(s))&&!e.Timer.get(n)&&(r&&a!==n&&(In(r),r.triggers.forEach(d=>{e.addClass(d,`${F}d`)})),wi(this),o.length&&o.forEach(d=>e.removeClass(d,`${F}d`)))}dispose(){Nn(this),super.dispose()}}const He=["dropdown","dropup","dropstart","dropend"],Pn="Dropdown",Mn="dropdown-menu",On=t=>{const n=e.closest(t,"A");return t.tagName==="A"&&e.hasAttribute(t,"href")&&t.href.slice(-1)==="#"||n&&e.hasAttribute(n,"href")&&n.href.slice(-1)==="#"},[_,lt,ct,dt]=He,Ot=`[${j}="${_}"],[${j}="${lt}"],[${j}="${dt}"],[${j}="${ct}"]`,Be=t=>e.getInstance(t,Pn),Ai=t=>new zt(t),Di=`${Mn}-end`,Bn=[_,lt],Rn=[ct,dt],zn=["A","BUTTON"],$i={offset:5,display:"dynamic"},Bt=e.createCustomEvent(`show.bs.${_}`),Wn=e.createCustomEvent(`shown.bs.${_}`),Rt=e.createCustomEvent(`hide.bs.${_}`),qn=e.createCustomEvent(`hidden.bs.${_}`),Fn=e.createCustomEvent(`updated.bs.${_}`),jn=t=>{const{element:n,menu:s,parentElement:o,options:a}=t,{offset:r}=a;if(e.getElementStyle(s,"position")==="static")return;const d=e.isRTL(n),c=e.hasClass(s,Di);["margin","top","bottom","left","right"].forEach(D=>{const ee={};ee[D]="",e.setElementStyle(s,ee)});let h=He.find(D=>e.hasClass(o,D))||_;const p={dropdown:[r,0,0],dropup:[0,0,r],dropstart:d?[-1,0,0,r]:[-1,r,0],dropend:d?[-1,r,0]:[-1,0,0,r]},v={dropdown:{top:"100%"},dropup:{top:"auto",bottom:"100%"},dropstart:d?{left:"100%",right:"auto"}:{left:"auto",right:"100%"},dropend:d?{left:"auto",right:"100%"}:{left:"100%",right:"auto"},menuStart:d?{right:"0",left:"auto"}:{right:"auto",left:"0"},menuEnd:d?{right:"auto",left:"0"}:{right:"0",left:"auto"}},{offsetWidth:b,offsetHeight:S}=s,{clientWidth:R,clientHeight:y}=e.getDocumentElement(n),{left:M,top:z,width:le,height:X}=e.getBoundingClientRect(n),A=M-b-r<0,Y=M+b+le+r>=R,U=z+S+r>=y,L=z+S+X+r>=y,O=z-S-r<0,w=(!d&&c||d&&!c)&&M+le-b<0,ce=(d&&c||!d&&!c)&&M+b>=R;if(Rn.includes(h)&&A&&Y&&(h=_),h===ct&&(d?Y:A)&&(h=dt),h===dt&&(d?A:Y)&&(h=ct),h===lt&&O&&!L&&(h=_),h===_&&L&&!O&&(h=lt),Rn.includes(h)&&U&&e.ObjectAssign(v[h],{top:"auto",bottom:0}),Bn.includes(h)&&(w||ce)){let D={left:"auto",right:"auto"};!w&&ce&&!d&&(D={left:"auto",right:0}),w&&!ce&&d&&(D={left:0,right:"auto"}),D&&e.ObjectAssign(v[h],D)}const x=p[h];if(e.setElementStyle(s,{...v[h],margin:`${x.map(D=>D&&`${D}px`).join(" ")}`}),Bn.includes(h)&&c&&c){const D=!d&&w||d&&ce?"menuStart":"menuEnd";e.setElementStyle(s,v[D])}e.dispatchEvent(o,Fn)},Hi=t=>[...t.children].map(n=>{if(n&&zn.includes(n.tagName))return n;const{firstElementChild:s}=n;return s&&zn.includes(s.tagName)?s:null}).filter(n=>n),Vn=t=>{const{element:n,options:s}=t,o=t.open?C.addListener:C.removeListener,a=e.getDocument(n);o(a,e.mouseclickEvent,Kn),o(a,e.focusEvent,Kn),o(a,e.keydownEvent,ki),o(a,e.keyupEvent,Ii),s.display==="dynamic"&&[e.scrollEvent,e.resizeEvent].forEach(r=>{o(e.getWindow(n),r,Ni,e.passiveHandler)})},Un=(t,n)=>{(n?C.addListener:C.removeListener)(t.element,e.mouseclickEvent,Li)},ut=t=>{const n=[...He,"btn-group","input-group"].map(s=>e.getElementsByClassName(`${s} ${E}`,e.getDocument(t))).find(s=>s.length);if(n&&n.length)return[...n[0].children].find(s=>He.some(o=>o===e.getAttribute(s,j)))},Kn=t=>{const{target:n,type:s}=t;if(!n||!n.closest)return;const o=ut(n),a=o&&Be(o);if(!a)return;const{parentElement:r,menu:d}=a,c=e.closest(n,Ot)!==null,m=r&&r.contains(n)&&(n.tagName==="form"||e.closest(n,"form")!==null);s===e.mouseclickEvent&&On(n)&&t.preventDefault(),!(s===e.focusEvent&&(n===o||n===d||d.contains(n)))&&(m||c||a&&a.hide())},Li=t=>{const{target:n}=t,s=n&&e.closest(n,Ot),o=s&&Be(s);o&&(t.stopImmediatePropagation(),o.toggle(),s&&On(s)&&t.preventDefault())},ki=t=>{[e.keyArrowDown,e.keyArrowUp].includes(t.code)&&t.preventDefault()};function Ii(t){const{code:n}=t,s=ut(this),o=s&&Be(s),{activeElement:a}=s&&e.getDocument(s);if(!o||!a)return;const{menu:r,open:d}=o,c=Hi(r);if(c&&c.length&&[e.keyArrowDown,e.keyArrowUp].includes(n)){let m=c.indexOf(a);a===s?m=0:n===e.keyArrowUp?m=m>1?m-1:0:n===e.keyArrowDown&&(m=m<c.length-1?m+1:m),c[m]&&e.focus(c[m])}e.keyEscape===n&&d&&(o.toggle(),e.focus(s))}function Ni(){const t=ut(this),n=t&&Be(t);n&&n.open&&jn(n)}class zt extends J{static selector=Ot;static init=Ai;static getInstance=Be;constructor(n,s){super(n,s);const{parentElement:o}=this.element,a=e.querySelector(`.${Mn}`,o);a&&(this.parentElement=o,this.menu=a,Un(this,!0))}get name(){return Pn}get defaults(){return $i}toggle(){this.open?this.hide():this.show()}show(){const{element:n,open:s,menu:o,parentElement:a}=this;if(s)return;const r=ut(n),d=r&&Be(r);d&&d.hide(),[Bt,Wn,Fn].forEach(c=>{c.relatedTarget=n}),e.dispatchEvent(a,Bt),!Bt.defaultPrevented&&(e.addClass(o,E),e.addClass(a,E),e.setAttribute(n,e.ariaExpanded,"true"),jn(this),this.open=!s,e.focus(n),Vn(this),e.dispatchEvent(a,Wn))}hide(){const{element:n,open:s,menu:o,parentElement:a}=this;s&&([Rt,qn].forEach(r=>{r.relatedTarget=n}),e.dispatchEvent(a,Rt),!Rt.defaultPrevented&&(e.removeClass(o,E),e.removeClass(a,E),e.setAttribute(n,e.ariaExpanded,"false"),this.open=!s,Vn(this),e.dispatchEvent(a,qn)))}dispose(){this.open&&this.hide(),Un(this),super.dispose()}}const V="modal",Wt="Modal",qt="Offcanvas",Pi="fixed-top",Mi="fixed-bottom",Qn="sticky-top",Xn="position-sticky",Yn=t=>[...e.getElementsByClassName(Pi,t),...e.getElementsByClassName(Mi,t),...e.getElementsByClassName(Qn,t),...e.getElementsByClassName(Xn,t),...e.getElementsByClassName("is-fixed",t)],Oi=t=>{const n=e.getDocumentBody(t);e.setElementStyle(n,{paddingRight:"",overflow:""});const s=Yn(n);s.length&&s.forEach(o=>{e.setElementStyle(o,{paddingRight:"",marginRight:""})})},Gn=t=>{const{clientWidth:n}=e.getDocumentElement(t),{innerWidth:s}=e.getWindow(t);return Math.abs(s-n)},Jn=(t,n)=>{const s=e.getDocumentBody(t),o=parseInt(e.getElementStyle(s,"paddingRight"),10),r=e.getElementStyle(s,"overflow")==="hidden"&&o?0:Gn(t),d=Yn(s);n&&(e.setElementStyle(s,{overflow:"hidden",paddingRight:`${o+r}px`}),d.length&&d.forEach(c=>{const m=e.getElementStyle(c,"paddingRight");if(c.style.paddingRight=`${parseInt(m,10)+r}px`,[Qn,Xn].some(h=>e.hasClass(c,h))){const h=e.getElementStyle(c,"marginRight");c.style.marginRight=`${parseInt(h,10)-r}px`}}))},K="offcanvas",fe=e.createElement({tagName:"div",className:"popup-container"}),Zn=(t,n)=>{const s=e.isNode(n)&&n.nodeName==="BODY",o=e.isNode(n)&&!s?n:fe,a=s?n:e.getDocumentBody(t);e.isNode(t)&&(o===fe&&a.append(fe),o.append(t))},_n=(t,n)=>{const s=e.isNode(n)&&n.nodeName==="BODY",o=e.isNode(n)&&!s?n:fe;e.isNode(t)&&(t.remove(),o===fe&&!fe.children.length&&fe.remove())},Le=(t,n)=>{const s=e.isNode(n)&&n.nodeName!=="BODY"?n:fe;return e.isNode(t)&&s.contains(t)},xn="backdrop",es=`${V}-${xn}`,ts=`${K}-${xn}`,ns=`.${V}.${E}`,Ft=`.${K}.${E}`,$=e.createElement("div"),ke=t=>e.querySelector(`${ns},${Ft}`,e.getDocument(t)),jt=t=>{const n=t?es:ts;[es,ts].forEach(s=>{e.removeClass($,s)}),e.addClass($,n)},ss=(t,n,s)=>{jt(s),Zn($,e.getDocumentBody(t)),n&&e.addClass($,P)},os=()=>{e.hasClass($,E)||(e.addClass($,E),e.reflow($))},mt=()=>{e.removeClass($,E)},is=t=>{ke(t)||(e.removeClass($,P),_n($,e.getDocumentBody(t)),Oi(t))},as=t=>e.isHTMLElement(t)&&e.getElementStyle(t,"visibility")!=="hidden"&&t.offsetParent!==null,Bi=`.${V}`,rs=`[${j}="${V}"]`,Ri=`[${it}="${V}"]`,ls=`${V}-static`,zi={backdrop:!0,keyboard:!0},Qe=t=>e.getInstance(t,Wt),Wi=t=>new Ut(t),ht=e.createCustomEvent(`show.bs.${V}`),cs=e.createCustomEvent(`shown.bs.${V}`),Vt=e.createCustomEvent(`hide.bs.${V}`),ds=e.createCustomEvent(`hidden.bs.${V}`),us=t=>{const{element:n}=t,s=Gn(n),{clientHeight:o,scrollHeight:a}=e.getDocumentElement(n),{clientHeight:r,scrollHeight:d}=n,c=r!==d;if(!c&&s){const m=e.isRTL(n)?"paddingLeft":"paddingRight",h={};h[m]=`${s}px`,e.setElementStyle(n,h)}Jn(n,c||o!==a)},ms=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o}=t;s(o,e.mouseclickEvent,ji),s(e.getWindow(o),e.resizeEvent,t.update,e.passiveHandler),s(e.getDocument(o),e.keydownEvent,Fi)},hs=(t,n)=>{const s=n?C.addListener:C.removeListener,{triggers:o}=t;o.length&&o.forEach(a=>s(a,e.mouseclickEvent,qi))},gs=(t,n)=>{const{triggers:s,element:o,relatedTarget:a}=t;is(o),e.setElementStyle(o,{paddingRight:"",display:""}),ms(t);const r=ht.relatedTarget||s.find(as);r&&e.focus(r),e.isFunction(n)&&n(),ds.relatedTarget=a,e.dispatchEvent(o,ds)},fs=t=>{const{element:n,relatedTarget:s}=t;e.focus(n),ms(t,!0),cs.relatedTarget=s,e.dispatchEvent(n,cs)},vs=t=>{const{element:n,hasFade:s}=t;e.setElementStyle(n,{display:"block"}),us(t),ke(n)||e.setElementStyle(e.getDocumentBody(n),{overflow:"hidden"}),e.addClass(n,E),e.removeAttribute(n,e.ariaHidden),e.setAttribute(n,e.ariaModal,"true"),s?e.emulateTransitionEnd(n,()=>fs(t)):fs(t)},ps=(t,n)=>{const{element:s,options:o,hasFade:a}=t;o.backdrop&&!n&&a&&e.hasClass($,E)&&!ke(s)?(mt(),e.emulateTransitionEnd($,()=>gs(t))):gs(t,n)},qi=t=>{const{target:n}=t,s=n&&e.closest(n,rs),o=s&&q(s),a=o&&Qe(o);a&&(s&&s.tagName==="A"&&t.preventDefault(),a.relatedTarget=s,a.toggle())},Fi=({code:t,target:n})=>{const s=e.querySelector(ns,e.getDocument(n)),o=s&&Qe(s);if(!o)return;const{options:a}=o;a.keyboard&&t===e.keyEscape&&e.hasClass(s,E)&&(o.relatedTarget=null,o.hide())};function ji(t){const n=Qe(this);if(!n||e.Timer.get(this))return;const{options:s,isStatic:o,modalDialog:a}=n,{backdrop:r}=s,{target:d}=t,c=e.getDocument(this)?.getSelection()?.toString().length,m=a?.contains(d),h=d&&e.closest(d,Ri);o&&!m?e.Timer.set(this,()=>{e.addClass(this,ls),e.emulateTransitionEnd(a,()=>Vi(n))},17):(h||!c&&!o&&!m&&r)&&(n.relatedTarget=h||null,n.hide(),t.preventDefault())}const Vi=t=>{const{element:n,modalDialog:s}=t,o=(e.isHTMLElement(s)?e.getElementTransitionDuration(s):0)+17;e.removeClass(n,ls),e.Timer.set(n,()=>e.Timer.clear(n),o)};class Ut extends J{static selector=Bi;static init=Wi;static getInstance=Qe;constructor(n,s){super(n,s);const{element:o}=this;this.modalDialog=e.querySelector(`.${V}-dialog`,o),this.triggers=[...e.querySelectorAll(rs,e.getDocument(o))].filter(a=>q(a)===o),this.isStatic=this.options.backdrop==="static",this.hasFade=e.hasClass(o,P),this.relatedTarget=null,hs(this,!0),this.update=this.update.bind(this)}get name(){return Wt}get defaults(){return zi}toggle(){e.hasClass(this.element,E)?this.hide():this.show()}show(){const{element:n,options:s,hasFade:o,relatedTarget:a}=this,{backdrop:r}=s;let d=0;if(e.hasClass(n,E)||(ht.relatedTarget=a||void 0,e.dispatchEvent(n,ht),ht.defaultPrevented))return;const c=ke(n);if(c&&c!==n){const m=Qe(c)||e.getInstance(c,qt);m&&m.hide()}r?(Le($)?jt(!0):ss(n,o,!0),d=e.getElementTransitionDuration($),os(),setTimeout(()=>vs(this),d)):(vs(this),c&&e.hasClass($,E)&&mt())}hide(n){const{element:s,hasFade:o,relatedTarget:a}=this;e.hasClass(s,E)&&(Vt.relatedTarget=a||void 0,e.dispatchEvent(s,Vt),!Vt.defaultPrevented&&(e.removeClass(s,E),e.setAttribute(s,e.ariaHidden,"true"),e.removeAttribute(s,e.ariaModal),o?e.emulateTransitionEnd(s,()=>ps(this,n)):ps(this,n)))}update(){e.hasClass(this.element,E)&&us(this)}dispose(){hs(this),this.hide(()=>super.dispose())}}const Ui=`.${K}`,Kt=`[${j}="${K}"]`,Ki=`[${it}="${K}"]`,gt=`${K}-toggling`,Qi={backdrop:!0,keyboard:!0,scroll:!1},Xe=t=>e.getInstance(t,qt),Xi=t=>new Xt(t),ft=e.createCustomEvent(`show.bs.${K}`),Es=e.createCustomEvent(`shown.bs.${K}`),Qt=e.createCustomEvent(`hide.bs.${K}`),bs=e.createCustomEvent(`hidden.bs.${K}`),Yi=t=>{const{element:n}=t,{clientHeight:s,scrollHeight:o}=e.getDocumentElement(n);Jn(n,s!==o)},Cs=(t,n)=>{const s=n?C.addListener:C.removeListener;t.triggers.forEach(o=>s(o,e.mouseclickEvent,Gi))},ys=(t,n)=>{const s=n?C.addListener:C.removeListener,o=e.getDocument(t.element);s(o,e.keydownEvent,Zi),s(o,e.mouseclickEvent,Ji)},Ts=t=>{const{element:n,options:s}=t;s.scroll||(Yi(t),e.setElementStyle(e.getDocumentBody(n),{overflow:"hidden"})),e.addClass(n,gt),e.addClass(n,E),e.setElementStyle(n,{visibility:"visible"}),e.emulateTransitionEnd(n,()=>_i(t))},ws=(t,n)=>{const{element:s,options:o}=t,a=ke(s);s.blur(),!a&&o.backdrop&&e.hasClass($,E)?(mt(),e.emulateTransitionEnd($,()=>Ss(t,n))):Ss(t,n)},Gi=t=>{const n=e.closest(t.target,Kt),s=n&&q(n),o=s&&Xe(s);o&&(o.relatedTarget=n,o.toggle(),n&&n.tagName==="A"&&t.preventDefault())},Ji=t=>{const{target:n}=t,s=e.querySelector(Ft,e.getDocument(n)),o=e.querySelector(Ki,s),a=s&&Xe(s);if(!a)return;const{options:r,triggers:d}=a,{backdrop:c}=r,m=e.closest(n,Kt),h=e.getDocument(s).getSelection();$.contains(n)&&c==="static"||(!(h&&h.toString().length)&&(!s.contains(n)&&c&&(!m||d.includes(n))||o&&o.contains(n))&&(a.relatedTarget=o&&o.contains(n)?o:null,a.hide()),m&&m.tagName==="A"&&t.preventDefault())},Zi=({code:t,target:n})=>{const s=e.querySelector(Ft,e.getDocument(n)),o=s&&Xe(s);o&&o.options.keyboard&&t===e.keyEscape&&(o.relatedTarget=null,o.hide())},_i=t=>{const{element:n}=t;e.removeClass(n,gt),e.removeAttribute(n,e.ariaHidden),e.setAttribute(n,e.ariaModal,"true"),e.setAttribute(n,"role","dialog"),e.dispatchEvent(n,Es),ys(t,!0),e.focus(n)},Ss=(t,n)=>{const{element:s,triggers:o}=t;e.setAttribute(s,e.ariaHidden,"true"),e.removeAttribute(s,e.ariaModal),e.removeAttribute(s,"role"),e.setElementStyle(s,{visibility:""});const a=ft.relatedTarget||o.find(as);a&&e.focus(a),is(s),e.dispatchEvent(s,bs),e.removeClass(s,gt),ke(s)||ys(t),e.isFunction(n)&&n()};class Xt extends J{static selector=Ui;static init=Xi;static getInstance=Xe;constructor(n,s){super(n,s);const{element:o}=this;this.triggers=[...e.querySelectorAll(Kt,e.getDocument(o))].filter(a=>q(a)===o),this.relatedTarget=null,Cs(this,!0)}get name(){return qt}get defaults(){return Qi}toggle(){e.hasClass(this.element,E)?this.hide():this.show()}show(){const{element:n,options:s,relatedTarget:o}=this;let a=0;if(e.hasClass(n,E)||(ft.relatedTarget=o||void 0,Es.relatedTarget=o||void 0,e.dispatchEvent(n,ft),ft.defaultPrevented))return;const r=ke(n);if(r&&r!==n){const d=Xe(r)||e.getInstance(r,Wt);d&&d.hide()}s.backdrop?(Le($)?jt():ss(n,!0),a=e.getElementTransitionDuration($),os(),setTimeout(()=>Ts(this),a)):(Ts(this),r&&e.hasClass($,E)&&mt())}hide(n){const{element:s,relatedTarget:o}=this;e.hasClass(s,E)&&(Qt.relatedTarget=o||void 0,bs.relatedTarget=o||void 0,e.dispatchEvent(s,Qt),!Qt.defaultPrevented&&(e.addClass(s,gt),e.removeClass(s,E),n?ws(this,n):e.emulateTransitionEnd(s,()=>ws(this,n))))}dispose(){Cs(this),this.hide(()=>super.dispose())}}const Ie="popover",vt="Popover",re="tooltip",As=t=>{const n=t===re,s=n?`${t}-inner`:`${t}-body`,o=n?"":`<h3 class="${t}-header"></h3>`,a=`<div class="${t}-arrow"></div>`,r=`<div class="${s}"></div>`;return`<div class="${t}" role="${re}">${o+a+r}</div>`},Ds={top:"top",bottom:"bottom",left:"start",right:"end"},Yt=t=>{const n=/\b(top|bottom|start|end)+/,{element:s,tooltip:o,container:a,options:r,arrow:d}=t;if(!o)return;const c={...Ds},m=e.isRTL(s);e.setElementStyle(o,{top:"",left:"",right:"",bottom:""});const h=t.name===vt,{offsetWidth:p,offsetHeight:v}=o,{clientWidth:b,clientHeight:S,offsetWidth:R}=e.getDocumentElement(s);let{placement:y}=r;const{clientWidth:M,offsetWidth:z}=a,X=e.getElementStyle(a,"position")==="fixed",A=Math.abs(X?M-z:b-R),Y=m&&X?A:0,U=b-(m?0:A)-1,{width:L,height:O,left:w,right:ce,top:x}=e.getBoundingClientRect(s,!0),{x:D,y:ee}={x:w,y:x};e.setElementStyle(d,{top:"",left:"",right:"",bottom:""});let ie=0,pe="",te=0,ze="",de="",Pe="",We="";const ae=d.offsetWidth||0,ne=d.offsetHeight||0,qe=ae/2;let Ee=x-v-ne<0,be=x+v+O+ne>=S,Ce=w-p-ae<Y,ye=w+p+L+ae>=U;const Me=["left","right"],Fe=["top","bottom"];Ee=Me.includes(y)?x+O/2-v/2-ne<0:Ee,be=Me.includes(y)?x+v/2+O/2+ne>=S:be,Ce=Fe.includes(y)?w+L/2-p/2<Y:Ce,ye=Fe.includes(y)?w+p/2+L/2>=U:ye,y=Me.includes(y)&&Ce&&ye?"top":y,y=y==="top"&&Ee?"bottom":y,y=y==="bottom"&&be?"top":y,y=y==="left"&&Ce?"right":y,y=y==="right"&&ye?"left":y,o.className.includes(y)||(o.className=o.className.replace(n,c[y])),Me.includes(y)?(y==="left"?te=D-p-(h?ae:0):te=D+L+(h?ae:0),Ee&&be?(ie=0,pe=0,de=x+O/2-ne/2):Ee?(ie=ee,pe="",de=O/2-ae):be?(ie=ee-v+O,pe="",de=v-O/2-ae):(ie=ee-v/2+O/2,de=v/2-ne/2)):Fe.includes(y)&&(y==="top"?ie=ee-v-(h?ne:0):ie=ee+O+(h?ne:0),Ce?(te=0,Pe=D+L/2-qe):ye?(te="auto",ze=0,We=L/2+U-ce-qe):(te=D-p/2+L/2,Pe=p/2-qe)),e.setElementStyle(o,{top:`${ie}px`,bottom:pe===""?"":`${pe}px`,left:te==="auto"?te:`${te}px`,right:ze!==""?`${ze}px`:""}),e.isHTMLElement(d)&&(de!==""&&(d.style.top=`${de}px`),Pe!==""?d.style.left=`${Pe}px`:We!==""&&(d.style.right=`${We}px`));const Et=e.createCustomEvent(`updated.bs.${e.toLowerCase(t.name)}`);e.dispatchEvent(s,Et)},Gt={template:As(re),title:"",customClass:"",trigger:"hover focus",placement:"top",sanitizeFn:void 0,animation:!0,delay:200,container:document.body,content:"",dismissible:!1,btnClose:""},$s="data-original-title",Ne="Tooltip",ve=(t,n,s)=>{if(!(!e.isHTMLElement(t)||e.isString(n)&&!n.length))if(e.isString(n)){let o=n.trim();e.isFunction(s)&&(o=s(o));const r=new DOMParser().parseFromString(o,"text/html");t.append(...r.body.childNodes)}else e.isHTMLElement(n)?t.append(n):(e.isNodeList(n)||e.isArray(n)&&n.every(e.isNode))&&t.append(...n)},xi=t=>{const n=t.name===Ne,{id:s,element:o,options:a}=t,{title:r,placement:d,template:c,animation:m,customClass:h,sanitizeFn:p,dismissible:v,content:b,btnClose:S}=a,R=n?re:Ie,y={...Ds};let M=[],z=[];e.isRTL(o)&&(y.left="end",y.right="start");const le=`bs-${R}-${y[d]}`;let X;if(e.isHTMLElement(c))X=c;else{const w=e.createElement("div");ve(w,c,p),X=w.firstChild}t.tooltip=e.isHTMLElement(X)?X.cloneNode(!0):void 0;const{tooltip:A}=t;if(!A)return;e.setAttribute(A,"id",s),e.setAttribute(A,"role",re);const Y=n?`${re}-inner`:`${Ie}-body`,U=n?null:e.querySelector(`.${Ie}-header`,A),L=e.querySelector(`.${Y}`,A);t.arrow=e.querySelector(`.${R}-arrow`,A);const{arrow:O}=t;if(e.isHTMLElement(r))M=[r.cloneNode(!0)];else{const w=e.createElement("div");ve(w,r,p),M=[...w.childNodes]}if(e.isHTMLElement(b))z=[b.cloneNode(!0)];else{const w=e.createElement("div");ve(w,b,p),z=[...w.childNodes]}if(v)if(r)if(e.isHTMLElement(S))M=[...M,S.cloneNode(!0)];else{const w=e.createElement("div");ve(w,S,p),M=[...M,w.firstChild]}else if(U&&U.remove(),e.isHTMLElement(S))z=[...z,S.cloneNode(!0)];else{const w=e.createElement("div");ve(w,S,p),z=[...z,w.firstChild]}n?r&&L&&ve(L,r,p):(r&&U&&ve(U,M,p),b&&L&&ve(L,z,p),t.btn=e.querySelector(".btn-close",A)||void 0),e.addClass(A,"position-fixed"),e.addClass(O,"position-absolute"),e.hasClass(A,R)||e.addClass(A,R),m&&!e.hasClass(A,P)&&e.addClass(A,P),h&&!e.hasClass(A,h)&&e.addClass(A,h),e.hasClass(A,le)||e.addClass(A,le)},ea=t=>{const n=["HTML","BODY"],s=[];let{parentNode:o}=t;for(;o&&!n.includes(o.nodeName);)o=e.getParentNode(o),e.isShadowRoot(o)||e.isTableElement(o)||s.push(o);return s.find((a,r)=>e.getElementStyle(a,"position")!=="relative"&&s.slice(r+1).every(d=>e.getElementStyle(d,"position")==="static")?a:null)||e.getDocument(t).body},ta=`[${j}="${re}"],[data-tip="${re}"]`,Hs="title";let Ls=t=>e.getInstance(t,Ne);const na=t=>new pt(t),sa=t=>{const{element:n,tooltip:s,container:o,offsetParent:a}=t;e.removeAttribute(n,e.ariaDescribedBy),_n(s,o===a?o:a)},oa=(t,n)=>{const{element:s}=t;Ye(t),e.hasAttribute(s,$s)&&t.name===Ne&&Ms(t),n&&n()},ks=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o}=t;s(e.getDocument(o),e.touchstartEvent,t.handleTouch,e.passiveHandler),[e.scrollEvent,e.resizeEvent].forEach(a=>{s(e.getWindow(o),a,t.update,e.passiveHandler)})},Is=t=>{const{element:n}=t,s=e.createCustomEvent(`shown.bs.${e.toLowerCase(t.name)}`);ks(t,!0),e.dispatchEvent(n,s),e.Timer.clear(n,"in")},Ns=t=>{const{element:n,onHideComplete:s}=t,o=e.createCustomEvent(`hidden.bs.${e.toLowerCase(t.name)}`);ks(t),sa(t),e.dispatchEvent(n,o),e.isFunction(s)&&(s(),t.onHideComplete=void 0),e.Timer.clear(n,"out")},Ye=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o,options:a,btn:r}=t,{trigger:d}=a,m=!!(t.name!==Ne&&a.dismissible);if(d.includes("manual"))return;t.enabled=!!n,d.split(" ").forEach(p=>{p===e.mousehoverEvent?(s(o,e.mousedownEvent,t.show),s(o,e.mouseenterEvent,t.show),m&&r?s(r,e.mouseclickEvent,t.hide):(s(o,e.mouseleaveEvent,t.hide),s(e.getDocument(o),e.touchstartEvent,t.handleTouch,e.passiveHandler))):p===e.mouseclickEvent?s(o,p,m?t.show:t.toggle):p===e.focusEvent&&(s(o,e.focusinEvent,t.show),m||s(o,e.focusoutEvent,t.hide),e.isApple&&s(o,e.mouseclickEvent,()=>e.focus(o)))})},Ps=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o,container:a,offsetParent:r}=t,{offsetHeight:d,scrollHeight:c}=a,m=e.closest(o,`.${V}`),h=e.closest(o,`.${K}`),p=e.getWindow(o),b=a===r&&d!==c?a:p;s(b,e.resizeEvent,t.update,e.passiveHandler),s(b,e.scrollEvent,t.update,e.passiveHandler),m&&s(m,`hide.bs.${V}`,t.hide),h&&s(h,`hide.bs.${K}`,t.hide)},Ms=(t,n)=>{const s=[$s,Hs],{element:o}=t;e.setAttribute(o,s[n?0:1],n||e.getAttribute(o,s[0])||""),e.removeAttribute(o,s[n?1:0])};class pt extends J{static selector=ta;static init=na;static getInstance=Ls;static styleTip=Yt;constructor(n,s){super(n,s);const{element:o}=this,a=this.name===Ne,r=a?re:Ie,d=a?Ne:vt;Ls=m=>e.getInstance(m,d),this.enabled=!0,this.id=`${r}-${e.getUID(o,r)}`;const{options:c}=this;!c.title&&a||!a&&!c.content||(e.ObjectAssign(Gt,{titleAttr:""}),this.handleTouch=this.handleTouch.bind(this),this.update=this.update.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.toggle=this.toggle.bind(this),e.hasAttribute(o,Hs)&&a&&typeof c.title=="string"&&Ms(this,c.title),this.container=ea(o),this.offsetParent=["sticky","fixed"].some(m=>e.getElementStyle(this.container,"position")===m)?this.container:e.getDocument(this.element).body,xi(this),Ye(this,!0))}get name(){return Ne}get defaults(){return Gt}show(){const{options:n,tooltip:s,element:o,container:a,offsetParent:r,id:d}=this,{animation:c}=n,m=e.Timer.get(o,"out"),h=a===r?a:r;e.Timer.clear(o,"out"),s&&!m&&!Le(s,h)&&e.Timer.set(o,()=>{const p=e.createCustomEvent(`show.bs.${e.toLowerCase(this.name)}`);e.dispatchEvent(o,p),!p.defaultPrevented&&(Zn(s,h),e.setAttribute(o,e.ariaDescribedBy,`#${d}`),this.update(),Ps(this,!0),e.hasClass(s,E)||e.addClass(s,E),c?e.emulateTransitionEnd(s,()=>Is(this)):Is(this))},17,"in")}hide(){const{options:n,tooltip:s,element:o,container:a,offsetParent:r}=this,{animation:d,delay:c}=n;e.Timer.clear(o,"in"),s&&Le(s,a===r?a:r)&&e.Timer.set(o,()=>{const m=e.createCustomEvent(`hide.bs.${e.toLowerCase(this.name)}`);e.dispatchEvent(o,m),!m.defaultPrevented&&(this.update(),e.removeClass(s,E),Ps(this),d?e.emulateTransitionEnd(s,()=>Ns(this)):Ns(this))},c+17,"out")}update(){Yt(this)}toggle(){const{tooltip:n,container:s,offsetParent:o}=this;n&&!Le(n,s===o?s:o)?this.show():this.hide()}enable(){const{enabled:n}=this;n||(Ye(this,!0),this.enabled=!n)}disable(){const{tooltip:n,container:s,offsetParent:o,options:a,enabled:r}=this,{animation:d}=a;r&&(n&&Le(n,s===o?s:o)&&d?(this.onHideComplete=()=>Ye(this),this.hide()):Ye(this),this.enabled=!r)}toggleEnabled(){this.enabled?this.disable():this.enable()}handleTouch({target:n}){const{tooltip:s,element:o}=this;s&&s.contains(n)||n===o||n&&o.contains(n)||this.hide()}dispose(){const{tooltip:n,container:s,offsetParent:o,options:a}=this,r=()=>oa(this,()=>super.dispose());a.animation&&n&&Le(n,s===o?s:o)?(this.options.delay=0,this.onHideComplete=r,this.hide()):r()}}const ia=`[${j}="${Ie}"],[data-tip="${Ie}"]`,aa=e.ObjectAssign({},Gt,{template:As(Ie),content:"",dismissible:!1,btnClose:'<button class="btn-close" aria-label="Close"></button>'}),ra=t=>e.getInstance(t,vt),la=t=>new Jt(t);class Jt extends pt{static selector=ia;static init=la;static getInstance=ra;static styleTip=Yt;constructor(n,s){super(n,s)}get name(){return vt}get defaults(){return aa}show(){super.show();const{options:n,btn:s}=this;n.dismissible&&s&&setTimeout(()=>e.focus(s),17)}}const ca="scrollspy",Os="ScrollSpy",da='[data-bs-spy="scroll"]',ua={offset:10,target:null},ma=t=>e.getInstance(t,Os),ha=t=>new Zt(t),Bs=e.createCustomEvent(`activate.bs.${ca}`),ga=t=>{const{target:n,scrollTarget:s,options:o,itemsLength:a,scrollHeight:r,element:d}=t,{offset:c}=o,m=e.isWindow(s),h=n&&e.getElementsByTagName("A",n),p=s?Rs(s):r;if(t.scrollTop=m?s.scrollY:s.scrollTop,h&&(p!==r||a!==h.length)){let v,b,S;t.items=[],t.offsets=[],t.scrollHeight=p,t.maxScroll=t.scrollHeight-fa(t),[...h].forEach(R=>{v=e.getAttribute(R,"href"),b=v&&v.charAt(0)==="#"&&v.slice(-1)!=="#"&&e.querySelector(v,e.getDocument(d)),b&&(t.items.push(R),S=e.getBoundingClientRect(b),t.offsets.push((m?S.top+t.scrollTop:b.offsetTop)-c))}),t.itemsLength=t.items.length}},Rs=t=>e.isHTMLElement(t)?t.scrollHeight:e.getDocumentElement(t).scrollHeight,fa=({element:t,scrollTarget:n})=>e.isWindow(n)?n.innerHeight:e.getBoundingClientRect(t).height,zs=t=>{[...e.getElementsByTagName("A",t)].forEach(n=>{e.hasClass(n,T)&&e.removeClass(n,T)})},Ws=(t,n)=>{const{target:s,element:o}=t;e.isHTMLElement(s)&&zs(s),t.activeItem=n,e.addClass(n,T);const a=[];let r=n;for(;r!==e.getDocumentBody(o);)r=r.parentElement,(e.hasClass(r,"nav")||e.hasClass(r,"dropdown-menu"))&&a.push(r);a.forEach(d=>{const c=d.previousElementSibling;c&&!e.hasClass(c,T)&&e.addClass(c,T)}),Bs.relatedTarget=n,e.dispatchEvent(o,Bs)},qs=(t,n)=>{(n?C.addListener:C.removeListener)(t.scrollTarget,e.scrollEvent,t.refresh,e.passiveHandler)};class Zt extends J{static selector=da;static init=ha;static getInstance=ma;constructor(n,s){super(n,s);const{element:o,options:a}=this;this.target=e.querySelector(a.target,e.getDocument(o)),this.target&&(this.scrollTarget=o.clientHeight<o.scrollHeight?o:e.getWindow(o),this.scrollHeight=Rs(this.scrollTarget),this.refresh=this.refresh.bind(this),qs(this,!0),this.refresh())}get name(){return Os}get defaults(){return ua}refresh(){const{target:n}=this;if(n?.offsetHeight===0)return;ga(this);const{scrollTop:s,maxScroll:o,itemsLength:a,items:r,activeItem:d}=this;if(s>=o){const m=r[a-1];d!==m&&Ws(this,m);return}const{offsets:c}=this;if(d&&s<c[0]&&c[0]>0){this.activeItem=null,n&&zs(n);return}r.forEach((m,h)=>{d!==m&&s>=c[h]&&(typeof c[h+1]>"u"||s<c[h+1])&&Ws(this,m)})}dispose(){qs(this),super.dispose()}}const Ge="tab",Fs="Tab",js=`[${j}="${Ge}"]`,Vs=t=>e.getInstance(t,Fs),va=t=>new en(t),_t=e.createCustomEvent(`show.bs.${Ge}`),Us=e.createCustomEvent(`shown.bs.${Ge}`),xt=e.createCustomEvent(`hide.bs.${Ge}`),Ks=e.createCustomEvent(`hidden.bs.${Ge}`),Je=new Map,Qs=t=>{const{tabContent:n,nav:s}=t;n&&e.hasClass(n,$e)&&(n.style.height="",e.removeClass(n,$e)),s&&e.Timer.clear(s)},Xs=t=>{const{element:n,tabContent:s,content:o,nav:a}=t,{tab:r}=e.isHTMLElement(a)&&Je.get(a)||{tab:null};if(s&&o&&e.hasClass(o,P)){const{currentHeight:d,nextHeight:c}=Je.get(n)||{currentHeight:0,nextHeight:0};d===c?Qs(t):setTimeout(()=>{s.style.height=`${c}px`,e.reflow(s),e.emulateTransitionEnd(s,()=>Qs(t))},50)}else a&&e.Timer.clear(a);Us.relatedTarget=r,e.dispatchEvent(n,Us)},Ys=t=>{const{element:n,content:s,tabContent:o,nav:a}=t,{tab:r,content:d}=a&&Je.get(a)||{tab:null,content:null};let c=0;if(o&&s&&e.hasClass(s,P)&&([d,s].forEach(m=>{e.isHTMLElement(m)&&e.addClass(m,"overflow-hidden")}),c=e.isHTMLElement(d)?d.scrollHeight:0),_t.relatedTarget=r,Ks.relatedTarget=n,e.dispatchEvent(n,_t),!_t.defaultPrevented){if(s&&e.addClass(s,T),d&&e.removeClass(d,T),o&&s&&e.hasClass(s,P)){const m=s.scrollHeight;Je.set(n,{currentHeight:c,nextHeight:m,tab:null,content:null}),e.addClass(o,$e),o.style.height=`${c}px`,e.reflow(o),[d,s].forEach(h=>{h&&e.removeClass(h,"overflow-hidden")})}s&&s&&e.hasClass(s,P)?setTimeout(()=>{e.addClass(s,E),e.emulateTransitionEnd(s,()=>{Xs(t)})},1):(s&&e.addClass(s,E),Xs(t)),r&&e.dispatchEvent(r,Ks)}},Gs=t=>{const{nav:n}=t;if(!e.isHTMLElement(n))return{tab:null,content:null};const s=e.getElementsByClassName(T,n);let o=null;s.length===1&&!He.some(r=>e.hasClass(s[0].parentElement,r))?[o]=s:s.length>1&&(o=s[s.length-1]);const a=e.isHTMLElement(o)?q(o):null;return{tab:o,content:a}},Js=t=>{if(!e.isHTMLElement(t))return null;const n=e.closest(t,`.${He.join(",.")}`);return n?e.querySelector(`.${He[0]}-toggle`,n):null},Zs=(t,n)=>{(n?C.addListener:C.removeListener)(t.element,e.mouseclickEvent,pa)},pa=t=>{const n=Vs(t.target);n&&(t.preventDefault(),n.show())};class en extends J{static selector=js;static init=va;static getInstance=Vs;constructor(n){super(n);const{element:s}=this,o=q(s);if(!o)return;const a=e.closest(s,".nav"),r=e.closest(o,".tab-content");this.nav=a,this.content=o,this.tabContent=r,this.dropdown=Js(s);const{tab:d}=Gs(this);if(a&&!d){const c=e.querySelector(js,a),m=c&&q(c);m&&(e.addClass(c,T),e.addClass(m,E),e.addClass(m,T),e.setAttribute(s,e.ariaSelected,"true"))}Zs(this,!0)}get name(){return Fs}show(){const{element:n,content:s,nav:o,dropdown:a}=this;if(!(o&&e.Timer.get(o))&&!e.hasClass(n,T)){const{tab:r,content:d}=Gs(this);if(o&&Je.set(o,{tab:r,content:d,currentHeight:0,nextHeight:0}),xt.relatedTarget=n,e.isHTMLElement(r)&&e.dispatchEvent(r,xt),xt.defaultPrevented)return;e.addClass(n,T),e.setAttribute(n,e.ariaSelected,"true");const c=e.isHTMLElement(r)&&Js(r);if(c&&e.hasClass(c,T)&&e.removeClass(c,T),o){const m=()=>{r&&(e.removeClass(r,T),e.setAttribute(r,e.ariaSelected,"false")),a&&!e.hasClass(a,T)&&e.addClass(a,T)};d&&(e.hasClass(d,P)||s&&e.hasClass(s,P))?e.Timer.set(o,m,1):m()}d&&(e.removeClass(d,E),e.hasClass(d,P)?e.emulateTransitionEnd(d,()=>Ys(this)):Ys(this))}}dispose(){Zs(this),super.dispose()}}const Q="toast",_s="Toast",Ea=`.${Q}`,ba=`[${it}="${Q}"]`,xs=`[${j}="${Q}"]`,Re="showing",eo="hide",Ca={animation:!0,autohide:!0,delay:5e3},tn=t=>e.getInstance(t,_s),ya=t=>new nn(t),to=e.createCustomEvent(`show.bs.${Q}`),Ta=e.createCustomEvent(`shown.bs.${Q}`),no=e.createCustomEvent(`hide.bs.${Q}`),wa=e.createCustomEvent(`hidden.bs.${Q}`),so=t=>{const{element:n,options:s}=t;e.removeClass(n,Re),e.Timer.clear(n,Re),e.dispatchEvent(n,Ta),s.autohide&&e.Timer.set(n,()=>t.hide(),s.delay,Q)},oo=t=>{const{element:n}=t;e.removeClass(n,Re),e.removeClass(n,E),e.addClass(n,eo),e.Timer.clear(n,Q),e.dispatchEvent(n,wa)},Sa=t=>{const{element:n,options:s}=t;e.addClass(n,Re),s.animation?(e.reflow(n),e.emulateTransitionEnd(n,()=>oo(t))):oo(t)},Aa=t=>{const{element:n,options:s}=t;e.Timer.set(n,()=>{e.removeClass(n,eo),e.reflow(n),e.addClass(n,E),e.addClass(n,Re),s.animation?e.emulateTransitionEnd(n,()=>so(t)):so(t)},17,Re)},io=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o,triggers:a,dismiss:r,options:d}=t;r&&s(r,e.mouseclickEvent,t.hide),d.autohide&&[e.focusinEvent,e.focusoutEvent,e.mouseenterEvent,e.mouseleaveEvent].forEach(c=>s(o,c,Ha)),a.length&&a.forEach(c=>s(c,e.mouseclickEvent,$a))},Da=t=>{e.Timer.clear(t.element,Q),io(t)},$a=t=>{const{target:n}=t,s=n&&e.closest(n,xs),o=s&&q(s),a=o&&tn(o);a&&(s&&s.tagName==="A"&&t.preventDefault(),a.relatedTarget=s,a.show())},Ha=t=>{const n=t.target,s=tn(n),{type:o,relatedTarget:a}=t;!s||n===a||n.contains(a)||([e.mouseenterEvent,e.focusinEvent].includes(o)?e.Timer.clear(n,Q):e.Timer.set(n,()=>s.hide(),s.options.delay,Q))};class nn extends J{static selector=Ea;static init=ya;static getInstance=tn;constructor(n,s){super(n,s);const{element:o,options:a}=this;a.animation&&!e.hasClass(o,P)?e.addClass(o,P):!a.animation&&e.hasClass(o,P)&&e.removeClass(o,P),this.dismiss=e.querySelector(ba,o),this.triggers=[...e.querySelectorAll(xs,e.getDocument(o))].filter(r=>q(r)===o),this.show=this.show.bind(this),this.hide=this.hide.bind(this),io(this,!0)}get name(){return _s}get defaults(){return Ca}get isShown(){return e.hasClass(this.element,E)}show(){const{element:n,isShown:s}=this;if(n&&!s){if(e.dispatchEvent(n,to),to.defaultPrevented)return;Aa(this)}}hide(){const{element:n,isShown:s}=this;if(n&&s){if(e.dispatchEvent(n,no),no.defaultPrevented)return;Sa(this)}}dispose(){const{element:n,isShown:s}=this;s&&e.removeClass(n,E),Da(this),super.dispose()}}const sn=new Map;[At,Dt,Pt,Mt,zt,Ut,Xt,Jt,Zt,en,nn,pt].forEach(t=>sn.set(t.prototype.name,t));const La=(t,n)=>{[...n].forEach(s=>t(s))},ka=(t,n)=>{const s=e.Data.getAllFor(t);s&&[...s].forEach(([o,a])=>{n.contains(o)&&a.dispose()})},on=t=>{const n=t&&t.nodeName?t:document,s=[...e.getElementsByTagName("*",n)];sn.forEach(o=>{const{init:a,selector:r}=o;La(a,s.filter(d=>e.matches(d,r)))})},Ia=t=>{const n=t&&t.nodeName?t:document;sn.forEach(s=>{ka(s.prototype.name,n)})};return document.body?on():C.addListener(document,"DOMContentLoaded",()=>on(),{once:!0}),N.Alert=At,N.Button=Dt,N.Carousel=Pt,N.Collapse=Mt,N.Dropdown=zt,N.Listener=C,N.Modal=Ut,N.Offcanvas=Xt,N.Popover=Jt,N.ScrollSpy=Zt,N.Tab=en,N.Toast=nn,N.Tooltip=pt,N.initCallback=on,N.removeDataAPI=Ia,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),N}({});
var BSN=function(N){"use strict";var C={};(function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n={},s=c=>{const{type:m,currentTarget:h}=c;[...n[m]].forEach(([p,v])=>{h===p&&[...v].forEach(([b,S])=>{b.apply(p,[c]),typeof S=="object"&&S.once&&a(p,m,b,S)})})},o=(c,m,h,p)=>{n[m]||(n[m]=new Map);const v=n[m];v.has(c)||v.set(c,new Map);const b=v.get(c),{size:S}=b;b.set(h,p),S||c.addEventListener(m,s,p)},a=(c,m,h,p)=>{const v=n[m],b=v&&v.get(c),S=b&&b.get(h),R=S!==void 0?S:p;b&&b.has(h)&&b.delete(h),v&&(!b||!b.size)&&v.delete(c),(!v||!v.size)&&delete n[m],(!b||!b.size)&&c.removeEventListener(m,s,R)},r=o,d=a;t.addListener=o,t.globalListener=s,t.off=d,t.on=r,t.registry=n,t.removeListener=a})(C);var e={};(function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n="aria-checked",s="aria-description",o="aria-describedby",a="aria-expanded",r="aria-haspopup",d="aria-hidden",c="aria-label",m="aria-labelledby",h="aria-modal",p="aria-pressed",v="aria-selected",b="aria-valuemin",S="aria-valuemax",R="aria-valuenow",y="aria-valuetext",M="abort",z="beforeunload",le="blur",X="change",A="contextmenu",Y="DOMContentLoaded",U="DOMMouseScroll",L="error",O="focus",w="focusin",ce="focusout",x="gesturechange",D="gestureend",ee="gesturestart",ie="keydown",pe="keypress",te="keyup",ze="load",de="click",Pe="dblclick",We="mousedown",ae="mouseup",ne="hover",qe="mouseenter",Ee="mouseleave",be="mousein",Ce="mouseout",ye="mouseover",Me="mousemove",Fe="mousewheel",Et="move",ao="orientationchange",ro="pointercancel",lo="pointerdown",co="pointerleave",uo="pointermove",mo="pointerup",ho="readystatechange",go="reset",fo="resize",vo="select",po="selectend",Eo="selectstart",bo="scroll",Co="submit",yo="touchstart",To="touchmove",wo="touchcancel",So="touchend",Ao="unload",Na={DOMContentLoaded:Y,DOMMouseScroll:U,abort:M,beforeunload:z,blur:le,change:X,click:de,contextmenu:A,dblclick:Pe,error:L,focus:O,focusin:w,focusout:ce,gesturechange:x,gestureend:D,gesturestart:ee,hover:ne,keydown:ie,keypress:pe,keyup:te,load:ze,mousedown:We,mousemove:Me,mousein:be,mouseout:Ce,mouseenter:qe,mouseleave:Ee,mouseover:ye,mouseup:ae,mousewheel:Fe,move:Et,orientationchange:ao,pointercancel:ro,pointerdown:lo,pointerleave:co,pointermove:uo,pointerup:mo,readystatechange:ho,reset:go,resize:fo,scroll:bo,select:vo,selectend:po,selectstart:Eo,submit:Co,touchcancel:wo,touchend:So,touchmove:To,touchstart:yo,unload:Ao},Pa="drag",Ma="dragstart",Oa="dragenter",Ba="dragleave",Ra="dragover",za="dragend",Wa="loadstart",qa={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Fa={down:"mousedown",up:"mouseup"},ja="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],Va={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},Ua={in:"focusin",out:"focusout"},Ka={Backspace:"Backspace",Tab:"Tab",Enter:"Enter",Shift:"Shift",Control:"Control",Alt:"Alt",Pause:"Pause",CapsLock:"CapsLock",Escape:"Escape",Scape:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Insert:"Insert",Delete:"Delete",Meta:"Meta",ContextMenu:"ContextMenu",ScrollLock:"ScrollLock"},Qa="Alt",Xa="ArrowDown",Ya="ArrowUp",Ga="ArrowLeft",Ja="ArrowRight",Za="Backspace",_a="CapsLock",xa="Control",er="Delete",tr="Enter",nr="Escape",sr="Insert",or="Meta",ir="Pause",ar="ScrollLock",rr="Shift",lr="Space",cr="Tab",Do="animationDuration",$o="animationDelay",an="animationName",bt="animationend",Ho="transitionDuration",Lo="transitionDelay",Ct="transitionend",rn="transitionProperty",dr="addEventListener",ur="removeEventListener",mr={linear:"linear",easingSinusoidalIn:"cubic-bezier(0.47,0,0.745,0.715)",easingSinusoidalOut:"cubic-bezier(0.39,0.575,0.565,1)",easingSinusoidalInOut:"cubic-bezier(0.445,0.05,0.55,0.95)",easingQuadraticIn:"cubic-bezier(0.550,0.085,0.680,0.530)",easingQuadraticOut:"cubic-bezier(0.250,0.460,0.450,0.940)",easingQuadraticInOut:"cubic-bezier(0.455,0.030,0.515,0.955)",easingCubicIn:"cubic-bezier(0.55,0.055,0.675,0.19)",easingCubicOut:"cubic-bezier(0.215,0.61,0.355,1)",easingCubicInOut:"cubic-bezier(0.645,0.045,0.355,1)",easingQuarticIn:"cubic-bezier(0.895,0.03,0.685,0.22)",easingQuarticOut:"cubic-bezier(0.165,0.84,0.44,1)",easingQuarticInOut:"cubic-bezier(0.77,0,0.175,1)",easingQuinticIn:"cubic-bezier(0.755,0.05,0.855,0.06)",easingQuinticOut:"cubic-bezier(0.23,1,0.32,1)",easingQuinticInOut:"cubic-bezier(0.86,0,0.07,1)",easingExponentialIn:"cubic-bezier(0.95,0.05,0.795,0.035)",easingExponentialOut:"cubic-bezier(0.19,1,0.22,1)",easingExponentialInOut:"cubic-bezier(1,0,0,1)",easingCircularIn:"cubic-bezier(0.6,0.04,0.98,0.335)",easingCircularOut:"cubic-bezier(0.075,0.82,0.165,1)",easingCircularInOut:"cubic-bezier(0.785,0.135,0.15,0.86)",easingBackIn:"cubic-bezier(0.6,-0.28,0.735,0.045)",easingBackOut:"cubic-bezier(0.175,0.885,0.32,1.275)",easingBackInOut:"cubic-bezier(0.68,-0.55,0.265,1.55)"},hr="offsetHeight",gr="offsetWidth",fr="scrollHeight",vr="scrollWidth",pr="tabindex",Er=navigator.userAgentData,Ze=Er,{userAgent:br}=navigator,_e=br,ko=/iPhone|iPad|iPod|Android/i;let ln=!1;Ze?ln=Ze.brands.some(i=>ko.test(i.brand)):ln=ko.test(_e);const Cr=ln,Io=/(iPhone|iPod|iPad)/,yr=Ze?Ze.brands.some(i=>Io.test(i.brand)):Io.test(_e),Tr=_e?_e.includes("Firefox"):!1,{head:xe}=document,wr=["webkitPerspective","perspective"].some(i=>i in xe.style),No=(i,l,u,g)=>{const f=g||!1;i.addEventListener(l,u,f)},Po=(i,l,u,g)=>{const f=g||!1;i.removeEventListener(l,u,f)},Mo=(i,l,u,g)=>{const f=I=>{(I.target===i||I.currentTarget===i)&&(u.apply(i,[I]),Po(i,l,f,g))};No(i,l,f,g)},Oo=()=>{},Sr=(()=>{let i=!1;try{const l=Object.defineProperty({},"passive",{get:()=>(i=!0,i)});Mo(document,Y,Oo,l)}catch{}return i})(),Ar=["webkitTransform","transform"].some(i=>i in xe.style),Dr="ontouchstart"in window||"msMaxTouchPoints"in navigator,$r=["webkitAnimation","animation"].some(i=>i in xe.style),Hr=["webkitTransition","transition"].some(i=>i in xe.style),Bo=(i,l)=>i.getAttribute(l),Lr=(i,l,u)=>l.getAttributeNS(i,u),kr=(i,l)=>i.hasAttribute(l),Ir=(i,l,u)=>l.hasAttributeNS(i,u),Nr=(i,l,u)=>i.setAttribute(l,u),Pr=(i,l,u,g)=>l.setAttributeNS(i,u,g),Mr=(i,l)=>i.removeAttribute(l),Or=(i,l,u)=>l.removeAttributeNS(i,u),Br=(i,...l)=>{i.classList.add(...l)},Rr=(i,...l)=>{i.classList.remove(...l)},zr=(i,l)=>i.classList.contains(l),{body:Wr}=document,{documentElement:qr}=document,Fr=i=>Array.from(i),ue=i=>i!=null&&typeof i=="object"||!1,k=i=>ue(i)&&typeof i.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(l=>i.nodeType===l)||!1,W=i=>k(i)&&i.nodeType===1||!1,et=new Map,yt={set:(i,l,u)=>{W(i)&&(et.has(l)||et.set(l,new Map),et.get(l).set(i,u))},getAllFor:i=>et.get(i)||null,get:(i,l)=>{if(!W(i)||!l)return null;const u=yt.getAllFor(l);return i&&u&&u.get(i)||null},remove:(i,l)=>{const u=yt.getAllFor(l);!u||!W(i)||(u.delete(i),u.size===0&&et.delete(l))}},jr=(i,l)=>yt.get(i,l),tt=i=>typeof i=="string"||!1,cn=i=>ue(i)&&i.constructor.name==="Window"||!1,dn=i=>k(i)&&i.nodeType===9||!1,se=i=>cn(i)?i.document:dn(i)?i:k(i)?i.ownerDocument:window.document,nt=(i,...l)=>Object.assign(i,...l),Ro=i=>{if(!i)return;if(tt(i))return se().createElement(i);const{tagName:l}=i,u=Ro(l);if(!u)return;const g={...i};return delete g.tagName,nt(u,g)},zo=(i,l)=>{if(!i||!l)return;if(tt(l))return se().createElementNS(i,l);const{tagName:u}=l,g=zo(i,u);if(!g)return;const f={...l};return delete f.tagName,nt(g,f)},un=(i,l)=>i.dispatchEvent(l),Vr=(i,l,u)=>u.indexOf(i)===l,me=(i,l)=>{const u=getComputedStyle(i),g=l.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return u.getPropertyValue(g)},Wo=i=>{const l=me(i,an),u=me(i,$o),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},qo=i=>{const l=me(i,an),u=me(i,Do),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},Ur=(i,l)=>{let u=0;const g=new Event(bt),f=qo(i),I=Wo(i);if(f){const B=G=>{G.target===i&&(l.apply(i,[G]),i.removeEventListener(bt,B),u=1)};i.addEventListener(bt,B),setTimeout(()=>{u||un(i,g)},f+I+17)}else l.apply(i,[g])},Fo=i=>{const l=me(i,rn),u=me(i,Lo),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},jo=i=>{const l=me(i,rn),u=me(i,Ho),g=u.includes("ms")?1:1e3,f=l&&l!=="none"?parseFloat(u)*g:0;return Number.isNaN(f)?0:f},Kr=(i,l)=>{let u=0;const g=new Event(Ct),f=jo(i),I=Fo(i);if(f){const B=G=>{G.target===i&&(l.apply(i,[G]),i.removeEventListener(Ct,B),u=1)};i.addEventListener(Ct,B),setTimeout(()=>{u||un(i,g)},f+I+17)}else l.apply(i,[g])},Qr=i=>Float32Array.from(Array.from(i)),Xr=i=>Float64Array.from(Array.from(i)),Yr=(i,l)=>i.focus(l),mn=i=>["true",!0].includes(i)?!0:["false",!1].includes(i)?!1:["null","",null,void 0].includes(i)?null:i!==""&&!Number.isNaN(+i)?+i:i,st=i=>Object.entries(i),Vo=i=>i.toLowerCase(),Gr=(i,l,u,g)=>{const f={...u},I={...i.dataset},B={...l},G={},we="title";return st(I).forEach(([H,Se])=>{const wt=g&&typeof H=="string"&&H.includes(g)?H.replace(g,"").replace(/[A-Z]/g,Pl=>Vo(Pl)):H;G[wt]=mn(Se)}),st(f).forEach(([H,Se])=>{f[H]=mn(Se)}),st(l).forEach(([H,Se])=>{H in f?B[H]=f[H]:H in G?B[H]=G[H]:B[H]=H===we?Bo(i,we):Se}),B},Jr=(i,l)=>ue(i)&&(Object.hasOwn(i,l)||l in i),Zr=i=>Object.keys(i),_r=i=>Object.values(i),xr=(i,l)=>{const u=new CustomEvent(i,{cancelable:!0,bubbles:!0});return ue(l)&&nt(u,l),u},el={passive:!0},tl=i=>i.offsetHeight,nl=(i,l)=>{st(l).forEach(([u,g])=>{if(g&&tt(u)&&u.includes("--"))i.style.setProperty(u,g);else{const f={};f[u]=g,nt(i.style,f)}})},Tt=i=>ue(i)&&i.constructor.name==="Map"||!1,Uo=i=>typeof i=="number"||!1,Te=new Map,sl={set:(i,l,u,g)=>{W(i)&&(g&&g.length?(Te.has(i)||Te.set(i,new Map),Te.get(i).set(g,setTimeout(l,u))):Te.set(i,setTimeout(l,u)))},get:(i,l)=>{if(!W(i))return null;const u=Te.get(i);return l&&u&&Tt(u)?u.get(l)||null:Uo(u)?u:null},clear:(i,l)=>{if(!W(i))return;const u=Te.get(i);l&&l.length&&Tt(u)?(clearTimeout(u.get(l)),u.delete(l),u.size===0&&Te.delete(i)):(clearTimeout(u),Te.delete(i))}},ol=i=>i.toUpperCase(),je=(i,l)=>{const{width:u,height:g,top:f,right:I,bottom:B,left:G}=i.getBoundingClientRect();let we=1,H=1;if(l&&W(i)){const{offsetWidth:Se,offsetHeight:wt}=i;we=Se>0?Math.round(u)/Se:1,H=wt>0?Math.round(g)/wt:1}return{width:u/we,height:g/H,top:f/H,right:I/we,bottom:B/H,left:G/we,x:G/we,y:f/H}},il=i=>se(i).body,ot=i=>se(i).documentElement,al=i=>se(i).head,rl=i=>{const l=cn(i),u=l?i.scrollX:i.scrollLeft,g=l?i.scrollY:i.scrollTop;return{x:u,y:g}},Ko=i=>k(i)&&i.constructor.name==="ShadowRoot"||!1,ll=i=>i.nodeName==="HTML"?i:W(i)&&i.assignedSlot||k(i)&&i.parentNode||Ko(i)&&i.host||ot(i),Qo=i=>{if(!W(i))return!1;const{width:l,height:u}=je(i),{offsetWidth:g,offsetHeight:f}=i;return Math.round(l)!==g||Math.round(u)!==f},cl=(i,l,u)=>{const g=W(l),f=je(i,g&&Qo(l)),I={x:0,y:0};if(g){const B=je(l,!0);I.x=B.x+l.clientLeft,I.y=B.y+l.clientTop}return{x:f.left+u.x-I.x,y:f.top+u.y-I.y,width:f.width,height:f.height}};let Xo=0,Yo=0;const Ve=new Map,Go=(i,l)=>{let u=l?Xo:Yo;if(l){const g=Go(i),f=Ve.get(g)||new Map;Ve.has(g)||Ve.set(g,f),Tt(f)&&!f.has(l)?(f.set(l,u),Xo+=1):u=f.get(l)}else{const g=i.id||i;Ve.has(g)?u=Ve.get(g):(Ve.set(g,u),Yo+=1)}return u},dl=i=>i?dn(i)?i.defaultView:k(i)?i?.ownerDocument?.defaultView:i:window,Jo=i=>Array.isArray(i)||!1,ul=i=>k(i)&&i.nodeName==="CANVAS"||!1,Zo=i=>W(i)&&!!i.shadowRoot||!1,ml=i=>k(i)&&[1,2,3,4,5,6,7,8].some(l=>i.nodeType===l)||!1,hl=i=>{if(!k(i))return!1;const{top:l,bottom:u}=je(i),{clientHeight:g}=ot(i);return l<=g&&u>=0},gl=i=>{if(!k(i))return!1;const{clientWidth:l,clientHeight:u}=ot(i),{top:g,left:f,bottom:I,right:B}=je(i,!0);return g>=0&&f>=0&&I<=u&&B<=l},fl=i=>Jo(i)&&i.every(W)||!1,vl=i=>typeof i=="function"||!1,pl=i=>ue(i)&&i.constructor.name==="HTMLCollection"||!1,El=i=>W(i)&&i.tagName==="IMG"||!1,bl=i=>{if(!tt(i))return!1;try{JSON.parse(i)}catch{return!1}return!0},Cl=i=>ue(i)&&i.constructor.name==="WeakMap"||!1,yl=i=>k(i)&&["SVG","Image","Video","Canvas"].some(l=>i.constructor.name.includes(l))||!1,Tl=i=>ue(i)&&i.constructor.name==="NodeList"||!1,wl=i=>ot(i).dir==="rtl",Sl=i=>k(i)&&i.constructor.name.includes("SVG")||!1,Al=i=>k(i)&&["TABLE","TD","TH"].includes(i.nodeName)||!1,_o=(i,l)=>i?i.closest(l)||_o(i.getRootNode().host,l):null,Dl=(i,l)=>W(i)?i:(k(l)?l:se()).querySelector(i),xo=(i,l)=>(k(l)?l:se()).getElementsByTagName(i),$l=i=>[...xo("*",i)].filter(Zo),Hl=(i,l)=>se(l).getElementById(i)||null,Ll=(i,l)=>(k(l)?l:se()).querySelectorAll(i),kl=(i,l)=>(l&&k(l)?l:se()).getElementsByClassName(i),Il=(i,l)=>i.matches(l),Nl="2.0.0alpha12";t.ArrayFrom=Fr,t.DOMContentLoadedEvent=Y,t.DOMMouseScrollEvent=U,t.Data=yt,t.Float32ArrayFrom=Qr,t.Float64ArrayFrom=Xr,t.ObjectAssign=nt,t.ObjectEntries=st,t.ObjectHasOwn=Jr,t.ObjectKeys=Zr,t.ObjectValues=_r,t.Timer=sl,t.abortEvent=M,t.addClass=Br,t.addEventListener=dr,t.animationDelay=$o,t.animationDuration=Do,t.animationEndEvent=bt,t.animationName=an,t.ariaChecked=n,t.ariaDescribedBy=o,t.ariaDescription=s,t.ariaExpanded=a,t.ariaHasPopup=r,t.ariaHidden=d,t.ariaLabel=c,t.ariaLabelledBy=m,t.ariaModal=h,t.ariaPressed=p,t.ariaSelected=v,t.ariaValueMax=S,t.ariaValueMin=b,t.ariaValueNow=R,t.ariaValueText=y,t.beforeunloadEvent=z,t.bezierEasings=mr,t.blurEvent=le,t.changeEvent=X,t.closest=_o,t.contextmenuEvent=A,t.createCustomEvent=xr,t.createElement=Ro,t.createElementNS=zo,t.dispatchEvent=un,t.distinct=Vr,t.documentBody=Wr,t.documentElement=qr,t.documentHead=xe,t.dragEvent=Pa,t.dragendEvent=za,t.dragenterEvent=Oa,t.dragleaveEvent=Ba,t.dragoverEvent=Ra,t.dragstartEvent=Ma,t.emulateAnimationEnd=Ur,t.emulateTransitionEnd=Kr,t.errorEvent=L,t.focus=Yr,t.focusEvent=O,t.focusEvents=Ua,t.focusinEvent=w,t.focusoutEvent=ce,t.gesturechangeEvent=x,t.gestureendEvent=D,t.gesturestartEvent=ee,t.getAttribute=Bo,t.getAttributeNS=Lr,t.getBoundingClientRect=je,t.getCustomElements=$l,t.getDocument=se,t.getDocumentBody=il,t.getDocumentElement=ot,t.getDocumentHead=al,t.getElementAnimationDelay=Wo,t.getElementAnimationDuration=qo,t.getElementById=Hl,t.getElementStyle=me,t.getElementTransitionDelay=Fo,t.getElementTransitionDuration=jo,t.getElementsByClassName=kl,t.getElementsByTagName=xo,t.getInstance=jr,t.getNodeScroll=rl,t.getParentNode=ll,t.getRectRelativeToOffsetParent=cl,t.getUID=Go,t.getWindow=dl,t.hasAttribute=kr,t.hasAttributeNS=Ir,t.hasClass=zr,t.isApple=yr,t.isArray=Jo,t.isCanvas=ul,t.isCustomElement=Zo,t.isDocument=dn,t.isElement=ml,t.isElementInScrollRange=hl,t.isElementInViewport=gl,t.isElementsArray=fl,t.isFirefox=Tr,t.isFunction=vl,t.isHTMLCollection=pl,t.isHTMLElement=W,t.isHTMLImageElement=El,t.isJSON=bl,t.isMap=Tt,t.isMedia=yl,t.isMobile=Cr,t.isNode=k,t.isNodeList=Tl,t.isNumber=Uo,t.isObject=ue,t.isRTL=wl,t.isSVGElement=Sl,t.isScaledElement=Qo,t.isShadowRoot=Ko,t.isString=tt,t.isTableElement=Al,t.isWeakMap=Cl,t.isWindow=cn,t.keyAlt=Qa,t.keyArrowDown=Xa,t.keyArrowLeft=Ga,t.keyArrowRight=Ja,t.keyArrowUp=Ya,t.keyBackspace=Za,t.keyCapsLock=_a,t.keyControl=xa,t.keyDelete=er,t.keyEnter=tr,t.keyEscape=nr,t.keyInsert=sr,t.keyMeta=or,t.keyPause=ir,t.keyScrollLock=ar,t.keyShift=rr,t.keySpace=lr,t.keyTab=cr,t.keyboardEventKeys=Ka,t.keydownEvent=ie,t.keypressEvent=pe,t.keyupEvent=te,t.loadEvent=ze,t.loadstartEvent=Wa,t.matches=Il,t.mouseClickEvents=Fa,t.mouseHoverEvents=ja,t.mouseSwipeEvents=qa,t.mouseclickEvent=de,t.mousedblclickEvent=Pe,t.mousedownEvent=We,t.mouseenterEvent=qe,t.mousehoverEvent=ne,t.mouseinEvent=be,t.mouseleaveEvent=Ee,t.mousemoveEvent=Me,t.mouseoutEvent=Ce,t.mouseoverEvent=ye,t.mouseupEvent=ae,t.mousewheelEvent=Fe,t.moveEvent=Et,t.nativeEvents=Na,t.noop=Oo,t.normalizeOptions=Gr,t.normalizeValue=mn,t.off=Po,t.offsetHeight=hr,t.offsetWidth=gr,t.on=No,t.one=Mo,t.orientationchangeEvent=ao,t.passiveHandler=el,t.pointercancelEvent=ro,t.pointerdownEvent=lo,t.pointerleaveEvent=co,t.pointermoveEvent=uo,t.pointerupEvent=mo,t.querySelector=Dl,t.querySelectorAll=Ll,t.readystatechangeEvent=ho,t.reflow=tl,t.removeAttribute=Mr,t.removeAttributeNS=Or,t.removeClass=Rr,t.removeEventListener=ur,t.resetEvent=go,t.resizeEvent=fo,t.scrollEvent=bo,t.scrollHeight=fr,t.scrollWidth=vr,t.selectEvent=vo,t.selectendEvent=po,t.selectstartEvent=Eo,t.setAttribute=Nr,t.setAttributeNS=Pr,t.setElementStyle=nl,t.submitEvent=Co,t.support3DTransform=wr,t.supportAnimation=$r,t.supportPassive=Sr,t.supportTouch=Dr,t.supportTransform=Ar,t.supportTransition=Hr,t.tabindex=pr,t.toLowerCase=Vo,t.toUpperCase=ol,t.touchEvents=Va,t.touchcancelEvent=wo,t.touchendEvent=So,t.touchmoveEvent=To,t.touchstartEvent=yo,t.transitionDelay=Lo,t.transitionDuration=Ho,t.transitionEndEvent=Ct,t.transitionProperty=rn,t.unloadEvent=Ao,t.userAgent=_e,t.userAgentData=Ze,t.version=Nl})(e);const P="fade",E="show",it="data-bs-dismiss",at="alert",hn="Alert",ei="5.0.3";class J{element;options;constructor(n,s){const o=e.querySelector(n);if(!o)throw e.isString(n)?Error(`${this.name} Error: "${n}" is not a valid selector.`):Error(`${this.name} Error: your target is not an instance of HTMLElement.`);const a=e.Data.get(o,this.name);a&&a.dispose(),this.element=o,this.defaults&&e.ObjectKeys(this.defaults).length&&(this.options=e.normalizeOptions(o,this.defaults,s||{},"bs")),e.Data.set(o,this.name,this)}get version(){return ei}get name(){return"BaseComponent"}get defaults(){return{}}dispose(){e.Data.remove(this.element,this.name),e.ObjectKeys(this).forEach(n=>{delete this[n]})}}const gn=`.${at}`,ti=`[${it}="${at}"]`,fn=t=>e.getInstance(t,hn),ni=t=>new At(t),vn=e.createCustomEvent(`close.bs.${at}`),si=e.createCustomEvent(`closed.bs.${at}`),pn=t=>{const{element:n}=t;St(t),e.dispatchEvent(n,si),t.dispose(),n.remove()},St=(t,n)=>{const s=n?C.addListener:C.removeListener,{dismiss:o}=t;o&&s(o,e.mouseclickEvent,t.close)};class At extends J{static selector=gn;static init=ni;static getInstance=fn;dismiss;constructor(n){super(n),this.dismiss=e.querySelector(ti,this.element),St(this,!0)}get name(){return hn}close(n){const s=n?fn(e.closest(n.target,gn)):this,{element:o}=s;if(o&&e.hasClass(o,E)){if(e.dispatchEvent(o,vn),vn.defaultPrevented)return;e.removeClass(o,E),e.hasClass(o,P)?e.emulateTransitionEnd(o,()=>pn(s)):pn(s)}}dispose(){St(this),super.dispose()}}const T="active",j="data-bs-toggle",oi="button",En="Button",ii=`[${j}="${oi}"]`,bn=t=>e.getInstance(t,En),ai=t=>new Dt(t),Cn=(t,n)=>{(n?C.addListener:C.removeListener)(t.element,e.mouseclickEvent,t.toggle)};class Dt extends J{static selector=ii;static init=ai;static getInstance=bn;isActive=!1;constructor(n){super(n);const{element:s}=this;this.isActive=e.hasClass(s,T),e.setAttribute(s,e.ariaPressed,String(!!this.isActive)),Cn(this,!0)}get name(){return En}toggle(n){n&&n.preventDefault();const s=n?bn(n.target):this;if(!s.element)return;const{element:o,isActive:a}=s;if(e.hasClass(o,"disabled"))return;(a?e.removeClass:e.addClass)(o,T),e.setAttribute(o,e.ariaPressed,a?"false":"true"),s.isActive=e.hasClass(o,T)}dispose(){Cn(this),super.dispose()}}const $t="data-bs-target",Ae="carousel",yn="Carousel",Tn="data-bs-parent",ri="data-bs-container",q=t=>{const n=[$t,Tn,ri,"href"],s=e.getDocument(t);return n.map(o=>{const a=e.getAttribute(t,o);return a?o===Tn?e.closest(t,a):e.querySelector(a,s):null}).filter(o=>o)[0]},Ue=`[data-bs-ride="${Ae}"]`,Z=`${Ae}-item`,Ht="data-bs-slide-to",he="data-bs-slide",ge="paused",wn={pause:"hover",keyboard:!1,touch:!0,interval:5e3},oe=t=>e.getInstance(t,yn),li=t=>new Pt(t);let De=0,Oe=0,Ke=0;const Lt=e.createCustomEvent(`slide.bs.${Ae}`),kt=e.createCustomEvent(`slid.bs.${Ae}`),ci=t=>{const{index:n,direction:s,element:o,slides:a,options:r}=t;if(t.isAnimating&&oe(o)){const d=Nt(t),c=s==="left"?"next":"prev",m=s==="left"?"start":"end";e.addClass(a[n],T),e.removeClass(a[n],`${Z}-${c}`),e.removeClass(a[n],`${Z}-${m}`),e.removeClass(a[d],T),e.removeClass(a[d],`${Z}-${m}`),e.dispatchEvent(o,kt),e.Timer.clear(o,he),!e.getDocument(o).hidden&&r.interval&&!t.isPaused&&t.cycle()}};function di(){const t=oe(this);t&&!t.isPaused&&!e.Timer.get(this,ge)&&e.addClass(this,ge)}function ui(){const t=oe(this);t&&t.isPaused&&!e.Timer.get(this,ge)&&t.cycle()}function mi(t){t.preventDefault();const n=e.closest(this,Ue)||q(this),s=oe(n);if(!s||s.isAnimating)return;const o=+(e.getAttribute(this,Ht)||0);this&&!e.hasClass(this,T)&&!Number.isNaN(o)&&s.to(o)}function hi(t){t.preventDefault();const n=e.closest(this,Ue)||q(this),s=oe(n);if(!s||s.isAnimating)return;const o=e.getAttribute(this,he);o==="next"?s.next():o==="prev"&&s.prev()}const gi=({code:t,target:n})=>{const s=e.getDocument(n),[o]=[...e.querySelectorAll(Ue,s)].filter(m=>e.isElementInScrollRange(m)),a=oe(o);if(!a||a.isAnimating||/textarea|input/i.test(n.nodeName))return;const r=e.isRTL(o),d=r?e.keyArrowLeft:e.keyArrowRight,c=r?e.keyArrowRight:e.keyArrowLeft;t===c?a.prev():t===d&&a.next()};function Sn(t){const{target:n}=t,s=oe(this);s&&s.isTouch&&(s.indicator&&!s.indicator.contains(n)||!s.controls.includes(n))&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())}function fi(t){const{target:n}=t,s=oe(this);if(!s||s.isAnimating||s.isTouch)return;const{controls:o,indicators:a}=s;[...o,...a].some(r=>r===n||r.contains(n))||(De=t.pageX,this.contains(n)&&(s.isTouch=!0,An(s,!0)))}const vi=t=>{Oe=t.pageX},pi=t=>{const{target:n}=t,s=e.getDocument(n),o=[...e.querySelectorAll(Ue,s)].map(c=>oe(c)).find(c=>c.isTouch);if(!o)return;const{element:a,index:r}=o,d=e.isRTL(a);if(o.isTouch=!1,An(o),s.getSelection()?.toString().length){De=0,Oe=0,Ke=0;return}if(Ke=t.pageX,!a.contains(n)||Math.abs(De-Ke)<120){De=0,Oe=0,Ke=0;return}Oe<De?o.to(r+(d?-1:1)):Oe>De&&o.to(r+(d?1:-1)),De=0,Oe=0,Ke=0},It=(t,n)=>{const{indicators:s}=t;[...s].forEach(o=>e.removeClass(o,T)),t.indicators[n]&&e.addClass(s[n],T)},An=(t,n)=>{const{element:s}=t,o=n?C.addListener:C.removeListener;o(e.getDocument(s),e.pointermoveEvent,vi,e.passiveHandler),o(e.getDocument(s),e.pointerupEvent,pi,e.passiveHandler)},Dn=(t,n)=>{const{element:s,options:o,slides:a,controls:r,indicators:d}=t,{touch:c,pause:m,interval:h,keyboard:p}=o,v=n?C.addListener:C.removeListener;m&&h&&(v(s,e.mouseenterEvent,di),v(s,e.mouseleaveEvent,ui)),c&&a.length>2&&(v(s,e.pointerdownEvent,fi,e.passiveHandler),v(s,e.touchstartEvent,Sn,{passive:!1}),v(s,e.dragstartEvent,Sn,{passive:!1})),r.length&&r.forEach(b=>{b&&v(b,e.mouseclickEvent,hi)}),d.length&&d.forEach(b=>{v(b,e.mouseclickEvent,mi)}),p&&v(e.getDocument(s),e.keydownEvent,gi)},Nt=t=>{const{slides:n,element:s}=t,o=e.querySelector(`.${Z}.${T}`,s);return e.isHTMLElement(o)?[...n].indexOf(o):-1};class Pt extends J{static selector=Ue;static init=li;static getInstance=oe;constructor(n,s){super(n,s);const{element:o}=this;this.direction=e.isRTL(o)?"right":"left",this.index=0,this.isTouch=!1,this.slides=e.getElementsByClassName(Z,o);const{slides:a}=this;if(a.length<2)return;const r=e.getDocument(o);this.controls=[...e.querySelectorAll(`[${he}]`,o),...e.querySelectorAll(`[${he}][${$t}="#${o.id}"]`,r)],this.indicator=e.querySelector(`.${Ae}-indicators`,o),this.indicators=[...this.indicator?e.querySelectorAll(`[${Ht}]`,this.indicator):[],...e.querySelectorAll(`[${Ht}][${$t}="#${o.id}"]`,r)];const{options:d}=this;this.options.interval=d.interval===!0?wn.interval:d.interval,Nt(this)<0&&(e.addClass(a[0],T),this.indicators.length&&It(this,0)),Dn(this,!0),d.interval&&this.cycle()}get name(){return yn}get defaults(){return wn}get isPaused(){return e.hasClass(this.element,ge)}get isAnimating(){return e.querySelector(`.${Z}-next,.${Z}-prev`,this.element)!==null}cycle(){const{element:n,options:s,isPaused:o,index:a}=this;e.Timer.clear(n,Ae),o&&(e.Timer.clear(n,ge),e.removeClass(n,ge)),e.Timer.set(n,()=>{this.element&&!this.isPaused&&!this.isTouch&&e.isElementInScrollRange(n)&&this.to(a+1)},s.interval,Ae)}pause(){const{element:n,options:s}=this;!this.isPaused&&s.interval&&(e.addClass(n,ge),e.Timer.set(n,()=>{},1,ge))}next(){this.isAnimating||this.to(this.index+1)}prev(){this.isAnimating||this.to(this.index-1)}to(n){const{element:s,slides:o,options:a}=this,r=Nt(this),d=e.isRTL(s);let c=n;if(this.isAnimating||r===c||e.Timer.get(s,he))return;r<c||r===0&&c===o.length-1?this.direction=d?"right":"left":(r>c||r===o.length-1&&c===0)&&(this.direction=d?"left":"right");const{direction:m}=this;c<0?c=o.length-1:c>=o.length&&(c=0);const h=m==="left"?"next":"prev",p=m==="left"?"start":"end",v={relatedTarget:o[c],from:r,to:c,direction:m};e.ObjectAssign(Lt,v),e.ObjectAssign(kt,v),e.dispatchEvent(s,Lt),!Lt.defaultPrevented&&(this.index=c,It(this,c),e.getElementTransitionDuration(o[c])&&e.hasClass(s,"slide")?e.Timer.set(s,()=>{e.addClass(o[c],`${Z}-${h}`),e.reflow(o[c]),e.addClass(o[c],`${Z}-${p}`),e.addClass(o[r],`${Z}-${p}`),e.emulateTransitionEnd(o[c],()=>ci(this))},0,he):(e.addClass(o[c],T),e.removeClass(o[r],T),e.Timer.set(s,()=>{e.Timer.clear(s,he),s&&a.interval&&!this.isPaused&&this.cycle(),e.dispatchEvent(s,kt)},0,he)))}dispose(){const{slides:n}=this,s=["start","end","prev","next"];[...n].forEach((o,a)=>{e.hasClass(o,T)&&It(this,a),s.forEach(r=>e.removeClass(o,`${Z}-${r}`))}),Dn(this),super.dispose()}}const $e="collapsing",F="collapse",$n="Collapse",Ei=`.${F}`,Hn=`[${j}="${F}"]`,bi={parent:null},rt=t=>e.getInstance(t,$n),Ci=t=>new Mt(t),Ln=e.createCustomEvent(`show.bs.${F}`),yi=e.createCustomEvent(`shown.bs.${F}`),kn=e.createCustomEvent(`hide.bs.${F}`),Ti=e.createCustomEvent(`hidden.bs.${F}`),wi=t=>{const{element:n,parent:s,triggers:o}=t;e.dispatchEvent(n,Ln),!Ln.defaultPrevented&&(e.Timer.set(n,e.noop,17),s&&e.Timer.set(s,e.noop,17),e.addClass(n,$e),e.removeClass(n,F),e.setElementStyle(n,{height:`${n.scrollHeight}px`}),e.emulateTransitionEnd(n,()=>{e.Timer.clear(n),s&&e.Timer.clear(s),o.forEach(a=>e.setAttribute(a,e.ariaExpanded,"true")),e.removeClass(n,$e),e.addClass(n,F),e.addClass(n,E),e.setElementStyle(n,{height:""}),e.dispatchEvent(n,yi)}))},In=t=>{const{element:n,parent:s,triggers:o}=t;e.dispatchEvent(n,kn),!kn.defaultPrevented&&(e.Timer.set(n,e.noop,17),s&&e.Timer.set(s,e.noop,17),e.setElementStyle(n,{height:`${n.scrollHeight}px`}),e.removeClass(n,F),e.removeClass(n,E),e.addClass(n,$e),e.reflow(n),e.setElementStyle(n,{height:"0px"}),e.emulateTransitionEnd(n,()=>{e.Timer.clear(n),s&&e.Timer.clear(s),o.forEach(a=>e.setAttribute(a,e.ariaExpanded,"false")),e.removeClass(n,$e),e.addClass(n,F),e.setElementStyle(n,{height:""}),e.dispatchEvent(n,Ti)}))},Nn=(t,n)=>{const s=n?C.addListener:C.removeListener,{triggers:o}=t;o.length&&o.forEach(a=>s(a,e.mouseclickEvent,Si))},Si=t=>{const{target:n}=t,s=n&&e.closest(n,Hn),o=s&&q(s),a=o&&rt(o);a&&a.toggle(),s&&s.tagName==="A"&&t.preventDefault()};class Mt extends J{static selector=Ei;static init=Ci;static getInstance=rt;constructor(n,s){super(n,s);const{element:o,options:a}=this,r=e.getDocument(o);this.triggers=[...e.querySelectorAll(Hn,r)].filter(d=>q(d)===o),this.parent=e.isHTMLElement(a.parent)?a.parent:e.isString(a.parent)?q(o)||e.querySelector(a.parent,r):null,Nn(this,!0)}get name(){return $n}get defaults(){return bi}toggle(){e.hasClass(this.element,E)?this.hide():this.show()}hide(){const{triggers:n,element:s}=this;e.Timer.get(s)||(In(this),n.length&&n.forEach(o=>e.addClass(o,`${F}d`)))}show(){const{element:n,parent:s,triggers:o}=this;let a,r;s&&(a=[...e.querySelectorAll(`.${F}.${E}`,s)].find(d=>rt(d)),r=a&&rt(a)),(!s||!e.Timer.get(s))&&!e.Timer.get(n)&&(r&&a!==n&&(In(r),r.triggers.forEach(d=>{e.addClass(d,`${F}d`)})),wi(this),o.length&&o.forEach(d=>e.removeClass(d,`${F}d`)))}dispose(){Nn(this),super.dispose()}}const He=["dropdown","dropup","dropstart","dropend"],Pn="Dropdown",Mn="dropdown-menu",On=t=>{const n=e.closest(t,"A");return t.tagName==="A"&&e.hasAttribute(t,"href")&&t.href.slice(-1)==="#"||n&&e.hasAttribute(n,"href")&&n.href.slice(-1)==="#"},[_,lt,ct,dt]=He,Ot=`[${j}="${_}"],[${j}="${lt}"],[${j}="${dt}"],[${j}="${ct}"]`,Be=t=>e.getInstance(t,Pn),Ai=t=>new zt(t),Di=`${Mn}-end`,Bn=[_,lt],Rn=[ct,dt],zn=["A","BUTTON"],$i={offset:5,display:"dynamic"},Bt=e.createCustomEvent(`show.bs.${_}`),Wn=e.createCustomEvent(`shown.bs.${_}`),Rt=e.createCustomEvent(`hide.bs.${_}`),qn=e.createCustomEvent(`hidden.bs.${_}`),Fn=e.createCustomEvent(`updated.bs.${_}`),jn=t=>{const{element:n,menu:s,parentElement:o,options:a}=t,{offset:r}=a;if(e.getElementStyle(s,"position")==="static")return;const d=e.isRTL(n),c=e.hasClass(s,Di);["margin","top","bottom","left","right"].forEach(D=>{const ee={};ee[D]="",e.setElementStyle(s,ee)});let h=He.find(D=>e.hasClass(o,D))||_;const p={dropdown:[r,0,0],dropup:[0,0,r],dropstart:d?[-1,0,0,r]:[-1,r,0],dropend:d?[-1,r,0]:[-1,0,0,r]},v={dropdown:{top:"100%"},dropup:{top:"auto",bottom:"100%"},dropstart:d?{left:"100%",right:"auto"}:{left:"auto",right:"100%"},dropend:d?{left:"auto",right:"100%"}:{left:"100%",right:"auto"},menuStart:d?{right:"0",left:"auto"}:{right:"auto",left:"0"},menuEnd:d?{right:"auto",left:"0"}:{right:"0",left:"auto"}},{offsetWidth:b,offsetHeight:S}=s,{clientWidth:R,clientHeight:y}=e.getDocumentElement(n),{left:M,top:z,width:le,height:X}=e.getBoundingClientRect(n),A=M-b-r<0,Y=M+b+le+r>=R,U=z+S+r>=y,L=z+S+X+r>=y,O=z-S-r<0,w=(!d&&c||d&&!c)&&M+le-b<0,ce=(d&&c||!d&&!c)&&M+b>=R;if(Rn.includes(h)&&A&&Y&&(h=_),h===ct&&(d?Y:A)&&(h=dt),h===dt&&(d?A:Y)&&(h=ct),h===lt&&O&&!L&&(h=_),h===_&&L&&!O&&(h=lt),Rn.includes(h)&&U&&e.ObjectAssign(v[h],{top:"auto",bottom:0}),Bn.includes(h)&&(w||ce)){let D={left:"auto",right:"auto"};!w&&ce&&!d&&(D={left:"auto",right:0}),w&&!ce&&d&&(D={left:0,right:"auto"}),D&&e.ObjectAssign(v[h],D)}const x=p[h];if(e.setElementStyle(s,{...v[h],margin:`${x.map(D=>D&&`${D}px`).join(" ")}`}),Bn.includes(h)&&c&&c){const D=!d&&w||d&&ce?"menuStart":"menuEnd";e.setElementStyle(s,v[D])}e.dispatchEvent(o,Fn)},Hi=t=>[...t.children].map(n=>{if(n&&zn.includes(n.tagName))return n;const{firstElementChild:s}=n;return s&&zn.includes(s.tagName)?s:null}).filter(n=>n),Vn=t=>{const{element:n,options:s}=t,o=t.open?C.addListener:C.removeListener,a=e.getDocument(n);o(a,e.mouseclickEvent,Kn),o(a,e.focusEvent,Kn),o(a,e.keydownEvent,ki),o(a,e.keyupEvent,Ii),s.display==="dynamic"&&[e.scrollEvent,e.resizeEvent].forEach(r=>{o(e.getWindow(n),r,Ni,e.passiveHandler)})},Un=(t,n)=>{(n?C.addListener:C.removeListener)(t.element,e.mouseclickEvent,Li)},ut=t=>{const n=[...He,"btn-group","input-group"].map(s=>e.getElementsByClassName(`${s} ${E}`,e.getDocument(t))).find(s=>s.length);if(n&&n.length)return[...n[0].children].find(s=>He.some(o=>o===e.getAttribute(s,j)))},Kn=t=>{const{target:n,type:s}=t;if(!n||!n.closest)return;const o=ut(n),a=o&&Be(o);if(!a)return;const{parentElement:r,menu:d}=a,c=e.closest(n,Ot)!==null,m=r&&r.contains(n)&&(n.tagName==="form"||e.closest(n,"form")!==null);s===e.mouseclickEvent&&On(n)&&t.preventDefault(),!(s===e.focusEvent&&(n===o||n===d||d.contains(n)))&&(m||c||a&&a.hide())},Li=t=>{const{target:n}=t,s=n&&e.closest(n,Ot),o=s&&Be(s);o&&(t.stopImmediatePropagation(),o.toggle(),s&&On(s)&&t.preventDefault())},ki=t=>{[e.keyArrowDown,e.keyArrowUp].includes(t.code)&&t.preventDefault()};function Ii(t){const{code:n}=t,s=ut(this),o=s&&Be(s),{activeElement:a}=s&&e.getDocument(s);if(!o||!a)return;const{menu:r,open:d}=o,c=Hi(r);if(c&&c.length&&[e.keyArrowDown,e.keyArrowUp].includes(n)){let m=c.indexOf(a);a===s?m=0:n===e.keyArrowUp?m=m>1?m-1:0:n===e.keyArrowDown&&(m=m<c.length-1?m+1:m),c[m]&&e.focus(c[m])}e.keyEscape===n&&d&&(o.toggle(),e.focus(s))}function Ni(){const t=ut(this),n=t&&Be(t);n&&n.open&&jn(n)}class zt extends J{static selector=Ot;static init=Ai;static getInstance=Be;constructor(n,s){super(n,s);const{parentElement:o}=this.element,a=e.querySelector(`.${Mn}`,o);a&&(this.parentElement=o,this.menu=a,Un(this,!0))}get name(){return Pn}get defaults(){return $i}toggle(){this.open?this.hide():this.show()}show(){const{element:n,open:s,menu:o,parentElement:a}=this;if(s)return;const r=ut(n),d=r&&Be(r);d&&d.hide(),[Bt,Wn,Fn].forEach(c=>{c.relatedTarget=n}),e.dispatchEvent(a,Bt),!Bt.defaultPrevented&&(e.addClass(o,E),e.addClass(a,E),e.setAttribute(n,e.ariaExpanded,"true"),jn(this),this.open=!s,e.focus(n),Vn(this),e.dispatchEvent(a,Wn))}hide(){const{element:n,open:s,menu:o,parentElement:a}=this;s&&([Rt,qn].forEach(r=>{r.relatedTarget=n}),e.dispatchEvent(a,Rt),!Rt.defaultPrevented&&(e.removeClass(o,E),e.removeClass(a,E),e.setAttribute(n,e.ariaExpanded,"false"),this.open=!s,Vn(this),e.dispatchEvent(a,qn)))}dispose(){this.open&&this.hide(),Un(this),super.dispose()}}const V="modal",Wt="Modal",qt="Offcanvas",Pi="fixed-top",Mi="fixed-bottom",Qn="sticky-top",Xn="position-sticky",Yn=t=>[...e.getElementsByClassName(Pi,t),...e.getElementsByClassName(Mi,t),...e.getElementsByClassName(Qn,t),...e.getElementsByClassName(Xn,t),...e.getElementsByClassName("is-fixed",t)],Oi=t=>{const n=e.getDocumentBody(t);e.setElementStyle(n,{paddingRight:"",overflow:""});const s=Yn(n);s.length&&s.forEach(o=>{e.setElementStyle(o,{paddingRight:"",marginRight:""})})},Gn=t=>{const{clientWidth:n}=e.getDocumentElement(t),{innerWidth:s}=e.getWindow(t);return Math.abs(s-n)},Jn=(t,n)=>{const s=e.getDocumentBody(t),o=parseInt(e.getElementStyle(s,"paddingRight"),10),r=e.getElementStyle(s,"overflow")==="hidden"&&o?0:Gn(t),d=Yn(s);n&&(e.setElementStyle(s,{overflow:"hidden",paddingRight:`${o+r}px`}),d.length&&d.forEach(c=>{const m=e.getElementStyle(c,"paddingRight");if(c.style.paddingRight=`${parseInt(m,10)+r}px`,[Qn,Xn].some(h=>e.hasClass(c,h))){const h=e.getElementStyle(c,"marginRight");c.style.marginRight=`${parseInt(h,10)-r}px`}}))},K="offcanvas",fe=e.createElement({tagName:"div",className:"popup-container"}),Zn=(t,n)=>{const s=e.isNode(n)&&n.nodeName==="BODY",o=e.isNode(n)&&!s?n:fe,a=s?n:e.getDocumentBody(t);e.isNode(t)&&(o===fe&&a.append(fe),o.append(t))},_n=(t,n)=>{const s=e.isNode(n)&&n.nodeName==="BODY",o=e.isNode(n)&&!s?n:fe;e.isNode(t)&&(t.remove(),o===fe&&!fe.children.length&&fe.remove())},Le=(t,n)=>{const s=e.isNode(n)&&n.nodeName!=="BODY"?n:fe;return e.isNode(t)&&s.contains(t)},xn="backdrop",es=`${V}-${xn}`,ts=`${K}-${xn}`,ns=`.${V}.${E}`,Ft=`.${K}.${E}`,$=e.createElement("div"),ke=t=>e.querySelector(`${ns},${Ft}`,e.getDocument(t)),jt=t=>{const n=t?es:ts;[es,ts].forEach(s=>{e.removeClass($,s)}),e.addClass($,n)},ss=(t,n,s)=>{jt(s),Zn($,e.getDocumentBody(t)),n&&e.addClass($,P)},os=()=>{e.hasClass($,E)||(e.addClass($,E),e.reflow($))},mt=()=>{e.removeClass($,E)},is=t=>{ke(t)||(e.removeClass($,P),_n($,e.getDocumentBody(t)),Oi(t))},as=t=>e.isHTMLElement(t)&&e.getElementStyle(t,"visibility")!=="hidden"&&t.offsetParent!==null,Bi=`.${V}`,rs=`[${j}="${V}"]`,Ri=`[${it}="${V}"]`,ls=`${V}-static`,zi={backdrop:!0,keyboard:!0},Qe=t=>e.getInstance(t,Wt),Wi=t=>new Ut(t),ht=e.createCustomEvent(`show.bs.${V}`),cs=e.createCustomEvent(`shown.bs.${V}`),Vt=e.createCustomEvent(`hide.bs.${V}`),ds=e.createCustomEvent(`hidden.bs.${V}`),us=t=>{const{element:n}=t,s=Gn(n),{clientHeight:o,scrollHeight:a}=e.getDocumentElement(n),{clientHeight:r,scrollHeight:d}=n,c=r!==d;if(!c&&s){const m=e.isRTL(n)?"paddingLeft":"paddingRight",h={};h[m]=`${s}px`,e.setElementStyle(n,h)}Jn(n,c||o!==a)},ms=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o}=t;s(o,e.mouseclickEvent,ji),s(e.getWindow(o),e.resizeEvent,t.update,e.passiveHandler),s(e.getDocument(o),e.keydownEvent,Fi)},hs=(t,n)=>{const s=n?C.addListener:C.removeListener,{triggers:o}=t;o.length&&o.forEach(a=>s(a,e.mouseclickEvent,qi))},gs=(t,n)=>{const{triggers:s,element:o,relatedTarget:a}=t;is(o),e.setElementStyle(o,{paddingRight:"",display:""}),ms(t);const r=ht.relatedTarget||s.find(as);r&&e.focus(r),e.isFunction(n)&&n(),ds.relatedTarget=a,e.dispatchEvent(o,ds)},fs=t=>{const{element:n,relatedTarget:s}=t;e.focus(n),ms(t,!0),cs.relatedTarget=s,e.dispatchEvent(n,cs)},vs=t=>{const{element:n,hasFade:s}=t;e.setElementStyle(n,{display:"block"}),us(t),ke(n)||e.setElementStyle(e.getDocumentBody(n),{overflow:"hidden"}),e.addClass(n,E),e.removeAttribute(n,e.ariaHidden),e.setAttribute(n,e.ariaModal,"true"),s?e.emulateTransitionEnd(n,()=>fs(t)):fs(t)},ps=(t,n)=>{const{element:s,options:o,hasFade:a}=t;o.backdrop&&!n&&a&&e.hasClass($,E)&&!ke(s)?(mt(),e.emulateTransitionEnd($,()=>gs(t))):gs(t,n)},qi=t=>{const{target:n}=t,s=n&&e.closest(n,rs),o=s&&q(s),a=o&&Qe(o);a&&(s&&s.tagName==="A"&&t.preventDefault(),a.relatedTarget=s,a.toggle())},Fi=({code:t,target:n})=>{const s=e.querySelector(ns,e.getDocument(n)),o=s&&Qe(s);if(!o)return;const{options:a}=o;a.keyboard&&t===e.keyEscape&&e.hasClass(s,E)&&(o.relatedTarget=null,o.hide())};function ji(t){const n=Qe(this);if(!n||e.Timer.get(this))return;const{options:s,isStatic:o,modalDialog:a}=n,{backdrop:r}=s,{target:d}=t,c=e.getDocument(this)?.getSelection()?.toString().length,m=a?.contains(d),h=d&&e.closest(d,Ri);o&&!m?e.Timer.set(this,()=>{e.addClass(this,ls),e.emulateTransitionEnd(a,()=>Vi(n))},17):(h||!c&&!o&&!m&&r)&&(n.relatedTarget=h||null,n.hide(),t.preventDefault())}const Vi=t=>{const{element:n,modalDialog:s}=t,o=(e.isHTMLElement(s)?e.getElementTransitionDuration(s):0)+17;e.removeClass(n,ls),e.Timer.set(n,()=>e.Timer.clear(n),o)};class Ut extends J{static selector=Bi;static init=Wi;static getInstance=Qe;constructor(n,s){super(n,s);const{element:o}=this;this.modalDialog=e.querySelector(`.${V}-dialog`,o),this.triggers=[...e.querySelectorAll(rs,e.getDocument(o))].filter(a=>q(a)===o),this.isStatic=this.options.backdrop==="static",this.hasFade=e.hasClass(o,P),this.relatedTarget=null,hs(this,!0),this.update=this.update.bind(this)}get name(){return Wt}get defaults(){return zi}toggle(){e.hasClass(this.element,E)?this.hide():this.show()}show(){const{element:n,options:s,hasFade:o,relatedTarget:a}=this,{backdrop:r}=s;let d=0;if(e.hasClass(n,E)||(ht.relatedTarget=a||void 0,e.dispatchEvent(n,ht),ht.defaultPrevented))return;const c=ke(n);if(c&&c!==n){const m=Qe(c)||e.getInstance(c,qt);m&&m.hide()}r?(Le($)?jt(!0):ss(n,o,!0),d=e.getElementTransitionDuration($),os(),setTimeout(()=>vs(this),d)):(vs(this),c&&e.hasClass($,E)&&mt())}hide(n){const{element:s,hasFade:o,relatedTarget:a}=this;e.hasClass(s,E)&&(Vt.relatedTarget=a||void 0,e.dispatchEvent(s,Vt),!Vt.defaultPrevented&&(e.removeClass(s,E),e.setAttribute(s,e.ariaHidden,"true"),e.removeAttribute(s,e.ariaModal),o?e.emulateTransitionEnd(s,()=>ps(this,n)):ps(this,n)))}update(){e.hasClass(this.element,E)&&us(this)}dispose(){hs(this),this.hide(()=>super.dispose())}}const Ui=`.${K}`,Kt=`[${j}="${K}"]`,Ki=`[${it}="${K}"]`,gt=`${K}-toggling`,Qi={backdrop:!0,keyboard:!0,scroll:!1},Xe=t=>e.getInstance(t,qt),Xi=t=>new Xt(t),ft=e.createCustomEvent(`show.bs.${K}`),Es=e.createCustomEvent(`shown.bs.${K}`),Qt=e.createCustomEvent(`hide.bs.${K}`),bs=e.createCustomEvent(`hidden.bs.${K}`),Yi=t=>{const{element:n}=t,{clientHeight:s,scrollHeight:o}=e.getDocumentElement(n);Jn(n,s!==o)},Cs=(t,n)=>{const s=n?C.addListener:C.removeListener;t.triggers.forEach(o=>s(o,e.mouseclickEvent,Gi))},ys=(t,n)=>{const s=n?C.addListener:C.removeListener,o=e.getDocument(t.element);s(o,e.keydownEvent,Zi),s(o,e.mouseclickEvent,Ji)},Ts=t=>{const{element:n,options:s}=t;s.scroll||(Yi(t),e.setElementStyle(e.getDocumentBody(n),{overflow:"hidden"})),e.addClass(n,gt),e.addClass(n,E),e.setElementStyle(n,{visibility:"visible"}),e.emulateTransitionEnd(n,()=>_i(t))},ws=(t,n)=>{const{element:s,options:o}=t,a=ke(s);s.blur(),!a&&o.backdrop&&e.hasClass($,E)?(mt(),e.emulateTransitionEnd($,()=>Ss(t,n))):Ss(t,n)},Gi=t=>{const n=e.closest(t.target,Kt),s=n&&q(n),o=s&&Xe(s);o&&(o.relatedTarget=n,o.toggle(),n&&n.tagName==="A"&&t.preventDefault())},Ji=t=>{const{target:n}=t,s=e.querySelector(Ft,e.getDocument(n)),o=e.querySelector(Ki,s),a=s&&Xe(s);if(!a)return;const{options:r,triggers:d}=a,{backdrop:c}=r,m=e.closest(n,Kt),h=e.getDocument(s).getSelection();$.contains(n)&&c==="static"||(!(h&&h.toString().length)&&(!s.contains(n)&&c&&(!m||d.includes(n))||o&&o.contains(n))&&(a.relatedTarget=o&&o.contains(n)?o:null,a.hide()),m&&m.tagName==="A"&&t.preventDefault())},Zi=({code:t,target:n})=>{const s=e.querySelector(Ft,e.getDocument(n)),o=s&&Xe(s);o&&o.options.keyboard&&t===e.keyEscape&&(o.relatedTarget=null,o.hide())},_i=t=>{const{element:n}=t;e.removeClass(n,gt),e.removeAttribute(n,e.ariaHidden),e.setAttribute(n,e.ariaModal,"true"),e.setAttribute(n,"role","dialog"),e.dispatchEvent(n,Es),ys(t,!0),e.focus(n)},Ss=(t,n)=>{const{element:s,triggers:o}=t;e.setAttribute(s,e.ariaHidden,"true"),e.removeAttribute(s,e.ariaModal),e.removeAttribute(s,"role"),e.setElementStyle(s,{visibility:""});const a=ft.relatedTarget||o.find(as);a&&e.focus(a),is(s),e.dispatchEvent(s,bs),e.removeClass(s,gt),ke(s)||ys(t),e.isFunction(n)&&n()};class Xt extends J{static selector=Ui;static init=Xi;static getInstance=Xe;constructor(n,s){super(n,s);const{element:o}=this;this.triggers=[...e.querySelectorAll(Kt,e.getDocument(o))].filter(a=>q(a)===o),this.relatedTarget=null,Cs(this,!0)}get name(){return qt}get defaults(){return Qi}toggle(){e.hasClass(this.element,E)?this.hide():this.show()}show(){const{element:n,options:s,relatedTarget:o}=this;let a=0;if(e.hasClass(n,E)||(ft.relatedTarget=o||void 0,Es.relatedTarget=o||void 0,e.dispatchEvent(n,ft),ft.defaultPrevented))return;const r=ke(n);if(r&&r!==n){const d=Xe(r)||e.getInstance(r,Wt);d&&d.hide()}s.backdrop?(Le($)?jt():ss(n,!0),a=e.getElementTransitionDuration($),os(),setTimeout(()=>Ts(this),a)):(Ts(this),r&&e.hasClass($,E)&&mt())}hide(n){const{element:s,relatedTarget:o}=this;e.hasClass(s,E)&&(Qt.relatedTarget=o||void 0,bs.relatedTarget=o||void 0,e.dispatchEvent(s,Qt),!Qt.defaultPrevented&&(e.addClass(s,gt),e.removeClass(s,E),n?ws(this,n):e.emulateTransitionEnd(s,()=>ws(this,n))))}dispose(){Cs(this),this.hide(()=>super.dispose())}}const Ie="popover",vt="Popover",re="tooltip",As=t=>{const n=t===re,s=n?`${t}-inner`:`${t}-body`,o=n?"":`<h3 class="${t}-header"></h3>`,a=`<div class="${t}-arrow"></div>`,r=`<div class="${s}"></div>`;return`<div class="${t}" role="${re}">${o+a+r}</div>`},Ds={top:"top",bottom:"bottom",left:"start",right:"end"},Yt=t=>{const n=/\b(top|bottom|start|end)+/,{element:s,tooltip:o,container:a,options:r,arrow:d}=t;if(!o)return;const c={...Ds},m=e.isRTL(s);e.setElementStyle(o,{top:"",left:"",right:"",bottom:""});const h=t.name===vt,{offsetWidth:p,offsetHeight:v}=o,{clientWidth:b,clientHeight:S,offsetWidth:R}=e.getDocumentElement(s);let{placement:y}=r;const{clientWidth:M,offsetWidth:z}=a,X=e.getElementStyle(a,"position")==="fixed",A=Math.abs(X?M-z:b-R),Y=m&&X?A:0,U=b-(m?0:A)-1,{width:L,height:O,left:w,right:ce,top:x}=e.getBoundingClientRect(s,!0),{x:D,y:ee}={x:w,y:x};e.setElementStyle(d,{top:"",left:"",right:"",bottom:""});let ie=0,pe="",te=0,ze="",de="",Pe="",We="";const ae=d.offsetWidth||0,ne=d.offsetHeight||0,qe=ae/2;let Ee=x-v-ne<0,be=x+v+O+ne>=S,Ce=w-p-ae<Y,ye=w+p+L+ae>=U;const Me=["left","right"],Fe=["top","bottom"];Ee=Me.includes(y)?x+O/2-v/2-ne<0:Ee,be=Me.includes(y)?x+v/2+O/2+ne>=S:be,Ce=Fe.includes(y)?w+L/2-p/2<Y:Ce,ye=Fe.includes(y)?w+p/2+L/2>=U:ye,y=Me.includes(y)&&Ce&&ye?"top":y,y=y==="top"&&Ee?"bottom":y,y=y==="bottom"&&be?"top":y,y=y==="left"&&Ce?"right":y,y=y==="right"&&ye?"left":y,o.className.includes(y)||(o.className=o.className.replace(n,c[y])),Me.includes(y)?(y==="left"?te=D-p-(h?ae:0):te=D+L+(h?ae:0),Ee&&be?(ie=0,pe=0,de=x+O/2-ne/2):Ee?(ie=ee,pe="",de=O/2-ae):be?(ie=ee-v+O,pe="",de=v-O/2-ae):(ie=ee-v/2+O/2,de=v/2-ne/2)):Fe.includes(y)&&(y==="top"?ie=ee-v-(h?ne:0):ie=ee+O+(h?ne:0),Ce?(te=0,Pe=D+L/2-qe):ye?(te="auto",ze=0,We=L/2+U-ce-qe):(te=D-p/2+L/2,Pe=p/2-qe)),e.setElementStyle(o,{top:`${ie}px`,bottom:pe===""?"":`${pe}px`,left:te==="auto"?te:`${te}px`,right:ze!==""?`${ze}px`:""}),e.isHTMLElement(d)&&(de!==""&&(d.style.top=`${de}px`),Pe!==""?d.style.left=`${Pe}px`:We!==""&&(d.style.right=`${We}px`));const Et=e.createCustomEvent(`updated.bs.${e.toLowerCase(t.name)}`);e.dispatchEvent(s,Et)},Gt={template:As(re),title:"",customClass:"",trigger:"hover focus",placement:"top",sanitizeFn:void 0,animation:!0,delay:200,container:document.body,content:"",dismissible:!1,btnClose:""},$s="data-original-title",Ne="Tooltip",ve=(t,n,s)=>{if(!(!e.isHTMLElement(t)||e.isString(n)&&!n.length))if(e.isString(n)){let o=n.trim();e.isFunction(s)&&(o=s(o));const r=new DOMParser().parseFromString(o,"text/html");t.append(...r.body.childNodes)}else e.isHTMLElement(n)?t.append(n):(e.isNodeList(n)||e.isArray(n)&&n.every(e.isNode))&&t.append(...n)},xi=t=>{const n=t.name===Ne,{id:s,element:o,options:a}=t,{title:r,placement:d,template:c,animation:m,customClass:h,sanitizeFn:p,dismissible:v,content:b,btnClose:S}=a,R=n?re:Ie,y={...Ds};let M=[],z=[];e.isRTL(o)&&(y.left="end",y.right="start");const le=`bs-${R}-${y[d]}`;let X;if(e.isHTMLElement(c))X=c;else{const w=e.createElement("div");ve(w,c,p),X=w.firstChild}t.tooltip=e.isHTMLElement(X)?X.cloneNode(!0):void 0;const{tooltip:A}=t;if(!A)return;e.setAttribute(A,"id",s),e.setAttribute(A,"role",re);const Y=n?`${re}-inner`:`${Ie}-body`,U=n?null:e.querySelector(`.${Ie}-header`,A),L=e.querySelector(`.${Y}`,A);t.arrow=e.querySelector(`.${R}-arrow`,A);const{arrow:O}=t;if(e.isHTMLElement(r))M=[r.cloneNode(!0)];else{const w=e.createElement("div");ve(w,r,p),M=[...w.childNodes]}if(e.isHTMLElement(b))z=[b.cloneNode(!0)];else{const w=e.createElement("div");ve(w,b,p),z=[...w.childNodes]}if(v)if(r)if(e.isHTMLElement(S))M=[...M,S.cloneNode(!0)];else{const w=e.createElement("div");ve(w,S,p),M=[...M,w.firstChild]}else if(U&&U.remove(),e.isHTMLElement(S))z=[...z,S.cloneNode(!0)];else{const w=e.createElement("div");ve(w,S,p),z=[...z,w.firstChild]}n?r&&L&&ve(L,r,p):(r&&U&&ve(U,M,p),b&&L&&ve(L,z,p),t.btn=e.querySelector(".btn-close",A)||void 0),e.addClass(A,"position-fixed"),e.addClass(O,"position-absolute"),e.hasClass(A,R)||e.addClass(A,R),m&&!e.hasClass(A,P)&&e.addClass(A,P),h&&!e.hasClass(A,h)&&e.addClass(A,h),e.hasClass(A,le)||e.addClass(A,le)},ea=t=>{const n=["HTML","BODY"],s=[];let{parentNode:o}=t;for(;o&&!n.includes(o.nodeName);)o=e.getParentNode(o),e.isShadowRoot(o)||e.isTableElement(o)||s.push(o);return s.find((a,r)=>e.getElementStyle(a,"position")!=="relative"&&s.slice(r+1).every(d=>e.getElementStyle(d,"position")==="static")?a:null)||e.getDocument(t).body},ta=`[${j}="${re}"],[data-tip="${re}"]`,Hs="title";let Ls=t=>e.getInstance(t,Ne);const na=t=>new pt(t),sa=t=>{const{element:n,tooltip:s,container:o,offsetParent:a}=t;e.removeAttribute(n,e.ariaDescribedBy),_n(s,o===a?o:a)},oa=(t,n)=>{const{element:s}=t;Ye(t),e.hasAttribute(s,$s)&&t.name===Ne&&Ms(t),n&&n()},ks=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o}=t;s(e.getDocument(o),e.touchstartEvent,t.handleTouch,e.passiveHandler),[e.scrollEvent,e.resizeEvent].forEach(a=>{s(e.getWindow(o),a,t.update,e.passiveHandler)})},Is=t=>{const{element:n}=t,s=e.createCustomEvent(`shown.bs.${e.toLowerCase(t.name)}`);ks(t,!0),e.dispatchEvent(n,s),e.Timer.clear(n,"in")},Ns=t=>{const{element:n,onHideComplete:s}=t,o=e.createCustomEvent(`hidden.bs.${e.toLowerCase(t.name)}`);ks(t),sa(t),e.dispatchEvent(n,o),e.isFunction(s)&&(s(),t.onHideComplete=void 0),e.Timer.clear(n,"out")},Ye=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o,options:a,btn:r}=t,{trigger:d}=a,m=!!(t.name!==Ne&&a.dismissible);if(d.includes("manual"))return;t.enabled=!!n,d.split(" ").forEach(p=>{p===e.mousehoverEvent?(s(o,e.mousedownEvent,t.show),s(o,e.mouseenterEvent,t.show),m&&r?s(r,e.mouseclickEvent,t.hide):(s(o,e.mouseleaveEvent,t.hide),s(e.getDocument(o),e.touchstartEvent,t.handleTouch,e.passiveHandler))):p===e.mouseclickEvent?s(o,p,m?t.show:t.toggle):p===e.focusEvent&&(s(o,e.focusinEvent,t.show),m||s(o,e.focusoutEvent,t.hide),e.isApple&&s(o,e.mouseclickEvent,()=>e.focus(o)))})},Ps=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o,container:a,offsetParent:r}=t,{offsetHeight:d,scrollHeight:c}=a,m=e.closest(o,`.${V}`),h=e.closest(o,`.${K}`),p=e.getWindow(o),b=a===r&&d!==c?a:p;s(b,e.resizeEvent,t.update,e.passiveHandler),s(b,e.scrollEvent,t.update,e.passiveHandler),m&&s(m,`hide.bs.${V}`,t.hide),h&&s(h,`hide.bs.${K}`,t.hide)},Ms=(t,n)=>{const s=[$s,Hs],{element:o}=t;e.setAttribute(o,s[n?0:1],n||e.getAttribute(o,s[0])||""),e.removeAttribute(o,s[n?1:0])};class pt extends J{static selector=ta;static init=na;static getInstance=Ls;static styleTip=Yt;constructor(n,s){super(n,s);const{element:o}=this,a=this.name===Ne,r=a?re:Ie,d=a?Ne:vt;Ls=m=>e.getInstance(m,d),this.enabled=!0,this.id=`${r}-${e.getUID(o,r)}`;const{options:c}=this;!c.title&&a||!a&&!c.content||(e.ObjectAssign(Gt,{titleAttr:""}),this.handleTouch=this.handleTouch.bind(this),this.update=this.update.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.toggle=this.toggle.bind(this),e.hasAttribute(o,Hs)&&a&&typeof c.title=="string"&&Ms(this,c.title),this.container=ea(o),this.offsetParent=["sticky","fixed"].some(m=>e.getElementStyle(this.container,"position")===m)?this.container:e.getDocument(this.element).body,xi(this),Ye(this,!0))}get name(){return Ne}get defaults(){return Gt}show(){const{options:n,tooltip:s,element:o,container:a,offsetParent:r,id:d}=this,{animation:c}=n,m=e.Timer.get(o,"out"),h=a===r?a:r;e.Timer.clear(o,"out"),s&&!m&&!Le(s,h)&&e.Timer.set(o,()=>{const p=e.createCustomEvent(`show.bs.${e.toLowerCase(this.name)}`);e.dispatchEvent(o,p),!p.defaultPrevented&&(Zn(s,h),e.setAttribute(o,e.ariaDescribedBy,`#${d}`),this.update(),Ps(this,!0),e.hasClass(s,E)||e.addClass(s,E),c?e.emulateTransitionEnd(s,()=>Is(this)):Is(this))},17,"in")}hide(){const{options:n,tooltip:s,element:o,container:a,offsetParent:r}=this,{animation:d,delay:c}=n;e.Timer.clear(o,"in"),s&&Le(s,a===r?a:r)&&e.Timer.set(o,()=>{const m=e.createCustomEvent(`hide.bs.${e.toLowerCase(this.name)}`);e.dispatchEvent(o,m),!m.defaultPrevented&&(this.update(),e.removeClass(s,E),Ps(this),d?e.emulateTransitionEnd(s,()=>Ns(this)):Ns(this))},c+17,"out")}update(){Yt(this)}toggle(){const{tooltip:n,container:s,offsetParent:o}=this;n&&!Le(n,s===o?s:o)?this.show():this.hide()}enable(){const{enabled:n}=this;n||(Ye(this,!0),this.enabled=!n)}disable(){const{tooltip:n,container:s,offsetParent:o,options:a,enabled:r}=this,{animation:d}=a;r&&(n&&Le(n,s===o?s:o)&&d?(this.onHideComplete=()=>Ye(this),this.hide()):Ye(this),this.enabled=!r)}toggleEnabled(){this.enabled?this.disable():this.enable()}handleTouch({target:n}){const{tooltip:s,element:o}=this;s&&s.contains(n)||n===o||n&&o.contains(n)||this.hide()}dispose(){const{tooltip:n,container:s,offsetParent:o,options:a}=this,r=()=>oa(this,()=>super.dispose());a.animation&&n&&Le(n,s===o?s:o)?(this.options.delay=0,this.onHideComplete=r,this.hide()):r()}}const ia=`[${j}="${Ie}"],[data-tip="${Ie}"]`,aa=e.ObjectAssign({},Gt,{template:As(Ie),content:"",dismissible:!1,btnClose:'<button class="btn-close" aria-label="Close"></button>'}),ra=t=>e.getInstance(t,vt),la=t=>new Jt(t);class Jt extends pt{static selector=ia;static init=la;static getInstance=ra;static styleTip=Yt;constructor(n,s){super(n,s)}get name(){return vt}get defaults(){return aa}show(){super.show();const{options:n,btn:s}=this;n.dismissible&&s&&setTimeout(()=>e.focus(s),17)}}const ca="scrollspy",Os="ScrollSpy",da='[data-bs-spy="scroll"]',ua={offset:10,target:null},ma=t=>e.getInstance(t,Os),ha=t=>new Zt(t),Bs=e.createCustomEvent(`activate.bs.${ca}`),ga=t=>{const{target:n,scrollTarget:s,options:o,itemsLength:a,scrollHeight:r,element:d}=t,{offset:c}=o,m=e.isWindow(s),h=n&&e.getElementsByTagName("A",n),p=s?Rs(s):r;if(t.scrollTop=m?s.scrollY:s.scrollTop,h&&(p!==r||a!==h.length)){let v,b,S;t.items=[],t.offsets=[],t.scrollHeight=p,t.maxScroll=t.scrollHeight-fa(t),[...h].forEach(R=>{v=e.getAttribute(R,"href"),b=v&&v.charAt(0)==="#"&&v.slice(-1)!=="#"&&e.querySelector(v,e.getDocument(d)),b&&(t.items.push(R),S=e.getBoundingClientRect(b),t.offsets.push((m?S.top+t.scrollTop:b.offsetTop)-c))}),t.itemsLength=t.items.length}},Rs=t=>e.isHTMLElement(t)?t.scrollHeight:e.getDocumentElement(t).scrollHeight,fa=({element:t,scrollTarget:n})=>e.isWindow(n)?n.innerHeight:e.getBoundingClientRect(t).height,zs=t=>{[...e.getElementsByTagName("A",t)].forEach(n=>{e.hasClass(n,T)&&e.removeClass(n,T)})},Ws=(t,n)=>{const{target:s,element:o}=t;e.isHTMLElement(s)&&zs(s),t.activeItem=n,e.addClass(n,T);const a=[];let r=n;for(;r!==e.getDocumentBody(o);)r=r.parentElement,(e.hasClass(r,"nav")||e.hasClass(r,"dropdown-menu"))&&a.push(r);a.forEach(d=>{const c=d.previousElementSibling;c&&!e.hasClass(c,T)&&e.addClass(c,T)}),Bs.relatedTarget=n,e.dispatchEvent(o,Bs)},qs=(t,n)=>{(n?C.addListener:C.removeListener)(t.scrollTarget,e.scrollEvent,t.refresh,e.passiveHandler)};class Zt extends J{static selector=da;static init=ha;static getInstance=ma;constructor(n,s){super(n,s);const{element:o,options:a}=this;this.target=e.querySelector(a.target,e.getDocument(o)),this.target&&(this.scrollTarget=o.clientHeight<o.scrollHeight?o:e.getWindow(o),this.scrollHeight=Rs(this.scrollTarget),this.refresh=this.refresh.bind(this),qs(this,!0),this.refresh())}get name(){return Os}get defaults(){return ua}refresh(){const{target:n}=this;if(n?.offsetHeight===0)return;ga(this);const{scrollTop:s,maxScroll:o,itemsLength:a,items:r,activeItem:d}=this;if(s>=o){const m=r[a-1];d!==m&&Ws(this,m);return}const{offsets:c}=this;if(d&&s<c[0]&&c[0]>0){this.activeItem=null,n&&zs(n);return}r.forEach((m,h)=>{d!==m&&s>=c[h]&&(typeof c[h+1]>"u"||s<c[h+1])&&Ws(this,m)})}dispose(){qs(this),super.dispose()}}const Ge="tab",Fs="Tab",js=`[${j}="${Ge}"]`,Vs=t=>e.getInstance(t,Fs),va=t=>new en(t),_t=e.createCustomEvent(`show.bs.${Ge}`),Us=e.createCustomEvent(`shown.bs.${Ge}`),xt=e.createCustomEvent(`hide.bs.${Ge}`),Ks=e.createCustomEvent(`hidden.bs.${Ge}`),Je=new Map,Qs=t=>{const{tabContent:n,nav:s}=t;n&&e.hasClass(n,$e)&&(n.style.height="",e.removeClass(n,$e)),s&&e.Timer.clear(s)},Xs=t=>{const{element:n,tabContent:s,content:o,nav:a}=t,{tab:r}=e.isHTMLElement(a)&&Je.get(a)||{tab:null};if(s&&o&&e.hasClass(o,P)){const{currentHeight:d,nextHeight:c}=Je.get(n)||{currentHeight:0,nextHeight:0};d===c?Qs(t):setTimeout(()=>{s.style.height=`${c}px`,e.reflow(s),e.emulateTransitionEnd(s,()=>Qs(t))},50)}else a&&e.Timer.clear(a);Us.relatedTarget=r,e.dispatchEvent(n,Us)},Ys=t=>{const{element:n,content:s,tabContent:o,nav:a}=t,{tab:r,content:d}=a&&Je.get(a)||{tab:null,content:null};let c=0;if(o&&s&&e.hasClass(s,P)&&([d,s].forEach(m=>{e.isHTMLElement(m)&&e.addClass(m,"overflow-hidden")}),c=e.isHTMLElement(d)?d.scrollHeight:0),_t.relatedTarget=r,Ks.relatedTarget=n,e.dispatchEvent(n,_t),!_t.defaultPrevented){if(s&&e.addClass(s,T),d&&e.removeClass(d,T),o&&s&&e.hasClass(s,P)){const m=s.scrollHeight;Je.set(n,{currentHeight:c,nextHeight:m,tab:null,content:null}),e.addClass(o,$e),o.style.height=`${c}px`,e.reflow(o),[d,s].forEach(h=>{h&&e.removeClass(h,"overflow-hidden")})}s&&s&&e.hasClass(s,P)?setTimeout(()=>{e.addClass(s,E),e.emulateTransitionEnd(s,()=>{Xs(t)})},1):(s&&e.addClass(s,E),Xs(t)),r&&e.dispatchEvent(r,Ks)}},Gs=t=>{const{nav:n}=t;if(!e.isHTMLElement(n))return{tab:null,content:null};const s=e.getElementsByClassName(T,n);let o=null;s.length===1&&!He.some(r=>e.hasClass(s[0].parentElement,r))?[o]=s:s.length>1&&(o=s[s.length-1]);const a=e.isHTMLElement(o)?q(o):null;return{tab:o,content:a}},Js=t=>{if(!e.isHTMLElement(t))return null;const n=e.closest(t,`.${He.join(",.")}`);return n?e.querySelector(`.${He[0]}-toggle`,n):null},Zs=(t,n)=>{(n?C.addListener:C.removeListener)(t.element,e.mouseclickEvent,pa)},pa=t=>{const n=Vs(t.target);n&&(t.preventDefault(),n.show())};class en extends J{static selector=js;static init=va;static getInstance=Vs;constructor(n){super(n);const{element:s}=this,o=q(s);if(!o)return;const a=e.closest(s,".nav"),r=e.closest(o,".tab-content");this.nav=a,this.content=o,this.tabContent=r,this.dropdown=Js(s);const{tab:d}=Gs(this);if(a&&!d){const c=e.querySelector(js,a),m=c&&q(c);m&&(e.addClass(c,T),e.addClass(m,E),e.addClass(m,T),e.setAttribute(s,e.ariaSelected,"true"))}Zs(this,!0)}get name(){return Fs}show(){const{element:n,content:s,nav:o,dropdown:a}=this;if(!(o&&e.Timer.get(o))&&!e.hasClass(n,T)){const{tab:r,content:d}=Gs(this);if(o&&Je.set(o,{tab:r,content:d,currentHeight:0,nextHeight:0}),xt.relatedTarget=n,e.isHTMLElement(r)&&e.dispatchEvent(r,xt),xt.defaultPrevented)return;e.addClass(n,T),e.setAttribute(n,e.ariaSelected,"true");const c=e.isHTMLElement(r)&&Js(r);if(c&&e.hasClass(c,T)&&e.removeClass(c,T),o){const m=()=>{r&&(e.removeClass(r,T),e.setAttribute(r,e.ariaSelected,"false")),a&&!e.hasClass(a,T)&&e.addClass(a,T)};d&&(e.hasClass(d,P)||s&&e.hasClass(s,P))?e.Timer.set(o,m,1):m()}d&&(e.removeClass(d,E),e.hasClass(d,P)?e.emulateTransitionEnd(d,()=>Ys(this)):Ys(this))}}dispose(){Zs(this),super.dispose()}}const Q="toast",_s="Toast",Ea=`.${Q}`,ba=`[${it}="${Q}"]`,xs=`[${j}="${Q}"]`,Re="showing",eo="hide",Ca={animation:!0,autohide:!0,delay:5e3},tn=t=>e.getInstance(t,_s),ya=t=>new nn(t),to=e.createCustomEvent(`show.bs.${Q}`),Ta=e.createCustomEvent(`shown.bs.${Q}`),no=e.createCustomEvent(`hide.bs.${Q}`),wa=e.createCustomEvent(`hidden.bs.${Q}`),so=t=>{const{element:n,options:s}=t;e.removeClass(n,Re),e.Timer.clear(n,Re),e.dispatchEvent(n,Ta),s.autohide&&e.Timer.set(n,()=>t.hide(),s.delay,Q)},oo=t=>{const{element:n}=t;e.removeClass(n,Re),e.removeClass(n,E),e.addClass(n,eo),e.Timer.clear(n,Q),e.dispatchEvent(n,wa)},Sa=t=>{const{element:n,options:s}=t;e.addClass(n,Re),s.animation?(e.reflow(n),e.emulateTransitionEnd(n,()=>oo(t))):oo(t)},Aa=t=>{const{element:n,options:s}=t;e.Timer.set(n,()=>{e.removeClass(n,eo),e.reflow(n),e.addClass(n,E),e.addClass(n,Re),s.animation?e.emulateTransitionEnd(n,()=>so(t)):so(t)},17,Re)},io=(t,n)=>{const s=n?C.addListener:C.removeListener,{element:o,triggers:a,dismiss:r,options:d}=t;r&&s(r,e.mouseclickEvent,t.hide),d.autohide&&[e.focusinEvent,e.focusoutEvent,e.mouseenterEvent,e.mouseleaveEvent].forEach(c=>s(o,c,Ha)),a.length&&a.forEach(c=>s(c,e.mouseclickEvent,$a))},Da=t=>{e.Timer.clear(t.element,Q),io(t)},$a=t=>{const{target:n}=t,s=n&&e.closest(n,xs),o=s&&q(s),a=o&&tn(o);a&&(s&&s.tagName==="A"&&t.preventDefault(),a.relatedTarget=s,a.show())},Ha=t=>{const n=t.target,s=tn(n),{type:o,relatedTarget:a}=t;!s||n===a||n.contains(a)||([e.mouseenterEvent,e.focusinEvent].includes(o)?e.Timer.clear(n,Q):e.Timer.set(n,()=>s.hide(),s.options.delay,Q))};class nn extends J{static selector=Ea;static init=ya;static getInstance=tn;constructor(n,s){super(n,s);const{element:o,options:a}=this;a.animation&&!e.hasClass(o,P)?e.addClass(o,P):!a.animation&&e.hasClass(o,P)&&e.removeClass(o,P),this.dismiss=e.querySelector(ba,o),this.triggers=[...e.querySelectorAll(xs,e.getDocument(o))].filter(r=>q(r)===o),this.show=this.show.bind(this),this.hide=this.hide.bind(this),io(this,!0)}get name(){return _s}get defaults(){return Ca}get isShown(){return e.hasClass(this.element,E)}show(){const{element:n,isShown:s}=this;if(n&&!s){if(e.dispatchEvent(n,to),to.defaultPrevented)return;Aa(this)}}hide(){const{element:n,isShown:s}=this;if(n&&s){if(e.dispatchEvent(n,no),no.defaultPrevented)return;Sa(this)}}dispose(){const{element:n,isShown:s}=this;s&&e.removeClass(n,E),Da(this),super.dispose()}}const sn=new Map;[At,Dt,Pt,Mt,zt,Ut,Xt,Jt,Zt,en,nn,pt].forEach(t=>sn.set(t.prototype.name,t));const La=(t,n)=>{[...n].forEach(s=>t(s))},ka=(t,n)=>{const s=e.Data.getAllFor(t);s&&[...s].forEach(([o,a])=>{n.contains(o)&&a.dispose()})},on=t=>{const n=t&&t.nodeName?t:document,s=[...e.getElementsByTagName("*",n)];sn.forEach(o=>{const{init:a,selector:r}=o;La(a,s.filter(d=>e.matches(d,r)))})},Ia=t=>{const n=t&&t.nodeName?t:document;sn.forEach(s=>{ka(s.prototype.name,n)})};return document.body?on():C.addListener(document,"DOMContentLoaded",()=>on(),{once:!0}),N.Alert=At,N.Button=Dt,N.Carousel=Pt,N.Collapse=Mt,N.Dropdown=zt,N.Listener=C,N.Modal=Ut,N.Offcanvas=Xt,N.Popover=Jt,N.ScrollSpy=Zt,N.Tab=en,N.Toast=nn,N.Tooltip=pt,N.initCallback=on,N.removeDataAPI=Ia,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),N}({});
//# sourceMappingURL=bootstrap-native.js.map
{
"name": "bootstrap.native",
"version": "5.0.2",
"version": "5.0.3",
"author": "thednp",

@@ -18,3 +18,2 @@ "license": "MIT",

"test": "npm run pre-test && npx cypress run",
"dev": "npx vite --host --port 8080 --open /docs/index.html",
"cypress": "npx cypress open",

@@ -41,7 +40,5 @@ "coverage:report": "nyc report --reporter=lcov --reporter=json --reporter=text --reporter=json-summary",

"keywords": [
"bootstrap native",
"twitter-bootstrap",
"bootstrap",
"bsn",
"native",
"vanilla javascript",
"typescript"

@@ -48,0 +45,0 @@ ],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc