File "bootstrap.bundle.min.js"
Full Path: /home/u165092617/domains/tadzz.com/public_html/documentation/assets/js/bootstrap.bundle.min.js
File size: 75.48 KB
MIME-type: text/plain
Charset: utf-8
!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=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},H=e=>{e=M(e);return e&&document.querySelector(e)?e:null},n=e=>{e=M(e);return e?document.querySelector(e):null},B=e=>{e.dispatchEvent(new Event("transitionend"))},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=(s,n,o)=>{Object.keys(o).forEach(e=>{var t=o[e],i=n[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(s.toUpperCase()+`: Option "${e}" provided type "${i}" but expected type "${t}".`)})},R=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")),W=e=>{return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?W(e.parentNode):null:null;var t},z=()=>{},f=e=>{e.offsetHeight},q=()=>{var e=window["jQuery"];return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},F=[],s=()=>"rtl"===document.documentElement.dir,e=s=>{var e=()=>{const e=q();if(e){const t=s.NAME,i=e.fn[t];e.fn[t]=s.jQueryInterface,e.fn[t].Constructor=s,e.fn[t].noConflict=()=>(e.fn[t]=i,s.jQueryInterface)}};"loading"===document.readyState?(F.length||document.addEventListener("DOMContentLoaded",()=>{F.forEach(e=>e())}),F.push(e)):e()},l=e=>{"function"==typeof e&&e()},U=(i,n,e=!0)=>{if(e){e=(()=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);var i=Number.parseFloat(e),s=Number.parseFloat(t);return i||s?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1;const s=({target:e})=>{e===n&&(t=!0,n.removeEventListener("transitionend",s),l(i))};n.addEventListener("transitionend",s),setTimeout(()=>{t||B(n)},e)}else l(i)},V=(e,t,i,s)=>{let n=e.indexOf(t);if(-1===n)return e[!i&&s?e.length-1:0];t=e.length;return n+=i?1:-1,s&&(n=(n+t)%t),e[Math.max(0,Math.min(n,t-1))]},$=/[^.]*(?=\..*)\.|.*/,K=/\..*/,X=/::\d+$/,Y={};let Q=1;const G={mouseenter:"mouseover",mouseleave:"mouseout"},Z=/^(mouseenter|mouseleave)/i,J=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 ee(e,t){return t&&t+"::"+Q++||e.uidEvent||Q++}function te(e){var t=ee(e);return e.uidEvent=t,Y[t]=Y[t]||{},Y[t]}function ie(i,s,n=null){var o=Object.keys(i);for(let e=0,t=o.length;e<t;e++){var r=i[o[e]];if(r.originalHandler===s&&r.delegationSelector===n)return r}return null}function se(e,t,i){var s="string"==typeof t,i=s?i:t;let n=re(e);return[s,i,n=J.has(n)?n:e]}function ne(e,t,i,s,n){if("string"==typeof t&&e){if(i||(i=s,s=null),Z.test(t)){const e=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s?s=e(s):i=e(i)}const[h,d,u]=se(t,i,s),f=te(e),p=f[u]||(f[u]={}),m=ie(p,d,h?i:null);if(m)return m.oneOff=m.oneOff&&n;const g=ee(d,t.replace($,"")),_=h?(a=e,l=i,c=s,function i(s){var n=a.querySelectorAll(l);for(let t=s["target"];t&&t!==this;t=t.parentNode)for(let e=n.length;e--;)if(n[e]===t)return s.delegateTarget=t,i.oneOff&&b.off(a,s.type,l,c),c.apply(t,[s]);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=n,_.uidEvent=g,p[g]=_,e.addEventListener(u,_,h)}}function oe(e,t,i,s,n){s=ie(t[i],s,n);s&&(e.removeEventListener(i,s,Boolean(n)),delete t[i][s.uidEvent])}function re(e){return e=e.replace(K,""),G[e]||e}const b={on(e,t,i,s){ne(e,t,i,s,!1)},one(e,t,i,s){ne(e,t,i,s,!0)},off(r,a,e,t){if("string"==typeof a&&r){const[i,s,n]=se(a,e,t),o=n!==a,l=te(r),c=a.startsWith(".");if(void 0!==s)return l&&l[n]?void oe(r,l,n,s,i?e:null):void 0;c&&Object.keys(l).forEach(e=>{{var t=r,i=l,s=e,n=a.slice(1);const o=i[s]||{};return void Object.keys(o).forEach(e=>{if(e.includes(n)){const n=o[e];oe(t,i,s,n.originalHandler,n.delegationSelector)}})}});const h=l[n]||{};Object.keys(h).forEach(e=>{var t=e.replace(X,"");if(!o||a.includes(t)){const a=h[e];oe(r,l,n,a.originalHandler,a.delegationSelector)}})}},trigger(e,t,i){if("string"!=typeof t||!e)return null;const s=q(),n=re(t),o=t!==n,r=J.has(n);let a,l=!0,c=!0,h=!1,d=null;return o&&s&&(a=s.Event(t,i),s(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents")).initEvent(n,l,!0):d=new CustomEvent(t,{bubbles:l,cancelable:!0}),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;var ae=function(e,t,i){c.has(e)||c.set(e,new Map);const s=c.get(e);s.has(t)||0===s.size?s.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},le=(e,t)=>c.has(e)&&c.get(e).get(t)||null,ce=function(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,ae(this._element,this.constructor.DATA_KEY,this))}dispose(){ce(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){U(e,t,i)}static getInstance(e){return le(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.1"}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 he=(t,i="hide")=>{const e="click.dismiss"+t.EVENT_KEY,s=t.NAME;b.on(document,e,`[data-bs-dismiss="${s}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(e=n(this)||this.closest("."+s),t.getOrCreateInstance(e)[i]())})};class de 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=de.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)}})}}he(de,"close"),e(de);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",'[data-bs-toggle="button"]',e=>{e.preventDefault();e=e.target.closest('[data-bs-toggle="button"]');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 s={};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),s[t]=fe(i.dataset[e])}),s},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 s=e.parentNode;for(;s&&s.nodeType===Node.ELEMENT_NODE&&3!==s.nodeType;)s.matches(t)&&i.push(s),s=s.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)&&R(e))}},me={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},ge={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},m="next",d="prev",u="left",_e="right",be={ArrowLeft:_e,ArrowRight:u};class g 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 me}static get NAME(){return"carousel"}next(){this._slide(m)}nextWhenVisible(){!document.hidden&&R(this._element)&&this.next()}prev(){this._slide(d)}pause(e){e||(this._isPaused=!0),p.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(B(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(".active.carousel-item",this._element);var t=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)b.one(this._element,"slid.bs.carousel",()=>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={...me,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i("carousel",e,ge),e}_handleSwipe(){var e=Math.abs(this.touchDeltaX);e<=40||(e=e/this.touchDeltaX,this.touchDeltaX=0,e&&this._slide(0<e?_e:u))}_addEventListeners(){this._config.keyboard&&b.on(this._element,"keydown.bs.carousel",e=>this._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)},s=e=>{this.touchDeltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this.touchStartX},n=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(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=>n(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=>s(e)),b.on(this._element,"touchend.bs.carousel",e=>n(e)))}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=be[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 V(this._items,t,e,this._config.wrap)}_triggerSlideEvent(e,t){var i=this._getItemIndex(e),s=this._getItemIndex(p.findOne(".active.carousel-item",this._element));return b.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:s,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=p.findOne(".active",this._indicatorsElement),i=(e.classList.remove("active"),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("active"),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||p.findOne(".active.carousel-item",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),s=p.findOne(".active.carousel-item",this._element),n=this._getItemIndex(s),o=t||this._getItemByOrder(i,s),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("active"))this._isSliding=!1;else if(!this._isSliding&&!this._triggerSlideEvent(o,d).defaultPrevented&&s&&o){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const u=()=>{b.trigger(this._element,"slid.bs.carousel",{relatedTarget:o,direction:d,from:n,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),f(o),s.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,h),o.classList.add("active"),s.classList.remove("active",h,c),this._isSliding=!1,setTimeout(u,0)};this._queueCallback(e,s,!0)}else s.classList.remove("active"),o.classList.add("active"),this._isSliding=!1,u();a&&this.cycle()}}_directionToOrder(e){return[_e,u].includes(e)?s()?e===u?d:m:e===u?m:d:e}_orderToDirection(e){return[m,d].includes(e)?s()?e===d?u:_e:e===d?_e:u:e}static carouselInterface(e,t){const i=g.getOrCreateInstance(e,t);let s=i["_config"];"object"==typeof t&&(s={...s,...t});e="string"==typeof t?t:s.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 s.interval&&s.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each(function(){g.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=n(this);if(t&&t.classList.contains("carousel")){const i={...h.getDataAttributes(t),...h.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(i.interval=!1),g.carouselInterface(t,i),s&&g.getInstance(t).to(s),e.preventDefault()}}}b.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",g.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++)g.carouselInterface(i[e],g.getInstance(i[e]))}),e(g);const ve={toggle:!0,parent:null},ye={toggle:"boolean",parent:"(null|element)"};class _ extends t{constructor(e,i){super(e),this._isTransitioning=!1,this._config=this._getConfig(i),this._triggerArray=[];var s=p.find('[data-bs-toggle="collapse"]');for(let e=0,t=s.length;e<t;e++){const i=s[e],n=H(i),o=p.find(n).filter(e=>e===this._element);null!==n&&o.length&&(this._selector=n,this._triggerArray.push(i))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ve}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t,e=[];if(this._config.parent){const t=p.find(".collapse .collapse",this._config.parent);e=p.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(e=>!t.includes(e))}const s=p.findOne(this._selector);if(e.length){const n=e.find(e=>s!==e);if((t=n?_.getInstance(n):null)&&t._isTransitioning)return}if(!b.trigger(this._element,"show.bs.collapse").defaultPrevented){e.forEach(e=>{s!==e&&_.getOrCreateInstance(e,{toggle:!1}).hide(),t||ae(e,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var i="scroll"+(n[0].toUpperCase()+n.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[n]="",b.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=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("collapsing"),this._element.classList.remove("collapse","show");const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],i=n(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("collapsing"),this._element.classList.add("collapse"),b.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains("show")}_getConfig(e){return(e={...ve,...h.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=o(e.parent),i("collapse",e,ye),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const t=p.find(".collapse .collapse",this._config.parent);p.find('[data-bs-toggle="collapse"]',this._config.parent).filter(e=>!t.includes(e)).forEach(e=>{var t=n(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove("collapsed"):e.classList.add("collapsed"),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),_.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",'[data-bs-toggle="collapse"]',function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();e=H(this);p.find(e).forEach(e=>{_.getOrCreateInstance(e,{toggle:!1}).toggle()})}),e(_);var k="top",L="bottom",x="right",D="left",S=[k,L,x,D],v="end",we=S.reduce(function(e,t){return e.concat([t+"-start",t+"-"+v])},[]),Ee=[].concat(S,["auto"]).reduce(function(e,t){return e.concat([t,t+"-start",t+"-"+v])},[]),Ae=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function y(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e;var t}function Te(e){return e instanceof w(e).Element||e instanceof Element}function E(e){return e instanceof w(e).HTMLElement||e instanceof HTMLElement}function Oe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof w(e).ShadowRoot||e instanceof ShadowRoot)}var Ce={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var n=e.state;Object.keys(n.elements).forEach(function(e){var t=n.styles[e]||{},i=n.attributes[e]||{},s=n.elements[e];E(s)&&y(s)&&(Object.assign(s.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var s=e.state,n={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(s.elements.popper.style,n.popper),s.styles=n,s.elements.arrow&&Object.assign(s.elements.arrow.style,n.arrow),function(){Object.keys(s.elements).forEach(function(e){var t=s.elements[e],i=s.attributes[e]||{},e=Object.keys((s.styles.hasOwnProperty(e)?s.styles:n)[e]).reduce(function(e,t){return e[t]="",e},{});E(t)&&y(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function N(e){return e.split("-")[0]}var A=Math.round;function T(e,t){void 0===t&&(t=!1);var i=e.getBoundingClientRect(),s=1,n=1;return E(e)&&t&&(t=e.offsetHeight,0<(e=e.offsetWidth)&&(s=i.width/e||1),0<t&&(n=i.height/t||1)),{width:A(i.width/s),height:A(i.height/n),top:A(i.top/n),right:A(i.right/s),bottom:A(i.bottom/n),left:A(i.left/s),x:A(i.left/s),y:A(i.top/n)}}function ke(e){var t=T(e),i=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:s}}function Le(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Oe(i)){var s=t;do{if(s&&e.isSameNode(s))return!0}while(s=s.parentNode||s.host)}return!1}function O(e){return w(e).getComputedStyle(e)}function C(e){return((Te(e)?e.ownerDocument:e.document)||window.document).documentElement}function xe(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(Oe(e)?e.host:null)||C(e)}function De(e){return E(e)&&"fixed"!==O(e).position?e.offsetParent:null}function Se(e){for(var t,i=w(e),s=De(e);s&&(t=s,0<=["table","td","th"].indexOf(y(t)))&&"static"===O(s).position;)s=De(s);return(!s||"html"!==y(s)&&("body"!==y(s)||"static"!==O(s).position))&&(s||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&E(e)&&"fixed"===O(e).position)return null;for(var i=xe(e);E(i)&&["html","body"].indexOf(y(i))<0;){var s=O(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}return null}(e))||i}function Ne(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}var I=Math.max,Ie=Math.min,Pe=Math.round;function je(e,t,i){return I(e,Ie(t,i))}function Me(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function He(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}var Be={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,s,n,o=e.state,r=e.name,e=e.options,a=o.elements.arrow,l=o.modifiersData.popperOffsets,c=N(o.placement),h=Ne(c),c=0<=[D,x].indexOf(c)?"height":"width";a&&l&&(e=Me("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},o.rects,{placement:o.placement})):e)?e:He(e,S)),t=ke(a),n="y"===h?k:D,s="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=Se(a))?"y"===h?a.clientHeight||0:a.clientWidth||0:0,n=e[n],e=a-t[c]-e[s],n=je(n,s=a/2-t[c]/2+(i/2-l/2),e),o.modifiersData[r]=((a={})[h]=n,a.centerOffset=n-s,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)))&&Le(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(e){return e.split("-")[1]}var We={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ze(e){var t,i,s=e.popper,n=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:Pe(Pe(d*f)/f)||0,y:Pe(Pe(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=Se(s))===w(s)&&"static"!==O(t=C(s)).position&&"absolute"===l&&(b="scrollHeight",i="scrollWidth"),o!==k&&(o!==D&&o!==x||r!==v)||(g=L,e=(e-(t[b]-n.height))*(c?1:-1)),o!==D&&(o!==k&&o!==L||r!==v)||(m=x,f=(f-(t[i]-n.width))*(c?1:-1)));var b,s=Object.assign({position:l},h&&We);return c?Object.assign({},s,((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({},s,((o={})[g]=a?e+"px":"",o[m]=p?f+"px":"",o.transform="",o))}var qe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,i=e.gpuAcceleration,i=void 0===i||i,s=e.adaptive,s=void 0===s||s,e=e.roundOffsets,e=void 0===e||e,i={placement:N(t.placement),variation:Re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(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:{}},Fe={passive:!0},Ue={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,e=e.options,s=e.scroll,n=void 0===s||s,s=e.resize,o=void 0===s||s,r=w(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return n&&a.forEach(function(e){e.addEventListener("scroll",i.update,Fe)}),o&&r.addEventListener("resize",i.update,Fe),function(){n&&a.forEach(function(e){e.removeEventListener("scroll",i.update,Fe)}),o&&r.removeEventListener("resize",i.update,Fe)}},data:{}},Ve={left:"right",right:"left",bottom:"top",top:"bottom"};function $e(e){return e.replace(/left|right|bottom|top/g,function(e){return Ve[e]})}var Ke={start:"end",end:"start"};function Xe(e){return e.replace(/start|end/g,function(e){return Ke[e]})}function Ye(e){e=w(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Qe(e){return T(C(e)).left+Ye(e).scrollLeft}function Ge(e){var e=O(e),t=e.overflow,i=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+i)}function Ze(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(y(t))?t.ownerDocument.body:E(t)&&Ge(t)?t:e(xe(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),s=w(i),s=e?[s].concat(s.visualViewport||[],Ge(i)?i:[]):i,i=t.concat(s);return e?i:i.concat(Ze(xe(s)))}function Je(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"viewport"===t?Je((s=w(i=e),n=C(i),s=s.visualViewport,o=n.clientWidth,n=n.clientHeight,a=r=0,s&&(o=s.width,n=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=s.offsetLeft,a=s.offsetTop)),{width:o,height:n,x:r+Qe(i),y:a})):E(t)?((o=T(s=t)).top=o.top+s.clientTop,o.left=o.left+s.clientLeft,o.bottom=o.top+s.clientHeight,o.right=o.left+s.clientWidth,o.width=s.clientWidth,o.height=s.clientHeight,o.x=o.left,o.y=o.top,o):Je((n=C(e),r=C(n),i=Ye(n),a=null==(a=n.ownerDocument)?void 0:a.body,t=I(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),e=I(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),n=-i.scrollLeft+Qe(n),i=-i.scrollTop,"rtl"===O(a||r).direction&&(n+=I(r.clientWidth,a?a.clientWidth:0)-t),{width:t,height:e,x:n,y:i}));var i,s,n,o,r,a}function tt(e){var t,i=e.reference,s=e.element,e=e.placement,n=e?N(e):null,e=e?Re(e):null,o=i.x+i.width/2-s.width/2,r=i.y+i.height/2-s.height/2;switch(n){case k:t={x:o,y:i.y-s.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-s.width,y:r};break;default:t={x:i.x,y:i.y}}var a=n?Ne(n):null;if(null!=a){var l="y"===a?"height":"width";switch(e){case"start":t[a]=t[a]-(i[l]/2-s[l]/2);break;case v:t[a]=t[a]+(i[l]/2-s[l]/2)}}return t}function it(e,t){var i,s,n,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?"clippingParents":l,c=t.rootBoundary,c=void 0===c?"viewport":c,h=t.elementContext,h=void 0===h?"popper":h,d=t.altBoundary,d=void 0!==d&&d,t=t.padding,t=void 0===t?0:t,t=Me("number"!=typeof t?t:He(t,S)),u=e.rects.popper,d=e.elements[d?"popper"===h?"reference":"popper":h],l=(i=Te(d)?d:d.contextElement||C(e.elements.popper),d=c,n="clippingParents"===(c=l)?(o=Ze(xe(n=i)),Te(s=0<=["absolute","fixed"].indexOf(O(n).position)&&E(n)?Se(n):n)?o.filter(function(e){return Te(e)&&Le(e,s)&&"body"!==y(e)}):[]):[].concat(c),o=[].concat(n,[d]),c=o[0],(d=o.reduce(function(e,t){t=et(i,t);return e.top=I(t.top,e.top),e.right=Ie(t.right,e.right),e.bottom=Ie(t.bottom,e.bottom),e.left=I(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=T(e.elements.reference),d=tt({reference:c,element:u,strategy:"absolute",placement:a}),u=Je(Object.assign({},u,d)),d="popper"===h?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"popper"===h&&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 st={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,s=void 0===i||i,i=t.altAxis,n=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=N(r),i=i||(t!==r&&m?function(e){if("auto"===N(e))return[];var t=$e(e);return[Xe(e),t,Xe(t)]}(r):[$e(r)]),a=[r].concat(i).reduce(function(e,t){return e.concat("auto"===N(t)?(i=d,s=(e=e=void 0===(e={placement:t,boundary:f,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:g})?{}:e).placement,n=e.boundary,o=e.rootBoundary,r=e.padding,a=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?Ee:e,c=Re(s),e=c?a?we:we.filter(function(e){return Re(e)===c}):S,h=(s=0===(s=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:s).reduce(function(e,t){return e[t]=it(i,{placement:t,boundary:n,rootBoundary:o,padding:r})[N(t)],e},{}),Object.keys(h).sort(function(e,t){return h[e]-h[t]})):t);var i,s,n,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=N(y),E="start"===Re(y),A=0<=[k,L].indexOf(w),T=A?"width":"height",O=it(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=$e(A)),$e(A)),T=[];if(s&&T.push(O[w]<=0),n&&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 nt(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 ot(t){return[k,x,L,D].some(function(e){return 0<=t[e]})}var rt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,i=t.rects.reference,s=t.rects.popper,n=t.modifiersData.preventOverflow,o=it(t,{elementContext:"reference"}),r=it(t,{altBoundary:!0}),o=nt(o,i),i=nt(r,s,n),r=ot(o),s=ot(i);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:i,isReferenceHidden:r,hasPopperEscaped:s},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":r,"data-popper-escaped":s})}},at={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=Ee.reduce(function(e,t){return e[t]=(t=t,i=r.rects,s=a,n=N(t),o=0<=[D,k].indexOf(n)?-1:1,i="function"==typeof s?s(Object.assign({},i,{placement:t})):s,t=i[0]||0,s=(i[1]||0)*o,0<=[D,x].indexOf(n)?{x:s,y:t}:{x:t,y:s}),e;var i,s,n,o},{}),i=t[r.placement],s=i.x,i=i.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=s,r.modifiersData.popperOffsets.y+=i),r.modifiersData[e]=t}},lt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=tt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ct={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,s,n,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=it(h,{boundary:p,rootBoundary:m,padding:_,altBoundary:g}),m=N(h.placement),_=Re(h.placement),g=!_,m=Ne(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],s=y[m]-p[a="y"===m?L:x],r=b?-E[o]/2:0,n=("start"===_?w:E)[o],_="start"===_?-E[o]:-w[o],E=h.elements.arrow,E=b&&E?ke(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=je(0,w[o],E[o]),E=g?w[o]/2-r-a-c-d:n-a-c-d,n=g?-w[o]/2+r+a+l+d:_+a+l+d,g=(c=h.elements.arrow&&Se(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]+n-w,u&&(_=je(b?Ie(i,o):i,t,b?I(s,r):s),y[m]=_,A[m]=_-t),f&&(l=(a=y[v])+p["x"===m?k:D],d=a-p["x"===m?L:x],c=je(b?Ie(l,o):l,a,b?I(d,r):d),y[v]=c,A[v]=c-a)),h.modifiersData[e]=A)},requiresIfExists:["offset"]};var ht={placement:"bottom",modifiers:[],strategy:"absolute"};function dt(){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 ut(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,h=void 0===t?[]:t,t=e.defaultOptions,d=void 0===t?ht:t;return function(r,a,t){void 0===t&&(t=d);var i,s,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},ht,d),modifiersData:{},elements:{reference:r,popper:a},attributes:{},styles:{}},l=[],p=!1,m={state:f,setOptions:function(e){e="function"==typeof e?e(f.options):e;c(),f.options=Object.assign({},d,f.options,e),f.scrollParents={reference:Te(r)?Ze(r):r.contextElement?Ze(r.contextElement):[],popper:Ze(a)};e=[].concat(h,f.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},{}),e=e=Object.keys(t).map(function(e){return t[e]}),i=new Map,s=new Set,n=[],e.forEach(function(e){i.set(e.name,e)}),e.forEach(function(e){s.has(e.name)||function t(e){s.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){s.has(e)||(e=i.get(e))&&t(e)}),n.push(e)}(e)}),o=n;var t,i,s,n,o,e=Ae.reduce(function(e,t){return e.concat(o.filter(function(e){return e.phase===t}))},[]);return f.orderedModifiers=e.filter(function(e){return e.enabled}),f.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,e=e.effect;"function"==typeof e&&(e=e({state:f,name:t,instance:m,options:void 0===i?{}:i}),l.push(e||function(){}))}),m.update()},forceUpdate:function(){if(!p){var e=f.elements,t=e.reference,e=e.popper;if(dt(t,e)){f.rects={reference:(t=t,r=Se(e),void 0===(a="fixed"===f.options.strategy)&&(a=!1),l=E(r),c=E(r)&&(d=(c=r).getBoundingClientRect(),h=d.width/c.offsetWidth||1,d=d.height/c.offsetHeight||1,1!==h||1!==d),h=C(r),d=T(t,c),t={scrollLeft:0,scrollTop:0},u={x:0,y:0},!l&&a||("body"===y(r)&&!Ge(h)||(t=(l=r)!==w(l)&&E(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:Ye(l)),E(r)?((u=T(r,!0)).x+=r.clientLeft,u.y+=r.clientTop):h&&(u.x=Qe(h))),{x:d.left+t.scrollLeft-u.x,y:d.top+t.scrollTop-u.y,width:d.width,height:d.height}),popper:ke(e)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(e){return f.modifiersData[e.name]=Object.assign({},e.data)});for(var i,s,n,o=0;o<f.orderedModifiers.length;o++)!0!==f.reset?(i=(n=f.orderedModifiers[o]).fn,s=n.options,n=n.name,"function"==typeof i&&(f=i({state:f,options:void 0===s?{}:s,name:n,instance:m})||f)):(f.reset=!1,o=-1)}}var r,a,l,c,h,d,u},update:(i=function(){return new Promise(function(e){m.forceUpdate(),e(f)})},function(){return s=s||new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})}),destroy:function(){c(),p=!0}};return dt(r,a)&&m.setOptions(t).then(function(e){!p&&t.onFirstUpdate&&t.onFirstUpdate(e)}),m;function c(){l.forEach(function(e){return e()}),l=[]}}}var ft=ut(),pt=ut({defaultModifiers:[Ue,lt,qe,Ce]}),mt=ut({defaultModifiers:[Ue,lt,qe,Ce,at,st,ct,Be,rt]}),gt=Object.freeze({__proto__:null,popperGenerator:ut,detectOverflow:it,createPopperBase:ft,createPopper:mt,createPopperLite:pt,top:k,bottom:L,right:x,left:D,auto:"auto",basePlacements:S,start:"start",end:v,clippingParents:"clippingParents",viewport:"viewport",popper:"popper",reference:"reference",variationPlacements:we,placements:Ee,beforeRead:"beforeRead",read:"read",afterRead:"afterRead",beforeMain:"beforeMain",main:"main",afterMain:"afterMain",beforeWrite:"beforeWrite",write:"write",afterWrite:"afterWrite",modifierPhases:Ae,applyStyles:Ce,arrow:Be,computeStyles:qe,eventListeners:Ue,flip:st,hide:rt,offset:at,popperOffsets:lt,preventOverflow:ct});const _t=new RegExp("ArrowUp|ArrowDown|Escape"),bt=s()?"top-end":"top-start",vt=s()?"top-start":"top-end",yt=s()?"bottom-end":"bottom-start",wt=s()?"bottom-start":"bottom-end",Et=s()?"left-start":"right-start",At=s()?"right-start":"left-start",Tt={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Ot={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 Tt}static get DefaultType(){return Ot}static get NAME(){return"dropdown"}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(".navbar-nav")&&[].concat(...document.body.children).forEach(e=>b.on(e,"mouseover",z)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),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",z)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),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("dropdown",e,this.constructor.DefaultType),"object"!=typeof e.reference||r(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(e){if(void 0===gt)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(),s=i.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=mt(t,this._menu,i),s&&h.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains("show")}_getMenuElement(){return p.next(this._element,".dropdown-menu")[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return Et;if(e.classList.contains("dropstart"))return At;var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?vt:bt:t?wt:yt}_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(R);i.length&&V(i,t,"ArrowDown"===e,!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 s=p.find('[data-bs-toggle="dropdown"]');for(let e=0,t=s.length;e<t;e++){const n=P.getInstance(s[e]);if(n&&!1!==n._config.autoClose&&n._isShown()){const o={relatedTarget:n._element};if(i){const s=i.composedPath(),r=s.includes(n._menu);if(s.includes(n._element)||"inside"===n._config.autoClose&&!r||"outside"===n._config.autoClose&&r)continue;if(n._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)}n._completeHide(o)}}}}static getParentFromElement(e){return n(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?!("Space"===e.key||"Escape"!==e.key&&("ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.target.closest(".dropdown-menu"))):_t.test(e.key)){var t=this.classList.contains("show");if((t||"Escape"!==e.key)&&(e.preventDefault(),e.stopPropagation(),!a(this))){const i=this.matches('[data-bs-toggle="dropdown"]')?this:p.prev(this,'[data-bs-toggle="dropdown"]')[0],s=P.getOrCreateInstance(i);if("Escape"!==e.key)return"ArrowUp"===e.key||"ArrowDown"===e.key?(t||s.show(),void s._selectMenuItem(e)):void(t&&"Space"!==e.key||P.clearMenus());s.hide()}}}}b.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',P.dataApiKeydownHandler),b.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",P.dataApiKeydownHandler),b.on(document,"click.bs.dropdown.data-api",P.clearMenus),b.on(document,"keyup.bs.dropdown.data-api",P.clearMenus),b.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',function(e){e.preventDefault(),P.getOrCreateInstance(this).toggle()}),e(P);class Ct{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(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",e=>e+t),this._setElementAttributes(".sticky-top","marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,s){const n=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+n||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e)[i],e.style[i]=s(Number.parseFloat(t))+"px")})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","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 kt={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Lt={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class xt{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)})):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={...kt,..."object"==typeof e?e:{}}).rootElement=o(e.rootElement),i("backdrop",e,Lt),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),b.on(this._getElement(),"mousedown.bs.backdrop",()=>{l(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(b.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){U(e,this._getElement(),this._config.isAnimated)}}const Dt={trapElement:null,autofocus:!0},St={trapElement:"element",autofocus:"boolean"};class Nt{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,".bs.focustrap"),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,".bs.focustrap"))}_handleFocusin(e){const t=e["target"],i=this._config["trapElement"];if(t!==document&&t!==i&&!i.contains(t)){const s=p.focusableChildren(i);(0===s.length?i:"backward"===this._lastTabNavDirection?s[s.length-1]:s[0]).focus()}}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?"backward":"forward")}_getConfig(e){return e={...Dt,..."object"==typeof e?e:{}},i("focustrap",e,St),e}}const It={backdrop:!0,keyboard:!0,focus:!0},Pt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class jt 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 Ct}static get Default(){return It}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,"show.bs.modal",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),b.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{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,"click.dismiss.bs.modal"),b.off(this._dialog,"mousedown.dismiss.bs.modal"),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 xt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Nt({trapElement:this._element})}_getConfig(e){return e={...It,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i("modal",e,Pt),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,"keydown.dismiss.bs.modal",e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):b.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?b.on(window,"resize.bs.modal",()=>this._adjustDialog()):b.off(window,"resize.bs.modal")}_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("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),b.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(e){b.on(this._element,"click.dismiss.bs.modal",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,s=t>document.documentElement.clientHeight;!s&&"hidden"===i.overflowY||e.contains("modal-static")||(s||(i.overflowY="hidden"),e.add("modal-static"),this._queueCallback(()=>{e.remove("modal-static"),s||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;(!i&&e&&!s()||i&&!e&&s())&&(this._element.style.paddingLeft=t+"px"),(i&&!e&&!s()||!i&&e&&s())&&(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=jt.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=n(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),b.one(t,"show.bs.modal",e=>{e.defaultPrevented||b.one(t,"hidden.bs.modal",()=>{R(this)&&this.focus()})});e=p.findOne(".modal.show");e&&jt.getInstance(e).hide(),jt.getOrCreateInstance(t).toggle(this)}),he(jt),e(jt);const Mt={backdrop:!0,keyboard:!0,scroll:!1},Ht={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};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"offcanvas"}static get Default(){return Mt}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 Ct).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 Ct).reset(),b.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Mt,...h.getDataAttributes(this._element),..."object"==typeof e?e:{}},i("offcanvas",e,Ht),e}_initializeBackDrop(){return new xt({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Nt({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=n(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(b.one(t,"hidden.bs.offcanvas",()=>{R(this)&&this.focus()}),(e=p.findOne(".offcanvas.show"))&&e!==t&&j.getInstance(e).hide(),j.getOrCreateInstance(t).toggle(this))}),b.on(window,"load.bs.offcanvas.data-api",()=>p.find(".offcanvas.show").forEach(e=>j.getOrCreateInstance(e).show())),he(j),e(j);const Bt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Rt=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Wt=/^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 zt(e,i,s){if(!e.length)return e;if(s&&"function"==typeof s)return s(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(i),r=[].concat(...n.body.querySelectorAll("*"));for(let e=0,t=r.length;e<t;e++){const s=r[e],n=s.nodeName.toLowerCase();if(o.includes(n)){const a=[].concat(...s.attributes),l=[].concat(i["*"]||[],i[n]||[]);a.forEach(e=>{((e,t)=>{var i=e.nodeName.toLowerCase();if(t.includes(i))return!Bt.has(i)||Boolean(Rt.test(e.nodeValue)||Wt.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(i))return!0;return!1})(e,l)||s.removeAttribute(e.nodeName)})}else s.remove()}return n.body.innerHTML}const qt=new Set(["sanitize","allowList","sanitizeFn"]),Ft={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)"},Ut={AUTO:"auto",TOP:"top",RIGHT:s()?"left":"right",BOTTOM:"bottom",LEFT:s()?"right":"left"},Vt={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},$t={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"};class Kt extends t{constructor(e,t){if(void 0===gt)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 Vt}static get NAME(){return"tooltip"}static get Event(){return $t}static get DefaultType(){return Ft}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("show")?this._leave(null,this):this._enter(null,this)}dispose(){clearTimeout(this._timeout),b.off(this._element.closest(".modal"),"hide.bs.modal",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=W(this._element),s=(null===i?this._element.ownerDocument.documentElement:i).contains(this._element);if(!t.defaultPrevented&&s){"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(".tooltip-inner").innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),o=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME);n.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this._config.animation&&n.classList.add("fade");var e="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,e=this._getAttachment(e);this._addAttachmentClass(e);const r=this._config["container"],a=(ae(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),b.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=mt(this._element,n,this._getPopperConfig(e)),n.classList.add("show"),this._resolvePossibleFunction(this._config.customClass));a&&n.classList.add(...a.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{b.on(e,"mouseover",z)});e=this.tip.classList.contains("fade");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("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>b.off(e,"mouseover",z)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e=this.tip.classList.contains("fade"),this._queueCallback(()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&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("fade","show"),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".tooltip-inner")}_sanitizeAndSetContent(e,t,i){const s=p.findOne(i,e);t||!s?this.setElementContent(s,t):s.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=zt(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 Ut[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="hover"===e?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,e="hover"===e?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"),"hide.bs.modal",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?"focus":"hover"]=!0),t.getTipElement().classList.contains("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{"show"===t._hoverState&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=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=>{qt.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("tooltip",e,this.constructor.DefaultType),e.sanitize&&(e.template=zt(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=Kt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Kt);const Xt={...Kt.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>'},Yt={...Kt.DefaultType,content:"(string|element|function)"},Qt={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 Gt extends Kt{static get Default(){return Xt}static get NAME(){return"popover"}static get Event(){return Qt}static get DefaultType(){return Yt}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=Gt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Gt);const Zt={offset:10,method:"auto",target:""},Jt={offset:"number",method:"string",target:"(string|element)"},ei=".nav-link, .list-group-item, .dropdown-item";class ti 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 Zt}static get NAME(){return"scrollspy"}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":"position",s="auto"===this._config.method?e:this._config.method,n="position"===s?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),p.find(ei,this._config.target).map(e=>{const t=H(e),i=t?p.findOne(t):null;if(i){const e=i.getBoundingClientRect();if(e.width||e.height)return[h[s](i).top+n,t]}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(){b.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...Zt,...h.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=o(e.target)||document.documentElement,i("scrollspy",e,Jt),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=ei.split(",").map(e=>e+`[data-bs-target="${t}"],${e}[href="${t}"]`),i=p.findOne(e.join(","),this._config.target);i.classList.add("active"),i.classList.contains("dropdown-item")?p.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add("active"):p.parents(i,".nav, .list-group").forEach(e=>{p.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add("active")),p.prev(e,".nav-item").forEach(e=>{p.children(e,".nav-link").forEach(e=>e.classList.add("active"))})}),b.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){p.find(ei,this._config.target).filter(e=>e.classList.contains("active")).forEach(e=>e.classList.remove("active"))}static jQueryInterface(t){return this.each(function(){const e=ti.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 ti(e))}),e(ti);class ii extends t{static get NAME(){return"tab"}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains("active")){let e;const i=n(this._element),s=this._element.closest(".nav, .list-group");if(s){const i="UL"===s.nodeName||"OL"===s.nodeName?":scope > li > .active":".active";e=(e=p.find(i,s))[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,s),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 s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?p.children(t,".active"):p.find(":scope > li > .active",t))[0],n=i&&s&&s.classList.contains("fade"),o=()=>this._transitionComplete(e,s,i);s&&n?(s.classList.remove("show"),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,i){if(t){t.classList.remove("active");const e=p.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),f(e),e.classList.contains("fade")&&e.classList.add("show");let s=e.parentNode;if((s=s&&"LI"===s.nodeName?s.parentNode:s)&&s.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&p.find(".dropdown-toggle",t).forEach(e=>e.classList.add("active")),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each(function(){const e=ii.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)||ii.getOrCreateInstance(this).show()}),e(ii);const si={animation:"boolean",autohide:"boolean",delay:"number"},ni={animation:!0,autohide:!0,delay:5e3};class oi 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 si}static get Default(){return ni}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("show"),this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.remove("showing"),b.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this._element.classList.contains("show")||b.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove("showing"),this._element.classList.remove("show"),b.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),super.dispose()}_getConfig(e){return e={...ni,...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=oi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return he(oi),e(oi),{Alert:de,Button:ue,Carousel:g,Collapse:_,Dropdown:P,Modal:jt,Offcanvas:j,Popover:Gt,ScrollSpy:ti,Tab:ii,Toast:oi,Tooltip:Kt}});