1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const M="transitionend",H=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?e.trim():null}return i},B=e=>{e=H(e);return e&&document.querySelector(e)?e:null},s=e=>{e=H(e);return e?document.querySelector(e):null},R=e=>{e.dispatchEvent(new Event(M))},r=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,o=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(e):null,i=(n,s,o)=>{Object.keys(o).forEach(e=>{var t=o[e],i=s[e],i=i&&r(i)?"element":null==i?""+i:{}.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(t).test(i))throw new TypeError(n.toUpperCase()+`: Option "${e}" provided type "${i}" but expected type "${t}".`)})},W=e=>!(!r(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),a=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),z=e=>{return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?z(e.parentNode):null:null;var t},q=()=>{},f=e=>{e.offsetHeight},F=()=>{var e=window["jQuery"];return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},U=[],n=()=>"rtl"===document.documentElement.dir,e=n=>{var e=()=>{const e=F();if(e){const t=n.NAME,i=e.fn[t];
1e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}};"loading"===document.readyState?(U.length||document.addEventListener("DOMContentLoaded",()=>{U.forEach(e=>e())}),U.push(e)):e()},l=e=>{"function"==typeof e&&e()},V=(i,s,e=!0)=>{if(e){e=(()=>{if(!s)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(s);var i=Number.parseFloat(e),n=Number.parseFloat(t);return i||n?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1;const n=({target:e})=>{e===s&&(t=!0,s.removeEventListener(M,n),l(i))};s.addEventListener(M,n),setTimeout(()=>{t||R(s)},e)}else l(i)},$=(e,t,i,n)=>{let s=e.indexOf(t);if(-1===s)return e[!i&&n?e.length-1:0];t=e.length;return s+=i?1:-1,n&&(s=(s+t)%t),e[Math.max(0,Math.min(s,t-1))]},K=/[^.]*(?=\..*)\.|.*/,X=/\..*/,Y=/::\d+$/,Q={};let G=1;const Z={mouseenter:"mouseover",mouseleave:"mouseout"},J=/^(mouseenter|mouseleave)/i,ee=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 te(e,t){return t&&t+"::"+G++||e.uidEvent||G++}function ie(e){var t=te(e);return e.uidEvent=t,Q[t]=Q[t]||{},Q[t]}function ne(i,n,s=null){var o=Object.keys(i);for(let e=0,t=o.length;e<t;e++){var r=i[o[e]];if(r.originalHandler===n&&r.delegationSelector===s)return r}return null}function se(e,t,i){var n="string"==typeof t,i=n?i:t;let s=ae(e);return[n,i,s=ee.has(s)?s:e]}function oe(e,t,i,n,s){if("string"==typeof t&&e){if(i||(i=n,n=null),J.test(t)){const e=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=e(n):i=e(i)}const[h,d,u]=se(t,i,n),f=ie(e),p=f[u]||(f[u]={}),m=ne(p,d,h?i:null);if(m)return m.oneOff=m.oneOff&&s;const g=te(d,t.replace(K,"")),_=h?(a=e,l=i,c=n,function i(n){var s=a.querySelectorAll(l);for(let t=n["target"];t&&t!==this;t=t.parentNode)for(let e=s.length;e--;)if(s[e]===t)return n.delegateTarget=t,i.oneOff&&b.off(a,n.type,l,c),c.apply(t,[n]);return null}):(o=e,r=i,function e(t){return t.delegateTarget=o,e.oneOff&&b.off(o,t.type,r),r.apply(o,[t])});var o,r,a,l,c;_.delegationSelector=h?i:null,_.originalHandler=d,_.oneOff=s,_.uidEvent=g,p[g]=_,e.addEventListener(u,_,h)}}function re(e,t,i,n,s){n=ne(t[i],n,s);n&&(e.removeEventListener(i,n,Boolean(s)),delete t[i][n.uidEvent])}function ae(e){return e=e.replace(X,""),Z[e]||e}const b={on(e,t,i,n){oe(e,t,i,n,!1)},one(e,t,i,n){oe(e,t,i,n,!0)},off(r,a,e,t){if("string"==typeof a&&r){const[i,n,s]=se(a,e,t),o=s!==a,l=ie(r),c=a.startsWith(".");if(void 0!==n)return l&&l[s]?void re(r,l,s,n,i?e:null):void 0;c&&Object.keys(l).forEach(e=>{{var t=r,i=l,n=e,s=a.slice(1);const o=i[n]||{};return void Object.keys(o).forEach(e=>{if(e.includes(s)){const s=o[e];re(t,i,n,s.originalHandler,s.delegationSelector)}})}});const h=l[s]||{};Object.keys(h).forEach(e=>{var t=e.replace(Y,"");if(!o||a.includes(t)){const a=h[e];re(r,l,s,a.originalHandler,a.delegationSelector)}})}},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=F(),s=ae(t),o=t!==s,r=ee.has(s);let a,l=!0,c=!0,h=!1,d=null;return o&&n&&(a=n.Event(t,i),n(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents")).initEvent(s,l,!0):d=new CustomEvent(t,{bubbles:l,cancelable:!0}
1),void 0!==i&&Object.keys(i).forEach(e=>{Object.defineProperty(d,e,{get:()=>i[e]})}),h&&d.preventDefault(),c&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},c=new Map,le={set(e,t,i){c.has(e)||c.set(e,new Map);const n=c.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>c.has(e)&&c.get(e).get(t)||null,remove(e,t){if(c.has(e)){const i=c.get(e);i.delete(t),0===i.size&&c.delete(e)}}};class t{constructor(e){(e=o(e))&&(this._element=e,le.set(this._element,this.constructor.DATA_KEY,this))}dispose(){le.remove(this._element,this.constructor.DATA_KEY),b.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,i=!0){V(e,t,i)}static getInstance(e){return le.get(o(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}}var ce=(t,i="hide")=>{const e="click.dismiss"+t.EVENT_KEY,n=t.NAME;b.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(e=s(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class he extends t{static get NAME(){return"alert"}close(){var e;b.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),b.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=he.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ce(he,"close"),e(he);const de='[data-bs-toggle="button"]';class ue extends t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=ue.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}function fe(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function pe(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}b.on(document,"click.bs.button.data-api",de,e=>{e.preventDefault();e=e.target.closest(de);ue.getOrCreateInstance(e).toggle()}),e(ue);const h={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+pe(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+pe(t))},getDataAttributes(i){if(!i)return{};const n={};return Object.keys(i.dataset).filter(e=>e.startsWith("bs")).forEach(e=>{let t=e.replace(/^bs/,"");t=t.charAt(0).toLowerCase()+t.slice(1,t.length),n[t]=fe(i.dataset[e])}),n},getDataAttribute:(e,t)=>fe(e.getAttribute("data-bs-"+pe(t))),offset(e){e=e.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},p={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(e,t){const i=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(", ");return this.find(t,e).filter(e=>!a(e)&&W(e))}},me="carousel",ge={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},_e={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},m="next",d="prev",u="left",be="right",ve={ArrowLeft:be,ArrowRight:u},ye="slid.bs.carousel",g="active",we=".active.carousel-item";class _ extends t{constructor(e,t){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(t),this._indicatorsElement=p.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return ge}static get NAME(){return me}next(){this._slide(m)}nextWhenVisible(){!document.hidden&&W(this._element)&&this.next()}prev(){this._slide(d)}pause(e){e||(this._isPaused=!0),p.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(R(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(e){this._activeElement=p.findOne(we,this._element);var t=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)b.one(this._element,ye,()=>this.to(e));else{if(t===e)return this.pause(),void this.cycle();t=t<e?m:d;this._slide(t,this._items[e])}}_getConfig(e){return e={...ge,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i(me,e,_e),e}_handleSwipe(){var e=Math.abs(this.touchDeltaX);e<=40||(e=e/this.touchDeltaX,this.touchDeltaX=0,e&&this._slide(0<e?be:u))}_addEventListeners(){this._config.keyboard&&b.on(this._element,"keydown.bs.carousel",e=>
1this._keydown(e)),"hover"===this._config.pause&&(b.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),b.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),i=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},n=e=>{this.touchDeltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this.touchStartX},s=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),500+this._config.interval))};p.find(".carousel-item img",this._element).forEach(e=>{b.on(e,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?(b.on(this._element,"pointerdown.bs.carousel",e=>i(e)),b.on(this._element,"pointerup.bs.carousel",e=>s(e)),this._element.classList.add("pointer-event")):(b.on(this._element,"touchstart.bs.carousel",e=>i(e)),b.on(this._element,"touchmove.bs.carousel",e=>n(e)),b.on(this._element,"touchend.bs.carousel",e=>s(e)))}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=ve[e.key])&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?p.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){e=e===m;return $(this._items,t,e,this._config.wrap)}_triggerSlideEvent(e,t){var i=this._getItemIndex(e),n=this._getItemIndex(p.findOne(we,this._element));return b.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=p.findOne(".active",this._indicatorsElement),i=(e.classList.remove(g),e.removeAttribute("aria-current"),p.find("[data-bs-target]",this._indicatorsElement));for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add(g),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||p.findOne(we,this._element);var t;e&&((t=Number.parseInt(e.getAttribute("data-bs-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval)}_slide(e,t){const i=this._directionToOrder(e),n=p.findOne(we,this._element),s=this._getItemIndex(n),o=t||this._getItemByOrder(i,n),r=this._getItemIndex(o),a=Boolean(this._interval),l=i===m,c=l?"carousel-item-start":"carousel-item-end",h=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(i);if(o&&o.classList.contains(g))this._isSliding=!1;else if(!this._isSliding&&!this._triggerSlideEvent(o,d).defaultPrevented&&n&&o){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const u=()=>{b.trigger(this._element,ye,{relatedTarget:o,direction:d,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),f(o),n.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,h),o.classList.add(g),n.classList.remove(g,h,c),this._isSliding=!1,setTimeout(u,0)};this._queueCallback(e,n,!0)}else n.classList.remove(g),o.classList.add(g),this._isSliding=!1,u();a&&this.cycle()}}_directionToOrder(e){return[be,u].includes(e)?n()?e===u?d:m:e===u?m:d:e}_orderToDirection(e){return[m,d].includes(e)?n()?e===d?u:be:e===d?be:u:e}static carouselInterface(e,t){const i=_.getOrCreateInstance(e,t);let n=i["_config"];"object"==typeof t&&(n={...n,...t});e="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each(function(){_.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=s(this);if(t&&t.classList.contains("carousel")){const i={...h.getDataAttributes(t),...h.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),_.carouselInterface(t,i),n&&_.getInstance(t).to(n),e.preventDefault()}}}b.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",_.dataApiClickHandler),b.on(window,"load.bs.carousel.data-api",()=>{var i=p.find('[data-bs-ride="carousel"]');for(let e=0,t=i.length;e<t;e++)_.carouselInterface(i[e],_.getInstance(i[e]))}),e(_);const Ee="collapse",Ae={toggle:!0,parent:null},Te={toggle:"boolean",parent:"(null|element)"},Oe="show",Ce="collapse",ke="collapsing",Le="collapsed",xe=":scope .collapse .collapse",De
1='[data-bs-toggle="collapse"]';class v extends t{constructor(e,i){super(e),this._isTransitioning=!1,this._config=this._getConfig(i),this._triggerArray=[];var n=p.find(De);for(let e=0,t=n.length;e<t;e++){const i=n[e],s=B(i),o=p.find(s).filter(e=>e===this._element);null!==s&&o.length&&(this._selector=s,this._triggerArray.push(i))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ae}static get NAME(){return Ee}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t,e=[];if(this._config.parent){const t=p.find(xe,this._config.parent);e=p.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(e=>!t.includes(e))}const n=p.findOne(this._selector);if(e.length){const s=e.find(e=>n!==e);if((t=s?v.getInstance(s):null)&&t._isTransitioning)return}if(!b.trigger(this._element,"show.bs.collapse").defaultPrevented){e.forEach(e=>{n!==e&&v.getOrCreateInstance(e,{toggle:!1}).hide(),t||le.set(e,"bs.collapse",null)});const s=this._getDimension();this._element.classList.remove(Ce),this._element.classList.add(ke),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var i="scroll"+(s[0].toUpperCase()+s.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ke),this._element.classList.add(Ce,Oe),this._element.style[s]="",b.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[s]=this._element[i]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!b.trigger(this._element,"hide.bs.collapse").defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",f(this._element),this._element.classList.add(ke),this._element.classList.remove(Ce,Oe);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],i=s(t);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ke),this._element.classList.add(Ce),b.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains(Oe)}_getConfig(e){return(e={...Ae,...h.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=o(e.parent),i(Ee,e,Te),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const t=p.find(xe,this._config.parent);p.find(De,this._config.parent).filter(e=>!t.includes(e)).forEach(e=>{var t=s(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove(Le):e.classList.add(Le),e.setAttribute("aria-expanded",t)})}static jQueryInterface(i){return this.each(function(){const e={},t=("string"==typeof i&&/show|hide/.test(i)&&(e.toggle=!1),v.getOrCreateInstance(this,e));if("string"==typeof i){if(void 0===t[i])throw new TypeError(`No method named "${i}"`);t[i]()}})}}b.on(document,"click.bs.collapse.data-api",De,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();e=B(this);p.find(e).forEach(e=>{v.getOrCreateInstance(e,{toggle:!1}).toggle()})}),e(v);var k="top",L="bottom",x="right",D="left",Se="auto",S=[k,L,x,D],N="start",y="end",Ne="clippingParents",Ie="viewport",Pe="popper",je="reference",Me=S.reduce(function(e,t){return e.concat([t+"-"+N,t+"-"+y])},[]),He=[].concat(S,[Se]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-"+y])},[]),Be="beforeRead",Re="afterRead",We="beforeMain",ze="afterMain",qe="beforeWrite",Fe="afterWrite",Ue=[Be,"read",Re,We,"main",ze,qe,"write",Fe];function w(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e;var t}function Ve(e){return e instanceof E(e).Element||e instanceof Element}function A(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function $e(e){return"undefined"!=typeof ShadowRoot&&(e instanceof E(e).ShadowRoot||e instanceof ShadowRoot)}var Ke={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var s=e.state;
1Object.keys(s.elements).forEach(function(e){var t=s.styles[e]||{},i=s.attributes[e]||{},n=s.elements[e];A(n)&&w(n)&&(Object.assign(n.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var n=e.state,s={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,s.popper),n.styles=s,n.elements.arrow&&Object.assign(n.elements.arrow.style,s.arrow),function(){Object.keys(n.elements).forEach(function(e){var t=n.elements[e],i=n.attributes[e]||{},e=Object.keys((n.styles.hasOwnProperty(e)?n.styles:s)[e]).reduce(function(e,t){return e[t]="",e},{});A(t)&&w(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function I(e){return e.split("-")[0]}function Xe(e){e=e.getBoundingClientRect();return{width:+e.width,height:+e.height,top:+e.top,right:+e.right,bottom:+e.bottom,left:+e.left,x:+e.left,y:+e.top}}function Ye(e){var t=Xe(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function Qe(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&$e(i)){var n=t;do{if(n&&e.isSameNode(n))return!0}while(n=n.parentNode||n.host)}return!1}function T(e){return E(e).getComputedStyle(e)}function O(e){return((Ve(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ge(e){return"html"===w(e)?e:e.assignedSlot||e.parentNode||($e(e)?e.host:null)||O(e)}function Ze(e){return A(e)&&"fixed"!==T(e).position?e.offsetParent:null}function Je(e){for(var t,i=E(e),n=Ze(e);n&&(t=n,0<=["table","td","th"].indexOf(w(t)))&&"static"===T(n).position;)n=Ze(n);return(!n||"html"!==w(n)&&("body"!==w(n)||"static"!==T(n).position))&&(n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&A(e)&&"fixed"===T(e).position)return null;for(var i=Ge(e);A(i)&&["html","body"].indexOf(w(i))<0;){var n=T(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e))||i}function et(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}var C=Math.max,tt=Math.min,it=Math.round;function nt(e,t,i){return C(e,tt(t,i))}function st(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ot(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}var rt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,n,s,o=e.state,r=e.name,e=e.options,a=o.elements.arrow,l=o.modifiersData.popperOffsets,c=I(o.placement),h=et(c),c=0<=[D,x].indexOf(c)?"height":"width";a&&l&&(e=st("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},o.rects,{placement:o.placement})):e)?e:ot(e,S)),t=Ye(a),s="y"===h?k:D,n="y"===h?L:x,i=o.rects.reference[c]+o.rects.reference[h]-l[h]-o.rects.popper[c],l=l[h]-o.rects.reference[h],a=(a=Je(a))?"y"===h?a.clientHeight||0:a.clientWidth||0:0,s=e[s],e=a-t[c]-e[n],s=nt(s,n=a/2-t[c]/2+(i/2-l/2),e),o.modifiersData[r]=((a={})[h]=s,a.centerOffset=s-n,a))},effect:function(e){var t=e.state,e=e.options.element,e=void 0===e?"[data-popper-arrow]":e;null!=e&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&Qe(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function at(e){return e.split("-")[1]}var lt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ct(e){var t,i,n=e.popper,s=e.popperRect,o=e.placement,r=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,h=e.adaptive,e=e.roundOffsets,d=!0===e?(d=a.x,u=a.y,f=window.devicePixelRatio||1,{x:it(it(d*f)/f)||0,y:it(it(u*f)/f)||0}):"function"==typeof e?e(a):a,u=d.x,f=void 0===u?0:u,e=d.y,e=void 0===e?0:e,p=a.hasOwnProperty("x"),a=a.hasOwnProperty("y"),m=D,g=k,_=window;h&&(b="clientHeight",i="clientWidth",(t=Je(n))===E(n)&&"static"!==T(t=O(n)).position&&"absolute"===l&&(b="scrollHeight",i="scrollWidth"),o!==k&&(o!==D&&o!==x||r!==y)||(g=L,e=(e-(t[b]-s.height))*(c?1:-1)),o!==D&&(o!==k&&o!==L||r!==y)||(m=x,f=(f-(t[i]-s.width))*(c?1:-1)));var b,n=Object.assign({position:l},h&<);return c?Object.assign({},n,((b={})[g]=a?"0":"",b[m]=p?"0":"",b.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+e+"px)":"translate3d("+f+"px, "+e+"px, 0)",b)):Object.assign({},n,((o={})[g]=a?e+"px":"",o[m]=p?f+"px":"",o.transform="",o))}var ht={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,i=e.gpuAcceleration,i=void 0===i||i,n=e.adaptive,n=void 0===n||n,e=e.roundOffsets,e=void 0===e||e,i={placement:I(t.placement),variation:at(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ct(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ct(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},dt={passive:!0},ut={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,e=e.options,n=e.scroll,s=void 0===n||n,n=e.resize,o=void 0===n||n,r=E(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&a.forEach(function(e){e.addEventListener("scroll",i.update,dt)}),o&&r.addEventListener("resize",i.update,dt),function(){s&&a.forEach(function(e){e.removeEventListener("scroll",i.update,dt)}),o&&r.removeEventListener("resize",i.update,dt)}},data:{}}
1,ft={left:"right",right:"left",bottom:"top",top:"bottom"};function pt(e){return e.replace(/left|right|bottom|top/g,function(e){return ft[e]})}var mt={start:"end",end:"start"};function gt(e){return e.replace(/start|end/g,function(e){return mt[e]})}function _t(e){e=E(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function bt(e){return Xe(O(e)).left+_t(e).scrollLeft}function vt(e){var e=T(e),t=e.overflow,i=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+i)}function yt(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(w(t))?t.ownerDocument.body:A(t)&&vt(t)?t:e(Ge(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),n=E(i),n=e?[n].concat(n.visualViewport||[],vt(i)?i:[]):i,i=t.concat(n);return e?i:i.concat(yt(Ge(n)))}function wt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Et(e,t){return t===Ie?wt((n=E(i=e),s=O(i),n=n.visualViewport,o=s.clientWidth,s=s.clientHeight,a=r=0,n&&(o=n.width,s=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:o,height:s,x:r+bt(i),y:a})):A(t)?((o=Xe(n=t)).top=o.top+n.clientTop,o.left=o.left+n.clientLeft,o.bottom=o.top+n.clientHeight,o.right=o.left+n.clientWidth,o.width=n.clientWidth,o.height=n.clientHeight,o.x=o.left,o.y=o.top,o):wt((s=O(e),r=O(s),i=_t(s),a=null==(a=s.ownerDocument)?void 0:a.body,t=C(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),e=C(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-i.scrollLeft+bt(s),i=-i.scrollTop,"rtl"===T(a||r).direction&&(s+=C(r.clientWidth,a?a.clientWidth:0)-t),{width:t,height:e,x:s,y:i}));var i,n,s,o,r,a}function At(e){var t,i=e.reference,n=e.element,e=e.placement,s=e?I(e):null,e=e?at(e):null,o=i.x+i.width/2-n.width/2,r=i.y+i.height/2-n.height/2;switch(s){case k:t={x:o,y:i.y-n.height};break;case L:t={x:o,y:i.y+i.height};break;case x:t={x:i.x+i.width,y:r};break;case D:t={x:i.x-n.width,y:r};break;default:t={x:i.x,y:i.y}}var a=s?et(s):null;if(null!=a){var l="y"===a?"height":"width";switch(e){case N:t[a]=t[a]-(i[l]/2-n[l]/2);break;case y:t[a]=t[a]+(i[l]/2-n[l]/2)}}return t}function Tt(e,t){var i,n,s,o,r,t=t=void 0===t?{}:t,a=t.placement,a=void 0===a?e.placement:a,l=t.boundary,l=void 0===l?Ne:l,c=t.rootBoundary,c=void 0===c?Ie:c,h=t.elementContext,h=void 0===h?Pe:h,d=t.altBoundary,d=void 0!==d&&d,t=t.padding,t=void 0===t?0:t,t=st("number"!=typeof t?t:ot(t,S)),u=e.rects.popper,d=e.elements[d?h===Pe?je:Pe:h],l=(i=Ve(d)?d:d.contextElement||O(e.elements.popper),d=c,s="clippingParents"===(c=l)?(o=yt(Ge(s=i)),Ve(n=0<=["absolute","fixed"].indexOf(T(s).position)&&A(s)?Je(s):s)?o.filter(function(e){return Ve(e)&&Qe(e,n)&&"body"!==w(e)}):[]):[].concat(c),o=[].concat(s,[d]),c=o[0],(d=o.reduce(function(e,t){t=Et(i,t);return e.top=C(t.top,e.top),e.right=tt(t.right,e.right),e.bottom=tt(t.bottom,e.bottom),e.left=C(t.left,e.left),e},Et(i,c))).width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d),c=Xe(e.elements.reference),d=At({reference:c,element:u,strategy:"absolute",placement:a}),u=wt(Object.assign({},u,d)),d=h===Pe?u:c,f={top:l.top-d.top+t.top,bottom:d.bottom-l.bottom+t.bottom,left:l.left-d.left+t.left,right:d.right-l.right+t.right},u=e.modifiersData.offset;return h===Pe&&u&&(r=u[a],Object.keys(f).forEach(function(e){var t=0<=[x,L].indexOf(e)?1:-1,i=0<=[k,L].indexOf(e)?"y":"x";f[e]+=r[i]*t})),f}var Ot={name:"flip",enabled:!0,phase:"main",fn:function(e){var d=e.state,t=e.options,e=e.name;if(!d.modifiersData[e]._skip){for(var i=t.mainAxis,n=void 0===i||i,i=t.altAxis,s=void 0===i||i,i=t.fallbackPlacements,u=t.padding,f=t.boundary,p=t.rootBoundary,o=t.altBoundary,r=t.flipVariations,m=void 0===r||r,g=t.allowedAutoPlacements,r=d.options.placement,t=I(r),i=i||(t!==r&&m?function(e){if(I(e)===Se)return[];var t=pt(e);return[gt(e),t,gt(t)]}(r):[pt(r)]),a=[r].concat(i).reduce(function(e,t){return e.concat(I(t)===Se?(i=d,n=(e=e=void 0===(e={placement:t,boundary:f,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:g})?{}:e).placement,s=e.boundary,o=e.rootBoundary,r=e.padding,a=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?He:e,c=at(n),e=c?a?Me:Me.filter(function(e){return at(e)===c}):S,h=(n=0===(n=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:n).reduce(function(e,t){return e[t]=Tt(i,{placement:t,boundary:s,rootBoundary:o,padding:r})[I(t)],e},{}
1),Object.keys(h).sort(function(e,t){return h[e]-h[t]})):t);var i,n,s,o,r,a,l,c,h},[]),l=d.rects.reference,c=d.rects.popper,h=new Map,_=!0,b=a[0],v=0;v<a.length;v++){var y=a[v],w=I(y),E=at(y)===N,A=0<=[k,L].indexOf(w),T=A?"width":"height",O=Tt(d,{placement:y,boundary:f,rootBoundary:p,altBoundary:o,padding:u}),A=A?E?x:D:E?L:k,E=(l[T]>c[T]&&(A=pt(A)),pt(A)),T=[];if(n&&T.push(O[w]<=0),s&&T.push(O[A]<=0,O[E]<=0),T.every(function(e){return e})){b=y,_=!1;break}h.set(y,T)}if(_)for(var C=m?3:1;0<C&&"break"!==function(t){var e=a.find(function(e){e=h.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return b=e,"break"}(C);C--);d.placement!==b&&(d.modifiersData[e]._skip=!0,d.placement=b,d.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ct(e,t,i){return{top:e.top-t.height-(i=void 0===i?{x:0,y:0}:i).y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function kt(t){return[k,x,L,D].some(function(e){return 0<=t[e]})}var Lt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,i=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,o=Tt(t,{elementContext:"reference"}),r=Tt(t,{altBoundary:!0}),o=Ct(o,i),i=Ct(r,n,s),r=kt(o),n=kt(i);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:i,isReferenceHidden:r,hasPopperEscaped:n},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":r,"data-popper-escaped":n})}},xt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var r=e.state,t=e.options,e=e.name,t=t.offset,a=void 0===t?[0,0]:t,t=He.reduce(function(e,t){return e[t]=(t=t,i=r.rects,n=a,s=I(t),o=0<=[D,k].indexOf(s)?-1:1,i="function"==typeof n?n(Object.assign({},i,{placement:t})):n,t=i[0]||0,n=(i[1]||0)*o,0<=[D,x].indexOf(s)?{x:n,y:t}:{x:t,y:n}),e;var i,n,s,o},{}),i=t[r.placement],n=i.x,i=i.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=n,r.modifiersData.popperOffsets.y+=i),r.modifiersData[e]=t}},Dt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=At({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},St={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,n,s,o,r,a,l,c,h=e.state,d=e.options,e=e.name,u=d.mainAxis,u=void 0===u||u,f=d.altAxis,f=void 0!==f&&f,p=d.boundary,m=d.rootBoundary,g=d.altBoundary,_=d.padding,b=d.tether,b=void 0===b||b,d=d.tetherOffset,d=void 0===d?0:d,p=Tt(h,{boundary:p,rootBoundary:m,padding:_,altBoundary:g}),m=I(h.placement),_=at(h.placement),g=!_,m=et(m),v="x"===m?"y":"x",y=h.modifiersData.popperOffsets,w=h.rects.reference,E=h.rects.popper,d="function"==typeof d?d(Object.assign({},h.rects,{placement:h.placement})):d,A={x:0,y:0};y&&((u||f)&&(o="y"===m?"height":"width",t=y[m],i=y[m]+p[c="y"===m?k:D],n=y[m]-p[a="y"===m?L:x],r=b?-E[o]/2:0,s=(_===N?w:E)[o],_=_===N?-E[o]:-w[o],E=h.elements.arrow,E=b&&E?Ye(E):{width:0,height:0},c=(l=h.modifiersData["arrow#persistent"]?h.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[c],l=l[a],a=nt(0,w[o],E[o]),E=g?w[o]/2-r-a-c-d:s-a-c-d,s=g?-w[o]/2+r+a+l+d:_+a+l+d,g=(c=h.elements.arrow&&Je(h.elements.arrow))?"y"===m?c.clientTop||0:c.clientLeft||0:0,w=h.modifiersData.offset?h.modifiersData.offset[h.placement][m]:0,o=y[m]+E-w-g,r=y[m]+s-w,u&&(_=nt(b?tt(i,o):i,t,b?C(n,r):n),y[m]=_,A[m]=_-t),f&&(l=(a=y[v])+p["x"===m?k:D],d=a-p["x"===m?L:x],c=nt(b?tt(l,o):l,a,b?C(d,r):d),y[v]=c,A[v]=c-a)),h.modifiersData[e]=A)},requiresIfExists:["offset"]};function Nt(e){var i=new Map,n=new Set,s=[];return e.forEach(function(e){i.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||function t(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){n.has(e)||(e=i.get(e))&&t(e)}),s.push(e)}(e)}),s}var It={placement:"bottom",modifiers:[],strategy:"absolute"};function Pt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function jt(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,l=void 0===t?[]:t,t=e.defaultOptions,c=void 0===t?It:t;return function(n,s,t){void 0===t&&(t=c);var i,o,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},It,c),modifiersData:{},elements:{reference:n,popper:s},attributes:{},styles:{}},r=[],f=!1,p={state:u,setOptions:function(e){e="function"==typeof e?e(u.options):e;a(),u.options=Object.assign({},c,u.options,e),u.scrollParents={reference:Ve(n)?yt(n):n.contextElement?yt(n.contextElement):[],popper:yt(s)};e=[].concat(l,u.options.modifiers),t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),i=Nt(Object.keys(t).map(function(e){return t[e]}));var t,i,e=Ue.reduce(function(e,t){return e.concat(i.filter(function(e){return e.phase===t}))},[]);return u.orderedModifiers=e.filter(function(e){return e.enabled}
1),u.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,e=e.effect;"function"==typeof e&&(e=e({state:u,name:t,instance:p,options:void 0===i?{}:i}),r.push(e||function(){}))}),p.update()},forceUpdate:function(){if(!f){var e=u.elements,t=e.reference,e=e.popper;if(Pt(t,e)){u.rects={reference:(t=t,r=Je(e),void 0===(a="fixed"===u.options.strategy)&&(a=!1),l=A(r),A(r)&&((c=(h=r).getBoundingClientRect()).width,h.offsetWidth,c.height,h.offsetHeight),c=O(r),h=Xe(t),t={scrollLeft:0,scrollTop:0},d={x:0,y:0},!l&&a||("body"===w(r)&&!vt(c)||(t=(l=r)!==E(l)&&A(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:_t(l)),A(r)?((d=Xe(r)).x+=r.clientLeft,d.y+=r.clientTop):c&&(d.x=bt(c))),{x:h.left+t.scrollLeft-d.x,y:h.top+t.scrollTop-d.y,width:h.width,height:h.height}),popper:Ye(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(e){return u.modifiersData[e.name]=Object.assign({},e.data)});for(var i,n,s,o=0;o<u.orderedModifiers.length;o++)!0!==u.reset?(i=(s=u.orderedModifiers[o]).fn,n=s.options,s=s.name,"function"==typeof i&&(u=i({state:u,options:void 0===n?{}:n,name:s,instance:p})||u)):(u.reset=!1,o=-1)}}var r,a,l,c,h,d},update:(i=function(){return new Promise(function(e){p.forceUpdate(),e(u)})},function(){return o=o||new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(i())})})}),destroy:function(){a(),f=!0}};return Pt(n,s)&&p.setOptions(t).then(function(e){!f&&t.onFirstUpdate&&t.onFirstUpdate(e)}),p;function a(){r.forEach(function(e){return e()}),r=[]}}}var Mt=jt(),Ht=jt({defaultModifiers:[ut,Dt,ht,Ke]}),Bt=jt({defaultModifiers:[ut,Dt,ht,Ke,xt,Ot,St,rt,Lt]});const Rt=Object.freeze({__proto__:null,popperGenerator:jt,detectOverflow:Tt,createPopperBase:Mt,createPopper:Bt,createPopperLite:Ht,top:k,bottom:L,right:x,left:D,auto:Se,basePlacements:S,start:N,end:y,clippingParents:Ne,viewport:Ie,popper:Pe,reference:je,variationPlacements:Me,placements:He,beforeRead:Be,read:"read",afterRead:Re,beforeMain:We,main:"main",afterMain:ze,beforeWrite:qe,write:"write",afterWrite:Fe,modifierPhases:Ue,applyStyles:Ke,arrow:rt,computeStyles:ht,eventListeners:ut,flip:Ot,hide:Lt,offset:xt,popperOffsets:Dt,preventOverflow:St}),Wt="dropdown",zt="Escape",qt="ArrowUp",Ft="ArrowDown",Ut=new RegExp("ArrowUp|ArrowDown|Escape"),Vt="click.bs.dropdown.data-api",$t="keydown.bs.dropdown.data-api",Kt="show",Xt='[data-bs-toggle="dropdown"]',Yt=".dropdown-menu",Qt=n()?"top-end":"top-start",Gt=n()?"top-start":"top-end",Zt=n()?"bottom-end":"bottom-start",Jt=n()?"bottom-start":"bottom-end",ei=n()?"left-start":"right-start",ti=n()?"right-start":"left-start",ii={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},ni={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class P extends t{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 ii}static get DefaultType(){return ni}static get NAME(){return Wt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!a(this._element)&&!this._isShown(this._menu)){var e={relatedTarget:this._element};if(!b.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){const t=P.getParentFromElement(this._element);this._inNavbar?h.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".
1navbar-nav")&&[].concat(...document.body.children).forEach(e=>b.on(e,"mouseover",q)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kt),this._element.classList.add(Kt),b.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!a(this._element)&&this._isShown(this._menu)&&(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(e){b.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>b.off(e,"mouseover",q)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Kt),this._element.classList.remove(Kt),this._element.setAttribute("aria-expanded","false"),h.removeDataAttribute(this._menu,"popper"),b.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...h.getDataAttributes(this._element),...e},i(Wt,e,this.constructor.DefaultType),"object"!=typeof e.reference||r(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError(Wt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(e){if(void 0===Rt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:r(this._config.reference)?t=o(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const i=this._getPopperConfig(),n=i.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=Bt(t,this._menu,i),n&&h.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(Kt)}_getMenuElement(){return p.next(this._element,Yt)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return ei;if(e.classList.contains("dropstart"))return ti;var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Gt:Qt:t?Jt:Zt}
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_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:e,target:t}){const i=p.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(W);i.length&&$(i,t,e===Ft,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){const e=P.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(i){if(!i||2!==i.button&&("keyup"!==i.type||"Tab"===i.key)){const n=p.find(Xt);for(let e=0,t=n.length;e<t;e++){const s=P.getInstance(n[e]);if(s&&!1!==s._config.autoClose&&s._isShown()){const o={relatedTarget:s._element};if(i){const n=i.composedPath(),r=n.includes(s._menu);if(n.includes(s._element)||"inside"===s._config.autoClose&&!r||"outside"===s._config.autoClose&&r)continue;
1if(s._menu.contains(i.target)&&("keyup"===i.type&&"Tab"===i.key||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;"click"===i.type&&(o.clickEvent=i)}s._completeHide(o)}}}}static getParentFromElement(e){return s(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?!("Space"===e.key||e.key!==zt&&(e.key!==Ft&&e.key!==qt||e.target.closest(Yt))):Ut.test(e.key)){var t=this.classList.contains(Kt);if((t||e.key!==zt)&&(e.preventDefault(),e.stopPropagation(),!a(this))){const i=this.matches(Xt)?this:p.prev(this,Xt)[0],n=P.getOrCreateInstance(i);if(e.key!==zt)return e.key===qt||e.key===Ft?(t||n.show(),void n._selectMenuItem(e)):void(t&&"Space"!==e.key||P.clearMenus());n.hide()}}}}b.on(document,$t,Xt,P.dataApiKeydownHandler),b.on(document,$t,Yt,P.dataApiKeydownHandler),b.on(document,Vt,P.clearMenus),b.on(document,"keyup.bs.dropdown.data-api",P.clearMenus),b.on(document,Vt,Xt,function(e){e.preventDefault(),P.getOrCreateInstance(this).toggle()}),e(P);const si=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oi=".sticky-top";class ri{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",e=>e+t),this._setElementAttributes(si,"paddingRight",e=>e+t),this._setElementAttributes(oi,"marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,n){const s=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+s||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e)[i],e.style[i]=n(Number.parseFloat(t))+"px")})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(si,"paddingRight"),this._resetElementAttributes(oi,"marginRight")}_saveInitialAttribute(e,t){var i=e.style[t];i&&h.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=h.getDataAttribute(e,i);void 0===t?e.style.removeProperty(i):(h.removeDataAttribute(e,i),e.style[i]=t)})}_applyManipulationCallback(e,t){r(e)?t(e):p.find(e,this._element).forEach(t)}isOverflowing(){return 0<this.getWidth()}}const ai={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},li={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},ci="mousedown.bs.backdrop";class hi{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&f(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{l(e)})):l(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),l(e)}
1)):l(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={...ai,..."object"==typeof e?e:{}}).rootElement=o(e.rootElement),i("backdrop",e,li),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),b.on(this._getElement(),ci,()=>{l(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(b.off(this._element,ci),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){V(e,this._getElement(),this._config.isAnimated)}}const di={trapElement:null,autofocus:!0},ui={trapElement:"element",autofocus:"boolean"},fi=".bs.focustrap",pi="backward";class mi{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),b.off(document,fi),b.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),b.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,b.off(document,fi))}_handleFocusin(e){const t=e["target"],i=this._config["trapElement"];if(t!==document&&t!==i&&!i.contains(t)){const n=p.focusableChildren(i);(0===n.length?i:this._lastTabNavDirection===pi?n[n.length-1]:n[0]).focus()}}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?pi:"forward")}_getConfig(e){return e={...di,..."object"==typeof e?e:{}},i("focustrap",e,ui),e}}const gi={backdrop:!0,keyboard:!0,focus:!0},_i={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},bi="hidden.bs.modal",vi="show.bs.modal",yi="resize.bs.modal",wi="click.dismiss.bs.modal",Ei="keydown.dismiss.bs.modal",Ai="mousedown.dismiss.bs.modal",Ti="modal-open",Oi="modal-static";class Ci extends t{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=p.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 ri}static get Default(){return gi}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||b.trigger(this._element,vi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),b.on(this._dialog,Ai,()=>{b.one(this._element,"mouseup.dismiss.bs.modal",e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){var e;!this._isShown||this._isTransitioning||b.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,(e=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),b.off(this._element,wi),b.off(this._dialog,Ai),this._queueCallback(()=>this._hideModal(),this._element,e))}dispose(){[window,this._dialog].forEach(e=>b.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new mi({trapElement:this._element})}_getConfig(e){return e={...gi,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i("modal",e,_i),e}_showElement(e){const t=this._isAnimated(),i=p.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),t&&f(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,b.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?b.on(this._element,Ei,e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):b.off(this._element,Ei)}_setResizeEvent(){this._isShown?b.on(window,yi,()=>this._adjustDialog()):b.off(window,yi)}_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(Ti),this._resetAdjustments(),this._scrollBar.reset(),b.trigger(this._element,bi)})}_showBackdrop(e){b.on(this._element,wi,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(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!b.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const{classList:e,scrollHeight:t,style:i}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||e.contains(Oi)||(n||(i.overflowY="hidden"),e.add(Oi),this._queueCallback(()=>{e.remove(Oi),n||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=0<t;
1(!i&&e&&!n()||i&&!e&&n())&&(this._element.style.paddingLeft=t+"px"),(i&&!e&&!n()||!i&&e&&n())&&(this._element.style.paddingRight=t+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){const e=Ci.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](i)}})}}b.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=s(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),b.one(t,vi,e=>{e.defaultPrevented||b.one(t,bi,()=>{W(this)&&this.focus()})});e=p.findOne(".modal.show");e&&Ci.getInstance(e).hide(),Ci.getOrCreateInstance(t).toggle(this)}),ce(Ci),e(Ci);const ki="offcanvas",Li={backdrop:!0,keyboard:!0,scroll:!1},xi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Di=".offcanvas.show",Si="hidden.bs.offcanvas";class j extends t{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 ki}static get Default(){return Li}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||b.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new ri).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),b.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){!this._isShown||b.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),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 ri).reset(),b.trigger(this._element,Si)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Li,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i(ki,e,xi),e}_initializeBackDrop(){return new hi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new mi({trapElement:this._element})}_addEventListeners(){b.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(t){return this.each(function(){const e=j.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}b.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=s(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(b.one(t,Si,()=>{W(this)&&this.focus()}),(e=p.findOne(Di))&&e!==t&&j.getInstance(e).hide(),j.getOrCreateInstance(t).toggle(this))}),b.on(window,"load.bs.offcanvas.data-api",()=>p.find(Di).forEach(e=>j.getOrCreateInstance(e).show())),ce(j),e(j);const Ni=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ii=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Pi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function ji(e,i,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 e=0,t=o.length;e<t;e++){const n=o[e],s=n.nodeName.toLowerCase();if(Object.keys(i).includes(s)){const r=[].concat(...n.attributes),a=[].concat(i["*"]||[],i[s]||[]);
1r.forEach(e=>{((e,t)=>{var i=e.nodeName.toLowerCase();if(t.includes(i))return!Ni.has(i)||Boolean(Ii.test(e.nodeValue)||Pi.test(e.nodeValue));const n=t.filter(e=>e instanceof RegExp);for(let e=0,t=n.length;e<t;e++)if(n[e].test(i))return!0;return!1})(e,a)||n.removeAttribute(e.nodeName)})}else n.remove()}return s.body.innerHTML}const Mi="tooltip",Hi=new Set(["sanitize","allowList","sanitizeFn"]),Bi={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)"},Ri={AUTO:"auto",TOP:"top",RIGHT:n()?"left":"right",BOTTOM:"bottom",LEFT:n()?"right":"left"},Wi={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},zi={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"},qi="fade",Fi="show",Ui="show",Vi=".tooltip-inner",$i="hide.bs.modal",Ki="hover";class Xi extends t{constructor(e,t){if(void 0===Rt)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 Wi}static get NAME(){return Mi}static get Event(){return zi}static get DefaultType(){return Bi}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 this.getTipElement().classList.contains(Fi)?this._leave(null,this):this._enter(null,this)}dispose(){clearTimeout(this._timeout),b.off(this._element.closest(".modal"),$i,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){const t=b.trigger(this._element,this.constructor.Event.SHOW),i=z(this._element),n=(null===i?this._element.ownerDocument.documentElement:i).contains(this._element);if(!t.defaultPrevented&&n){"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Vi).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const s=this.getTipElement(),o=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME);s.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this._config.animation&&s.classList.add(qi);var e="function"==typeof this._config.placement?this._config.placement.call(this,s,this._element):this._config.placement,e=this._getAttachment(e);this._addAttachmentClass(e);const r=this._config["container"],a=(le.set(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(s),b.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update(
1):this._popper=Bt(this._element,s,this._getPopperConfig(e)),s.classList.add(Fi),this._resolvePossibleFunction(this._config.customClass));a&&s.classList.add(...a.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{b.on(e,"mouseover",q)});e=this.tip.classList.contains(qi);this._queueCallback(()=>{var e=this._hoverState;this._hoverState=null,b.trigger(this._element,this.constructor.Event.SHOWN),"out"===e&&this._leave(null,this)},this.tip,e)}}}hide(){if(this._popper){const t=this.getTipElement();var e;b.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(t.classList.remove(Fi),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>b.off(e,"mouseover",q)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e=this.tip.classList.contains(qi),this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Ui&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),b.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,e),this._hoverState="")}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div"),t=(e.innerHTML=this._config.template,e.children[0]);return this.setContent(t),t.classList.remove(qi,Fi),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),Vi)}_sanitizeAndSetContent(e,t,i){const n=p.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return r(t)?(t=o(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=ji(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){var 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 t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){e={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{...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 Ri[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{var t;"click"===e?b.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e)):"manual"!==e&&(t=e===Ki?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,e=e===Ki?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,b.on(this._element,t,this._config.selector,e=>this._enter(e)),b.on(this._element,e,this._config.selector,e=>this._leave(e)))}),this._hideModalHandler=()=>{this._element&&this.hide()},b.on(this._element.closest(".modal"),$i,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){var 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(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focu
1s":Ki]=!0),t.getTipElement().classList.contains(Fi)||t._hoverState===Ui?t._hoverState=Ui:(clearTimeout(t._timeout),t._hoverState=Ui,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===Ui&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":Ki]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=h.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{Hi.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:o(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()),i(Mi,e,this.constructor.DefaultType),e.sanitize&&(e.template=ji(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(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&0<i.length&&i.map(e=>e.trim()).forEach(e=>t.classList.remove(e))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){e=e.state;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each(function(){const e=Xi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Xi);const Yi={...Xi.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>'},Qi={...Xi.DefaultType,content:"(string|element|function)"},Gi={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 Zi extends Xi{static get Default(){return Yi}static get NAME(){return"popover"}static get Event(){return Gi}static get DefaultType(){return Qi}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(t){return this.each(function(){const e=Zi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Zi);const Ji="scrollspy",en={offset:10,method:"auto",target:""},tn={offset:"number",method:"string",target:"(string|element)"},nn="active",sn=".nav-link, .list-group-item, .dropdown-item",on="position";class rn extends t{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,b.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return en}static get NAME(){return Ji}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":on,n="auto"===this._config.method?e:this._config.method,s=n===on?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),p.find(sn,this._config.target).map(e=>{const t=B(e),i=t?p.findOne(t):null;if(i){const e=i.getBoundingClientRect();if(e.width||e.height)return[h[n](i).top+s,t]}return null}).filter(e=>e).sort((e,t)=>
1e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){b.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...en,...h.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=o(e.target)||document.documentElement,i(Ji,e,tn),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 t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=sn.split(",").map(e=>e+`[data-bs-target="${t}"],${e}[href="${t}"]`),i=p.findOne(e.join(","),this._config.target);i.classList.add(nn),i.classList.contains("dropdown-item")?p.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(nn):p.parents(i,".nav, .list-group").forEach(e=>{p.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add(nn)),p.prev(e,".nav-item").forEach(e=>{p.children(e,".nav-link").forEach(e=>e.classList.add(nn))})}),b.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){p.find(sn,this._config.target).filter(e=>e.classList.contains(nn)).forEach(e=>e.classList.remove(nn))}static jQueryInterface(t){return this.each(function(){const e=rn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}b.on(window,"load.bs.scrollspy.data-api",()=>{p.find('[data-bs-spy="scroll"]').forEach(e=>new rn(e))}),e(rn);const an="active",ln=".active",cn=":scope > li > .active";class hn extends t{static get NAME(){return"tab"}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains(an)){let e;
1const i=s(this._element),n=this._element.closest(".nav, .list-group");if(n){const i="UL"===n.nodeName||"OL"===n.nodeName?cn:ln;e=(e=p.find(i,n))[e.length-1]}var t=e?b.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;b.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==t&&t.defaultPrevented||(this._activate(this._element,n),t=()=>{b.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),b.trigger(this._element,"shown.bs.tab",{relatedTarget:e})},i?this._activate(i,i.parentNode,t):t())}}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?p.children(t,ln):p.find(cn,t))[0],s=i&&n&&n.classList.contains("fade"),o=()=>this._transitionComplete(e,n,i);n&&s?(n.classList.remove("show"),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,i){if(t){t.classList.remove(an);const e=p.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(an),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(an),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),f(e),e.classList.contains("fade")&&e.classList.add("show");let n=e.parentNode;if((n=n&&"LI"===n.nodeName?n.parentNode:n)&&n.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&p.find(".dropdown-toggle",t).forEach(e=>e.classList.add(an)),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each(function(){const e=hn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}b.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(),a(this)||hn.getOrCreateInstance(this).show()}),e(hn);const dn="show",un="showing",fn={animation:"boolean",autohide:"boolean",delay:"number"},pn={animation:!0,autohide:!0,delay:5e3};class mn extends t{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 fn}static get Default(){return pn}static get NAME(){return"toast"}show(){b.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),f(this._element),this._element.classList.add(dn),this._element.classList.add(un),this._queueCallback(()=>{this._element.classList.remove(un),b.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this._element.classList.contains(dn)||b.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(un),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(un),this._element.classList.remove(dn),b.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this._element.classList.contains(dn)&&this._element.classList.remove(dn),super.dispose()}_getConfig(e){return e={...pn,...h.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},i("toast",e,this.constructor.DefaultType),e}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(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}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){b.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),b.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),b.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),b.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=mn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t](this)}})}}return ce(mn),e(mn),{Alert:he,Button:ue,Carousel:_,Collapse:v,Dropdown:P,Modal:Ci,Offcanvas:j,Popover:Zi,ScrollSpy:rn,Tab:hn,Toast:mn,Tooltip:Xi}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.