1function getLatLngByZipcode(e,i){var t=new google.maps.Geocoder,s=$("#location-error");t.geocode({address:e},function(e,t){"OK"===t&&0<e.length?(s.hide(),e=e[0].geometry.location,i({lat:e.lat(),lng:e.lng()})):handleGeocodeError(t,s)})}function getLatLngByStateOrLocation(e,i){var t=new google.maps.Geocoder,s=$("#location-error");t.geocode({address:e},function(e,t){"OK"===t&&0<e.length?(s.hide(),e=e[0].geometry.location,i({lat:e.lat(),lng:e.lng()})):handleGeocodeError(t,s)})}function handleGeocodeError(e,t){console.error("Geocode was not successful for the following reason: "+e),t.text("Invalid input. Please enter a valid ZIP code, state, or location name."),t.show()}((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()})(this,function(){let s=new Map,j={set(e,t,i){s.has(e)||s.set(e,new Map);e=s.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)=>s.has(e)&&s.get(e).get(t)||null,remove(e,t){var i;s.has(e)&&((i=s.get(e)).delete(t),0===i.size)&&s.delete(e)}},B="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(B))},o=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,n=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(F(e)):null,r=t=>
1{if(!o(t)||0===t.getClientRects().length)return!1;let e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(i&&i!==t){let e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},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},q=()=>{},V=e=>{e.offsetHeight},W=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$=[],l=()=>"rtl"===document.documentElement.dir,e=s=>{var e=()=>{let i=W();if(i){let e=s.NAME,t=i.fn[e];i.fn[e]=s.jQueryInterface,i.fn[e].Constructor=s,i.fn[e].noConflict=()=>(i.fn[e]=t,s.jQueryInterface)}};"loading"===document.readyState?($.length||document.addEventListener("DOMContentLoaded",()=>{for(var e of $)e()}),$.push(e)):e()},c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,R=(s,n,e=!0)=>{if(e){e=(()=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);var i=Number.parseFloat(e),s=Number.parseFloat(t);return i||s?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1,i=({target:e})=>{e===n&&(t=!0,n.removeEventListener(B,i),c(s))};n.addEventListener(B,i),setTimeout(()=>{t||H(n)},e)}else c(s)},K=(e,t,i,s)=>{var n=e.length;let r=e.indexOf(t);return-1===r?!i&&s?e[n-1]:e[0]:(r+=i?1:-1,s&&(r=(r+n)%n),e[Math.max(0,Math.min(r,n-1))])},Q=/[^.]*(?=\..*)\.|.*/,Y=/\..*/,X=/::\d+$/,U={}
1,G=1,Z={mouseenter:"mouseover",mouseleave:"mouseout"},J=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ee(e,t){return t&&t+"::"+G++||e.uidEvent||G++}function te(e){var t=ee(e);return e.uidEvent=t,U[t]=U[t]||{},U[t]}function ie(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function se(e,t,i){var s="string"==typeof t,t=!s&&t||i;let n=oe(e);return[s,t,n=J.has(n)?n:e]}function ne(s,n,r,o,a){if("string"==typeof n&&s){let[e,t,i]=se(n,r,o);if(n in Z){let e=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};t=e(t)}var o=te(s),o=o[i]||(o[i]={}),l=ie(o,t,e?r:null);if(l)return l.oneOff=l.oneOff&&a;var c,h,d,u,p,l=ee(t,n.replace(Q,"")),n=e?(d=s,u=r,p=t,function t(i){var s=d.querySelectorAll(u);for(let e=i.target;e&&e!==this;e=e.parentNode)for(var n of s)if(n===e)return ae(i,{delegateTarget:e}),t.oneOff&&f.off(d,i.type,u,p),p.apply(e,[i])}):(c=s,h=t,function e(t){return ae(t,{delegateTarget:c}),e.oneOff&&f.off(c,t.type,h),h.apply(c,[t])});n.delegationSelector=e?r:null,n.callable=t,n.oneOff=a,o[n.uidEvent=l]=n,s.addEventListener(i,n,e)}}function re(e,t,i,s,n){s=ie(t[i],s,n);s&&(e.removeEventListener(i,s,Boolean(n)),delete t[i][s.uidEvent])}function oe(e){return e=e.replace(Y,""),Z[e]||e}let f={on(e,t,i,s){ne(e,t,i,s,!1)},one(e,t,i,s){ne(e,t,i,s,!0)},off(a,l,c,h){if("string"==typeof l&&a){let[e,t,s]=se(l,c,h),n=s!==l,r=te(a),o=r[s]||{},i=l.startsWith(".");if(void 0===t){if(i)for(let e of Object.keys(r)){d=void 0;u=void 0;p=void 0;f=void 0;_=void 0;g=void 0;m=void 0;var d=a;var u=r;var p=e;var f=l.slice(1);var g,m,_=u[p]||{};for([g,m]of Object.entries(_))g.includes(f)&&re(d,u,p,m.callable,m.delegationSelector)}for(let[t,i]of Object.entries(o)){let e=t.replace(X,"");n&&!l.includes(e)||re(a,r,s,i.callable,i.delegationSelector)}}else Object.keys(o).length&&re(a,r,s,t,e?c:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var s=W();let n=null,r=!0,o=!0,a=!1;t!==oe(t)&&s&&(n=s.Event(t,i),s(e).trigger(n),r=!n.isPropagationStopped(),o=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());s=ae(new Event(t,{bubbles:r,cancelable:!0}),i);return a&&s.preventDefault(),o&&e.dispatchEvent(s),s.defaultPrevented&&n&&n.preventDefault(),s}};function ae(i,s={}){for(let[e,t]of Object.entries(s))try{i[e]=t}catch(s){Object.defineProperty(i,e,{configurable:!0,get:()=>t})}return i}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())}let h={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,s={};for(i of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=i.replace(/^bs/,"");s[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=le(t.dataset[i])}return s},getDataAttribute:(e,t)=>le(e.getAttribute("data-bs-"+ce(t)))};class he{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=o(t)?h.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(t)?h.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(i,e=this.constructor.DefaultType){for(var[s,n]of Object.entries(e)){let e=i[s],t=o(e)?"element":null==(r=e)?""+r:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(t))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${t}" but expected type "${n}".`)}var r}}class t extends he{constructor(e,t){super(),(e=n(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(var e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){R(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(n(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.3"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}let de=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?e.trim():null}return i?i.split(",").map(e=>F(e)).join(","):null}
1,d={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 s=e.parentNode.closest(t);for(;s;)i.push(s),s=s.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)&&r(e))},getSelectorFromElement(e){e=de(e);return e&&d.findOne(e)?e:null},getElementFromSelector(e){e=de(e);return e?d.findOne(e):null},getMultipleElementsFromSelector(e){e=de(e);return e?d.find(e):[]}},ue=(t,i="hide")=>{let e="click.dismiss"+t.EVENT_KEY,s=t.NAME;f.on(document,e,`[data-bs-dismiss="${s}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(e=d.getElementFromSelector(this)||this.closest("."+s),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);let fe='[data-bs-toggle="button"]';class ge 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=ge.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}f.on(document,"click.bs.button.data-api",fe,e=>{e.preventDefault();e=e.target.closest(fe);ge.getOrCreateInstance(e).toggle()}),e(ge);let i=".bs.swipe",me=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),_e={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class be extends he{constructor(e,t){super(),(this._element=e)&&be.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return me}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&&1<e.touches.length?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){var e=Math.abs(this._deltaX);e<=40||(e=e/this._deltaX,this._deltaX=0,e&&c(0<e?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(f.on(this._element,"pointerdown.bs.swipe",e=>this._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||0<navigator.maxTouchPoints}}let ve=".bs.carousel",ye="next",u="prev",p="left",we="right",Ee="slid"+ve,Ae="carousel",Te="active",Ce=".active",ke=".carousel-item",Oe=(Ce,ke,{ArrowLeft:we,ArrowRight:p}),Le={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Se={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class xe extends t{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=d.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Ae&&this.cycle()}static get Default(){return Le}static get DefaultType(){return Se}static get NAME(){return"carousel"}next(){this._slide(ye)}nextWhenVisible(){!document.hidden&&r(this._element)&&this.next()}prev(){this._slide(u)}pause(){this._isSliding&&H(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,Ee,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?f.one(this._element,Ee,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=t<e?ye:u,this._slide(t,i[e])))}
1dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&f.on(this._element,"keydown.bs.carousel",e=>this._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&&be.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of d.find(".carousel-item img",this._element))f.on(e,"dragstart.bs.carousel",e=>e.preventDefault());let 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 be(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Oe[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=d.findOne(Ce,this._indicatorsElement)).classList.remove(Te),t.removeAttribute("aria-current"),t=d.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Te),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,a=null){if(!this._isSliding){let n=this._getActive(),r=t===ye,o=a||K(this._getItems(),n,r,this._config.wrap);if(o!==n){let i=this._getItemIndex(o),s=e=>f.trigger(this._element,e,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:i});if(!s("slide.bs.carousel").defaultPrevented&&n&&o){a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=o;let e=r?"carousel-item-start":"carousel-item-end",t=r?"carousel-item-next":"carousel-item-prev";o.classList.add(t),V(o),n.classList.add(e),o.classList.add(e),this._queueCallback(()=>{o.classList.remove(e,t),o.classList.add(Te),n.classList.remove(Te,t,e),this._isSliding=!1,s(Ee)},n,this._isAnimated()),a&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return d.findOne(".active.carousel-item",this._element)}_getItems(){return d.find(ke,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=xe.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=d.getElementFromSelector(this);t&&t.classList.contains(Ae)&&(e.preventDefault(),e=xe.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===h.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{var e;for(e of d.find('[data-bs-ride="carousel"]'))xe.getOrCreateInstance(e)}),e(xe);let De="show",g="collapse",Ie="collapsing",Pe=(g,g,'[data-bs-toggle="collapse"]'),Ne={parent:null,toggle:!0},Me={parent:"(null|element)",toggle:"boolean"};class je extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let s=d.find(Pe);for(let i of s){let e=d.getSelectorFromElement(i),t=d.find(e).filter(e=>e===this._element);null!==e&&t.length&&this._triggerArray.push(i)}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 Me}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t=[];if(!((t=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>je.getOrCreateInstance(e,{toggle:!1})):t).length&&t[0]._isTransitioning||f.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(let e of t)e.hide();let e=this._getDimension();this._element.classList.remove(g),this._element.classList.add(Ie),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var i="scroll"+(e[0].toUpperCase()+e.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(g,De),this._element.style[e]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[e]=this._element[i]+"px"}}}
1hide(){if(!this._isTransitioning&&this._isShown()&&!f.trigger(this._element,"hide.bs.collapse").defaultPrevented){let e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",V(this._element),this._element.classList.add(Ie),this._element.classList.remove(g,De);for(let e of this._triggerArray){var t=d.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ie),this._element.classList.add(g),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=n(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){let e=this._getFirstLevelChildren(Pe);for(var t of e){let e=d.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}}_getFirstLevelChildren(e){let t=d.find(":scope .collapse .collapse",this._config.parent);return d.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(var i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){let 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",Pe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(let e of d.getMultipleElementsFromSelector(this))je.getOrCreateInstance(e,{toggle:!1}).toggle()}),e(je);var O="top",L="bottom",S="right",x="left",Be="auto",D=[O,L,S,x],I="start",v="end",Fe="clippingParents",He="viewport",ze="popper",qe="reference",Ve=D.reduce(function(e,t){return e.concat([t+"-"+I,t+"-"+v])},[]),We=[].concat(D,[Be]).reduce(function(e,t){return e.concat([t,t+"-"+I,t+"-"+v])},[]),$e="beforeRead",Re="afterRead",Ke="beforeMain",Qe="afterMain",Ye="beforeWrite",Xe="afterWrite",Ue=[$e,"read",Re,Ke,"main",Qe,Ye,"write",Xe];function m(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 b(e){return e instanceof y(e).HTMLElement||e instanceof HTMLElement}function Ge(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 n=e.state;Object.keys(n.elements).forEach(function(e){var t=n.styles[e]||{},i=n.attributes[e]||{},s=n.elements[e];
1b(s)&&m(s)&&(Object.assign(s.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var s=e.state,n={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(s.elements.popper.style,n.popper),s.styles=n,s.elements.arrow&&Object.assign(s.elements.arrow.style,n.arrow),function(){Object.keys(s.elements).forEach(function(e){var t=s.elements[e],i=s.attributes[e]||{},e=Object.keys((s.styles.hasOwnProperty(e)?s.styles:n)[e]).reduce(function(e,t){return e[t]="",e},{});b(t)&&m(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var k=Math.max,Je=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 st(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var s=e.getBoundingClientRect(),n=1,r=1,t=(t&&b(e)&&(n=0<e.offsetWidth&&et(s.width)/e.offsetWidth||1,r=0<e.offsetHeight&&et(s.height)/e.offsetHeight||1),(_(e)?y(e):window).visualViewport),e=!it()&&i,i=(s.left+(e&&t?t.offsetLeft:0))/n,e=(s.top+(e&&t?t.offsetTop:0))/r,t=s.width/n,n=s.height/r;return{width:t,height:n,top:e,right:i+t,bottom:e+n,left:i,x:i,y:e}}function nt(e){var t=st(e),i=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:s}}function rt(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Ge(i)){var s=t;do{if(s&&e.isSameNode(s))return!0}while(s=s.parentNode||s.host)}return!1}function w(e){return y(e).getComputedStyle(e)}function E(e){return((_(e)?e.ownerDocument:e.document)||window.document).documentElement}function ot(e){return"html"===m(e)?e:e.assignedSlot||e.parentNode||(Ge(e)?e.host:null)||E(e)}function at(e){return b(e)&&"fixed"!==w(e).position?e.offsetParent:null}function lt(e){for(var t,i=y(e),s=at(e);s&&(t=s,0<=["table","td","th"].indexOf(m(t)))&&"static"===w(s).position;)s=at(s);return(!s||"html"!==m(s)&&("body"!==m(s)||"static"!==w(s).position))&&(s||(e=>{var t=/firefox/i.test(tt());if(!/Trident/i.test(tt())||!b(e)||"fixed"!==w(e).position){var i=ot(e);for(Ge(i)&&(i=i.host);b(i)&&["html","body"].indexOf(m(i))<0;){var s=w(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}}return null})(e))||i}function ct(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function ht(e,t,i){return k(e,Je(t,i))}function dt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ut(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}var pt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,s,n,r=e.state,o=e.name,e=e.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,c=P(r.placement),h=ct(c),c=0<=[x,S].indexOf(c)?"height":"width";a&&l&&(e=dt("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},r.rects,{placement:r.placement})):e)?e:ut(e,D)),t=nt(a),n="y"===h?O:x,s="y"===h?L:S,i=r.rects.reference[c]+r.rects.reference[h]-l[h]-r.rects.popper[c],l=l[h]-r.rects.reference[h],a=(a=lt(a))?"y"===h?a.clientHeight||0:a.clientWidth||0:0,n=e[n],e=a-t[c]-e[s],n=ht(n,s=a/2-t[c]/2+(i/2-l/2),e),r.modifiersData[o]=((a={})[h]=n,a.centerOffset=n-s,a))},effect:function(e){var t=e.state,e=e.options.element,e=void 0===e?"[data-popper-arrow]":e;null!=e&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&rt(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ft(e){return e.split("-")[1]}var gt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mt(e){var t=e.popper,i=e.popperRect,s=e.placement,n=e.variation,r=e.offsets,o=e.position,a=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,e=e.isFixed,h=r.x,h=void 0===h?0:h,d=r.y,d=void 0===d?0:d,u="function"==typeof c?c({x:h,y:d}):{x:h,y:d},h=u.x,d=u.y,u=r.hasOwnProperty("x"),r=r.hasOwnProperty("y"),p=x,f=O,g=window;l&&(_="clientHeight",m="clientWidth",(b=lt(t))===y(t)&&"static"!==w(b=E(t)).position&&"absolute"===o&&(_="scrollHeight",m="scrollWidth"),s!==O&&(s!==x&&s!==S||n!==v)||(f=L,d=(d-((e&&b===g&&g.visualVie
1wport?g.visualViewport.height:b[_])-i.height))*(a?1:-1)),s!==x&&(s!==O&&s!==L||n!==v)||(p=S,h=(h-((e&&b===g&&g.visualViewport?g.visualViewport.width:b[m])-i.width))*(a?1:-1)));var m,_=Object.assign({position:o},l&>),b=!0===c?(s={x:h,y:d},n=y(t),e=s.y,n=n.devicePixelRatio||1,{x:et(s.x*n)/n||0,y:et(e*n)/n||0}):{x:h,y:d};return h=b.x,d=b.y,a?Object.assign({},_,((m={})[f]=r?"0":"",m[p]=u?"0":"",m.transform=(g.devicePixelRatio||1)<=1?"translate("+h+"px, "+d+"px)":"translate3d("+h+"px, "+d+"px, 0)",m)):Object.assign({},_,((i={})[f]=r?d+"px":"",i[p]=u?h+"px":"",i.transform="",i))}var _t={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,i=e.gpuAcceleration,i=void 0===i||i,s=e.adaptive,s=void 0===s||s,e=e.roundOffsets,e=void 0===e||e,i={placement:P(t.placement),variation:ft(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mt(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mt(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},bt={passive:!0},vt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,e=e.options,s=e.scroll,n=void 0===s||s,s=e.resize,r=void 0===s||s,o=y(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return n&&a.forEach(function(e){e.addEventListener("scroll",i.update,bt)}),r&&o.addEventListener("resize",i.update,bt),function(){n&&a.forEach(function(e){e.removeEventListener("scroll",i.update,bt)}),r&&o.removeEventListener("resize",i.update,bt)}},data:{}},yt={left:"right",right:"left",bottom:"top",top:"bottom"};function wt(e){return e.replace(/left|right|bottom|top/g,function(e){return yt[e]})}var Et={start:"end",end:"start"};function At(e){return e.replace(/start|end/g,function(e){return Et[e]})}function Tt(e){e=y(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ct(e){return st(E(e)).left+Tt(e).scrollLeft}function kt(e){var e=w(e),t=e.overflow;return/auto|scroll|overlay|hidden/.test(t+e.overflowY+e.overflowX)}function Ot(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(m(t))?t.ownerDocument.body:b(t)&&kt(t)?t:e(ot(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),s=y(i),s=e?[s].concat(s.visualViewport||[],kt(i)?i:[]):i,i=t.concat(s);return e?i:i.concat(Ot(ot(s)))}function Lt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function St(e,t,i){return t===He?Lt((n=i,o=y(s=e),a=E(s),o=o.visualViewport,l=a.clientWidth,a=a.clientHeight,h=c=0,o&&(l=o.width,a=o.height,(r=it())||!r&&"fixed"===n)&&(c=o.offsetLeft,h=o.offsetTop),{width:l,height:a,x:c+Ct(s),y:h})):_(t)?((n=st(r=t,!1,"fixed"===i)).top=n.top+r.clientTop,n.left=n.left+r.clientLeft,n.bottom=n.top+r.clientHeight,n.right=n.left+r.clientWidth,n.width=r.clientWidth,n.height=r.clientHeight,n.x=n.left,n.y=n.top,n):Lt((o=E(e),l=E(o),a=Tt(o),c=null==(c=o.ownerDocument)?void 0:c.body,s=k(l.scrollWidth,l.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),h=k(l.scrollHeight,l.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),o=-a.scrollLeft+Ct(o),a=-a.scrollTop,"rtl"===w(c||l).direction&&(o+=k(l.clientWidth,c?c.clientWidth:0)-s),{width:s,height:h,x:o,y:a}));var s,n,r,o,a,l,c,h}function xt(e){var t,i=e.reference,s=e.element,e=e.placement,n=e?P(e):null,e=e?ft(e):null,r=i.x+i.width/2-s.width/2,o=i.y+i.height/2-s.height/2;switch(n){case O:t={x:r,y:i.y-s.height};break;case L:t={x:r,y:i.y+i.height};break;case S:t={x:i.x+i.width,y:o};break;case x:t={x:i.x-s.width,y:o};break;default:t={x:i.x,y:i.y}}var a=n?ct(n):null;if(null!=a){var l="y"===a?"height":"width";switch(e){case I:t[a]=t[a]-(i[l]/2-s[l]/2);break;case v:t[a]=t[a]+(i[l]/2-s[l]/2)}}return t}function Dt(e,t){var i,s,n,r,o,a,t=t=void 0===t?{}:t,l=t.placement,l=void 0===l?e.placement:l,c=t.strategy,c=void 0===c?e.
1strategy:c,h=t.boundary,h=void 0===h?Fe:h,d=t.rootBoundary,d=void 0===d?He:d,u=t.elementContext,u=void 0===u?ze:u,p=t.altBoundary,p=void 0!==p&&p,t=t.padding,t=void 0===t?0:t,t=dt("number"!=typeof t?t:ut(t,D)),f=e.rects.popper,p=e.elements[p?u===ze?qe:ze:u],c=(i=_(p)?p:p.contextElement||E(e.elements.popper),p=d,s=c,r="clippingParents"===(d=h)?(o=Ot(ot(r=i)),_(n=0<=["absolute","fixed"].indexOf(w(r).position)&&b(r)?lt(r):r)?o.filter(function(e){return _(e)&&rt(e,n)&&"body"!==m(e)}):[]):[].concat(d),o=[].concat(r,[p]),d=o[0],(p=o.reduce(function(e,t){t=St(i,t,s);return e.top=k(t.top,e.top),e.right=Je(t.right,e.right),e.bottom=Je(t.bottom,e.bottom),e.left=k(t.left,e.left),e},St(i,d,s))).width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p),h=st(e.elements.reference),d=xt({reference:h,element:f,strategy:"absolute",placement:l}),p=Lt(Object.assign({},f,d)),f=u===ze?p:h,g={top:c.top-f.top+t.top,bottom:f.bottom-c.bottom+t.bottom,left:c.left-f.left+t.left,right:f.right-c.right+t.right},d=e.modifiersData.offset;return u===ze&&d&&(a=d[l],Object.keys(g).forEach(function(e){var t=0<=[S,L].indexOf(e)?1:-1,i=0<=[O,L].indexOf(e)?"y":"x";g[e]+=a[i]*t})),g}var It={name:"flip",enabled:!0,phase:"main",fn:function(e){var d=e.state,t=e.options,e=e.name;if(!d.modifiersData[e]._skip){for(var i=t.mainAxis,s=void 0===i||i,i=t.altAxis,n=void 0===i||i,i=t.fallbackPlacements,u=t.padding,p=t.boundary,f=t.rootBoundary,r=t.altBoundary,o=t.flipVariations,g=void 0===o||o,m=t.allowedAutoPlacements,o=d.options.placement,t=P(o),i=i||(t!==o&&g?P(i=o)===Be?[]:(t=wt(i),[At(i),t,At(t)]):[wt(o)]),a=[o].concat(i).reduce(function(e,t){return e.concat(P(t)===Be?(i=d,s=(e=e=void 0===(e={placement:t,boundary:p,rootBoundary:f,padding:u,flipVariations:g,allowedAutoPlacements:m})?{}:e).placement,n=e.boundary,r=e.rootBoundary,o=e.padding,a=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?We:e,c=ft(s),e=c?a?Ve:Ve.filter(function(e){return ft(e)===c}):D,h=(s=0===(s=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:s).reduce(function(e,t){return e[t]=Dt(i,{placement:t,boundary:n,rootBoundary:r,padding:o})[P(t)],e},{}),Object.keys(h).sort(function(e,t){return h[e]-h[t]})):t);var i,s,n,r,o,a,l,c,h},[]),l=d.rects.reference,c=d.rects.popper,h=new Map,_=!0,b=a[0],v=0;v<a.length;v++){var y=a[v],w=P(y),E=ft(y)===I,A=0<=[O,L].indexOf(w),T=A?"width":"height",C=Dt(d,{placement:y,boundary:p,rootBoundary:f,altBoundary:r,padding:u}),A=A?E?S:x:E?L:O,E=(l[T]>c[T]&&(A=wt(A)),wt(A)),T=[];if(s&&T.push(C[w]<=0),n&&T.push(C[A]<=0,C[E]<=0),T.every(function(e){return e})){b=y,_=!1;break}h.set(y,T)}if(_)for(var k=g?3:1;0<k&&"break"!==(t=>{var e=a.find(function(e){e=h.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return b=e,"break"})(k);k--);d.placement!==b&&(d.modifiersData[e]._skip=!0,d.placement=b,d.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Pt(e,t,i){return{top:e.top-t.height-(i=void 0===i?{x:0,y:0}:i).y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Nt(t){return[O,S,L,x].some(function(e){return 0<=t[e]})}var Mt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,i=t.rects.reference,s=t.rects.popper,n=t.modifiersData.preventOverflow,r=Dt(t,{elementContext:"reference"}),o=Dt(t,{altBoundary:!0}),r=Pt(r,i),i=Pt(o,s,n),o=Nt(r),s=Nt(i);t.modifiersData[e]={referenceClippingOffsets:r,popperEscapeOffsets:i,isReferenceHidden:o,hasPopperEscaped:s},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":s})}},jt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var o=e.state,t=e.name,e=e.options.offset,a=void 0===e?[0,0]:e,e=We.reduce(function(e,t){return e[t]=(t=t,i=o.rects,s=a,n=P(t),r=0<=[x,O].indexOf(n)?-1:1,i="function"==typeof s?s(Object.assign({},i,{placement:t})):s,t=i[0]||0,s=(i[1]||0)*r,0<=[x,S].indexOf(n)?{x:s,y:t}:{x:t,y:s}),e;var i,s,n,r},{}),i=e[o.placement],s=i.x,i=i.y;null!=o.modifiersData.popperOffsets&&(o.modifiersData.popperOffsets.x+=s,o.modifiersData.popperOffsets.y+=i),o.modifiersData[t]=e}},Bt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=xt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ft={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,s,n,r,o,a,l,c,h=e.state,d=e.options,e=e.name,u=d.mainAxis,u=void 0===u||u,p=d.altAxis,p=void 0!==p&&p,f=d.tether,f=void 0===f||f,g=d.tetherOffset,g=void 0===g?0:g,d=Dt(h,{boundary:d.boundary,rootBoundary:d.rootBoundary,padding:d.padding,altBoundary:d.altBoundary}),m=P(h.placement),_=ft(h.placement),b=!_,v=ct(m),y="x"===v?"y":"x",w=h.modifiersData.popperOffsets,E=h.rects.reference,A=h.rects.popper,g="function"==typeof g?g(Object.assign({},h.rects,{placement:h.placement})):g,g="number"==typeof g?{mainAxis:g,altAxis:g}:Object.assign({mainAxis:0,altAxis:0},g),T=h.modifiersData.offset?h.modifiersData.offset[h.placement]:null,C={x:0,y:0};w&&(u&&(u="y"===v?"height":"width",o=(a=w[v])+d[i="y"===v?O:x],l=a-d[c="y"===v?L:S],t=f?-A[u]/2:0,n=(_===I?E:A)[u],_=_===I?-A[u]:-E[u],r=h.elements.arrow,r=f&&r?nt(r):{width:0,height:0},i=(s=h.modifiersData["arrow#persistent"]?h.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[i],s=s[c],c=ht(0,E[u],r[u]),r=b?E[u]/2-t-c-i-g.mainAxis:n-c-i-g.mainAxis,n=b?-E[u]/2+t+c+s+g.mainAxis:_+c+s+g.mainAxis,b=(i=h.elements.arrow&<(h.elements.arrow))?"y"===v?i.clientTop||0:i.clientLeft||0:0,_=a+n-(t=null!=(u=null==T?void 0:T[v])?u:0),c=ht(f?Je(o,a+r-t-b):o,a,f?k(l,_):l),w[v]=c,C[v]=c-a),p&&(s="y"==y?"height":"width",n=(i=w[y])+d["x"===v?O:x],u=i-d["x"===v?L:S],r=-1!==[O,x].indexOf(m),b=null!=(t=null==T?void 0:T[y])?t:0,o=r?n:i-E[s]-A[s]-b+g.altAxis,_=r?i+E[s]+A[s]-b-g.altAxis:u,a=f&&r?(c=ht(o,i,l=_),l<c?l:c):ht(f?o:n,i,f?_:u),w[y]=a,C[y]=a-i),h.modifiersData[e]=C)},requiresIfExists:["offset"]};function Ht(e){var i=new Map,s=new Set,n=[];return e.forEach(function(e){i.set(e.name,e)}),e.forEach(function(e){s.has(e.name)||function t(e){s.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
1h(function(e){s.has(e)||(e=i.get(e))&&t(e)}),n.push(e)}(e)}),n}var zt={placement:"bottom",modifiers:[],strategy:"absolute"};function qt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Vt(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,l=void 0===t?[]:t,t=e.defaultOptions,c=void 0===t?zt:t;return function(s,n,t){void 0===t&&(t=c);var i,r,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},zt,c),modifiersData:{},elements:{reference:s,popper:n},attributes:{},styles:{}},o=[],f=!1,g={state:p,setOptions:function(e){e="function"==typeof e?e(p.options):e;a(),p.options=Object.assign({},c,p.options,e),p.scrollParents={reference:_(s)?Ot(s):s.contextElement?Ot(s.contextElement):[],popper:Ot(n)};e=[].concat(l,p.options.modifiers),t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),i=Ht(Object.keys(t).map(function(e){return t[e]}));var t,i,e=Ue.reduce(function(e,t){return e.concat(i.filter(function(e){return e.phase===t}))},[]);return p.orderedModifiers=e.filter(function(e){return e.enabled}),p.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,e=e.effect;"function"==typeof e&&(e=e({state:p,name:t,instance:g,options:void 0===i?{}:i}),o.push(e||function(){}))}),g.update()},forceUpdate:function(){if(!f){var e=p.elements,t=e.reference,e=e.popper;if(qt(t,e)){p.rects={reference:(t=t,o=lt(e),void 0===(a="fixed"===p.options.strategy)&&(a=!1),l=b(o),c=b(o)&&(d=(c=o).getBoundingClientRect(),h=et(d.width)/c.offsetWidth||1,d=et(d.height)/c.offsetHeight||1,1!==h||1!==d),h=E(o),d=st(t,c,a),t={scrollLeft:0,scrollTop:0},u={x:0,y:0},!l&&a||("body"===m(o)&&!kt(h)||(t=(l=o)!==y(l)&&b(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:Tt(l)),b(o)?((u=st(o,!0)).x+=o.clientLeft,u.y+=o.clientTop):h&&(u.x=Ct(h))),{x:d.left+t.scrollLeft-u.x,y:d.top+t.scrollTop-u.y,width:d.width,height:d.height}),popper:nt(e)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(e){return p.modifiersData[e.name]=Object.assign({},e.data)});for(var i,s,n,r=0;r<p.orderedModifiers.length;r++)!0!==p.reset?(s=(i=p.orderedModifiers[r]).fn,n=i.options,"function"==typeof s&&(p=s({state:p,options:void 0===n?{}:n,name:i.name,instance:g})||p)):(p.reset=!1,r=-1)}}var o,a,l,c,h,d,u},update:(i=function(){return new Promise(function(e){g.forceUpdate(),e(p)})},function(){return r=r||new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(i())})})}),destroy:function(){a(),f=!0}};return qt(s,n)&&g.setOptions(t).then(function(e){!f&&t.onFirstUpdate&&t.onFirstUpdate(e)}),g;function a(){o.forEach(function(e){return e()}),o=[]}}}var Wt=Vt(),$t=Vt({defaultModifiers:[vt,Bt,_t,Ze]}),Rt=Vt({defaultModifiers:[vt,Bt,_t,Ze,jt,It,Ft,pt,Mt]});let Kt=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Qe,afterRead:Re,afterWrite:Xe,applyStyles:Ze,arrow:pt,auto:Be,basePlacements:D,beforeMain:Ke,beforeRead:$e,beforeWrite:Ye,bottom:L,clippingParents:Fe,computeStyles:_t,createPopper:Rt,createPopperBase:Wt,createPopperLite:$t,detectOverflow:Dt,end:v,eventListeners:vt,flip:It,hide:Mt,left:x,main:"main",modifierPhases:Ue,offset:jt,placements:We,popper:ze,popperGenerator:Vt,popperOffsets:Bt,preventOverflow:Ft,read:"read",reference:qe,right:S,start:I,top:O,variationPlacements:Ve,viewport:He,write:"write"},Symbol.toStringTag,{value:"Module"})),Qt="dropdown",Yt=".bs.dropdown",Xt=".data-api",Ut="ArrowDown",Gt="click"+Yt+Xt,Zt="keydown"+Yt+Xt,Jt="show",A='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ei=(A,".dropdown-menu"),ti=l()?"top-end":"top-start",ii=l()?"top-start":"top-end",si=l()?"bottom-end":"bottom-start",ni=l()?"bottom-start":"bottom-end",ri=l()?"left-start":"right-start",oi=l()?"right-start":"left-start",ai={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},li={autoClose:"(boolean|string)",boundary:"(string|element)",display:"str
1ing",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class T extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=d.next(this._element,ei)[0]||d.prev(this._element,ei)[0]||d.findOne(ei,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ai}static get DefaultType(){return li}static get NAME(){return Qt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!a(this._element)&&!this._isShown()){let e={relatedTarget:this._element};if(!f.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(let e of[].concat(...document.body.children))f.on(e,"mouseover",q);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Jt),this._element.classList.add(Jt),f.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!a(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!f.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(let e of[].concat(...document.body.children))f.off(e,"mouseover",q);this._popper&&this._popper.destroy(),this._menu.classList.remove(Jt),this._element.classList.remove(Jt),this._element.setAttribute("aria-expanded","false"),h.removeDataAttribute(this._menu,"popper"),f.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"!=typeof(e=super._getConfig(e)).reference||o(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError(Qt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===Kt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=n(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=Rt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Jt)}_getPlacement(){var e,t=this._parent;return t.classList.contains("dropend")?ri:t.classList.contains("dropstart")?oi:t.classList.contains("dropup-center")?"top":t.classList.contains("dropdown-center")?"bottom":(e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),t.classList.contains("dropup")?e?ii:ti:e?ni:si)}
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){let t=this._config.offset;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){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||(h.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=d.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>r(e));i.length&&K(i,t,e===Ut,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=T.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2!==t.button&&("keyup"!==t.type||"Tab"===t.key)){let e=d.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(var i of e){let e=T.getInstance(i);var s;e&&!1!==e._config.autoClose&&(s=(i=t.composedPath()).includes(e._menu),i.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s||e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName))||(i={relatedTarget:e._element},"click"===t.type&&(i.clickEvent=t),e._completeHide(i)))}}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,s=["ArrowUp",Ut].includes(e.key);!s&&!i||t&&!i||(e.preventDefault(),t=this.matches(A)?this:d.prev(this,A)[0]||d.next(this,A)[0]||d.findOne(A,e.delegateTarget.parentNode),i=T.getOrCreateInstance(t),s?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}f.on(document,Zt,A,T.dataApiKeydownHandler),f.on(document,Zt,ei,T.dataApiKeydownHandler),f.on(document,Gt,T.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",T.clearMenus),f.on(document,Gt,A,function(e){e.preventDefault(),T.getOrCreateInstance(this).toggle()}),e(T);let ci="backdrop",hi="mousedown.bs."+ci,di={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 he{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return di}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&&V(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,hi),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=n(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),f.on(e,hi,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){R(e,this._getElement(),this._config.isAnimated)}}let fi=".bs.focustrap",gi=(fi,fi,"backward"),mi={autofocus:!0,trapElement:null},_i={autofocus:"boolean",trapElement:"element"};class bi extends he{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return mi}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=d.focusableChildren(t)).length?t:this._lastTabNavDirection===gi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?gi:"forward")}}let vi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",yi=".sticky-top",wi="padding-right",Ei="margin-right";class Ai{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,wi,e=>e+t),this._setElementAttributes(vi,wi,e=>e+t),this._setElementAttributes(yi,Ei,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,wi),this._resetElementAttributes(vi,wi),this._resetElementAttributes(yi,Ei)}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,s){let n=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+n||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,s(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&h.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=h.getDataAttribute(e,i);null!==t?(h.removeDataAttribute(e,i),e.style.setProperty(i,t)):e.style.removeProperty(i)})}
1_applyManipulationCallback(e,t){if(o(e))t(e);else for(var i of d.find(e,this._element))t(i)}}let C=".bs.modal",Ti=(C,C,"hidden"+C),Ci="show"+C,ki=(C,C,C,C,C,C,"modal-open"),Oi="modal-static",Li={backdrop:!0,focus:!0,keyboard:!0},Si={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class xi extends t{constructor(e,t){super(e,t),this._dialog=d.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ai,this._addEventListeners()}static get Default(){return Li}static get DefaultType(){return Si}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,Ci,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ki),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,C),f.off(this._dialog,C),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 bi({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=d.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),V(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(ki),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,Ti)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!f.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Oi)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Oi),this._queueCallback(()=>{this._element.classList.remove(Oi),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=0<t;if(i&&!e){let e=l()?"paddingLeft":"paddingRight";this._element.style[e]=t+"px"}if(!i&&e){let e=l()?"paddingRight":"paddingLeft";this._element.style[e]=t+"px"}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){var e=xi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t](i)}})}}f.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){let t=d.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),f.one(t,Ci,e=>{e.defaultPrevented||f.one(t,Ti,()=>{r(this)&&this.focus()})});e=d.findOne(".modal.show");e&&xi.getInstance(e).hide(),xi.getOrCreateInstance(t).toggle(this)}),ue(xi),e(xi);let Di=".bs.offcanvas",Ii="showing",Pi=".offcanvas.show",Ni="hidePrevented"+Di,Mi="hidden"+Di,ji={backdrop:!0,keyboard:!0,scroll:!1},Bi={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 Bi}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 Ai).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 Ai).reset(),f.trigger(this._element,Mi)},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 bi({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=d.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(f.one(t,Mi,()=>{r(this)&&this.focus()}),(e=d.findOne(Pi))&&e!==t&&N.getInstance(e).hide(),N.getOrCreateInstance(t).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(var e of d.find(Pi))N.getOrCreateInstance(e).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(var e of d.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&N.getOrCreateInstance(e).hide()}),ue(N),e(N);let Fi={"*":["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:[]},Hi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,qi={allowList:Fi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Vi={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 $i extends he{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return qi}static get DefaultType(){return Vi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>
1this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){var i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(let[e,t]of Object.entries(this._config.content))this._setContent(i,t,e);let e=i.children[0],t=this._resolvePossibleFunction(this._config.extraClass);return t&&e.classList.add(...t.split(" ")),e}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(var[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},Wi)}_setContent(e,t,i){i=d.findOne(i,e);i&&((t=this._resolvePossibleFunction(t))?o(t)?this._putElementInTemplate(n(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(i){if(this._config.sanitize){var s=i,n=this._config.allowList,r=this._config.sanitizeFn;if(!s.length)return s;if(r&&"function"==typeof r)return r(s);let e=(new window.DOMParser).parseFromString(s,"text/html"),t=[].concat(...e.body.querySelectorAll("*"));for(let s of t){let e=s.nodeName.toLowerCase();if(Object.keys(n).includes(e)){let t=[].concat(...s.attributes),i=[].concat(n["*"]||[],n[e]||[]);for(let e of t)((e,t)=>{let 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))})(e,i)||s.removeAttribute(e.nodeName)}else s.remove()}return e.body.innerHTML}return i}_resolvePossibleFunction(e){return c(e,[this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}let Ri=new Set(["sanitize","allowList","sanitizeFn"]),Ki="fade",Qi="show",Yi="hide.bs.modal",Xi="hover",Ui="focus",Gi={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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Ji={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 es extends t{constructor(e,t){if(void 0===Kt)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 Ji}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"),Yi,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){let e=f.trigger(this._element,this.constructor.eventName("show")),t=(z(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();var i=this._getTipElement(),s=(this._element.setAttribute("aria-describedby",i.getAttribute("id")),this._config).container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Qi),"ontouchstart"in document.documentElement)for(let e of[].concat(...document.body.children))f.on(e,"mouseover",q);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}
1hide(){if(this._isShown()&&!f.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Qi),"ontouchstart"in document.documentElement)for(var e of[].concat(...document.body.children))f.off(e,"mouseover",q);this._activeTrigger.click=!1,this._activeTrigger[Ui]=!1,this._activeTrigger[Xi]=!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(Ki,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(Ki),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new $i({...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(Ki)}_isShown(){return this.tip&&this.tip.classList.contains(Qi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Gi[t.toUpperCase()];return Rt(this._element,e,this._getPopperConfig(t))}_getOffset(){let 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(){let e=this._config.trigger.split(" ");for(var i of e)if("click"===i)f.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if("manual"!==i){let e=i===Xi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),t=i===Xi?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?Ui:Xi]=!0,t._enter()}),f.on(this._element,t,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Ui:Xi]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),Yi,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=h.getDataAttributes(this._element);for(let e of Object.keys(t))Ri.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:n(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=es.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}e(es);let ts={...es.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},is={...es.DefaultType,content:"(null|string|element|function)"};class ss extends es{static get Default(){return ts}static get DefaultType(){return is}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=ss.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(ss);let ns=".bs.scrollspy",rs="click"+ns,os="active",as="[href]",ls={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},cs={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class hs 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 ls}static get DefaultType(){return cs}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(var e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=n(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,rs),f.on(this._config.target,rs,as,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){let t=e=>this._targetLinks.get("#"+e.target.id),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},s=(this._rootElement||document.documentElement).scrollTop,n=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(var r of e)if(r.isIntersecting){let e=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&e){if(i(r),!s)return}else n||e||i(r)}else this._activeTarget=null,this._clearActiveClass(t(r))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=d.find(as,this._config.target);for(var t of e)if(t.hash&&!a(t)){let e=d.findOne(decodeURI(t.hash),this._element);r(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(os),this._activateParents(e),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))d.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(os);else for(var t of d.parents(e,".nav, .list-group"))for(let e of d.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(os)}_clearActiveClass(e){e.classList.remove(os);var t=d.find(as+"."+os,e);for(let e of t)e.classList.remove(os)}static jQueryInterface(t){return this.each(function(){var e=hs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}f.on(window,"load.bs.scrollspy.data-api",()=>{for(var e of d.find('[data-bs-spy="scroll"]'))hs.getOrCreateInstance(e)}),e(hs);let ds="ArrowRight",us="ArrowDown",ps="Home",M="active",fs="show",gs=".dropdown-toggle",ms=`:not(${gs})`,_s='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',bs=`.nav-link${ms}, .list-group-item${ms}, [role="tab"]${ms}, `+_s;M,M,M;class vs 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(M),this._activate(d.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(fs)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(M),e.blur(),this._deactivate(d.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(fs)},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",ds,"ArrowUp",us,ps,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,s=this._getChildren().filter(e=>!a(e));let e;(e=[ps,"End"].includes(t.key)?s[t.key===ps?0:s.length-1]:(i=[ds,us].includes(t.key),K(s,t.target,i,!0)))&&(e.focus({preventScroll:!0}),vs.getOrCreateInstance(e).show())}}_getChildren(){return d.find(bs,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(let 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=d.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){let s=this._getOuterElement(e);s.classList.contains("dropdown")&&((e=(e,t)=>{e=d.findOne(e,s);e&&e.classList.toggle(t,i)})(gs,M),e(".dropdown-menu",fs),s.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(M)}_getInnerElement(e){return e.matches(bs)?e:d.findOne(bs,e)}
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=vs.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",_s,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||vs.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(var e of d.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))vs.getOrCreateInstance(e)}),e(vs);let ys="show",ws="showing",Es={animation:"boolean",autohide:"boolean",delay:"number"},As={animation:!0,autohide:!0,delay:5e3};class Ts extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return As}static get DefaultType(){return Es}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"),V(this._element),this._element.classList.add(ys,ws),this._queueCallback(()=>{this._element.classList.remove(ws),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(ws),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ws,ys),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ys),super.dispose()}isShown(){return this._element.classList.contains(ys)}_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():this._element===(e=e.relatedTarget)||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=Ts.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return ue(Ts),e(Ts),{Alert:pe,Button:ge,Carousel:xe,Collapse:je,Dropdown:T,Modal:xi,Offcanvas:N,Popover:ss,ScrollSpy:hs,Tab:vs,Toast:Ts,Tooltip:es}}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t(e.Popper)})(this,function(j){let i=(t=>{var i,s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t)for(let e in t)"default"!==e&&(i=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(s,e,i.get?i:{enumerable:!0,get:()=>t[e]}));return s.default=t,Object.freeze(s)})(j),s=new Map,B={set(e,t,i){s.has(e)||s.set(e,new Map);e=s.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)=>s.has(e)&&s.get(e).get(t)||null,remove(e,t){var i;s.has(e)&&((i=s.get(e)).delete(t),0===i.size)&&s.delete(e)}},F="transitionend",H=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,z=e=>{e.dispatchEvent(new Event(F))},o=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,n=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(H(e)):null,r=t=>
1{if(!o(t)||0===t.getClientRects().length)return!1;let e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(i&&i!==t){let e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},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")),q=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?q(e.parentNode):null:null},l=()=>{},c=e=>{e.offsetHeight},V=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,W=[],h=()=>"rtl"===document.documentElement.dir,e=s=>{var e=()=>{let i=V();if(i){let e=s.NAME,t=i.fn[e];i.fn[e]=s.jQueryInterface,i.fn[e].Constructor=s,i.fn[e].noConflict=()=>(i.fn[e]=t,s.jQueryInterface)}};"loading"===document.readyState?(W.length||document.addEventListener("DOMContentLoaded",()=>{for(var e of W)e()}),W.push(e)):e()},d=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,$=(s,n,e=!0)=>{if(e){e=(()=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);var i=Number.parseFloat(e),s=Number.parseFloat(t);return i||s?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1,i=({target:e})=>{e===n&&(t=!0,n.removeEventListener(F,i),d(s))};n.addEventListener(F,i),setTimeout(()=>{t||z(n)},e)}else d(s)},R=(e,t,i,s)=>{var n=e.length;let r=e.indexOf(t);return-1===r?!i&&s?e[n-1]:e[0]:(r+=i?1:-1,s&&(r=(r+n)%n),e[Math.max(0,Math.min(r,n-1))])},K=/[^.]*(?=\..*)\.|.*/,Q=/\..*/,Y=/::\d+$/,X={}
1,U=1,G={mouseenter:"mouseover",mouseleave:"mouseout"},Z=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 J(e,t){return t&&t+"::"+U++||e.uidEvent||U++}function ee(e){var t=J(e);return e.uidEvent=t,X[t]=X[t]||{},X[t]}function te(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function ie(e,t,i){var s="string"==typeof t,t=!s&&t||i;let n=re(e);return[s,t,n=Z.has(n)?n:e]}function se(s,n,r,o,a){if("string"==typeof n&&s){let[e,t,i]=ie(n,r,o);if(n in G){let e=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};t=e(t)}var o=ee(s),o=o[i]||(o[i]={}),l=te(o,t,e?r:null);if(l)return l.oneOff=l.oneOff&&a;var c,h,d,u,p,l=J(t,n.replace(K,"")),n=e?(d=s,u=r,p=t,function t(i){var s=d.querySelectorAll(u);for(let e=i.target;e&&e!==this;e=e.parentNode)for(var n of s)if(n===e)return oe(i,{delegateTarget:e}),t.oneOff&&f.off(d,i.type,u,p),p.apply(e,[i])}):(c=s,h=t,function e(t){return oe(t,{delegateTarget:c}),e.oneOff&&f.off(c,t.type,h),h.apply(c,[t])});n.delegationSelector=e?r:null,n.callable=t,n.oneOff=a,o[n.uidEvent=l]=n,s.addEventListener(i,n,e)}}function ne(e,t,i,s,n){s=te(t[i],s,n);s&&(e.removeEventListener(i,s,Boolean(n)),delete t[i][s.uidEvent])}function re(e){return e=e.replace(Q,""),G[e]||e}let f={on(e,t,i,s){se(e,t,i,s,!1)},one(e,t,i,s){se(e,t,i,s,!0)},off(a,l,c,h){if("string"==typeof l&&a){let[e,t,s]=ie(l,c,h),n=s!==l,r=ee(a),o=r[s]||{},i=l.startsWith(".");if(void 0===t){if(i)for(let e of Object.keys(r)){d=void 0;u=void 0;p=void 0;f=void 0;_=void 0;g=void 0;m=void 0;var d=a;var u=r;var p=e;var f=l.slice(1);var g,m,_=u[p]||{};for([g,m]of Object.entries(_))g.includes(f)&&ne(d,u,p,m.callable,m.delegationSelector)}for(let[t,i]of Object.entries(o)){let e=t.replace(Y,"");n&&!l.includes(e)||ne(a,r,s,i.callable,i.delegationSelector)}}else Object.keys(o).length&&ne(a,r,s,t,e?c:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var s=V();let n=null,r=!0,o=!0,a=!1;t!==re(t)&&s&&(n=s.Event(t,i),s(e).trigger(n),r=!n.isPropagationStopped(),o=!n.isImmediatePropagationStopped(),a=n.isDefaultPrevented());s=oe(new Event(t,{bubbles:r,cancelable:!0}),i);return a&&s.preventDefault(),o&&e.dispatchEvent(s),s.defaultPrevented&&n&&n.preventDefault(),s}};function oe(i,s={}){for(let[e,t]of Object.entries(s))try{i[e]=t}catch(s){Object.defineProperty(i,e,{configurable:!0,get:()=>t})}return i}function ae(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 le(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}let u={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+le(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+le(t))},getDataAttributes(t){if(!t)return{};var i,s={};for(i of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=i.replace(/^bs/,"");s[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=ae(t.dataset[i])}return s},getDataAttribute:(e,t)=>ae(e.getAttribute("data-bs-"+le(t)))};class t{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=o(t)?u.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(t)?u.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(i,e=this.constructor.DefaultType){for(var[s,n]of Object.entries(e)){let e=i[s],t=o(e)?"element":null==(r=e)?""+r:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(t))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${t}" but expected type "${n}".`)}var r}}class p extends t{constructor(e,t){super(),(e=n(e))&&(this._element=e,this._config=this._getConfig(t),B.set(this._element,this.constructor.DATA_KEY,this))}dispose(){B.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(var e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){$(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return B.get(n(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.3"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}let ce=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?e.trim():null}return i?i.split(",").map(e=>H(e)).join(","):null},g={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)=>
1[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){var i=[];let s=e.parentNode.closest(t);for(;s;)i.push(s),s=s.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)&&r(e))},getSelectorFromElement(e){e=ce(e);return e&&g.findOne(e)?e:null},getElementFromSelector(e){e=ce(e);return e?g.findOne(e):null},getMultipleElementsFromSelector(e){e=ce(e);return e?g.find(e):[]}},m=(t,i="hide")=>{let e="click.dismiss"+t.EVENT_KEY,s=t.NAME;f.on(document,e,`[data-bs-dismiss="${s}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(e=g.getElementFromSelector(this)||this.closest("."+s),t.getOrCreateInstance(e)[i]())})};class _ extends p{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=_.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)}})}}m(_,"close"),e(_);let he='[data-bs-toggle="button"]';class de extends p{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=de.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}f.on(document,"click.bs.button.data-api",he,e=>{e.preventDefault();e=e.target.closest(he);de.getOrCreateInstance(e).toggle()}),e(de);let b=".bs.swipe",ue=(b,b,b,b,b,{endCallback:null,leftCallback:null,rightCallback:null}),pe={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fe extends t{constructor(e,t){super(),(this._element=e)&&fe.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ue}static get DefaultType(){return pe}static get NAME(){return"swipe"}dispose(){f.off(this._element,b)}_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(),d(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){var e=Math.abs(this._deltaX);e<=40||(e=e/this._deltaX,this._deltaX=0,e&&d(0<e?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(f.on(this._element,"pointerdown.bs.swipe",e=>this._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||0<navigator.maxTouchPoints}}let ge=".bs.carousel",v="next",y="prev",w="left",me="right",_e="slid"+ge,be="carousel",ve="active",ye=".active",we=".carousel-item",Ee=(ye,we,{ArrowLeft:me,ArrowRight:w}),Ae={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Te={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class E extends p{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=g.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===be&&this.cycle()}static get Default(){return Ae}static get DefaultType(){return Te}static get NAME(){return"carousel"}next(){this._slide(v)}nextWhenVisible(){!document.hidden&&r(this._element)&&this.next()}prev(){this._slide(y)}pause(){this._isSliding&&z(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,_e,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?f.one(this._element,_e,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=t<e?v:y,this._slide(t,i[e])))}
1dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&f.on(this._element,"keydown.bs.carousel",e=>this._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&&fe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of g.find(".carousel-item img",this._element))f.on(e,"dragstart.bs.carousel",e=>e.preventDefault());let e={leftCallback:()=>this._slide(this._directionToOrder(w)),rightCallback:()=>this._slide(this._directionToOrder(me)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new fe(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Ee[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=g.findOne(ye,this._indicatorsElement)).classList.remove(ve),t.removeAttribute("aria-current"),t=g.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(ve),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,a=null){if(!this._isSliding){let n=this._getActive(),r=t===v,o=a||R(this._getItems(),n,r,this._config.wrap);if(o!==n){let i=this._getItemIndex(o),s=e=>f.trigger(this._element,e,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:i});if(!s("slide.bs.carousel").defaultPrevented&&n&&o){a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=o;let e=r?"carousel-item-start":"carousel-item-end",t=r?"carousel-item-next":"carousel-item-prev";o.classList.add(t),c(o),n.classList.add(e),o.classList.add(e),this._queueCallback(()=>{o.classList.remove(e,t),o.classList.add(ve),n.classList.remove(ve,t,e),this._isSliding=!1,s(_e)},n,this._isAnimated()),a&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return g.findOne(".active.carousel-item",this._element)}_getItems(){return g.find(we,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return h()?e===w?y:v:e===w?v:y}_orderToDirection(e){return h()?e===y?w:me:e===y?me:w}static jQueryInterface(t){return this.each(function(){var e=E.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=g.getElementFromSelector(this);t&&t.classList.contains(be)&&(e.preventDefault(),e=E.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===u.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{var e;for(e of g.find('[data-bs-ride="carousel"]'))E.getOrCreateInstance(e)}),e(E);let Ce="show",A="collapse",ke="collapsing",Oe=(A,A,'[data-bs-toggle="collapse"]'),Le={parent:null,toggle:!0},Se={parent:"(null|element)",toggle:"boolean"};class T extends p{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let s=g.find(Oe);for(let i of s){let e=g.getSelectorFromElement(i),t=g.find(e).filter(e=>e===this._element);null!==e&&t.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Le}static get DefaultType(){return Se}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t=[];if(!((t=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>T.getOrCreateInstance(e,{toggle:!1})):t).length&&t[0]._isTransitioning||f.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(let e of t)e.hide();let e=this._getDimension();this._element.classList.remove(A),this._element.classList.add(ke),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var i="scroll"+(e[0].toUpperCase()+e.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ke),this._element.classList.add(A,Ce),this._element.style[e]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[e]=this._element[i]+"px"}}}
1hide(){if(!this._isTransitioning&&this._isShown()&&!f.trigger(this._element,"hide.bs.collapse").defaultPrevented){let e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",c(this._element),this._element.classList.add(ke),this._element.classList.remove(A,Ce);for(let e of this._triggerArray){var t=g.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ke),this._element.classList.add(A),f.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains(Ce)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=n(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){let e=this._getFirstLevelChildren(Oe);for(var t of e){let e=g.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}}_getFirstLevelChildren(e){let t=g.find(":scope .collapse .collapse",this._config.parent);return g.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(var i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){let i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=T.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",Oe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(let e of g.getMultipleElementsFromSelector(this))T.getOrCreateInstance(e,{toggle:!1}).toggle()}),e(T);let xe="dropdown",De=".bs.dropdown",Ie=".data-api",Pe="ArrowDown",Ne="click"+De+Ie,Me="keydown"+De+Ie,C="show",k='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',je=(k,".dropdown-menu"),Be=h()?"top-end":"top-start",Fe=h()?"top-start":"top-end",He=h()?"bottom-end":"bottom-start",ze=h()?"bottom-start":"bottom-end",qe=h()?"left-start":"right-start",Ve=h()?"right-start":"left-start",We={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},$e={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class O extends p{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=g.next(this._element,je)[0]||g.prev(this._element,je)[0]||g.findOne(je,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return We}static get DefaultType(){return $e}static get NAME(){return xe}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!a(this._element)&&!this._isShown()){let e={relatedTarget:this._element};if(!f.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(let e of[].concat(...document.body.children))f.on(e,"mouseover",l);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(C),this._element.classList.add(C),f.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!a(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!f.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(let e of[].concat(...document.body.children))f.off(e,"mouseover",l);this._popper&&this._popper.destroy(),this._menu.classList.remove(C),this._element.classList.remove(C),this._element.setAttribute("aria-expanded","false"),u.removeDataAttribute(this._menu,"popper"),f.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"!=typeof(e=super._getConfig(e)).reference||o(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError(xe.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=n(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=i.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(C)}_getPlacement(){var e,t=this._parent;return t.classList.contains("dropend")?qe:t.classList.contains("dropstart")?Ve:t.classList.contains("dropup-center")?"top":t.classList.contains("dropdown-center")?"bottom":(e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),t.classList.contains("dropup")?e?Fe:Be:e?ze:He)}
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){let t=this._config.offset;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){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||(u.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...d(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=g.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>r(e));i.length&&R(i,t,e===Pe,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=O.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2!==t.button&&("keyup"!==t.type||"Tab"===t.key)){let e=g.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(var i of e){let e=O.getInstance(i);var s;e&&!1!==e._config.autoClose&&(s=(i=t.composedPath()).includes(e._menu),i.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s||e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName))||(i={relatedTarget:e._element},"click"===t.type&&(i.clickEvent=t),e._completeHide(i)))}}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,s=["ArrowUp",Pe].includes(e.key);!s&&!i||t&&!i||(e.preventDefault(),t=this.matches(k)?this:g.prev(this,k)[0]||g.next(this,k)[0]||g.findOne(k,e.delegateTarget.parentNode),i=O.getOrCreateInstance(t),s?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}f.on(document,Me,k,O.dataApiKeydownHandler),f.on(document,Me,je,O.dataApiKeydownHandler),f.on(document,Ne,O.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",O.clearMenus),f.on(document,Ne,k,function(e){e.preventDefault(),O.getOrCreateInstance(this).toggle()}),e(O);let Re="backdrop",Ke="mousedown.bs."+Re,Qe={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ye={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Xe extends t{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Qe}static get DefaultType(){return Ye}static get NAME(){return Re}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&c(t),t.classList.add("show"),this._emulateAnimation(()=>{d(e)})):d(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),d(e)})):d(e)}dispose(){this._isAppended&&(f.off(this._element,Ke),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=n(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),f.on(e,Ke,()=>{d(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){$(e,this._getElement(),this._config.isAnimated)}}let Ue=".bs.focustrap",Ge=(Ue,Ue,"backward"),Ze={autofocus:!0,trapElement:null},Je={autofocus:"boolean",trapElement:"element"};class et extends t{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ze}static get DefaultType(){return Je}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,Ue),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,Ue))}_handleFocusin(e){var t=this._config.trapElement;e.target===document||e.target===t||t.contains(e.target)||(0===(e=g.focusableChildren(t)).length?t:this._lastTabNavDirection===Ge?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Ge:"forward")}}let tt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",it=".sticky-top",st="padding-right",nt="margin-right";class rt{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,st,e=>e+t),this._setElementAttributes(tt,st,e=>e+t),this._setElementAttributes(it,nt,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,st),this._resetElementAttributes(tt,st),this._resetElementAttributes(it,nt)}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,s){let n=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+n||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,s(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&u.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=u.getDataAttribute(e,i);null!==t?(u.removeDataAttribute(e,i),e.style.setProperty(i,t)):e.style.removeProperty(i)})}
1_applyManipulationCallback(e,t){if(o(e))t(e);else for(var i of g.find(e,this._element))t(i)}}let L=".bs.modal",ot=(L,L,"hidden"+L),at="show"+L,lt=(L,L,L,L,L,L,"modal-open"),ct="modal-static",ht={backdrop:!0,focus:!0,keyboard:!0},dt={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class S extends p{constructor(e,t){super(e,t),this._dialog=g.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new rt,this._addEventListeners()}static get Default(){return ht}static get DefaultType(){return dt}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,at,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(lt),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,L),f.off(this._dialog,L),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xe({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new et({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=g.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),c(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(lt),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,ot)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!f.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(ct)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(ct),this._queueCallback(()=>{this._element.classList.remove(ct),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=0<t;if(i&&!e){let e=h()?"paddingLeft":"paddingRight";this._element.style[e]=t+"px"}if(!i&&e){let e=h()?"paddingRight":"paddingLeft";this._element.style[e]=t+"px"}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){var e=S.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t](i)}})}}f.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){let t=g.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),f.one(t,at,e=>{e.defaultPrevented||f.one(t,ot,()=>{r(this)&&this.focus()})});e=g.findOne(".modal.show");e&&S.getInstance(e).hide(),S.getOrCreateInstance(t).toggle(this)}),m(S),e(S);let ut=".bs.offcanvas",pt="showing",ft=".offcanvas.show",gt="hidePrevented"+ut,mt="hidden"+ut,_t={backdrop:!0,keyboard:!0,scroll:!1},bt={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class x extends p{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return _t}static get DefaultType(){return bt}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 rt).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(pt),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(pt),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 rt).reset(),f.trigger(this._element,mt)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new Xe({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():f.trigger(this._element,gt)}:null})}_initializeFocusTrap(){return new et({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,gt))})}static jQueryInterface(t){return this.each(function(){var e=x.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=g.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(f.one(t,mt,()=>{r(this)&&this.focus()}),(e=g.findOne(ft))&&e!==t&&x.getInstance(e).hide(),x.getOrCreateInstance(t).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(var e of g.find(ft))x.getOrCreateInstance(e).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(var e of g.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&x.getOrCreateInstance(e).hide()}),m(x),e(x);let vt={"*":["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:[]},yt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),wt=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Et={allowList:vt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},At={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Tt={entry:"(string|element|function|null)",selector:"(string|element)"};class Ct extends t{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Et}static get DefaultType(){return At}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>
1this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){var i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(let[e,t]of Object.entries(this._config.content))this._setContent(i,t,e);let e=i.children[0],t=this._resolvePossibleFunction(this._config.extraClass);return t&&e.classList.add(...t.split(" ")),e}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(var[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},Tt)}_setContent(e,t,i){i=g.findOne(i,e);i&&((t=this._resolvePossibleFunction(t))?o(t)?this._putElementInTemplate(n(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(i){if(this._config.sanitize){var s=i,n=this._config.allowList,r=this._config.sanitizeFn;if(!s.length)return s;if(r&&"function"==typeof r)return r(s);let e=(new window.DOMParser).parseFromString(s,"text/html"),t=[].concat(...e.body.querySelectorAll("*"));for(let s of t){let e=s.nodeName.toLowerCase();if(Object.keys(n).includes(e)){let t=[].concat(...s.attributes),i=[].concat(n["*"]||[],n[e]||[]);for(let e of t)((e,t)=>{let i=e.nodeName.toLowerCase();return t.includes(i)?!yt.has(i)||Boolean(wt.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(e,i)||s.removeAttribute(e.nodeName)}else s.remove()}return e.body.innerHTML}return i}_resolvePossibleFunction(e){return d(e,[this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}let kt=new Set(["sanitize","allowList","sanitizeFn"]),Ot="fade",Lt="show",St="hide.bs.modal",D="hover",xt="focus",Dt={AUTO:"auto",TOP:"top",RIGHT:h()?"left":"right",BOTTOM:"bottom",LEFT:h()?"right":"left"},It={allowList:vt,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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Pt={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 I extends p{constructor(e,t){if(void 0===i)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 It}static get DefaultType(){return Pt}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"),St,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){let e=f.trigger(this._element,this.constructor.eventName("show")),t=(q(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();var i=this._getTipElement(),s=(this._element.setAttribute("aria-describedby",i.getAttribute("id")),this._config).container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Lt),"ontouchstart"in document.documentElement)for(let e of[].concat(...document.body.children))f.on(e,"mouseover",l);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}
1hide(){if(this._isShown()&&!f.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Lt),"ontouchstart"in document.documentElement)for(var e of[].concat(...document.body.children))f.off(e,"mouseover",l);this._activeTrigger.click=!1,this._activeTrigger[xt]=!1,this._activeTrigger[D]=!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(Ot,Lt),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(Ot),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ct({...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(Ot)}_isShown(){return this.tip&&this.tip.classList.contains(Lt)}_createPopper(e){var t=d(this._config.placement,[this,e,this._element]),t=Dt[t.toUpperCase()];return i.createPopper(this._element,e,this._getPopperConfig(t))}_getOffset(){let 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 d(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,...d(this._config.popperConfig,[e])}}_setListeners(){let e=this._config.trigger.split(" ");for(var i of e)if("click"===i)f.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if("manual"!==i){let e=i===D?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),t=i===D?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?xt:D]=!0,t._enter()}),f.on(this._element,t,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?xt:D]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),St,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=u.getDataAttributes(this._element);for(let e of Object.keys(t))kt.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:n(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=I.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}e(I);let Nt={...I.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Mt={...I.DefaultType,content:"(null|string|element|function)"};class jt extends I{static get Default(){return Nt}static get DefaultType(){return Mt}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=jt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(jt);let Bt=".bs.scrollspy",Ft="click"+Bt,P="active",Ht="[href]",zt={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},qt={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Vt extends p{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 zt}static get DefaultType(){return qt}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(var e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=n(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,Ft),f.on(this._config.target,Ft,Ht,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){let t=e=>this._targetLinks.get("#"+e.target.id),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},s=(this._rootElement||document.documentElement).scrollTop,n=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(var r of e)if(r.isIntersecting){let e=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&e){if(i(r),!s)return}else n||e||i(r)}else this._activeTarget=null,this._clearActiveClass(t(r))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=g.find(Ht,this._config.target);for(var t of e)if(t.hash&&!a(t)){let e=g.findOne(decodeURI(t.hash),this._element);r(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(P),this._activateParents(e),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))g.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(P);else for(var t of g.parents(e,".nav, .list-group"))for(let e of g.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(P)}_clearActiveClass(e){e.classList.remove(P);var t=g.find(Ht+"."+P,e);for(let e of t)e.classList.remove(P)}static jQueryInterface(t){return this.each(function(){var e=Vt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}f.on(window,"load.bs.scrollspy.data-api",()=>{for(var e of g.find('[data-bs-spy="scroll"]'))Vt.getOrCreateInstance(e)}),e(Vt);let Wt="ArrowRight",$t="ArrowDown",Rt="Home",N="active",Kt="show",Qt=".dropdown-toggle",Yt=`:not(${Qt})`,Xt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ut=`.nav-link${Yt}, .list-group-item${Yt}, [role="tab"]${Yt}, `+Xt;N,N,N;class M extends p{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(N),this._activate(g.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(Kt)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(N),e.blur(),this._deactivate(g.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(Kt)},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",Wt,"ArrowUp",$t,Rt,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,s=this._getChildren().filter(e=>!a(e));let e;(e=[Rt,"End"].includes(t.key)?s[t.key===Rt?0:s.length-1]:(i=[Wt,$t].includes(t.key),R(s,t.target,i,!0)))&&(e.focus({preventScroll:!0}),M.getOrCreateInstance(e).show())}}_getChildren(){return g.find(Ut,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(let 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=g.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){let s=this._getOuterElement(e);s.classList.contains("dropdown")&&((e=(e,t)=>{e=g.findOne(e,s);e&&e.classList.toggle(t,i)})(Qt,N),e(".dropdown-menu",Kt),s.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(N)}_getInnerElement(e){return e.matches(Ut)?e:g.findOne(Ut,e)}
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=M.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",Xt,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||M.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(var e of g.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))M.getOrCreateInstance(e)}),e(M);let Gt="show",Zt="showing",Jt={animation:"boolean",autohide:"boolean",delay:"number"},ei={animation:!0,autohide:!0,delay:5e3};class ti extends p{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ei}static get DefaultType(){return Jt}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"),c(this._element),this._element.classList.add(Gt,Zt),this._queueCallback(()=>{this._element.classList.remove(Zt),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(Zt),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(Zt,Gt),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Gt),super.dispose()}isShown(){return this._element.classList.contains(Gt)}_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():this._element===(e=e.relatedTarget)||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=ti.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return m(ti),e(ti),{Alert:_,Button:de,Carousel:E,Collapse:T,Dropdown:O,Modal:S,Offcanvas:x,Popover:jt,ScrollSpy:Vt,Tab:M,Toast:ti,Tooltip:I}}),document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("map");if(e){{let e=setInterval(function(){"undefined"!=typeof google&&google.maps&&(clearInterval(e),initMap())},100)}e=document.getElementById("location-search");e&&e.addEventListener("submit",function(e){e.preventDefault();e=$(this).find("#location-code").val();(/^\d{5}$/.test(e)?getLatLngByZipcode:getLatLngByStateOrLocation)(e,getLatLngByZipCodeHandler)})}});var locationLatLng=[],grayscaleStyle=[{featureType:"all",elementType:"geometry",stylers:[{color:"#e7e7e7"}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{weight:2}]},{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#333333"},{lightness:40}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#d6d6d6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c8c8c8"},{weight:1.2}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#f1f1f1"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#cfcfcf"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#cccccc"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#5e5e5e"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#bfbfbf"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}];function initMap(){var u=new google.maps.Map(document.getElementById("map"),{zoom:3,center:{lat:37.7749,lng:-122.4194},styles:grayscaleStyle}),p=null;document.querySelectorAll(".marker").forEach(function(e){var t,i,s,n=parseFloat(e.getAttribute("data-lat")),r=parseFloat(e.getAttribute("data-lng")),o=e.getAttribute("data-id"),a=e.querySelector("h3.title")?e.querySelector("h3.title").textContent:"Unknown Title",l=e.querySelector("p.address")?e.querySelector("p.address").textContent:"Unknown Address",c=e.querySelector("a.location-page")?e.querySelector("a.location-page").href:"#",h=e.querySelector("p.phone")?e.querySelector("p.phone").textContent:"Unknown Phone",d=e.querySelector("a.directions")?e.querySelector("a.directions").href:"#";n&&r?(t={url:"/wp-content/themes/vanguardtrucks/assets/icons/map-marker.svg",scaledSize:new google.maps.Size(40,40),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(20,40)},i=new google.maps.Marker({position:{lat:n,lng:r},map:u,icon:t}),locationLatLng.push({id:o,point:i}),s=new google.maps.InfoWindow({content:` 2 <div class="custom-info-window"> 3 <img src="/wp-content/uploads/2024/10/Vanguard-Black-logo.png" class="brand-logo" style="margin-bottom:15px;width:115px;" > 4 <h3><a class="location-page-link" target="_blank" href="${c}">${a}</a></h3> 5 <p>${l}</p> 6 <p><b>Phone:</b> ${h}</p> 7 <a class="direction-link" target="_blank" href="${d}">Directions to the location</a> 8 </div> 9 `}),i.addListener("click",function(){p&&p.close(),s.open(u,i),p=s}),i.addListener("mouseover",function(){p&&p.close(),s.open(u,i),p=s}),$(document).find(`.location-${o}
9 .location-details`).on("click",function(){google.maps.event.trigger(i,"click"),u.setCenter(i.getPosition())})):console.error("Missing latitude or longitude for marker:",e)}),center_map(u)}function getLatLngByZipCodeHandler(e){var i=new google.maps.LatLng(e.lat,e.lng),s=[],t=(locationLatLng.forEach(e=>{var t=google.maps.geometry.spherical.computeDistanceBetween(e.point.getPosition(),i);t&&(t=mToMi(t),$(document).find(".location-"+e.id+" .js-location-distance").html("Distance: "+t.toFixed(2)+" miles"),s.push({id:e.id,distance:parseFloat(t),marker:e.point}))}),s.sort((e,t)=>e.distance-t.distance),$(".locations-list"));s.forEach(e=>{e=$(document).find(".location-"+e.id);t.append(e)}),0<s.length&&google.maps.event.trigger(s[0].marker,"click")}function mToMi(e){return 621371e-9*e}function center_map(e){var t=new google.maps.LatLngBounds;locationLatLng.forEach(e=>{t.extend(e.point.getPosition())}),1===locationLatLng.length?(e.setCenter(t.getCenter()),e.setZoom(5)):e.fitBounds(t)}function updateLenisPrevent(){var e=document.querySelectorAll(".mega-sub-menu");window.innerWidth<1325?e.forEach(e=>e.setAttribute("data-lenis-prevent","")):e.forEach(e=>e.removeAttribute("data-lenis-prevent"))}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("img.lazyload").forEach(function(e){e.classList.contains("blur-up")||e.classList.add("blur-up")})}),document.addEventListener("DOMContentLoaded",function(){document.querySelector("header").offsetHeight,window.addEventListener("scroll",function(){}),new Swiper(".testimonialsSwiper",{slidesPerView:1,spaceBetween:20,centeredSlides:!0,autoplay:{delay:3500,disableOnInteraction:!0,pauseOnMouseEnter:!0},loop:!0,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{640:{slidesPerView:1,spaceBetween:10},968:{slidesPerView:1,spaceBetween:10},1224:{slidesPerView:1,spaceBetween:10},1241:{slidesPerView:1.1,spaceBetween:20}}});var e=new Swiper(".truckDetailsTumbnails",{spaceBetween:10,slidesPerView:4,lazy:!0,loop:!0,autoplay:{delay:5e3,disableOnInteraction:!0},watchSlidesProgress:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1,spaceBetween:10},380:{slidesPerView:2,spaceBetween:10},440:{slidesPerView:2,spaceBetween:10},540:{slidesPerView:2,spaceBetween:10},640:{slidesPerView:2,spaceBetween:10},968:{slidesPerView:3,spaceBetween:10},1224:{slidesPerView:3,spaceBetween:10},1241:{slidesPerView:4,spaceBetween:20}}}),e=(new Swiper(".truckDetailsImage",{spaceBetween:10,lazy:!0,loop:!0,autoplay:{delay:5e3,disableOnInteraction:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},thumbs:{swiper:e}}),new Swiper(".showroomTruckDetailsTumbnails",{spaceBetween:10,slidesPerView:4,lazy:!0,loop:!1,watchSlidesProgress:!0,autoplay:{delay:5e3,disableOnInteraction:!0},breakpoints:{320:{slidesPerView:1,spaceBetween:10},380:{slidesPerView:2,spaceBetween:10},440:{slidesPerView:2,spaceBetween:10},540:{slidesPerView:2,spaceBetween:10},640:{slidesPerView:2,spaceBetween:10},968:{slidesPerView:3,spaceBetween:10},1224:{slidesPerView:3,spaceBetween:10},1241:{slidesPerView:4,spaceBetween:20}}}));new Swiper(".showroomTruckDetailsImage",{spaceBetween:10,lazy:!0,loop:!0,autoplay:{delay:5e3,disableOnInteraction:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},thumbs:{swiper:e}}),new Swiper(".showroomTrucks",{spaceBetween:30,lazy:!0,loop:!0,autoplay:{delay:3e3,disableOnInteraction:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{640:{slidesPerView:1,spaceBetween:10},968:{slidesPerView:1,spaceBetween:10},1224:{slidesPerView:2,spaceBetween:30},1241:{slidesPerView:3,spaceBetween:30}}}),new Swiper(".relatedTrucksSwiper",{slidesPerView:1,spaceBetween:10,centeredSlides:!0,autoplay:{delay:3500,disableOnInteraction:!0,pauseOnMouseEnter:!0},grabCursor:!0,loop:!0,effect:"slide",navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{980:{slidesPerView:2,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:20}}}),new Swiper(".partDepartment",{slidesPerView:1,centeredSlides:!0,autoplay:{delay:3500,disableOnInteraction:!0,pauseOnMouseEnter:!0},grabCursor:!0,effect:"fade",loop:!0,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})}),document.addEventListener("DOMContentLoaded",function(){let t,i=0,s=document.querySelector("header"),n=s.offsetHeight;window.addEventListener("scroll",function(){t=!0}),setInterval(function(){var e;t&&(e=window.scrollY||document.documentElement.scrollTop,Math.abs(i-e)<=5||(e>i&&e>n?(s.classList.remove("nav-down"),s.classList.add("nav-up")):e+window.innerHeight<document.documentElement.scrollHeight&&(s.classList.remove("nav-up"),s.classList.add("nav-down")),i=e),t=!1)},250);Plyr.setup(".js-player",{youtube:{rel:0,showinfo:0}});document.querySelectorAll(".video-wrapper").forEach(s=>{var e=s.querySelector(".custom-play-btn");e&&e.addEventListener("click",()=>{var e=s.getAttribute("data-video-id"),t=s.getAttribute("data-video-src"),i=s.getAttribute("data-video-poster")||"";e?s.innerHTML=`<div class="js-player" data-plyr-provider="youtube" data-plyr-embed-id="${e}"></div>`:t&&(s.innerHTML=` 10 <video class="js-player" playsinline controls poster="${i}"> 11 <source src="${t}" type="video/mp4"> 12 </video>`),Plyr.setup(".js-player",{youtube:{rel:0}})})})}),updateLenisPrevent(),window.addEventListener("resize",updateLenisPrevent),jQuery(document).ready(function(i){let s=i("#input_32_20"),n=i("#input_32_22");new Date;function r(e){e=e.split("-");return new Date(e[2],e[1]-1,e[0])}setTimeout(function(){var e;s.hasClass("hasDatepicker")&&s.datepicker("option","minDate",0),n.hasClass("hasDatepicker")&&(e=s.val())&&(e=r(e),n.datepicker("option","minDate",e))},300),s.on("change",function(){var e,t=i(this).val();t&&(t=r(t),n.datepicker("option","minDate",t),e=n.val())&&r(e)<t&&n.val("")}
12),n.on("change blur",function(){var e=s.val(),t=n.val();e&&t&&(e=r(e),r(t)<e)&&(alert("Rental end date cannot be before the start date."),n.val(""))})}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".evSwiper .swiper-slide").length;e&&"undefined"!=typeof Swiper&&(e=Math.floor(Math.random()*e),new Swiper(".evSwiper",{slidesPerView:1,grabCursor:!0,effect:"fade",loop:!0,autoplay:{delay:3500,disableOnInteraction:!0,pauseOnMouseEnter:!0},initialSlide:e,pagination:{el:".evSwiper .swiper-pagination",clickable:!0},navigation:{nextEl:".evSwiper .swiper-button-next",prevEl:".evSwiper .swiper-button-prev"}}))});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.