This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
application.min.js
2 lines (2 loc) · 103 KB
/
application.min.js
1
2
/*! For license information please see application.min.js.LICENSE.txt */
(()=>{var t={60:()=>{!function(){var t=window.SearchArrows=function(){this.LI_SELECTOR=".search-list-li",this.ACTIVE_CLASS="active",this.active=!1,this.currentSelection=null,this.selectedLi=null,this.onKeydown=function(t){40===t.which?(t.preventDefault(),this.onDownArrow()):38===t.which?(t.preventDefault(),this.onUpArrow()):13===t.which&&this.onEnter(t)},this.onKeydownCb=this.onKeydown.bind(this),this.onUpArrow=function(){this.removeActiveClass(),0===this.currentSelection||null==this.currentSelection?this.markLastItem():(0===this.currentSelection?this.currentSelection=this.listLength-1:this.currentSelection-=1,this.selectedLi=this.list[this.currentSelection],this.selectedLi.classList.add(this.ACTIVE_CLASS))},this.onDownArrow=function(){this.removeActiveClass(),this.currentSelection===this.listLength-1||null==this.currentSelection?this.markFirstItem():(this.currentSelection===this.listLength-1?this.currentSelection=0:this.currentSelection+=1,this.selectedLi=this.list[this.currentSelection],this.selectedLi.classList.add(this.ACTIVE_CLASS))},this.onEnter=function(){window.location.href=this.selectedLi.querySelector("a").getAttribute("href")},this.removeActiveClass=function(){this.selectedLi&&this.selectedLi.classList.remove(this.ACTIVE_CLASS)},this.markFirstItem=function(){this.selectedLi=this.list[0],this.selectedLi.classList.add(this.ACTIVE_CLASS),this.currentSelection=0},this.markLastItem=function(){this.selectedLi=this.list[this.list.length-1],this.selectedLi.classList.add(this.ACTIVE_CLASS),this.currentSelection=this.listLength-1}};t.prototype.init=function(){this.isActive()&&this.destroy(),this.list=document.querySelectorAll(this.LI_SELECTOR),this.listLength=this.list.length,0!==this.listLength&&(window.addEventListener("keydown",this.onKeydownCb),this.active=!0)},t.prototype.destroy=function(){window.removeEventListener("keydown",this.onKeydownCb),this.active=!1,this.currentSelection=null},t.prototype.isActive=function(){return this.active},t.prototype.isOneOfKeys=function(t){return-1!==[40,38,13].indexOf(t)}}()},303:function(t,e){var i,n,s;!function(o,r){"use strict";n=[],void 0===(s="function"==typeof(i=function(){return function(t){function e(t){t.icon=Object.prototype.hasOwnProperty.call(t,"icon")?t.icon:"",t.visible=Object.prototype.hasOwnProperty.call(t,"visible")?t.visible:"hover",t.placement=Object.prototype.hasOwnProperty.call(t,"placement")?t.placement:"right",t.ariaLabel=Object.prototype.hasOwnProperty.call(t,"ariaLabel")?t.ariaLabel:"Anchor",t.class=Object.prototype.hasOwnProperty.call(t,"class")?t.class:"",t.base=Object.prototype.hasOwnProperty.call(t,"base")?t.base:"",t.truncate=Object.prototype.hasOwnProperty.call(t,"truncate")?Math.floor(t.truncate):64,t.titleText=Object.prototype.hasOwnProperty.call(t,"titleText")?t.titleText:""}function i(t){var e;if("string"==typeof t||t instanceof String)e=[].slice.call(document.querySelectorAll(t));else{if(!(Array.isArray(t)||t instanceof NodeList))throw new TypeError("The selector provided to AnchorJS was invalid.");e=[].slice.call(t)}return e}this.options=t||{},this.elements=[],e(this.options),this.isTouchDevice=function(){return Boolean("ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(t){var n,s,o,r,a,l,c,h,u,d,f,p,m=[];if(e(this.options),"touch"===(f=this.options.visible)&&(f=this.isTouchDevice()?"always":"hover"),t||(t="h2, h3, h4, h5, h6"),0===(n=i(t)).length)return this;for(function(){if(null===document.head.querySelector("style.anchorjs")){var t,e=document.createElement("style");e.className="anchorjs",e.appendChild(document.createTextNode("")),void 0===(t=document.head.querySelector('[rel="stylesheet"],style'))?document.head.appendChild(e):document.head.insertBefore(e,t),e.sheet.insertRule(".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",e.sheet.cssRules.length),e.sheet.insertRule(":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",e.sheet.cssRules.length),e.sheet.insertRule("[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",e.sheet.cssRules.length),e.sheet.insertRule('@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',e.sheet.cssRules.length)}}(),s=document.querySelectorAll("[id]"),o=[].map.call(s,(function(t){return t.id})),a=0;a<n.length;a++)if(this.hasAnchorJSLink(n[a]))m.push(a);else{if(n[a].hasAttribute("id"))r=n[a].getAttribute("id");else if(n[a].hasAttribute("data-anchor-id"))r=n[a].getAttribute("data-anchor-id");else{u=h=this.urlify(n[a].textContent),c=0;do{void 0!==l&&(u=h+"-"+c),l=o.indexOf(u),c+=1}while(-1!==l);l=void 0,o.push(u),n[a].setAttribute("id",u),r=u}(d=document.createElement("a")).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),p=document.querySelector("base")?window.location.pathname+window.location.search:"",p=this.options.base||p,d.href=p+"#"+r,"always"===f&&(d.style.opacity="1"),""===this.options.icon&&(d.style.font="1em/1 anchorjs-icons","left"===this.options.placement&&(d.style.lineHeight="inherit")),"left"===this.options.placement?(d.style.position="absolute",d.style.marginLeft="-1em",d.style.paddingRight=".5em",n[a].insertBefore(d,n[a].firstChild)):(d.style.paddingLeft=".375em",n[a].appendChild(d))}for(a=0;a<m.length;a++)n.splice(m[a]-a,1);return this.elements=this.elements.concat(n),this},this.remove=function(t){for(var e,n,s=i(t),o=0;o<s.length;o++)(n=s[o].querySelector(".anchorjs-link"))&&(-1!==(e=this.elements.indexOf(s[o]))&&this.elements.splice(e,1),s[o].removeChild(n));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(t){var i=document.createElement("textarea");i.innerHTML=t,t=i.value;return this.options.truncate||e(this.options),t.trim().replace(/'/gi,"").replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v\u00A0]/g,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(t){var e=t.firstChild&&(" "+t.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,i=t.lastChild&&(" "+t.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return e||i||!1}}})?i.apply(e,n):i)||(t.exports=s)}()},336:(t,e,i)=>{var n,s;!function(){var o,r,a,l,c,h,u,d,f,p,m,g,_,A,v,b,y,w,E,S,C,O,x,k,T,L=function(t){var e=new L.Index;return e.pipeline.add(L.trimmer,L.stopWordFilter,L.stemmer),t&&t.call(e,e),e};L.version="0.7.0",L.utils={},L.utils.warn=(o=this,function(t){o.console&&console.warn&&console.warn(t)}),L.utils.asString=function(t){return null==t?"":t.toString()},L.EventEmitter=function(){this.events={}},L.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),i=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");i.forEach((function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)}),this)},L.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var i=this.events[t].indexOf(e);this.events[t].splice(i,1),this.events[t].length||delete this.events[t]}},L.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach((function(t){t.apply(void 0,e)}))}},L.EventEmitter.prototype.hasHandler=function(t){return t in this.events},L.tokenizer=function(t){return arguments.length&&null!=t&&null!=t?Array.isArray(t)?t.map((function(t){return L.utils.asString(t).toLowerCase()})):t.toString().trim().toLowerCase().split(L.tokenizer.seperator):[]},L.tokenizer.seperator=/[\s\-]+/,L.tokenizer.load=function(t){var e=this.registeredFunctions[t];if(!e)throw new Error("Cannot load un-registered function: "+t);return e},L.tokenizer.label="default",L.tokenizer.registeredFunctions={default:L.tokenizer},L.tokenizer.registerFunction=function(t,e){e in this.registeredFunctions&&L.utils.warn("Overwriting existing tokenizer: "+e),t.label=e,this.registeredFunctions[e]=t},L.Pipeline=function(){this._stack=[]},L.Pipeline.registeredFunctions={},L.Pipeline.registerFunction=function(t,e){e in this.registeredFunctions&&L.utils.warn("Overwriting existing registered function: "+e),t.label=e,L.Pipeline.registeredFunctions[t.label]=t},L.Pipeline.warnIfFunctionNotRegistered=function(t){t.label&&t.label in this.registeredFunctions||L.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},L.Pipeline.load=function(t){var e=new L.Pipeline;return t.forEach((function(t){var i=L.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load un-registered function: "+t);e.add(i)})),e},L.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach((function(t){L.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)}),this)},L.Pipeline.prototype.after=function(t,e){L.Pipeline.warnIfFunctionNotRegistered(e);var i=this._stack.indexOf(t);if(-1==i)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,e)},L.Pipeline.prototype.before=function(t,e){L.Pipeline.warnIfFunctionNotRegistered(e);var i=this._stack.indexOf(t);if(-1==i)throw new Error("Cannot find existingFn");this._stack.splice(i,0,e)},L.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);-1!=e&&this._stack.splice(e,1)},L.Pipeline.prototype.run=function(t){for(var e=[],i=t.length,n=this._stack.length,s=0;s<i;s++){for(var o=t[s],r=0;r<n&&void 0!==(o=this._stack[r](o,s,t))&&""!==o;r++);void 0!==o&&""!==o&&e.push(o)}return e},L.Pipeline.prototype.reset=function(){this._stack=[]},L.Pipeline.prototype.toJSON=function(){return this._stack.map((function(t){return L.Pipeline.warnIfFunctionNotRegistered(t),t.label}))},L.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},L.Vector.Node=function(t,e,i){this.idx=t,this.val=e,this.next=i},L.Vector.prototype.insert=function(t,e){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new L.Vector.Node(t,e,i),this.length++;if(t<i.idx)return this.list=new L.Vector.Node(t,e,i),this.length++;for(var n=i,s=i.next;null!=s;){if(t<s.idx)return n.next=new L.Vector.Node(t,e,s),this.length++;n=s,s=s.next}return n.next=new L.Vector.Node(t,e,s),this.length++},L.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var t,e=this.list,i=0;e;)i+=(t=e.val)*t,e=e.next;return this._magnitude=Math.sqrt(i)},L.Vector.prototype.dot=function(t){for(var e=this.list,i=t.list,n=0;e&&i;)e.idx<i.idx?e=e.next:(e.idx>i.idx||(n+=e.val*i.val,e=e.next),i=i.next);return n},L.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},L.SortedSet=function(){this.length=0,this.elements=[]},L.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},L.SortedSet.prototype.add=function(){var t,e;for(t=0;t<arguments.length;t++)e=arguments[t],~this.indexOf(e)||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},L.SortedSet.prototype.toArray=function(){return this.elements.slice()},L.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},L.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},L.SortedSet.prototype.indexOf=function(t){for(var e=0,i=this.elements.length,n=i-e,s=e+Math.floor(n/2),o=this.elements[s];n>1;){if(o===t)return s;o<t&&(e=s),o>t&&(i=s),n=i-e,s=e+Math.floor(n/2),o=this.elements[s]}return o===t?s:-1},L.SortedSet.prototype.locationFor=function(t){for(var e=0,i=this.elements.length,n=i-e,s=e+Math.floor(n/2),o=this.elements[s];n>1;)o<t&&(e=s),o>t&&(i=s),n=i-e,s=e+Math.floor(n/2),o=this.elements[s];return o>t?s:o<t?s+1:void 0},L.SortedSet.prototype.intersect=function(t){for(var e=new L.SortedSet,i=0,n=0,s=this.length,o=t.length,r=this.elements,a=t.elements;!(i>s-1||n>o-1);)r[i]!==a[n]?r[i]<a[n]?i++:r[i]>a[n]&&n++:(e.add(r[i]),i++,n++);return e},L.SortedSet.prototype.clone=function(){var t=new L.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},L.SortedSet.prototype.union=function(t){var e,i,n;this.length>=t.length?(e=this,i=t):(e=t,i=this),n=e.clone();for(var s=0,o=i.toArray();s<o.length;s++)n.add(o[s]);return n},L.SortedSet.prototype.toJSON=function(){return this.toArray()},L.Index=function(){this._fields=[],this._ref="id",this.pipeline=new L.Pipeline,this.documentStore=new L.Store,this.tokenStore=new L.TokenStore,this.corpusTokens=new L.SortedSet,this.eventEmitter=new L.EventEmitter,this.tokenizerFn=L.tokenizer,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},L.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},L.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},L.Index.load=function(t){t.version!==L.version&&L.utils.warn("version mismatch: current "+L.version+" importing "+t.version);var e=new this;return e._fields=t.fields,e._ref=t.ref,e.tokenizer=L.tokenizer.load(t.tokenizer),e.documentStore=L.Store.load(t.documentStore),e.tokenStore=L.TokenStore.load(t.tokenStore),e.corpusTokens=L.SortedSet.load(t.corpusTokens),e.pipeline=L.Pipeline.load(t.pipeline),e},L.Index.prototype.field=function(t,e){var i={name:t,boost:(e=e||{}).boost||1};return this._fields.push(i),this},L.Index.prototype.ref=function(t){return this._ref=t,this},L.Index.prototype.tokenizer=function(t){return t.label&&t.label in L.tokenizer.registeredFunctions||L.utils.warn("Function is not a registered tokenizer. This may cause problems when serialising the index"),this.tokenizerFn=t,this},L.Index.prototype.add=function(t,e){var i={},n=new L.SortedSet,s=t[this._ref];e=void 0===e||e,this._fields.forEach((function(e){var s=this.pipeline.run(this.tokenizerFn(t[e.name]));i[e.name]=s;for(var o=0;o<s.length;o++){var r=s[o];n.add(r),this.corpusTokens.add(r)}}),this),this.documentStore.set(s,n);for(var o=0;o<n.length;o++){for(var r=n.elements[o],a=0,l=0;l<this._fields.length;l++){var c=this._fields[l],h=i[c.name],u=h.length;if(u){for(var d=0,f=0;f<u;f++)h[f]===r&&d++;a+=d/u*c.boost}}this.tokenStore.add(r,{ref:s,tf:a})}e&&this.eventEmitter.emit("add",t,this)},L.Index.prototype.remove=function(t,e){var i=t[this._ref];if(e=void 0===e||e,this.documentStore.has(i)){var n=this.documentStore.get(i);this.documentStore.remove(i),n.forEach((function(t){this.tokenStore.remove(t,i)}),this),e&&this.eventEmitter.emit("remove",t,this)}},L.Index.prototype.update=function(t,e){e=void 0===e||e,this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},L.Index.prototype.idf=function(t){var e="@"+t;if(Object.prototype.hasOwnProperty.call(this._idfCache,e))return this._idfCache[e];var i=this.tokenStore.count(t),n=1;return i>0&&(n=1+Math.log(this.documentStore.length/i)),this._idfCache[e]=n},L.Index.prototype.search=function(t){var e=this.pipeline.run(this.tokenizerFn(t)),i=new L.Vector,n=[],s=this._fields.reduce((function(t,e){return t+e.boost}),0);return e.some((function(t){return this.tokenStore.has(t)}),this)?(e.forEach((function(t,e,o){var r=1/o.length*this._fields.length*s,a=this,l=this.tokenStore.expand(t).reduce((function(e,n){var s=a.corpusTokens.indexOf(n),o=a.idf(n),l=1,c=new L.SortedSet;if(n!==t){var h=Math.max(3,n.length-t.length);l=1/Math.log(h)}s>-1&&i.insert(s,r*o*l);for(var u=a.tokenStore.get(n),d=Object.keys(u),f=d.length,p=0;p<f;p++)c.add(u[d[p]].ref);return e.union(c)}),new L.SortedSet);n.push(l)}),this),n.reduce((function(t,e){return t.intersect(e)})).map((function(t){return{ref:t,score:i.similarity(this.documentVector(t))}}),this).sort((function(t,e){return e.score-t.score}))):[]},L.Index.prototype.documentVector=function(t){for(var e=this.documentStore.get(t),i=e.length,n=new L.Vector,s=0;s<i;s++){var o=e.elements[s],r=this.tokenStore.get(o)[t].tf,a=this.idf(o);n.insert(this.corpusTokens.indexOf(o),r*a)}return n},L.Index.prototype.toJSON=function(){return{version:L.version,fields:this._fields,ref:this._ref,tokenizer:this.tokenizerFn.label,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},L.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},L.Store=function(){this.store={},this.length=0},L.Store.load=function(t){var e=new this;return e.length=t.length,e.store=Object.keys(t.store).reduce((function(e,i){return e[i]=L.SortedSet.load(t.store[i]),e}),{}),e},L.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},L.Store.prototype.get=function(t){return this.store[t]},L.Store.prototype.has=function(t){return t in this.store},L.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},L.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},L.stemmer=(r={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},a={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},l="[aeiouy]",c="[^aeiou][^aeiouy]*",h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),u=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),p=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,g=/^(.+?)eed$/,_=/^(.+?)(ed|ing)$/,A=/.$/,v=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),y=new RegExp("^"+c+l+"[^aeiouwxy]$"),w=/^(.+?[^aeiou])y$/,E=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,S=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,C=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,O=/^(.+?)(s|t)(ion)$/,x=/^(.+?)e$/,k=/ll$/,T=new RegExp("^"+c+l+"[^aeiouwxy]$"),function(t){var e,i,n,s,o,l,c;if(t.length<3)return t;if("y"==(n=t.substr(0,1))&&(t=n.toUpperCase()+t.substr(1)),o=m,(s=p).test(t)?t=t.replace(s,"$1$2"):o.test(t)&&(t=t.replace(o,"$1$2")),o=_,(s=g).test(t)){var L=s.exec(t);(s=h).test(L[1])&&(s=A,t=t.replace(s,""))}else o.test(t)&&(e=(L=o.exec(t))[1],(o=f).test(e)&&(l=b,c=y,(o=v).test(t=e)?t+="e":l.test(t)?(s=A,t=t.replace(s,"")):c.test(t)&&(t+="e")));return(s=w).test(t)&&(t=(e=(L=s.exec(t))[1])+"i"),(s=E).test(t)&&(e=(L=s.exec(t))[1],i=L[2],(s=h).test(e)&&(t=e+r[i])),(s=S).test(t)&&(e=(L=s.exec(t))[1],i=L[2],(s=h).test(e)&&(t=e+a[i])),o=O,(s=C).test(t)?(e=(L=s.exec(t))[1],(s=u).test(e)&&(t=e)):o.test(t)&&(e=(L=o.exec(t))[1]+L[2],(o=u).test(e)&&(t=e)),(s=x).test(t)&&(e=(L=s.exec(t))[1],o=d,l=T,((s=u).test(e)||o.test(e)&&!l.test(e))&&(t=e)),o=u,(s=k).test(t)&&o.test(t)&&(s=A,t=t.replace(s,"")),"y"==n&&(t=n.toLowerCase()+t.substr(1)),t}),L.Pipeline.registerFunction(L.stemmer,"stemmer"),L.generateStopWordFilter=function(t){var e=t.reduce((function(t,e){return t[e]=e,t}),{});return function(t){if(t&&e[t]!==t)return t}},L.stopWordFilter=L.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),L.Pipeline.registerFunction(L.stopWordFilter,"stopWordFilter"),L.trimmer=function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"")},L.Pipeline.registerFunction(L.trimmer,"trimmer"),L.TokenStore=function(){this.root={docs:{}},this.length=0},L.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},L.TokenStore.prototype.add=function(t,e,i){i=i||this.root;var n=t.charAt(0),s=t.slice(1);return n in i||(i[n]={docs:{}}),0===s.length?(i[n].docs[e.ref]=e,void(this.length+=1)):this.add(s,e,i[n])},L.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,i=0;i<t.length;i++){if(!e[t.charAt(i)])return!1;e=e[t.charAt(i)]}return!0},L.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,i=0;i<t.length;i++){if(!e[t.charAt(i)])return{};e=e[t.charAt(i)]}return e},L.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},L.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},L.TokenStore.prototype.remove=function(t,e){if(t){for(var i=this.root,n=0;n<t.length;n++){if(!(t.charAt(n)in i))return;i=i[t.charAt(n)]}delete i.docs[e]}},L.TokenStore.prototype.expand=function(t,e){var i=this.getNode(t),n=i.docs||{};return e=e||[],Object.keys(n).length&&e.push(t),Object.keys(i).forEach((function(i){"docs"!==i&&e.concat(this.expand(t+i,e))}),this),e},L.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}},void 0===(s="function"==typeof(n=function(){return L})?n.call(e,i,e,t):n)||(t.exports=s)}()}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";var t={};i.r(t),i.d(t,{afterMain:()=>y,afterRead:()=>A,afterWrite:()=>S,applyStyles:()=>I,arrow:()=>K,auto:()=>r,basePlacements:()=>a,beforeMain:()=>v,beforeRead:()=>g,beforeWrite:()=>w,bottom:()=>n,clippingParents:()=>h,computeStyles:()=>Z,createPopper:()=>kt,createPopperBase:()=>xt,createPopperLite:()=>Tt,detectOverflow:()=>pt,end:()=>c,eventListeners:()=>et,flip:()=>mt,hide:()=>At,left:()=>o,main:()=>b,modifierPhases:()=>C,offset:()=>vt,placements:()=>m,popper:()=>d,popperGenerator:()=>Ot,popperOffsets:()=>bt,preventOverflow:()=>yt,read:()=>_,reference:()=>f,right:()=>s,start:()=>l,top:()=>e,variationPlacements:()=>p,viewport:()=>u,write:()=>E});var e="top",n="bottom",s="right",o="left",r="auto",a=[e,n,s,o],l="start",c="end",h="clippingParents",u="viewport",d="popper",f="reference",p=a.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+c])}),[]),m=[].concat(a,[r]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+c])}),[]),g="beforeRead",_="read",A="afterRead",v="beforeMain",b="main",y="afterMain",w="beforeWrite",E="write",S="afterWrite",C=[g,_,A,v,b,y,w,E,S];function O(t){return t?(t.nodeName||"").toLowerCase():null}function x(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function k(t){return t instanceof x(t).Element||t instanceof Element}function T(t){return t instanceof x(t).HTMLElement||t instanceof HTMLElement}function L(t){return"undefined"!=typeof ShadowRoot&&(t instanceof x(t).ShadowRoot||t instanceof ShadowRoot)}const I={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];T(s)&&O(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});T(n)&&O(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function N(t){return t.split("-")[0]}var D=Math.max,P=Math.min,j=Math.round;function M(t,e){void 0===e&&(e=!1);var i=t.getBoundingClientRect(),n=1,s=1;if(T(t)&&e){var o=t.offsetHeight,r=t.offsetWidth;r>0&&(n=j(i.width)/r||1),o>0&&(s=j(i.height)/o||1)}return{width:i.width/n,height:i.height/s,top:i.top/s,right:i.right/n,bottom:i.bottom/s,left:i.left/n,x:i.left/n,y:i.top/s}}function R(t){var e=M(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function H(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&L(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function B(t){return x(t).getComputedStyle(t)}function F(t){return["table","td","th"].indexOf(O(t))>=0}function z(t){return((k(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){return"html"===O(t)?t:t.assignedSlot||t.parentNode||(L(t)?t.host:null)||z(t)}function W(t){return T(t)&&"fixed"!==B(t).position?t.offsetParent:null}function V(t){for(var e=x(t),i=W(t);i&&F(i)&&"static"===B(i).position;)i=W(i);return i&&("html"===O(i)||"body"===O(i)&&"static"===B(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&T(t)&&"fixed"===B(t).position)return null;var i=$(t);for(L(i)&&(i=i.host);T(i)&&["html","body"].indexOf(O(i))<0;){var n=B(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function q(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Q(t,e,i){return D(t,P(e,i))}function U(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Y(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const K={name:"arrow",enabled:!0,phase:"main",fn:function(t){var i,r=t.state,l=t.name,c=t.options,h=r.elements.arrow,u=r.modifiersData.popperOffsets,d=N(r.placement),f=q(d),p=[o,s].indexOf(d)>=0?"height":"width";if(h&&u){var m=function(t,e){return U("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Y(t,a))}(c.padding,r),g=R(h),_="y"===f?e:o,A="y"===f?n:s,v=r.rects.reference[p]+r.rects.reference[f]-u[f]-r.rects.popper[p],b=u[f]-r.rects.reference[f],y=V(h),w=y?"y"===f?y.clientHeight||0:y.clientWidth||0:0,E=v/2-b/2,S=m[_],C=w-g[p]-m[A],O=w/2-g[p]/2+E,x=Q(S,O,C),k=f;r.modifiersData[l]=((i={})[k]=x,i.centerOffset=x-O,i)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&H(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function X(t){return t.split("-")[1]}var G={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(t){var i,r=t.popper,a=t.popperRect,l=t.placement,h=t.variation,u=t.offsets,d=t.position,f=t.gpuAcceleration,p=t.adaptive,m=t.roundOffsets,g=t.isFixed,_=u.x,A=void 0===_?0:_,v=u.y,b=void 0===v?0:v,y="function"==typeof m?m({x:A,y:b}):{x:A,y:b};A=y.x,b=y.y;var w=u.hasOwnProperty("x"),E=u.hasOwnProperty("y"),S=o,C=e,O=window;if(p){var k=V(r),T="clientHeight",L="clientWidth";k===x(r)&&"static"!==B(k=z(r)).position&&"absolute"===d&&(T="scrollHeight",L="scrollWidth"),(l===e||(l===o||l===s)&&h===c)&&(C=n,b-=(g&&k===O&&O.visualViewport?O.visualViewport.height:k[T])-a.height,b*=f?1:-1),l!==o&&(l!==e&&l!==n||h!==c)||(S=s,A-=(g&&k===O&&O.visualViewport?O.visualViewport.width:k[L])-a.width,A*=f?1:-1)}var I,N=Object.assign({position:d},p&&G),D=!0===m?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:j(e*n)/n||0,y:j(i*n)/n||0}}({x:A,y:b}):{x:A,y:b};return A=D.x,b=D.y,f?Object.assign({},N,((I={})[C]=E?"0":"",I[S]=w?"0":"",I.transform=(O.devicePixelRatio||1)<=1?"translate("+A+"px, "+b+"px)":"translate3d("+A+"px, "+b+"px, 0)",I)):Object.assign({},N,((i={})[C]=E?b+"px":"",i[S]=w?A+"px":"",i.transform="",i))}const Z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:N(e.placement),variation:X(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,J(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,J(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var tt={passive:!0};const et={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=x(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,tt)})),a&&l.addEventListener("resize",i.update,tt),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,tt)})),a&&l.removeEventListener("resize",i.update,tt)}},data:{}};var it={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(t){return t.replace(/left|right|bottom|top/g,(function(t){return it[t]}))}var st={start:"end",end:"start"};function ot(t){return t.replace(/start|end/g,(function(t){return st[t]}))}function rt(t){var e=x(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function at(t){return M(z(t)).left+rt(t).scrollLeft}function lt(t){var e=B(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function ct(t){return["html","body","#document"].indexOf(O(t))>=0?t.ownerDocument.body:T(t)&<(t)?t:ct($(t))}function ht(t,e){var i;void 0===e&&(e=[]);var n=ct(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=x(n),r=s?[o].concat(o.visualViewport||[],lt(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(ht($(r)))}function ut(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function dt(t,e){return e===u?ut(function(t){var e=x(t),i=z(t),n=e.visualViewport,s=i.clientWidth,o=i.clientHeight,r=0,a=0;return n&&(s=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:s,height:o,x:r+at(t),y:a}}(t)):k(e)?function(t){var e=M(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ut(function(t){var e,i=z(t),n=rt(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=D(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=D(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+at(t),l=-n.scrollTop;return"rtl"===B(s||i).direction&&(a+=D(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(z(t)))}function ft(t){var i,r=t.reference,a=t.element,h=t.placement,u=h?N(h):null,d=h?X(h):null,f=r.x+r.width/2-a.width/2,p=r.y+r.height/2-a.height/2;switch(u){case e:i={x:f,y:r.y-a.height};break;case n:i={x:f,y:r.y+r.height};break;case s:i={x:r.x+r.width,y:p};break;case o:i={x:r.x-a.width,y:p};break;default:i={x:r.x,y:r.y}}var m=u?q(u):null;if(null!=m){var g="y"===m?"height":"width";switch(d){case l:i[m]=i[m]-(r[g]/2-a[g]/2);break;case c:i[m]=i[m]+(r[g]/2-a[g]/2)}}return i}function pt(t,i){void 0===i&&(i={});var o=i,r=o.placement,l=void 0===r?t.placement:r,c=o.boundary,p=void 0===c?h:c,m=o.rootBoundary,g=void 0===m?u:m,_=o.elementContext,A=void 0===_?d:_,v=o.altBoundary,b=void 0!==v&&v,y=o.padding,w=void 0===y?0:y,E=U("number"!=typeof w?w:Y(w,a)),S=A===d?f:d,C=t.rects.popper,x=t.elements[b?S:A],L=function(t,e,i){var n="clippingParents"===e?function(t){var e=ht($(t)),i=["absolute","fixed"].indexOf(B(t).position)>=0&&T(t)?V(t):t;return k(i)?e.filter((function(t){return k(t)&&H(t,i)&&"body"!==O(t)})):[]}(t):[].concat(e),s=[].concat(n,[i]),o=s[0],r=s.reduce((function(e,i){var n=dt(t,i);return e.top=D(n.top,e.top),e.right=P(n.right,e.right),e.bottom=P(n.bottom,e.bottom),e.left=D(n.left,e.left),e}),dt(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(k(x)?x:x.contextElement||z(t.elements.popper),p,g),I=M(t.elements.reference),N=ft({reference:I,element:C,strategy:"absolute",placement:l}),j=ut(Object.assign({},C,N)),R=A===d?j:I,F={top:L.top-R.top+E.top,bottom:R.bottom-L.bottom+E.bottom,left:L.left-R.left+E.left,right:R.right-L.right+E.right},W=t.modifiersData.offset;if(A===d&&W){var q=W[l];Object.keys(F).forEach((function(t){var i=[s,n].indexOf(t)>=0?1:-1,o=[e,n].indexOf(t)>=0?"y":"x";F[t]+=q[o]*i}))}return F}const mt={name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,c=t.options,h=t.name;if(!i.modifiersData[h]._skip){for(var u=c.mainAxis,d=void 0===u||u,f=c.altAxis,g=void 0===f||f,_=c.fallbackPlacements,A=c.padding,v=c.boundary,b=c.rootBoundary,y=c.altBoundary,w=c.flipVariations,E=void 0===w||w,S=c.allowedAutoPlacements,C=i.options.placement,O=N(C),x=_||(O!==C&&E?function(t){if(N(t)===r)return[];var e=nt(t);return[ot(t),e,ot(e)]}(C):[nt(C)]),k=[C].concat(x).reduce((function(t,e){return t.concat(N(e)===r?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,l=i.flipVariations,c=i.allowedAutoPlacements,h=void 0===c?m:c,u=X(n),d=u?l?p:p.filter((function(t){return X(t)===u})):a,f=d.filter((function(t){return h.indexOf(t)>=0}));0===f.length&&(f=d);var g=f.reduce((function(e,i){return e[i]=pt(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[N(i)],e}),{});return Object.keys(g).sort((function(t,e){return g[t]-g[e]}))}(i,{placement:e,boundary:v,rootBoundary:b,padding:A,flipVariations:E,allowedAutoPlacements:S}):e)}),[]),T=i.rects.reference,L=i.rects.popper,I=new Map,D=!0,P=k[0],j=0;j<k.length;j++){var M=k[j],R=N(M),H=X(M)===l,B=[e,n].indexOf(R)>=0,F=B?"width":"height",z=pt(i,{placement:M,boundary:v,rootBoundary:b,altBoundary:y,padding:A}),$=B?H?s:o:H?n:e;T[F]>L[F]&&($=nt($));var W=nt($),V=[];if(d&&V.push(z[R]<=0),g&&V.push(z[$]<=0,z[W]<=0),V.every((function(t){return t}))){P=M,D=!1;break}I.set(M,V)}if(D)for(var q=function(t){var e=k.find((function(e){var i=I.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return P=e,"break"},Q=E?3:1;Q>0&&"break"!==q(Q);Q--);i.placement!==P&&(i.modifiersData[h]._skip=!0,i.placement=P,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function gt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function _t(t){return[e,s,n,o].some((function(e){return t[e]>=0}))}const At={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=pt(e,{elementContext:"reference"}),a=pt(e,{altBoundary:!0}),l=gt(r,n),c=gt(a,s,o),h=_t(l),u=_t(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":u})}},vt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var i=t.state,n=t.options,r=t.name,a=n.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(t,n){return t[n]=function(t,i,n){var r=N(t),a=[o,e].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},i,{placement:t})):n,c=l[0],h=l[1];return c=c||0,h=(h||0)*a,[o,s].indexOf(r)>=0?{x:h,y:c}:{x:c,y:h}}(n,i.rects,l),t}),{}),h=c[i.placement],u=h.x,d=h.y;null!=i.modifiersData.popperOffsets&&(i.modifiersData.popperOffsets.x+=u,i.modifiersData.popperOffsets.y+=d),i.modifiersData[r]=c}},bt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=ft({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},yt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,r=t.options,a=t.name,c=r.mainAxis,h=void 0===c||c,u=r.altAxis,d=void 0!==u&&u,f=r.boundary,p=r.rootBoundary,m=r.altBoundary,g=r.padding,_=r.tether,A=void 0===_||_,v=r.tetherOffset,b=void 0===v?0:v,y=pt(i,{boundary:f,rootBoundary:p,padding:g,altBoundary:m}),w=N(i.placement),E=X(i.placement),S=!E,C=q(w),O="x"===C?"y":"x",x=i.modifiersData.popperOffsets,k=i.rects.reference,T=i.rects.popper,L="function"==typeof b?b(Object.assign({},i.rects,{placement:i.placement})):b,I="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),j=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,M={x:0,y:0};if(x){if(h){var H,B="y"===C?e:o,F="y"===C?n:s,z="y"===C?"height":"width",$=x[C],W=$+y[B],U=$-y[F],Y=A?-T[z]/2:0,K=E===l?k[z]:T[z],G=E===l?-T[z]:-k[z],J=i.elements.arrow,Z=A&&J?R(J):{width:0,height:0},tt=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[B],it=tt[F],nt=Q(0,k[z],Z[z]),st=S?k[z]/2-Y-nt-et-I.mainAxis:K-nt-et-I.mainAxis,ot=S?-k[z]/2+Y+nt+it+I.mainAxis:G+nt+it+I.mainAxis,rt=i.elements.arrow&&V(i.elements.arrow),at=rt?"y"===C?rt.clientTop||0:rt.clientLeft||0:0,lt=null!=(H=null==j?void 0:j[C])?H:0,ct=$+ot-lt,ht=Q(A?P(W,$+st-lt-at):W,$,A?D(U,ct):U);x[C]=ht,M[C]=ht-$}if(d){var ut,dt="x"===C?e:o,ft="x"===C?n:s,mt=x[O],gt="y"===O?"height":"width",_t=mt+y[dt],At=mt-y[ft],vt=-1!==[e,o].indexOf(w),bt=null!=(ut=null==j?void 0:j[O])?ut:0,yt=vt?_t:mt-k[gt]-T[gt]-bt+I.altAxis,wt=vt?mt+k[gt]+T[gt]-bt-I.altAxis:At,Et=A&&vt?function(t,e,i){var n=Q(t,e,i);return n>i?i:n}(yt,mt,wt):Q(A?yt:_t,mt,A?wt:At);x[O]=Et,M[O]=Et-mt}i.modifiersData[a]=M}},requiresIfExists:["offset"]};function wt(t,e,i){void 0===i&&(i=!1);var n,s,o=T(e),r=T(e)&&function(t){var e=t.getBoundingClientRect(),i=j(e.width)/t.offsetWidth||1,n=j(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=z(e),l=M(t,r),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==O(e)||lt(a))&&(c=(n=e)!==x(n)&&T(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:rt(n)),T(e)?((h=M(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=at(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Et(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var St={placement:"bottom",modifiers:[],strategy:"absolute"};function Ct(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Ot(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?St:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},St,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:k(t)?ht(t):t.contextElement?ht(t.contextElement):[],popper:ht(e)};var r,c,d=function(t){var e=Et(t);return C.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((r=[].concat(n,a.options.modifiers),c=r.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=d.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(Ct(e,i)){a.rects={reference:wt(e,V(i),"fixed"===a.options.strategy),popper:R(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],o=s.fn,r=s.options,l=void 0===r?{}:r,u=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:u,instance:h})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){u(),c=!0}};if(!Ct(t,e))return h;function u(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var xt=Ot(),kt=Ot({defaultModifiers:[et,bt,Z,I,vt,mt,yt,K,At]}),Tt=Ot({defaultModifiers:[et,bt,Z,I]});const Lt="transitionend",It=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},Nt=t=>{const e=It(t);return e&&document.querySelector(e)?e:null},Dt=t=>{const e=It(t);return e?document.querySelector(e):null},Pt=t=>{t.dispatchEvent(new Event(Lt))},jt=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),Mt=t=>jt(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,Rt=(t,e,i)=>{Object.keys(i).forEach((n=>{const s=i[n],o=e[n],r=o&&jt(o)?"element":null==(a=o)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(s).test(r))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`)}))},Ht=t=>!(!jt(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),Bt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),Ft=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Ft(t.parentNode):null},zt=()=>{},$t=t=>{t.offsetHeight},Wt=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},Vt=[],qt=()=>"rtl"===document.documentElement.dir,Qt=t=>{var e;e=()=>{const e=Wt();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(Vt.length||document.addEventListener("DOMContentLoaded",(()=>{Vt.forEach((t=>t()))})),Vt.push(e)):e()},Ut=t=>{"function"==typeof t&&t()},Yt=(t,e,i=!0)=>{if(!i)return void Ut(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(Lt,o),Ut(t))};e.addEventListener(Lt,o),setTimeout((()=>{s||Pt(e)}),n)},Kt=(t,e,i,n)=>{let s=t.indexOf(e);if(-1===s)return t[!i&&n?t.length-1:0];const o=t.length;return s+=i?1:-1,n&&(s=(s+o)%o),t[Math.max(0,Math.min(s,o-1))]},Xt=/[^.]*(?=\..*)\.|.*/,Gt=/\..*/,Jt=/::\d+$/,Zt={};let te=1;const ee={mouseenter:"mouseover",mouseleave:"mouseout"},ie=/^(mouseenter|mouseleave)/i,ne=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 se(t,e){return e&&`${e}::${te++}`||t.uidEvent||te++}function oe(t){const e=se(t);return t.uidEvent=e,Zt[e]=Zt[e]||{},Zt[e]}function re(t,e,i=null){const n=Object.keys(t);for(let s=0,o=n.length;s<o;s++){const o=t[n[s]];if(o.originalHandler===e&&o.delegationSelector===i)return o}return null}function ae(t,e,i){const n="string"==typeof e,s=n?i:e;let o=he(t);return ne.has(o)||(o=t),[n,s,o]}function le(t,e,i,n,s){if("string"!=typeof e||!t)return;if(i||(i=n,n=null),ie.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=t(n):i=t(i)}const[o,r,a]=ae(e,i,n),l=oe(t),c=l[a]||(l[a]={}),h=re(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const u=se(r,e.replace(Xt,"")),d=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,n.oneOff&&ue.off(t,s.type,e,i),i.apply(r,[s]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&ue.off(t,n.type,e),e.apply(t,[n])}}(t,i);d.delegationSelector=o?i:null,d.originalHandler=r,d.oneOff=s,d.uidEvent=u,c[u]=d,t.addEventListener(a,d,o)}function ce(t,e,i,n,s){const o=re(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function he(t){return t=t.replace(Gt,""),ee[t]||t}const ue={on(t,e,i,n){le(t,e,i,n,!1)},one(t,e,i,n){le(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=ae(e,i,n),a=r!==e,l=oe(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void ce(t,l,r,o,s?i:null)}c&&Object.keys(l).forEach((i=>{!function(t,e,i,n){const s=e[i]||{};Object.keys(s).forEach((o=>{if(o.includes(n)){const n=s[o];ce(t,e,i,n.originalHandler,n.delegationSelector)}}))}(t,l,i,e.slice(1))}));const h=l[r]||{};Object.keys(h).forEach((i=>{const n=i.replace(Jt,"");if(!a||e.includes(n)){const e=h[i];ce(t,l,r,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=Wt(),s=he(e),o=e!==s,r=ne.has(s);let a,l=!0,c=!0,h=!1,u=null;return o&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(u=document.createEvent("HTMLEvents"),u.initEvent(s,l,!0)):u=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach((t=>{Object.defineProperty(u,t,{get:()=>i[t]})})),h&&u.preventDefault(),c&&t.dispatchEvent(u),u.defaultPrevented&&void 0!==a&&a.preventDefault(),u}},de=new Map,fe={set(t,e,i){de.has(t)||de.set(t,new Map);const n=de.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>de.has(t)&&de.get(t).get(e)||null,remove(t,e){if(!de.has(t))return;const i=de.get(t);i.delete(e),0===i.size&&de.delete(t)}};class pe{constructor(t){(t=Mt(t))&&(this._element=t,fe.set(this._element,this.constructor.DATA_KEY,this))}dispose(){fe.remove(this._element,this.constructor.DATA_KEY),ue.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t=>{this[t]=null}))}_queueCallback(t,e,i=!0){Yt(t,e,i)}static getInstance(t){return fe.get(Mt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const me=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;ue.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Bt(this))return;const s=Dt(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()}))};class ge extends pe{static get NAME(){return"alert"}close(){if(ue.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),ue.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=ge.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}me(ge,"close"),Qt(ge);const _e='[data-bs-toggle="button"]';class Ae extends pe{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=Ae.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function ve(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function be(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}ue.on(document,"click.bs.button.data-api",_e,(t=>{t.preventDefault();const e=t.target.closest(_e);Ae.getOrCreateInstance(e).toggle()})),Qt(Ae);const ye={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${be(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${be(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=ve(t.dataset[i])})),e},getDataAttribute:(t,e)=>ve(t.getAttribute(`data-bs-${be(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},we={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(", ");return this.find(e,t).filter((t=>!Bt(t)&&Ht(t)))}},Ee="carousel",Se={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Ce={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Oe="next",xe="prev",ke="left",Te="right",Le={ArrowLeft:Te,ArrowRight:ke},Ie="slid.bs.carousel",Ne="active",De=".active.carousel-item";class Pe extends pe{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=we.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Se}static get NAME(){return Ee}next(){this._slide(Oe)}nextWhenVisible(){!document.hidden&&Ht(this._element)&&this.next()}prev(){this._slide(xe)}pause(t){t||(this._isPaused=!0),we.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Pt(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=we.findOne(De,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void ue.one(this._element,Ie,(()=>this.to(t)));if(e===t)return this.pause(),void this.cycle();const i=t>e?Oe:xe;this._slide(i,this._items[t])}_getConfig(t){return t={...Se,...ye.getDataAttributes(this._element),..."object"==typeof t?t:{}},Rt(Ee,t,Ce),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?Te:ke)}_addEventListeners(){this._config.keyboard&&ue.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(ue.on(this._element,"mouseenter.bs.carousel",(t=>this.pause(t))),ue.on(this._element,"mouseleave.bs.carousel",(t=>this.cycle(t)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},n=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};we.find(".carousel-item img",this._element).forEach((t=>{ue.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()))})),this._pointerEvent?(ue.on(this._element,"pointerdown.bs.carousel",(t=>e(t))),ue.on(this._element,"pointerup.bs.carousel",(t=>n(t))),this._element.classList.add("pointer-event")):(ue.on(this._element,"touchstart.bs.carousel",(t=>e(t))),ue.on(this._element,"touchmove.bs.carousel",(t=>i(t))),ue.on(this._element,"touchend.bs.carousel",(t=>n(t))))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Le[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?we.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===Oe;return Kt(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),n=this._getItemIndex(we.findOne(De,this._element));return ue.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=we.findOne(".active",this._indicatorsElement);e.classList.remove(Ne),e.removeAttribute("aria-current");const i=we.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add(Ne),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||we.findOne(De,this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const i=this._directionToOrder(t),n=we.findOne(De,this._element),s=this._getItemIndex(n),o=e||this._getItemByOrder(i,n),r=this._getItemIndex(o),a=Boolean(this._interval),l=i===Oe,c=l?"carousel-item-start":"carousel-item-end",h=l?"carousel-item-next":"carousel-item-prev",u=this._orderToDirection(i);if(o&&o.classList.contains(Ne))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(o,u).defaultPrevented)return;if(!n||!o)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const d=()=>{ue.trigger(this._element,Ie,{relatedTarget:o,direction:u,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),$t(o),n.classList.add(c),o.classList.add(c);const t=()=>{o.classList.remove(c,h),o.classList.add(Ne),n.classList.remove(Ne,h,c),this._isSliding=!1,setTimeout(d,0)};this._queueCallback(t,n,!0)}else n.classList.remove(Ne),o.classList.add(Ne),this._isSliding=!1,d();a&&this.cycle()}_directionToOrder(t){return[Te,ke].includes(t)?qt()?t===ke?xe:Oe:t===ke?Oe:xe:t}_orderToDirection(t){return[Oe,xe].includes(t)?qt()?t===xe?ke:Te:t===xe?Te:ke:t}static carouselInterface(t,e){const i=Pe.getOrCreateInstance(t,e);let{_config:n}=i;"object"==typeof e&&(n={...n,...e});const s="string"==typeof e?e:n.slide;if("number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){Pe.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=Dt(this);if(!e||!e.classList.contains("carousel"))return;const i={...ye.getDataAttributes(e),...ye.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),Pe.carouselInterface(e,i),n&&Pe.getInstance(e).to(n),t.preventDefault()}}ue.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Pe.dataApiClickHandler),ue.on(window,"load.bs.carousel.data-api",(()=>{const t=we.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;e<i;e++)Pe.carouselInterface(t[e],Pe.getInstance(t[e]))})),Qt(Pe);const je="collapse",Me={toggle:!0,parent:null},Re={toggle:"boolean",parent:"(null|element)"},He="show",Be="collapse",Fe="collapsing",ze="collapsed",$e=":scope .collapse .collapse",We='[data-bs-toggle="collapse"]';class Ve extends pe{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];const i=we.find(We);for(let t=0,e=i.length;t<e;t++){const e=i[t],n=Nt(e),s=we.find(n).filter((t=>t===this._element));null!==n&&s.length&&(this._selector=n,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Me}static get NAME(){return je}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=we.find($e,this._config.parent);e=we.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((e=>!t.includes(e)))}const i=we.findOne(this._selector);if(e.length){const n=e.find((t=>i!==t));if(t=n?Ve.getInstance(n):null,t&&t._isTransitioning)return}if(ue.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e.forEach((e=>{i!==e&&Ve.getOrCreateInstance(e,{toggle:!1}).hide(),t||fe.set(e,"bs.collapse",null)}));const n=this._getDimension();this._element.classList.remove(Be),this._element.classList.add(Fe),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Fe),this._element.classList.add(Be,He),this._element.style[n]="",ue.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ue.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,$t(this._element),this._element.classList.add(Fe),this._element.classList.remove(Be,He);const e=this._triggerArray.length;for(let t=0;t<e;t++){const e=this._triggerArray[t],i=Dt(e);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Fe),this._element.classList.add(Be),ue.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(He)}_getConfig(t){return(t={...Me,...ye.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=Mt(t.parent),Rt(je,t,Re),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=we.find($e,this._config.parent);we.find(We,this._config.parent).filter((e=>!t.includes(e))).forEach((t=>{const e=Dt(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}))}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach((t=>{e?t.classList.remove(ze):t.classList.add(ze),t.setAttribute("aria-expanded",e)}))}static jQueryInterface(t){return this.each((function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=Ve.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}ue.on(document,"click.bs.collapse.data-api",We,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=Nt(this);we.find(e).forEach((t=>{Ve.getOrCreateInstance(t,{toggle:!1}).toggle()}))})),Qt(Ve);const qe="dropdown",Qe="Escape",Ue="Space",Ye="ArrowUp",Ke="ArrowDown",Xe=new RegExp("ArrowUp|ArrowDown|Escape"),Ge="click.bs.dropdown.data-api",Je="keydown.bs.dropdown.data-api",Ze="show",ti='[data-bs-toggle="dropdown"]',ei=".dropdown-menu",ii=qt()?"top-end":"top-start",ni=qt()?"top-start":"top-end",si=qt()?"bottom-end":"bottom-start",oi=qt()?"bottom-start":"bottom-end",ri=qt()?"left-start":"right-start",ai=qt()?"right-start":"left-start",li={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},ci={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class hi extends pe{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return li}static get DefaultType(){return ci}static get NAME(){return qe}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Bt(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(ue.trigger(this._element,"show.bs.dropdown",t).defaultPrevented)return;const e=hi.getParentFromElement(this._element);this._inNavbar?ye.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((t=>ue.on(t,"mouseover",zt))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ze),this._element.classList.add(Ze),ue.trigger(this._element,"shown.bs.dropdown",t)}hide(){if(Bt(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){ue.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>ue.off(t,"mouseover",zt))),this._popper&&this._popper.destroy(),this._menu.classList.remove(Ze),this._element.classList.remove(Ze),this._element.setAttribute("aria-expanded","false"),ye.removeDataAttribute(this._menu,"popper"),ue.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...ye.getDataAttributes(this._element),...t},Rt(qe,t,this.constructor.DefaultType),"object"==typeof t.reference&&!jt(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${qe.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(e){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;"parent"===this._config.reference?i=e:jt(this._config.reference)?i=Mt(this._config.reference):"object"==typeof this._config.reference&&(i=this._config.reference);const n=this._getPopperConfig(),s=n.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=kt(i,this._menu,n),s&&ye.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(Ze)}_getMenuElement(){return we.next(this._element,ei)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return ri;if(t.classList.contains("dropstart"))return ai;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?ni:ii:e?oi:si}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=we.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Ht);i.length&&Kt(i,e,t===Ke,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=hi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=we.find(ti);for(let i=0,n=e.length;i<n;i++){const n=hi.getInstance(e[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const s={relatedTarget:n._element};if(t){const e=t.composedPath(),i=e.includes(n._menu);if(e.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(s.clickEvent=t)}n._completeHide(s)}}static getParentFromElement(t){return Dt(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===Ue||t.key!==Qe&&(t.key!==Ke&&t.key!==Ye||t.target.closest(ei)):!Xe.test(t.key))return;const e=this.classList.contains(Ze);if(!e&&t.key===Qe)return;if(t.preventDefault(),t.stopPropagation(),Bt(this))return;const i=this.matches(ti)?this:we.prev(this,ti)[0],n=hi.getOrCreateInstance(i);if(t.key!==Qe)return t.key===Ye||t.key===Ke?(e||n.show(),void n._selectMenuItem(t)):void(e&&t.key!==Ue||hi.clearMenus());n.hide()}}ue.on(document,Je,ti,hi.dataApiKeydownHandler),ue.on(document,Je,ei,hi.dataApiKeydownHandler),ue.on(document,Ge,hi.clearMenus),ue.on(document,"keyup.bs.dropdown.data-api",hi.clearMenus),ue.on(document,Ge,ti,(function(t){t.preventDefault(),hi.getOrCreateInstance(this).toggle()})),Qt(hi);const ui=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",di=".sticky-top";class fi{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(e=>e+t)),this._setElementAttributes(ui,"paddingRight",(e=>e+t)),this._setElementAttributes(di,"marginRight",(e=>e-t))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t)[e];t.style[e]=`${i(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(ui,"paddingRight"),this._resetElementAttributes(di,"marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&ye.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=ye.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(ye.removeDataAttribute(t,e),t.style[e]=i)}))}_applyManipulationCallback(t,e){jt(t)?e(t):we.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const pi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},mi={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},gi="show",_i="mousedown.bs.backdrop";class Ai{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&$t(this._getElement()),this._getElement().classList.add(gi),this._emulateAnimation((()=>{Ut(t)}))):Ut(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(gi),this._emulateAnimation((()=>{this.dispose(),Ut(t)}))):Ut(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...pi,..."object"==typeof t?t:{}}).rootElement=Mt(t.rootElement),Rt("backdrop",t,mi),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),ue.on(this._getElement(),_i,(()=>{Ut(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(ue.off(this._element,_i),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){Yt(t,this._getElement(),this._config.isAnimated)}}const vi={trapElement:null,autofocus:!0},bi={trapElement:"element",autofocus:"boolean"},yi=".bs.focustrap",wi="backward";class Ei{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),ue.off(document,yi),ue.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),ue.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ue.off(document,yi))}_handleFocusin(t){const{target:e}=t,{trapElement:i}=this._config;if(e===document||e===i||i.contains(e))return;const n=we.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===wi?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?wi:"forward")}_getConfig(t){return t={...vi,..."object"==typeof t?t:{}},Rt("focustrap",t,bi),t}}const Si="modal",Ci="Escape",Oi={backdrop:!0,keyboard:!0,focus:!0},xi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},ki="hidden.bs.modal",Ti="show.bs.modal",Li="resize.bs.modal",Ii="click.dismiss.bs.modal",Ni="keydown.dismiss.bs.modal",Di="mousedown.dismiss.bs.modal",Pi="modal-open",ji="show",Mi="modal-static";class Ri extends pe{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=we.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new fi}static get Default(){return Oi}static get NAME(){return Si}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||ue.trigger(this._element,Ti,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Pi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),ue.on(this._dialog,Di,(()=>{ue.one(this._element,"mouseup.dismiss.bs.modal",(t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;if(ue.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(ji),ue.off(this._element,Ii),ue.off(this._dialog,Di),this._queueCallback((()=>this._hideModal()),this._element,t)}dispose(){[window,this._dialog].forEach((t=>ue.off(t,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ai({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ei({trapElement:this._element})}_getConfig(t){return t={...Oi,...ye.getDataAttributes(this._element),..."object"==typeof t?t:{}},Rt(Si,t,xi),t}_showElement(t){const e=this._isAnimated(),i=we.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,i&&(i.scrollTop=0),e&&$t(this._element),this._element.classList.add(ji),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ue.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,e)}_setEscapeEvent(){this._isShown?ue.on(this._element,Ni,(t=>{this._config.keyboard&&t.key===Ci?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==Ci||this._triggerBackdropTransition()})):ue.off(this._element,Ni)}_setResizeEvent(){this._isShown?ue.on(window,Li,(()=>this._adjustDialog())):ue.off(window,Li)}_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(Pi),this._resetAdjustments(),this._scrollBar.reset(),ue.trigger(this._element,ki)}))}_showBackdrop(t){ue.on(this._element,Ii,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ue.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||t.contains(Mi)||(n||(i.overflowY="hidden"),t.add(Mi),this._queueCallback((()=>{t.remove(Mi),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!qt()||i&&!t&&qt())&&(this._element.style.paddingLeft=`${e}px`),(i&&!t&&!qt()||!i&&t&&qt())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=Ri.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}ue.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=Dt(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),ue.one(e,Ti,(t=>{t.defaultPrevented||ue.one(e,ki,(()=>{Ht(this)&&this.focus()}))}));const i=we.findOne(".modal.show");i&&Ri.getInstance(i).hide(),Ri.getOrCreateInstance(e).toggle(this)})),me(Ri),Qt(Ri);const Hi="offcanvas",Bi={backdrop:!0,keyboard:!0,scroll:!1},Fi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},zi="show",$i=".offcanvas.show",Wi="hidden.bs.offcanvas";class Vi extends pe{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Hi}static get Default(){return Bi}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||ue.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new fi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(zi),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),ue.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(ue.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(zi),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new fi).reset(),ue.trigger(this._element,Wi)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...Bi,...ye.getDataAttributes(this._element),..."object"==typeof t?t:{}},Rt(Hi,t,Fi),t}_initializeBackDrop(){return new Ai({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Ei({trapElement:this._element})}_addEventListeners(){ue.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}))}static jQueryInterface(t){return this.each((function(){const e=Vi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}ue.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=Dt(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Bt(this))return;ue.one(e,Wi,(()=>{Ht(this)&&this.focus()}));const i=we.findOne($i);i&&i!==e&&Vi.getInstance(i).hide(),Vi.getOrCreateInstance(e).toggle(this)})),ue.on(window,"load.bs.offcanvas.data-api",(()=>we.find($i).forEach((t=>Vi.getOrCreateInstance(t).show())))),me(Vi),Qt(Vi);const qi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ui=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Yi=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!qi.has(i)||Boolean(Qi.test(t.nodeValue)||Ui.test(t.nodeValue));const n=e.filter((t=>t instanceof RegExp));for(let t=0,e=n.length;t<e;t++)if(n[t].test(i))return!0;return!1};function Ki(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(let t=0,i=s.length;t<i;t++){const i=s[t],n=i.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){i.remove();continue}const o=[].concat(...i.attributes),r=[].concat(e["*"]||[],e[n]||[]);o.forEach((t=>{Yi(t,r)||i.removeAttribute(t.nodeName)}))}return n.body.innerHTML}const Xi="tooltip",Gi=new Set(["sanitize","allowList","sanitizeFn"]),Ji={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Zi={AUTO:"auto",TOP:"top",RIGHT:qt()?"left":"right",BOTTOM:"bottom",LEFT:qt()?"right":"left"},tn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},en={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},nn="fade",sn="show",on="show",rn="out",an=".tooltip-inner",ln=".modal",cn="hide.bs.modal",hn="hover",un="focus";class dn extends pe{constructor(e,i){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(i),this.tip=null,this._setListeners()}static get Default(){return tn}static get NAME(){return Xi}static get Event(){return en}static get DefaultType(){return Ji}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(sn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),ue.off(this._element.closest(ln),cn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=ue.trigger(this._element,this.constructor.Event.SHOW),e=Ft(this._element),i=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(an).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(nn);const o="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(o);this._addAttachmentClass(r);const{container:a}=this._config;fe.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),ue.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=kt(this._element,n,this._getPopperConfig(r)),n.classList.add(sn);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{ue.on(t,"mouseover",zt)}));const c=this.tip.classList.contains(nn);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,ue.trigger(this._element,this.constructor.Event.SHOWN),t===rn&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const t=this.getTipElement();if(ue.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(sn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>ue.off(t,"mouseover",zt))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(nn);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==on&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),ue.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(nn,sn),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),an)}_sanitizeAndSetContent(t,e,i){const n=we.findOne(i,t);e||!n?this.setElementContent(n,e):n.remove()}setElementContent(t,e){if(null!==t)return jt(e)?(e=Mt(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Ki(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={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:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return Zi[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((t=>{if("click"===t)ue.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t=>this.toggle(t)));else if("manual"!==t){const e=t===hn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===hn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;ue.on(this._element,e,this._config.selector,(t=>this._enter(t))),ue.on(this._element,i,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},ue.on(this._element.closest(ln),cn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?un:hn]=!0),e.getTipElement().classList.contains(sn)||e._hoverState===on?e._hoverState=on:(clearTimeout(e._timeout),e._hoverState=on,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===on&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?un:hn]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=rn,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===rn&&e.hide()}),e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=ye.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{Gi.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:Mt(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),Rt(Xi,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ki(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&i.length>0&&i.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=dn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Qt(dn);const fn={...dn.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},pn={...dn.DefaultType,content:"(string|element|function)"},mn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class gn extends dn{static get Default(){return fn}static get NAME(){return"popover"}static get Event(){return mn}static get DefaultType(){return pn}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each((function(){const e=gn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Qt(gn);const _n="scrollspy",An={offset:10,method:"auto",target:""},vn={offset:"number",method:"string",target:"(string|element)"},bn="active",yn=".nav-link, .list-group-item, .dropdown-item",wn="position";class En extends pe{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,ue.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return An}static get NAME(){return _n}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":wn,e="auto"===this._config.method?t:this._config.method,i=e===wn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),we.find(yn,this._config.target).map((t=>{const n=Nt(t),s=n?we.findOne(n):null;if(s){const t=s.getBoundingClientRect();if(t.width||t.height)return[ye[e](s).top+i,n]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){ue.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){return(t={...An,...ye.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=Mt(t.target)||document.documentElement,Rt(_n,t,vn),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=yn.split(",").map((e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=we.findOne(e.join(","),this._config.target);i.classList.add(bn),i.classList.contains("dropdown-item")?we.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(bn):we.parents(i,".nav, .list-group").forEach((t=>{we.prev(t,".nav-link, .list-group-item").forEach((t=>t.classList.add(bn))),we.prev(t,".nav-item").forEach((t=>{we.children(t,".nav-link").forEach((t=>t.classList.add(bn)))}))})),ue.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){we.find(yn,this._config.target).filter((t=>t.classList.contains(bn))).forEach((t=>t.classList.remove(bn)))}static jQueryInterface(t){return this.each((function(){const e=En.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}ue.on(window,"load.bs.scrollspy.data-api",(()=>{we.find('[data-bs-spy="scroll"]').forEach((t=>new En(t)))})),Qt(En);const Sn="active",Cn="fade",On="show",xn=".active",kn=":scope > li > .active";class Tn extends pe{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Sn))return;let t;const e=Dt(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?kn:xn;t=we.find(e,i),t=t[t.length-1]}const n=t?ue.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(ue.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const s=()=>{ue.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),ue.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,s):s()}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?we.children(e,xn):we.find(kn,e))[0],s=i&&n&&n.classList.contains(Cn),o=()=>this._transitionComplete(t,n,i);n&&s?(n.classList.remove(On),this._queueCallback(o,t,!0)):o()}_transitionComplete(t,e,i){if(e){e.classList.remove(Sn);const t=we.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Sn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Sn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),$t(t),t.classList.contains(Cn)&&t.classList.add(On);let n=t.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&we.find(".dropdown-toggle",e).forEach((t=>t.classList.add(Sn))),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=Tn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}ue.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),Bt(this)||Tn.getOrCreateInstance(this).show()})),Qt(Tn);const Ln="toast",In="hide",Nn="show",Dn="showing",Pn={animation:"boolean",autohide:"boolean",delay:"number"},jn={animation:!0,autohide:!0,delay:5e3};class Mn extends pe{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Pn}static get Default(){return jn}static get NAME(){return Ln}show(){ue.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(In),$t(this._element),this._element.classList.add(Nn),this._element.classList.add(Dn),this._queueCallback((()=>{this._element.classList.remove(Dn),ue.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(Nn)&&(ue.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Dn),this._queueCallback((()=>{this._element.classList.add(In),this._element.classList.remove(Dn),this._element.classList.remove(Nn),ue.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Nn)&&this._element.classList.remove(Nn),super.dispose()}_getConfig(t){return t={...jn,...ye.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},Rt(Ln,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){ue.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),ue.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),ue.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),ue.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Mn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}me(Mn),Qt(Mn);var Rn=i(336),Hn=i.n(Rn),Bn=null,Fn=null,zn=null;document.addEventListener("DOMContentLoaded",(function(){var t=new XMLHttpRequest;t.open("GET","/search/lunr-index.json"),t.addEventListener("load",(function(){Fn=JSON.parse(t.response),Bn=Hn().Index.load(Fn.index),(zn=new Search).init()})),t.send()})),function(){var t=window.Search=function(){this.SEARCH_INPUT_ID="#input-search",this.POPOVER_CLASS=".popover",this.POPOVER_OPTIONS={html:!0,container:"body",placement:"bottom",trigger:"manual",content:function(){return zn.getPopoverContent()}},this.LIMIT_RESULTS=10,this.popoverContent="",this.popoverHandler=null,this.processText=function(t){if(!t||""===t)return this.hidePopover();this.showPopover(t)},this.initializePopover=function(){this.popover=new gn(this.searchInput,this.POPOVER_OPTIONS)},this.hidePopover=function(){const t=gn.getInstance(this.searchInput);t&&t.hide(),this.searchArrows.destroy()},this.showPopover=function(t){this.popoverContent=this.generatePopoverContent(t),gn.getInstance(this.searchInput).show(),document.querySelector(".popover-body").innerHTML=this.popoverContent},this.generatePopoverContent=function(t){var e=Bn.search(t);if(!e.length)return"No results found";e=e.slice(0,this.LIMIT_RESULTS);var i=this.uniqueResults(e),n='<ul class="search-list-ul">';return i.forEach((function(t){var e=Fn.docs[t.ref],i=document.createElement("h4");i.textContent=e.title;var s=document.createElement("a");s.href=e.url,s.appendChild(i);var o=document.createElement("li");if(o.className="search-list-li",o.appendChild(s),o.appendChild(document.createElement("br")),null!==e.description){var r=document.createElement("p");r.appendChild(document.createTextNode(e.description)),o.appendChild(r)}var a=document.createElement("li");a.className="separator",a.appendChild(document.createElement("hr")),n+=[o,a].map((t=>t.outerHTML)).join("")})),n+"</ul>"},this.uniqueResults=function(t){var e=[],i=[];return[].forEach.call(t,(function(t){-1===i.indexOf(Fn.docs[t.ref].title)&&(i.push(Fn.docs[t.ref].title),e.push(t))})),e},this.initializePopoverEvents=function(){var t=this;this.searchInput.addEventListener("keydown",(function(e){if(27==e.which)return t.hidePopover()})),this.searchInput.addEventListener("input",(function(e){var i=this.value;t.processText(i)})),this.searchInput.addEventListener("focus",(function(e){var i=this.value;""!==i&&t.showPopover(i)})),this.searchInput.addEventListener("shown.bs.popover",(function(){t.popoverHandler=document.querySelector(t.POPOVER_CLASS),t.popoverHandler.addEventListener("click",(function(t){t.stopPropagation()})),t.searchArrows.init()})),this.searchInput.addEventListener("click",(function(t){t.stopPropagation()})),window.addEventListener("click",t.hidePopover.bind(t))}};t.prototype.init=function(){this.searchInput=document.querySelector(this.SEARCH_INPUT_ID),this.searchArrows=new SearchArrows,this.initializePopoverEvents(),this.initializePopover()},t.prototype.getPopoverContent=function(){return this.popoverContent}}(),i(60);var $n=i(303);(new(i.n($n)())).options={visible:"touch"}})()})();