97 lines
113 KiB
JavaScript
97 lines
113 KiB
JavaScript
import{b as Ll,c as wl,e as Nl}from"./chunk-VBFLGJ4I.min.js";var Ul=Ll((fF,uc)=>{(function(c,t){"use strict";typeof define=="function"&&define.amd?define([],t):typeof uc=="object"&&uc.exports?uc.exports=t():(c.AnchorJS=t(),c.anchors=new c.AnchorJS)})(globalThis,function(){"use strict";function c(t){this.options=t||{},this.elements=[];function i(l){l.icon=Object.prototype.hasOwnProperty.call(l,"icon")?l.icon:"\uE9CB",l.visible=Object.prototype.hasOwnProperty.call(l,"visible")?l.visible:"hover",l.placement=Object.prototype.hasOwnProperty.call(l,"placement")?l.placement:"right",l.ariaLabel=Object.prototype.hasOwnProperty.call(l,"ariaLabel")?l.ariaLabel:"Anchor",l.class=Object.prototype.hasOwnProperty.call(l,"class")?l.class:"",l.base=Object.prototype.hasOwnProperty.call(l,"base")?l.base:"",l.truncate=Object.prototype.hasOwnProperty.call(l,"truncate")?Math.floor(l.truncate):64,l.titleText=Object.prototype.hasOwnProperty.call(l,"titleText")?l.titleText:""}i(this.options),this.add=function(l){var o,I,a,s,g,n,X,r,F,d,G,C=[];if(i(this.options),l||(l="h2, h3, h4, h5, h6"),o=b(l),o.length===0)return this;for(e(),I=document.querySelectorAll("[id]"),a=[].map.call(I,function(B){return B.id}),g=0;g<o.length;g++){if(this.hasAnchorJSLink(o[g])){C.push(g);continue}if(o[g].hasAttribute("id"))s=o[g].getAttribute("id");else if(o[g].hasAttribute("data-anchor-id"))s=o[g].getAttribute("data-anchor-id");else{r=this.urlify(o[g].textContent),F=r,X=0;do n!==void 0&&(F=r+"-"+X),n=a.indexOf(F),X+=1;while(n!==-1);n=void 0,a.push(F),o[g].setAttribute("id",F),s=F}d=document.createElement("a"),d.className="anchorjs-link "+this.options.class,d.setAttribute("aria-label",this.options.ariaLabel),d.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(d.title=this.options.titleText),G=document.querySelector("base")?window.location.pathname+window.location.search:"",G=this.options.base||G,d.href=G+"#"+s,this.options.visible==="always"&&(d.style.opacity="1"),this.options.icon==="\uE9CB"&&(d.style.font="1em/1 anchorjs-icons",this.options.placement==="left"&&(d.style.lineHeight="inherit")),this.options.placement==="left"?(d.style.position="absolute",d.style.marginLeft="-1.25em",d.style.paddingRight=".25em",d.style.paddingLeft=".25em",o[g].insertBefore(d,o[g].firstChild)):(d.style.marginLeft=".1875em",d.style.paddingRight=".1875em",d.style.paddingLeft=".1875em",o[g].appendChild(d))}for(g=0;g<C.length;g++)o.splice(C[g]-g,1);return this.elements=this.elements.concat(o),this},this.remove=function(l){for(var o,I,a=b(l),s=0;s<a.length;s++)I=a[s].querySelector(".anchorjs-link"),I&&(o=this.elements.indexOf(a[s]),o!==-1&&this.elements.splice(o,1),a[s].removeChild(I));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(l){var o=document.createElement("textarea");o.innerHTML=l,l=o.value;var I=/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v\u00A0]/g;return this.options.truncate||i(this.options),l.trim().replace(/'/gi,"").replace(I,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(l){var o=l.firstChild&&(" "+l.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,I=l.lastChild&&(" "+l.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return o||I||!1};function b(l){var o;if(typeof l=="string"||l instanceof String)o=[].slice.call(document.querySelectorAll(l));else if(Array.isArray(l)||l instanceof NodeList)o=[].slice.call(l);else throw new TypeError("The selector provided to AnchorJS was invalid.");return o}function e(){if(document.head.querySelector("style.anchorjs")===null){var l=document.createElement("style"),o=".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",I=":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",a='@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',s="[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",g;l.className="anchorjs",l.appendChild(document.createTextNode("")),g=document.head.querySelector('[rel="stylesheet"],style'),g===void 0?document.head.appendChild(l):document.head.insertBefore(l,g),l.sheet.insertRule(o,l.sheet.cssRules.length),l.sheet.insertRule(I,l.sheet.cssRules.length),l.sheet.insertRule(s,l.sheet.cssRules.length),l.sheet.insertRule(a,l.sheet.cssRules.length)}}}return c})});var ic={};wl(ic,{afterMain:()=>Hb,afterRead:()=>jb,afterWrite:()=>Db,applyStyles:()=>qt,arrow:()=>Di,auto:()=>Zi,basePlacements:()=>st,beforeMain:()=>zb,beforeRead:()=>Nb,beforeWrite:()=>Tb,bottom:()=>v,clippingParents:()=>Vc,computeStyles:()=>ii,createPopper:()=>Ri,createPopperBase:()=>ce,createPopperLite:()=>be,detectOverflow:()=>H,end:()=>Gt,eventListeners:()=>ci,flip:()=>Pi,hide:()=>$i,left:()=>f,main:()=>Sb,modifierPhases:()=>fc,offset:()=>qi,placements:()=>Wi,popper:()=>Yt,popperGenerator:()=>jt,popperOffsets:()=>li,preventOverflow:()=>tc,read:()=>kb,reference:()=>Ac,right:()=>Y,start:()=>at,top:()=>V,variationPlacements:()=>Ei,viewport:()=>Bi,write:()=>Eb});var V="top",v="bottom",Y="right",f="left",Zi="auto",st=[V,v,Y,f],at="start",Gt="end",Vc="clippingParents",Bi="viewport",Yt="popper",Ac="reference",Ei=st.reduce(function(c,t){return c.concat([t+"-"+at,t+"-"+Gt])},[]),Wi=[].concat(st,[Zi]).reduce(function(c,t){return c.concat([t,t+"-"+at,t+"-"+Gt])},[]),Nb="beforeRead",kb="read",jb="afterRead",zb="beforeMain",Sb="main",Hb="afterMain",Tb="beforeWrite",Eb="write",Db="afterWrite",fc=[Nb,kb,jb,zb,Sb,Hb,Tb,Eb,Db];function w(c){return c?(c.nodeName||"").toLowerCase():null}function R(c){if(c==null)return window;if(c.toString()!=="[object Window]"){var t=c.ownerDocument;return t&&t.defaultView||window}return c}function _(c){var t=R(c).Element;return c instanceof t||c instanceof Element}function J(c){var t=R(c).HTMLElement;return c instanceof t||c instanceof HTMLElement}function $t(c){if(typeof ShadowRoot>"u")return!1;var t=R(c).ShadowRoot;return c instanceof t||c instanceof ShadowRoot}function kl(c){var t=c.state;Object.keys(t.elements).forEach(function(i){var b=t.styles[i]||{},e=t.attributes[i]||{},l=t.elements[i];!J(l)||!w(l)||(Object.assign(l.style,b),Object.keys(e).forEach(function(o){var I=e[o];I===!1?l.removeAttribute(o):l.setAttribute(o,I===!0?"":I)}))})}function jl(c){var t=c.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(b){var e=t.elements[b],l=t.attributes[b]||{},o=Object.keys(t.styles.hasOwnProperty(b)?t.styles[b]:i[b]),I=o.reduce(function(a,s){return a[s]="",a},{});!J(e)||!w(e)||(Object.assign(e.style,I),Object.keys(l).forEach(function(a){e.removeAttribute(a)}))})}}var qt={name:"applyStyles",enabled:!0,phase:"write",fn:kl,effect:jl,requires:["computeStyles"]};function N(c){return c.split("-")[0]}var et=Math.max,vt=Math.min,rt=Math.round;function ti(){var c=navigator.userAgentData;return c!=null&&c.brands&&Array.isArray(c.brands)?c.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function pi(){return!/^((?!chrome|android).)*safari/i.test(ti())}function P(c,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var b=c.getBoundingClientRect(),e=1,l=1;t&&J(c)&&(e=c.offsetWidth>0&&rt(b.width)/c.offsetWidth||1,l=c.offsetHeight>0&&rt(b.height)/c.offsetHeight||1);var o=_(c)?R(c):window,I=o.visualViewport,a=!pi()&&i,s=(b.left+(a&&I?I.offsetLeft:0))/e,g=(b.top+(a&&I?I.offsetTop:0))/l,n=b.width/e,X=b.height/l;return{width:n,height:X,top:g,right:s+n,bottom:g+X,left:s,x:s,y:g}}function Ot(c){var t=P(c),i=c.offsetWidth,b=c.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-b)<=1&&(b=t.height),{x:c.offsetLeft,y:c.offsetTop,width:i,height:b}}function xi(c,t){var i=t.getRootNode&&t.getRootNode();if(c.contains(t))return!0;if(i&&$t(i)){var b=t;do{if(b&&c.isSameNode(b))return!0;b=b.parentNode||b.host}while(b)}return!1}function S(c){return R(c).getComputedStyle(c)}function yc(c){return["table","td","th"].indexOf(w(c))>=0}function z(c){return((_(c)?c.ownerDocument:c.document)||window.document).documentElement}function nt(c){return w(c)==="html"?c:c.assignedSlot||c.parentNode||($t(c)?c.host:null)||z(c)}function Mb(c){return!J(c)||S(c).position==="fixed"?null:c.offsetParent}function zl(c){var t=/firefox/i.test(ti()),i=/Trident/i.test(ti());if(i&&J(c)){var b=S(c);if(b.position==="fixed")return null}var e=nt(c);for($t(e)&&(e=e.host);J(e)&&["html","body"].indexOf(w(e))<0;){var l=S(e);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return e;e=e.parentNode}return null}function lt(c){for(var t=R(c),i=Mb(c);i&&yc(i)&&S(i).position==="static";)i=Mb(i);return i&&(w(i)==="html"||w(i)==="body"&&S(i).position==="static")?t:i||zl(c)||t}function Jt(c){return["top","bottom"].indexOf(c)>=0?"x":"y"}function Lt(c,t,i){return et(c,vt(t,i))}function Kb(c,t,i){var b=Lt(c,t,i);return b>i?i:b}function ui(){return{top:0,right:0,bottom:0,left:0}}function Qi(c){return Object.assign({},ui(),c)}function Ui(c,t){return t.reduce(function(i,b){return i[b]=c,i},{})}var Sl=function(t,i){return t=typeof t=="function"?t(Object.assign({},i.rects,{placement:i.placement})):t,Qi(typeof t!="number"?t:Ui(t,st))};function Hl(c){var t,i=c.state,b=c.name,e=c.options,l=i.elements.arrow,o=i.modifiersData.popperOffsets,I=N(i.placement),a=Jt(I),s=[f,Y].indexOf(I)>=0,g=s?"height":"width";if(!(!l||!o)){var n=Sl(e.padding,i),X=Ot(l),r=a==="y"?V:f,F=a==="y"?v:Y,d=i.rects.reference[g]+i.rects.reference[a]-o[a]-i.rects.popper[g],G=o[a]-i.rects.reference[a],C=lt(l),B=C?a==="y"?C.clientHeight||0:C.clientWidth||0:0,Z=d/2-G/2,p=n[r],x=B-X[g]-n[F],Q=B/2-X[g]/2+Z,U=Lt(p,Q,x),h=a;i.modifiersData[b]=(t={},t[h]=U,t.centerOffset=U-Q,t)}}function Tl(c){var t=c.state,i=c.options,b=i.element,e=b===void 0?"[data-popper-arrow]":b;e!=null&&(typeof e=="string"&&(e=t.elements.popper.querySelector(e),!e)||xi(t.elements.popper,e)&&(t.elements.arrow=e))}var Di={name:"arrow",enabled:!0,phase:"main",fn:Hl,effect:Tl,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $(c){return c.split("-")[1]}var El={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Dl(c,t){var i=c.x,b=c.y,e=t.devicePixelRatio||1;return{x:rt(i*e)/e||0,y:rt(b*e)/e||0}}function _b(c){var t,i=c.popper,b=c.popperRect,e=c.placement,l=c.variation,o=c.offsets,I=c.position,a=c.gpuAcceleration,s=c.adaptive,g=c.roundOffsets,n=c.isFixed,X=o.x,r=X===void 0?0:X,F=o.y,d=F===void 0?0:F,G=typeof g=="function"?g({x:r,y:d}):{x:r,y:d};r=G.x,d=G.y;var C=o.hasOwnProperty("x"),B=o.hasOwnProperty("y"),Z=f,p=V,x=window;if(s){var Q=lt(i),U="clientHeight",h="clientWidth";if(Q===R(i)&&(Q=z(i),S(Q).position!=="static"&&I==="absolute"&&(U="scrollHeight",h="scrollWidth")),Q=Q,e===V||(e===f||e===Y)&&l===Gt){p=v;var A=n&&Q===x&&x.visualViewport?x.visualViewport.height:Q[U];d-=A-b.height,d*=a?1:-1}if(e===f||(e===V||e===v)&&l===Gt){Z=Y;var y=n&&Q===x&&x.visualViewport?x.visualViewport.width:Q[h];r-=y-b.width,r*=a?1:-1}}var O=Object.assign({position:I},s&&El),T=g===!0?Dl({x:r,y:d},R(i)):{x:r,y:d};if(r=T.x,d=T.y,a){var j;return Object.assign({},O,(j={},j[p]=B?"0":"",j[Z]=C?"0":"",j.transform=(x.devicePixelRatio||1)<=1?"translate("+r+"px, "+d+"px)":"translate3d("+r+"px, "+d+"px, 0)",j))}return Object.assign({},O,(t={},t[p]=B?d+"px":"",t[Z]=C?r+"px":"",t.transform="",t))}function Ml(c){var t=c.state,i=c.options,b=i.gpuAcceleration,e=b===void 0?!0:b,l=i.adaptive,o=l===void 0?!0:l,I=i.roundOffsets,a=I===void 0?!0:I,s={placement:N(t.placement),variation:$(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,_b(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,_b(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ii={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ml,data:{}};var Mi={passive:!0};function Kl(c){var t=c.state,i=c.instance,b=c.options,e=b.scroll,l=e===void 0?!0:e,o=b.resize,I=o===void 0?!0:o,a=R(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&s.forEach(function(g){g.addEventListener("scroll",i.update,Mi)}),I&&a.addEventListener("resize",i.update,Mi),function(){l&&s.forEach(function(g){g.removeEventListener("scroll",i.update,Mi)}),I&&a.removeEventListener("resize",i.update,Mi)}}var ci={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Kl,data:{}};var _l={left:"right",right:"left",bottom:"top",top:"bottom"};function bi(c){return c.replace(/left|right|bottom|top/g,function(t){return _l[t]})}var Pl={start:"end",end:"start"};function Ki(c){return c.replace(/start|end/g,function(t){return Pl[t]})}function wt(c){var t=R(c),i=t.pageXOffset,b=t.pageYOffset;return{scrollLeft:i,scrollTop:b}}function Nt(c){return P(z(c)).left+wt(c).scrollLeft}function Yc(c,t){var i=R(c),b=z(c),e=i.visualViewport,l=b.clientWidth,o=b.clientHeight,I=0,a=0;if(e){l=e.width,o=e.height;var s=pi();(s||!s&&t==="fixed")&&(I=e.offsetLeft,a=e.offsetTop)}return{width:l,height:o,x:I+Nt(c),y:a}}function vc(c){var t,i=z(c),b=wt(c),e=(t=c.ownerDocument)==null?void 0:t.body,l=et(i.scrollWidth,i.clientWidth,e?e.scrollWidth:0,e?e.clientWidth:0),o=et(i.scrollHeight,i.clientHeight,e?e.scrollHeight:0,e?e.clientHeight:0),I=-b.scrollLeft+Nt(c),a=-b.scrollTop;return S(e||i).direction==="rtl"&&(I+=et(i.clientWidth,e?e.clientWidth:0)-l),{width:l,height:o,x:I,y:a}}function kt(c){var t=S(c),i=t.overflow,b=t.overflowX,e=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+e+b)}function _i(c){return["html","body","#document"].indexOf(w(c))>=0?c.ownerDocument.body:J(c)&&kt(c)?c:_i(nt(c))}function Xt(c,t){var i;t===void 0&&(t=[]);var b=_i(c),e=b===((i=c.ownerDocument)==null?void 0:i.body),l=R(b),o=e?[l].concat(l.visualViewport||[],kt(b)?b:[]):b,I=t.concat(o);return e?I:I.concat(Xt(nt(o)))}function ei(c){return Object.assign({},c,{left:c.x,top:c.y,right:c.x+c.width,bottom:c.y+c.height})}function $l(c,t){var i=P(c,!1,t==="fixed");return i.top=i.top+c.clientTop,i.left=i.left+c.clientLeft,i.bottom=i.top+c.clientHeight,i.right=i.left+c.clientWidth,i.width=c.clientWidth,i.height=c.clientHeight,i.x=i.left,i.y=i.top,i}function Pb(c,t,i){return t===Bi?ei(Yc(c,i)):_(t)?$l(t,i):ei(vc(z(c)))}function ql(c){var t=Xt(nt(c)),i=["absolute","fixed"].indexOf(S(c).position)>=0,b=i&&J(c)?lt(c):c;return _(b)?t.filter(function(e){return _(e)&&xi(e,b)&&w(e)!=="body"}):[]}function Oc(c,t,i,b){var e=t==="clippingParents"?ql(c):[].concat(t),l=[].concat(e,[i]),o=l[0],I=l.reduce(function(a,s){var g=Pb(c,s,b);return a.top=et(g.top,a.top),a.right=vt(g.right,a.right),a.bottom=vt(g.bottom,a.bottom),a.left=et(g.left,a.left),a},Pb(c,o,b));return I.width=I.right-I.left,I.height=I.bottom-I.top,I.x=I.left,I.y=I.top,I}function hi(c){var t=c.reference,i=c.element,b=c.placement,e=b?N(b):null,l=b?$(b):null,o=t.x+t.width/2-i.width/2,I=t.y+t.height/2-i.height/2,a;switch(e){case V:a={x:o,y:t.y-i.height};break;case v:a={x:o,y:t.y+t.height};break;case Y:a={x:t.x+t.width,y:I};break;case f:a={x:t.x-i.width,y:I};break;default:a={x:t.x,y:t.y}}var s=e?Jt(e):null;if(s!=null){var g=s==="y"?"height":"width";switch(l){case at:a[s]=a[s]-(t[g]/2-i[g]/2);break;case Gt:a[s]=a[s]+(t[g]/2-i[g]/2);break;default:}}return a}function H(c,t){t===void 0&&(t={});var i=t,b=i.placement,e=b===void 0?c.placement:b,l=i.strategy,o=l===void 0?c.strategy:l,I=i.boundary,a=I===void 0?Vc:I,s=i.rootBoundary,g=s===void 0?Bi:s,n=i.elementContext,X=n===void 0?Yt:n,r=i.altBoundary,F=r===void 0?!1:r,d=i.padding,G=d===void 0?0:d,C=Qi(typeof G!="number"?G:Ui(G,st)),B=X===Yt?Ac:Yt,Z=c.rects.popper,p=c.elements[F?B:X],x=Oc(_(p)?p:p.contextElement||z(c.elements.popper),a,g,o),Q=P(c.elements.reference),U=hi({reference:Q,element:Z,strategy:"absolute",placement:e}),h=ei(Object.assign({},Z,U)),A=X===Yt?h:Q,y={top:x.top-A.top+C.top,bottom:A.bottom-x.bottom+C.bottom,left:x.left-A.left+C.left,right:A.right-x.right+C.right},O=c.modifiersData.offset;if(X===Yt&&O){var T=O[e];Object.keys(y).forEach(function(j){var Rt=[Y,v].indexOf(j)>=0?1:-1,Vt=[V,v].indexOf(j)>=0?"y":"x";y[j]+=T[Vt]*Rt})}return y}function Jc(c,t){t===void 0&&(t={});var i=t,b=i.placement,e=i.boundary,l=i.rootBoundary,o=i.padding,I=i.flipVariations,a=i.allowedAutoPlacements,s=a===void 0?Wi:a,g=$(b),n=g?I?Ei:Ei.filter(function(F){return $(F)===g}):st,X=n.filter(function(F){return s.indexOf(F)>=0});X.length===0&&(X=n);var r=X.reduce(function(F,d){return F[d]=H(c,{placement:d,boundary:e,rootBoundary:l,padding:o})[N(d)],F},{});return Object.keys(r).sort(function(F,d){return r[F]-r[d]})}function to(c){if(N(c)===Zi)return[];var t=bi(c);return[Ki(c),t,Ki(t)]}function io(c){var t=c.state,i=c.options,b=c.name;if(!t.modifiersData[b]._skip){for(var e=i.mainAxis,l=e===void 0?!0:e,o=i.altAxis,I=o===void 0?!0:o,a=i.fallbackPlacements,s=i.padding,g=i.boundary,n=i.rootBoundary,X=i.altBoundary,r=i.flipVariations,F=r===void 0?!0:r,d=i.allowedAutoPlacements,G=t.options.placement,C=N(G),B=C===G,Z=a||(B||!F?[bi(G)]:to(G)),p=[G].concat(Z).reduce(function(Pt,Ct){return Pt.concat(N(Ct)===Zi?Jc(t,{placement:Ct,boundary:g,rootBoundary:n,padding:s,flipVariations:F,allowedAutoPlacements:d}):Ct)},[]),x=t.rects.reference,Q=t.rects.popper,U=new Map,h=!0,A=p[0],y=0;y<p.length;y++){var O=p[y],T=N(O),j=$(O)===at,Rt=[V,v].indexOf(T)>=0,Vt=Rt?"width":"height",M=H(t,{placement:O,boundary:g,rootBoundary:n,altBoundary:X,padding:s}),bt=Rt?j?Y:f:j?v:V;x[Vt]>Q[Vt]&&(bt=bi(bt));var ji=bi(bt),At=[];if(l&&At.push(M[T]<=0),I&&At.push(M[bt]<=0,M[ji]<=0),At.every(function(Pt){return Pt})){A=O,h=!1;break}U.set(O,At)}if(h)for(var zi=F?3:1,Qc=function(Ct){var Xi=p.find(function(Hi){var ft=U.get(Hi);if(ft)return ft.slice(0,Ct).every(function(Uc){return Uc})});if(Xi)return A=Xi,"break"},Gi=zi;Gi>0;Gi--){var Si=Qc(Gi);if(Si==="break")break}t.placement!==A&&(t.modifiersData[b]._skip=!0,t.placement=A,t.reset=!0)}}var Pi={name:"flip",enabled:!0,phase:"main",fn:io,requiresIfExists:["offset"],data:{_skip:!1}};function $b(c,t,i){return i===void 0&&(i={x:0,y:0}),{top:c.top-t.height-i.y,right:c.right-t.width+i.x,bottom:c.bottom-t.height+i.y,left:c.left-t.width-i.x}}function qb(c){return[V,Y,v,f].some(function(t){return c[t]>=0})}function co(c){var t=c.state,i=c.name,b=t.rects.reference,e=t.rects.popper,l=t.modifiersData.preventOverflow,o=H(t,{elementContext:"reference"}),I=H(t,{altBoundary:!0}),a=$b(o,b),s=$b(I,e,l),g=qb(a),n=qb(s);t.modifiersData[i]={referenceClippingOffsets:a,popperEscapeOffsets:s,isReferenceHidden:g,hasPopperEscaped:n},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":g,"data-popper-escaped":n})}var $i={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:co};function bo(c,t,i){var b=N(c),e=[f,V].indexOf(b)>=0?-1:1,l=typeof i=="function"?i(Object.assign({},t,{placement:c})):i,o=l[0],I=l[1];return o=o||0,I=(I||0)*e,[f,Y].indexOf(b)>=0?{x:I,y:o}:{x:o,y:I}}function eo(c){var t=c.state,i=c.options,b=c.name,e=i.offset,l=e===void 0?[0,0]:e,o=Wi.reduce(function(g,n){return g[n]=bo(n,t.rects,l),g},{}),I=o[t.placement],a=I.x,s=I.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=s),t.modifiersData[b]=o}var qi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:eo};function lo(c){var t=c.state,i=c.name;t.modifiersData[i]=hi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var li={name:"popperOffsets",enabled:!0,phase:"read",fn:lo,data:{}};function Lc(c){return c==="x"?"y":"x"}function oo(c){var t=c.state,i=c.options,b=c.name,e=i.mainAxis,l=e===void 0?!0:e,o=i.altAxis,I=o===void 0?!1:o,a=i.boundary,s=i.rootBoundary,g=i.altBoundary,n=i.padding,X=i.tether,r=X===void 0?!0:X,F=i.tetherOffset,d=F===void 0?0:F,G=H(t,{boundary:a,rootBoundary:s,padding:n,altBoundary:g}),C=N(t.placement),B=$(t.placement),Z=!B,p=Jt(C),x=Lc(p),Q=t.modifiersData.popperOffsets,U=t.rects.reference,h=t.rects.popper,A=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,y=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(Q){if(l){var j,Rt=p==="y"?V:f,Vt=p==="y"?v:Y,M=p==="y"?"height":"width",bt=Q[p],ji=bt+G[Rt],At=bt-G[Vt],zi=r?-h[M]/2:0,Qc=B===at?U[M]:h[M],Gi=B===at?-h[M]:-U[M],Si=t.elements.arrow,Pt=r&&Si?Ot(Si):{width:0,height:0},Ct=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ui(),Xi=Ct[Rt],Hi=Ct[Vt],ft=Lt(0,U[M],Pt[M]),Uc=Z?U[M]/2-zi-ft-Xi-y.mainAxis:Qc-ft-Xi-y.mainAxis,fl=Z?-U[M]/2+zi+ft+Hi+y.mainAxis:Gi+ft+Hi+y.mainAxis,hc=t.elements.arrow&<(t.elements.arrow),yl=hc?p==="y"?hc.clientTop||0:hc.clientLeft||0:0,Ab=(j=O?.[p])!=null?j:0,Yl=bt+Uc-Ab-yl,vl=bt+fl-Ab,fb=Lt(r?vt(ji,Yl):ji,bt,r?et(At,vl):At);Q[p]=fb,T[p]=fb-bt}if(I){var yb,Ol=p==="x"?V:f,Jl=p==="x"?v:Y,yt=Q[x],Ti=x==="y"?"height":"width",Yb=yt+G[Ol],vb=yt-G[Jl],Rc=[V,f].indexOf(C)!==-1,Ob=(yb=O?.[x])!=null?yb:0,Jb=Rc?Yb:yt-U[Ti]-h[Ti]-Ob+y.altAxis,Lb=Rc?yt+U[Ti]+h[Ti]-Ob-y.altAxis:vb,wb=r&&Rc?Kb(Jb,yt,Lb):Lt(r?Jb:Yb,yt,r?Lb:vb);Q[x]=wb,T[x]=wb-yt}t.modifiersData[b]=T}}var tc={name:"preventOverflow",enabled:!0,phase:"main",fn:oo,requiresIfExists:["offset"]};function wc(c){return{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}}function Nc(c){return c===R(c)||!J(c)?wt(c):wc(c)}function ao(c){var t=c.getBoundingClientRect(),i=rt(t.width)/c.offsetWidth||1,b=rt(t.height)/c.offsetHeight||1;return i!==1||b!==1}function kc(c,t,i){i===void 0&&(i=!1);var b=J(t),e=J(t)&&ao(t),l=z(t),o=P(c,e,i),I={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(b||!b&&!i)&&((w(t)!=="body"||kt(l))&&(I=Nc(t)),J(t)?(a=P(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):l&&(a.x=Nt(l))),{x:o.left+I.scrollLeft-a.x,y:o.top+I.scrollTop-a.y,width:o.width,height:o.height}}function Io(c){var t=new Map,i=new Set,b=[];c.forEach(function(l){t.set(l.name,l)});function e(l){i.add(l.name);var o=[].concat(l.requires||[],l.requiresIfExists||[]);o.forEach(function(I){if(!i.has(I)){var a=t.get(I);a&&e(a)}}),b.push(l)}return c.forEach(function(l){i.has(l.name)||e(l)}),b}function jc(c){var t=Io(c);return fc.reduce(function(i,b){return i.concat(t.filter(function(e){return e.phase===b}))},[])}function zc(c){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(c())})})),t}}function Sc(c){var t=c.reduce(function(i,b){var e=i[b.name];return i[b.name]=e?Object.assign({},e,b,{options:Object.assign({},e.options,b.options),data:Object.assign({},e.data,b.data)}):b,i},{});return Object.keys(t).map(function(i){return t[i]})}var te={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var c=arguments.length,t=new Array(c),i=0;i<c;i++)t[i]=arguments[i];return!t.some(function(b){return!(b&&typeof b.getBoundingClientRect=="function")})}function jt(c){c===void 0&&(c={});var t=c,i=t.defaultModifiers,b=i===void 0?[]:i,e=t.defaultOptions,l=e===void 0?te:e;return function(I,a,s){s===void 0&&(s=l);var g={placement:"bottom",orderedModifiers:[],options:Object.assign({},te,l),modifiersData:{},elements:{reference:I,popper:a},attributes:{},styles:{}},n=[],X=!1,r={state:g,setOptions:function(C){var B=typeof C=="function"?C(g.options):C;d(),g.options=Object.assign({},l,g.options,B),g.scrollParents={reference:_(I)?Xt(I):I.contextElement?Xt(I.contextElement):[],popper:Xt(a)};var Z=jc(Sc([].concat(b,g.options.modifiers)));return g.orderedModifiers=Z.filter(function(p){return p.enabled}),F(),r.update()},forceUpdate:function(){if(!X){var C=g.elements,B=C.reference,Z=C.popper;if(ie(B,Z)){g.rects={reference:kc(B,lt(Z),g.options.strategy==="fixed"),popper:Ot(Z)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach(function(y){return g.modifiersData[y.name]=Object.assign({},y.data)});for(var p=0;p<g.orderedModifiers.length;p++){if(g.reset===!0){g.reset=!1,p=-1;continue}var x=g.orderedModifiers[p],Q=x.fn,U=x.options,h=U===void 0?{}:U,A=x.name;typeof Q=="function"&&(g=Q({state:g,options:h,name:A,instance:r})||g)}}}},update:zc(function(){return new Promise(function(G){r.forceUpdate(),G(g)})}),destroy:function(){d(),X=!0}};if(!ie(I,a))return r;r.setOptions(s).then(function(G){!X&&s.onFirstUpdate&&s.onFirstUpdate(G)});function F(){g.orderedModifiers.forEach(function(G){var C=G.name,B=G.options,Z=B===void 0?{}:B,p=G.effect;if(typeof p=="function"){var x=p({state:g,name:C,instance:r,options:Z}),Q=function(){};n.push(x||Q)}})}function d(){n.forEach(function(G){return G()}),n=[]}return r}}var ce=jt();var go=[ci,li,ii,qt],be=jt({defaultModifiers:go});var so=[ci,li,ii,qt,qi,Pi,tc,Di,$i],Ri=jt({defaultModifiers:so});var Zt=new Map,Hc={set(c,t,i){Zt.has(c)||Zt.set(c,new Map);let b=Zt.get(c);if(!b.has(t)&&b.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(b.keys())[0]}.`);return}b.set(t,i)},get(c,t){return Zt.has(c)&&Zt.get(c).get(t)||null},remove(c,t){if(!Zt.has(c))return;let i=Zt.get(c);i.delete(t),i.size===0&&Zt.delete(c)}},ro=1e6,no=1e3,ob="transitionend",ye=c=>(c&&window.CSS&&window.CSS.escape&&(c=c.replace(/#([^\s"#']+)/g,(t,i)=>`#${CSS.escape(i)}`)),c),mo=c=>c==null?`${c}`:Object.prototype.toString.call(c).match(/\s([a-z]+)/i)[1].toLowerCase(),Fo=c=>{do c+=Math.floor(Math.random()*ro);while(document.getElementById(c));return c},Co=c=>{if(!c)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(c),b=Number.parseFloat(t),e=Number.parseFloat(i);return!b&&!e?0:(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*no)},Ye=c=>{c.dispatchEvent(new Event(ob))},dt=c=>!c||typeof c!="object"?!1:(typeof c.jquery<"u"&&(c=c[0]),typeof c.nodeType<"u"),Bt=c=>dt(c)?c.jquery?c[0]:c:typeof c=="string"&&c.length>0?document.querySelector(ye(c)):null,di=c=>{if(!dt(c)||c.getClientRects().length===0)return!1;let t=getComputedStyle(c).getPropertyValue("visibility")==="visible",i=c.closest("details:not([open])");if(!i)return t;if(i!==c){let b=c.closest("summary");if(b&&b.parentNode!==i||b===null)return!1}return t},Wt=c=>!c||c.nodeType!==Node.ELEMENT_NODE||c.classList.contains("disabled")?!0:typeof c.disabled<"u"?c.disabled:c.hasAttribute("disabled")&&c.getAttribute("disabled")!=="false",ve=c=>{if(!document.documentElement.attachShadow)return null;if(typeof c.getRootNode=="function"){let t=c.getRootNode();return t instanceof ShadowRoot?t:null}return c instanceof ShadowRoot?c:c.parentNode?ve(c.parentNode):null},sc=()=>{},vi=c=>{c.offsetHeight},Oe=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Tc=[],Go=c=>{document.readyState==="loading"?(Tc.length||document.addEventListener("DOMContentLoaded",()=>{for(let t of Tc)t()}),Tc.push(c)):c()},q=()=>document.documentElement.dir==="rtl",it=c=>{Go(()=>{let t=Oe();if(t){let i=c.NAME,b=t.fn[i];t.fn[i]=c.jQueryInterface,t.fn[i].Constructor=c,t.fn[i].noConflict=()=>(t.fn[i]=b,c.jQueryInterface)}})},E=(c,t=[],i=c)=>typeof c=="function"?c.call(...t):i,Je=(c,t,i=!0)=>{if(!i){E(c);return}let e=Co(t)+5,l=!1,o=({target:I})=>{I===t&&(l=!0,t.removeEventListener(ob,o),E(c))};t.addEventListener(ob,o),setTimeout(()=>{l||Ye(t)},e)},rb=(c,t,i,b)=>{let e=c.length,l=c.indexOf(t);return l===-1?!i&&b?c[e-1]:c[0]:(l+=i?1:-1,b&&(l=(l+e)%e),c[Math.max(0,Math.min(l,e-1))])},Xo=/[^.]*(?=\..*)\.|.*/,Zo=/\..*/,Bo=/::\d+$/,Ec={},ee=1,Le={mouseenter:"mouseover",mouseleave:"mouseout"},Wo=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function we(c,t){return t&&`${t}::${ee++}`||c.uidEvent||ee++}function Ne(c){let t=we(c);return c.uidEvent=t,Ec[t]=Ec[t]||{},Ec[t]}function po(c,t){return function i(b){return nb(b,{delegateTarget:c}),i.oneOff&&m.off(c,b.type,t),t.apply(c,[b])}}function xo(c,t,i){return function b(e){let l=c.querySelectorAll(t);for(let{target:o}=e;o&&o!==this;o=o.parentNode)for(let I of l)if(I===o)return nb(e,{delegateTarget:o}),b.oneOff&&m.off(c,e.type,t,i),i.apply(o,[e])}}function ke(c,t,i=null){return Object.values(c).find(b=>b.callable===t&&b.delegationSelector===i)}function je(c,t,i){let b=typeof t=="string",e=b?i:t||i,l=ze(c);return Wo.has(l)||(l=c),[b,e,l]}function le(c,t,i,b,e){if(typeof t!="string"||!c)return;let[l,o,I]=je(t,i,b);t in Le&&(o=(F=>function(d){if(!d.relatedTarget||d.relatedTarget!==d.delegateTarget&&!d.delegateTarget.contains(d.relatedTarget))return F.call(this,d)})(o));let a=Ne(c),s=a[I]||(a[I]={}),g=ke(s,o,l?i:null);if(g){g.oneOff=g.oneOff&&e;return}let n=we(o,t.replace(Xo,"")),X=l?xo(c,i,o):po(c,o);X.delegationSelector=l?i:null,X.callable=o,X.oneOff=e,X.uidEvent=n,s[n]=X,c.addEventListener(I,X,l)}function ab(c,t,i,b,e){let l=ke(t[i],b,e);l&&(c.removeEventListener(i,l,!!e),delete t[i][l.uidEvent])}function uo(c,t,i,b){let e=t[i]||{};for(let[l,o]of Object.entries(e))l.includes(b)&&ab(c,t,i,o.callable,o.delegationSelector)}function ze(c){return c=c.replace(Zo,""),Le[c]||c}var m={on(c,t,i,b){le(c,t,i,b,!1)},one(c,t,i,b){le(c,t,i,b,!0)},off(c,t,i,b){if(typeof t!="string"||!c)return;let[e,l,o]=je(t,i,b),I=o!==t,a=Ne(c),s=a[o]||{},g=t.startsWith(".");if(typeof l<"u"){if(!Object.keys(s).length)return;ab(c,a,o,l,e?i:null);return}if(g)for(let n of Object.keys(a))uo(c,a,n,t.slice(1));for(let[n,X]of Object.entries(s)){let r=n.replace(Bo,"");(!I||t.includes(r))&&ab(c,a,o,X.callable,X.delegationSelector)}},trigger(c,t,i){if(typeof t!="string"||!c)return null;let b=Oe(),e=ze(t),l=t!==e,o=null,I=!0,a=!0,s=!1;l&&b&&(o=b.Event(t,i),b(c).trigger(o),I=!o.isPropagationStopped(),a=!o.isImmediatePropagationStopped(),s=o.isDefaultPrevented());let g=nb(new Event(t,{bubbles:I,cancelable:!0}),i);return s&&g.preventDefault(),a&&c.dispatchEvent(g),g.defaultPrevented&&o&&o.preventDefault(),g}};function nb(c,t={}){for(let[i,b]of Object.entries(t))try{c[i]=b}catch{Object.defineProperty(c,i,{configurable:!0,get(){return b}})}return c}function oe(c){if(c==="true")return!0;if(c==="false")return!1;if(c===Number(c).toString())return Number(c);if(c===""||c==="null")return null;if(typeof c!="string")return c;try{return JSON.parse(decodeURIComponent(c))}catch{return c}}function Dc(c){return c.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var mt={setDataAttribute(c,t,i){c.setAttribute(`data-bs-${Dc(t)}`,i)},removeDataAttribute(c,t){c.removeAttribute(`data-bs-${Dc(t)}`)},getDataAttributes(c){if(!c)return{};let t={},i=Object.keys(c.dataset).filter(b=>b.startsWith("bs")&&!b.startsWith("bsConfig"));for(let b of i){let e=b.replace(/^bs/,"");e=e.charAt(0).toLowerCase()+e.slice(1),t[e]=oe(c.dataset[b])}return t},getDataAttribute(c,t){return oe(c.getAttribute(`data-bs-${Dc(t)}`))}},Ht=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,i){let b=dt(i)?mt.getDataAttribute(i,"config"):{};return{...this.constructor.Default,...typeof b=="object"?b:{},...dt(i)?mt.getDataAttributes(i):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(let[b,e]of Object.entries(i)){let l=t[b],o=dt(l)?"element":mo(l);if(!new RegExp(e).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${b}" provided type "${o}" but expected type "${e}".`)}}},Qo="5.3.8",K=class extends Ht{constructor(t,i){super(),t=Bt(t),t&&(this._element=t,this._config=this._getConfig(i),Hc.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Hc.remove(this._element,this.constructor.DATA_KEY),m.off(this._element,this.constructor.EVENT_KEY);for(let t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,i,b=!0){Je(t,i,b)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Hc.get(Bt(t),this.DATA_KEY)}static getOrCreateInstance(t,i={}){return this.getInstance(t)||new this(t,typeof i=="object"?i:null)}static get VERSION(){return Qo}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},Mc=c=>{let t=c.getAttribute("data-bs-target");if(!t||t==="#"){let i=c.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&i!=="#"?i.trim():null}return t?t.split(",").map(i=>ye(i)).join(","):null},W={find(c,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,c))},findOne(c,t=document.documentElement){return Element.prototype.querySelector.call(t,c)},children(c,t){return[].concat(...c.children).filter(i=>i.matches(t))},parents(c,t){let i=[],b=c.parentNode.closest(t);for(;b;)i.push(b),b=b.parentNode.closest(t);return i},prev(c,t){let i=c.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(c,t){let i=c.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(c){let t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(i=>`${i}:not([tabindex^="-"])`).join(",");return this.find(t,c).filter(i=>!Wt(i)&&di(i))},getSelectorFromElement(c){let t=Mc(c);return t&&W.findOne(t)?t:null},getElementFromSelector(c){let t=Mc(c);return t?W.findOne(t):null},getMultipleElementsFromSelector(c){let t=Mc(c);return t?W.find(t):[]}},Bc=(c,t="hide")=>{let i=`click.dismiss${c.EVENT_KEY}`,b=c.NAME;m.on(document,i,`[data-bs-dismiss="${b}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Wt(this))return;let l=W.getElementFromSelector(this)||this.closest(`.${b}`);c.getOrCreateInstance(l)[t]()})},Uo="alert",ho="bs.alert",Se=`.${ho}`,Ro=`close${Se}`,Vo=`closed${Se}`,Ao="fade",fo="show",rc=class c extends K{static get NAME(){return Uo}close(){if(m.trigger(this._element,Ro).defaultPrevented)return;this._element.classList.remove(fo);let i=this._element.classList.contains(Ao);this._queueCallback(()=>this._destroyElement(),this._element,i)}_destroyElement(){this._element.remove(),m.trigger(this._element,Vo),this.dispose()}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}};Bc(rc,"close");it(rc);var yo="button",Yo="bs.button",vo=`.${Yo}`,Oo=".data-api",Jo="active",ae='[data-bs-toggle="button"]',Lo=`click${vo}${Oo}`,nc=class c extends K{static get NAME(){return yo}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Jo))}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this);t==="toggle"&&i[t]()})}};m.on(document,Lo,ae,c=>{c.preventDefault();let t=c.target.closest(ae);nc.getOrCreateInstance(t).toggle()});it(nc);var wo="swipe",mi=".bs.swipe",No=`touchstart${mi}`,ko=`touchmove${mi}`,jo=`touchend${mi}`,zo=`pointerdown${mi}`,So=`pointerup${mi}`,Ho="touch",To="pen",Eo="pointer-event",Do=40,Mo={endCallback:null,leftCallback:null,rightCallback:null},Ko={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},dc=class c extends Ht{constructor(t,i){super(),this._element=t,!(!t||!c.isSupported())&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Mo}static get DefaultType(){return Ko}static get NAME(){return wo}dispose(){m.off(this._element,mi)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),E(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){let t=Math.abs(this._deltaX);if(t<=Do)return;let i=t/this._deltaX;this._deltaX=0,i&&E(i>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(m.on(this._element,zo,t=>this._start(t)),m.on(this._element,So,t=>this._end(t)),this._element.classList.add(Eo)):(m.on(this._element,No,t=>this._start(t)),m.on(this._element,ko,t=>this._move(t)),m.on(this._element,jo,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===To||t.pointerType===Ho)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},_o="carousel",Po="bs.carousel",ut=`.${Po}`,He=".data-api",$o="ArrowLeft",qo="ArrowRight",ta=500,Vi="next",oi="prev",Ii="left",Ic="right",ia=`slide${ut}`,Kc=`slid${ut}`,ca=`keydown${ut}`,ba=`mouseenter${ut}`,ea=`mouseleave${ut}`,la=`dragstart${ut}`,oa=`load${ut}${He}`,aa=`click${ut}${He}`,Te="carousel",cc="active",Ia="slide",ga="carousel-item-end",sa="carousel-item-start",ra="carousel-item-next",na="carousel-item-prev",Ee=".active",De=".carousel-item",da=Ee+De,ma=".carousel-item img",Fa=".carousel-indicators",Ca="[data-bs-slide], [data-bs-slide-to]",Ga='[data-bs-ride="carousel"]',Xa={[$o]:Ic,[qo]:Ii},Za={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ba={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},fi=class c extends K{constructor(t,i){super(t,i),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=W.findOne(Fa,this._element),this._addEventListeners(),this._config.ride===Te&&this.cycle()}static get Default(){return Za}static get DefaultType(){return Ba}static get NAME(){return _o}next(){this._slide(Vi)}nextWhenVisible(){!document.hidden&&di(this._element)&&this.next()}prev(){this._slide(oi)}pause(){this._isSliding&&Ye(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){m.one(this._element,Kc,()=>this.cycle());return}this.cycle()}}to(t){let i=this._getItems();if(t>i.length-1||t<0)return;if(this._isSliding){m.one(this._element,Kc,()=>this.to(t));return}let b=this._getItemIndex(this._getActive());if(b===t)return;let e=t>b?Vi:oi;this._slide(e,i[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&m.on(this._element,ca,t=>this._keydown(t)),this._config.pause==="hover"&&(m.on(this._element,ba,()=>this.pause()),m.on(this._element,ea,()=>this._maybeEnableCycle())),this._config.touch&&dc.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let b of W.find(ma,this._element))m.on(b,la,e=>e.preventDefault());let i={leftCallback:()=>this._slide(this._directionToOrder(Ii)),rightCallback:()=>this._slide(this._directionToOrder(Ic)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),ta+this._config.interval))}};this._swipeHelper=new dc(this._element,i)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;let i=Xa[t.key];i&&(t.preventDefault(),this._slide(this._directionToOrder(i)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;let i=W.findOne(Ee,this._indicatorsElement);i.classList.remove(cc),i.removeAttribute("aria-current");let b=W.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);b&&(b.classList.add(cc),b.setAttribute("aria-current","true"))}_updateInterval(){let t=this._activeElement||this._getActive();if(!t)return;let i=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=i||this._config.defaultInterval}_slide(t,i=null){if(this._isSliding)return;let b=this._getActive(),e=t===Vi,l=i||rb(this._getItems(),b,e,this._config.wrap);if(l===b)return;let o=this._getItemIndex(l),I=r=>m.trigger(this._element,r,{relatedTarget:l,direction:this._orderToDirection(t),from:this._getItemIndex(b),to:o});if(I(ia).defaultPrevented||!b||!l)return;let s=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=l;let g=e?sa:ga,n=e?ra:na;l.classList.add(n),vi(l),b.classList.add(g),l.classList.add(g);let X=()=>{l.classList.remove(g,n),l.classList.add(cc),b.classList.remove(cc,n,g),this._isSliding=!1,I(Kc)};this._queueCallback(X,b,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains(Ia)}_getActive(){return W.findOne(da,this._element)}_getItems(){return W.find(De,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return q()?t===Ii?oi:Vi:t===Ii?Vi:oi}_orderToDirection(t){return q()?t===oi?Ii:Ic:t===oi?Ic:Ii}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this,t);if(typeof t=="number"){i.to(t);return}if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}};m.on(document,aa,Ca,function(c){let t=W.getElementFromSelector(this);if(!t||!t.classList.contains(Te))return;c.preventDefault();let i=fi.getOrCreateInstance(t),b=this.getAttribute("data-bs-slide-to");if(b){i.to(b),i._maybeEnableCycle();return}if(mt.getDataAttribute(this,"slide")==="next"){i.next(),i._maybeEnableCycle();return}i.prev(),i._maybeEnableCycle()});m.on(window,oa,()=>{let c=W.find(Ga);for(let t of c)fi.getOrCreateInstance(t)});it(fi);var Wa="collapse",pa="bs.collapse",Oi=`.${pa}`,xa=".data-api",ua=`show${Oi}`,Qa=`shown${Oi}`,Ua=`hide${Oi}`,ha=`hidden${Oi}`,Ra=`click${Oi}${xa}`,_c="show",si="collapse",bc="collapsing",Va="collapsed",Aa=`:scope .${si} .${si}`,fa="collapse-horizontal",ya="width",Ya="height",va=".collapse.show, .collapse.collapsing",Ib='[data-bs-toggle="collapse"]',Oa={parent:null,toggle:!0},Ja={parent:"(null|element)",toggle:"boolean"},mc=class c extends K{constructor(t,i){super(t,i),this._isTransitioning=!1,this._triggerArray=[];let b=W.find(Ib);for(let e of b){let l=W.getSelectorFromElement(e),o=W.find(l).filter(I=>I===this._element);l!==null&&o.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Oa}static get DefaultType(){return Ja}static get NAME(){return Wa}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(va).filter(I=>I!==this._element).map(I=>c.getOrCreateInstance(I,{toggle:!1}))),t.length&&t[0]._isTransitioning||m.trigger(this._element,ua).defaultPrevented)return;for(let I of t)I.hide();let b=this._getDimension();this._element.classList.remove(si),this._element.classList.add(bc),this._element.style[b]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let e=()=>{this._isTransitioning=!1,this._element.classList.remove(bc),this._element.classList.add(si,_c),this._element.style[b]="",m.trigger(this._element,Qa)},o=`scroll${b[0].toUpperCase()+b.slice(1)}`;this._queueCallback(e,this._element,!0),this._element.style[b]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||m.trigger(this._element,Ua).defaultPrevented)return;let i=this._getDimension();this._element.style[i]=`${this._element.getBoundingClientRect()[i]}px`,vi(this._element),this._element.classList.add(bc),this._element.classList.remove(si,_c);for(let e of this._triggerArray){let l=W.getElementFromSelector(e);l&&!this._isShown(l)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;let b=()=>{this._isTransitioning=!1,this._element.classList.remove(bc),this._element.classList.add(si),m.trigger(this._element,ha)};this._element.style[i]="",this._queueCallback(b,this._element,!0)}_isShown(t=this._element){return t.classList.contains(_c)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Bt(t.parent),t}_getDimension(){return this._element.classList.contains(fa)?ya:Ya}_initializeChildren(){if(!this._config.parent)return;let t=this._getFirstLevelChildren(Ib);for(let i of t){let b=W.getElementFromSelector(i);b&&this._addAriaAndCollapsedClass([i],this._isShown(b))}}_getFirstLevelChildren(t){let i=W.find(Aa,this._config.parent);return W.find(t,this._config.parent).filter(b=>!i.includes(b))}_addAriaAndCollapsedClass(t,i){if(t.length)for(let b of t)b.classList.toggle(Va,!i),b.setAttribute("aria-expanded",i)}static jQueryInterface(t){let i={};return typeof t=="string"&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){let b=c.getOrCreateInstance(this,i);if(typeof t=="string"){if(typeof b[t]>"u")throw new TypeError(`No method named "${t}"`);b[t]()}})}};m.on(document,Ra,Ib,function(c){(c.target.tagName==="A"||c.delegateTarget&&c.delegateTarget.tagName==="A")&&c.preventDefault();for(let t of W.getMultipleElementsFromSelector(this))mc.getOrCreateInstance(t,{toggle:!1}).toggle()});it(mc);var Ie="dropdown",La="bs.dropdown",Tt=`.${La}`,db=".data-api",wa="Escape",ge="Tab",Na="ArrowUp",se="ArrowDown",ka=2,ja=`hide${Tt}`,za=`hidden${Tt}`,Sa=`show${Tt}`,Ha=`shown${Tt}`,Me=`click${Tt}${db}`,Ke=`keydown${Tt}${db}`,Ta=`keyup${Tt}${db}`,gi="show",Ea="dropup",Da="dropend",Ma="dropstart",Ka="dropup-center",_a="dropdown-center",zt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Pa=`${zt}.${gi}`,gc=".dropdown-menu",$a=".navbar",qa=".navbar-nav",tI=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",iI=q()?"top-end":"top-start",cI=q()?"top-start":"top-end",bI=q()?"bottom-end":"bottom-start",eI=q()?"bottom-start":"bottom-end",lI=q()?"left-start":"right-start",oI=q()?"right-start":"left-start",aI="top",II="bottom",gI={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},sI={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},pt=class c extends K{constructor(t,i){super(t,i),this._popper=null,this._parent=this._element.parentNode,this._menu=W.next(this._element,gc)[0]||W.prev(this._element,gc)[0]||W.findOne(gc,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return gI}static get DefaultType(){return sI}static get NAME(){return Ie}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Wt(this._element)||this._isShown())return;let t={relatedTarget:this._element};if(!m.trigger(this._element,Sa,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(qa))for(let b of[].concat(...document.body.children))m.on(b,"mouseover",sc);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(gi),this._element.classList.add(gi),m.trigger(this._element,Ha,t)}}hide(){if(Wt(this._element)||!this._isShown())return;let t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!m.trigger(this._element,ja,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(let b of[].concat(...document.body.children))m.off(b,"mouseover",sc);this._popper&&this._popper.destroy(),this._menu.classList.remove(gi),this._element.classList.remove(gi),this._element.setAttribute("aria-expanded","false"),mt.removeDataAttribute(this._menu,"popper"),m.trigger(this._element,za,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!dt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Ie.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ic>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:dt(this._config.reference)?t=Bt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);let i=this._getPopperConfig();this._popper=Ri(t,this._menu,i)}_isShown(){return this._menu.classList.contains(gi)}_getPlacement(){let t=this._parent;if(t.classList.contains(Da))return lI;if(t.classList.contains(Ma))return oI;if(t.classList.contains(Ka))return aI;if(t.classList.contains(_a))return II;let i=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Ea)?i?cI:iI:i?eI:bI}_detectNavbar(){return this._element.closest($a)!==null}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_getPopperConfig(){let t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(mt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...E(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:i}){let b=W.find(tI,this._menu).filter(e=>di(e));b.length&&rb(b,i,t===se,!b.includes(i)).focus()}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}static clearMenus(t){if(t.button===ka||t.type==="keyup"&&t.key!==ge)return;let i=W.find(Pa);for(let b of i){let e=c.getInstance(b);if(!e||e._config.autoClose===!1)continue;let l=t.composedPath(),o=l.includes(e._menu);if(l.includes(e._element)||e._config.autoClose==="inside"&&!o||e._config.autoClose==="outside"&&o||e._menu.contains(t.target)&&(t.type==="keyup"&&t.key===ge||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let I={relatedTarget:e._element};t.type==="click"&&(I.clickEvent=t),e._completeHide(I)}}static dataApiKeydownHandler(t){let i=/input|textarea/i.test(t.target.tagName),b=t.key===wa,e=[Na,se].includes(t.key);if(!e&&!b||i&&!b)return;t.preventDefault();let l=this.matches(zt)?this:W.prev(this,zt)[0]||W.next(this,zt)[0]||W.findOne(zt,t.delegateTarget.parentNode),o=c.getOrCreateInstance(l);if(e){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),l.focus())}};m.on(document,Ke,zt,pt.dataApiKeydownHandler);m.on(document,Ke,gc,pt.dataApiKeydownHandler);m.on(document,Me,pt.clearMenus);m.on(document,Ta,pt.clearMenus);m.on(document,Me,zt,function(c){c.preventDefault(),pt.getOrCreateInstance(this).toggle()});it(pt);var _e="backdrop",rI="fade",re="show",ne=`mousedown.bs.${_e}`,nI={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},dI={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Fc=class extends Ht{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return nI}static get DefaultType(){return dI}static get NAME(){return _e}show(t){if(!this._config.isVisible){E(t);return}this._append();let i=this._getElement();this._config.isAnimated&&vi(i),i.classList.add(re),this._emulateAnimation(()=>{E(t)})}hide(t){if(!this._config.isVisible){E(t);return}this._getElement().classList.remove(re),this._emulateAnimation(()=>{this.dispose(),E(t)})}dispose(){this._isAppended&&(m.off(this._element,ne),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(rI),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Bt(t.rootElement),t}_append(){if(this._isAppended)return;let t=this._getElement();this._config.rootElement.append(t),m.on(t,ne,()=>{E(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Je(t,this._getElement(),this._config.isAnimated)}},mI="focustrap",FI="bs.focustrap",Cc=`.${FI}`,CI=`focusin${Cc}`,GI=`keydown.tab${Cc}`,XI="Tab",ZI="forward",de="backward",BI={autofocus:!0,trapElement:null},WI={autofocus:"boolean",trapElement:"element"},Gc=class extends Ht{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return BI}static get DefaultType(){return WI}static get NAME(){return mI}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),m.off(document,Cc),m.on(document,CI,t=>this._handleFocusin(t)),m.on(document,GI,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,m.off(document,Cc))}_handleFocusin(t){let{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;let b=W.focusableChildren(i);b.length===0?i.focus():this._lastTabNavDirection===de?b[b.length-1].focus():b[0].focus()}_handleKeydown(t){t.key===XI&&(this._lastTabNavDirection=t.shiftKey?de:ZI)}},me=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Fe=".sticky-top",ec="padding-right",Ce="margin-right",yi=class{constructor(){this._element=document.body}getWidth(){let t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ec,i=>i+t),this._setElementAttributes(me,ec,i=>i+t),this._setElementAttributes(Fe,Ce,i=>i-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ec),this._resetElementAttributes(me,ec),this._resetElementAttributes(Fe,Ce)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,i,b){let e=this.getWidth(),l=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+e)return;this._saveInitialAttribute(o,i);let I=window.getComputedStyle(o).getPropertyValue(i);o.style.setProperty(i,`${b(Number.parseFloat(I))}px`)};this._applyManipulationCallback(t,l)}_saveInitialAttribute(t,i){let b=t.style.getPropertyValue(i);b&&mt.setDataAttribute(t,i,b)}_resetElementAttributes(t,i){let b=e=>{let l=mt.getDataAttribute(e,i);if(l===null){e.style.removeProperty(i);return}mt.removeDataAttribute(e,i),e.style.setProperty(i,l)};this._applyManipulationCallback(t,b)}_applyManipulationCallback(t,i){if(dt(t)){i(t);return}for(let b of W.find(t,this._element))i(b)}},pI="modal",xI="bs.modal",tt=`.${xI}`,uI=".data-api",QI="Escape",UI=`hide${tt}`,hI=`hidePrevented${tt}`,Pe=`hidden${tt}`,$e=`show${tt}`,RI=`shown${tt}`,VI=`resize${tt}`,AI=`click.dismiss${tt}`,fI=`mousedown.dismiss${tt}`,yI=`keydown.dismiss${tt}`,YI=`click${tt}${uI}`,Ge="modal-open",vI="fade",Xe="show",Pc="modal-static",OI=".modal.show",JI=".modal-dialog",LI=".modal-body",wI='[data-bs-toggle="modal"]',NI={backdrop:!0,focus:!0,keyboard:!0},kI={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},ri=class c extends K{constructor(t,i){super(t,i),this._dialog=W.findOne(JI,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yi,this._addEventListeners()}static get Default(){return NI}static get DefaultType(){return kI}static get NAME(){return pI}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||m.trigger(this._element,$e,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ge),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||m.trigger(this._element,UI).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xe),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){m.off(window,tt),m.off(this._dialog,tt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Fc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Gc({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;let i=W.findOne(LI,this._dialog);i&&(i.scrollTop=0),vi(this._element),this._element.classList.add(Xe);let b=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,m.trigger(this._element,RI,{relatedTarget:t})};this._queueCallback(b,this._dialog,this._isAnimated())}_addEventListeners(){m.on(this._element,yI,t=>{if(t.key===QI){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),m.on(window,VI,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),m.on(this._element,fI,t=>{m.one(this._element,AI,i=>{if(!(this._element!==t.target||this._element!==i.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ge),this._resetAdjustments(),this._scrollBar.reset(),m.trigger(this._element,Pe)})}_isAnimated(){return this._element.classList.contains(vI)}_triggerBackdropTransition(){if(m.trigger(this._element,hI).defaultPrevented)return;let i=this._element.scrollHeight>document.documentElement.clientHeight,b=this._element.style.overflowY;b==="hidden"||this._element.classList.contains(Pc)||(i||(this._element.style.overflowY="hidden"),this._element.classList.add(Pc),this._queueCallback(()=>{this._element.classList.remove(Pc),this._queueCallback(()=>{this._element.style.overflowY=b},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),b=i>0;if(b&&!t){let e=q()?"paddingLeft":"paddingRight";this._element.style[e]=`${i}px`}if(!b&&t){let e=q()?"paddingRight":"paddingLeft";this._element.style[e]=`${i}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){let b=c.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof b[t]>"u")throw new TypeError(`No method named "${t}"`);b[t](i)}})}};m.on(document,YI,wI,function(c){let t=W.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&c.preventDefault(),m.one(t,$e,e=>{e.defaultPrevented||m.one(t,Pe,()=>{di(this)&&this.focus()})});let i=W.findOne(OI);i&&ri.getInstance(i).hide(),ri.getOrCreateInstance(t).toggle(this)});Bc(ri);it(ri);var jI="offcanvas",zI="bs.offcanvas",Ft=`.${zI}`,qe=".data-api",SI=`load${Ft}${qe}`,HI="Escape",Ze="show",Be="showing",We="hiding",TI="offcanvas-backdrop",tl=".offcanvas.show",EI=`show${Ft}`,DI=`shown${Ft}`,MI=`hide${Ft}`,pe=`hidePrevented${Ft}`,il=`hidden${Ft}`,KI=`resize${Ft}`,_I=`click${Ft}${qe}`,PI=`keydown.dismiss${Ft}`,$I='[data-bs-toggle="offcanvas"]',qI={backdrop:!0,keyboard:!0,scroll:!1},tg={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},xt=class c extends K{constructor(t,i){super(t,i),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return qI}static get DefaultType(){return tg}static get NAME(){return jI}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||m.trigger(this._element,EI,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yi().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Be);let b=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ze),this._element.classList.remove(Be),m.trigger(this._element,DI,{relatedTarget:t})};this._queueCallback(b,this._element,!0)}hide(){if(!this._isShown||m.trigger(this._element,MI).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(We),this._backdrop.hide();let i=()=>{this._element.classList.remove(Ze,We),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yi().reset(),m.trigger(this._element,il)};this._queueCallback(i,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let t=()=>{if(this._config.backdrop==="static"){m.trigger(this._element,pe);return}this.hide()},i=!!this._config.backdrop;return new Fc({className:TI,isVisible:i,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:i?t:null})}_initializeFocusTrap(){return new Gc({trapElement:this._element})}_addEventListeners(){m.on(this._element,PI,t=>{if(t.key===HI){if(this._config.keyboard){this.hide();return}m.trigger(this._element,pe)}})}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}};m.on(document,_I,$I,function(c){let t=W.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&c.preventDefault(),Wt(this))return;m.one(t,il,()=>{di(this)&&this.focus()});let i=W.findOne(tl);i&&i!==t&&xt.getInstance(i).hide(),xt.getOrCreateInstance(t).toggle(this)});m.on(window,SI,()=>{for(let c of W.find(tl))xt.getOrCreateInstance(c).show()});m.on(window,KI,()=>{for(let c of W.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(c).position!=="fixed"&&xt.getOrCreateInstance(c).hide()});Bc(xt);it(xt);var ig=/^aria-[\w-]*$/i,cl={"*":["class","dir","id","lang","role",ig],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},cg=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),bg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,eg=(c,t)=>{let i=c.nodeName.toLowerCase();return t.includes(i)?cg.has(i)?!!bg.test(c.nodeValue):!0:t.filter(b=>b instanceof RegExp).some(b=>b.test(i))};function lg(c,t,i){if(!c.length)return c;if(i&&typeof i=="function")return i(c);let e=new window.DOMParser().parseFromString(c,"text/html"),l=[].concat(...e.body.querySelectorAll("*"));for(let o of l){let I=o.nodeName.toLowerCase();if(!Object.keys(t).includes(I)){o.remove();continue}let a=[].concat(...o.attributes),s=[].concat(t["*"]||[],t[I]||[]);for(let g of a)eg(g,s)||o.removeAttribute(g.nodeName)}return e.body.innerHTML}var og="TemplateFactory",ag={allowList:cl,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ig={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},gg={entry:"(string|element|function|null)",selector:"(string|element)"},gb=class extends Ht{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ag}static get DefaultType(){return Ig}static get NAME(){return og}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){let t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(let[e,l]of Object.entries(this._config.content))this._setContent(t,l,e);let i=t.children[0],b=this._resolvePossibleFunction(this._config.extraClass);return b&&i.classList.add(...b.split(" ")),i}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(let[i,b]of Object.entries(t))super._typeCheckConfig({selector:i,entry:b},gg)}_setContent(t,i,b){let e=W.findOne(b,t);if(e){if(i=this._resolvePossibleFunction(i),!i){e.remove();return}if(dt(i)){this._putElementInTemplate(Bt(i),e);return}if(this._config.html){e.innerHTML=this._maybeSanitize(i);return}e.textContent=i}}_maybeSanitize(t){return this._config.sanitize?lg(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return E(t,[void 0,this])}_putElementInTemplate(t,i){if(this._config.html){i.innerHTML="",i.append(t);return}i.textContent=t.textContent}},sg="tooltip",rg=new Set(["sanitize","allowList","sanitizeFn"]),$c="fade",ng="modal",lc="show",dg=".tooltip-inner",xe=`.${ng}`,ue="hide.bs.modal",Ai="hover",qc="focus",tb="click",mg="manual",Fg="hide",Cg="hidden",Gg="show",Xg="shown",Zg="inserted",Bg="click",Wg="focusin",pg="focusout",xg="mouseenter",ug="mouseleave",Qg={AUTO:"auto",TOP:"top",RIGHT:q()?"left":"right",BOTTOM:"bottom",LEFT:q()?"right":"left"},Ug={allowList:cl,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},hg={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},ni=class c extends K{constructor(t,i){if(typeof ic>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,i),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ug}static get DefaultType(){return hg}static get NAME(){return sg}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),m.off(this._element.closest(xe),ue,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;let t=m.trigger(this._element,this.constructor.eventName(Gg)),b=(ve(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!b)return;this._disposePopper();let e=this._getTipElement();this._element.setAttribute("aria-describedby",e.getAttribute("id"));let{container:l}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(e),m.trigger(this._element,this.constructor.eventName(Zg))),this._popper=this._createPopper(e),e.classList.add(lc),"ontouchstart"in document.documentElement)for(let I of[].concat(...document.body.children))m.on(I,"mouseover",sc);let o=()=>{m.trigger(this._element,this.constructor.eventName(Xg)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||m.trigger(this._element,this.constructor.eventName(Fg)).defaultPrevented)return;if(this._getTipElement().classList.remove(lc),"ontouchstart"in document.documentElement)for(let e of[].concat(...document.body.children))m.off(e,"mouseover",sc);this._activeTrigger[tb]=!1,this._activeTrigger[qc]=!1,this._activeTrigger[Ai]=!1,this._isHovered=null;let b=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),m.trigger(this._element,this.constructor.eventName(Cg)))};this._queueCallback(b,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){let i=this._getTemplateFactory(t).toHtml();if(!i)return null;i.classList.remove($c,lc),i.classList.add(`bs-${this.constructor.NAME}-auto`);let b=Fo(this.constructor.NAME).toString();return i.setAttribute("id",b),this._isAnimated()&&i.classList.add($c),i}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new gb({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[dg]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains($c)}_isShown(){return this.tip&&this.tip.classList.contains(lc)}_createPopper(t){let i=E(this._config.placement,[this,t,this._element]),b=Qg[i.toUpperCase()];return Ri(this._element,t,this._getPopperConfig(b))}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_resolvePossibleFunction(t){return E(t,[this._element,this._element])}_getPopperConfig(t){let i={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:b=>{this._getTipElement().setAttribute("data-popper-placement",b.state.placement)}}]};return{...i,...E(this._config.popperConfig,[void 0,i])}}_setListeners(){let t=this._config.trigger.split(" ");for(let i of t)if(i==="click")m.on(this._element,this.constructor.eventName(Bg),this._config.selector,b=>{let e=this._initializeOnDelegatedTarget(b);e._activeTrigger[tb]=!(e._isShown()&&e._activeTrigger[tb]),e.toggle()});else if(i!==mg){let b=i===Ai?this.constructor.eventName(xg):this.constructor.eventName(Wg),e=i===Ai?this.constructor.eventName(ug):this.constructor.eventName(pg);m.on(this._element,b,this._config.selector,l=>{let o=this._initializeOnDelegatedTarget(l);o._activeTrigger[l.type==="focusin"?qc:Ai]=!0,o._enter()}),m.on(this._element,e,this._config.selector,l=>{let o=this._initializeOnDelegatedTarget(l);o._activeTrigger[l.type==="focusout"?qc:Ai]=o._element.contains(l.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(xe),ue,this._hideModalHandler)}_fixTitle(){let t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,i){clearTimeout(this._timeout),this._timeout=setTimeout(t,i)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){let i=mt.getDataAttributes(this._element);for(let b of Object.keys(i))rg.has(b)&&delete i[b];return t={...i,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Bt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){let t={};for(let[i,b]of Object.entries(this._config))this.constructor.Default[i]!==b&&(t[i]=b);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}};it(ni);var Rg="popover",Vg=".popover-header",Ag=".popover-body",fg={...ni.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},yg={...ni.DefaultType,content:"(null|string|element|function)"},sb=class c extends ni{static get Default(){return fg}static get DefaultType(){return yg}static get NAME(){return Rg}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Vg]:this._getTitle(),[Ag]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}};it(sb);var Yg="scrollspy",vg="bs.scrollspy",mb=`.${vg}`,Og=".data-api",Jg=`activate${mb}`,Qe=`click${mb}`,Lg=`load${mb}${Og}`,wg="dropdown-item",ai="active",Ng='[data-bs-spy="scroll"]',ib="[href]",kg=".nav, .list-group",Ue=".nav-link",jg=".nav-item",zg=".list-group-item",Sg=`${Ue}, ${jg} > ${Ue}, ${zg}`,Hg=".dropdown",Tg=".dropdown-toggle",Eg={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Dg={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},Xc=class c extends K{constructor(t,i){super(t,i),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Eg}static get DefaultType(){return Dg}static get NAME(){return Yg}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Bt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(i=>Number.parseFloat(i))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(m.off(this._config.target,Qe),m.on(this._config.target,Qe,ib,t=>{let i=this._observableSections.get(t.target.hash);if(i){t.preventDefault();let b=this._rootElement||window,e=i.offsetTop-this._element.offsetTop;if(b.scrollTo){b.scrollTo({top:e,behavior:"smooth"});return}b.scrollTop=e}}))}_getNewObserver(){let t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(i=>this._observerCallback(i),t)}_observerCallback(t){let i=o=>this._targetLinks.get(`#${o.target.id}`),b=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(i(o))},e=(this._rootElement||document.documentElement).scrollTop,l=e>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=e;for(let o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(i(o));continue}let I=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(l&&I){if(b(o),!e)return;continue}!l&&!I&&b(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let t=W.find(ib,this._config.target);for(let i of t){if(!i.hash||Wt(i))continue;let b=W.findOne(decodeURI(i.hash),this._element);di(b)&&(this._targetLinks.set(decodeURI(i.hash),i),this._observableSections.set(i.hash,b))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(ai),this._activateParents(t),m.trigger(this._element,Jg,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(wg)){W.findOne(Tg,t.closest(Hg)).classList.add(ai);return}for(let i of W.parents(t,kg))for(let b of W.prev(i,Sg))b.classList.add(ai)}_clearActiveClass(t){t.classList.remove(ai);let i=W.find(`${ib}.${ai}`,t);for(let b of i)b.classList.remove(ai)}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}};m.on(window,Lg,()=>{for(let c of W.find(Ng))Xc.getOrCreateInstance(c)});it(Xc);var Mg="tab",Kg="bs.tab",Et=`.${Kg}`,_g=`hide${Et}`,Pg=`hidden${Et}`,$g=`show${Et}`,qg=`shown${Et}`,ts=`click${Et}`,is=`keydown${Et}`,cs=`load${Et}`,bs="ArrowLeft",he="ArrowRight",es="ArrowUp",Re="ArrowDown",cb="Home",Ve="End",St="active",Ae="fade",bb="show",ls="dropdown",bl=".dropdown-toggle",os=".dropdown-menu",eb=`:not(${bl})`,as='.list-group, .nav, [role="tablist"]',Is=".nav-item, .list-group-item",gs=`.nav-link${eb}, .list-group-item${eb}, [role="tab"]${eb}`,el='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',lb=`${gs}, ${el}`,ss=`.${St}[data-bs-toggle="tab"], .${St}[data-bs-toggle="pill"], .${St}[data-bs-toggle="list"]`,Yi=class c extends K{constructor(t){super(t),this._parent=this._element.closest(as),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),m.on(this._element,is,i=>this._keydown(i)))}static get NAME(){return Mg}show(){let t=this._element;if(this._elemIsActive(t))return;let i=this._getActiveElem(),b=i?m.trigger(i,_g,{relatedTarget:t}):null;m.trigger(t,$g,{relatedTarget:i}).defaultPrevented||b&&b.defaultPrevented||(this._deactivate(i,t),this._activate(t,i))}_activate(t,i){if(!t)return;t.classList.add(St),this._activate(W.getElementFromSelector(t));let b=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(bb);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),m.trigger(t,qg,{relatedTarget:i})};this._queueCallback(b,t,t.classList.contains(Ae))}_deactivate(t,i){if(!t)return;t.classList.remove(St),t.blur(),this._deactivate(W.getElementFromSelector(t));let b=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(bb);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),m.trigger(t,Pg,{relatedTarget:i})};this._queueCallback(b,t,t.classList.contains(Ae))}_keydown(t){if(![bs,he,es,Re,cb,Ve].includes(t.key))return;t.stopPropagation(),t.preventDefault();let i=this._getChildren().filter(e=>!Wt(e)),b;if([cb,Ve].includes(t.key))b=i[t.key===cb?0:i.length-1];else{let e=[he,Re].includes(t.key);b=rb(i,t.target,e,!0)}b&&(b.focus({preventScroll:!0}),c.getOrCreateInstance(b).show())}_getChildren(){return W.find(lb,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,i){this._setAttributeIfNotExists(t,"role","tablist");for(let b of i)this._setInitialAttributesOnChild(b)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);let i=this._elemIsActive(t),b=this._getOuterElement(t);t.setAttribute("aria-selected",i),b!==t&&this._setAttributeIfNotExists(b,"role","presentation"),i||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){let i=W.getElementFromSelector(t);i&&(this._setAttributeIfNotExists(i,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(i,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,i){let b=this._getOuterElement(t);if(!b.classList.contains(ls))return;let e=(l,o)=>{let I=W.findOne(l,b);I&&I.classList.toggle(o,i)};e(bl,St),e(os,bb),b.setAttribute("aria-expanded",i)}_setAttributeIfNotExists(t,i,b){t.hasAttribute(i)||t.setAttribute(i,b)}_elemIsActive(t){return t.classList.contains(St)}_getInnerElement(t){return t.matches(lb)?t:W.findOne(lb,t)}_getOuterElement(t){return t.closest(Is)||t}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}};m.on(document,ts,el,function(c){["A","AREA"].includes(this.tagName)&&c.preventDefault(),!Wt(this)&&Yi.getOrCreateInstance(this).show()});m.on(window,cs,()=>{for(let c of W.find(ss))Yi.getOrCreateInstance(c)});it(Yi);var rs="toast",ns="bs.toast",Qt=`.${ns}`,ds=`mouseover${Qt}`,ms=`mouseout${Qt}`,Fs=`focusin${Qt}`,Cs=`focusout${Qt}`,Gs=`hide${Qt}`,Xs=`hidden${Qt}`,Zs=`show${Qt}`,Bs=`shown${Qt}`,Ws="fade",fe="hide",oc="show",ac="showing",ps={animation:"boolean",autohide:"boolean",delay:"number"},xs={animation:!0,autohide:!0,delay:5e3},Zc=class c extends K{constructor(t,i){super(t,i),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return xs}static get DefaultType(){return ps}static get NAME(){return rs}show(){if(m.trigger(this._element,Zs).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ws);let i=()=>{this._element.classList.remove(ac),m.trigger(this._element,Bs),this._maybeScheduleHide()};this._element.classList.remove(fe),vi(this._element),this._element.classList.add(oc,ac),this._queueCallback(i,this._element,this._config.animation)}hide(){if(!this.isShown()||m.trigger(this._element,Gs).defaultPrevented)return;let i=()=>{this._element.classList.add(fe),this._element.classList.remove(ac,oc),m.trigger(this._element,Xs)};this._element.classList.add(ac),this._queueCallback(i,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(oc),super.dispose()}isShown(){return this._element.classList.contains(oc)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,i){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=i;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=i;break}}if(i){this._clearTimeout();return}let b=t.relatedTarget;this._element===b||this._element.contains(b)||this._maybeScheduleHide()}_setListeners(){m.on(this._element,ds,t=>this._onInteraction(t,!0)),m.on(this._element,ms,t=>this._onInteraction(t,!1)),m.on(this._element,Fs,t=>this._onInteraction(t,!0)),m.on(this._element,Cs,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let i=c.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t](this)}})}};Bc(Zc);it(Zc);var Wb=globalThis,ll=c=>c,Wc=Wb.trustedTypes,ol=Wc?Wc.createPolicy("lit-html",{createHTML:c=>c}):void 0,nl="$lit$",Ut=`lit$${Math.random().toFixed(9).slice(2)}$`,dl="?"+Ut,us=`<${dl}>`,Kt=document,Li=()=>Kt.createComment(""),wi=c=>c===null||typeof c!="object"&&typeof c!="function",pb=Array.isArray,Qs=c=>pb(c)||typeof c?.[Symbol.iterator]=="function",Fb=`[
|
|
\f\r]`,Ji=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,al=/-->/g,Il=/>/g,Dt=RegExp(`>|${Fb}(?:([^\\s"'>=/]+)(${Fb}*=${Fb}*(?:[^
|
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),gl=/'/g,sl=/"/g,ml=/^(?:script|style|textarea|title)$/i,xb=c=>(t,...i)=>({_$litType$:c,strings:t,values:i}),u=xb(1),iF=xb(2),cF=xb(3),_t=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),rl=new WeakMap,Mt=Kt.createTreeWalker(Kt,129);function Fl(c,t){if(!pb(c)||!c.hasOwnProperty("raw"))throw Error("invalid template strings array");return ol!==void 0?ol.createHTML(t):t}var Us=(c,t)=>{let i=c.length-1,b=[],e,l=t===2?"<svg>":t===3?"<math>":"",o=Ji;for(let I=0;I<i;I++){let a=c[I],s,g,n=-1,X=0;for(;X<a.length&&(o.lastIndex=X,g=o.exec(a),g!==null);)X=o.lastIndex,o===Ji?g[1]==="!--"?o=al:g[1]!==void 0?o=Il:g[2]!==void 0?(ml.test(g[2])&&(e=RegExp("</"+g[2],"g")),o=Dt):g[3]!==void 0&&(o=Dt):o===Dt?g[0]===">"?(o=e??Ji,n=-1):g[1]===void 0?n=-2:(n=o.lastIndex-g[2].length,s=g[1],o=g[3]===void 0?Dt:g[3]==='"'?sl:gl):o===sl||o===gl?o=Dt:o===al||o===Il?o=Ji:(o=Dt,e=void 0);let r=o===Dt&&c[I+1].startsWith("/>")?" ":"";l+=o===Ji?a+us:n>=0?(b.push(s),a.slice(0,n)+nl+a.slice(n)+Ut+r):a+Ut+(n===-2?I:r)}return[Fl(c,l+(c[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),b]},Ni=class c{constructor({strings:t,_$litType$:i},b){let e;this.parts=[];let l=0,o=0,I=t.length-1,a=this.parts,[s,g]=Us(t,i);if(this.el=c.createElement(s,b),Mt.currentNode=this.el.content,i===2||i===3){let n=this.el.content.firstChild;n.replaceWith(...n.childNodes)}for(;(e=Mt.nextNode())!==null&&a.length<I;){if(e.nodeType===1){if(e.hasAttributes())for(let n of e.getAttributeNames())if(n.endsWith(nl)){let X=g[o++],r=e.getAttribute(n).split(Ut),F=/([.?@])?(.*)/.exec(X);a.push({type:1,index:l,name:F[2],strings:r,ctor:F[1]==="."?Gb:F[1]==="?"?Xb:F[1]==="@"?Zb:Ci}),e.removeAttribute(n)}else n.startsWith(Ut)&&(a.push({type:6,index:l}),e.removeAttribute(n));if(ml.test(e.tagName)){let n=e.textContent.split(Ut),X=n.length-1;if(X>0){e.textContent=Wc?Wc.emptyScript:"";for(let r=0;r<X;r++)e.append(n[r],Li()),Mt.nextNode(),a.push({type:2,index:++l});e.append(n[X],Li())}}}else if(e.nodeType===8)if(e.data===dl)a.push({type:2,index:l});else{let n=-1;for(;(n=e.data.indexOf(Ut,n+1))!==-1;)a.push({type:7,index:l}),n+=Ut.length-1}l++}}static createElement(t,i){let b=Kt.createElement("template");return b.innerHTML=t,b}};function Fi(c,t,i=c,b){if(t===_t)return t;let e=b!==void 0?i._$Co?.[b]:i._$Cl,l=wi(t)?void 0:t._$litDirective$;return e?.constructor!==l&&(e?._$AO?.(!1),l===void 0?e=void 0:(e=new l(c),e._$AT(c,i,b)),b!==void 0?(i._$Co??=[])[b]=e:i._$Cl=e),e!==void 0&&(t=Fi(c,e._$AS(c,t.values),e,b)),t}var Cb=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:b}=this._$AD,e=(t?.creationScope??Kt).importNode(i,!0);Mt.currentNode=e;let l=Mt.nextNode(),o=0,I=0,a=b[0];for(;a!==void 0;){if(o===a.index){let s;a.type===2?s=new ki(l,l.nextSibling,this,t):a.type===1?s=new a.ctor(l,a.name,a.strings,this,t):a.type===6&&(s=new Bb(l,this,t)),this._$AV.push(s),a=b[++I]}o!==a?.index&&(l=Mt.nextNode(),o++)}return Mt.currentNode=Kt,e}p(t){let i=0;for(let b of this._$AV)b!==void 0&&(b.strings!==void 0?(b._$AI(t,b,i),i+=b.strings.length-2):b._$AI(t[i])),i++}},ki=class c{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,b,e){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=b,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Fi(this,t,i),wi(t)?t===k||t==null||t===""?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==_t&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qs(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==k&&wi(this._$AH)?this._$AA.nextSibling.data=t:this.T(Kt.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:b}=t,e=typeof b=="number"?this._$AC(t):(b.el===void 0&&(b.el=Ni.createElement(Fl(b.h,b.h[0]),this.options)),b);if(this._$AH?._$AD===e)this._$AH.p(i);else{let l=new Cb(e,this),o=l.u(this.options);l.p(i),this.T(o),this._$AH=l}}_$AC(t){let i=rl.get(t.strings);return i===void 0&&rl.set(t.strings,i=new Ni(t)),i}k(t){pb(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,b,e=0;for(let l of t)e===i.length?i.push(b=new c(this.O(Li()),this.O(Li()),this,this.options)):b=i[e],b._$AI(l),e++;e<i.length&&(this._$AR(b&&b._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t!==this._$AB;){let b=ll(t).nextSibling;ll(t).remove(),t=b}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ci=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,b,e,l){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=l,b.length>2||b[0]!==""||b[1]!==""?(this._$AH=Array(b.length-1).fill(new String),this.strings=b):this._$AH=k}_$AI(t,i=this,b,e){let l=this.strings,o=!1;if(l===void 0)t=Fi(this,t,i,0),o=!wi(t)||t!==this._$AH&&t!==_t,o&&(this._$AH=t);else{let I=t,a,s;for(t=l[0],a=0;a<l.length-1;a++)s=Fi(this,I[b+a],i,a),s===_t&&(s=this._$AH[a]),o||=!wi(s)||s!==this._$AH[a],s===k?t=k:t!==k&&(t+=(s??"")+l[a+1]),this._$AH[a]=s}o&&!e&&this.j(t)}j(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Gb=class extends Ci{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===k?void 0:t}},Xb=class extends Ci{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==k)}},Zb=class extends Ci{constructor(t,i,b,e,l){super(t,i,b,e,l),this.type=5}_$AI(t,i=this){if((t=Fi(this,t,i,0)??k)===_t)return;let b=this._$AH,e=t===k&&b!==k||t.capture!==b.capture||t.once!==b.once||t.passive!==b.passive,l=t!==k&&(b===k||e);e&&this.element.removeEventListener(this.name,this,b),l&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Bb=class{constructor(t,i,b){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=b}get _$AU(){return this._$AM._$AU}_$AI(t){Fi(this,t)}};var hs=Wb.litHtmlPolyfillSupport;hs?.(Ni,ki),(Wb.litHtmlVersions??=[]).push("3.3.2");var ot=(c,t,i)=>{let b=i?.renderBefore??t,e=b._$litPart$;if(e===void 0){let l=i?.renderBefore??null;b._$litPart$=e=new ki(t.insertBefore(Li(),l),l,void 0,i??{})}return e._$AI(c),e};async function D(){return await import("./main.js").then(c=>c.default)}function It(c){return document.querySelector(`meta[name="${c}"]`)?.content}function L(c,t){let i=It(`loc:${c}`)||c;if(t)for(let b in t)i=i.replace(`{${b}}`,t[b]);return i}function ub(c){if(!c)return[];let t=/([a-z0-9])([A-Z]+[a-z])|([a-zA-Z0-9][.,/<>_])/g,i=[],b=0;for(;;){let e=t.exec(c);if(!e)break;let l=e.index+(e[1]||e[3]).length;i.push(c.slice(b,l)),b=l}return b<c.length&&i.push(c.slice(b)),i}function ct(c){let t=[];return ub(c).forEach(i=>{t.length>0&&t.push(u`<wbr>`),t.push(u`${i}`)}),u`${t}`}function pc(c){return c.hostname!==window.location.hostname||c.protocol!==window.location.protocol}function Cl(c,t){return i(c)===i(t);function i(b){return b.pathname.replace(/\/index\.html$/gi,"/").replace(/\.html$/gi,"").replace(/\/$/gi,"").toLowerCase()}}async function Qb(){if(document.querySelectorAll("pre code").length<=0)return;let{default:t}=await import("./es-OLHPHTZN.min.js"),{configureHljs:i}=await D();i?.(t),document.querySelectorAll("pre code").forEach(b=>{t.highlightElement(b)}),document.querySelectorAll("pre code[highlight-lines]").forEach(b=>{if(b.innerHTML==="")return;let e=b.getAttribute("highlight-lines");if(!e)return;let l=b.innerHTML.split(`
|
|
`),o=e.split(",");for(let I of o){let a=0,s=0,g=I.match(/^(\d+)-(\d+)?$/);if(g)a=+g[1],s=+g[2],(isNaN(s)||s>l.length)&&(s=l.length);else{if(isNaN(Number(I)))continue;a=+I,s=a}a<=0||s<=0||a>s||a>l.length||(l[a-1]='<span class="line-highlight">'+l[a-1],l[s-1]=l[s-1]+"</span>")}b.innerHTML=l.join(`
|
|
`)})}function Gl(c){localStorage.setItem("theme",c),c==="auto"?document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"):document.documentElement.setAttribute("data-bs-theme",c)}async function Xl(){return localStorage.getItem("theme")||(await D()).defaultTheme||"auto"}async function Zl(){Gl(await Xl())}function Bl(c){return new MutationObserver(()=>c(Ub())).observe(document.documentElement,{attributes:!0,attributeFilter:["data-bs-theme"]})}function Ub(){return document.documentElement.getAttribute("data-bs-theme")}async function Wl(c){let t=await Xl(),i=t==="light"?"sun":t==="dark"?"moon":"circle-half";return u`
|
|
<div class='dropdown'>
|
|
<a title='${L("changeTheme")}' class='btn border-0 dropdown-toggle' data-bs-toggle='dropdown' aria-expanded='false'>
|
|
<i class='bi bi-${i}'></i>
|
|
</a>
|
|
<ul class='dropdown-menu dropdown-menu-end'>
|
|
<li><a class='dropdown-item' href='#' @click=${e=>b(e,"light")}><i class='bi bi-sun'></i> ${L("themeLight")}</a></li>
|
|
<li><a class='dropdown-item' href='#' @click=${e=>b(e,"dark")}><i class='bi bi-moon'></i> ${L("themeDark")}</a></li>
|
|
<li><a class='dropdown-item' href='#' @click=${e=>b(e,"auto")}><i class='bi bi-circle-half'></i> ${L("themeAuto")}</a></li>
|
|
</ul>
|
|
</div>`;function b(e,l){e.preventDefault(),Gl(l),c()}}async function Rb(){Vs(),fs(),ys(),Ys(),Os(),vs(),await Promise.all([As(),Rs(),hb()]),Bl(hb)}async function Rs(){document.querySelectorAll(".math").length>0&&await import("./tex-svg-full-LF5I37CT.min.js")}async function hb(){let c=document.querySelectorAll("pre code.lang-mermaid"),t=document.querySelectorAll("pre.mermaid[data-mermaid]");if(c.length<=0&&t.length<=0)return;let{default:i}=await import("./mermaid.core-PFJTYFYY.min.js"),b=Ub()==="dark"?"dark":"default",{mermaid:e}=await D();i.initialize(Object.assign({startOnLoad:!1,theme:b},e));let l=[];c.forEach(o=>{if(o.offsetParent){l.push(o.parentElement);let I=o.innerHTML;o.parentElement.classList.add("mermaid"),o.parentElement.setAttribute("data-mermaid",I),o.parentElement.innerHTML=I}}),t.forEach(o=>{o.offsetParent&&(o.removeAttribute("data-processed"),o.innerHTML=o.getAttribute("data-mermaid"),l.push(o))}),await i.run({nodes:l})}function Vs(){document.querySelectorAll("article h1,h2,h3,h4,h5,h6,.xref,.text-break").forEach(c=>{if(c.innerHTML?.trim()===c.innerText?.trim()){let t=[];for(let i of ub(c.innerText))t.length>0&&t.push(document.createElement("wbr")),t.push(i);c.replaceChildren(...t)}})}async function As(){let{showLightbox:c}=await D(),t=200,i=Array.from(document.querySelectorAll("article a img[src]"));document.querySelectorAll("article img[src]").forEach(b=>{l()?e():b.addEventListener("load",()=>{l()&&e()});function e(){let o=document.createElement("a");o.target="_blank",o.rel="noopener noreferrer nofollow",b.parentElement.tagName==="PICTURE"?b.parentElement.addEventListener("click",()=>{o.href=b.currentSrc,o.click()}):(o.href=b.src,b.replaceWith(o),o.appendChild(b))}function l(){return c?c(b):b.naturalWidth>t&&b.naturalHeight>t&&!i.includes(b)}})}function fs(){document.querySelectorAll("table").forEach(c=>{c.classList.add("table","table-bordered","table-condensed");let t=document.createElement("div");t.className="table-responsive",c.parentElement.insertBefore(t,c),t.appendChild(c)})}function ys(){document.querySelectorAll(".NOTE, .TIP").forEach(c=>c.classList.add("alert","alert-info")),document.querySelectorAll(".WARNING").forEach(c=>c.classList.add("alert","alert-warning")),document.querySelectorAll(".IMPORTANT, .CAUTION").forEach(c=>c.classList.add("alert","alert-danger"))}function Ys(){It("docfx:disablenewtab")!=="true"&&document.querySelectorAll("article a[href]").forEach(c=>{c.hostname!==window.location.hostname&&c.innerText.trim()!==""&&(c.target="_blank",c.rel="noopener noreferrer nofollow",c.classList.add("external"))})}function vs(){document.querySelectorAll("pre>code").forEach(c=>{if(c.textContent.trim().length===0)return;let t=!1;i();function i(){let b=t?u`<a class='btn border-0 link-success code-action'><i class='bi bi-check-lg'></i></a>`:u`<a class='btn border-0 code-action' title='${L("copy")}' href='#' @click=${e}><i class='bi bi-clipboard'></i></a>`;ot(b,c.parentElement);async function e(l){l.preventDefault(),await navigator.clipboard.writeText(c.innerText),t=!0,i(),setTimeout(()=>{t=!1,i()},1e3)}}})}function Os(){n();let c={id:"data-bi-id",name:"data-bi-name",type:"data-bi-type"},t=(function(){function r(F,d,G){this.li=F,this.a=d,this.section=G}return Object.defineProperty(r.prototype,"tabIds",{get:function(){return this.a.getAttribute("data-tab").split(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"condition",{get:function(){return this.a.getAttribute("data-condition")},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"visible",{get:function(){return!this.li.hasAttribute("hidden")},set:function(F){F?(this.li.removeAttribute("hidden"),this.li.removeAttribute("aria-hidden")):(this.li.setAttribute("hidden","hidden"),this.li.setAttribute("aria-hidden","true"))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"selected",{get:function(){return!this.section.hasAttribute("hidden")},set:function(F){F?(this.a.setAttribute("aria-selected","true"),this.a.classList.add("active"),this.a.tabIndex=0,this.section.removeAttribute("hidden"),this.section.removeAttribute("aria-hidden")):(this.a.setAttribute("aria-selected","false"),this.a.classList.remove("active"),this.a.tabIndex=-1,this.section.setAttribute("hidden","hidden"),this.section.setAttribute("aria-hidden","true"))},enumerable:!0,configurable:!0}),r.prototype.focus=function(){this.a.focus()},r})();i(document.body);function i(r){let F=a(),d=r.querySelectorAll(".tabGroup"),G={groups:[],selectedTabs:[]};for(let C=0;C<d.length;C++){let B=b(d.item(C));B.independent||(e(B,G),G.groups.push(B))}return r.addEventListener("click",function(C){return o(C,G)}),G.groups.length===0||(I(F),s(G)),G}function b(r){let F={independent:r.hasAttribute("data-tab-group-independent"),tabs:[]},d=r.firstElementChild.firstElementChild;for(;d;){let G=d.firstElementChild;G.setAttribute(c.name,"tab");let C=G.getAttribute("data-tab").replace(/\+/g," ");G.setAttribute("data-tab",C);let B=r.querySelector('[id="'+G.getAttribute("aria-controls")+'"]'),Z=new t(d,G,B);F.tabs.push(Z),d=d.nextElementSibling}return r.setAttribute(c.name,"tab-group"),r.tabGroup=F,F}function e(r,F){let d=!1,G;for(let C=0,B=r.tabs;C<B.length;C++){let Z=B[C];Z.visible=Z.condition===null||F.selectedTabs.indexOf(Z.condition)!==-1,Z.visible&&(G||(G=Z)),Z.selected=Z.visible&&g(F.selectedTabs,Z.tabIds),d=d||Z.selected}if(!d){for(let B=0,Z=r.tabs;B<Z.length;B++){let p=Z[B].tabIds;for(let x=0,Q=p;x<Q.length;x++){let U=Q[x],h=F.selectedTabs.indexOf(U);h!==-1&&F.selectedTabs.splice(h,1)}}let C=G;C.selected=!0,F.selectedTabs.push(C.tabIds[0])}}function l(r){if(!(r.target instanceof HTMLElement))return null;let F=r.target.closest("a[data-tab]");if(F===null)return null;let d=F.getAttribute("data-tab").split(" "),G=F.parentElement.parentElement.parentElement.tabGroup;return G===void 0?null:{tabIds:d,group:G,anchor:F}}function o(r,F){let d=l(r);if(d===null)return;r.preventDefault(),d.anchor.href="javascript:",setTimeout(function(){d.anchor.href="#"+d.anchor.getAttribute("aria-controls")});let G=d.tabIds,C=d.group,B=d.anchor.getBoundingClientRect().top;if(C.independent)for(let p=0,x=C.tabs;p<x.length;p++){let Q=x[p];Q.selected=g(Q.tabIds,G)}else{if(g(F.selectedTabs,G))return;let p=C.tabs.filter(function(x){return x.selected})[0].tabIds[0];F.selectedTabs.splice(F.selectedTabs.indexOf(p),1,G[0]);for(let x=0,Q=F.groups;x<Q.length;x++){let U=Q[x];e(U,F)}s(F)}X();let Z=d.anchor.getBoundingClientRect().top;Z!==B&&r instanceof MouseEvent&&window.scrollTo(0,window.pageYOffset+Z-B)}function I(r){for(let F=0,d=r;F<d.length;F++){let G=d[F],C=document.querySelector('.tabGroup > ul > li > a[data-tab="'+G+'"]:not([hidden])');if(C===null)return;C.dispatchEvent(new CustomEvent("click",{bubbles:!0}))}}function a(){let F=new URLSearchParams(window.location.search).get("tabs");return F?F.split(","):[]}function s(r){let F=new URLSearchParams(window.location.search);F.set("tabs",r.selectedTabs.join());let d=location.protocol+"//"+location.host+location.pathname+"?"+F.toString()+location.hash;location.href!==d&&history.replaceState({},document.title,d)}function g(r,F){for(let d=0,G=r;d<G.length;d++){let C=G[d];for(let B=0,Z=F;B<Z.length;B++){let p=Z[B];if(C===p)return!0}}return!1}function n(){document.querySelectorAll("div.tabGroup>ul").forEach(r=>r.classList.add("nav","nav-tabs")),document.querySelectorAll("div.tabGroup>ul>li").forEach(r=>r.classList.add("nav-item")),document.querySelectorAll("div.tabGroup>ul>li>a").forEach(r=>r.classList.add("nav-link")),document.querySelectorAll("div.tabGroup>section").forEach(r=>r.classList.add("card"))}function X(){hb()}}var pl={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},xl=c=>(...t)=>({_$litDirective$:c,values:t}),xc=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,b){this._$Ct=t,this._$AM=i,this._$Ci=b}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}};var ht=xl(class extends xc{constructor(c){if(super(c),c.type!==pl.ATTRIBUTE||c.name!=="class"||c.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(c){return" "+Object.keys(c).filter(t=>c[t]).join(" ")+" "}update(c,[t]){if(this.st===void 0){this.st=new Set,c.strings!==void 0&&(this.nt=new Set(c.strings.join(" ").split(/\s/).filter(b=>b!=="")));for(let b in t)t[b]&&!this.nt?.has(b)&&this.st.add(b);return this.render(t)}let i=c.element.classList;for(let b of this.st)b in t||(i.remove(b),this.st.delete(b));for(let b in t){let e=!!t[b];e===this.st.has(b)||this.nt?.has(b)||(e?(i.add(b),this.st.add(b)):(i.remove(b),this.st.delete(b)))}return _t}});var gt;async function ul(){let c=document.getElementById("search-query");if(!c||!window.Worker)return;let t=It("docfx:rel")||"",i=new Worker(t+"public/search-worker.min.js",{type:"module"});i.onerror=a=>{console.error("Error occurred at search-worker. message: "+a.message)},i.onmessage=function(a){switch(a.data.e){case"index-ready":c.disabled=!1,c.addEventListener("input",e),c.addEventListener("keypress",function(s){s.key==="Enter"&&event.preventDefault()}),window.docfx.searchReady=!0;break;case"query-ready":document.body.setAttribute("data-search","true"),I(a.data.d,0),window.docfx.searchResultReady=!0,c.value===""&&document.body.removeAttribute("data-search");break}};let{lunrLanguages:b}=await D();i.postMessage({init:{lunrLanguages:b}});function e(){if(gt=c.value,gt==="")document.body.removeAttribute("data-search");else{let a=gt.replace(/\s+/g," ").split(" ").map(s=>"+"+s).join(" ");i.postMessage({q:a})}}function l(a,s){let g=a.split(/\/+/),n=s.split(/\/+/),X=g.length-1,r=[];for(let F=0;F<n.length;F++)n[F]===".."?X--:n[F]!=="."&&r.push(n[F]);return g.slice(0,X).concat(r).join("/")}function o(a){let g=gt.split(/\s+/g),n=a.indexOf(g[0]);if(n>512)return"..."+a.slice(n-512,n+512)+"...";if(n<=512)return a.slice(0,n+512)+"..."}function I(a,s){let n=Math.ceil(a.length/10);ot(X(s),document.getElementById("search-results"));function X(F){if(a.length===0)return u`<div class="search-list">${L("searchNoResults",{query:gt})}</div>`;let d=F*10,G=a.slice(d,d+10),C=u`
|
|
<div class="search-list">${L("searchResultsCount",{count:a.length.toString(),query:gt})}</div>
|
|
<div class="sr-items">${G.map(B=>{let Z=window.location.href,p=l(Z,t+B.href),x=t+B.href+"?q="+gt,Q=B.summary?o(B.summary):"";return u`
|
|
<div class="sr-item">
|
|
<div class="item-title"><a href="${x}" target="_blank" rel="noopener noreferrer">${Vb(B.title,gt)}</a></div>
|
|
<div class="item-href">${Vb(p,gt)}</div>
|
|
<div class="item-brief">${Vb(Q,gt)}</div>
|
|
</div>`})}
|
|
</div>`;return u`${C} ${r()}`}function r(){let d=Math.max(0,Math.min(s-2,n-5)),G=Math.min(n,d+5),C=Array.from(new Array(G-d).keys()).map(Z=>Z+d);if(C.length<=1)return null;return u`
|
|
<nav>
|
|
<ul class="pagination">
|
|
<li class="page-item">
|
|
<a class="page-link ${ht({disabled:s<=0})}" href="#" aria-label="Previous"
|
|
@click="${()=>B(s-1)}">
|
|
<span aria-hidden="true">«</span>
|
|
</a>
|
|
</li>
|
|
${C.map(Z=>u`
|
|
<li class="page-item">
|
|
<a class="page-link ${ht({active:s===Z})}" href="#"
|
|
@click="${()=>B(Z)}">${Z+1}</a></li>`)}
|
|
<li class="page-item">
|
|
<a class="page-link ${ht({disabled:s>=n-1})}" href="#" aria-label="Next"
|
|
@click="${()=>B(s+1)}">
|
|
<span aria-hidden="true">»</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</nav>`;function B(Z){Z>=0&&Z<n&&I(a,Z)}}}}function Vb(c,t){let b=t.split(/\s+/g).map(I=>I.toLowerCase()),e=c.toLowerCase(),l=[],o=0;for(let I=0;I<b.length;I++){let a=b[I],s=e.indexOf(a,o);s>=0&&(l.push(u`${c.slice(o,s)}`),l.push(u`<b>${c.slice(s,s+a.length)}</b>`),o=s+a.length)}return l.push(u`${c.slice(o)}`),u`${l}`}async function Ql(){let c=It("docfx:tocrel");if(!c)return[];let t=It("docfx:disabletocfilter")==="true",i=new URL(c.replace(/.html$/gi,".json"),window.location.href),{items:b,pdf:e,pdfFileName:l}=await(await fetch(i)).json(),o=t?"":localStorage?.getItem("tocFilterUrl")||"",I=t?"":localStorage?.getItem("tocFilter")||"";(o===""||o!==i.toString())&&(I="",t||(localStorage?.setItem("tocFilter",""),localStorage?.setItem("tocFilterUrl",i.toString())));let a=[],s=[];b.forEach(n);let g=document.getElementById("toc");if(g){X();let C=g.querySelectorAll("li.active"),B=C[C.length-1];B&&(B.scrollIntoView({block:"nearest"}),location.hash&&(location.href=location.href))}return s.length>0&&Js(b,s[0]),a.slice(0,-1);function n(C){let B;if(C.href){let Z=new URL(C.href,i);C.href=Z.href,B=pc(Z)?!1:Cl(Z,window.location),B&&(C.items&&(C.expanded=!0),s.push(C))}if(C.items)for(let Z of C.items)n(Z)&&(B=!0,C.expanded=!0);return B?(a.unshift(C),!0):!1}function X(){ot(u`
|
|
${F()}
|
|
<div class="flex-fill overflow-y-auto">${r(b)||d()}</div>
|
|
${G()}`,g)}function r(C){let B=C.map(Z=>{let{href:p,name:x,items:Q,expanded:U}=Z;if(!x)return null;let h=!Q||Q.length<=0,A=h?null:r(Q);if(I!==""&&!A&&!x.toLowerCase().includes(I.toLowerCase()))return null;let y=p?u`<a class='${ht({"nav-link":!a.includes(Z)})}' href=${p}>${ct(x)}</a>`:h?u`<span class='text-body-tertiary name-only'>${ct(x)}</a>`:u`<a class='${ht({"nav-link":!a.includes(Z)})}' href='#' @click=${T}>${ct(x)}</a>`,O=I!==""&&U!==!1&&A!=null||U===!0;return u`
|
|
<li class=${ht({expander:!h,expanded:O,active:a.includes(Z)})}>
|
|
${h?null:u`<span class='expand-stub' @click=${T}></span>`}
|
|
${y}
|
|
${A}
|
|
</li>`;function T(j){j.preventDefault(),Z.expanded=!O,X()}}).filter(Z=>Z);return B.length>0?u`<ul>${B}</ul>`:null}function F(){return t?null:u`
|
|
<form class='filter'>
|
|
<i class='bi bi-filter'></i>
|
|
<input class='form-control' @input=${C} value='${I}' type='search' placeholder='${L("tocFilter")}' autocomplete='off' aria-label='${L("tocFilter")}'>
|
|
</form>`;function C(B){I=B.target.value.trim(),localStorage?.setItem("tocFilter",I),X()}}function d(){return I===""?null:u`<div class='no-result'>${L("searchNoResults",{query:I})}</div>`}function G(){return e?u`<div class="py-2 mb-md-4"><a class="pdf-link" href="${new URL(l||"toc.pdf",i)}">${L("downloadPdf")}</a></div>`:null}}function Js(c,t){let i=document.getElementById("nextArticle");if(!i)return;let b=s(c),e=b.findIndex(g=>g===t),l=b[e-1],o=b[e+1];if(!l&&!o)return;let I=l?u`<div class="prev"><span><i class='bi bi-chevron-left'></i> ${L("prevArticle")}</span> <a href="${l.href}" rel="prev">${ct(l.name)}</a></div>`:null,a=o?u`<div class="next"><span>${L("nextArticle")} <i class='bi bi-chevron-right'></i></span> <a href="${o.href}" rel="next">${ct(o.name)}</a></div>`:null;ot(u`${I} ${a}`,i);function s(g){let n=[];for(let X of g)X.href&&n.push(X),X.items&&n.push(...s(X.items));return n}}var hl=Nl(Ul(),1);async function Rl(){let c=document.getElementById("navbar");if(!c)return[];let{iconLinks:t}=await D(),i=await I(),b=Ns(i),e=a=>u`<li class='nav-item'><a class='nav-link ${a===b?"active":null}' aria-current=${a===b?"page":!1} href=${a.href}>${ct(a.name)}</a></li>`,l=u`
|
|
<ul class='navbar-nav'>${i.map(a=>{if("items"in a){let s=a.items.some(g=>g===b)?"active":null;return u`
|
|
<li class='nav-item dropdown'>
|
|
<a class='nav-link dropdown-toggle ${s}' href='#' role='button' data-bs-toggle='dropdown' aria-expanded='false'>
|
|
${ct(a.name)}
|
|
</a>
|
|
<ul class='dropdown-menu'>${a.items.map(e)}</ul>
|
|
</li>`}else return e(a)})}</ul>`;async function o(){let a=u`
|
|
<form class="icons">
|
|
${t?.map(s=>u`<a href="${s.href}" title="${s.title}" class="btn border-0"><i class="bi bi-${s.icon}"></i></a>`)}
|
|
${await Wl(o)}
|
|
</form>`;ot(u`${l} ${a}`,c)}return await o(),b?[b]:[];async function I(){let a=It("docfx:navrel");if(!a)return[];let s=new URL(a.replace(/.html$/gi,".json"),window.location.href),{items:g}=await fetch(s).then(n=>n.json());return g.map(n=>"items"in n?{name:n.name,items:n.items.map(X=>({name:X.name,href:new URL(X.href,s)}))}:{name:n.name,href:new URL(n.href,s)})}}function Vl(c){let t=document.getElementById("breadcrumb");t&&ot(u`
|
|
<ol class="breadcrumb">
|
|
${c.map(i=>u`<li class="breadcrumb-item"><a href="${i.href}">${ct(i.name)}</a></li>`)}
|
|
</ol>`,t)}async function Al(){await Ls();let c=document.getElementById("affix");c&&ot(ws(),c)}async function Ls(){let c=new hl.default,{anchors:t}=await D();c.options=Object.assign({visible:"hover",icon:"#"},t),c.add("article h2:not(.no-anchor), article h3:not(.no-anchor), article h4:not(.no-anchor)"),location.hash&&(location.href=location.href)}function ws(){let c=Array.from(document.querySelectorAll("article h2, article h3"));if(c.length>0)return u`
|
|
<h5 class="border-bottom">${L("inThisArticle")}</h5>
|
|
<ul>${c.map(t=>t.tagName==="H2"?u`<li><a class="link-body-emphasis" href="#${t.id}">${ct(t.textContent)}</a></li>`:u`<li><a class="link-secondary" href="#${t.id}">${ct(t.textContent)}</a></li>`)}</ul>`}function Ns(c){let t=new URL(window.location.href),i,b=0;for(let e of c.map(l=>"items"in l?l.items:l).flat()){if(pc(e.href))continue;let l=ks(t,e.href);l===b?i=void 0:l>b&&(b=l,i=e)}return i}function ks(c,t){let i=c.pathname.split("/"),b=t.pathname.split("/"),e=0;for(;e<i.length&&e<b.length&&i[e]===b[e];)e++;return e}async function js(){window.docfx=window.docfx||{};let{start:c}=await D();c?.(),navigator.userAgent.indexOf("docfx/pdf")>=0?await Promise.all([Rb(),Qb()]):await Promise.all([Zl(),ul(),Al(),Rb(),i(),Qb()]),window.docfx.ready=!0;async function i(){let[b,e]=await Promise.all([Rl(),Ql()]);Vl([...b,...e])}}js().catch(console.error);
|
|
/*! Bundled license information:
|
|
|
|
bootstrap/dist/js/bootstrap.esm.js:
|
|
(*!
|
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*)
|
|
|
|
lit-html/lit-html.js:
|
|
lit-html/directive.js:
|
|
(**
|
|
* @license
|
|
* Copyright 2017 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*)
|
|
|
|
lit-html/directives/class-map.js:
|
|
(**
|
|
* @license
|
|
* Copyright 2018 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*)
|
|
*/
|
|
//# sourceMappingURL=docfx.min.js.map
|