HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

Inicie Sesión en su Cuenta de Negocios

Olvidó Contraseña?
DIR: /var/www/html/phpmyadmin/js/vendor/bootstrap/
Upload File :
Current File : //var/www/html/phpmyadmin/js/vendor/bootstrap/bootstrap.bundle.min.js
/*!
  * 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){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.bootstrap=t())})(this,function(){"use strict";const Ns=1e6,Sr=1e3,ut="transitionend",Ar=e=>e==null?`${e}`:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Er=e=>{do e+=Math.floor(Math.random()*Ns);while(document.getElementById(e))return e},ps=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t},it=e=>{const t=ps(e);return t?document.querySelector(t)?t:null:null},k=e=>{const t=ps(e);return t?document.querySelector(t):null},Cr=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(n);return!s&&!o?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*Sr)},cs=e=>{e.dispatchEvent(new Event(ut))},S=e=>!!e&&typeof e=="object"&&(typeof e.jquery!="undefined"&&(e=e[0]),typeof e.nodeType!="undefined"),O=e=>S(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(e):null,b=(e,t,n)=>{Object.keys(n).forEach(s=>{const i=n[s],o=t[s],a=o&&S(o)?"element":Ar(o);if(!new RegExp(i).test(a))throw new TypeError(`${e.toUpperCase()}: Option "${s}" provided type "${a}" but expected type "${i}".`)})},le=e=>!!S(e)&&e.getClientRects().length!==0&&getComputedStyle(e).getPropertyValue("visibility")==="visible",D=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(typeof e.disabled!="undefined"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false"),os=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?os(e.parentNode):null},Ee=()=>{},q=e=>{e.offsetHeight},ts=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},Re=[],xr=e=>{document.readyState==="loading"?(Re.length||document.addEventListener("DOMContentLoaded",()=>{Re.forEach(e=>e())}),Re.push(e)):e()},i=()=>document.documentElement.dir==="rtl",d=e=>{xr(()=>{const t=ts();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)}})},N=e=>{typeof e=="function"&&e()},Zn=(e,t,n=!0)=>{if(!n){N(e);return}const i=5,a=Cr(t)+i;let s=!1;const o=({target:n})=>{if(n!==t)return;s=!0,t.removeEventListener(ut,o),N(e)};t.addEventListener(ut,o),setTimeout(()=>{s||cs(t)},a)},Qn=(e,t,n,s)=>{let o=e.indexOf(t);if(o===-1)return e[!n&&s?e.length-1:0];const i=e.length;return o+=n?1:-1,s&&(o=(o+i)%i),e[Math.max(0,Math.min(o,i-1))]},fr=/[^.]*(?=\..*)\.|.*/,hr=/\..*/,ur=/::\d+$/,qe={};let Gn=1;const rr={mouseenter:"mouseover",mouseleave:"mouseout"},ar=/^(mouseenter|mouseleave)/i,$n=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 Vn(e,t){return t&&`${t}::${Gn++}`||e.uidEvent||Gn++}function Bn(e){const t=Vn(e);return e.uidEvent=t,qe[t]=qe[t]||{},qe[t]}function sr(t,n){return function s(o){return o.delegateTarget=t,s.oneOff&&e.off(t,o.type,n),n.apply(t,[o])}}function nr(t,n,s){return function o(i){const a=t.querySelectorAll(n);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(let c=a.length;c--;)if(a[c]===r)return i.delegateTarget=r,o.oneOff&&e.off(t,i.type,n,s),s.apply(r,[i]);return null}}function Nn(e,t,n=null){const s=Object.keys(e);for(let o=0,a=s.length;o<a;o++){const i=e[s[o]];if(i.originalHandler===t&&i.delegationSelector===n)return i}return null}function Tn(e,t,n){const o=typeof t=="string",i=o?n:t;let s=En(e);const a=$n.has(s);return a||(s=e),[o,i,s]}function kn(e,t,n,s,o){if(typeof t!="string"||!e)return;if(n||(n=s,s=null),ar.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s?s=e(s):n=e(n)}const[a,r,c]=Tn(t,n,s),d=Bn(e),u=d[c]||(d[c]={}),l=Nn(u,r,a?n:null);if(l){l.oneOff=l.oneOff&&o;return}const h=Vn(r,t.replace(fr,"")),i=a?nr(e,n,s):sr(e,n);i.delegationSelector=a?n:null,i.originalHandler=r,i.oneOff=o,i.uidEvent=h,u[h]=i,e.addEventListener(c,i,a)}function We(e,t,n,s,o){const i=Nn(t[n],s,o);if(!i)return;e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent]}function tr(e,t,n,s){const o=t[n]||{};Object.keys(o).forEach(i=>{if(i.includes(s)){const s=o[i];We(e,t,n,s.originalHandler,s.delegationSelector)}})}function En(e){return e=e.replace(hr,""),rr[e]||e}const e={on(e,t,n,s){kn(e,t,n,s,!1)},one(e,t,n,s){kn(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[c,a,i]=Tn(t,n,s),l=i!==t,o=Bn(e),d=t.startsWith(".");if(typeof a!="undefined"){if(!o||!o[i])return;We(e,o,i,a,c?n:null);return}d&&Object.keys(o).forEach(n=>{tr(e,o,n,t.slice(1))});const r=o[i]||{};Object.keys(r).forEach(n=>{const s=n.replace(ur,"");if(!l||t.includes(s)){const t=r[n];We(e,o,i,t.originalHandler,t.delegationSelector)}})},trigger(e,t,n){if(typeof t!="string"||!e)return null;const i=ts(),a=En(t),d=t!==a,u=$n.has(a);let o,r=!0,c=!0,l=!1,s=null;return d&&i&&(o=i.Event(t,n),i(e).trigger(o),r=!o.isPropagationStopped(),c=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented()),u?(s=document.createEvent("HTMLEvents"),s.initEvent(a,r,!0)):s=new CustomEvent(t,{bubbles:r,cancelable:!0}),typeof n!="undefined"&&Object.keys(n).forEach(e=>{Object.defineProperty(s,e,{get(){return n[e]}})}),l&&s.preventDefault(),c&&e.dispatchEvent(s),s.defaultPrevented&&typeof o!="undefined"&&o.preventDefault(),s}},x=new Map,oe={set(e,t,n){x.has(e)||x.set(e,new Map);const s=x.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return x.has(e)?x.get(e).get(t)||null:null},remove(e,t){if(!x.has(e))return;const n=x.get(e);n.delete(t),n.size===0&&x.delete(e)}},qa="5.1.3";class m{constructor(e){if(e=O(e),!e)return;this._element=e,oe.set(this._element,this.constructor.DATA_KEY,this)}dispose(){oe.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){Zn(e,t,n)}static getInstance(e){return oe.get(O(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return qa}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 Te=(t,n="hide")=>{const o=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;e.on(document,o,`[data-bs-dismiss="${s}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),D(this))return;const o=k(this)||this.closest(`.${s}`),i=t.getOrCreateInstance(o);i[n]()})},Wa="alert",$a="bs.alert",xn=`.${$a}`,Ha=`close${xn}`,Pa=`closed${xn}`,La="fade",za="show";class ke extends m{static get NAME(){return Wa}close(){const t=e.trigger(this._element,Ha);if(t.defaultPrevented)return;this._element.classList.remove(za);const n=this._element.classList.contains(La);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),e.trigger(this._element,Pa),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=ke.getOrCreateInstance(this);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}}Te(ke,"close"),d(ke);const Ta="button",ka="bs.button",Ca=`.${ka}`,Oa=".data-api",wa="active",jn='[data-bs-toggle="button"]',pa=`click${Ca}${Oa}`;class ve extends m{static get NAME(){return Ta}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wa))}static jQueryInterface(e){return this.each(function(){const t=ve.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}e.on(document,pa,jn,e=>{e.preventDefault();const t=e.target.closest(jn),n=ve.getOrCreateInstance(t);n.toggle()}),d(ve);function bn(e){return e==="true"||e!=="false"&&(e===Number(e).toString()?Number(e):e===""||e==="null"?null:e)}function Qe(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const n={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Qe(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Qe(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter(e=>e.startsWith("bs")).forEach(n=>{let s=n.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=bn(e.dataset[n])}),t},getDataAttribute(e,t){return bn(e.getAttribute(`data-bs-${Qe(t)}`))},offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position(e){return{top:e.offsetTop,left:e.offsetLeft}}},ha=3,t={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const s=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&n.nodeType!==ha;)n.matches(t)&&s.push(n),n=n.parentNode;return s},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.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=>!D(e)&&le(e))}},gn="carousel",la="bs.carousel",r=`.${la}`,fn=".data-api",ca="ArrowLeft",ra="ArrowRight",aa=500,ia=40,ln={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},oa={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},P="next",F="prev",R="left",J="right",sa={[ca]:J,[ra]:R},na=`slide${r}`,rn=`slid${r}`,ea=`keydown${r}`,qi=`mouseenter${r}`,Ui=`mouseleave${r}`,Wi=`touchstart${r}`,Ri=`touchmove${r}`,zi=`touchend${r}`,Si=`pointerdown${r}`,ki=`pointerup${r}`,Ci=`dragstart${r}`,wi=`load${r}${fn}`,_i=`click${r}${fn}`,ji="carousel",M="active",bi="slide",mi="carousel-item-end",hi="carousel-item-start",di="carousel-item-next",ci="carousel-item-prev",ai="pointer-event",ii=".active",Ae=".active.carousel-item",oi=".carousel-item",ni=".carousel-item img",ti=".carousel-item-next, .carousel-item-prev",Qo=".carousel-indicators",Xo="[data-bs-target]",Yo="[data-bs-slide], [data-bs-slide-to]",Ko='[data-bs-ride="carousel"]',Uo="touch",Wo="pen";class y extends m{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(Qo,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return ln}static get NAME(){return gn}next(){this._slide(P)}nextWhenVisible(){!document.hidden&&le(this._element)&&this.next()}prev(){this._slide(F)}pause(e){e||(this._isPaused=!0),t.findOne(ti,this._element)&&(cs(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(Ae,this._element);const s=this._getItemIndex(this._activeElement);if(n>this._items.length-1||n<0)return;if(this._isSliding){e.one(this._element,rn,()=>this.to(n));return}if(s===n){this.pause(),this.cycle();return}const o=n>s?P:F;this._slide(o,this._items[n])}_getConfig(e){return e={...ln,...n.getDataAttributes(this._element),...typeof e=="object"?e:{}},b(gn,e,oa),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=ia)return;const t=e/this.touchDeltaX;if(this.touchDeltaX=0,!t)return;this._slide(t>0?J:R)}_addEventListeners(){this._config.keyboard&&e.on(this._element,ea,e=>this._keydown(e)),this._config.pause==="hover"&&(e.on(this._element,qi,e=>this.pause(e)),e.on(this._element,Ui,e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const n=e=>this._pointerEvent&&(e.pointerType===Wo||e.pointerType===Uo),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(),this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),aa+this._config.interval))};t.find(ni,this._element).forEach(t=>{e.on(t,Ci,e=>e.preventDefault())}),this._pointerEvent?(e.on(this._element,Si,e=>s(e)),e.on(this._element,ki,e=>o(e)),this._element.classList.add(ai)):(e.on(this._element,Wi,e=>s(e)),e.on(this._element,Ri,e=>i(e)),e.on(this._element,zi,e=>o(e)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=sa[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?t.find(oi,e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===P;return Qn(this._items,t,n,this._config.wrap)}_triggerSlideEvent(n,s){const o=this._getItemIndex(n),i=this._getItemIndex(t.findOne(Ae,this._element));return e.trigger(this._element,na,{relatedTarget:n,direction:s,from:i,to:o})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const s=t.findOne(ii,this._indicatorsElement);s.classList.remove(M),s.removeAttribute("aria-current");const n=t.find(Xo,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(M),n[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||t.findOne(Ae,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(n,s){const r=this._directionToOrder(n),i=t.findOne(Ae,this._element),m=this._getItemIndex(i),o=s||this._getItemByOrder(r,i),f=this._getItemIndex(o),l=Boolean(this._interval),d=r===P,a=d?hi:mi,c=d?di:ci,u=this._orderToDirection(r);if(o&&o.classList.contains(M)){this._isSliding=!1;return}if(this._isSliding)return;const p=this._triggerSlideEvent(o,u);if(p.defaultPrevented)return;if(!i||!o)return;this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const h=()=>{e.trigger(this._element,rn,{relatedTarget:o,direction:u,from:m,to:f})};if(this._element.classList.contains(bi)){o.classList.add(c),q(o),i.classList.add(a),o.classList.add(a);const e=()=>{o.classList.remove(a,c),o.classList.add(M),i.classList.remove(M,c,a),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,i,!0)}else i.classList.remove(M),o.classList.add(M),this._isSliding=!1,h();l&&this.cycle()}_directionToOrder(e){return[J,R].includes(e)?i()?e===R?F:P:e===R?P:F:e}_orderToDirection(e){return[P,F].includes(e)?i()?e===F?R:J:e===F?J:R:e}static carouselInterface(e,t){const n=y.getOrCreateInstance(e,t);let{_config:s}=n;typeof t=="object"&&(s={...s,...t});const o=typeof t=="string"?t:s.slide;if(typeof t=="number")n.to(t);else if(typeof o=="string"){if(typeof n[o]=="undefined")throw new TypeError(`No method named "${o}"`);n[o]()}else s.interval&&s.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each(function(){y.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=k(this);if(!t||!t.classList.contains(ji))return;const o={...n.getDataAttributes(t),...n.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(o.interval=!1),y.carouselInterface(t,o),s&&y.getInstance(t).to(s),e.preventDefault()}}e.on(document,_i,Yo,y.dataApiClickHandler),e.on(window,wi,()=>{const e=t.find(Ko);for(let t=0,n=e.length;t<n;t++)y.carouselInterface(e[t],y.getInstance(e[t]))}),d(y);const Ot="collapse",wt="bs.collapse",fe=`.${wt}`,Ho=".data-api",yt={toggle:!0,parent:null},Do={toggle:"boolean",parent:"(null|element)"},zo=`show${fe}`,To=`shown${fe}`,Mo=`hide${fe}`,ko=`hidden${fe}`,Eo=`click${fe}${Ho}`,ht="show",V="collapse",_e="collapsing",Ct="collapsed",Et=`:scope .${V} .${V}`,Co="collapse-horizontal",xo="width",mo="height",ho=".collapse.show, .collapse.collapsing",ot='[data-bs-toggle="collapse"]';class W extends m{constructor(e,n){super(e),this._isTransitioning=!1,this._config=this._getConfig(n),this._triggerArray=[];const s=t.find(ot);for(let e=0,i=s.length;e<i;e++){const o=s[e],n=it(o),a=t.find(n).filter(e=>e===this._element);n!==null&&a.length&&(this._selector=n,this._triggerArray.push(o))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return yt}static get NAME(){return Ot}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(Et,this._config.parent);s=t.find(ho,this._config.parent).filter(t=>!e.includes(t))}const i=t.findOne(this._selector);if(s.length){const e=s.find(e=>i!==e);if(o=e?W.getInstance(e):null,o&&o._isTransitioning)return}const a=e.trigger(this._element,zo);if(a.defaultPrevented)return;s.forEach(e=>{i!==e&&W.getOrCreateInstance(e,{toggle:!1}).hide(),o||oe.set(e,wt,null)});const n=this._getDimension();this._element.classList.remove(V),this._element.classList.add(_e),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(_e),this._element.classList.add(V,ht),this._element.style[n]="",e.trigger(this._element,To)},c=n[0].toUpperCase()+n.slice(1),l=`scroll${c}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const n=e.trigger(this._element,Mo);if(n.defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,q(this._element),this._element.classList.add(_e),this._element.classList.remove(V,ht);const s=this._triggerArray.length;for(let e=0;e<s;e++){const t=this._triggerArray[e],n=k(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(_e),this._element.classList.add(V),e.trigger(this._element,ko)};this._element.style[t]="",this._queueCallback(o,this._element,!0)}_isShown(e=this._element){return e.classList.contains(ht)}_getConfig(e){return e={...yt,...n.getDataAttributes(this._element),...e},e.toggle=Boolean(e.toggle),e.parent=O(e.parent),b(Ot,e,Do),e}_getDimension(){return this._element.classList.contains(Co)?xo:mo}_initializeChildren(){if(!this._config.parent)return;const e=t.find(Et,this._config.parent);t.find(ot,this._config.parent).filter(t=>!e.includes(t)).forEach(e=>{const t=k(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}_addAriaAndCollapsedClass(e,t){if(!e.length)return;e.forEach(e=>{t?e.classList.remove(Ct):e.classList.add(Ct),e.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1);const n=W.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e]()}})}}e.on(document,Eo,ot,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();const n=it(this),s=t.find(n);s.forEach(e=>{W.getOrCreateInstance(e,{toggle:!1}).toggle()})}),d(W);var w,Q,o="top",de,Fn,Ln,ae,Wn,Kn,dt,us,ds,ls,is,Ce,a="bottom",c="right",s="left",Se="auto",X=[o,a,c,s],z="start",Y="end",Bt="clippingParents",$e="viewport",H="popper",Wt="reference",Be=X.reduce(function(e,t){return e.concat([t+"-"+z,t+"-"+Y])},[]),Ie=[].concat(X,[Se]).reduce(function(e,t){return e.concat([t,t+"-"+z,t+"-"+Y])},[]),qt="beforeRead",Yt="read",Gt="afterRead",Xt="beforeMain",Qt="main",Zt="afterMain",Jt="beforeWrite",en="write",tn="afterWrite",nn=[qt,Yt,Gt,Xt,Qt,Zt,Jt,en,tn];function v(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function re(e){var t=f(e).Element;return e instanceof t||e instanceof Element}function l(e){var t=f(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function cn(e){if(typeof ShadowRoot=="undefined")return!1;var t=f(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ao(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},s=t.attributes[e]||{},n=t.elements[e];if(!l(n)||!v(n))return;Object.assign(n.style,o),Object.keys(s).forEach(function(e){var t=s[e];t===!1?n.removeAttribute(e):n.setAttribute(e,t===!0?"":t)})})}function oo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var s=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=i.reduce(function(e,t){return e[t]="",e},{});if(!l(s)||!v(s))return;Object.assign(s.style,a),Object.keys(o).forEach(function(e){s.removeAttribute(e)})})}}const at={name:"applyStyles",enabled:!0,phase:"write",fn:ao,effect:oo,requires:["computeStyles"]};function j(e){return e.split("-")[0]}function I(e){var n=e.getBoundingClientRect(),s=1,o=1;return{width:n.width/s,height:n.height/o,top:n.top/o,right:n.right/s,bottom:n.bottom/o,left:n.left/s,x:n.left/s,y:n.top/o}}function mt(e){var t=I(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function pn(e,t){var n,s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&cn(s)){n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _(e){return f(e).getComputedStyle(e)}function so(e){return["table","td","th"].indexOf(v(e))>=0}function C(e){return((re(e)?e.ownerDocument:e.document)||window.document).documentElement}function je(e){return v(e)==="html"?e:e.assignedSlot||e.parentNode||(cn(e)?e.host:null)||C(e)}function yn(e){return!l(e)||_(e).position==="fixed"?null:e.offsetParent}function Xs(e){var t,n,o,s=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,i=navigator.userAgent.indexOf("Trident")!==-1;if(i&&l(e)&&(o=_(e),o.position==="fixed"))return null;for(n=je(e);l(n)&&["html","body"].indexOf(v(n))<0;){if(t=_(n),t.transform!=="none"||t.perspective!=="none"||t.contain==="paint"||["transform","perspective"].indexOf(t.willChange)!==-1||s&&t.willChange==="filter"||s&&t.filter&&t.filter!=="none")return n;n=n.parentNode}return null}function ie(e){for(var n=f(e),t=yn(e);t&&so(t)&&_(t).position==="static";)t=yn(t);return t&&(v(t)==="html"||v(t)==="body"&&_(t).position==="static")?n:t||Xs(e)||n}function Le(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}w=Math.max,Q=Math.min,de=Math.round;function Ne(e,t,n){return w(e,Q(t,n))}function An(){return{top:0,right:0,bottom:0,left:0}}function Sn(e){return Object.assign({},An(),e)}function Mn(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}Fn=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Sn(typeof t!="number"?t:Mn(t,X))};function Gs(e){var i,r,d,u,f,p,g,v,b,y,_,O,x,C,E,t=e.state,S=e.name,A=e.options,h=t.elements.arrow,m=t.modifiersData.popperOffsets,w=j(t.placement),n=Le(w),k=[s,c].indexOf(w)>=0,l=k?"height":"width";if(!h||!m)return;p=Fn(A.padding,t),g=mt(h),v=n==="y"?o:s,b=n==="y"?a:c,y=t.rects.reference[l]+t.rects.reference[n]-m[n]-t.rects.popper[l],_=m[n]-t.rects.reference[n],r=ie(h),f=r?n==="y"?r.clientHeight||0:r.clientWidth||0:0,O=y/2-_/2,x=p[v],C=f-g[l]-p[b],u=f/2-g[l]/2+O,d=Ne(x,u,C),E=n,t.modifiersData[S]=(i={},i[E]=d,i.centerOffset=d-u,i)}function Ys(e){var n=e.state,o=e.options,s=o.element,t=s===void 0?"[data-popper-arrow]":s;if(t==null)return;if(typeof t=="string"&&(t=n.elements.popper.querySelector(t),!t))return;if(!pn(n.elements.popper,t))return;n.elements.arrow=t}const Dn={name:"arrow",enabled:!0,phase:"main",fn:Gs,effect:Ys,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function B(e){return e.split("-")[1]}Ln={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qs(e){var n=e.x,s=e.y,o=window,t=o.devicePixelRatio||1;return{x:de(de(n*t)/t)||0,y:de(de(s*t)/t)||0}}function Pn(e){var t,r,l,v,j,y,g=e.popper,k=e.popperRect,n=e.placement,E=e.variation,d=e.offsets,A=e.position,b=e.gpuAcceleration,O=e.adaptive,p=e.roundOffsets,F=p===!0?qs(d):typeof p=="function"?p(d):d,M=F.x,i=M===void 0?0:M,S=F.y,u=S===void 0?0:S,x=d.hasOwnProperty("x"),w=d.hasOwnProperty("y"),m=s,h=o,T=window;return O&&(t=ie(g),y="clientHeight",j="clientWidth",t===f(g)&&(t=C(g),_(t).position!=="static"&&A==="absolute"&&(y="scrollHeight",j="scrollWidth")),t=t,(n===o||(n===s||n===c)&&E===Y)&&(h=a,u-=t[y]-k.height,u*=b?1:-1),(n===s||(n===o||n===a)&&E===Y)&&(m=c,i-=t[j]-k.width,i*=b?1:-1)),v=Object.assign({position:A},O&&Ln),b?Object.assign({},v,(r={},r[h]=w?"0":"",r[m]=x?"0":"",r.transform=(T.devicePixelRatio||1)<=1?"translate("+i+"px, "+u+"px)":"translate3d("+i+"px, "+u+"px, 0)",r)):Object.assign({},v,(l={},l[h]=w?u+"px":"",l[m]=x?i+"px":"",l.transform="",l))}function Ks(e){var t=e.state,n=e.options,s=n.gpuAcceleration,c=s===void 0||s,o=n.adaptive,l=o===void 0||o,i=n.roundOffsets,a=i===void 0||i,r={placement:j(t.placement),variation:B(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:c};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Pn(Object.assign({},r,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Pn(Object.assign({},r,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Pe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ks,data:{}};ae={passive:!0};function Us(e){var n=e.state,t=e.instance,s=e.options,o=s.scroll,i=o===void 0||o,a=s.resize,r=a===void 0||a,c=f(n.elements.popper),l=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",t.update,ae)}),r&&c.addEventListener("resize",t.update,ae),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",t.update,ae)}),r&&c.removeEventListener("resize",t.update,ae)}}const Ve={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Us,data:{}};Wn={left:"right",right:"left",bottom:"top",top:"bottom"};function ze(e){return e.replace(/left|right|bottom|top/g,function(e){return Wn[e]})}Kn={start:"end",end:"start"};function qn(e){return e.replace(/start|end/g,function(e){return Kn[e]})}function Ue(e){var t=f(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Ke(e){return I(C(e)).left+Ue(e).scrollLeft}function Ws(e){var r=f(e),n=C(e),t=r.visualViewport,s=n.clientWidth,o=n.clientHeight,i=0,a=0;return t&&(s=t.width,o=t.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=t.offsetLeft,a=t.offsetTop)),{width:s,height:o,x:i+Ke(e),y:a}}function Vs(e){var s,n=C(e),o=Ue(e),t=(s=e.ownerDocument)==null?void 0:s.body,i=w(n.scrollWidth,n.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),r=w(n.scrollHeight,n.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),a=-o.scrollLeft+Ke(e),c=-o.scrollTop;return _(t||n).direction==="rtl"&&(a+=w(n.clientWidth,t?t.clientWidth:0)-i),{width:i,height:r,x:a,y:c}}function Ze(e){var t=_(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function Jn(e){return["html","body","#document"].indexOf(v(e))>=0?e.ownerDocument.body:l(e)&&Ze(e)?e:Jn(je(e))}function te(e,t){t===void 0&&(t=[]);var s,n=Jn(e),o=n===((s=e.ownerDocument)==null?void 0:s.body),i=f(n),a=o?[i].concat(i.visualViewport||[],Ze(n)?n:[]):n,r=t.concat(a);return o?r:r.concat(te(je(a)))}function tt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Bs(e){var t=I(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function ss(e,t){return t===$e?tt(Ws(e)):l(t)?Bs(t):tt(Vs(C(e)))}function Is(e){var n=te(je(e)),s=["absolute","fixed"].indexOf(_(e).position)>=0,t=s&&l(e)?ie(e):e;return re(t)?n.filter(function(e){return re(e)&&pn(e,t)&&v(e)!=="body"}):[]}function Hs(e,t,n){var i=t==="clippingParents"?Is(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var s=ss(e,n);return t.top=w(s.top,t.top),t.right=Q(s.right,t.right),t.bottom=Q(s.bottom,t.bottom),t.left=w(s.left,t.left),t},ss(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function rs(e){var n,i,l,t=e.reference,r=e.element,d=e.placement,u=d?j(d):null,f=d?B(d):null,h=t.x+t.width/2-r.width/2,m=t.y+t.height/2-r.height/2;switch(u){case o:n={x:h,y:t.y-r.height};break;case a:n={x:h,y:t.y+t.height};break;case c:n={x:t.x+t.width,y:m};break;case s:n={x:t.x-r.width,y:m};break;default:n={x:t.x,y:t.y}}if(i=u?Le(u):null,i!=null)switch(l=i==="y"?"height":"width",f){case z:n[i]=n[i]-(t[l]/2-r[l]/2);break;case Y:n[i]=n[i]+(t[l]/2-r[l]/2);break}return n}function $(e,t){t===void 0&&(t={});var p,n=t,w=n.placement,f=w===void 0?e.placement:w,O=n.boundary,A=O===void 0?Bt:O,_=n.rootBoundary,x=_===void 0?$e:_,v=n.elementContext,s=v===void 0?H:v,b=n.altBoundary,M=b!==void 0&&b,g=n.padding,h=g===void 0?0:g,l=Sn(typeof h!="number"?h:Mn(h,X)),S=s===H?Wt:H,y=e.rects.popper,u=e.elements[M?S:s],r=Hs(re(u)?u:u.contextElement||C(e.elements.popper),A,x),m=I(e.elements.reference),k=rs({reference:m,element:y,strategy:"absolute",placement:f}),E=tt(Object.assign({},y,k)),i=s===H?E:m,d={top:r.top-i.top+l.top,bottom:i.bottom-r.bottom+l.bottom,left:r.left-i.left+l.left,right:i.right-r.right+l.right},j=e.modifiersData.offset;return s===H&&j&&(p=j[f],Object.keys(d).forEach(function(e){var t=[c,a].indexOf(e)>=0?1:-1,n=[o,a].indexOf(e)>=0?"y":"x";d[e]+=p[n]*t})),d}function Ps(e,t){t===void 0&&(t={});var s,n=t,c=n.placement,l=n.boundary,d=n.rootBoundary,u=n.padding,h=n.flipVariations,i=n.allowedAutoPlacements,m=i===void 0?Ie:i,a=B(c),r=a?h?Be:Be.filter(function(e){return B(e)===a}):X,o=r.filter(function(e){return m.indexOf(e)>=0});return o.length===0&&(o=r),s=o.reduce(function(t,n){return t[n]=$(e,{placement:n,boundary:l,rootBoundary:d,padding:u})[j(n)],t},{}),Object.keys(s).sort(function(e,t){return s[e]-s[t]})}function Rs(e){if(j(e)===Se)return[];var t=ze(e);return[qn(e),t,qn(t)]}function Ls(e){var t=e.state,n=e.options,C=e.name;if(t.modifiersData[C]._skip)return;for(var i,r,l,u,h,p,g,y,_,x,E,k,T,M=n.mainAxis,H=M===void 0||M,D=n.altAxis,R=D===void 0||D,L=n.fallbackPlacements,N=n.padding,w=n.boundary,O=n.rootBoundary,I=n.altBoundary,F=n.flipVariations,b=F===void 0||F,V=n.allowedAutoPlacements,d=t.options.placement,K=j(d),P=K===d,q=L||(P||!b?[ze(d)]:Rs(d)),f=[d].concat(q).reduce(function(e,n){return e.concat(j(n)===Se?Ps(t,{placement:n,boundary:w,rootBoundary:O,padding:N,flipVariations:b,allowedAutoPlacements:V}):n)},[]),U=t.rects.reference,W=t.rects.popper,A=new Map,S=!0,m=f[0],v=0;v<f.length;v++){if(i=f[v],g=j(i),p=B(i)===z,y=[o,a].indexOf(g)>=0,_=y?"width":"height",h=$(t,{placement:i,boundary:w,rootBoundary:O,altBoundary:I,padding:N}),l=y?p?c:s:p?a:o,U[_]>W[_]&&(l=ze(l)),T=ze(l),r=[],H&&r.push(h[g]<=0),R&&r.push(h[l]<=0,h[T]<=0),r.every(function(e){return e})){m=i,S=!1;break}A.set(i,r)}if(S){k=b?3:1,E=function(t){var n=f.find(function(e){var n=A.get(e);if(n)return n.slice(0,t).every(function(e){return e})});if(n)return m=n,"break"};for(u=k;u>0;u--)if(x=E(u),x==="break")break}t.placement!==m&&(t.modifiersData[C]._skip=!0,t.placement=m,t.reset=!0)}const hs={name:"flip",enabled:!0,phase:"main",fn:Ls,requiresIfExists:["offset"],data:{_skip:!1}};function ms(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fs(e){return[o,c,a,s].some(function(t){return e[t]>=0})}function _s(e){var t=e.state,a=e.name,r=t.rects.reference,c=t.rects.popper,l=t.modifiersData.preventOverflow,d=$(t,{elementContext:"reference"}),u=$(t,{altBoundary:!0}),n=ms(d,r),s=ms(u,c,l),o=fs(n),i=fs(s);t.modifiersData[a]={referenceClippingOffsets:n,popperEscapeOffsets:s,isReferenceHidden:o,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":i})}const gs={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:_s};function Ds(e,t,n){var r=j(e),d=[s,o].indexOf(r)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=l[0],a=l[1],i=i||0,a=(a||0)*d;return[s,c].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function zs(e){var t=e.state,i=e.options,a=e.name,n=i.offset,r=n===void 0?[0,0]:n,s=Ie.reduce(function(e,n){return e[n]=Ds(n,t.rects,r),e},{}),o=s[t.placement],c=o.x,l=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[a]=s}const js={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:zs};function xs(e){var t=e.state,n=e.name;t.modifiersData[n]=rs({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const st={name:"popperOffsets",enabled:!0,phase:"read",fn:xs,data:{}};function ws(e){return e==="x"?"y":"x"}function Os(e){var i,u,h,f,v,_,O,C,E,A,S,M,F,D,N,L,R,P,H,I,V,W,U,K,Z,J,t=e.state,l=e.options,le=e.name,ee=l.mainAxis,X=ee===void 0||ee,Y=l.altAxis,G=Y!==void 0&&Y,he=l.boundary,de=l.rootBoundary,ce=l.altBoundary,re=l.padding,ne=l.tether,d=ne===void 0||ne,q=l.tetherOffset,y=q===void 0?0:q,oe,te,ae,g=$(t,{boundary:he,rootBoundary:de,padding:re,altBoundary:ce}),ue=j(t.placement),x=B(t.placement),se=!x,n=Le(ue),k=ws(n),r=t.modifiersData.popperOffsets,m=t.rects.reference,b=t.rects.popper,p=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,T={x:0,y:0};if(!r)return;(X||G)&&(v=n==="y"?o:s,N=n==="y"?a:c,i=n==="y"?"height":"width",R=r[n],P=r[n]+g[v],H=r[n]-g[N],I=d?-b[i]/2:0,W=x===z?m[i]:b[i],oe=x===z?-b[i]:-m[i],M=t.elements.arrow,K=d&&M?mt(M):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:An(),L=V[v],D=V[N],h=Ne(0,m[i],K[i]),Z=se?m[i]/2-I-h-L-p:W-h-L-p,J=se?-m[i]/2+I+h+D+p:oe+h+D+p,f=t.elements.arrow&&ie(t.elements.arrow),te=f?n==="y"?f.clientTop||0:f.clientLeft||0:0,F=t.modifiersData.offset?t.modifiersData.offset[t.placement][n]:0,S=r[n]+Z-F-te,A=r[n]+J-F,X&&(E=Ne(d?Q(P,S):P,R,d?w(H,A):H),r[n]=E,T[n]=E-R),G&&(ae=n==="x"?o:s,U=n==="x"?a:c,u=r[k],C=u+g[ae],O=u-g[U],_=Ne(d?Q(C,S):C,u,d?w(O,A):O),r[k]=_,T[k]=_-u)),t.modifiersData[le]=T}const ys={name:"preventOverflow",enabled:!0,phase:"main",fn:Os,requiresIfExists:["offset"]};function Cs(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Es(e){return e===f(e)||!l(e)?Ue(e):Cs(e)}function ks(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,s=t.height/e.offsetHeight||1;return n!==1||s!==1}function As(e,t,n){n===void 0&&(n=!1);var s,o,i,a,r=l(t);return l(t)&&ks(t),i=C(t),o=I(e),a={scrollLeft:0,scrollTop:0},s={x:0,y:0},(r||!r&&!n)&&((v(t)!=="body"||Ze(i))&&(a=Es(t)),l(t)?(s=I(t),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Ke(i))),{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Ss(e){var n=new Map,t=new Set,s=[];e.forEach(function(e){n.set(e.name,e)});function o(e){t.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach(function(e){if(!t.has(e)){var s=n.get(e);s&&o(s)}}),s.push(e)}return e.forEach(function(e){t.has(e.name)||o(e)}),s}function Ms(e){var t=Ss(e);return nn.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function Fs(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ts(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}dt={placement:"bottom",modifiers:[],strategy:"absolute"};function vs(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some(function(e){return!e||typeof e.getBoundingClientRect!="function"})}function xe(e){e===void 0&&(e={});var n=e,s=n.defaultModifiers,i=s===void 0?[]:s,o=n.defaultOptions,t=o===void 0?dt:o;return function(n,s,o){o===void 0&&(o=t);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},dt,t),modifiersData:{},elements:{reference:n,popper:s},attributes:{},styles:{}},c=[],l=!1,r={state:a,setOptions:function(o){var c,l=typeof o=="function"?o(a.options):o;return d(),a.options=Object.assign({},t,a.options,l),a.scrollParents={reference:re(n)?te(n):n.contextElement?te(n.contextElement):[],popper:te(s)},c=Ms(Ts([].concat(i,a.options.modifiers))),a.orderedModifiers=c.filter(function(e){return e.enabled}),u(),r.update()},forceUpdate:function(){if(l)return;var o=a.elements,i=o.reference,n=o.popper;if(!vs(i,n))return;a.rects={reference:As(i,ie(n),a.options.strategy==="fixed"),popper:mt(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(t=0;t<a.orderedModifiers.length;t++){if(a.reset===!0){a.reset=!1,t=-1;continue}var t,s=a.orderedModifiers[t],c=s.fn,d=s.options,u=d===void 0?{}:d,h=s.name;typeof c=="function"&&(a=c({state:a,options:u,name:h,instance:r})||a)}},update:Fs(function(){return new Promise(function(e){r.forceUpdate(),e(a)})}),destroy:function(){d(),l=!0}};if(!vs(n,s))return r;r.setOptions(o).then(function(e){!l&&o.onFirstUpdate&&o.onFirstUpdate(e)});function u(){a.orderedModifiers.forEach(function(e){var s,o,i=e.name,t=e.options,l=t===void 0?{}:t,n=e.effect;typeof n=="function"&&(s=n({state:a,name:i,instance:r,options:l}),o=function(){},c.push(s||o))})}function d(){c.forEach(function(e){return e()}),c=[]}return r}}us=xe(),ds=[Ve,st,Pe,at],ls=xe({defaultModifiers:ds}),is=[Ve,st,Pe,at,js,hs,ys,Dn,gs],Ce=xe({defaultModifiers:is});const ns=Object.freeze({__proto__:null,popperGenerator:xe,detectOverflow:$,createPopperBase:us,createPopper:Ce,createPopperLite:ls,top:o,bottom:a,right:c,left:s,auto:Se,basePlacements:X,start:z,end:Y,clippingParents:Bt,viewport:$e,popper:H,reference:Wt,variationPlacements:Be,placements:Ie,beforeRead:qt,read:Yt,afterRead:Gt,beforeMain:Xt,main:Qt,afterMain:Zt,beforeWrite:Jt,write:en,afterWrite:tn,modifierPhases:nn,applyStyles:at,arrow:Dn,computeStyles:Pe,eventListeners:Ve,flip:hs,hide:gs,offset:js,popperOffsets:st,preventOverflow:ys}),Xe="dropdown",$s="bs.dropdown",A=`.${$s}`,He=".data-api",ge="Escape",Rn="Space",zn="Tab",Je="ArrowUp",we="ArrowDown",Qs=2,Zs=new RegExp(`${Je}|${we}|${ge}`),Js=`hide${A}`,eo=`hidden${A}`,to=`show${A}`,no=`shown${A}`,vn=`click${A}${He}`,dn=`keydown${A}${He}`,io=`keyup${A}${He}`,K="show",ro="dropup",co="dropend",lo="dropstart",uo="navbar",he='[data-bs-toggle="dropdown"]',rt=".dropdown-menu",fo=".navbar-nav",po=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",go=i()?"top-end":"top-start",vo=i()?"top-start":"top-end",bo=i()?"bottom-end":"bottom-start",jo=i()?"bottom-start":"bottom-end",yo=i()?"left-start":"right-start",_o=i()?"right-start":"left-start",wo={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Oo={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class h extends m{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 wo}static get DefaultType(){return Oo}static get NAME(){return Xe}toggle(){return this._isShown()?this.hide():this.show()}show(){if(D(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element},o=e.trigger(this._element,to,t);if(o.defaultPrevented)return;const s=h.getParentFromElement(this._element);this._inNavbar?n.setDataAttribute(this._menu,"popper","none"):this._createPopper(s),"ontouchstart"in document.documentElement&&!s.closest(fo)&&[].concat(...document.body.children).forEach(t=>e.on(t,"mouseover",Ee)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(K),this._element.classList.add(K),e.trigger(this._element,no,t)}hide(){if(D(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){const s=e.trigger(this._element,Js,t);if(s.defaultPrevented)return;"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>e.off(t,"mouseover",Ee)),this._popper&&this._popper.destroy(),this._menu.classList.remove(K),this._element.classList.remove(K),this._element.setAttribute("aria-expanded","false"),n.removeDataAttribute(this._menu,"popper"),e.trigger(this._element,eo,t)}_getConfig(e){if(e={...this.constructor.Default,...n.getDataAttributes(this._element),...e},b(Xe,e,this.constructor.DefaultType),typeof e.reference=="object"&&!S(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Xe.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(typeof ns=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=e:S(this._config.reference)?t=O(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const s=this._getPopperConfig(),o=s.modifiers.find(e=>e.name==="applyStyles"&&e.enabled===!1);this._popper=Ce(t,this._menu,s),o&&n.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(K)}_getMenuElement(){return t.next(this._element,rt)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains(co))return yo;if(e.classList.contains(lo))return _o;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(ro)?t?vo:go:t?jo:bo}_detectNavbar(){return this._element.closest(`.${uo}`)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?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._config.display==="static"&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...typeof this._config.popperConfig=="function"?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:n}){const s=t.find(po,this._menu).filter(le);if(!s.length)return;Qn(s,n,e===we,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const t=h.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}static clearMenus(e){if(e&&(e.button===Qs||e.type==="keyup"&&e.key!==zn))return;const n=t.find(he);for(let s=0,i=n.length;s<i;s++){const t=h.getInstance(n[s]);if(!t||t._config.autoClose===!1)continue;if(!t._isShown())continue;const o={relatedTarget:t._element};if(e){const n=e.composedPath(),s=n.includes(t._menu);if(n.includes(t._element)||t._config.autoClose==="inside"&&!s||t._config.autoClose==="outside"&&s)continue;if(t._menu.contains(e.target)&&(e.type==="keyup"&&e.key===zn||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;e.type==="click"&&(o.clickEvent=e)}t._completeHide(o)}}static getParentFromElement(e){return k(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Rn||e.key!==ge&&(e.key!==we&&e.key!==Je||e.target.closest(rt)):!Zs.test(e.key))return;const n=this.classList.contains(K);if(!n&&e.key===ge)return;if(e.preventDefault(),e.stopPropagation(),D(this))return;const o=this.matches(he)?this:t.prev(this,he)[0],s=h.getOrCreateInstance(o);if(e.key===ge){s.hide();return}if(e.key===Je||e.key===we){n||s.show(),s._selectMenuItem(e);return}(!n||e.key===Rn)&&h.clearMenus()}}e.on(document,dn,he,h.dataApiKeydownHandler),e.on(document,dn,rt,h.dataApiKeydownHandler),e.on(document,vn,h.clearMenus),e.on(document,io,h.clearMenus),e.on(document,vn,he,function(e){e.preventDefault(),h.getOrCreateInstance(this).toggle()}),d(h);const kt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_t=".sticky-top";class ct{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(kt,"paddingRight",t=>t+e),this._setElementAttributes(_t,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const s=this.getWidth(),o=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+s)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(o))}px`};this._applyManipulationCallback(e,o)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(kt,"paddingRight"),this._resetElementAttributes(_t,"marginRight")}_saveInitialAttribute(e,t){const s=e.style[t];s&&n.setDataAttribute(e,t,s)}_resetElementAttributes(e,t){const s=e=>{const s=n.getDataAttribute(e,t);typeof s=="undefined"?e.style.removeProperty(t):(n.removeDataAttribute(e,t),e.style[t]=s)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,n){S(e)?n(e):t.find(e,this._element).forEach(n)}isOverflowing(){return this.getWidth()>0}}const Ao={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},So={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},jt="backdrop",Fo="fade",bt="show",vt=`mousedown.bs.${jt}`;class gt{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){if(!this._config.isVisible){N(e);return}this._append(),this._config.isAnimated&&q(this._getElement()),this._getElement().classList.add(bt),this._emulateAnimation(()=>{N(e)})}hide(e){if(!this._config.isVisible){N(e);return}this._getElement().classList.remove(bt),this._emulateAnimation(()=>{this.dispose(),N(e)})}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Fo),this._element=e}return this._element}_getConfig(e){return e={...Ao,...typeof e=="object"?e:{}},e.rootElement=O(e.rootElement),b(jt,e,So),e}_append(){if(this._isAppended)return;this._config.rootElement.append(this._getElement()),e.on(this._getElement(),vt,()=>{N(this._config.clickCallback)}),this._isAppended=!0}dispose(){if(!this._isAppended)return;e.off(this._element,vt),this._element.remove(),this._isAppended=!1}_emulateAnimation(e){Zn(e,this._getElement(),this._config.isAnimated)}}const No={trapElement:null,autofocus:!0},Lo={trapElement:"element",autofocus:"boolean"},Ro="focustrap",Po="bs.focustrap",be=`.${Po}`,Io=`focusin${be}`,Bo=`keydown.tab${be}`,Vo="Tab",$o="forward",xt="backward";class At{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:n}=this._config;if(this._isActive)return;n&&t.focus(),e.off(document,be),e.on(document,Io,e=>this._handleFocusin(e)),e.on(document,Bo,e=>this._handleKeydown(e)),this._isActive=!0}deactivate(){if(!this._isActive)return;this._isActive=!1,e.off(document,be)}_handleFocusin(e){const{target:o}=e,{trapElement:n}=this._config;if(o===document||o===n||n.contains(o))return;const s=t.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===xt?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){if(e.key!==Vo)return;this._lastTabNavDirection=e.shiftKey?xt:$o}_getConfig(e){return e={...No,...typeof e=="object"?e:{}},b(Ro,e,Lo),e}}const St="modal",qo="bs.modal",u=`.${qo}`,Go=".data-api",Mt="Escape",Ft={backdrop:!0,keyboard:!0,focus:!0},Zo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Jo=`hide${u}`,ei=`hidePrevented${u}`,Tt=`hidden${u}`,zt=`show${u}`,si=`shown${u}`,Dt=`resize${u}`,Nt=`click.dismiss${u}`,Lt=`keydown.dismiss${u}`,ri=`mouseup.dismiss${u}`,Rt=`mousedown.dismiss${u}`,li=`click${u}${Go}`,Pt="modal-open",ui="fade",Ht="show",Ye="modal-static",fi=".modal.show",pi=".modal-dialog",gi=".modal-body",vi='[data-bs-toggle="modal"]';class Z extends m{constructor(e,n){super(e),this._config=this._getConfig(n),this._dialog=t.findOne(pi,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new ct}static get Default(){return Ft}static get NAME(){return St}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown||this._isTransitioning)return;const n=e.trigger(this._element,zt,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Pt),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e.on(this._dialog,Rt,()=>{e.one(this._element,ri,e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t))}hide(){if(!this._isShown||this._isTransitioning)return;const n=e.trigger(this._element,Jo);if(n.defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Ht),e.off(this._element,Nt),e.off(this._dialog,Rt),this._queueCallback(()=>this._hideModal(),this._element,t)}dispose(){[window,this._dialog].forEach(t=>e.off(t,u)),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new gt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new At({trapElement:this._element})}_getConfig(e){return e={...Ft,...n.getDataAttributes(this._element),...typeof e=="object"?e:{}},b(St,e,Zo),e}_showElement(n){const s=this._isAnimated(),o=t.findOne(gi,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,o&&(o.scrollTop=0),s&&q(this._element),this._element.classList.add(Ht);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,si,{relatedTarget:n})};this._queueCallback(i,this._dialog,s)}_setEscapeEvent(){this._isShown?e.on(this._element,Lt,e=>{this._config.keyboard&&e.key===Mt?(e.preventDefault(),this.hide()):!this._config.keyboard&&e.key===Mt&&this._triggerBackdropTransition()}):e.off(this._element,Lt)}_setResizeEvent(){this._isShown?e.on(window,Dt,()=>this._adjustDialog()):e.off(window,Dt)}_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(Pt),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,Tt)})}_showBackdrop(t){e.on(this._element,Nt,e=>{if(this._ignoreBackdropClick){this._ignoreBackdropClick=!1;return}if(e.target!==e.currentTarget)return;this._config.backdrop===!0?this.hide():this._config.backdrop==="static"&&this._triggerBackdropTransition()}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains(ui)}_triggerBackdropTransition(){const o=e.trigger(this._element,ei);if(o.defaultPrevented)return;const{classList:t,scrollHeight:i,style:n}=this._element,s=i>document.documentElement.clientHeight;if(!s&&n.overflowY==="hidden"||t.contains(Ye))return;s||(n.overflowY="hidden"),t.add(Ye),this._queueCallback(()=>{t.remove(Ye),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&&!i()||t&&!e&&i())&&(this._element.style.paddingLeft=`${n}px`),(t&&!e&&!i()||!t&&e&&i())&&(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=Z.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e](t)})}}e.on(document,li,vi,function(n){const s=k(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),e.one(s,zt,t=>{if(t.defaultPrevented)return;e.one(s,Tt,()=>{le(this)&&this.focus()})});const o=t.findOne(fi);o&&Z.getInstance(o).hide();const i=Z.getOrCreateInstance(s);i.toggle(this)}),Te(Z),d(Z);const It="offcanvas",yi="bs.offcanvas",T=`.${yi}`,Vt=".data-api",Oi=`load${T}${Vt}`,xi="Escape",$t={backdrop:!0,keyboard:!0,scroll:!1},Ei={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Ut="show",Ai="offcanvas-backdrop",Kt=".offcanvas.show",Mi=`show${T}`,Fi=`shown${T}`,Ti=`hide${T}`,sn=`hidden${T}`,Di=`click${T}${Vt}`,Ni=`keydown.dismiss${T}`,Li='[data-bs-toggle="offcanvas"]';class L extends m{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 It}static get Default(){return $t}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown)return;const n=e.trigger(this._element,Mi,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new ct).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ut);const s=()=>{this._config.scroll||this._focustrap.activate(),e.trigger(this._element,Fi,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown)return;const t=e.trigger(this._element,Ti);if(t.defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Ut),this._backdrop.hide();const n=()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new ct).reset(),e.trigger(this._element,sn)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...$t,...n.getDataAttributes(this._element),...typeof e=="object"?e:{}},b(It,e,Ei),e}_initializeBackDrop(){return new gt({className:Ai,isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new At({trapElement:this._element})}_addEventListeners(){e.on(this._element,Ni,e=>{this._config.keyboard&&e.key===xi&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=L.getOrCreateInstance(this,e);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}}e.on(document,Di,Li,function(n){const s=k(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),D(this))return;e.one(s,sn,()=>{le(this)&&this.focus()});const o=t.findOne(Kt);o&&o!==s&&L.getInstance(o).hide();const i=L.getOrCreateInstance(s);i.toggle(this)}),e.on(window,Oi,()=>t.find(Kt).forEach(e=>L.getOrCreateInstance(e).show())),Te(L),d(L);const Pi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Hi=/^aria-[\w-]*$/i,Ii=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Bi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Vi=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!Pi.has(n)||Boolean(Ii.test(e.nodeValue)||Bi.test(e.nodeValue));const s=t.filter(e=>e instanceof RegExp);for(let e=0,t=s.length;e<t;e++)if(s[e].test(n))return!0;return!1},$i={"*":["class","dir","id","lang","role",Hi],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:[]};function on(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const i=new window.DOMParser,s=i.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=>{Vi(t,r)||e.removeAttribute(t.nodeName)})}return s.body.innerHTML}const an="tooltip",Ki="bs.tooltip",g=`.${Ki}`,Yi="bs-tooltip",Gi=new Set(["sanitize","allowList","sanitizeFn"]),Xi={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)"},Qi={AUTO:"auto",TOP:"top",RIGHT:i()?"left":"right",BOTTOM:"bottom",LEFT:i()?"right":"left"},Zi={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:$i,popperConfig:null},Ji={HIDE:`hide${g}`,HIDDEN:`hidden${g}`,SHOW:`show${g}`,SHOWN:`shown${g}`,INSERTED:`inserted${g}`,CLICK:`click${g}`,FOCUSIN:`focusin${g}`,FOCUSOUT:`focusout${g}`,MOUSEENTER:`mouseenter${g}`,MOUSELEAVE:`mouseleave${g}`},De="fade",ta="modal",ne="show",ee="show",nt="out",un=".tooltip-inner",hn=`.${ta}`,mn="hide.bs.modal",ce="hover",ft="focus",da="click",ua="manual";class U extends m{constructor(e,t){if(typeof ns=="undefined")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 Zi}static get NAME(){return an}static get Event(){return Ji}static get DefaultType(){return Xi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(!this._isEnabled)return;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(ne)){this._leave(null,this);return}this._enter(null,this)}}dispose(){clearTimeout(this._timeout),e.off(this._element.closest(hn),mn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const a=e.trigger(this._element,this.constructor.Event.SHOW),n=os(this._element),r=n===null?this._element.ownerDocument.documentElement.contains(this._element):n.contains(this._element);if(a.defaultPrevented||!r)return;this.constructor.NAME==="tooltip"&&this.tip&&this.getTitle()!==this.tip.querySelector(un).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const t=this.getTipElement(),s=Er(this.constructor.NAME);t.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&t.classList.add(De);const c=typeof this._config.placement=="function"?this._config.placement.call(this,t,this._element):this._config.placement,o=this._getAttachment(c);this._addAttachmentClass(o);const{container:l}=this._config;oe.set(t,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(t),e.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Ce(this._element,t,this._getPopperConfig(o)),t.classList.add(ne);const i=this._resolvePossibleFunction(this._config.customClass);i&&t.classList.add(...i.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{e.on(t,"mouseover",Ee)});const d=()=>{const t=this._hoverState;this._hoverState=null,e.trigger(this._element,this.constructor.Event.SHOWN),t===nt&&this._leave(null,this)},u=this.tip.classList.contains(De);this._queueCallback(d,this.tip,u)}hide(){if(!this._popper)return;const t=this.getTipElement(),n=()=>{if(this._isWithActiveTrigger())return;this._hoverState!==ee&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),e.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper()},s=e.trigger(this._element,this.constructor.Event.HIDE);if(s.defaultPrevented)return;t.classList.remove(ne),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>e.off(t,"mouseover",Ee)),this._activeTrigger[da]=!1,this._activeTrigger[ft]=!1,this._activeTrigger[ce]=!1;const o=this.tip.classList.contains(De);this._queueCallback(n,this.tip,o),this._hoverState=""}update(){this._popper!==null&&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(De,ne),this.tip=e,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),un)}_sanitizeAndSetContent(e,n,s){const o=t.findOne(s,e);if(!n&&o){o.remove();return}this.setElementContent(o,n)}setElementContent(e,t){if(e===null)return;if(S(t)){t=O(t),this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent;return}this._config.html?(this._config.sanitize&&(t=on(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return e==="right"?"end":e==="left"?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return typeof e=="function"?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,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{...t,...typeof this._config.popperConfig=="function"?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return Qi[e.toUpperCase()]}_setListeners(){const t=this._config.trigger.split(" ");t.forEach(t=>{if(t==="click")e.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e));else if(t!==ua){const n=t===ce?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,s=t===ce?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(hn),mn,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||t!=="string")&&(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(e,t){if(t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger[e.type==="focusin"?ft:ce]=!0),t.getTipElement().classList.contains(ne)||t._hoverState===ee){t._hoverState=ee;return}if(clearTimeout(t._timeout),t._hoverState=ee,!t._config.delay||!t._config.delay.show){t.show();return}t._timeout=setTimeout(()=>{t._hoverState===ee&&t.show()},t._config.delay.show)}_leave(e,t){if(t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger[e.type==="focusout"?ft:ce]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger())return;if(clearTimeout(t._timeout),t._hoverState=nt,!t._config.delay||!t._config.delay.hide){t.hide();return}t._timeout=setTimeout(()=>{t._hoverState===nt&&t.hide()},t._config.delay.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=>{Gi.has(e)&&delete t[e]}),e={...this.constructor.Default,...t,...typeof e=="object"&&e?e:{}},e.container=e.container===!1?document.body:O(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),b(an,e,this.constructor.DefaultType),e.sanitize&&(e.template=on(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);e!==null&&e.length>0&&e.map(e=>e.trim()).forEach(e=>t.classList.remove(e))}_getBasicClassPrefix(){return Yi}_handlePopperPlacementChange(e){const{state:t}=e;if(!t)return;this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=U.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()}})}}d(U);const ma="popover",fa="bs.popover",p=`.${fa}`,ga="bs-popover",va={...U.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>'},ba={...U.DefaultType,content:"(string|element|function)"},ja={HIDE:`hide${p}`,HIDDEN:`hidden${p}`,SHOW:`show${p}`,SHOWN:`shown${p}`,INSERTED:`inserted${p}`,CLICK:`click${p}`,FOCUSIN:`focusin${p}`,FOCUSOUT:`focusout${p}`,MOUSEENTER:`mouseenter${p}`,MOUSELEAVE:`mouseleave${p}`},ya=".popover-header",_a=".popover-body";class lt extends U{static get Default(){return va}static get NAME(){return ma}static get Event(){return ja}static get DefaultType(){return ba}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),ya),this._sanitizeAndSetContent(e,this._getContent(),_a)}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return ga}static jQueryInterface(e){return this.each(function(){const t=lt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()}})}}d(lt);const _n="scrollspy",xa="bs.scrollspy",pe=`.${xa}`,Ea=".data-api",wn={offset:10,method:"auto",target:""},Aa={offset:"number",method:"string",target:"(string|element)"},Sa=`activate${pe}`,Ma=`scroll${pe}`,Fa=`load${pe}${Ea}`,pt="dropdown-item",G="active",Da='[data-bs-spy="scroll"]',Na=".nav, .list-group",et=".nav-link",Ra=".nav-item",On=".list-group-item",Ge=`${et}, ${On}, .${pt}`,Ia=".dropdown",Ba=".dropdown-toggle",Va="offset",Cn="position";class Fe extends m{constructor(t,n){super(t),this._scrollElement=this._element.tagName==="BODY"?window:this._element,this._config=this._getConfig(n),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e.on(this._scrollElement,Ma,()=>this._process()),this.refresh(),this._process()}static get Default(){return wn}static get NAME(){return _n}refresh(){const s=this._scrollElement===this._scrollElement.window?Va:Cn,e=this._config.method==="auto"?s:this._config.method,o=e===Cn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();const i=t.find(Ge,this._config.target);i.map(s=>{const i=it(s),a=i?t.findOne(i):null;if(a){const t=a.getBoundingClientRect();if(t.width||t.height)return[n[e](a).top+o,i]}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,pe),super.dispose()}_getConfig(e){return e={...wn,...n.getDataAttributes(this._element),...typeof e=="object"&&e?e:{}},e.target=O(e.target)||document.documentElement,b(_n,e,Aa),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);return}if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null,this._clear();return}for(let t=this._offsets.length;t--;){const n=this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(typeof this._offsets[t+1]=="undefined"||e<this._offsets[t+1]);n&&this._activate(this._targets[t])}}_activate(n){this._activeTarget=n,this._clear();const o=Ge.split(",").map(e=>`${e}[data-bs-target="${n}"],${e}[href="${n}"]`),s=t.findOne(o.join(","),this._config.target);s.classList.add(G),s.classList.contains(pt)?t.findOne(Ba,s.closest(Ia)).classList.add(G):t.parents(s,Na).forEach(e=>{t.prev(e,`${et}, ${On}`).forEach(e=>e.classList.add(G)),t.prev(e,Ra).forEach(e=>{t.children(e,et).forEach(e=>e.classList.add(G))})}),e.trigger(this._scrollElement,Sa,{relatedTarget:n})}_clear(){t.find(Ge,this._config.target).filter(e=>e.classList.contains(G)).forEach(e=>e.classList.remove(G))}static jQueryInterface(e){return this.each(function(){const t=Fe.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}}e.on(window,Fa,()=>{t.find(Da).forEach(e=>new Fe(e))}),d(Fe);const Ua="tab",Ka="bs.tab",se=`.${Ka}`,Ya=".data-api",Ga=`hide${se}`,Xa=`hidden${se}`,Qa=`show${se}`,Za=`shown${se}`,Ja=`click${se}${Ya}`,er="dropdown-menu",me="active",Hn="fade",In="show",or=".dropdown",ir=".nav, .list-group",Un=".active",Yn=":scope > li > .active",cr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',lr=".dropdown-toggle",dr=":scope > .dropdown-menu .active";class Me extends m{static get NAME(){return Ua}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(me))return;let n;const o=k(this._element),s=this._element.closest(ir);if(s){const e=s.nodeName==="UL"||s.nodeName==="OL"?Yn:Un;n=t.find(e,s),n=n[n.length-1]}const i=n?e.trigger(n,Ga,{relatedTarget:this._element}):null,r=e.trigger(this._element,Qa,{relatedTarget:n});if(r.defaultPrevented||i!==null&&i.defaultPrevented)return;this._activate(this._element,s);const a=()=>{e.trigger(n,Xa,{relatedTarget:this._element}),e.trigger(this._element,Za,{relatedTarget:n})};o?this._activate(o,o.parentNode,a):a()}_activate(e,n,s){const a=n&&(n.nodeName==="UL"||n.nodeName==="OL")?t.find(Yn,n):t.children(n,Un),o=a[0],r=s&&o&&o.classList.contains(Hn),i=()=>this._transitionComplete(e,o,s);o&&r?(o.classList.remove(In),this._queueCallback(i,e,!0)):i()}_transitionComplete(e,n,s){if(n){n.classList.remove(me);const e=t.findOne(dr,n.parentNode);e&&e.classList.remove(me),n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!1)}e.classList.add(me),e.getAttribute("role")==="tab"&&e.setAttribute("aria-selected",!0),q(e),e.classList.contains(Hn)&&e.classList.add(In);let o=e.parentNode;if(o&&o.nodeName==="LI"&&(o=o.parentNode),o&&o.classList.contains(er)){const n=e.closest(or);n&&t.find(lr,n).forEach(e=>e.classList.add(me)),e.setAttribute("aria-expanded",!0)}s&&s()}static jQueryInterface(e){return this.each(function(){const t=Me.getOrCreateInstance(this);if(typeof e=="string"){if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()}})}}e.on(document,Ja,cr,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),D(this))return;const t=Me.getOrCreateInstance(this);t.show()}),d(Me);const Xn="toast",mr="bs.toast",E=`.${mr}`,pr=`mouseover${E}`,gr=`mouseout${E}`,vr=`focusin${E}`,br=`focusout${E}`,jr=`hide${E}`,yr=`hidden${E}`,_r=`show${E}`,wr=`shown${E}`,Or="fade",es="hide",ue="show",Oe="showing",kr={animation:"boolean",autohide:"boolean",delay:"number"},bs={animation:!0,autohide:!0,delay:5e3};class ye extends m{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 kr}static get Default(){return bs}static get NAME(){return Xn}show(){const t=e.trigger(this._element,_r);if(t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Or);const n=()=>{this._element.classList.remove(Oe),e.trigger(this._element,wr),this._maybeScheduleHide()};this._element.classList.remove(es),q(this._element),this._element.classList.add(ue),this._element.classList.add(Oe),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this._element.classList.contains(ue))return;const t=e.trigger(this._element,jr);if(t.defaultPrevented)return;const n=()=>{this._element.classList.add(es),this._element.classList.remove(Oe),this._element.classList.remove(ue),e.trigger(this._element,yr)};this._element.classList.add(Oe),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(ue)&&this._element.classList.remove(ue),super.dispose()}_getConfig(e){return e={...bs,...n.getDataAttributes(this._element),...typeof e=="object"&&e?e:{}},b(Xn,e,this.constructor.DefaultType),e}_maybeScheduleHide(){if(!this._config.autohide)return;if(this._hasMouseInteraction||this._hasKeyboardInteraction)return;this._timeout=setTimeout(()=>{this.hide()},this._config.delay)}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t;break}if(t){this._clearTimeout();return}const n=e.relatedTarget;if(this._element===n||this._element.contains(n))return;this._maybeScheduleHide()}_setListeners(){e.on(this._element,pr,e=>this._onInteraction(e,!0)),e.on(this._element,gr,e=>this._onInteraction(e,!1)),e.on(this._element,vr,e=>this._onInteraction(e,!0)),e.on(this._element,br,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=ye.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Te(ye),d(ye);const Mr={Alert:ke,Button:ve,Carousel:y,Collapse:W,Dropdown:h,Modal:Z,Offcanvas:L,Popover:lt,ScrollSpy:Fe,Tab:Me,Toast:ye,Tooltip:U};return Mr})