!function(){"use strict";var e,t;s=function(){const n=new Map,j={set(e,t,i){n.has(e)||n.set(e,new Map);e=n.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get:(e,t)=>n.has(e)&&n.get(e).get(t)||null,remove(e,t){var i;n.has(e)&&((i=n.get(e)).delete(t),0===i.size)&&n.delete(e)}},q="transitionend",F=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,H=e=>{e.dispatchEvent(new Event(q))},r=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,s=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&0{if(!r(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},a=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),z=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?z(e.parentNode):null:null},B=()=>{},R=e=>{e.offsetHeight},W=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,V=[],l=()=>"rtl"===document.documentElement.dir,e=n=>{var e=()=>{const e=W();if(e){const t=n.NAME,i=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}};"loading"===document.readyState?(V.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of V)e()}),V.push(e)):e()},c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,U=(i,s,e=!0)=>{if(e){e=(()=>{if(!s)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(s);var i=Number.parseFloat(e),n=Number.parseFloat(t);return i||n?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1;const n=({target:e})=>{e===s&&(t=!0,s.removeEventListener(q,n),c(i))};s.addEventListener(q,n),setTimeout(()=>{t||H(s)},e)}else c(i)},$=(e,t,i,n)=>{var s=e.length;let o=e.indexOf(t);return-1===o?!i&&n?e[s-1]:e[0]:(o+=i?1:-1,n&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},Q=/[^.]*(?=\..*)\.|.*/,K=/\..*/,Y=/::\d+$/,X={};let J=1;const Z={mouseenter:"mouseover",mouseleave:"mouseout"},G=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+"::"+J++||e.uidEvent||J++}function te(e){var t=ee(e);return e.uidEvent=t,X[t]=X[t]||{},X[t]}function ie(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function ne(e,t,i){var n="string"==typeof t,t=!n&&t||i;let s=re(e);return[n,t,s=G.has(s)?s:e]}function se(n,s,o,r,a){if("string"==typeof s&&n){let[e,t,i]=ne(s,o,r);if(s in Z){const n=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};t=n(t)}var r=te(n),r=r[i]||(r[i]={}),l=ie(r,t,e?o:null);if(l)return l.oneOff=l.oneOff&&a;var c,d,h,u,p,l=ee(t,s.replace(Q,"")),s=e?(h=n,u=o,p=t,function t(i){var n=h.querySelectorAll(u);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const s of n)if(s===e)return ae(i,{delegateTarget:e}),t.oneOff&&f.off(h,i.type,u,p),p.apply(e,[i])}):(c=n,d=t,function e(t){return ae(t,{delegateTarget:c}),e.oneOff&&f.off(c,t.type,d),d.apply(c,[t])});s.delegationSelector=e?o:null,s.callable=t,s.oneOff=a,r[s.uidEvent=l]=s,n.addEventListener(i,s,e)}}function oe(e,t,i,n,s){n=ie(t[i],n,s);n&&(e.removeEventListener(i,n,Boolean(s)),delete t[i][n.uidEvent])}function re(e){return e=e.replace(K,""),Z[e]||e}const f={on(e,t,i,n){se(e,t,i,n,!1)},one(e,t,i,n){se(e,t,i,n,!0)},off(e,t,i,n){if("string"==typeof t&&e){const[h,u,p]=ne(t,i,n),f=p!==t,m=te(e),g=m[p]||{},_=t.startsWith(".");if(void 0===u){if(_)for(const i of Object.keys(m)){s=void 0;o=void 0;r=void 0;a=void 0;d=void 0;l=void 0;c=void 0;var s=e;var o=m;var r=i;var a=t.slice(1);var l,c,d=o[r]||{};for([l,c]of Object.entries(d))l.includes(a)&&oe(s,o,r,c.callable,c.delegationSelector)}for(const[i,n]of Object.entries(g)){const h=i.replace(Y,"");f&&!t.includes(h)||oe(e,m,p,n.callable,n.delegationSelector)}}else Object.keys(g).length&&oe(e,m,p,u,h?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var n=W();let s=null,o=!0,r=!0,a=!1;t!==re(t)&&n&&(s=n.Event(t,i),n(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());n=ae(new Event(t,{bubbles:o,cancelable:!0}),i);return a&&n.preventDefault(),r&&e.dispatchEvent(n),n.defaultPrevented&&s&&s.preventDefault(),n}};function ae(e,t={}){for(const[i,n]of Object.entries(t))try{e[i]=n}catch(t){Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}function le(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function ce(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}const d={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+ce(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+ce(t))},getDataAttributes(t){if(!t)return{};var i={};for(const n of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=n.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=le(t.dataset[n])}return i},getDataAttribute:(e,t)=>le(e.getAttribute("data-bs-"+ce(t)))};class de{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var i=r(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...r(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,n]of Object.entries(t)){const t=e[i],o=r(t)?"element":null==(s=t)?""+s:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${n}".`)}var s}}class t extends de{constructor(e,t){super(),(e=s(e))&&(this._element=e,this._config=this._getConfig(t),j.set(this._element,this.constructor.DATA_KEY,this))}dispose(){j.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){U(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return j.get(s(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.3.2"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}const he=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?F(e.trim()):null}return i},h={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){var i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);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)&&o(e))},getSelectorFromElement(e){e=he(e);return e&&h.findOne(e)?e:null},getElementFromSelector(e){e=he(e);return e?h.findOne(e):null},getMultipleElementsFromSelector(e){e=he(e);return e?h.find(e):[]}},ue=(t,i="hide")=>{const e="click.dismiss"+t.EVENT_KEY,n=t.NAME;f.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(e=h.getElementFromSelector(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class pe extends t{static get NAME(){return"alert"}close(){var e;f.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(),f.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=pe.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)}})}}ue(pe,"close"),e(pe);const fe='[data-bs-toggle="button"]';class me 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(){var e=me.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}f.on(document,"click.bs.button.data-api",fe,e=>{e.preventDefault();e=e.target.closest(fe);me.getOrCreateInstance(e).toggle()}),e(me);const i=".bs.swipe",ge=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),_e={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ve extends de{constructor(e,t){super(),(this._element=e)&&ve.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ge}static get DefaultType(){return _e}static get NAME(){return"swipe"}dispose(){f.off(this._element,i)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1this._start(e)),f.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(f.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),f.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),f.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,Ae,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?f.one(this._element,Ae,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=tthis._keydown(e)),"hover"===this._config.pause&&(f.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),f.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&ve.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of h.find(".carousel-item img",this._element))f.on(e,"dragstart.bs.carousel",e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(p)),rightCallback:()=>this._slide(this._directionToOrder(we)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ve(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Ce[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=h.findOne(Te,this._indicatorsElement)).classList.remove(Se),t.removeAttribute("aria-current"),t=h.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Se),t.setAttribute("aria-current","true"))}_updateInterval(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const i=this._getActive(),n=t===ye,s=e||$(this._getItems(),i,n,this._config.wrap);if(s!==i){const o=this._getItemIndex(s),r=e=>f.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(!r("slide.bs.carousel").defaultPrevented&&i&&s){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const a=n?"carousel-item-start":"carousel-item-end",l=n?"carousel-item-next":"carousel-item-prev";s.classList.add(l),R(s),i.classList.add(a),s.classList.add(a),this._queueCallback(()=>{s.classList.remove(a,l),s.classList.add(Se),i.classList.remove(Se,l,a),this._isSliding=!1,r(Ae)},i,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return h.findOne(".active.carousel-item",this._element)}_getItems(){return h.find(Oe,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===p?u:ye:e===p?ye:u}_orderToDirection(e){return l()?e===u?p:we:e===u?we:p}static jQueryInterface(t){return this.each(function(){var e=ke.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}f.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){var t=h.getElementFromSelector(this);t&&t.classList.contains(Ee)&&(e.preventDefault(),e=ke.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{for(const e of h.find('[data-bs-ride="carousel"]'))ke.getOrCreateInstance(e)}),e(ke);const De="show",m="collapse",Ie="collapsing",Me=(m,m,'[data-bs-toggle="collapse"]'),Ne={parent:null,toggle:!0},Pe={parent:"(null|element)",toggle:"boolean"};class je extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=h.find(Me);for(const e of i){const t=h.getSelectorFromElement(e),i=h.find(t).filter(e=>e===this._element);null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ne}static get DefaultType(){return Pe}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(e=>e!==this._element).map(e=>je.getOrCreateInstance(e,{toggle:!1})):e).length&&e[0]._isTransitioning||f.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(const i of e)i.hide();const i=this._getDimension();this._element.classList.remove(m),this._element.classList.add(Ie),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var t="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(m,De),this._element.style[i]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[t]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!f.trigger(this._element,"hide.bs.collapse").defaultPrevented){const t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",R(this._element),this._element.classList.add(Ie),this._element.classList.remove(m,De);for(const t of this._triggerArray){var e=h.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(m),f.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains(De)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=s(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const e=this._getFirstLevelChildren(Me);for(const t of e){const e=h.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}}_getFirstLevelChildren(e){const t=h.find(":scope .collapse .collapse",this._config.parent);return h.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){const i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=je.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.collapse.data-api",Me,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of h.getMultipleElementsFromSelector(this))je.getOrCreateInstance(e,{toggle:!1}).toggle()}),e(je);var C="top",x="bottom",L="right",k="left",qe="auto",D=[C,x,L,k],I="start",b="end",Fe="clippingParents",He="viewport",ze="popper",Be="reference",Re=D.reduce(function(e,t){return e.concat([t+"-"+I,t+"-"+b])},[]),We=[].concat(D,[qe]).reduce(function(e,t){return e.concat([t,t+"-"+I,t+"-"+b])},[]),Ve="beforeRead",Ue="afterRead",$e="beforeMain",Qe="afterMain",Ke="beforeWrite",Ye="afterWrite",Xe=[Ve,"read",Ue,$e,"main",Qe,Ke,"write",Ye];function g(e){return e?(e.nodeName||"").toLowerCase():null}function y(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function _(e){return e instanceof y(e).Element||e instanceof Element}function v(e){return e instanceof y(e).HTMLElement||e instanceof HTMLElement}function Je(e){return"undefined"!=typeof ShadowRoot&&(e instanceof y(e).ShadowRoot||e instanceof ShadowRoot)}var Ze={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var s=e.state;Object.keys(s.elements).forEach(function(e){var t=s.styles[e]||{},i=s.attributes[e]||{},n=s.elements[e];v(n)&&g(n)&&(Object.assign(n.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var n=e.state,s={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,s.popper),n.styles=s,n.elements.arrow&&Object.assign(n.elements.arrow.style,s.arrow),function(){Object.keys(n.elements).forEach(function(e){var t=n.elements[e],i=n.attributes[e]||{},e=Object.keys((n.styles.hasOwnProperty(e)?n.styles:s)[e]).reduce(function(e,t){return e[t]="",e},{});v(t)&&g(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function M(e){return e.split("-")[0]}var O=Math.max,Ge=Math.min,et=Math.round;function tt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function it(){return!/^((?!chrome|android).)*safari/i.test(tt())}function nt(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,o=1,t=(t&&v(e)&&(s=0c[S]&&(E=wt(E)),wt(E)),S=[];if(n&&S.push(T[w]<=0),s&&S.push(T[E]<=0,T[A]<=0),S.every(function(e){return e})){v=y,_=!1;break}d.set(y,S)}if(_)for(var O=m?3:1;0Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=h.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>o(e));i.length&&$(i,t,e===Xt,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=S.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key)){const n=h.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(const s of n){const n=S.getInstance(s);var t,i;n&&!1!==n._config.autoClose&&(t=(i=e.composedPath()).includes(n._menu),i.includes(n._element)||"inside"===n._config.autoClose&&!t||"outside"===n._config.autoClose&&t||n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:n._element},"click"===e.type&&(i.clickEvent=e),n._completeHide(i)))}}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=["ArrowUp",Xt].includes(e.key);!n&&!i||t&&!i||(e.preventDefault(),t=this.matches(E)?this:h.prev(this,E)[0]||h.next(this,E)[0]||h.findOne(E,e.delegateTarget.parentNode),i=S.getOrCreateInstance(t),n?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}f.on(document,Zt,E,S.dataApiKeydownHandler),f.on(document,Zt,ei,S.dataApiKeydownHandler),f.on(document,Jt,S.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",S.clearMenus),f.on(document,Jt,E,function(e){e.preventDefault(),S.getOrCreateInstance(this).toggle()}),e(S);const ci="backdrop",di="mousedown.bs."+ci,hi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ui={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class pi extends de{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return hi}static get DefaultType(){return ui}static get NAME(){return ci}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&R(t),t.classList.add("show"),this._emulateAnimation(()=>{c(e)})):c(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(e)})):c(e)}dispose(){this._isAppended&&(f.off(this._element,di),this._element.remove(),this._isAppended=!1)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_configAfterMerge(e){return e.rootElement=s(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),f.on(e,di,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){U(e,this._getElement(),this._config.isAnimated)}}const fi=".bs.focustrap",mi=(fi,fi,"backward"),gi={autofocus:!0,trapElement:null},_i={autofocus:"boolean",trapElement:"element"};class vi extends de{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gi}static get DefaultType(){return _i}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,fi),f.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),f.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,fi))}_handleFocusin(e){var t=this._config["trapElement"];e.target===document||e.target===t||t.contains(e.target)||(0===(e=h.focusableChildren(t)).length?t:this._lastTabNavDirection===mi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?mi:"forward")}}const bi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",yi=".sticky-top",wi="padding-right",Ai="margin-right";class Ei{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,wi,e=>e+t),this._setElementAttributes(bi,wi,e=>e+t),this._setElementAttributes(yi,Ai,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,wi),this._resetElementAttributes(bi,wi),this._resetElementAttributes(yi,Ai)}isOverflowing(){return 0{var t;e!==this._element&&window.innerWidth>e.clientWidth+s||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,n(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&d.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=d.getDataAttribute(e,i);null!==t?(d.removeDataAttribute(e,i),e.style.setProperty(i,t)):e.style.removeProperty(i)})}_applyManipulationCallback(e,t){if(r(e))t(e);else for(const i of h.find(e,this._element))t(i)}}const T=".bs.modal",Si=(T,T,"hidden"+T),Ti="show"+T,Oi=(T,T,T,T,T,T,"modal-open"),Ci="modal-static",xi={backdrop:!0,focus:!0,keyboard:!0},Li={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ki extends t{constructor(e,t){super(e,t),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 Ei,this._addEventListeners()}static get Default(){return xi}static get DefaultType(){return Li}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||f.trigger(this._element,Ti,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Oi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||f.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(){f.off(window,T),f.off(this._dialog,T),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new pi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new vi({trapElement:this._element})}_showElement(e){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 t=h.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),R(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),f.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,"mousedown.dismiss.bs.modal",t=>{f.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Oi),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,Si)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!f.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Ci)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ci),this._queueCallback(()=>{this._element.classList.remove(Ci),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=0{e.defaultPrevented||f.one(t,Si,()=>{o(this)&&this.focus()})});e=h.findOne(".modal.show");e&&ki.getInstance(e).hide(),ki.getOrCreateInstance(t).toggle(this)}),ue(ki),e(ki);const Di=".bs.offcanvas",Ii="showing",Mi=".offcanvas.show",Ni="hidePrevented"+Di,Pi="hidden"+Di,ji={backdrop:!0,keyboard:!0,scroll:!1},qi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class N extends t{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ji}static get DefaultType(){return qi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||f.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ei).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ii),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Ii),f.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){!this._isShown||f.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 Ei).reset(),f.trigger(this._element,Pi)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new pi({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():f.trigger(this._element,Ni)}:null})}_initializeFocusTrap(){return new vi({trapElement:this._element})}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():f.trigger(this._element,Ni))})}static jQueryInterface(t){return this.each(function(){var e=N.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)}})}}f.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=h.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(f.one(t,Pi,()=>{o(this)&&this.focus()}),(e=h.findOne(Mi))&&e!==t&&N.getInstance(e).hide(),N.getOrCreateInstance(t).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of h.find(Mi))N.getOrCreateInstance(e).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(const e of h.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&N.getOrCreateInstance(e).hide()}),ue(N),e(N);const Fi={"*":["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:[]},Hi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Bi={allowList:Fi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Ri={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Wi={entry:"(string|element|function|null)",selector:"(string|element)"};class Vi extends de{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Bi}static get DefaultType(){return Ri}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0{const i=e.nodeName.toLowerCase();return t.includes(i)?!Hi.has(i)||Boolean(zi.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(i,o)||t.removeAttribute(i.nodeName)}else t.remove()}return s.body.innerHTML}return e}_resolvePossibleFunction(e){return c(e,[this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}const Ui=new Set(["sanitize","allowList","sanitizeFn"]),$i="fade",Qi="show",Ki="hide.bs.modal",Yi="hover",Xi="focus",Ji={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Zi={allowList:Fi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Gi={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 en extends t{constructor(e,t){if(void 0===$t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),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 Zi}static get DefaultType(){return Gi}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),f.off(this._element.closest(".modal"),Ki,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){const i=f.trigger(this._element,this.constructor.eventName("show")),n=(z(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!i.defaultPrevented&&n){this._disposePopper();var e=this._getTipElement(),t=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(Qi),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))f.on(i,"mouseover",B);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()&&!f.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Qi),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))f.off(e,"mouseover",B);this._activeTrigger.click=!1,this._activeTrigger[Xi]=!1,this._activeTrigger[Yi]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.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(e){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove($i,Qi),e.classList.add(`bs-${this.constructor.NAME}-auto`);var t=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add($i),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Vi({...this._config,content:e,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(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains($i)}_isShown(){return this.tip&&this.tip.classList.contains(Qi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Ji[t.toUpperCase()];return Ut(this._element,e,this._getPopperConfig(t))}_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 c(e,[this._element])}_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:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,...c(this._config.popperConfig,[e])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)f.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if("manual"!==t){const e=t===Yi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===Yi?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");f.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Xi:Yi]=!0,t._enter()}),f.on(this._element,i,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Xi:Yi]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),Ki,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){var t=d.getDataAttributes(this._element);for(const e of Object.keys(t))Ui.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:s(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()),e}_getDelegateConfig(){var e,t,i={};for([e,t]of Object.entries(this._config))this.constructor.Default[e]!==t&&(i[e]=t);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){var e=en.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(en);const tn={...en.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},nn={...en.DefaultType,content:"(null|string|element|function)"};class sn extends en{static get Default(){return tn}static get DefaultType(){return nn}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(t){return this.each(function(){var e=sn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(sn);const on=".bs.scrollspy",rn="click"+on,an="active",ln="[href]",cn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},dn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class hn extends t{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cn}static get DefaultType(){return dn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=s(e.target)||document.body,e.rootMargin=e.offset?e.offset+"px 0px -30%":e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,rn),f.on(this._config.target,rn,ln,e=>{var t=this._observableSections.get(e.target.hash);t&&(e.preventDefault(),e=this._rootElement||window,t=t.offsetTop-this._element.offsetTop,e.scrollTo?e.scrollTo({top:t,behavior:"smooth"}):e.scrollTop=t)}))}_getNewObserver(){var e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#"+e.target.id),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of e)if(o.isIntersecting){const e=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&e){if(i(o),!n)return}else s||e||i(o)}else this._activeTarget=null,this._clearActiveClass(t(o))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=h.find(ln,this._config.target);for(const t of e)if(t.hash&&!a(t)){const e=h.findOne(decodeURI(t.hash),this._element);o(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(an),this._activateParents(e),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))h.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(an);else for(const t of h.parents(e,".nav, .list-group"))for(const e of h.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(an)}_clearActiveClass(e){e.classList.remove(an);var t=h.find(ln+"."+an,e);for(const e of t)e.classList.remove(an)}static jQueryInterface(t){return this.each(function(){var e=hn.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]()}})}}f.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of h.find('[data-bs-spy="scroll"]'))hn.getOrCreateInstance(e)}),e(hn);const un="ArrowRight",pn="ArrowDown",fn="Home",P="active",mn="show",gn=".dropdown-toggle",_n=`:not(${gn})`,vn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',bn=`.nav-link${_n}, .list-group-item${_n}, [role="tab"]`+_n+", "+vn;P,P,P;class yn extends t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){var e,t,i=this._element;this._elemIsActive(i)||(t=(e=this._getActiveElem())?f.trigger(e,"hide.bs.tab",{relatedTarget:i}):null,f.trigger(i,"show.bs.tab",{relatedTarget:e}).defaultPrevented)||t&&t.defaultPrevented||(this._deactivate(e,i),this._activate(i,e))}_activate(e,t){e&&(e.classList.add(P),this._activate(h.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),f.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(mn)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(P),e.blur(),this._deactivate(h.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),f.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(mn)},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",un,"ArrowUp",pn,fn,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,n=this._getChildren().filter(e=>!a(e));let e;(e=[fn,"End"].includes(t.key)?n[t.key===fn?0:n.length-1]:(i=[un,pn].includes(t.key),$(n,t.target,i,!0)))&&(e.focus({preventScroll:!0}),yn.getOrCreateInstance(e).show())}}_getChildren(){return h.find(bn,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){var t=h.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){const n=this._getOuterElement(e);n.classList.contains("dropdown")&&((e=(e,t)=>{e=h.findOne(e,n);e&&e.classList.toggle(t,i)})(gn,P),e(".dropdown-menu",mn),n.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(P)}_getInnerElement(e){return e.matches(bn)?e:h.findOne(bn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=yn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.tab",vn,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||yn.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(const e of h.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))yn.getOrCreateInstance(e)}),e(yn);const wn="show",An="showing",En={animation:"boolean",autohide:"boolean",delay:"number"},Sn={animation:!0,autohide:!0,delay:5e3};class Tn extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Sn}static get DefaultType(){return En}static get NAME(){return"toast"}show(){f.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),R(this._element),this._element.classList.add(wn,An),this._queueCallback(()=>{this._element.classList.remove(An),f.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this.isShown()||f.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(An),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(An,wn),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(wn),super.dispose()}isShown(){return this._element.classList.contains(wn)}_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(){f.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),f.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),f.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),f.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(){var e=Tn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return ue(Tn),e(Tn),{Alert:pe,Button:me,Carousel:ke,Collapse:je,Dropdown:S,Modal:ki,Offcanvas:N,Popover:sn,ScrollSpy:hn,Tab:yn,Toast:Tn,Tooltip:en}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):("undefined"!=typeof globalThis?globalThis:self).bootstrap=s(),window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t,i=(this.document||this.ownerDocument).querySelectorAll(e),n=this;do{for(t=i.length;0<=--t&&i.item(t)!==n;);}while(t<0&&(n=n.parentElement));return n}),"function"!=typeof window.CustomEvent&&(J.prototype=window.Event.prototype,window.CustomEvent=J);for(var o=0,i=["ms","moz","webkit","o"],n=0;ne.durationMax?e.durationMax:e.durationMin&&t=h?(y.cancelScroll(!0),S(s,t,g),T("scrollStop",m,s,o),b=a=null):(b=w.requestAnimationFrame(f),a=e)},0===w.pageYOffset&&w.scrollTo(0,0),e=s,g||history.pushState&&m.updateURL&&history.pushState({smoothScroll:JSON.stringify(m),anchor:e.id},document.title,e===document.documentElement?"#top":"#"+e.id),"matchMedia"in w&&w.matchMedia("(prefers-reduced-motion)").matches?S(s,Math.floor(c),!1):(T("scrollStart",m,s,o),y.cancelScroll(!0),w.requestAnimationFrame(f)))}};if(y.destroy=function(){_&&(document.removeEventListener("click",t,!1),w.removeEventListener("popstate",i,!1),y.cancelScroll(),b=v=s=_=null)},"querySelector"in document&&"addEventListener"in w&&"requestAnimationFrame"in w&&"closest"in w.Element.prototype)return y.destroy(),_=A(O,e||{}),v=_.header?document.querySelector(_.header):null,document.addEventListener("click",t,!1),_.updateURL&&_.popstate&&w.addEventListener("popstate",i,!1),y;throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs."}},"function"==typeof define&&define.amd?define([],function(){return t(e)}):"object"==typeof exports?module.exports=t(e):e.SmoothScroll=t(e);var s=document.querySelector(".navbar.fixed-top");if(null!=s){const T=s.classList,O=e=>{20{O(e)}),window.addEventListener("scroll",e=>{O(e)})}null!==document.querySelector("[data-aos]")&&AOS.init(),new SmoothScroll("[data-scroll]",{speed:800,speedAsDuration:!0,offset:(e,t)=>t.dataset.scrollOffset||20,header:"[data-scroll-header]",updateURL:!1});{const C=document.querySelector(".btn-scroll-top");if(null!=C){const Z=parseInt(450,10),x=C.querySelector("svg circle"),k=x.getTotalLength();x.style.strokeDasharray=k,x.style.strokeDashoffset=k,window.addEventListener("scroll",e=>{e.currentTarget.pageYOffset>Z?C.classList.add("show"):C.classList.remove("show"),e=(document.body.scrollTop+document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight),e=k*e,x.style.strokeDashoffset=k-e})}}(()=>{var t=document.querySelectorAll(".masonry-grid");let n;if(null!==t)for(let e=0;e{n.layout()});const s=t[e].closest(".masonry-filterable");if(null===s)return;var i=s.querySelectorAll(".masonry-filters [data-group]");for(let e=0;e{"checkbox"===e.target.type&&(e.target.checked?D.type="text":D.type="password")},!1)}var a=document.querySelectorAll(".interactive-map");if(0!==a.length)for(let e=0;e© MapTiler © OpenStreetMap contributors',crossOrigin:!0}).addTo(t),c)for(let e=0;e© MapTiler © OpenStreetMap contributors',crossOrigin:!0}).addTo(t)}var u=document.querySelectorAll(".parallax");for(let e=0;e{let n;if((n=null!=i.dataset.swiperOptions?JSON.parse(i.dataset.swiperOptions):n).thumbnails){let i=n.thumbnails.images;n=Object.assign({},n,{pagination:{el:n.thumbnails.el,clickable:!0,bulletActiveClass:"active",renderBullet:(e,t)=>`
  • Thumbnail
  • `}})}i=new Swiper(i,n);if(n.controlledSlider){const t=document.querySelector(n.controlledSlider);let e;null!=t.dataset.swiperOptions&&(e=JSON.parse(t.dataset.swiperOptions));var s=new Swiper(t,e);i.controller.control=s}n.bindedContent&&i.on("activeIndexChange",e=>{var t=document.querySelector(e.slides[e.activeIndex].dataset.swiperBinded);document.querySelector(e.slides[e.previousIndex].dataset.swiperBinded).classList.remove("active"),t.classList.add("active")})};for(let e=0;e{let i=e[t];i=i.replace(/\D/g,""),t?s&&(s.value=Math.round(i)):n&&(n.value=Math.round(i))}),n&&n.addEventListener("change",function(){e.noUiSlider.set([this.value,null])}),s&&s.addEventListener("change",function(){e.noUiSlider.set([null,this.value])})}var _=document.querySelectorAll(".date-picker");if(0!==_.length)for(let t=0;t<_.length;t++){var v={disableMobile:"true"};let e;null!=_[t].dataset.datepickerOptions&&(e=JSON.parse(_[t].dataset.datepickerOptions));v={...v,..._[t].classList.contains("date-range")?{plugins:[new rangePlugin({input:_[t].dataset.linkedInput})]}:"{}",...e};flatpickr(_[t],v)}var U=document.querySelectorAll(".calendar"),$=(e,t)=>{let i;var n={themeSystem:"bootstrap5",...i=null!=t.dataset.calendarOptions?JSON.parse(t.dataset.calendarOptions):i};new FullCalendar.Calendar(t,n).render()};for(let e=0;e{var e=document.getElementsByClassName("needs-validation");Array.prototype.filter.call(e,t=>{t.addEventListener("submit",e=>{!1===t.checkValidity()&&(e.preventDefault(),e.stopPropagation()),t.classList.add("was-validated")},!1)})},!1);var b=document.querySelectorAll("[data-format]");if(0!==b.length)for(let n=0;n{i.className="credit-card-icon "+e}}):new Cleave(t,e)}var Q=document.querySelectorAll("[data-binded-label]");for(let e=0;e{e=e.currentTarget.dataset.bindedContent;(e=>{let t=[],i=e.parentNode.firstChild;for(;i;)1===i.nodeType&&i!==e&&t.push(i),i=i.nextSibling;return t})(e=document.querySelector(e)).map(e=>{e.classList.remove("active")}),e.classList.add("active")})}var K=document.querySelectorAll(".count-input");for(let e=0;e{N.value++},ie=()=>{0{P[e].focus()})}}[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map(e=>new bootstrap.Tooltip(e,{trigger:"hover"})),[...document.querySelectorAll('[data-bs-toggle="popover"]')].map(e=>new bootstrap.Popover(e)),[].slice.call(document.querySelectorAll(".toast")).map(e=>new bootstrap.Toast(e));var y=document.querySelectorAll('[data-bs-toggle="video"]');if(y.length)for(let e=0;e{var t=e.currentTarget.querySelector("[data-monthly-switch]"),i=e.currentTarget.querySelector("[data-annual-switch]"),n=e.currentTarget.closest(".price-switch-wrapper").querySelectorAll("[data-monthly-price]"),e=e.currentTarget.closest(".price-switch-wrapper").querySelectorAll("[data-annual-price]");if(1==t.checked){var s=n,o=e;for(let e=0;e{e.preventDefault();var e=document.querySelector(e.target.dataset.bsTarget),t=e.querySelectorAll('input[type="checkbox"]');if(e.classList.toggle("all-checked"),e.classList.contains("all-checked"))for(let e=0;e{t.innerHTML="Sending...";const o=e.action.replace("/post?","/post-json?"),r="&"+i.name+"="+encodeURIComponent(i.value),a=document.createElement("script"),l=(a.src=o+"&c=callback"+r,document.body.appendChild(a),"callback");window[l]=e=>{delete window[l],document.body.removeChild(a),t.innerHTML=n,"success"==e.result?(i.classList.remove("is-invalid"),i.classList.add("is-valid"),s.classList.remove("status-error"),s.classList.add("status-success"),s.innerHTML=e.msg,setTimeout(()=>{i.classList.remove("is-valid"),s.innerHTML="",s.classList.remove("status-success")},6e3)):(i.classList.remove("is-valid"),i.classList.add("is-invalid"),s.classList.remove("status-success"),s.classList.add("status-error"),s.innerHTML=e.msg.substring(4),setTimeout(()=>{i.classList.remove("is-invalid"),s.innerHTML="",s.classList.remove("status-error")},6e3))}}}}();