((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()})(this,function(){let i=new Map,I={set(t,e,n){i.has(t)||i.set(t,new Map);t=i.get(t);!t.has(e)&&0!==t.size||t.set(e,n)},get(t,e){return i.has(t)&&i.get(t).get(e)||null},remove(t,e){var n;i.has(t)&&((n=i.get(t)).delete(e),0===n.size)&&i.delete(t)}},H=1e3,z="transitionend",F=t=>t=t&&window.CSS&&window.CSS.escape?t.replace(/#([^\s"#']+)/g,(t,e)=>"#"+CSS.escape(e)):t,R=t=>{t.dispatchEvent(new Event(z))},r=t=>!(!t||"object"!=typeof t)&&void 0!==(t=void 0!==t.jquery?t[0]:t).nodeType,s=t=>r(t)?t.jquery?t[0]:t:"string"==typeof t&&0{if(!r(t)||0===t.getClientRects().length)return!1;var e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(n&&n!==t){t=t.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return e},a=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),B=t=>{var e;return document.documentElement.attachShadow?"function"==typeof t.getRootNode?(e=t.getRootNode())instanceof ShadowRoot?e:null:t instanceof ShadowRoot?t:t.parentNode?B(t.parentNode):null:null},W=()=>{},q=t=>{t.offsetHeight},V=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$=[],l=()=>"rtl"===document.documentElement.dir;var t=i=>{var t;t=()=>{let n=V();if(n){let t=i.NAME,e=n.fn[t];n.fn[t]=i.jQueryInterface,n.fn[t].Constructor=i,n.fn[t].noConflict=()=>(n.fn[t]=e,i.jQueryInterface)}},"loading"===document.readyState?($.length||document.addEventListener("DOMContentLoaded",()=>{for(var t of $)t()}),$.push(t)):t()};let c=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,Y=(i,s,t=!0)=>{if(t){t=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);var t=Number.parseFloat(e),i=Number.parseFloat(n);return t||i?(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*H):0})(s)+5;let e=!1,n=({target:t})=>{t===s&&(e=!0,s.removeEventListener(z,n),c(i))};s.addEventListener(z,n),setTimeout(()=>{e||R(s)},t)}else c(i)},U=(t,e,n,i)=>{var s=t.length;let r=t.indexOf(e);return-1===r?!n&&i?t[s-1]:t[0]:(r+=n?1:-1,i&&(r=(r+s)%s),t[Math.max(0,Math.min(r,s-1))])},X=/[^.]*(?=\..*)\.|.*/,K=/\..*/,Q=/::\d+$/,G={},J=1,Z={mouseenter:"mouseover",mouseleave:"mouseout"},tt=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 et(t,e){return e&&e+"::"+J++||t.uidEvent||J++}function nt(t){var e=et(t);return t.uidEvent=e,G[e]=G[e]||{},G[e]}function it(t,e,n=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===n)}function st(t,e,n){var i="string"==typeof e,e=!i&&e||n;let s=at(t);return[i,e,s=tt.has(s)?s:t]}function rt(i,s,r,o,a){if("string"==typeof s&&i){let[t,e,n]=st(s,r,o);s in Z&&(e=(l=e,function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return l.call(this,t)}));var l,c,u,h,d,f,o=nt(i),o=o[n]||(o[n]={}),p=it(o,e,t?r:null);p?p.oneOff=p.oneOff&&a:(p=et(e,s.replace(X,"")),(s=t?(h=i,d=r,f=e,function e(n){var i=h.querySelectorAll(d);for(let t=n.target;t&&t!==this;t=t.parentNode)for(var s of i)if(s===t)return lt(n,{delegateTarget:t}),e.oneOff&&g.off(h,n.type,d,f),f.apply(t,[n])}):(c=i,u=e,function t(e){return lt(e,{delegateTarget:c}),t.oneOff&&g.off(c,e.type,u),u.apply(c,[e])})).delegationSelector=t?r:null,s.callable=e,s.oneOff=a,o[s.uidEvent=p]=s,i.addEventListener(n,s,t))}}function ot(t,e,n,i,s){i=it(e[n],i,s);i&&(t.removeEventListener(n,i,Boolean(s)),delete e[n][i.uidEvent])}function at(t){return t=t.replace(K,""),Z[t]||t}let g={on(t,e,n,i){rt(t,e,n,i,!1)},one(t,e,n,i){rt(t,e,n,i,!0)},off(t,e,n,i){if("string"==typeof e&&t){var s,r,[i,o,a]=st(e,n,i),l=a!==e,c=nt(t),u=c[a]||{},h=e.startsWith(".");if(void 0!==o)return Object.keys(u).length?void ot(t,c,a,o,i?n:null):void 0;if(h)for(var d of Object.keys(c)){p=f=b=_=v=m=g=void 0;var f,p,g=t,m=c,v=d,_=e.slice(1),b=m[v]||{};for([f,p]of Object.entries(b))f.includes(_)&&ot(g,m,v,p.callable,p.delegationSelector)}for([s,r]of Object.entries(u)){var y=s.replace(Q,"");l&&!e.includes(y)||ot(t,c,a,r.callable,r.delegationSelector)}}},trigger(t,e,n){if("string"!=typeof e||!t)return null;var i=V();let s=null,r=!0,o=!0,a=!1;e!==at(e)&&i&&(s=i.Event(e,n),i(t).trigger(s),r=!s.isPropagationStopped(),o=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());i=lt(new Event(e,{bubbles:r,cancelable:!0}),n);return a&&i.preventDefault(),o&&t.dispatchEvent(i),i.defaultPrevented&&s&&s.preventDefault(),i}};function lt(i,t={}){for(let[e,n]of Object.entries(t))try{i[e]=n}catch(t){Object.defineProperty(i,e,{configurable:!0,get(){return n}})}return i}function ct(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function ut(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}let u={setDataAttribute(t,e,n){t.setAttribute("data-bs-"+ut(e),n)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+ut(e))},getDataAttributes(e){if(!e)return{};var n,i={};for(n of Object.keys(e.dataset).filter(t=>t.startsWith("bs")&&!t.startsWith("bsConfig"))){let t=n.replace(/^bs/,"");i[t=t.charAt(0).toLowerCase()+t.slice(1,t.length)]=ct(e.dataset[n])}return i},getDataAttribute(t,e){return ct(t.getAttribute("data-bs-"+ut(e)))}};class ht{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){var n=r(e)?u.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...r(e)?u.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(var[n,i]of Object.entries(e)){var s=t[n],s=r(s)?"element":null==(s=s)?""+s:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${i}".`)}}}class e extends ht{constructor(t,e){super(),(t=s(t))&&(this._element=t,this._config=this._getConfig(e),I.set(this._element,this.constructor.DATA_KEY,this))}dispose(){I.remove(this._element,this.constructor.DATA_KEY),g.off(this._element,this.constructor.EVENT_KEY);for(var t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){Y(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return I.get(s(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(t){return""+t+this.EVENT_KEY}}let dt=e=>{let n=e.getAttribute("data-bs-target");if(!n||"#"===n){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t="#"+t.split("#")[1]),n=t&&"#"!==t?t.trim():null}return n?n.split(",").map(t=>F(t)).join(","):null},h={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(t=>t.matches(e))},parents(t,e){var n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){var e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>t+':not([tabindex^="-"])').join(",");return this.find(e,t).filter(t=>!a(t)&&o(t))},getSelectorFromElement(t){t=dt(t);return t&&h.findOne(t)?t:null},getElementFromSelector(t){t=dt(t);return t?h.findOne(t):null},getMultipleElementsFromSelector(t){t=dt(t);return t?h.find(t):[]}};var ft=(e,n="hide")=>{var t="click.dismiss"+e.EVENT_KEY;let i=e.NAME;g.on(document,t,`[data-bs-dismiss="${i}"]`,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||(t=h.getElementFromSelector(this)||this.closest("."+i),e.getOrCreateInstance(t)[n]())})};class pt extends e{static get NAME(){return"alert"}close(){var t;g.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),t=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,t))}_destroyElement(){this._element.remove(),g.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){var t=pt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ft(pt,"close"),t(pt);let gt='[data-bs-toggle="button"]';class mt extends e{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){var t=mt.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}g.on(document,"click.bs.button.data-api",gt,t=>{t.preventDefault();t=t.target.closest(gt);mt.getOrCreateInstance(t).toggle()}),t(mt);let n=".bs.swipe",vt=(n,n,n,n,n,{endCallback:null,leftCallback:null,rightCallback:null}),_t={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class bt extends ht{constructor(t,e){super(),(this._element=t)&&bt.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return vt}static get DefaultType(){return _t}static get NAME(){return"swipe"}dispose(){g.off(this._element,n)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(t){this._deltaX=t.touches&&1this._start(t)),g.on(this._element,"pointerup.bs.swipe",t=>this._end(t)),this._element.classList.add("pointer-event")):(g.on(this._element,"touchstart.bs.swipe",t=>this._start(t)),g.on(this._element,"touchmove.bs.swipe",t=>this._move(t)),g.on(this._element,"touchend.bs.swipe",t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?g.one(this._element,Et,()=>this.cycle()):this.cycle())}to(t){var e,n=this._getItems();t>n.length-1||t<0||(this._isSliding?g.one(this._element,Et,()=>this.to(t)):(e=this._getItemIndex(this._getActive()))!==t&&(e=ethis._keydown(t)),"hover"===this._config.pause&&(g.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),g.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&bt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(var t of h.find(".carousel-item img",this._element))g.on(t,"dragstart.bs.carousel",t=>t.preventDefault());var e={leftCallback:()=>this._slide(this._directionToOrder(p)),rightCallback:()=>this._slide(this._directionToOrder(wt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new bt(this._element,e)}_keydown(t){var e;/input|textarea/i.test(t.target.tagName)||(e=xt[t.key])&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){var e;this._indicatorsElement&&((e=h.findOne(Ct,this._indicatorsElement)).classList.remove(Tt),e.removeAttribute("aria-current"),e=h.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement))&&(e.classList.add(Tt),e.setAttribute("aria-current","true"))}_updateInterval(){var t=this._activeElement||this._getActive();t&&(t=Number.parseInt(t.getAttribute("data-bs-interval"),10),this._config.interval=t||this._config.defaultInterval)}_slide(e,o=null){if(!this._isSliding){let s=this._getActive();var a=e===yt;let r=o||U(this._getItems(),s,a,this._config.wrap);if(r!==s){let n=this._getItemIndex(r),i=t=>g.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:n});o=i("slide.bs.carousel");if(!o.defaultPrevented&&s&&r){o=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(n),this._activeElement=r;let t=a?"carousel-item-start":"carousel-item-end",e=a?"carousel-item-next":"carousel-item-prev";r.classList.add(e),q(r),s.classList.add(t),r.classList.add(t);this._queueCallback(()=>{r.classList.remove(t,e),r.classList.add(Tt),s.classList.remove(Tt,e,t),this._isSliding=!1,i(Et)},s,this._isAnimated()),o&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return h.findOne(".active.carousel-item",this._element)}_getItems(){return h.find(Ot,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return l()?t===p?f:yt:t===p?yt:f}_orderToDirection(t){return l()?t===f?p:wt:t===f?wt:p}static jQueryInterface(e){return this.each(function(){var t=Lt.getOrCreateInstance(this,e);if("number"==typeof e)t.to(e);else if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}g.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(t){var e=h.getElementFromSelector(this);e&&e.classList.contains(At)&&(t.preventDefault(),t=Lt.getOrCreateInstance(e),(e=this.getAttribute("data-bs-slide-to"))?t.to(e):"next"===u.getDataAttribute(this,"slide")?t.next():t.prev(),t._maybeEnableCycle())}),g.on(window,"load.bs.carousel.data-api",()=>{var t;for(t of h.find('[data-bs-ride="carousel"]'))Lt.getOrCreateInstance(t)}),t(Lt);let Dt="show",m="collapse",Pt="collapsing",jt=(m,m,'[data-bs-toggle="collapse"]'),Nt={parent:null,toggle:!0},Mt={parent:"(null|element)",toggle:"boolean"};class It extends e{constructor(t,e){var n;super(t,e),this._isTransitioning=!1,this._triggerArray=[];for(n of h.find(jt)){var i=h.getSelectorFromElement(n),s=h.find(i).filter(t=>t===this._element);null!==i&&s.length&&this._triggerArray.push(n)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Nt}static get DefaultType(){return Mt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];if(!(e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(t=>It.getOrCreateInstance(t,{toggle:!1})):e).length||!e[0]._isTransitioning){var n=g.trigger(this._element,"show.bs.collapse");if(!n.defaultPrevented){for(var i of e)i.hide();let t=this._getDimension();this._element.classList.remove(m),this._element.classList.add(Pt),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;n="scroll"+(t[0].toUpperCase()+t.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Pt),this._element.classList.add(m,Dt),this._element.style[t]="",g.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=this._element[n]+"px"}}}}hide(){if(!this._isTransitioning&&this._isShown()){var t=g.trigger(this._element,"hide.bs.collapse");if(!t.defaultPrevented){var e,t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",q(this._element),this._element.classList.add(Pt),this._element.classList.remove(m,Dt);for(e of this._triggerArray){var n=h.getElementFromSelector(e);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Pt),this._element.classList.add(m),g.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(t=this._element){return t.classList.contains(Dt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=s(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){var t;if(this._config.parent)for(t of this._getFirstLevelChildren(jt)){var e=h.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(t){let e=h.find(":scope .collapse .collapse",this._config.parent);return h.find(t,this._config.parent).filter(t=>!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(var n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(e){let n={};return"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){var t=It.getOrCreateInstance(this,n);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}g.on(document,"click.bs.collapse.data-api",jt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(var e of h.getMultipleElementsFromSelector(this))It.getOrCreateInstance(e,{toggle:!1}).toggle()}),t(It);var x="top",S="bottom",k="right",L="left",Ht="auto",D=[x,S,k,L],P="start",zt="end",Ft="clippingParents",Rt="viewport",Bt="popper",Wt="reference",qt=D.reduce(function(t,e){return t.concat([e+"-"+P,e+"-"+zt])},[]),Vt=[].concat(D,[Ht]).reduce(function(t,e){return t.concat([e,e+"-"+P,e+"-"+zt])},[]),d="beforeRead",$t="afterRead",Yt="beforeMain",Ut="afterMain",Xt="beforeWrite",Kt="afterWrite",Qt=[d,"read",$t,Yt,"main",Ut,Xt,"write",Kt];function v(t){return t?(t.nodeName||"").toLowerCase():null}function b(t){var e;return null==t?window:"[object Window]"!==t.toString()?(e=t.ownerDocument)&&e.defaultView||window:t}function _(t){return t instanceof b(t).Element||t instanceof Element}function y(t){return t instanceof b(t).HTMLElement||t instanceof HTMLElement}function Gt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof b(t).ShadowRoot||t instanceof ShadowRoot)}var Jt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var s=t.state;Object.keys(s.elements).forEach(function(t){var e=s.styles[t]||{},n=s.attributes[t]||{},i=s.elements[t];y(i)&&v(i)&&(Object.assign(i.style,e),Object.keys(n).forEach(function(t){var e=n[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var i=t.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(t){var e=i.elements[t],n=i.attributes[t]||{},t=Object.keys((i.styles.hasOwnProperty(t)?i.styles:s)[t]).reduce(function(t,e){return t[e]="",t},{});y(e)&&v(e)&&(Object.assign(e.style,t),Object.keys(n).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]};function j(t){return t.split("-")[0]}var O=Math.max,Zt=Math.min,te=Math.round;function ee(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ne(){return!/^((?!chrome|android).)*safari/i.test(ee())}function ie(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),s=1,r=1;e&&y(t)&&(s=0{var e=/firefox/i.test(ee()),n=/Trident/i.test(ee());if(!n||!y(t)||"fixed"!==w(t).position){var i=oe(t);for(Gt(i)&&(i=i.host);y(i)&&["html","body"].indexOf(v(i))<0;){var s=w(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}}return null})(t))||n}function ce(t){return 0<=["top","bottom"].indexOf(t)?"x":"y"}function ue(t,e,n){return O(t,Zt(e,n))}function he(){return{top:0,right:0,bottom:0,left:0}}function de(t){return Object.assign({},he(),t)}function fe(n,t){return t.reduce(function(t,e){return t[e]=n,t},{})}var pe={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n,i,s,r=t.state,o=t.name,t=t.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,c=ce(u=j(r.placement)),u=0<=[L,k].indexOf(u)?"height":"width";a&&l&&(t=t.padding,n=r,n=de("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:fe(t,D)),t=se(a),s="y"===c?x:L,i="y"===c?S:k,e=r.rects.reference[u]+r.rects.reference[c]-l[c]-r.rects.popper[u],l=l[c]-r.rects.reference[c],a=(a=le(a))?"y"===c?a.clientHeight||0:a.clientWidth||0:0,s=n[s],n=a-t[u]-n[i],s=ue(s,i=a/2-t[u]/2+(e/2-l/2),n),r.modifiersData[o]=((a={})[c]=s,a.centerOffset=s-i,a))},effect:function(t){var e=t.state;null!=(t=void 0===(t=t.options.element)?"[data-popper-arrow]":t)&&("string"!=typeof t||(t=e.elements.popper.querySelector(t)))&&re(e.elements.popper,t)&&(e.elements.arrow=t)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ge(t){return t.split("-")[1]}var me={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ve(t){var e,n=t.popper,i=t.popperRect,s=t.placement,r=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,t=t.isFixed,h=o.x,h=void 0===h?0:h,d=o.y,d=void 0===d?0:d,f="function"==typeof u?u({x:h,y:d}):{x:h,y:d},f=(h=f.x,d=f.y,o.hasOwnProperty("x")),o=o.hasOwnProperty("y"),p=L,g=x,m=window,v=(c&&(v="clientHeight",e="clientWidth",(_=le(n))===b(n)&&"static"!==w(_=E(n)).position&&"absolute"===a&&(v="scrollHeight",e="scrollWidth"),s!==x&&(s!==L&&s!==k||r!==zt)||(g=S,d=(d-((t&&_===m&&m.visualViewport?m.visualViewport.height:_[v])-i.height))*(l?1:-1)),s!==L&&(s!==x&&s!==S||r!==zt)||(p=k,h=(h-((t&&_===m&&m.visualViewport?m.visualViewport.width:_[e])-i.width))*(l?1:-1))),Object.assign({position:a},c&&me)),_=!0===u?(s={x:h,y:d},r=b(n),t=s.x,s=s.y,r=r.devicePixelRatio||1,{x:te(t*r)/r||0,y:te(s*r)/r||0}):{x:h,y:d};return h=_.x,d=_.y,l?Object.assign({},v,((e={})[g]=o?"0":"",e[p]=f?"0":"",e.transform=(m.devicePixelRatio||1)<=1?"translate("+h+"px, "+d+"px)":"translate3d("+h+"px, "+d+"px, 0)",e)):Object.assign({},v,((i={})[g]=o?d+"px":"",i[p]=f?h+"px":"",i.transform="",i))}var _e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=void 0===(n=(t=t.options).gpuAcceleration)||n,i=void 0===(i=t.adaptive)||i,t=void 0===(t=t.roundOffsets)||t,n={placement:j(e.placement),variation:ge(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ve(Object.assign({},n,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:t})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ve(Object.assign({},n,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:t})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},be={passive:!0};var ye={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=(t=t.options).scroll,s=void 0===i||i,r=void 0===(i=t.resize)||i,o=b(e.elements.popper),a=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&a.forEach(function(t){t.addEventListener("scroll",n.update,be)}),r&&o.addEventListener("resize",n.update,be),function(){s&&a.forEach(function(t){t.removeEventListener("scroll",n.update,be)}),r&&o.removeEventListener("resize",n.update,be)}},data:{}},we={left:"right",right:"left",bottom:"top",top:"bottom"};function Ee(t){return t.replace(/left|right|bottom|top/g,function(t){return we[t]})}var Ae={start:"end",end:"start"};function Te(t){return t.replace(/start|end/g,function(t){return Ae[t]})}function Ce(t){t=b(t);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Oe(t){return ie(E(t)).left+Ce(t).scrollLeft}function xe(t){var t=w(t),e=t.overflow;return/auto|scroll|overlay|hidden/.test(e+t.overflowY+t.overflowX)}function Se(t,e){void 0===e&&(e=[]);var n=function t(e){return 0<=["html","body","#document"].indexOf(v(e))?e.ownerDocument.body:y(e)&&xe(e)?e:t(oe(e))}(t),t=n===(null==(t=t.ownerDocument)?void 0:t.body),i=b(n),i=t?[i].concat(i.visualViewport||[],xe(n)?n:[]):n,n=e.concat(i);return t?n:n.concat(Se(oe(i)))}function ke(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Le(t,e,n){return e===Rt?ke((s=n,o=b(i=t),a=E(i),o=o.visualViewport,l=a.clientWidth,a=a.clientHeight,u=c=0,o&&(l=o.width,a=o.height,(r=ne())||!r&&"fixed"===s)&&(c=o.offsetLeft,u=o.offsetTop),{width:l,height:a,x:c+Oe(i),y:u})):_(e)?((s=ie(r=e,!1,"fixed"===(s=n))).top=s.top+r.clientTop,s.left=s.left+r.clientLeft,s.bottom=s.top+r.clientHeight,s.right=s.left+r.clientWidth,s.width=r.clientWidth,s.height=r.clientHeight,s.x=s.left,s.y=s.top,s):ke((o=E(t),l=E(o),a=Ce(o),c=null==(c=o.ownerDocument)?void 0:c.body,i=O(l.scrollWidth,l.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=O(l.scrollHeight,l.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),o=-a.scrollLeft+Oe(o),a=-a.scrollTop,"rtl"===w(c||l).direction&&(o+=O(l.clientWidth,c?c.clientWidth:0)-i),{width:i,height:u,x:o,y:a}));var i,s,r,o,a,l,c,u}function De(n,t,e,i){var s,r="clippingParents"===t?(o=Se(oe(r=n)),_(s=0<=["absolute","fixed"].indexOf(w(r).position)&&y(r)?le(r):r)?o.filter(function(t){return _(t)&&re(t,s)&&"body"!==v(t)}):[]):[].concat(t),o=[].concat(r,[e]),t=o[0],e=o.reduce(function(t,e){e=Le(n,e,i);return t.top=O(e.top,t.top),t.right=Zt(e.right,t.right),t.bottom=Zt(e.bottom,t.bottom),t.left=O(e.left,t.left),t},Le(n,t,i));return e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}function Pe(t){var e,n=t.reference,i=t.element,t=t.placement,s=t?j(t):null,t=t?ge(t):null,r=n.x+n.width/2-i.width/2,o=n.y+n.height/2-i.height/2;switch(s){case x:e={x:r,y:n.y-i.height};break;case S:e={x:r,y:n.y+n.height};break;case k:e={x:n.x+n.width,y:o};break;case L:e={x:n.x-i.width,y:o};break;default:e={x:n.x,y:n.y}}var a=s?ce(s):null;if(null!=a){var l="y"===a?"height":"width";switch(t){case P:e[a]=e[a]-(n[l]/2-i[l]/2);break;case zt:e[a]=e[a]+(n[l]/2-i[l]/2)}}return e}function je(t,e){var i,e=e=void 0===e?{}:e,n=e.placement,n=void 0===n?t.placement:n,s=e.strategy,s=void 0===s?t.strategy:s,r=e.boundary,r=void 0===r?Ft:r,o=e.rootBoundary,o=void 0===o?Rt:o,a=e.elementContext,a=void 0===a?Bt:a,l=e.altBoundary,l=void 0!==l&&l,e=e.padding,e=void 0===e?0:e,e=de("number"!=typeof e?e:fe(e,D)),c=t.rects.popper,l=t.elements[l?a===Bt?Wt:Bt:a],l=De(_(l)?l:l.contextElement||E(t.elements.popper),r,o,s),r=ie(t.elements.reference),o=Pe({reference:r,element:c,strategy:"absolute",placement:n}),s=ke(Object.assign({},c,o)),c=a===Bt?s:r,u={top:l.top-c.top+e.top,bottom:c.bottom-l.bottom+e.bottom,left:l.left-c.left+e.left,right:c.right-l.right+e.right},o=t.modifiersData.offset;return a===Bt&&o&&(i=o[n],Object.keys(u).forEach(function(t){var e=0<=[k,S].indexOf(t)?1:-1,n=0<=[x,S].indexOf(t)?"y":"x";u[t]+=i[n]*e})),u}var Ne={name:"flip",enabled:!0,phase:"main",fn:function(t){var h=t.state,e=t.options,t=t.name;if(!h.modifiersData[t]._skip){for(var n=e.mainAxis,i=void 0===n||n,n=e.altAxis,s=void 0===n||n,n=e.fallbackPlacements,d=e.padding,f=e.boundary,p=e.rootBoundary,r=e.altBoundary,o=e.flipVariations,g=void 0===o||o,m=e.allowedAutoPlacements,o=h.options.placement,e=j(o),n=n||(e===o||!g?[Ee(o)]:j(n=o)===Ht?[]:(e=Ee(n),[Te(n),e,Te(e)])),a=[o].concat(n).reduce(function(t,e){return t.concat(j(e)===Ht?(n=h,i=(t=t=void 0===(t={placement:e,boundary:f,rootBoundary:p,padding:d,flipVariations:g,allowedAutoPlacements:m})?{}:t).placement,s=t.boundary,r=t.rootBoundary,o=t.padding,a=t.flipVariations,l=void 0===(t=t.allowedAutoPlacements)?Vt:t,c=ge(i),t=c?a?qt:qt.filter(function(t){return ge(t)===c}):D,u=(i=0===(i=t.filter(function(t){return 0<=l.indexOf(t)})).length?t:i).reduce(function(t,e){return t[e]=je(n,{placement:e,boundary:s,rootBoundary:r,padding:o})[j(e)],t},{}),Object.keys(u).sort(function(t,e){return u[t]-u[e]})):e);var n,i,s,r,o,a,l,c,u},[]),l=h.rects.reference,c=h.rects.popper,u=new Map,v=!0,_=a[0],b=0;bc[T]&&(A=Ee(A)),Ee(A)),T=[];if(i&&T.push(C[w]<=0),s&&T.push(C[A]<=0,C[E]<=0),T.every(function(t){return t})){_=y,v=!1;break}u.set(y,T)}if(v)for(var O=g?3:1;0{var t=a.find(function(t){t=u.get(t);if(t)return t.slice(0,e).every(function(t){return t})});if(t)return _=t,"break"})(O))break;h.placement!==_&&(h.modifiersData[t]._skip=!0,h.placement=_,h.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Me(t,e,n){return{top:t.top-e.height-(n=void 0===n?{x:0,y:0}:n).y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ie(e){return[x,k,S,L].some(function(t){return 0<=e[t]})}var He={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,t=t.name,n=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,r=je(e,{elementContext:"reference"}),o=je(e,{altBoundary:!0}),r=Me(r,n),n=Me(o,i,s),o=Ie(r),i=Ie(n);e.modifiersData[t]={referenceClippingOffsets:r,popperEscapeOffsets:n,isReferenceHidden:o,hasPopperEscaped:i},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":i})}};var ze={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var o=t.state,e=t.name,a=void 0===(t=t.options.offset)?[0,0]:t,t=Vt.reduce(function(t,e){var n,i,s,r;return t[e]=(e=e,n=o.rects,i=a,s=j(e),r=0<=[L,x].indexOf(s)?-1:1,e=(n="function"==typeof i?i(Object.assign({},n,{placement:e})):i)[0]||0,i=(n[1]||0)*r,0<=[L,k].indexOf(s)?{x:i,y:e}:{x:e,y:i}),t},{}),n=(i=t[o.placement]).x,i=i.y;null!=o.modifiersData.popperOffsets&&(o.modifiersData.popperOffsets.x+=n,o.modifiersData.popperOffsets.y+=i),o.modifiersData[e]=t}};var Fe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=Pe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Re={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e,n,i,s,r,o,a,l,c,u=t.state,h=t.options,t=t.name,d=void 0===(d=h.mainAxis)||d,f=void 0!==(f=h.altAxis)&&f,p=void 0===(p=h.tether)||p,g=void 0===(g=h.tetherOffset)?0:g,h=je(u,{boundary:h.boundary,rootBoundary:h.rootBoundary,padding:h.padding,altBoundary:h.altBoundary}),m=j(u.placement),v=ge(u.placement),_=!v,b=ce(m),y="x"===b?"y":"x",w=u.modifiersData.popperOffsets,E=u.rects.reference,A=u.rects.popper,g="number"==typeof(g="function"==typeof g?g(Object.assign({},u.rects,{placement:u.placement})):g)?{mainAxis:g,altAxis:g}:Object.assign({mainAxis:0,altAxis:0},g),T=u.modifiersData.offset?u.modifiersData.offset[u.placement]:null,C={x:0,y:0};w&&(d&&(d="y"===b?"height":"width",o=(a=w[b])+h[n="y"===b?x:L],l=a-h[c="y"===b?S:k],e=p?-A[d]/2:0,s=(v===P?E:A)[d],v=v===P?-A[d]:-E[d],r=u.elements.arrow,r=p&&r?se(r):{width:0,height:0},n=(i=u.modifiersData["arrow#persistent"]?u.modifiersData["arrow#persistent"].padding:he())[n],i=i[c],c=ue(0,E[d],r[d]),r=_?E[d]/2-e-c-n-g.mainAxis:s-c-n-g.mainAxis,s=_?-E[d]/2+e+c+i+g.mainAxis:v+c+i+g.mainAxis,_=(n=u.elements.arrow&&le(u.elements.arrow))?"y"===b?n.clientTop||0:n.clientLeft||0:0,v=a+s-(e=null!=(d=null==T?void 0:T[b])?d:0),c=ue(p?Zt(o,a+r-e-_):o,a,p?O(l,v):l),w[b]=c,C[b]=c-a),f&&(i="y"==y?"height":"width",s=(n=w[y])+h["x"===b?x:L],d=n-h["x"===b?S:k],r=-1!==[x,L].indexOf(m),_=null!=(e=null==T?void 0:T[y])?e:0,o=r?s:n-E[i]-A[i]-_+g.altAxis,v=r?n+E[i]+A[i]-_-g.altAxis:d,a=p&&r?(l=ue(l=o,n,c=v),cNumber.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){var t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(u.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...c(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){var n=h.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>o(t));n.length&&U(n,e,t===Ke,!n.includes(e)).focus()}static jQueryInterface(e){return this.each(function(){var t=T.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(t){var e;if(2!==t.button&&("keyup"!==t.type||"Tab"===t.key))for(e of h.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var n,i,s=T.getInstance(e);s&&!1!==s._config.autoClose&&(n=(i=t.composedPath()).includes(s._menu),i.includes(s._element)||"inside"===s._config.autoClose&&!n||"outside"===s._config.autoClose&&n||s._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName))||(i={relatedTarget:s._element},"click"===t.type&&(i.clickEvent=t),s._completeHide(i)))}}static dataApiKeydownHandler(t){var e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=["ArrowUp",Ke].includes(t.key);!i&&!n||e&&!n||(t.preventDefault(),e=this.matches(A)?this:h.prev(this,A)[0]||h.next(this,A)[0]||h.findOne(A,t.delegateTarget.parentNode),n=T.getOrCreateInstance(e),i?(t.stopPropagation(),n.show(),n._selectMenuItem(t)):n._isShown()&&(t.stopPropagation(),n.hide(),e.focus()))}}g.on(document,pe,A,T.dataApiKeydownHandler),g.on(document,pe,Ge,T.dataApiKeydownHandler),g.on(document,Kt,T.clearMenus),g.on(document,"keyup.bs.dropdown.data-api",T.clearMenus),g.on(document,Kt,A,function(t){t.preventDefault(),T.getOrCreateInstance(this).toggle()}),t(T);let an="backdrop",ln="mousedown.bs."+an,cn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},un={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class hn extends ht{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return cn}static get DefaultType(){return un}static get NAME(){return an}show(t){var e;this._config.isVisible?(this._append(),e=this._getElement(),this._config.isAnimated&&q(e),e.classList.add("show"),this._emulateAnimation(()=>{c(t)})):c(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(t)})):c(t)}dispose(){this._isAppended&&(g.off(this._element,ln),this._element.remove(),this._isAppended=!1)}_getElement(){var t;return this._element||((t=document.createElement("div")).className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t),this._element}_configAfterMerge(t){return t.rootElement=s(t.rootElement),t}_append(){var t;this._isAppended||(t=this._getElement(),this._config.rootElement.append(t),g.on(t,ln,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(t){Y(t,this._getElement(),this._config.isAnimated)}}let dn=".bs.focustrap",fn=(dn,dn,"backward"),pn={autofocus:!0,trapElement:null},gn={autofocus:"boolean",trapElement:"element"};class mn extends ht{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return pn}static get DefaultType(){return gn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),g.off(document,dn),g.on(document,"focusin.bs.focustrap",t=>this._handleFocusin(t)),g.on(document,"keydown.tab.bs.focustrap",t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,g.off(document,dn))}_handleFocusin(t){var e=this._config.trapElement;t.target===document||t.target===e||e.contains(t.target)||(0===(t=h.focusableChildren(e)).length?e:this._lastTabNavDirection===fn?t[t.length-1]:t[0]).focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?fn:"forward")}}let vn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_n=".sticky-top",bn="padding-right",yn="margin-right";class wn{constructor(){this._element=document.body}getWidth(){var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,bn,t=>t+e),this._setElementAttributes(vn,bn,t=>t+e),this._setElementAttributes(_n,yn,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,bn),this._resetElementAttributes(vn,bn),this._resetElementAttributes(_n,yn)}isOverflowing(){return 0{var e;t!==this._element&&window.innerWidth>t.clientWidth+s||(this._saveInitialAttribute(t,n),e=window.getComputedStyle(t).getPropertyValue(n),t.style.setProperty(n,i(Number.parseFloat(e))+"px"))})}_saveInitialAttribute(t,e){var n=t.style.getPropertyValue(e);n&&u.setDataAttribute(t,e,n)}_resetElementAttributes(t,n){this._applyManipulationCallback(t,t=>{var e=u.getDataAttribute(t,n);null===e?t.style.removeProperty(n):(u.removeDataAttribute(t,n),t.style.setProperty(n,e))})}_applyManipulationCallback(t,e){if(r(t))e(t);else for(var n of h.find(t,this._element))e(n)}}let C=".bs.modal";C,C;let En="hidden"+C,An="show"+C;C,C,C,C,C;C;let Tn="modal-open",Cn="modal-static";let On={backdrop:!0,focus:!0,keyboard:!0},xn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Sn extends e{constructor(t,e){super(t,e),this._dialog=h.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new wn,this._addEventListeners()}static get Default(){return On}static get DefaultType(){return xn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||g.trigger(this._element,An,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Tn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||g.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){g.off(window,C),g.off(this._dialog,C),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new mn({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var e=h.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),q(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,g.trigger(this._element,"shown.bs.modal",{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){g.on(this._element,"keydown.dismiss.bs.modal",t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),g.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),g.on(this._element,"mousedown.dismiss.bs.modal",e=>{g.one(this._element,"click.dismiss.bs.modal",t=>{this._element===e.target&&this._element===t.target&&("static"===this._config.backdrop?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_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(Tn),this._resetAdjustments(),this._scrollBar.reset(),g.trigger(this._element,En)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var e=g.trigger(this._element,"hidePrevented.bs.modal");if(!e.defaultPrevented){e=this._element.scrollHeight>document.documentElement.clientHeight;let t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Cn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Cn),this._queueCallback(()=>{this._element.classList.remove(Cn),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var t,e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),i=0{t.defaultPrevented||g.one(e,En,()=>{o(this)&&this.focus()})});t=h.findOne(".modal.show");t&&Sn.getInstance(t).hide(),Sn.getOrCreateInstance(e).toggle(this)}),ft(Sn),t(Sn);Yt=".bs.offcanvas";let kn="showing",Ln=".offcanvas.show",Dn="hidePrevented"+Yt,Pn="hidden"+Yt;let jn={backdrop:!0,keyboard:!0,scroll:!1},Nn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class N extends e{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return jn}static get DefaultType(){return Nn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||g.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new wn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(kn),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(kn),g.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&!g.trigger(this._element,"hide.bs.offcanvas").defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new wn).reset(),g.trigger(this._element,Pn)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var t=Boolean(this._config.backdrop);return new hn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"===this._config.backdrop?g.trigger(this._element,Dn):this.hide()}:null})}_initializeFocusTrap(){return new mn({trapElement:this._element})}_addEventListeners(){g.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():g.trigger(this._element,Dn))})}static jQueryInterface(e){return this.each(function(){var t=N.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}g.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(t){var e=h.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||(g.one(e,Pn,()=>{o(this)&&this.focus()}),(t=h.findOne(Ln))&&t!==e&&N.getInstance(t).hide(),N.getOrCreateInstance(e).toggle(this))}),g.on(window,"load.bs.offcanvas.data-api",()=>{for(var t of h.find(Ln))N.getOrCreateInstance(t).show()}),g.on(window,"resize.bs.offcanvas",()=>{for(var t of h.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&N.getOrCreateInstance(t).hide()}),ft(N),t(N);d={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]};let Mn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),In=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;function Hn(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);var i,n=(new window.DOMParser).parseFromString(t,"text/html");for(i of[].concat(...n.body.querySelectorAll("*"))){var s=i.nodeName.toLowerCase();if(Object.keys(e).includes(s)){var r,o=[].concat(...i.attributes),a=[].concat(e["*"]||[],e[s]||[]);for(r of o)((t,e)=>{let n=t.nodeName.toLowerCase();return e.includes(n)?!Mn.has(n)||Boolean(In.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(n))})(r,a)||i.removeAttribute(r.nodeName)}else i.remove()}return n.body.innerHTML}let zn={allowList:d,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Fn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Rn={entry:"(string|element|function|null)",selector:"(string|element)"};class Bn extends ht{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return zn}static get DefaultType(){return Fn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return 0
',title:"",trigger:"hover focus"},Qn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Gn extends e{constructor(t,e){if(void 0===Ue)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Kn}static get DefaultType(){return Qn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),g.off(this._element.closest(".modal"),$n,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),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){var t=g.trigger(this._element,this.constructor.eventName("show")),e=(B(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!t.defaultPrevented&&e){this._disposePopper();t=this._getTipElement(),e=(this._element.setAttribute("aria-describedby",t.getAttribute("id")),this._config).container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(e.append(t),g.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(t),t.classList.add(Vn),"ontouchstart"in document.documentElement)for(var n of[].concat(...document.body.children))g.on(n,"mouseover",W);this._queueCallback(()=>{g.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()){var t=g.trigger(this._element,this.constructor.eventName("hide"));if(!t.defaultPrevented){if(this._getTipElement().classList.remove(Vn),"ontouchstart"in document.documentElement)for(var e of[].concat(...document.body.children))g.off(e,"mouseover",W);this._activeTrigger.click=!1,this._activeTrigger[Un]=!1,this._activeTrigger[Yn]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),g.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){t=this._getTemplateFactory(t).toHtml();if(!t)return null;t.classList.remove(qn,Vn),t.classList.add(`bs-${this.constructor.NAME}-auto`);var e=(t=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t})(this.constructor.NAME).toString();return t.setAttribute("id",e),this._isAnimated()&&t.classList.add(qn),t}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Bn({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(qn)}_isShown(){return this.tip&&this.tip.classList.contains(Vn)}_createPopper(t){var e=c(this._config.placement,[this,t,this._element]),e=Xn[e.toUpperCase()];return Ye(this._element,t,this._getPopperConfig(e))}_getOffset(){let e=this._config.offset;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(t){return c(t,[this._element])}_getPopperConfig(t){t={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...t,...c(this._config.popperConfig,[t])}}_setListeners(){var t,e,n;for(t of this._config.trigger.split(" "))"click"===t?g.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{this._initializeOnDelegatedTarget(t).toggle()}):"manual"!==t&&(e=t===Yn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===Yn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),g.on(this._element,e,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Un:Yn]=!0,e._enter()}),g.on(this._element,n,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Un:Yn]=e._element.contains(t.relatedTarget),e._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},g.on(this._element.closest(".modal"),$n,this._hideModalHandler)}_fixTitle(){var t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){var e,n=u.getDataAttributes(this._element);for(e of Object.keys(n))Wn.has(e)&&delete n[e];return t={...n,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:s(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){var t,e,n={};for([t,e]of Object.entries(this._config))this.constructor.Default[t]!==e&&(n[t]=e);return n.selector=!1,n.trigger="manual",n}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){var t=Gn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t(Gn);let Jn={...Gn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Zn={...Gn.DefaultType,content:"(null|string|element|function)"};class ti extends Gn{static get Default(){return Jn}static get DefaultType(){return Zn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){var t=ti.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t(ti);Xt=".bs.scrollspy";let ei="click"+Xt;let ni="active",ii="[href]";let si={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ri={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class oi extends e{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return si}static get DefaultType(){return ri}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(var t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=s(t.target)||document.body,t.rootMargin=t.offset?t.offset+"px 0px -30%":t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(g.off(this._config.target,ei),g.on(this._config.target,ei,ii,t=>{var e=this._observableSections.get(t.target.hash);e&&(t.preventDefault(),t=this._rootElement||window,e=e.offsetTop-this._element.offsetTop,t.scrollTo?t.scrollTo({top:e,behavior:"smooth"}):t.scrollTop=e)}))}_getNewObserver(){var t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),t)}_observerCallback(t){let e=t=>this._targetLinks.get("#"+t.target.id);var n,i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},s=(this._rootElement||document.documentElement).scrollTop,r=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(n of t)if(n.isIntersecting){var o=n.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&o){if(i(n),s)continue;return}r||o||i(n)}else this._activeTarget=null,this._clearActiveClass(e(n))}_initializeTargetsAndObservables(){var t,e;this._targetLinks=new Map,this._observableSections=new Map;for(t of h.find(ii,this._config.target))t.hash&&!a(t)&&(e=h.findOne(decodeURI(t.hash),this._element),o(e))&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),(this._activeTarget=t).classList.add(ni),this._activateParents(t),g.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))h.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(ni);else for(var e of h.parents(t,".nav, .list-group"))for(var n of h.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))n.classList.add(ni)}_clearActiveClass(t){var e;t.classList.remove(ni);for(e of h.find(ii+"."+ni,t))e.classList.remove(ni)}static jQueryInterface(e){return this.each(function(){var t=oi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}g.on(window,"load.bs.scrollspy.data-api",()=>{for(var t of h.find('[data-bs-spy="scroll"]'))oi.getOrCreateInstance(t)}),t(oi);let ai="ArrowRight",li="ArrowDown",ci="Home",M="active",ui="show",hi=".dropdown-toggle";hi;_e='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';let di='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+_e;M,M,M;class fi extends e{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),g.on(this._element,"keydown.bs.tab",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){var t,e,n=this._element;this._elemIsActive(n)||(e=(t=this._getActiveElem())?g.trigger(t,"hide.bs.tab",{relatedTarget:n}):null,g.trigger(n,"show.bs.tab",{relatedTarget:t}).defaultPrevented)||e&&e.defaultPrevented||(this._deactivate(t,n),this._activate(n,t))}_activate(t,e){t&&(t.classList.add(M),this._activate(h.getElementFromSelector(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.add(ui):(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),g.trigger(t,"shown.bs.tab",{relatedTarget:e}))},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(M),t.blur(),this._deactivate(h.getElementFromSelector(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.remove(ui):(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),g.trigger(t,"hidden.bs.tab",{relatedTarget:e}))},t,t.classList.contains("fade")))}_keydown(e){if(["ArrowLeft",ai,"ArrowUp",li,ci,"End"].includes(e.key)){e.stopPropagation(),e.preventDefault();var n,i=this._getChildren().filter(t=>!a(t));let t;(t=[ci,"End"].includes(e.key)?i[e.key===ci?0:i.length-1]:(n=[ai,li].includes(e.key),U(i,e.target,n,!0)))&&(t.focus({preventScroll:!0}),fi.getOrCreateInstance(t).show())}}_getChildren(){return h.find(di,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(var n of e)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);var e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){var e=h.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id)&&this._setAttributeIfNotExists(e,"aria-labelledby",""+t.id)}_toggleDropDown(t,n){let i=this._getOuterElement(t);i.classList.contains("dropdown")&&((t=(t,e)=>{t=h.findOne(t,i);t&&t.classList.toggle(e,n)})(hi,M),t(".dropdown-menu",ui),i.setAttribute("aria-expanded",n))}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(M)}_getInnerElement(t){return t.matches(di)?t:h.findOne(di,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each(function(){var t=fi.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}g.on(document,"click.bs.tab",_e,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||fi.getOrCreateInstance(this).show()}),g.on(window,"load.bs.tab",()=>{for(var t of h.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))fi.getOrCreateInstance(t)}),t(fi);let pi="show",gi="showing",mi={animation:"boolean",autohide:"boolean",delay:"number"},vi={animation:!0,autohide:!0,delay:5e3};class _i extends e{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return vi}static get DefaultType(){return mi}static get NAME(){return"toast"}show(){g.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),q(this._element),this._element.classList.add(pi,gi),this._queueCallback(()=>{this._element.classList.remove(gi),g.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!g.trigger(this._element,"hide.bs.toast").defaultPrevented&&(this._element.classList.add(gi),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(gi,pi),g.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(pi),super.dispose()}isShown(){return this._element.classList.contains(pi)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}e?this._clearTimeout():this._element===(t=t.relatedTarget)||this._element.contains(t)||this._maybeScheduleHide()}_setListeners(){g.on(this._element,"mouseover.bs.toast",t=>this._onInteraction(t,!0)),g.on(this._element,"mouseout.bs.toast",t=>this._onInteraction(t,!1)),g.on(this._element,"focusin.bs.toast",t=>this._onInteraction(t,!0)),g.on(this._element,"focusout.bs.toast",t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){var t=_i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return ft(_i),t(_i),{Alert:pt,Button:mt,Carousel:Lt,Collapse:It,Dropdown:T,Modal:Sn,Offcanvas:N,Popover:ti,ScrollSpy:oi,Tab:fi,Toast:_i,Tooltip:Gn}}),((t,e)=>{"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ScrollMagic=e()})(this,function(){function j(){}j.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var N="data-scrollmagic-pin-spacer",C=(j.Controller=function(t){function e(){var t,e;_&&f&&(t=I.type.Array(f)?f:d.slice(0),f=!1,e=p,(g=0!=(e=(p=u.scrollPos())-e)?0e.scrollOffset()?1:-1}),t}for(o in this._options=h,this.addScene=function(t){if(I.type.Array(t))t.forEach(function(t,e){u.addScene(t)});else if(t instanceof j.Scene)if(t.controller()!==u)t.addTo(u);else if(!~d.indexOf(t))for(var e in d.push(t),d=T(d),t.on("shift.controller_sort",function(){d=T(d)}),h.globalSceneOptions)t[e]&&t[e].call(t,h.globalSceneOptions[e]);return u},this.removeScene=function(t){var e;return I.type.Array(t)?t.forEach(function(t,e){u.removeScene(t)}):-1<(e=d.indexOf(t))&&(t.off("shift.controller_sort"),d.splice(e,1),t.remove()),u},this.updateScene=function(t,n){return I.type.Array(t)?t.forEach(function(t,e){u.updateScene(t,n)}):n?t.update(!0):!0!==f&&t instanceof j.Scene&&(~(f=f||[]).indexOf(t)||f.push(t),f=T(f),i()),u},this.update=function(t){return n({type:"resize"}),t&&e(),u},this.scrollTo=function(t,e){if(I.type.Number(t))E.call(h.container,t,e);else if(t instanceof j.Scene)t.controller()===u&&u.scrollTo(t.scrollOffset(),e);else if(I.type.Function(t))E=t;else{var n=I.get.elements(t)[0];if(n){for(;n.parentNode.hasAttribute(N);)n=n.parentNode;var t=h.vertical?"top":"left",i=I.get.offset(h.container),s=I.get.offset(n);m||(i[t]-=u.scrollPos()),u.scrollTo(s[t]-i[t],e)}}return u},this.scrollPos=function(t){return arguments.length?(I.type.Function(t)&&(y=t),u):y.call(u)},this.info=function(t){var e={size:v,vertical:h.vertical,scrollPos:p,scrollDirection:g,container:h.container,isDocument:m};return arguments.length?void 0!==e[t]?e[t]:void 0:e},this.loglevel=function(t){return u},this.enabled=function(t){return arguments.length?(_!=t&&(_=!!t,u.updateScene(d,!0)),u):_},this.destroy=function(t){window.clearTimeout(r);for(var e=d.length;e--;)d[e].destroy(t);return h.container.removeEventListener("resize",n),h.container.removeEventListener("scroll",n),I.cAF(s),null},h)c.hasOwnProperty(o)||delete h[o];if(h.container=I.get.elements(h.container)[0],!h.container)throw"ScrollMagic.Controller init failed.";(m=h.container===window||h.container===document.body||!document.body.contains(h.container))&&(h.container=window),v=w(),h.container.addEventListener("resize",n),h.container.addEventListener("scroll",n);t=parseInt(h.refreshInterval,10);return h.refreshInterval=I.type.Number(t)?t:c.refreshInterval,b(),u},{defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}}),M=(j.Controller.addOption=function(t,e){C.defaults[t]=e},j.Controller.extend=function(t){var e=this;j.Controller=function(){return e.apply(this,arguments),this.$super=I.extend({},this),t.apply(this,arguments)||this},I.extend(j.Controller,e),j.Controller.prototype=e.prototype,j.Controller.prototype.constructor=j.Controller},{defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(t){if(t=parseFloat(t),I.type.Number(t))return t;throw 0},triggerElement:function(t){if(t=t||void 0){var e=I.get.elements(t)[0];if(!e||!e.parentNode)throw 0;t=e}return t},triggerHook:function(t){var e={onCenter:.5,onEnter:1,onLeave:0};if(I.type.Number(t))t=Math.max(0,Math.min(parseFloat(t),1));else{if(!(t in e))throw 0;t=e[t]}return t},reverse:function(t){return!!t}},shifts:["duration","offset","triggerHook"]}),I=((j.Scene=function(t){var n,a,o="BEFORE",l="DURING",c="AFTER",i=M.defaults,u=this,h=I.extend({},i,t),d=o,f=0,s={start:0,end:0},p=0,r=!0,g={};this.on=function(t,n){return I.type.Function(n)&&(t=t.trim().split(" ")).forEach(function(t){var t=t.split("."),e=t[0],t=t[1];"*"!=e&&(g[e]||(g[e]=[]),g[e].push({namespace:t||"",callback:n}))}),u},this.off=function(t,r){return t&&(t=t.trim().split(" ")).forEach(function(t,e){var t=t.split("."),n=t[0],s=t[1]||"";("*"===n?Object.keys(g):[n]).forEach(function(t){for(var e=g[t]||[],n=e.length;n--;){var i=e[n];!i||s!==i.namespace&&"*"!==s||r&&r!=i.callback||e.splice(n,1)}e.length||delete g[t]})}),u},this.trigger=function(t,n){var i,s;return t&&(t=t.trim().split("."),i=t[0],s=t[1],t=g[i])&&t.forEach(function(t,e){s&&s!==t.namespace||t.callback.call(u,new j.Event(i,t.namespace,u,n))}),u},u.on("change.internal",function(t){"loglevel"!==t.what&&"tweenChanges"!==t.what&&("triggerElement"===t.what?b():"reverse"===t.what&&u.update())}).on("shift.internal",function(t){e(),u.update()}),this.addTo=function(t){return t instanceof j.Controller&&a!=t&&(a&&a.removeScene(u),a=t,E(),_(!0),b(!0),e(),a.info("container").addEventListener("resize",y),t.addScene(u),u.trigger("add",{controller:a}),u.update()),u},this.enabled=function(t){return arguments.length?(r!=t&&(r=!!t,u.update(!0)),u):r},this.remove=function(){var t;return a&&(a.info("container").removeEventListener("resize",y),t=a,a=void 0,t.removeScene(u),u.trigger("remove")),u},this.destroy=function(t){return u.trigger("destroy",{reset:t}),u.remove(),u.off("*.*"),null},this.update=function(t){var e;return a&&(t?a.enabled()&&r?(t=a.info("scrollPos"),e=0=s.start?1:0,u.trigger("update",{startPos:s.start,endPos:s.end,scrollPos:t}),u.progress(e)):m&&d===l&&x(!0):a.updateScene(u,!1)),u},this.refresh=function(){return _(),b(),u},this.progress=function(t){var e,n,i,s,r;return arguments.length?(n=!1,i=d,s=a?a.info("scrollDirection"):"PAUSED",r=h.reverse||f<=t,0===h.duration?(n=f!=t,d=0==(f=t<1&&r?0:1)?o:l):t<0&&d!==o&&r?(d=o,n=!(f=0)):0<=t&&t<1&&r?(f=t,d=l,n=!0):1<=t&&d!==c?(f=1,d=c,n=!0):d!==l||r||x(),n&&(e={progress:f,state:d,scrollDirection:s},t=function(t){u.trigger(t,e)},(r=d!=i)&&i!==l&&(t("enter"),t(i===o?"start":"end")),t("progress"),r)&&d!==l&&(t(d===o?"start":"end"),t("leave")),u):f};var m,v,e=function(){s={start:p+h.offset},a&&h.triggerElement&&(s.start-=a.info("size")*h.triggerHook),s.end=s.start+h.duration},_=function(t){var e;n&&A(e="duration",n.call(u))&&!t&&(u.trigger("change",{what:e,newval:h[e]}),u.trigger("shift",{reason:e}))},b=function(t){var e=0,n=h.triggerElement;if(a&&(n||0{u[e]||(u[e]=function(t){return arguments.length?("duration"===e&&(n=void 0),A(e,t)&&(u.trigger("change",{what:e,newval:h[e]}),~M.shifts.indexOf(e))&&u.trigger("shift",{reason:e}),u):h[e]})})(D);return E(),u}).addOption=function(t,e,n,i){t in M.defaults||(M.defaults[t]=e,M.validate[t]=n,i&&M.shifts.push(t))},j.Scene.extend=function(t){var e=this;j.Scene=function(){return e.apply(this,arguments),this.$super=I.extend({},this),t.apply(this,arguments)||this},I.extend(j.Scene,e),j.Scene.prototype=e.prototype,j.Scene.prototype.constructor=j.Scene},j.Event=function(t,e,n,i){for(var s in i=i||{})this[s]=i[s];return this.type=t,this.target=this.currentTarget=n,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this},j._util=(r=>{function o(t){return parseFloat(t)||0}function a(t){return t.currentStyle||r.getComputedStyle(t)}function i(t,e,n,i){if((e=e===document?r:e)===r)i=!1;else if(!h.DomElement(e))return 0;t=t[0].toUpperCase()+t.substr(1).toLowerCase();var s=(n?e["offset"+t]||e["outer"+t]:e["client"+t]||e["inner"+t])||0;return n&&i&&(n=a(e),s+="Height"===t?o(n.marginTop)+o(n.marginBottom):o(n.marginLeft)+o(n.marginRight)),s}function l(t){return t.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}for(var t={extend:function(t){for(t=t||{},u=1;u{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Headroom=e()})(this,function(){function t(){return"undefined"!=typeof window}function e(t,i,s){var e,n,r,o,a,l,c,u=(()=>{var t=!1;try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t})(),h=!1,d=(n=t)&&n.document&&9===n.document.nodeType?(a=(o=n).document,l=a.body,c=a.documentElement,{scrollHeight:function(){return Math.max(l.scrollHeight,c.scrollHeight,l.offsetHeight,c.offsetHeight,l.clientHeight,c.clientHeight)},height:function(){return o.innerHeight||c.clientHeight||l.clientHeight},scrollY:function(){return void 0!==o.pageYOffset?o.pageYOffset:(c||l.parentNode||l).scrollTop}}):(r=n,{scrollHeight:function(){return Math.max(r.scrollHeight,r.offsetHeight,r.clientHeight)},height:function(){return Math.max(r.offsetHeight,r.clientHeight)},scrollY:function(){return r.scrollTop}}),f=d.scrollY(),p={};function g(){var t=Math.round(d.scrollY()),e=d.height(),n=d.scrollHeight();p.scrollY=t,p.lastScrollY=f,p.direction=fi.tolerance[p.direction],s(p),f=t,h=!1}function m(){h||(h=!0,e=requestAnimationFrame(g))}var v=!!u&&{passive:!0,capture:!1};return t.addEventListener("scroll",m,v),g(),{destroy:function(){cancelAnimationFrame(e),t.removeEventListener("scroll",m,v)}}}function n(t){return t===Object(t)?t:{down:t,up:t}}function i(t,e){e=e||{},Object.assign(this,i.options,e),this.classes=Object.assign({},i.options.classes,e.classes),this.elem=t,this.tolerance=n(this.tolerance),this.offset=n(this.offset),this.initialised=!1,this.frozen=!1}return i.prototype={constructor:i,init:function(){return i.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(t){t.scrollTracker=e(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin)&&this.onPin.call(this)},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(t){return"down"===t.direction&&!t.top&&t.toleranceExceeded},shouldPin:function(t){return"up"===t.direction&&t.toleranceExceeded||t.top},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "))},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "))},hasClass:function(t){return this.classes[t].split(" ").every(function(t){return this.classList.contains(t)},this.elem)},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin())}},i.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},i.cutsTheMustard=!!(t()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),i}),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Glide=e()})(this,function(){function e(e,t){var n,i=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)),i}function s(i){for(var t=1;t{if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}})();return function(){var t,e=o(n),e=(t=i?(t=o(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),this);if(!t||"object"!=typeof t&&"function"!=typeof t){if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(t=e))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t}}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=((t,e)=>{for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t})(t,e);if(i)return(i=Object.getOwnPropertyDescriptor(i,e)).get?i.get.call(arguments.length<3?t:n):i.value}).apply(this,arguments)}var H={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function f(t){return parseInt(t)}function c(t){return"string"==typeof t}function u(t){var e=n(t);return"function"===e||"object"===e&&t}function h(t){return"function"==typeof t}function d(t){return void 0===t}function p(t){return t.constructor===Array}function g(t,e,n){Object.defineProperty(t,e,n)}function m(e,n){var i=Object.assign({},e,n);return n.hasOwnProperty("classes")&&(i.classes=Object.assign({},e.classes,n.classes),["direction","type","slide","arrow","nav"].forEach(function(t){n.classes.hasOwnProperty(t)&&(i.classes[t]=s(s({},e.classes[t]),n.classes[t]))})),n.hasOwnProperty("breakpoints")&&(i.breakpoints=Object.assign({},e.breakpoints,n.breakpoints)),i}t(b,[{key:"on",value:function(t,e){var n;if(!p(t))return this.hop.call(this.events,t)||(this.events[t]=[]),n=this.events[t].push(e)-1,{remove:function(){delete this.events[t][n]}};for(var i=0;i{var i,s,r={};for(i in e)h(e[i])&&(r[i]=e[i](t,r,n));for(s in r)h(r[s].mount)&&r[s].mount();return r})(this,t,this._e)),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=0":"<","<":">","=":"="};function B(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}var x=!1;try{var S=Object.defineProperty({},"passive",{get:function(){x=!0}});window.addEventListener("testPassive",null,S),window.removeEventListener("testPassive",null,S)}catch(e){}var k=x,L=["touchstart","mousedown"],D=["touchmove","mousemove"],P=["touchend","touchcancel","mouseup","mouseleave"],j=["mousedown","mousemove","mouseup","mouseleave"],N='[data-glide-el^="controls"]',W="".concat(N,' [data-glide-dir*="<"]'),q="".concat(N,' [data-glide-dir*=">"]');function V(t){return u(t)?(n=t,Object.keys(n).sort().reduce(function(t,e){return t[e]=n[e],t},{})):{};var n}var $={Html:function(e,t,n){var i={mount:function(){this.root=e.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.collectSlides()},collectSlides:function(){this.slides=T(this.wrapper.children).filter(function(t){return!t.classList.contains(e.settings.classes.slide.clone)})}};return g(i,"root",{get:function(){return i._r},set:function(t){null!==(t=c(t)?document.querySelector(t):t)&&(i._r=t)}}),g(i,"track",{get:function(){return i._t},set:function(t){i._t=t}}),g(i,"wrapper",{get:function(){return i.track.children[0]}}),n.on("update",function(){i.collectSlides()}),i},Translate:function(o,a,e){var n={set:function(t){s=a,r=[function(t,n){return{modify:function(t){var e=Math.floor(t/n.Sizes.slideWidth);return t+n.Gaps.value*e}}},function(t,e){return{modify:function(t){return t+e.Clones.grow/2}}},function(n,i){return{modify:function(t){var e;return 0<=n.settings.focusAt?u(e=i.Peek.value)?t-e.before:t-e:t}}},function(r,o){return{modify:function(t){var e=o.Gaps.value,n=o.Sizes.width,i=r.settings.focusAt,s=o.Sizes.slideWidth;return"center"===i?t-(n/2-s/2):t-s*i-e*i}}}].concat((i=o)._t,[B]);var i,s,r,t=(t=>{for(var e=0;e")||a.Run.isOffset("|>")?t+(e-n):(e+n)%t},getTravelDistance:function(){var t=a.Sizes.slideWidth*o.settings.perView;return a.Run.isOffset(">")||a.Run.isOffset("|>")?-1*t:t}};return e.on("move",function(t){if(!o.isType("carousel")||!a.Run.isOffset())return n.set(t.movement);a.Transition.after(function(){e.emit("translate.jump"),n.set(a.Sizes.slideWidth*o.index)});t=a.Sizes.slideWidth*a.Translate.getStartIndex();return n.set(t-a.Translate.getTravelDistance())}),e.on("destroy",function(){n.remove()}),n},Transition:function(n,e,t){var i=!1,s={compose:function(t){var e=n.settings;return(i?"".concat(t," 0ms "):"".concat(t," ").concat(this.duration,"ms ")).concat(e.animationTimingFunc)},set:function(){e.Html.wrapper.style.transition=this.compose(0o?void(c.index=o):void(c.index=a);">"!==r||">"!==a?"<"!==r||"<"!==a?("|"===r&&(l=c.settings.perView||1),">"===r||"|"===r&&">"===a?(i=l,s=c.index,o<(s=c.isType("carousel")?s+i:s+(i-s%i))&&(this._o=!0),c.index=(i=s,s=l,n=u.length,i<=n?i:c.isType("carousel")?i-(n+1):c.settings.rewind?u.isBound()&&!u.isEnd()?n:0:u.isBound()?n:Math.floor(n/s)*s)):"<"===r||"|"===r&&"<"===a?(i=l,n=c.index,(s=c.isType("carousel")?n-i:(Math.ceil(n/i)-1)*i)<0&&(this._o=!0),c.index=(t=s,l=l,e=u.length,0<=t?t:c.isType("carousel")?t+(e+1):c.settings.rewind?u.isBound()&&u.isStart()?e:Math.floor(e/l)*l:0)):"Invalid direction pattern [".concat(r).concat(a,"] has been used")):c.index=0:c.index=o},isStart:function(){return c.index<=0},isEnd:function(){return c.index>=this.length},isOffset:function(){var t=0"===t?"|"===this.move.direction&&">"===this.move.steps:"|<"===t?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===t):this._o},isBound:function(){return c.isType("slider")&&"center"!==c.settings.focusAt&&c.settings.bound}};return g(u,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?f(e)?f(e):e:0}}}),g(u,"length",{get:function(){var t=c.settings,e=n.Html.slides.length;return this.isBound()?e-1-(f(t.perView)-1)+f(t.focusAt):e-1}}),g(u,"offset",{get:function(){return this._o}}),u},Swipe:function(a,l,c){var i=new C,u=0,h=0,d=0,e=!1,s=!!k&&{passive:!0},t={mount:function(){this.bindSwipeStart()},start:function(t){e||a.disabled||(this.disable(),t=this.touches(t),u=null,h=f(t.pageX),d=f(t.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),c.emit("swipe.start"))},move:function(t){if(!a.disabled){var e=a.settings,n=e.touchAngle,i=e.touchRatio,e=e.classes,s=this.touches(t),r=f(s.pageX)-h,s=f(s.pageY)-d,o=Math.abs(r<<2),s=Math.abs(s<<2),o=Math.sqrt(o+s),s=Math.sqrt(s);if(!(180*(u=Math.asin(s/o))/Math.PI"))):l.Move.make(),l.Html.root.classList.remove(i.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),c.emit("swipe.end"))},bindSwipeStart:function(){var e=this,t=a.settings,n=t.swipeThreshold,t=t.dragThreshold;n&&i.on(L[0],l.Html.wrapper,function(t){e.start(t)},s),t&&i.on(L[1],l.Html.wrapper,function(t){e.start(t)},s)},unbindSwipeStart:function(){i.off(L[0],l.Html.wrapper,s),i.off(L[1],l.Html.wrapper,s)},bindSwipeMove:function(){var e=this;i.on(D,l.Html.wrapper,w(function(t){e.move(t)},a.settings.throttle),s)},unbindSwipeMove:function(){i.off(D,l.Html.wrapper,s)},bindSwipeEnd:function(){var e=this;i.on(P,l.Html.wrapper,function(t){e.end(t)})},unbindSwipeEnd:function(){i.off(P,l.Html.wrapper)},touches:function(t){return-1",ArrowLeft:"<"}[t.code])))}};return t.on(["destroy","update"],function(){s.unbind()}),t.on("update",function(){s.mount()}),t.on("destroy",function(){e.destroy()}),s},Autoplay:function(e,n,i){var s=new C,t={mount:function(){this.enable(),this.start(),e.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var t=this;this._e&&(this.enable(),e.settings.autoplay)&&d(this._i)&&(this._i=setInterval(function(){t.stop(),n.Run.make(">"),t.start(),i.emit("autoplay")},this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;s.on("mouseover",n.Html.root,function(){t._e&&t.stop()}),s.on("mouseout",n.Html.root,function(){t._e&&t.start()})},unbind:function(){s.off(["mouseover","mouseout"],n.Html.root)}};return g(t,"time",{get:function(){return f(n.Html.slides[e.index].getAttribute("data-glide-autoplay")||e.settings.autoplay)}}),i.on(["destroy","update"],function(){t.unbind()}),i.on(["run.before","swipe.start","update"],function(){t.stop()}),i.on(["pause","destroy"],function(){t.disable(),t.stop()}),i.on(["run.after","swipe.end"],function(){t.start()}),i.on(["play"],function(){t.enable(),t.start()}),i.on("update",function(){t.mount()}),i.on("destroy",function(){s.destroy()}),t},Breakpoints:function(t,e,n){var i=new C,s=t.settings,r=V(s.breakpoints),o=Object.assign({},s),a={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: ".concat(e,"px)")).matches)return t[e];return o}};return Object.assign(s,a.match(r)),i.on("resize",window,w(function(){t.settings=m(s,a.match(r))},t.settings.throttle)),n.on("update",function(){r=V(r),o=Object.assign({},s)}),n.on("destroy",function(){i.off("resize",window)}),a}},S=M;if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(v.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),a(S,v);var Y=I(M);function M(){return i(this,M),Y.apply(this,arguments)}return t(M,[{key:"mount",value:function(){var t=0