Welcome to mirror list, hosted at ThFree Co, Russian Federation.

application.min.js « js « assets - github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0078fdceb1b706dcc38d4614fe2064095edee87c (plain)
1
2
3
4
5
/*!
  * Bootstrap v5.1.3 (https://getbootstrap.com/)
  * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t(e.Popper)}(this,function(tD){"use strict";function tB(e){if(e&&e.__esModule)return e;const t=Object.create(null);if(e)for(const n in e)if("default"!==n){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const L=tB(tD),ei="transitionend",td=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e},eo=t=>{const e=td(t);return e&&document.querySelector(e)?e:null},l=t=>{const e=td(t);return e?document.querySelector(e):null},tl=e=>{e.dispatchEvent(new Event(ei))},g=e=>!!e&&"object"==typeof e&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),u=e=>g(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,r=(t,n,e)=>{Object.keys(e).forEach(s=>{const a=e[s],o=n[s],r=o&&g(o)?"element":null==(i=o)?`${i}`:{}.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();var i;if(!new RegExp(a).test(r))throw new TypeError(`${t.toUpperCase()}: Option "${s}" provided type "${r}" but expected type "${a}".`)})},F=e=>!!g(e)&&0!==e.getClientRects().length&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),b=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),tr=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?tr(e.parentNode):null},V=()=>{},y=e=>{e.offsetHeight},eu=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},J=[],s=()=>"rtl"===document.documentElement.dir,i=e=>{var t=()=>{const t=eu();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}};"loading"===document.readyState?(J.length||document.addEventListener("DOMContentLoaded",()=>{J.forEach(e=>e())}),J.push(t)):t()},p=e=>{"function"==typeof e&&e()},e_=(t,e,o=!0)=>{if(!o)return void p(t);const i=(n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const s=Number.parseFloat(e),o=Number.parseFloat(t);return s||o?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})(e)+5;let n=!1;const s=({target:o})=>{o===e&&(n=!0,e.removeEventListener(ei,s),p(t))};e.addEventListener(ei,s),setTimeout(()=>{n||tl(e)},i)},te=(e,i,s,o)=>{let t=e.indexOf(i);if(-1===t)return e[!s&&o?e.length-1:0];const n=e.length;return t+=s?1:-1,o&&(t=(t+n)%n),e[Math.max(0,Math.min(t,n-1))]},tH=/[^.]*(?=\..*)\.|.*/,tP=/\..*/,tR=/::\d+$/,et={};let eV=1;const tL={mouseenter:"mouseover",mouseleave:"mouseout"},tN=/^(mouseenter|mouseleave)/i,eT=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 eF(t,e){return e&&`${e}::${eV++}`||t.uidEvent||eV++}function eM(t){const e=eF(t);return t.uidEvent=e,et[e]=et[e]||{},et[e]}function ek(e,n,s=null){const t=Object.keys(e);for(let o=0,a=t.length;o<a;o++){const i=e[t[o]];if(i.originalHandler===n&&i.delegationSelector===s)return i}return null}function ex(t,n,o){const s="string"==typeof n,i=s?o:n;let e=ey(t);return eT.has(e)||(e=t),[s,i,e]}function eO(o,a,t,n,h){if("string"!=typeof a||!o)return;if(t||(t=n,n=null),tN.test(a)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};n?n=e(n):t=e(t)}const[i,l,c]=ex(a,t,n),d=eM(o),u=d[c]||(d[c]={}),r=ek(u,l,i?t:null);if(r)return void(r.oneOff=r.oneOff&&h);const m=eF(l,a.replace(tH,"")),s=i?function(t,n,s){return function a(o){const i=t.querySelectorAll(n);for(let{target:r}=o;r&&r!==this;r=r.parentNode)for(let c=i.length;c--;)if(i[c]===r)return o.delegateTarget=r,a.oneOff&&e.off(t,o.type,n,s),s.apply(r,[o]);return null}}(o,t,n):function(t,n){return function o(s){return s.delegateTarget=t,o.oneOff&&e.off(t,s.type,n),n.apply(t,[s])}}(o,t);s.delegationSelector=i?t:null,s.originalHandler=l,s.oneOff=h,s.uidEvent=m,u[m]=s,o.addEventListener(c,s,i)}function er(o,n,e,i,s){const t=ek(n[e],i,s);t&&(o.removeEventListener(e,t,Boolean(s)),delete n[e][t.uidEvent])}function ey(e){return e=e.replace(tP,""),tL[e]||e}const e={on(e,t,n,s){eO(e,t,n,s,!1)},one(e,t,n,s){eO(e,t,n,s,!0)},off(n,t,a,r){if("string"!=typeof t||!n)return;const[d,i,s]=ex(t,a,r),c=s!==t,e=eM(n),l=t.startsWith(".");if(void 0!==i){if(!e||!e[s])return;return void er(n,e,s,i,d?a:null)}l&&Object.keys(e).forEach(s=>{!function(s,e,t,o){const n=e[t]||{};Object.keys(n).forEach(i=>{if(i.includes(o)){const o=n[i];er(s,e,t,o.originalHandler,o.delegationSelector)}})}(n,e,s,t.slice(1))});const o=e[s]||{};Object.keys(o).forEach(i=>{const a=i.replace(tR,"");if(!c||t.includes(a)){const t=o[i];er(n,e,s,t.originalHandler,t.delegationSelector)}})},trigger(o,n,s){if("string"!=typeof n||!o)return null;const i=eu(),a=ey(n),u=n!==a,d=eT.has(a);let t,r=!0,c=!0,l=!1,e=null;return u&&i&&(t=i.Event(n,s),i(o).trigger(t),r=!t.isPropagationStopped(),c=!t.isImmediatePropagationStopped(),l=t.isDefaultPrevented()),d?(e=document.createEvent("HTMLEvents"),e.initEvent(a,r,!0)):e=new CustomEvent(n,{bubbles:r,cancelable:!0}),void 0!==s&&Object.keys(s).forEach(t=>{Object.defineProperty(e,t,{get:()=>s[t]})}),l&&e.preventDefault(),c&&o.dispatchEvent(e),e.defaultPrevented&&void 0!==t&&t.preventDefault(),e}},d=new Map,T={set(t,n,s){d.has(t)||d.set(t,new Map);const e=d.get(t);e.has(n)||0===e.size?e.set(n,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get:(e,t)=>d.has(e)&&d.get(e).get(t)||null,remove(e,n){if(!d.has(e))return;const t=d.get(e);t.delete(n),0===t.size&&d.delete(e)}};class a{constructor(e){(e=u(e))&&(this._element=e,T.set(this._element,this.constructor.DATA_KEY,this))}dispose(){T.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,n=!0){e_(e,t,n)}static getInstance(e){return T.get(u(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t: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 D=(t,s="hide")=>{const o=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;e.on(document,o,`[data-bs-dismiss="${n}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),b(this))return;const o=l(this)||this.closest(`.${n}`);t.getOrCreateInstance(o)[s]()})};class $ extends a{static get NAME(){return"alert"}close(){if(e.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(),e.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}D($,"close"),i($);const e9='[data-bs-toggle="button"]';class U extends a{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=U.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function ev(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function G(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}e.on(document,"click.bs.button.data-api",e9,e=>{e.preventDefault();const t=e.target.closest(e9);U.getOrCreateInstance(t).toggle()}),i(U);const n={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${G(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${G(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter(e=>e.startsWith("bs")).forEach(s=>{let n=s.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=ev(e.dataset[s])}),t},getDataAttribute:(e,t)=>ev(e.getAttribute(`data-bs-${G(t)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},t={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(n,s){const t=[];let e=n.parentNode;for(;e&&e.nodeType===Node.ELEMENT_NODE&&3!==e.nodeType;)e.matches(s)&&t.push(e),e=e.parentNode;return t},prev(t,n){let e=t.previousElementSibling;for(;e;){if(e.matches(n))return[e];e=e.previousElementSibling}return[]},next(t,n){let e=t.nextElementSibling;for(;e;){if(e.matches(n))return[e];e=e.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(", ");return this.find(t,e).filter(e=>!b(e)&&F(e))}},eb="carousel",ep={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},tz={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},v="next",j="prev",f="left",z="right",tT={ArrowLeft:z,ArrowRight:f},eh="slid.bs.carousel",h="active",I=".active.carousel-item";class c extends a{constructor(e,n){super(e),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(n),this._indicatorsElement=t.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 ep}static get NAME(){return eb}next(){this._slide(v)}nextWhenVisible(){!document.hidden&&F(this._element)&&this.next()}prev(){this._slide(j)}pause(e){e||(this._isPaused=!0),t.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(tl(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(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(n){this._activeElement=t.findOne(I,this._element);const s=this._getItemIndex(this._activeElement);if(n>this._items.length-1||n<0)return;if(this._isSliding)return void e.one(this._element,eh,()=>this.to(n));if(s===n)return this.pause(),void this.cycle();const o=n>s?v:j;this._slide(o,this._items[n])}_getConfig(e){return e={...ep,...n.getDataAttributes(this._element),..."object"==typeof e?e:{}},r(eb,e,tz),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?z:f)}_addEventListeners(){this._config.keyboard&&e.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(e.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),e.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const n=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),s=e=>{n(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},o=e=>{n(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),500+this._config.interval))};t.find(".carousel-item img",this._element).forEach(t=>{e.on(t,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?(e.on(this._element,"pointerdown.bs.carousel",e=>s(e)),e.on(this._element,"pointerup.bs.carousel",e=>o(e)),this._element.classList.add("pointer-event")):(e.on(this._element,"touchstart.bs.carousel",e=>s(e)),e.on(this._element,"touchmove.bs.carousel",e=>i(e)),e.on(this._element,"touchend.bs.carousel",e=>o(e)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=tT[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?t.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===v;return te(this._items,t,n,this._config.wrap)}_triggerSlideEvent(n,s){const o=this._getItemIndex(n),i=this._getItemIndex(t.findOne(I,this._element));return e.trigger(this._element,"slide.bs.carousel",{relatedTarget:n,direction:s,from:i,to:o})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const s=t.findOne(".active",this._indicatorsElement);s.classList.remove(h),s.removeAttribute("aria-current");const n=t.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<n.length;t++)if(Number.parseInt(n[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[t].classList.add(h),n[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||t.findOne(I,this._element);if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);n?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=n):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(p,f){const i=this._directionToOrder(p),s=t.findOne(I,this._element),m=this._getItemIndex(s),n=f||this._getItemByOrder(i,s),u=this._getItemIndex(n),l=Boolean(this._interval),d=i===v,o=d?"carousel-item-start":"carousel-item-end",a=d?"carousel-item-next":"carousel-item-prev",r=this._orderToDirection(i);if(n&&n.classList.contains(h))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(n,r).defaultPrevented)return;if(!s||!n)return;this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(n),this._activeElement=n;const c=()=>{e.trigger(this._element,eh,{relatedTarget:n,direction:r,from:m,to:u})};if(this._element.classList.contains("slide")){n.classList.add(a),y(n),s.classList.add(o),n.classList.add(o);const e=()=>{n.classList.remove(o,a),n.classList.add(h),s.classList.remove(h,a,o),this._isSliding=!1,setTimeout(c,0)};this._queueCallback(e,s,!0)}else s.classList.remove(h),n.classList.add(h),this._isSliding=!1,c();l&&this.cycle()}_directionToOrder(e){return[z,f].includes(e)?s()?e===f?j:v:e===f?v:j:e}_orderToDirection(e){return[v,j].includes(e)?s()?e===j?f:z:e===j?z:f:e}static carouselInterface(o,e){const t=c.getOrCreateInstance(o,e);let{_config:n}=t;"object"==typeof e&&(n={...n,...e});const s="string"==typeof e?e:n.slide;if("number"==typeof e)t.to(e);else if("string"==typeof s){if(void 0===t[s])throw new TypeError(`No method named "${s}"`);t[s]()}else n.interval&&n.ride&&(t.pause(),t.cycle())}static jQueryInterface(e){return this.each(function(){c.carouselInterface(this,e)})}static dataApiClickHandler(o){const e=l(this);if(!e||!e.classList.contains("carousel"))return;const s={...n.getDataAttributes(e),...n.getDataAttributes(this)},t=this.getAttribute("data-bs-slide-to");t&&(s.interval=!1),c.carouselInterface(e,s),t&&c.getInstance(e).to(t),o.preventDefault()}}e.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",c.dataApiClickHandler),e.on(window,"load.bs.carousel.data-api",()=>{const e=t.find('[data-bs-ride="carousel"]');for(let t=0,n=e.length;t<n;t++)c.carouselInterface(e[t],c.getInstance(e[t]))}),i(c);const e3="collapse",e4={toggle:!0,parent:null},t0={toggle:"boolean",parent:"(null|element)"},ee="show",W="collapse",N="collapsing",e0="collapsed",e2=":scope .collapse .collapse",ec='[data-bs-toggle="collapse"]';class C extends a{constructor(n,s){super(n),this._isTransitioning=!1,this._config=this._getConfig(s),this._triggerArray=[];const e=t.find(ec);for(let n=0,i=e.length;n<i;n++){const o=e[n],s=eo(o),a=t.find(s).filter(e=>e===this._element);null!==s&&a.length&&(this._selector=s,this._triggerArray.push(o))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return e4}static get NAME(){return e3}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let s,o=[];if(this._config.parent){const e=t.find(e2,this._config.parent);o=t.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(t=>!e.includes(t))}const i=t.findOne(this._selector);if(o.length){const e=o.find(e=>i!==e);if(s=e?C.getInstance(e):null,s&&s._isTransitioning)return}if(e.trigger(this._element,"show.bs.collapse").defaultPrevented)return;o.forEach(e=>{i!==e&&C.getOrCreateInstance(e,{toggle:!1}).hide(),s||T.set(e,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove(W),this._element.classList.add(N),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const a=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(N),this._element.classList.add(W,ee),this._element.style[n]="",e.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(e.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,y(this._element),this._element.classList.add(N),this._element.classList.remove(W,ee);const n=this._triggerArray.length;for(let e=0;e<n;e++){const t=this._triggerArray[e],s=l(t);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(N),this._element.classList.add(W),e.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(ee)}_getConfig(e){return(e={...e4,...n.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=u(e.parent),r(e3,e,t0),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=t.find(e2,this._config.parent);t.find(ec,this._config.parent).filter(t=>!e.includes(t)).forEach(e=>{const t=l(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove(e0):e.classList.add(e0),e.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=C.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}e.on(document,"click.bs.collapse.data-api",ec,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const n=eo(this);t.find(n).forEach(e=>{C.getOrCreateInstance(e,{toggle:!1}).toggle()})}),i(C);const es="dropdown",Z="Escape",ef="Space",e6="ArrowUp",Q="ArrowDown",tF=new RegExp("ArrowUp|ArrowDown|Escape"),e5="click.bs.dropdown.data-api",e7="keydown.bs.dropdown.data-api",O="show",k='[data-bs-toggle="dropdown"]',Y=".dropdown-menu",tM=s()?"top-end":"top-start",tS=s()?"top-start":"top-end",tv=s()?"bottom-end":"bottom-start",tA=s()?"bottom-start":"bottom-end",tk=s()?"left-start":"right-start",tE=s()?"right-start":"left-start",tx={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},tO={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class o extends a{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return tx}static get DefaultType(){return tO}static get NAME(){return es}toggle(){return this._isShown()?this.hide():this.show()}show(){if(b(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(e.trigger(this._element,"show.bs.dropdown",t).defaultPrevented)return;const s=o.getParentFromElement(this._element);this._inNavbar?n.setDataAttribute(this._menu,"popper","none"):this._createPopper(s),"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>e.on(t,"mouseover",V)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(O),this._element.classList.add(O),e.trigger(this._element,"shown.bs.dropdown",t)}hide(){if(b(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){e.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>e.off(t,"mouseover",V)),this._popper&&this._popper.destroy(),this._menu.classList.remove(O),this._element.classList.remove(O),this._element.setAttribute("aria-expanded","false"),n.removeDataAttribute(this._menu,"popper"),e.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(e){if(e={...this.constructor.Default,...n.getDataAttributes(this._element),...e},r(es,e,this.constructor.DefaultType),"object"==typeof e.reference&&!g(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${es.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(s){if(void 0===L)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=s:g(this._config.reference)?e=u(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig(),o=t.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=L.createPopper(e,this._menu,t),o&&n.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(O)}_getMenuElement(){return t.next(this._element,Y)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return tk;if(e.classList.contains("dropstart"))return tE;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?tS:tM:t?tA:tv}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:s,target:n}){const e=t.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(F);e.length&&te(e,n,s===Q,!e.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const t=o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const n=t.find(k);for(let s=0,a=n.length;s<a;s++){const t=o.getInstance(n[s]);if(!t||!1===t._config.autoClose)continue;if(!t._isShown())continue;const i={relatedTarget:t._element};if(e){const n=e.composedPath(),s=n.includes(t._menu);if(n.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(i.clickEvent=e)}t._completeHide(i)}}static getParentFromElement(e){return l(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===ef||e.key!==Z&&(e.key!==Q&&e.key!==e6||e.target.closest(Y)):!tF.test(e.key))return;const n=this.classList.contains(O);if(!n&&e.key===Z)return;if(e.preventDefault(),e.stopPropagation(),b(this))return;const i=this.matches(k)?this:t.prev(this,k)[0],s=o.getOrCreateInstance(i);if(e.key!==Z)return e.key===e6||e.key===Q?(n||s.show(),void s._selectMenuItem(e)):void(n&&e.key!==ef||o.clearMenus());s.hide()}}e.on(document,e7,k,o.dataApiKeydownHandler),e.on(document,e7,Y,o.dataApiKeydownHandler),e.on(document,e5,o.clearMenus),e.on(document,"keyup.bs.dropdown.data-api",o.clearMenus),e.on(document,e5,k,function(e){e.preventDefault(),o.getOrCreateInstance(this).toggle()}),i(o);const eA=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",eS=".sticky-top";class ea{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",t=>t+e),this._setElementAttributes(eA,"paddingRight",t=>t+e),this._setElementAttributes(eS,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const s=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const o=window.getComputedStyle(t)[e];t.style[e]=`${n(Number.parseFloat(o))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(eA,"paddingRight"),this._resetElementAttributes(eS,"marginRight")}_saveInitialAttribute(e,t){const s=e.style[t];s&&n.setDataAttribute(e,t,s)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const s=n.getDataAttribute(t,e);void 0===s?t.style.removeProperty(e):(n.removeDataAttribute(t,e),t.style[e]=s)})}_applyManipulationCallback(e,n){g(e)?n(e):t.find(e,this._element).forEach(n)}isOverflowing(){return this.getWidth()>0}}const tw={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},t_={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},ez="show",eD="mousedown.bs.backdrop";class eN{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&y(this._getElement()),this._getElement().classList.add(ez),this._emulateAnimation(()=>{p(e)})):p(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(ez),this._emulateAnimation(()=>{this.dispose(),p(e)})):p(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...tw,..."object"==typeof e?e:{}}).rootElement=u(e.rootElement),r("backdrop",e,t_),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),e.on(this._getElement(),eD,()=>{p(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(e.off(this._element,eD),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){e_(e,this._getElement(),this._config.isAnimated)}}const tb={trapElement:null,autofocus:!0},t9={trapElement:"element",autofocus:"boolean"},eP=".bs.focustrap",eH="backward";class eI{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:n}=this._config;this._isActive||(n&&t.focus(),e.off(document,eP),e.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),e.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,e.off(document,eP))}_handleFocusin(o){const{target:s}=o,{trapElement:e}=this._config;if(s===document||s===e||e.contains(s))return;const n=t.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===eH?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?eH:"forward")}_getConfig(e){return e={...tb,..."object"==typeof e?e:{}},r("focustrap",e,t9),e}}const eB="modal",e1="Escape",e$={backdrop:!0,keyboard:!0,focus:!0},t7={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},eU="hidden.bs.modal",eK="show.bs.modal",eq="resize.bs.modal",eY="click.dismiss.bs.modal",eG="keydown.dismiss.bs.modal",eX="mousedown.dismiss.bs.modal",eQ="modal-open",eZ="show",X="modal-static";class w extends a{constructor(e,n){super(e),this._config=this._getConfig(n),this._dialog=t.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 ea}static get Default(){return e$}static get NAME(){return eB}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){this._isShown||this._isTransitioning||e.trigger(this._element,eK,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(eQ),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e.on(this._dialog,eX,()=>{e.one(this._element,"mouseup.dismiss.bs.modal",e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning)return;if(e.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(eZ),e.off(this._element,eY),e.off(this._dialog,eX),this._queueCallback(()=>this._hideModal(),this._element,t)}dispose(){[window,this._dialog].forEach(t=>e.off(t,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new eN({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new eI({trapElement:this._element})}_getConfig(e){return e={...e$,...n.getDataAttributes(this._element),..."object"==typeof e?e:{}},r(eB,e,t7),e}_showElement(o){const n=this._isAnimated(),s=t.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,s&&(s.scrollTop=0),n&&y(this._element),this._element.classList.add(eZ),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,"shown.bs.modal",{relatedTarget:o})},this._dialog,n)}_setEscapeEvent(){this._isShown?e.on(this._element,eG,e=>{this._config.keyboard&&e.key===e1?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==e1||this._triggerBackdropTransition()}):e.off(this._element,eG)}_setResizeEvent(){this._isShown?e.on(window,eq,()=>this._adjustDialog()):e.off(window,eq)}_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(eQ),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,eU)})}_showBackdrop(t){e.on(this._element,eY,e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.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(e.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:o,style:n}=this._element,s=o>document.documentElement.clientHeight;!s&&"hidden"===n.overflowY||t.contains(X)||(s||(n.overflowY="hidden"),t.add(X),this._queueCallback(()=>{t.remove(X),s||this._queueCallback(()=>{n.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),t=n>0;(!t&&e&&!s()||t&&!e&&s())&&(this._element.style.paddingLeft=`${n}px`),(t&&!e&&!s()||!t&&e&&s())&&(this._element.style.paddingRight=`${n}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=w.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}e.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(o){const n=l(this);["A","AREA"].includes(this.tagName)&&o.preventDefault(),e.one(n,eK,t=>{t.defaultPrevented||e.one(n,eU,()=>{F(this)&&this.focus()})});const s=t.findOne(".modal.show");s&&w.getInstance(s).hide(),w.getOrCreateInstance(n).toggle(this)}),D(w),i(w);const tt="offcanvas",tn={backdrop:!0,keyboard:!0,scroll:!1},t5={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},to="show",ti=".offcanvas.show",ta="hidden.bs.offcanvas";class m extends a{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return tt}static get Default(){return tn}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){this._isShown||e.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new ea).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(to),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),e.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(e.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(to),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 ea).reset(),e.trigger(this._element,ta)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...tn,...n.getDataAttributes(this._element),..."object"==typeof e?e:{}},r(tt,e,t5),e}_initializeBackDrop(){return new eN({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new eI({trapElement:this._element})}_addEventListeners(){e.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=m.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}e.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(o){const n=l(this);if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),b(this))return;e.one(n,ta,()=>{F(this)&&this.focus()});const s=t.findOne(ti);s&&s!==n&&m.getInstance(s).hide(),m.getOrCreateInstance(n).toggle(this)}),e.on(window,"load.bs.offcanvas.data-api",()=>t.find(ti).forEach(e=>m.getOrCreateInstance(e).show())),D(m),i(m);const tg=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),tp=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,t6=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,tf=(e,n)=>{const t=e.nodeName.toLowerCase();if(n.includes(t))return!tg.has(t)||Boolean(tp.test(e.nodeValue)||t6.test(e.nodeValue));const s=n.filter(e=>e instanceof RegExp);for(let e=0,n=s.length;e<n;e++)if(s[e].test(t))return!0;return!1};function t1(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const s=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...s.body.querySelectorAll("*"));for(let n=0,i=o.length;n<i;n++){const e=o[n],s=e.nodeName.toLowerCase();if(!Object.keys(t).includes(s)){e.remove();continue}const a=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[s]||[]);a.forEach(t=>{tf(t,r)||e.removeAttribute(t.nodeName)})}return s.body.innerHTML}const t4="tooltip",t8=new Set(["sanitize","allowList","sanitizeFn"]),t2={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)"},t3={AUTO:"auto",TOP:"top",RIGHT:s()?"left":"right",BOTTOM:"bottom",LEFT:s()?"right":"left"},th={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},tm={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"},q="fade",M="show",S="show",en="out",tc=".tooltip-inner",ts=".modal",eW="hide.bs.modal",B="hover",eR="focus";class x extends a{constructor(e,t){if(void 0===L)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(t),this.tip=null,this._setListeners()}static get Default(){return th}static get NAME(){return t4}static get Event(){return tm}static get DefaultType(){return t2}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(M))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),e.off(this._element.closest(ts),eW,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 r=e.trigger(this._element,this.constructor.Event.SHOW),s=tr(this._element),l=null===s?this._element.ownerDocument.documentElement.contains(this._element):s.contains(this._element);if(r.defaultPrevented||!l)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(tc).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const t=this.getTipElement(),i=(e=>{do e+=Math.floor(1e6*Math.random());while(document.getElementById(e))return e})(this.constructor.NAME);t.setAttribute("id",i),this._element.setAttribute("aria-describedby",i),this._config.animation&&t.classList.add(q);const a="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,n=this._getAttachment(a);this._addAttachmentClass(n);const{container:c}=this._config;T.set(t,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(t),e.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=L.createPopper(this._element,t,this._getPopperConfig(n)),t.classList.add(M);const o=this._resolvePossibleFunction(this._config.customClass);o&&t.classList.add(...o.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{e.on(t,"mouseover",V)});const d=this.tip.classList.contains(q);this._queueCallback(()=>{const t=this._hoverState;this._hoverState=null,e.trigger(this._element,this.constructor.Event.SHOWN),t===en&&this._leave(null,this)},this.tip,d)}hide(){if(!this._popper)return;const t=this.getTipElement();if(e.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(M),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>e.off(t,"mouseover",V)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const n=this.tip.classList.contains(q);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==S&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),e.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,n),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(q,M),this.tip=e,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),tc)}_sanitizeAndSetContent(s,n,o){const e=t.findOne(o,s);n||!e?this.setElementContent(e,n):e.remove()}setElementContent(t,e){if(null!==t)return g(e)?(e=u(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=t1(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_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:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return t3[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(t=>{if("click"===t)e.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e));else if("manual"!==t){const n=t===B?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,s=t===B?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;e.on(this._element,n,this._config.selector,e=>this._enter(e)),e.on(this._element,s,this._config.selector,e=>this._leave(e))}}),this._hideModalHandler=()=>{this._element&&this.hide()},e.on(this._element.closest(ts),eW,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?eR:B]=!0),e.getTipElement().classList.contains(M)||e._hoverState===S?e._hoverState=S:(clearTimeout(e._timeout),e._hoverState=S,e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===S&&e.show()},e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?eR:B]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=en,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{e._hoverState===en&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=n.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{t8.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:u(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),r(t4,e,this.constructor.DefaultType),e.sanitize&&(e.template=t1(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const t=this.getTipElement(),n=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),e=t.getAttribute("class").match(n);null!==e&&e.length>0&&e.map(e=>e.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(e){return this.each(function(){const t=x.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}i(x);const tj={...x.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>'},ty={...x.DefaultType,content:"(string|element|function)"},tV={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 ed extends x{static get Default(){return tj}static get NAME(){return"popover"}static get Event(){return tV}static get DefaultType(){return ty}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each(function(){const t=ed.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}i(ed);const eE="scrollspy",eC={offset:10,method:"auto",target:""},tC={offset:"number",method:"string",target:"(string|element)"},_="active",el=".nav-link, .list-group-item, .dropdown-item",ew="position";class R extends a{constructor(t,n){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(n),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return eC}static get NAME(){return eE}refresh(){const s=this._scrollElement===this._scrollElement.window?"offset":ew,e="auto"===this._config.method?s:this._config.method,o=e===ew?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),t.find(el,this._config.target).map(a=>{const s=eo(a),i=s?t.findOne(s):null;if(i){const t=i.getBoundingClientRect();if(t.width||t.height)return[n[e](i).top+o,s]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){e.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...eC,...n.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=u(e.target)||document.documentElement,r(eE,e,tC),e}_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 e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}_activate(n){this._activeTarget=n,this._clear();const o=el.split(",").map(e=>`${e}[data-bs-target="${n}"],${e}[href="${n}"]`),s=t.findOne(o.join(","),this._config.target);s.classList.add(_),s.classList.contains("dropdown-item")?t.findOne(".dropdown-toggle",s.closest(".dropdown")).classList.add(_):t.parents(s,".nav, .list-group").forEach(e=>{t.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add(_)),t.prev(e,".nav-item").forEach(e=>{t.children(e,".nav-link").forEach(e=>e.classList.add(_))})}),e.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:n})}_clear(){t.find(el,this._config.target).filter(e=>e.classList.contains(_)).forEach(e=>e.classList.remove(_))}static jQueryInterface(e){return this.each(function(){const t=R.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}e.on(window,"load.bs.scrollspy.data-api",()=>{t.find('[data-bs-spy="scroll"]').forEach(e=>new R(e))}),i(R);const E="active",eg="fade",em="show",e8=".active",ej=":scope > li > .active";class H extends a{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(E))return;let n;const o=l(this._element),s=this._element.closest(".nav, .list-group");if(s){const e="UL"===s.nodeName||"OL"===s.nodeName?ej:e8;n=t.find(e,s),n=n[n.length-1]}const i=n?e.trigger(n,"hide.bs.tab",{relatedTarget:this._element}):null;if(e.trigger(this._element,"show.bs.tab",{relatedTarget:n}).defaultPrevented||null!==i&&i.defaultPrevented)return;this._activate(this._element,s);const a=()=>{e.trigger(n,"hidden.bs.tab",{relatedTarget:this._element}),e.trigger(this._element,"shown.bs.tab",{relatedTarget:n})};o?this._activate(o,o.parentNode,a):a()}_activate(s,e,o){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?t.children(e,e8):t.find(ej,e))[0],a=o&&n&&n.classList.contains(eg),i=()=>this._transitionComplete(s,n,o);n&&a?(n.classList.remove(em),this._queueCallback(i,s,!0)):i()}_transitionComplete(e,s,o){if(s){s.classList.remove(E);const e=t.findOne(":scope > .dropdown-menu .active",s.parentNode);e&&e.classList.remove(E),"tab"===s.getAttribute("role")&&s.setAttribute("aria-selected",!1)}e.classList.add(E),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),y(e),e.classList.contains(eg)&&e.classList.add(em);let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const n=e.closest(".dropdown");n&&t.find(".dropdown-toggle",n).forEach(e=>e.classList.add(E)),e.setAttribute("aria-expanded",!0)}o&&o()}static jQueryInterface(e){return this.each(function(){const t=H.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}e.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),b(this)||H.getOrCreateInstance(this).show()}),i(H);const eL="toast",eJ="hide",A="show",K="showing",tI={animation:"boolean",autohide:"boolean",delay:"number"},tu={animation:!0,autohide:!0,delay:5e3};class P extends a{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return tI}static get Default(){return tu}static get NAME(){return eL}show(){e.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(eJ),y(this._element),this._element.classList.add(A),this._element.classList.add(K),this._queueCallback(()=>{this._element.classList.remove(K),e.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(A)&&(e.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(K),this._queueCallback(()=>{this._element.classList.add(eJ),this._element.classList.remove(K),this._element.classList.remove(A),e.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(A)&&this._element.classList.remove(A),super.dispose()}_getConfig(e){return e={...tu,...n.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},r(eL,e,this.constructor.DefaultType),e}_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 n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){e.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),e.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),e.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),e.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return D(P),i(P),{Alert:$,Button:U,Carousel:c,Collapse:C,Dropdown:o,Modal:w,Offcanvas:m,Popover:ed,ScrollSpy:R,Tab:H,Toast:P,Tooltip:x}}),!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(b,e,t){"use strict";t.d(e,{default:function(){return l}});var n,r,l,u,e=t(279),v=t.n(e),e=t(370),g=t.n(e),e=t(817),i=t.n(e);function a(e){try{return document.execCommand(e)}catch(e){return}}r=function(e){return e=i()(e),a("cut"),e};function h(e,n){var t,s,e=(s=e,t="rtl"===document.documentElement.getAttribute("dir"),(e=document.createElement("textarea")).style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[t?"right":"left"]="-9999px",t=window.pageYOffset||document.documentElement.scrollTop,e.style.top="".concat(t,"px"),e.setAttribute("readonly",""),e.value=s,e);return n.container.appendChild(e),n=i()(e),a("copy"),e.remove(),n}n=function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},t="";return"string"==typeof e?t=h(e,n):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?t=h(e.value,n):(t=i()(e),a("copy")),t};function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}u=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.action,s=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==s&&"cut"!==s)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==d(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===s&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===s&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return t?n(t,{container:o}):e?"cut"===s?r(e):n(e,{container:o}):void 0};function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(s,n){for(var e,t=0;t<n.length;t++)e=n[t],e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,s=o(e);return n=t?(n=o(this).constructor,Reflect.construct(s,arguments,n)):s.apply(this,arguments),s=this,!(n=n)||"object"!==c(n)&&"function"!=typeof n?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(s):n}}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){if(e="data-clipboard-".concat(e),t.hasAttribute(e))return t.getAttribute(e)}l=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(e,v());var t,o,i,a=p(e);function e(n,s){var t;return function(t){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),(t=a.call(this)).resolveOptions(s),t.listenClick(n),t}return t=e,o=[{key:"copy",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return n(e,t)}},{key:"cut",value:function(e){return r(e)}},{key:"isSupported",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof e?[e]:e,t=!!document.queryCommandSupported;return e.forEach(function(e){t=t&&!!document.queryCommandSupported(e)}),t}}],(i=[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===c(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=g()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",t=u({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(t?"success":"error",{action:n,text:t,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return s("action",e)}},{key:"defaultTarget",value:function(e){if(e=s("target",e),e)return document.querySelector(e)}},{key:"defaultText",value:function(e){return s("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&m(t.prototype,i),o&&m(t,o),e}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(t,o,n){var s=n(828);function e(e,i,t,a,n){var o=function(e,t,o,n){return function(o){o.delegateTarget=s(o.target,t),o.delegateTarget&&n.call(e,o)}}.apply(this,arguments);return e.addEventListener(t,o,n),{destroy:function(){e.removeEventListener(t,o,n)}}}t.exports=function(t,s,n,o,i){return"function"==typeof t.addEventListener?e.apply(null,arguments):"function"==typeof n?e.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return e(t,s,n,o,i)}))}},879:function(t,e){e.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(e){return"string"==typeof e||e instanceof String},e.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(n,o,t){var e=t(879),s=t(438);n.exports=function(t,n,o){if(!t&&!n&&!o)throw new Error("Missing required arguments");if(!e.string(n))throw new TypeError("Second argument must be a String");if(!e.fn(o))throw new TypeError("Third argument must be a Function");if(e.node(t))return c=n,l=o,(d=t).addEventListener(c,l),{destroy:function(){d.removeEventListener(c,l)}};if(e.nodeList(t))return i=t,a=n,r=o,Array.prototype.forEach.call(i,function(e){e.addEventListener(a,r)}),{destroy:function(){Array.prototype.forEach.call(i,function(e){e.removeEventListener(a,r)})}};if(e.string(t))return t=t,n=n,o=o,s(document.body,t,n,o);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var i,a,r,c,l,d}},817:function(e){e.exports=function(e){var n,t="SELECT"===e.nodeName?(e.focus(),e.value):"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName?((n=e.hasAttribute("readonly"))||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),e.value):(e.hasAttribute("contenteditable")&&e.focus(),t=window.getSelection(),(n=document.createRange()).selectNodeContents(e),t.removeAllRanges(),t.addRange(n),t.toString());return t}},279:function(t){function e(){}e.prototype={on:function(e,n,s){var t=this.e||(this.e={});return(t[e]||(t[e]=[])).push({fn:n,ctx:s}),this},once:function(t,n,s){var o=this;function e(){o.off(t,e),n.apply(s,arguments)}return e._=n,this.on(t,e,s)},emit:function(n){for(var s=[].slice.call(arguments,1),t=((this.e||(this.e={}))[n]||[]).slice(),e=0,o=t.length;e<o;e++)t[e].fn.apply(t[e].ctx,s);return this},off:function(n,s){var e,a,o=this.e||(this.e={}),t=o[n],i=[];if(t&&s)for(e=0,a=t.length;e<a;e++)t[e].fn!==s&&t[e].fn._!==s&&i.push(t[e]);return i.length?o[n]=i:delete o[n],this}},t.exports=e,t.exports.TinyEmitter=e}},t={},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(s,n){for(var t in n)e.o(n,t)&&!e.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:n[t]})},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e(686).default;function e(s){if(t[s])return t[s].exports;var o=t[s]={exports:{}};return n[s](o,o.exports,e),o.exports}var t,n}),function(){'use strict';var e,t,n='<div class="bd-clipboard"><button type="button" class="btn-clipboard" title="Copy to clipboard"><svg class="bi" width="1em" height="1em" fill="currentColor"><use xlink:href="/bootstrap-icons.svg#clipboard"/></svg></button></div>';[].slice.call(document.querySelectorAll("div.highlight")).forEach(function(e){e.insertAdjacentHTML("beforebegin",n)}),e=new ClipboardJS(".btn-clipboard",{target:function(e){return e.parentNode.nextElementSibling}}),e.on("success",function(e){var t=e.trigger.querySelector(".bi").firstChild,n="http://www.w3.org/1999/xlink",s=t.getAttributeNS(n,"href"),o=e.trigger.title;e.clearSelection(),t.setAttributeNS(n,"href",s.replace("clipboard","check2")),e.trigger.title="Copied!",setTimeout(function(){t.setAttributeNS(n,"href",s),e.trigger.title=o},2e3)}),e.on("error",function(){var t=/mac/i.test(navigator.userAgent)?"\u2318":"Ctrl-",n="Press "+t+"C to copy",e=document.getElementById("copy-error-callout");if(!e)return;e.classList.remove("d-none"),e.insertAdjacentHTML("afterbegin",n)}),t=document.getElementById("search"),t&&t.addEventListener("keydown",function(e){e.key==="Enter"&&e.preventDefault()}),[].slice.call(document.querySelectorAll('[href="#"]')).forEach(function(e){e.addEventListener("click",function(e){e.preventDefault()})})}(),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t(e.Popper)}(this,function(tA){"use strict";function tD(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const z=tD(tA),X="transitionend",ep=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e},e2=t=>{const e=ep(t);return e&&document.querySelector(e)?e:null},l=t=>{const e=ep(t);return e?document.querySelector(e):null},el=e=>{e.dispatchEvent(new Event(X))},c=e=>!!e&&"object"==typeof e&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),d=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,b=e=>{if(!c(e)||0===e.getClientRects().length)return!1;const n="visible"===getComputedStyle(e).getPropertyValue("visibility"),t=e.closest("details:not([open])");if(!t)return n;if(t!==e){const n=e.closest("summary");if(n&&n.parentNode!==t)return!1;if(null===n)return!1}return n},h=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),eu=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?eu(e.parentNode):null},D=()=>{},E=e=>{e.offsetHeight},e1=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,J=[],s=()=>"rtl"===document.documentElement.dir,n=e=>{var t=()=>{const t=e1();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}};"loading"===document.readyState?(J.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of J)e()}),J.push(t)):t()},r=e=>{"function"==typeof e&&e()},e4=(t,e,o=!0)=>{if(!o)return void r(t);const i=(n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const s=Number.parseFloat(e),o=Number.parseFloat(t);return s||o?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})(e)+5;let n=!1;const s=({target:o})=>{o===e&&(n=!0,e.removeEventListener(X,s),r(t))};e.addEventListener(X,s),setTimeout(()=>{n||el(e)},i)},G=(e,i,s,o)=>{const n=e.length;let t=e.indexOf(i);return-1===t?!s&&o?e[n-1]:e[0]:(t+=s?1:-1,o&&(t=(t+n)%n),e[Math.max(0,Math.min(t,n-1))])},tz=/[^.]*(?=\..*)\.|.*/,tT=/\..*/,tR=/::\d+$/,ea={};let eq=1;const ej={mouseenter:"mouseover",mouseleave:"mouseout"},tM=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 eW(t,e){return e&&`${e}::${eq++}`||t.uidEvent||eq++}function eR(t){const e=eW(t);return t.uidEvent=e,ea[e]=ea[e]||{},ea[e]}function ez(e,t,n=null){return Object.values(e).find(e=>e.originalHandler===t&&e.delegationSelector===n)}function eS(t,n,o){const s="string"==typeof n,i=s?o:n;let e=ew(t);return tM.has(e)||(e=t),[s,i,e]}function ex(o,a,t,n,h){if("string"!=typeof a||!o)return;if(t||(t=n,n=null),a in ej){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};n?n=e(n):t=e(t)}const[i,l,c]=eS(a,t,n),d=eR(o),u=d[c]||(d[c]={}),r=ez(u,l,i?t:null);if(r)return void(r.oneOff=r.oneOff&&h);const m=eW(l,a.replace(tz,"")),s=i?function(t,n,s){return function i(o){const a=t.querySelectorAll(n);for(let{target:r}=o;r&&r!==this;r=r.parentNode)for(const c of a)if(c===r)return o.delegateTarget=r,i.oneOff&&e.off(t,o.type,n,s),s.apply(r,[o])}}(o,t,n):function(t,n){return function o(s){return s.delegateTarget=t,o.oneOff&&e.off(t,s.type,n),n.apply(t,[s])}}(o,t);s.delegationSelector=i?t:null,s.originalHandler=l,s.oneOff=h,s.uidEvent=m,u[m]=s,o.addEventListener(c,s,i)}function et(o,n,e,i,s){const t=ez(n[e],i,s);t&&(o.removeEventListener(e,t,Boolean(s)),delete n[e][t.uidEvent])}function tS(s,e,t,o){const n=e[t]||{};for(const i of Object.keys(n))if(i.includes(o)){const o=n[i];et(s,e,t,o.originalHandler,o.delegationSelector)}}function ew(e){return e=e.replace(tT,""),ej[e]||e}const e={on(e,t,n,s){ex(e,t,n,s,!1)},one(e,t,n,s){ex(e,t,n,s,!0)},off(n,t,a,r){if("string"!=typeof t||!n)return;const[d,i,s]=eS(t,a,r),c=s!==t,e=eR(n),l=t.startsWith(".");if(void 0!==i){if(!e||!e[s])return;return void et(n,e,s,i,d?a:null)}if(l)for(const s of Object.keys(e))tS(n,e,s,t.slice(1));const o=e[s]||{};for(const i of Object.keys(o)){const a=i.replace(tR,"");if(!c||t.includes(a)){const t=o[i];et(n,e,s,t.originalHandler,t.delegationSelector)}}},trigger(o,t,s){if("string"!=typeof t||!o)return null;const i=e1();let e=null,a=!0,r=!0,c=!1;t!==ew(t)&&i&&(e=i.Event(t,s),i(o).trigger(e),a=!e.isPropagationStopped(),r=!e.isImmediatePropagationStopped(),c=e.isDefaultPrevented());const n=new Event(t,{bubbles:a,cancelable:!0});if(void 0!==s)for(const e of Object.keys(s))Object.defineProperty(n,e,{get:()=>s[e]});return c&&n.preventDefault(),r&&o.dispatchEvent(n),n.defaultPrevented&&e&&e.preventDefault(),n}},m=new Map,Y={set(t,n,s){m.has(t)||m.set(t,new Map);const e=m.get(t);e.has(n)||0===e.size?e.set(n,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get:(e,t)=>m.has(e)&&m.get(e).get(t)||null,remove(e,n){if(!m.has(e))return;const t=m.get(e);t.delete(n),0===t.size&&m.delete(e)}};function eG(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function Z(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const a={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Z(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Z(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const o of n){let s=o.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=eG(e.dataset[o])}return t},getDataAttribute:(e,t)=>eG(e.getAttribute(`data-bs-${Z(t)}`))};class O{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(t,e){const n=c(e)?a.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...c(e)?a.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(n,t=this.constructor.DefaultType){for(const s of Object.keys(t)){const o=t[s],i=n[s],a=c(i)?"element":null==(e=i)?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${a}" but expected type "${o}".`)}var e}}class o extends O{constructor(e,t){super(),(e=d(e))&&(this._element=e,this._config=this._getConfig(t),Y.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Y.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){e4(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Y.get(d(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.0-beta1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const B=(t,s="hide")=>{const o=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;e.on(document,o,`[data-bs-dismiss="${n}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),h(this))return;const o=l(this)||this.closest(`.${n}`);t.getOrCreateInstance(o)[s]()})};class I extends o{static get NAME(){return"alert"}close(){if(e.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(),e.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=I.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}B(I,"close"),n(I);const e5='[data-bs-toggle="button"]';class P extends o{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=P.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}e.on(document,"click.bs.button.data-api",e5,e=>{e.preventDefault();const t=e.target.closest(e5);P.getOrCreateInstance(t).toggle()}),n(P);const t={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(s,t){const n=[];let e=s.parentNode.closest(t);for(;e;)n.push(e),e=e.parentNode.closest(t);return n},prev(t,n){let e=t.previousElementSibling;for(;e;){if(e.matches(n))return[e];e=e.previousElementSibling}return[]},next(t,n){let e=t.nextElementSibling;for(;e;){if(e.matches(n))return[e];e=e.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!h(e)&&b(e))}},tk={leftCallback:null,rightCallback:null,endCallback:null},tE={leftCallback:"(function|null)",rightCallback:"(function|null)",endCallback:"(function|null)"};class U extends O{constructor(e,t){super(),this._element=e,e&&U.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return tk}static get DefaultType(){return tE}static get NAME(){return"swipe"}dispose(){e.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),r(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&r(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(e.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),e.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(e.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),e.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),e.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const C="next",p="prev",f="left",W="right",es="slid.bs.carousel",ed="carousel",S="active",tC={ArrowLeft:W,ArrowRight:f},tO={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},t_={interval:"(number|boolean)",keyboard:"boolean",ride:"(boolean|string)",pause:"(string|boolean)",touch:"boolean",wrap:"boolean"};class x extends o{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=t.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ed&&this.cycle()}static get Default(){return tO}static get DefaultType(){return t_}static get NAME(){return"carousel"}next(){this._slide(C)}nextWhenVisible(){!document.hidden&&b(this._element)&&this.next()}prev(){this._slide(p)}pause(){this._isSliding&&el(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?e.one(this._element,es,()=>this.cycle()):this.cycle())}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding)return void e.one(this._element,es,()=>this.to(t));const s=this._getItemIndex(this._getActive());if(s===t)return;const o=t>s?C:p;this._slide(o,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&e.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(e.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),e.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&U.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of t.find(".carousel-item img",this._element))e.on(n,"dragstart.bs.carousel",e=>e.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(f)),rightCallback:()=>this._slide(this._directionToOrder(W)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new U(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=tC[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(s){if(!this._indicatorsElement)return;const n=t.findOne(".active",this._indicatorsElement);n.classList.remove(S),n.removeAttribute("aria-current");const e=t.findOne(`[data-bs-slide-to="${s}"]`,this._indicatorsElement);e&&(e.classList.add(S),e.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(a,l=null){if(this._isSliding)return;const n=this._getActive(),o=a===C,t=l||G(this._getItems(),n,o,this._config.wrap);if(t===n)return;const r=this._getItemIndex(t),c=s=>e.trigger(this._element,s,{relatedTarget:t,direction:this._orderToDirection(a),from:this._getItemIndex(n),to:r});if(c("slide.bs.carousel").defaultPrevented)return;if(!n||!t)return;const d=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=t;const s=o?"carousel-item-start":"carousel-item-end",i=o?"carousel-item-next":"carousel-item-prev";t.classList.add(i),E(t),n.classList.add(s),t.classList.add(s),this._queueCallback(()=>{t.classList.remove(s,i),t.classList.add(S),n.classList.remove(S,i,s),this._isSliding=!1,c(es)},n,this._isAnimated()),d&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return t.findOne(".active.carousel-item",this._element)}_getItems(){return t.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return s()?e===f?p:C:e===f?C:p}_orderToDirection(e){return s()?e===p?f:W:e===p?W:f}static jQueryInterface(e){return this.each(function(){const t=x.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}e.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(s){const t=l(this);if(!t||!t.classList.contains(ed))return;s.preventDefault();const e=x.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");return n?(e.to(n),void e._maybeEnableCycle()):"next"===a.getDataAttribute(this,"slide")?(e.next(),void e._maybeEnableCycle()):(e.prev(),void e._maybeEnableCycle())}),e.on(window,"load.bs.carousel.data-api",()=>{const e=t.find('[data-bs-ride="carousel"]');for(const t of e)x.getOrCreateInstance(t)}),n(x);const eo="show",T="collapse",N="collapsing",Q='[data-bs-toggle="collapse"]',tb={toggle:!0,parent:null},t9={toggle:"boolean",parent:"(null|element)"};class k extends o{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=t.find(Q);for(const e of s){const n=e2(e),o=t.find(n).filter(e=>e===this._element);null!==n&&o.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return tb}static get DefaultType(){return t9}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let n=[];if(this._config.parent&&(n=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>k.getOrCreateInstance(e,{toggle:!1}))),n.length&&n[0]._isTransitioning)return;if(e.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const e of n)e.hide();const t=this._getDimension();this._element.classList.remove(T),this._element.classList.add(N),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(N),this._element.classList.add(T,eo),this._element.style[t]="",e.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(e.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,E(this._element),this._element.classList.add(N),this._element.classList.remove(T,eo);for(const e of this._triggerArray){const t=l(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(N),this._element.classList.add(T),e.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(eo)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=d(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Q);for(const t of e){const n=l(t);n&&this._addAriaAndCollapsedClass([t],this._isShown(n))}}_getFirstLevelChildren(e){const n=t.find(":scope .collapse .collapse",this._config.parent);return t.find(e,this._config.parent).filter(e=>!n.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=k.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}e.on(document,"click.bs.collapse.data-api",Q,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const n=e2(this),s=t.find(n);for(const e of s)k.getOrCreateInstance(e,{toggle:!1}).toggle()}),n(k);const eh="dropdown",tv="ArrowUp",e8="ArrowDown",ef="click.bs.dropdown.data-api",e6="keydown.bs.dropdown.data-api",w="show",H='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',t7=`${H}.show`,e7=".dropdown-menu",tp=s()?"top-end":"top-start",tm=s()?"top-start":"top-end",th=s()?"bottom-end":"bottom-start",eQ=s()?"bottom-start":"bottom-end",t3=s()?"left-start":"right-start",t2=s()?"right-start":"left-start",t0={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},t4={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class i extends o{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=t.findOne(e7,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return t0}static get DefaultType(){return t4}static get NAME(){return eh}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!e.trigger(this._element,"show.bs.dropdown",t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))e.on(t,"mouseover",D);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(w),this._element.classList.add(w),e.trigger(this._element,"shown.bs.dropdown",t)}}hide(){if(h(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!e.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",D);this._popper&&this._popper.destroy(),this._menu.classList.remove(w),this._element.classList.remove(w),this._element.setAttribute("aria-expanded","false"),a.removeDataAttribute(this._menu,"popper"),e.trigger(this._element,"hidden.bs.dropdown",t)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!c(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${eh.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===z)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:c(this._config.reference)?e=d(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=z.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(w)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return t3;if(e.classList.contains("dropstart"))return t2;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?tm:tp:t?eQ:th}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(a.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:s,target:n}){const e=t.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>b(e));e.length&&G(e,n,s===e8,!e.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const t=i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const n=t.find(t7);for(const r of n){const t=i.getInstance(r);if(!t||!1===t._config.autoClose)continue;const s=e.composedPath(),o=s.includes(t._menu);if(s.includes(t._element)||"inside"===t._config.autoClose&&!o||"outside"===t._config.autoClose&&o)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:t._element};"click"===e.type&&(a.clickEvent=e),t._completeHide(a)}}static dataApiKeydownHandler(e){const r=/input|textarea/i.test(e.target.tagName),s="Escape"===e.key,o=[tv,e8].includes(e.key);if(!o&&!s)return;if(r&&!s)return;e.preventDefault();const a=t.findOne(H,e.delegateTarget.parentNode),n=i.getOrCreateInstance(a);if(o)return e.stopPropagation(),n.show(),void n._selectMenuItem(e);n._isShown()&&(e.stopPropagation(),n.hide(),a.focus())}}e.on(document,e6,H,i.dataApiKeydownHandler),e.on(document,e6,e7,i.dataApiKeydownHandler),e.on(document,ef,i.clearMenus),e.on(document,"keyup.bs.dropdown.data-api",i.clearMenus),e.on(document,ef,H,function(e){e.preventDefault(),i.getOrCreateInstance(this).toggle()}),n(i);const eC=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",eE=".sticky-top",M="padding-right",eA="margin-right";class en{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,M,t=>t+e),this._setElementAttributes(eC,M,t=>t+e),this._setElementAttributes(eE,eA,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,M),this._resetElementAttributes(eC,M),this._resetElementAttributes(eE,eA)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const s=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const o=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(o))}px`)})}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&a.setDataAttribute(e,t,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,t=>{const n=a.getDataAttribute(t,e);null!==n?(a.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)})}_applyManipulationCallback(e,n){if(c(e))n(e);else for(const s of t.find(e,this._element))n(s)}}const eM="show",eF="mousedown.bs.backdrop",tr={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},tn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class eD extends O{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return tr}static get DefaultType(){return tn}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void r(e);this._append();const t=this._getElement();this._config.isAnimated&&E(t),t.classList.add(eM),this._emulateAnimation(()=>{r(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(eM),this._emulateAnimation(()=>{this.dispose(),r(e)})):r(e)}dispose(){this._isAppended&&(e.off(this._element,eF),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=d(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,eF,()=>{r(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){e4(e,this._getElement(),this._config.isAnimated)}}const eN=".bs.focustrap",eL="backward",eJ={trapElement:null,autofocus:!0},eZ={trapElement:"element",autofocus:"boolean"};class eY extends O{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return eJ}static get DefaultType(){return eZ}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),e.off(document,eN),e.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),e.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,e.off(document,eN))}_handleFocusin(s){const{trapElement:e}=this._config;if(s.target===document||s.target===e||e.contains(s.target))return;const n=t.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===eL?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?eL:"forward")}}const eI="hidden.bs.modal",eB="show.bs.modal",eV="modal-open",e$="show",ei="modal-static",tF={backdrop:!0,keyboard:!0,focus:!0},eX={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class v extends o{constructor(e,n){super(e,n),this._dialog=t.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new en,this._addEventListeners()}static get Default(){return tF}static get DefaultType(){return eX}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){this._isShown||this._isTransitioning||e.trigger(this._element,eB,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(eV),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(e.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(e$),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])e.off(t,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new eD({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new eY({trapElement:this._element})}_showElement(s){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=t.findOne(".modal-body",this._dialog);n&&(n.scrollTop=0),E(this._element),this._element.classList.add(e$),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,"shown.bs.modal",{relatedTarget:s})},this._dialog,this._isAnimated())}_addEventListeners(){e.on(this._element,"keydown.dismiss.bs.modal",e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),e.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),e.on(this._element,"click.dismiss.bs.modal",e=>{e.target===e.currentTarget&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(eV),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,eI)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(e.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(ei)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(ei),this._queueCallback(()=>{this._element.classList.remove(ei),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=s()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=s()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=v.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}e.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(o){const n=l(this);["A","AREA"].includes(this.tagName)&&o.preventDefault(),e.one(n,eB,t=>{t.defaultPrevented||e.one(n,eI,()=>{b(this)&&this.focus()})});const s=t.findOne(".modal.show");s&&v.getInstance(s).hide(),v.getOrCreateInstance(n).toggle(this)}),B(v),n(v);const eg="show",eK="showing",eU="hiding",eH=".offcanvas.show",eP="hidePrevented.bs.offcanvas",ek="hidden.bs.offcanvas",te={backdrop:!0,keyboard:!0,scroll:!1},tt={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class u extends o{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return te}static get DefaultType(){return tt}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){this._isShown||e.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new en).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(eK),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),this._element.classList.add(eg),this._element.classList.remove(eK),e.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(e.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(eU),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(eg,eU),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new en).reset(),e.trigger(this._element,ek)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new eD({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():e.trigger(this._element,eP)}:null})}_initializeFocusTrap(){return new eY({trapElement:this._element})}_addEventListeners(){e.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():e.trigger(this._element,eP))})}static jQueryInterface(e){return this.each(function(){const t=u.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}e.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(o){const n=l(this);if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),h(this))return;e.one(n,ek,()=>{b(this)&&this.focus()});const s=t.findOne(eH);s&&s!==n&&u.getInstance(s).hide(),u.getOrCreateInstance(n).toggle(this)}),e.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of t.find(eH))u.getOrCreateInstance(e).show()}),e.on(window,"resize.bs.offcanvas",()=>{for(const e of t.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&u.getOrCreateInstance(e).hide()}),B(u),n(u);const ts=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),to=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,ti=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,ta=(e,n)=>{const t=e.nodeName.toLowerCase();return n.includes(t)?!ts.has(t)||Boolean(to.test(e.nodeValue)||ti.test(e.nodeValue)):n.filter(e=>e instanceof RegExp).some(e=>e.test(t))},eT={"*":["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:[]},tc={extraClass:"",template:"<div></div>",content:{},html:!1,sanitize:!0,sanitizeFn:null,allowList:eT},tl={extraClass:"(string|function)",template:"string",content:"object",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object"},td={selector:"(string|element)",entry:"(string|element|function|null)"};class tu extends O{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return tc}static get DefaultType(){return tl}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},td)}_setContent(s,e,o){const n=t.findOne(o,s);n&&((e=this._resolvePossibleFunction(e))?c(e)?this._putElementInTemplate(d(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const s=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...s.body.querySelectorAll("*"));for(const e of o){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const s=[].concat(...e.attributes),i=[].concat(t["*"]||[],t[n]||[]);for(const t of s)ta(t,i)||e.removeAttribute(t.nodeName)}return s.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const t1=new Set(["sanitize","allowList","sanitizeFn"]),ee="fade",L="show",e_=".modal",ey="hide.bs.modal",A="hover",e9="focus",t8={AUTO:"auto",TOP:"top",RIGHT:s()?"left":"right",BOTTOM:"bottom",LEFT:s()?"right":"left"},tf={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:eT,popperConfig:null},t6={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)"};class g extends o{constructor(e,t){if(void 0===z)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=!1,this._activeTrigger={},this._popper=null,this._templateFactory=null,this.tip=null,this._setListeners()}static get Default(){return tf}static get DefaultType(){return t6}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled){if(e){const t=this._initializeOnDelegatedTarget(e);return t._activeTrigger.click=!t._activeTrigger.click,void(t._isWithActiveTrigger()?t._enter():t._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),e.off(this._element.closest(e_),ey,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 n=e.trigger(this._element,this.constructor.eventName("show")),s=(eu(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(n.defaultPrevented||!s)return;const t=this._getTipElement();this._element.setAttribute("aria-describedby",t.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(t),e.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._createPopper(t),t.classList.add(L),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.on(t,"mouseover",D);this._queueCallback(()=>{const t=this._isHovered;this._isHovered=!1,e.trigger(this._element,this.constructor.eventName("shown")),t&&this._leave()},this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(e.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const t=this._getTipElement();if(t.classList.remove(L),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",D);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=!1,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||t.remove(),this._element.removeAttribute("aria-describedby"),e.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(ee,L),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do e+=Math.floor(1e6*Math.random());while(document.getElementById(e))return e})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(ee),e}setContent(t){let e=!1;this.tip&&(e=this._isShown(),this.tip.remove(),this.tip=null),this._disposePopper(),this.tip=this._createTipElement(t),e&&this.show()}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new tu({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._config.title}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ee)}_isShown(){return this.tip&&this.tip.classList.contains(L)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,n=t8[t.toUpperCase()];this._popper=z.createPopper(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_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:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if("click"===n)e.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>this.toggle(e));else if("manual"!==n){const t=n===A?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),s=n===A?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");e.on(this._element,t,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?e9:A]=!0,t._enter()}),e.on(this._element,s,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?e9:A]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},e.on(this._element.closest(e_),ey,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._config.originalTitle;e&&(this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=a.getDataAttributes(this._element);for(const e of Object.keys(t))t1.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:d(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.originalTitle=this._element.getAttribute("title")||"",e.title=this._resolvePossibleFunction(e.title)||e.originalTitle,"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=g.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}n(g);const tg={...g.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>'},t5={...g.DefaultType,content:"(null|string|element|function)"};class q extends g{static get Default(){return tg}static get DefaultType(){return t5}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=q.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}n(q);const em="click.bs.scrollspy",_="active",e0="[href]",tj={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null},ty={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element"};class $ extends o{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return tj}static get DefaultType(){return ty}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=d(e.target)||document.body,e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(e.off(this._config.target,em),e.on(this._config.target,em,e0,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,s=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:s});n.scrollTop=s}}))}_getNewObserver(){const e={root:this._rootElement,threshold:[.1,.5,1],rootMargin:this._getRootMargin()};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(o){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},e=(this._rootElement||document.documentElement).scrollTop,s=e>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=e;for(const i of o){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const a=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(n(i),!e)return}else s||a||n(i)}}_getRootMargin(){return this._config.offset?`${this._config.offset}px 0px -30%`:this._config.rootMargin}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=t.find(e0,this._config.target);for(const n of e){if(!n.hash||h(n))continue;const s=t.findOne(n.hash,this._element);b(s)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(_),this._activateParents(t),e.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(e){if(e.classList.contains("dropdown-item"))t.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(_);else for(const n of t.parents(e,".nav, .list-group"))for(const e of t.prev(n,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(_)}_clearActiveClass(e){e.classList.remove(_);const n=t.find("[href].active",e);for(const e of n)e.classList.remove(_)}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}e.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of t.find('[data-bs-spy="scroll"]'))$.getOrCreateInstance(e)}),n($);const tw="ArrowLeft",ec="ArrowRight",tx="ArrowUp",ev="ArrowDown",y="active",e3="fade",K="show",eO='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',er=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${eO}`;class j extends o{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?e.trigger(n,"hide.bs.tab",{relatedTarget:t}):null;e.trigger(t,"show.bs.tab",{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,s){if(!t)return;t.classList.add(y),this._activate(l(t));const n=t.classList.contains(e3);this._queueCallback(()=>{n&&t.classList.add(K),"tab"===t.getAttribute("role")&&(t.focus(),t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),e.trigger(t,"shown.bs.tab",{relatedTarget:s}))},t,n)}_deactivate(t,s){if(!t)return;t.classList.remove(y),t.blur(),this._deactivate(l(t));const n=t.classList.contains(e3);this._queueCallback(()=>{n&&t.classList.remove(K),"tab"===t.getAttribute("role")&&(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),e.trigger(t,"hidden.bs.tab",{relatedTarget:s}))},t,n)}_keydown(e){if(![tw,ec,tx,ev].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=[ec,ev].includes(e.key),t=G(this._getChildren().filter(e=>!h(e)),e.target,n,!0);t&&j.getOrCreateInstance(t).show()}_getChildren(){return t.find(er,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=l(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(o,s){const e=this._getOuterElement(o);if(!e.classList.contains("dropdown"))return;const n=(o,i)=>{const n=t.findOne(o,e);n&&n.classList.toggle(i,s)};n(".dropdown-toggle",y),n(".dropdown-menu",K),n(".dropdown-item",y),e.setAttribute("aria-expanded",s)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(y)}_getInnerElement(e){return e.matches(er)?e:t.findOne(er,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=j.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}e.on(document,"click.bs.tab",eO,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),h(this)||j.getOrCreateInstance(this).show()}),e.on(window,"load.bs.tab",()=>{for(const e of t.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))j.getOrCreateInstance(e)}),n(j);const eb="hide",V="show",F="showing",tN={animation:"boolean",autohide:"boolean",delay:"number"},tL={animation:!0,autohide:!0,delay:5e3};class R extends o{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tL}static get DefaultType(){return tN}static get NAME(){return"toast"}show(){e.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(eb),E(this._element),this._element.classList.add(V,F),this._queueCallback(()=>{this._element.classList.remove(F),e.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(e.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(F),this._queueCallback(()=>{this._element.classList.add(eb),this._element.classList.remove(F,V),e.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(V),super.dispose()}isShown(){return this._element.classList.contains(V)}_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 n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){e.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),e.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),e.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),e.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=R.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return B(R),n(R),{Alert:I,Button:P,Carousel:x,Collapse:k,Dropdown:i,Modal:v,Offcanvas:u,Popover:q,ScrollSpy:$,Tab:j,Toast:R,Tooltip:g}})