-
Notifications
You must be signed in to change notification settings - Fork 8
/
arizona-bootstrap.bundle.min.js
7 lines (7 loc) · 81.1 KB
/
arizona-bootstrap.bundle.min.js
1
2
3
4
5
6
7
/*!
* Arizona Bootstrap v2.0.18 (https://github.com/az-digital/arizona-bootstrap)
* Copyright 2022 The Arizona Board of Regents on behalf of The University of Arizona
* Licensed under MIT (https://github.com/az-digital/arizona-bootstrap/blob/main/LICENSE)
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["arizona-bootstrap"]={},t.jQuery)}(this,(function(t,e){"use strict";const n="transitionend";const i={TRANSITION_END:"bsTransitionEnd",getUID(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement(t){let e=t.getAttribute("data-target");if(!e||"#"===e){const n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement(t){if(!t)return 0;let n=e(t).css("transition-duration"),i=e(t).css("transition-delay");const o=parseFloat(n),s=parseFloat(i);return o||s?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:t=>t.offsetHeight,triggerTransitionEnd(t){e(t).trigger(n)},supportsTransitionEnd:()=>Boolean(n),isElement:t=>(t[0]||t).nodeType,typeCheckConfig(t,e,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],a=e[s],l=a&&i.isElement(a)?"element":null===(o=a)||"undefined"==typeof o?`${o}`:{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(l))throw new Error(`${t.toUpperCase()}: Option "${s}" provided type "${l}" but expected type "${r}".`)}var o},findShadowRoot(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?i.findShadowRoot(t.parentNode):null},jQueryDetection(){if("undefined"==typeof e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");const t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};i.jQueryDetection(),e.fn.emulateTransitionEnd=function(t){let n=!1;return e(this).one(i.TRANSITION_END,(()=>{n=!0})),setTimeout((()=>{n||i.triggerTransitionEnd(this)}),t),this},e.event.special[i.TRANSITION_END]={bindType:n,delegateType:n,handle(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};const o="bs.alert",s=e.fn.alert;class r{constructor(t){this._element=t}static get VERSION(){return"4.6.2"}close(t){let e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)}dispose(){e.removeData(this._element,o),this._element=null}_getRootElement(t){const n=i.getSelectorFromElement(t);let o=!1;return n&&(o=document.querySelector(n)),o||(o=e(t).closest(".alert")[0]),o}_triggerCloseEvent(t){const n=e.Event("close.bs.alert");return e(t).trigger(n),n}_removeElement(t){if(e(t).removeClass("show"),!e(t).hasClass("fade"))return void this._destroyElement(t);const n=i.getTransitionDurationFromElement(t);e(t).one(i.TRANSITION_END,(e=>this._destroyElement(t,e))).emulateTransitionEnd(n)}_destroyElement(t){e(t).detach().trigger("closed.bs.alert").remove()}static _jQueryInterface(t){return this.each((function(){const n=e(this);let i=n.data(o);i||(i=new r(this),n.data(o,i)),"close"===t&&i[t](this)}))}static _handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',r._handleDismiss(new r)),e.fn.alert=r._jQueryInterface,e.fn.alert.Constructor=r,e.fn.alert.noConflict=()=>(e.fn.alert=s,r._jQueryInterface);const a="bs.button",l=e.fn.button,c="active",h='[data-toggle^="button"]',d='input:not([type="hidden"])',u=".btn";class f{constructor(t){this._element=t,this.shouldAvoidTriggerChange=!1}static get VERSION(){return"4.6.2"}toggle(){let t=!0,n=!0;const i=e(this._element).closest('[data-toggle="buttons"]')[0];if(i){const o=this._element.querySelector(d);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(c))t=!1;else{const t=i.querySelector(".active");t&&e(t).removeClass(c)}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains(c)),this.shouldAvoidTriggerChange||e(o).trigger("change")),o.focus(),n=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(c)),t&&e(this._element).toggleClass(c))}dispose(){e.removeData(this._element,a),this._element=null}static _jQueryInterface(t,n){return this.each((function(){const i=e(this);let o=i.data(a);o||(o=new f(this),i.data(a,o)),o.shouldAvoidTriggerChange=n,"toggle"===t&&o[t]()}))}}e(document).on("click.bs.button.data-api",h,(t=>{let n=t.target;const i=n;if(e(n).hasClass("btn")||(n=e(n).closest(u)[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))t.preventDefault();else{const o=n.querySelector(d);if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==i.tagName&&"LABEL"===n.tagName||f._jQueryInterface.call(e(n),"toggle","INPUT"===i.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",h,(t=>{const n=e(t.target).closest(u)[0];e(n).toggleClass("focus",/^focus(in)?$/.test(t.type))})),e(window).on("load.bs.button.data-api",(()=>{let t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn'));for(let e=0,n=t.length;e<n;e++){const n=t[e],i=n.querySelector(d);i.checked||i.hasAttribute("checked")?n.classList.add(c):n.classList.remove(c)}t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'));for(let e=0,n=t.length;e<n;e++){const n=t[e];"true"===n.getAttribute("aria-pressed")?n.classList.add(c):n.classList.remove(c)}})),e.fn.button=f._jQueryInterface,e.fn.button.Constructor=f,e.fn.button.noConflict=()=>(e.fn.button=l,f._jQueryInterface);const p="carousel",g="bs.carousel",m=e.fn[p],_="active",v="next",b="prev",y="slid.bs.carousel",E=".active.carousel-item",w={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},T={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},C={TOUCH:"touch",PEN:"pen"};class S{constructor(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}static get VERSION(){return"4.6.2"}static get Default(){return w}next(){this._isSliding||this._slide(v)}nextWhenVisible(){const t=e(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()}prev(){this._isSliding||this._slide(b)}pause(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(i.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=this._element.querySelector(E);const n=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void e(this._element).one(y,(()=>this.to(t)));if(n===t)return this.pause(),void this.cycle();const i=t>n?v:b;this._slide(i,this._items[t])}dispose(){e(this._element).off(".bs.carousel"),e.removeData(this._element,g),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null}_getConfig(t){return t={...w,...t},i.typeCheckConfig(p,t,T),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}_addEventListeners(){this._config.keyboard&&e(this._element).on("keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&e(this._element).on("mouseenter.bs.carousel",(t=>this.pause(t))).on("mouseleave.bs.carousel",(t=>this.cycle(t))),this._config.touch&&this._addTouchEventListeners()}_addTouchEventListeners(){if(!this._touchSupported)return;const t=t=>{this._pointerEvent&&C[t.originalEvent.pointerType.toUpperCase()]?this.touchStartX=t.originalEvent.clientX:this._pointerEvent||(this.touchStartX=t.originalEvent.touches[0].clientX)},n=t=>{this.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-this.touchStartX},i=t=>{this._pointerEvent&&C[t.originalEvent.pointerType.toUpperCase()]&&(this.touchDeltaX=t.originalEvent.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};e(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(t=>t.preventDefault())),this._pointerEvent?(e(this._element).on("pointerdown.bs.carousel",(e=>t(e))),e(this._element).on("pointerup.bs.carousel",(t=>i(t))),this._element.classList.add("pointer-event")):(e(this._element).on("touchstart.bs.carousel",(e=>t(e))),e(this._element).on("touchmove.bs.carousel",(t=>n(t))),e(this._element).on("touchend.bs.carousel",(t=>i(t))))}_keydown(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}}_getItemIndex(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)}_getItemByDirection(t,e){const n=t===v,i=t===b,o=this._getItemIndex(e),s=this._items.length-1;if((i&&0===o||n&&o===s)&&!this._config.wrap)return e;const r=(o+(t===b?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]}_triggerSlideEvent(t,n){const i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(E)),s=e.Event("slide.bs.carousel",{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(s),s}_setActiveIndicatorElement(t){if(this._indicatorsElement){const n=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));e(n).removeClass(_);const i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(_)}}_updateInterval(){const t=this._activeElement||this._element.querySelector(E);if(!t)return;const e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,n){const o=this._element.querySelector(E),s=this._getItemIndex(o),r=n||o&&this._getItemByDirection(t,o),a=this._getItemIndex(r),l=Boolean(this._interval);let c,h,d;if(t===v?(c="carousel-item-left",h="carousel-item-next",d="left"):(c="carousel-item-right",h="carousel-item-prev",d="right"),r&&e(r).hasClass(_))return void(this._isSliding=!1);if(this._triggerSlideEvent(r,d).isDefaultPrevented())return;if(!o||!r)return;this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;const u=e.Event(y,{relatedTarget:r,direction:d,from:s,to:a});if(e(this._element).hasClass("slide")){e(r).addClass(h),i.reflow(r),e(o).addClass(c),e(r).addClass(c);const t=i.getTransitionDurationFromElement(o);e(o).one(i.TRANSITION_END,(()=>{e(r).removeClass(`${c} ${h}`).addClass(_),e(o).removeClass(`active ${h} ${c}`),this._isSliding=!1,setTimeout((()=>e(this._element).trigger(u)),0)})).emulateTransitionEnd(t)}else e(o).removeClass(_),e(r).addClass(_),this._isSliding=!1,e(this._element).trigger(u);l&&this.cycle()}static _jQueryInterface(t){return this.each((function(){let n=e(this).data(g),i={...w,...e(this).data()};"object"==typeof t&&(i={...i,...t});const o="string"==typeof t?t:i.slide;if(n||(n=new S(this,i),e(this).data(g,n)),"number"==typeof t)n.to(t);else if("string"==typeof o){if("undefined"==typeof n[o])throw new TypeError(`No method named "${o}"`);n[o]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}))}static _dataApiClickHandler(t){const n=i.getSelectorFromElement(this);if(!n)return;const o=e(n)[0];if(!o||!e(o).hasClass("carousel"))return;const s={...e(o).data(),...e(this).data()},r=this.getAttribute("data-slide-to");r&&(s.interval=!1),S._jQueryInterface.call(e(o),s),r&&e(o).data(g).to(r),t.preventDefault()}}e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",S._dataApiClickHandler),e(window).on("load.bs.carousel.data-api",(()=>{const t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]'));for(let n=0,i=t.length;n<i;n++){const i=e(t[n]);S._jQueryInterface.call(i,i.data())}})),e.fn[p]=S._jQueryInterface,e.fn[p].Constructor=S,e.fn[p].noConflict=()=>(e.fn[p]=m,S._jQueryInterface);const A="collapse",N="bs.collapse",D=e.fn[A],I="show",k="collapse",O="collapsing",x="collapsed",j="width",L='[data-toggle="collapse"]',P={toggle:!0,parent:""},F={toggle:"boolean",parent:"(string|element)"};class R{constructor(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll(`[data-toggle="collapse"][href="#${t.id}"],[data-toggle="collapse"][data-target="#${t.id}"]`));const n=[].slice.call(document.querySelectorAll(L));for(let e=0,o=n.length;e<o;e++){const o=n[e],s=i.getSelectorFromElement(o),r=[].slice.call(document.querySelectorAll(s)).filter((e=>e===t));null!==s&&r.length>0&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get VERSION(){return"4.6.2"}static get Default(){return P}toggle(){e(this._element).hasClass(I)?this.hide():this.show()}show(){if(this._isTransitioning||e(this._element).hasClass(I))return;let t,n;if(this._parent&&(t=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((t=>"string"==typeof this._config.parent?t.getAttribute("data-parent")===this._config.parent:t.classList.contains(k))),0===t.length&&(t=null)),t&&(n=e(t).not(this._selector).data(N),n&&n._isTransitioning))return;const o=e.Event("show.bs.collapse");if(e(this._element).trigger(o),o.isDefaultPrevented())return;t&&(R._jQueryInterface.call(e(t).not(this._selector),"hide"),n||e(t).data(N,null));const s=this._getDimension();e(this._element).removeClass(k).addClass(O),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(x).attr("aria-expanded",!0),this.setTransitioning(!0);const r=`scroll${s[0].toUpperCase()+s.slice(1)}`,a=i.getTransitionDurationFromElement(this._element);e(this._element).one(i.TRANSITION_END,(()=>{e(this._element).removeClass(O).addClass("collapse show"),this._element.style[s]="",this.setTransitioning(!1),e(this._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(a),this._element.style[s]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!e(this._element).hasClass(I))return;const t=e.Event("hide.bs.collapse");if(e(this._element).trigger(t),t.isDefaultPrevented())return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,i.reflow(this._element),e(this._element).addClass(O).removeClass("collapse show");const o=this._triggerArray.length;if(o>0)for(let t=0;t<o;t++){const n=this._triggerArray[t],o=i.getSelectorFromElement(n);null!==o&&(e([].slice.call(document.querySelectorAll(o))).hasClass(I)||e(n).addClass(x).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";const s=i.getTransitionDurationFromElement(this._element);e(this._element).one(i.TRANSITION_END,(()=>{this.setTransitioning(!1),e(this._element).removeClass(O).addClass(k).trigger("hidden.bs.collapse")})).emulateTransitionEnd(s)}setTransitioning(t){this._isTransitioning=t}dispose(){e.removeData(this._element,N),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(t){return(t={...P,...t}).toggle=Boolean(t.toggle),i.typeCheckConfig(A,t,F),t}_getDimension(){return e(this._element).hasClass(j)?j:"height"}_getParent(){let t;i.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);const n=`[data-toggle="collapse"][data-parent="${this._config.parent}"]`,o=[].slice.call(t.querySelectorAll(n));return e(o).each(((t,e)=>{this._addAriaAndCollapsedClass(R._getTargetFromElement(e),[e])})),t}_addAriaAndCollapsedClass(t,n){const i=e(t).hasClass(I);n.length&&e(n).toggleClass(x,!i).attr("aria-expanded",i)}static _getTargetFromElement(t){const e=i.getSelectorFromElement(t);return e?document.querySelector(e):null}static _jQueryInterface(t){return this.each((function(){const n=e(this);let i=n.data(N);const o={...P,...n.data(),..."object"==typeof t&&t?t:{}};if(!i&&o.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(o.toggle=!1),i||(i=new R(this,o),n.data(N,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}e(document).on("click.bs.collapse.data-api",L,(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();const n=e(this),o=i.getSelectorFromElement(this),s=[].slice.call(document.querySelectorAll(o));e(s).each((function(){const t=e(this),i=t.data(N)?"toggle":n.data();R._jQueryInterface.call(t,i)}))})),e.fn[A]=R._jQueryInterface,e.fn[A].Constructor=R,e.fn[A].noConflict=()=>(e.fn[A]=D,R._jQueryInterface);var q="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,B=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(q&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}(),H=q&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),B))}};function M(t){return t&&"[object Function]"==={}.toString.call(t)}function Q(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function W(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function U(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Q(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:U(W(t))}function $(t){return t&&t.referenceNode?t.referenceNode:t}var V=q&&!(!window.MSInputMethodContext||!document.documentMode),z=q&&/MSIE 10/.test(navigator.userAgent);function Y(t){return 11===t?V:10===t?z:V||z}function K(t){if(!t)return document.documentElement;for(var e=Y(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Q(n,"position")?K(n):n:t?t.ownerDocument.documentElement:document.documentElement}function X(t){return null!==t.parentNode?X(t.parentNode):t}function G(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,s=document.createRange();s.setStart(i,0),s.setEnd(o,0);var r,a,l=s.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(r=l).nodeName)||"HTML"!==a&&K(r.firstElementChild)!==r?K(l):l;var c=X(t);return c.host?G(c.host,e):G(t,X(e).host)}function J(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,s=t.ownerDocument.scrollingElement||o;return s[n]}return t[n]}function Z(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=J(e,"top"),o=J(e,"left"),s=n?-1:1;return t.top+=i*s,t.bottom+=i*s,t.left+=o*s,t.right+=o*s,t}function tt(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function et(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Y(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function nt(t){var e=t.body,n=t.documentElement,i=Y(10)&&getComputedStyle(n);return{height:et("Height",e,n,i),width:et("Width",e,n,i)}}var it=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ot=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),st=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},rt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function at(t){return rt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function lt(t){var e={};try{if(Y(10)){e=t.getBoundingClientRect();var n=J(t,"top"),i=J(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?nt(t.ownerDocument):{},r=s.width||t.clientWidth||o.width,a=s.height||t.clientHeight||o.height,l=t.offsetWidth-r,c=t.offsetHeight-a;if(l||c){var h=Q(t);l-=tt(h,"x"),c-=tt(h,"y"),o.width-=l,o.height-=c}return at(o)}function ct(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Y(10),o="HTML"===e.nodeName,s=lt(t),r=lt(e),a=U(t),l=Q(e),c=parseFloat(l.borderTopWidth),h=parseFloat(l.borderLeftWidth);n&&o&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0));var d=at({top:s.top-r.top-c,left:s.left-r.left-h,width:s.width,height:s.height});if(d.marginTop=0,d.marginLeft=0,!i&&o){var u=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=c-u,d.bottom-=c-u,d.left-=h-f,d.right-=h-f,d.marginTop=u,d.marginLeft=f}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(d=Z(d,e)),d}function ht(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=ct(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),s=Math.max(n.clientHeight,window.innerHeight||0),r=e?0:J(n),a=e?0:J(n,"left"),l={top:r-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:s};return at(l)}function dt(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===Q(t,"position"))return!0;var n=W(t);return!!n&&dt(n)}function ut(t){if(!t||!t.parentElement||Y())return document.documentElement;for(var e=t.parentElement;e&&"none"===Q(e,"transform");)e=e.parentElement;return e||document.documentElement}function ft(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},r=o?ut(t):G(t,$(e));if("viewport"===i)s=ht(r,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=U(W(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=ct(a,r,o);if("HTML"!==a.nodeName||dt(r))s=l;else{var c=nt(t.ownerDocument),h=c.height,d=c.width;s.top+=l.top-l.marginTop,s.bottom=h+l.top,s.left+=l.left-l.marginLeft,s.right=d+l.left}}var u="number"==typeof(n=n||0);return s.left+=u?n:n.left||0,s.top+=u?n:n.top||0,s.right-=u?n:n.right||0,s.bottom-=u?n:n.bottom||0,s}function pt(t){return t.width*t.height}function gt(t,e,n,i,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=ft(n,i,s,o),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map((function(t){return rt({key:t},a[t],{area:pt(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),h=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return h+(d?"-"+d:"")}function mt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?ut(e):G(e,$(n));return ct(n,o,i)}function _t(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function vt(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function bt(t,e,n){n=n.split("-")[0];var i=_t(t),o={width:i.width,height:i.height},s=-1!==["right","left"].indexOf(n),r=s?"top":"left",a=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return o[r]=e[r]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[vt(a)],o}function yt(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Et(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t.name===n}));var i=yt(t,(function(t){return t.name===n}));return t.indexOf(i)}(t,0,n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&M(n)&&(e.offsets.popper=at(e.offsets.popper),e.offsets.reference=at(e.offsets.reference),e=n(e,t))})),e}function wt(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=mt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=gt(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=bt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Et(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Tt(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function Ct(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],s=o?""+o+n:t;if("undefined"!=typeof document.body.style[s])return s}return null}function St(){return this.state.isDestroyed=!0,Tt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Ct("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function At(t){var e=t.ownerDocument;return e?e.defaultView:window}function Nt(t,e,n,i){var o="BODY"===t.nodeName,s=o?t.ownerDocument.defaultView:t;s.addEventListener(e,n,{passive:!0}),o||Nt(U(s.parentNode),e,n,i),i.push(s)}function Dt(t,e,n,i){n.updateBound=i,At(t).addEventListener("resize",n.updateBound,{passive:!0});var o=U(t);return Nt(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function It(){this.state.eventsEnabled||(this.state=Dt(this.reference,this.options,this.state,this.scheduleUpdate))}function kt(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,At(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Ot(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function xt(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Ot(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var jt=q&&/Firefox/i.test(navigator.userAgent);function Lt(t,e,n){var i=yt(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o){var s="`"+e+"`",r="`"+n+"`";console.warn(r+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}var Pt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ft=Pt.slice(3);function Rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Ft.indexOf(t),i=Ft.slice(n+1).concat(Ft.slice(0,n));return e?i.reverse():i}var qt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,s=o.reference,r=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",h={start:st({},l,s[l]),end:st({},l,s[l]+s[c]-r[c])};t.offsets.popper=rt({},r,h[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n,i=e.offset,o=t.placement,s=t.offsets,r=s.popper,a=s.reference,l=o.split("-")[0];return n=Ot(+i)?[+i,0]:function(t,e,n,i){var o=[0,0],s=-1!==["right","left"].indexOf(i),r=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=r.indexOf(yt(r,(function(t){return-1!==t.search(/,|\s/)})));r[a]&&-1===r[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))]:[r];return c=c.map((function(t,i){var o=(1===i?!s:s)?"height":"width",r=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],r=o[2];return s?0===r.indexOf("%")?at("%p"===r?n:i)[e]/100*s:"vh"===r||"vw"===r?("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s:t}(t,o,e,n)}))})),c.forEach((function(t,e){t.forEach((function(n,i){Ot(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}(i,r,a,l),"left"===l?(r.top+=n[0],r.left-=n[1]):"right"===l?(r.top+=n[0],r.left+=n[1]):"top"===l?(r.left+=n[0],r.top-=n[1]):"bottom"===l&&(r.left+=n[0],r.top+=n[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||K(t.instance.popper);t.instance.reference===n&&(n=K(n));var i=Ct("transform"),o=t.instance.popper.style,s=o.top,r=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=ft(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=s,o.left=r,o[i]=a,e.boundaries=l;var c=e.priority,h=t.offsets.popper,d={primary:function(t){var n=h[t];return h[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(h[t],l[t])),st({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=h[n];return h[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(h[n],l[t]-("right"===t?h.width:h.height))),st({},n,i)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=rt({},h,d[e](t))})),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],s=Math.floor,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",c=r?"width":"height";return n[a]<s(i[l])&&(t.offsets.popper[l]=s(i[l])-n[c]),n[l]>s(i[a])&&(t.offsets.popper[l]=s(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Lt(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],s=t.offsets,r=s.popper,a=s.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",d=h.toLowerCase(),u=l?"left":"top",f=l?"bottom":"right",p=_t(i)[c];a[f]-p<r[d]&&(t.offsets.popper[d]-=r[d]-(a[f]-p)),a[d]+p>r[f]&&(t.offsets.popper[d]+=a[d]+p-r[f]),t.offsets.popper=at(t.offsets.popper);var g=a[d]+a[c]/2-p/2,m=Q(t.instance.popper),_=parseFloat(m["margin"+h]),v=parseFloat(m["border"+h+"Width"]),b=g-t.offsets.popper[d]-_-v;return b=Math.max(Math.min(r[c]-p,b),0),t.arrowElement=i,t.offsets.arrow=(st(n={},d,Math.round(b)),st(n,u,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(Tt(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=ft(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=vt(i),s=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case"flip":r=[i,o];break;case"clockwise":r=Rt(i);break;case"counterclockwise":r=Rt(i,!0);break;default:r=e.behavior}return r.forEach((function(a,l){if(i!==a||r.length===l+1)return t;i=t.placement.split("-")[0],o=vt(i);var c=t.offsets.popper,h=t.offsets.reference,d=Math.floor,u="left"===i&&d(c.right)>d(h.left)||"right"===i&&d(c.left)<d(h.right)||"top"===i&&d(c.bottom)>d(h.top)||"bottom"===i&&d(c.top)<d(h.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),g=d(c.top)<d(n.top),m=d(c.bottom)>d(n.bottom),_="left"===i&&f||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,v=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(v&&"start"===s&&f||v&&"end"===s&&p||!v&&"start"===s&&g||!v&&"end"===s&&m),y=!!e.flipVariationsByContent&&(v&&"start"===s&&p||v&&"end"===s&&f||!v&&"start"===s&&m||!v&&"end"===s&&g),E=b||y;(u||_||E)&&(t.flipped=!0,(u||_)&&(i=r[l+1]),E&&(s=function(t){return"end"===t?"start":"start"===t?"end":t}(s)),t.placement=i+(s?"-"+s:""),t.offsets.popper=rt({},t.offsets.popper,bt(t.instance.popper,t.offsets.reference,t.placement)),t=Et(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,s=i.reference,r=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[r?"left":"top"]=s[n]-(a?o[r?"width":"height"]:0),t.placement=vt(e),t.offsets.popper=at(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Lt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=yt(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,s=yt(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r,a,l=void 0!==s?s:e.gpuAcceleration,c=K(t.instance.popper),h=lt(c),d={position:o.position},u=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,s=Math.round,r=Math.floor,a=function(t){return t},l=s(o.width),c=s(i.width),h=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),u=e?h||d||l%2==c%2?s:r:a,f=e?s:a;return{left:u(l%2==1&&c%2==1&&!d&&e?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:u(i.right)}}(t,window.devicePixelRatio<2||!jt),f="bottom"===n?"top":"bottom",p="right"===i?"left":"right",g=Ct("transform");if(a="bottom"===f?"HTML"===c.nodeName?-c.clientHeight+u.bottom:-h.height+u.bottom:u.top,r="right"===p?"HTML"===c.nodeName?-c.clientWidth+u.right:-h.width+u.right:u.left,l&&g)d[g]="translate3d("+r+"px, "+a+"px, 0)",d[f]=0,d[p]=0,d.willChange="transform";else{var m="bottom"===f?-1:1,_="right"===p?-1:1;d[f]=a*m,d[p]=r*_,d.willChange=f+", "+p}var v={"x-placement":t.placement};return t.attributes=rt({},v,t.attributes),t.styles=rt({},d,t.styles),t.arrowStyles=rt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return xt(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&xt(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var s=mt(o,e,t,n.positionFixed),r=gt(n.placement,s,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",r),xt(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Bt=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};it(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=H(this.update.bind(this)),this.options=rt({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(rt({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=rt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return rt({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&M(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return ot(t,[{key:"update",value:function(){return wt.call(this)}},{key:"destroy",value:function(){return St.call(this)}},{key:"enableEventListeners",value:function(){return It.call(this)}},{key:"disableEventListeners",value:function(){return kt.call(this)}}]),t}();Bt.Utils=("undefined"!=typeof window?window:global).PopperUtils,Bt.placements=Pt,Bt.Defaults=qt;var Ht=Bt;const Mt="dropdown",Qt="bs.dropdown",Wt=e.fn[Mt],Ut=new RegExp("38|40|27"),$t="disabled",Vt="show",zt="dropdown-menu-right",Yt="hide.bs.dropdown",Kt="hidden.bs.dropdown",Xt="click.bs.dropdown.data-api",Gt="keydown.bs.dropdown.data-api",Jt='[data-toggle="dropdown"]',Zt=".dropdown-menu",te={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},ee={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"};class ne{constructor(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get VERSION(){return"4.6.2"}static get Default(){return te}static get DefaultType(){return ee}toggle(){if(this._element.disabled||e(this._element).hasClass($t))return;const t=e(this._menu).hasClass(Vt);ne._clearMenus(),t||this.show(!0)}show(t=!1){if(this._element.disabled||e(this._element).hasClass($t)||e(this._menu).hasClass(Vt))return;const n={relatedTarget:this._element},o=e.Event("show.bs.dropdown",n),s=ne._getParentFromElement(this._element);if(e(s).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&t){if("undefined"==typeof Ht)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=s:i.isElement(this._config.reference)&&(t=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(t=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(s).addClass("position-static"),this._popper=new Ht(t,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(s).closest(".navbar-nav").length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(Vt),e(s).toggleClass(Vt).trigger(e.Event("shown.bs.dropdown",n))}}hide(){if(this._element.disabled||e(this._element).hasClass($t)||!e(this._menu).hasClass(Vt))return;const t={relatedTarget:this._element},n=e.Event(Yt,t),i=ne._getParentFromElement(this._element);e(i).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),e(this._menu).toggleClass(Vt),e(i).toggleClass(Vt).trigger(e.Event(Kt,t)))}dispose(){e.removeData(this._element,Qt),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)}update(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()}_addEventListeners(){e(this._element).on("click.bs.dropdown",(t=>{t.preventDefault(),t.stopPropagation(),this.toggle()}))}_getConfig(t){return t={...this.constructor.Default,...e(this._element).data(),...t},i.typeCheckConfig(Mt,t,this.constructor.DefaultType),t}_getMenuElement(){if(!this._menu){const t=ne._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Zt))}return this._menu}_getPlacement(){const t=e(this._element.parentNode);let n="bottom-start";return t.hasClass("dropup")?n=e(this._menu).hasClass(zt)?"top-end":"top-start":t.hasClass("dropright")?n="right-start":t.hasClass("dropleft")?n="left-start":e(this._menu).hasClass(zt)&&(n="bottom-end"),n}_detectNavbar(){return e(this._element).closest(".navbar").length>0}_getOffset(){const t={};return"function"==typeof this._config.offset?t.fn=t=>(t.offsets={...t.offsets,...this._config.offset(t.offsets,this._element)},t):t.offset=this._config.offset,t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),{...t,...this._config.popperConfig}}static _jQueryInterface(t){return this.each((function(){let n=e(this).data(Qt);if(n||(n=new ne(this,"object"==typeof t?t:null),e(this).data(Qt,n)),"string"==typeof t){if("undefined"==typeof n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}static _clearMenus(t){if(t&&(3===t.which||"keyup"===t.type&&9!==t.which))return;const n=[].slice.call(document.querySelectorAll(Jt));for(let i=0,o=n.length;i<o;i++){const o=ne._getParentFromElement(n[i]),s=e(n[i]).data(Qt),r={relatedTarget:n[i]};if(t&&"click"===t.type&&(r.clickEvent=t),!s)continue;const a=s._menu;if(!e(o).hasClass(Vt))continue;if(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&e.contains(o,t.target))continue;const l=e.Event(Yt,r);e(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[i].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),e(a).removeClass(Vt),e(o).removeClass(Vt).trigger(e.Event(Kt,r)))}}static _getParentFromElement(t){let e;const n=i.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode}static _dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||e(t.target).closest(Zt).length):!Ut.test(t.which))return;if(this.disabled||e(this).hasClass($t))return;const n=ne._getParentFromElement(this),i=e(n).hasClass(Vt);if(!i&&27===t.which)return;if(t.preventDefault(),t.stopPropagation(),!i||27===t.which||32===t.which)return 27===t.which&&e(n.querySelector(Jt)).trigger("focus"),void e(this).trigger("click");const o=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((t=>e(t).is(":visible")));if(0===o.length)return;let s=o.indexOf(t.target);38===t.which&&s>0&&s--,40===t.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}e(document).on(Gt,Jt,ne._dataApiKeydownHandler).on(Gt,Zt,ne._dataApiKeydownHandler).on(`${Xt} keyup.bs.dropdown.data-api`,ne._clearMenus).on(Xt,Jt,(function(t){t.preventDefault(),t.stopPropagation(),ne._jQueryInterface.call(e(this),"toggle")})).on(Xt,".dropdown form",(t=>{t.stopPropagation()})),e.fn[Mt]=ne._jQueryInterface,e.fn[Mt].Constructor=ne,e.fn[Mt].noConflict=()=>(e.fn[Mt]=Wt,ne._jQueryInterface);const ie="bs.modal",oe=e.fn.modal,se="modal-open",re="fade",ae="show",le="modal-static",ce="hidden.bs.modal",he="show.bs.modal",de="focusin.bs.modal",ue="resize.bs.modal",fe="click.dismiss.bs.modal",pe="keydown.dismiss.bs.modal",ge="mousedown.dismiss.bs.modal",me=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_e={backdrop:!0,keyboard:!0,focus:!0,show:!0},ve={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"};class be{constructor(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}static get VERSION(){return"4.6.2"}static get Default(){return _e}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;const n=e.Event(he,{relatedTarget:t});e(this._element).trigger(n),n.isDefaultPrevented()||(this._isShown=!0,e(this._element).hasClass(re)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(fe,'[data-dismiss="modal"]',(t=>this.hide(t))),e(this._dialog).on(ge,(()=>{e(this._element).one("mouseup.dismiss.bs.modal",(t=>{e(t.target).is(this._element)&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(t){if(t&&t.preventDefault(),!this._isShown||this._isTransitioning)return;const n=e.Event("hide.bs.modal");if(e(this._element).trigger(n),!this._isShown||n.isDefaultPrevented())return;this._isShown=!1;const o=e(this._element).hasClass(re);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(de),e(this._element).removeClass(ae),e(this._element).off(fe),e(this._dialog).off(ge),o){const t=i.getTransitionDurationFromElement(this._element);e(this._element).one(i.TRANSITION_END,(t=>this._hideModal(t))).emulateTransitionEnd(t)}else this._hideModal()}dispose(){[window,this._element,this._dialog].forEach((t=>e(t).off(".bs.modal"))),e(document).off(de),e.removeData(this._element,ie),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null}handleUpdate(){this._adjustDialog()}_getConfig(t){return t={..._e,...t},i.typeCheckConfig("modal",t,ve),t}_triggerBackdropTransition(){const t=e.Event("hidePrevented.bs.modal");if(e(this._element).trigger(t),t.isDefaultPrevented())return;const n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(le);const o=i.getTransitionDurationFromElement(this._dialog);e(this._element).off(i.TRANSITION_END),e(this._element).one(i.TRANSITION_END,(()=>{this._element.classList.remove(le),n||e(this._element).one(i.TRANSITION_END,(()=>{this._element.style.overflowY=""})).emulateTransitionEnd(this._element,o)})).emulateTransitionEnd(o),this._element.focus()}_showElement(t){const n=e(this._element).hasClass(re),o=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),e(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,n&&i.reflow(this._element),e(this._element).addClass(ae),this._config.focus&&this._enforceFocus();const s=e.Event("shown.bs.modal",{relatedTarget:t}),r=()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,e(this._element).trigger(s)};if(n){const t=i.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(i.TRANSITION_END,r).emulateTransitionEnd(t)}else r()}_enforceFocus(){e(document).off(de).on(de,(t=>{document!==t.target&&this._element!==t.target&&0===e(this._element).has(t.target).length&&this._element.focus()}))}_setEscapeEvent(){this._isShown?e(this._element).on(pe,(t=>{this._config.keyboard&&27===t.which?(t.preventDefault(),this.hide()):this._config.keyboard||27!==t.which||this._triggerBackdropTransition()})):this._isShown||e(this._element).off(pe)}_setResizeEvent(){this._isShown?e(window).on(ue,(t=>this.handleUpdate(t))):e(window).off(ue)}_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._showBackdrop((()=>{e(document.body).removeClass(se),this._resetAdjustments(),this._resetScrollbar(),e(this._element).trigger(ce)}))}_removeBackdrop(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)}_showBackdrop(t){const n=e(this._element).hasClass(re)?re:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),e(this._backdrop).appendTo(document.body),e(this._element).on(fe,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===this._config.backdrop?this._triggerBackdropTransition():this.hide())})),n&&i.reflow(this._backdrop),e(this._backdrop).addClass(ae),!t)return;if(!n)return void t();const o=i.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(i.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(ae);const n=()=>{this._removeBackdrop(),t&&t()};if(e(this._element).hasClass(re)){const t=i.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(i.TRANSITION_END,n).emulateTransitionEnd(t)}else n()}else t&&t()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=`${this._scrollbarWidth}px`),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=`${this._scrollbarWidth}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}_checkScrollbar(){const t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()}_setScrollbar(){if(this._isBodyOverflowing){const t=[].slice.call(document.querySelectorAll(me)),n=[].slice.call(document.querySelectorAll(".sticky-top"));e(t).each(((t,n)=>{const i=n.style.paddingRight,o=e(n).css("padding-right");e(n).data("padding-right",i).css("padding-right",`${parseFloat(o)+this._scrollbarWidth}px`)})),e(n).each(((t,n)=>{const i=n.style.marginRight,o=e(n).css("margin-right");e(n).data("margin-right",i).css("margin-right",parseFloat(o)-this._scrollbarWidth+"px")}));const i=document.body.style.paddingRight,o=e(document.body).css("padding-right");e(document.body).data("padding-right",i).css("padding-right",`${parseFloat(o)+this._scrollbarWidth}px`)}e(document.body).addClass(se)}_resetScrollbar(){const t=[].slice.call(document.querySelectorAll(me));e(t).each(((t,n)=>{const i=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=i||""}));const n=[].slice.call(document.querySelectorAll(".sticky-top"));e(n).each(((t,n)=>{const i=e(n).data("margin-right");"undefined"!=typeof i&&e(n).css("margin-right",i).removeData("margin-right")}));const i=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""}_getScrollbarWidth(){const t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}static _jQueryInterface(t,n){return this.each((function(){let i=e(this).data(ie);const o={..._e,...e(this).data(),..."object"==typeof t&&t?t:{}};if(i||(i=new be(this,o),e(this).data(ie,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError(`No method named "${t}"`);i[t](n)}else o.show&&i.show(n)}))}}e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){let n;const o=i.getSelectorFromElement(this);o&&(n=document.querySelector(o));const s=e(n).data(ie)?"toggle":{...e(n).data(),...e(this).data()};"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();const r=e(n).one(he,(t=>{t.isDefaultPrevented()||r.one(ce,(()=>{e(this).is(":visible")&&this.focus()}))}));be._jQueryInterface.call(e(n),s,this)})),e.fn.modal=be._jQueryInterface,e.fn.modal.Constructor=be,e.fn.modal.noConflict=()=>(e.fn.modal=oe,be._jQueryInterface);const ye=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Ee=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,we=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Te(t,e){const n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===ye.indexOf(n)||Boolean(Ee.test(t.nodeValue)||we.test(t.nodeValue));const i=e.filter((t=>t instanceof RegExp));for(let t=0,e=i.length;t<e;t++)if(i[t].test(n))return!0;return!1}function Ce(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),s=[].slice.call(i.body.querySelectorAll("*"));for(let t=0,n=s.length;t<n;t++){const n=s[t],i=n.nodeName.toLowerCase();if(-1===o.indexOf(n.nodeName.toLowerCase())){n.parentNode.removeChild(n);continue}const r=[].slice.call(n.attributes),a=[].concat(e["*"]||[],e[i]||[]);r.forEach((t=>{Te(t,a)||n.removeAttribute(t.nodeName)}))}return i.body.innerHTML}const Se="tooltip",Ae="bs.tooltip",Ne=e.fn.tooltip,De=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Ie=["sanitize","whiteList","sanitizeFn"],ke="fade",Oe="show",xe="show",je="out",Le="hover",Pe="focus",Fe={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Re={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},qe={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Be={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class He{constructor(t,e){if("undefined"==typeof Ht)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}static get VERSION(){return"4.6.2"}static get Default(){return Re}static get NAME(){return Se}static get DATA_KEY(){return Ae}static get Event(){return Be}static get EVENT_KEY(){return".bs.tooltip"}static get DefaultType(){return qe}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const n=this.constructor.DATA_KEY;let i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(Oe))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null}show(){if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");const t=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(t);const n=i.findShadowRoot(this.element),o=e.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!o)return;const s=this.getTipElement(),r=i.getUID(this.constructor.NAME);s.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&e(s).addClass(ke);const a="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,l=this._getAttachment(a);this.addAttachmentClass(l);const c=this._getContainer();e(s).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(s).appendTo(c),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Ht(this.element,s,this._getPopperConfig(l)),e(s).addClass(Oe),e(s).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);const h=()=>{this.config.animation&&this._fixTransition();const t=this._hoverState;this._hoverState=null,e(this.element).trigger(this.constructor.Event.SHOWN),t===je&&this._leave(null,this)};if(e(this.tip).hasClass(ke)){const t=i.getTransitionDurationFromElement(this.tip);e(this.tip).one(i.TRANSITION_END,h).emulateTransitionEnd(t)}else h()}}hide(t){const n=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),s=()=>{this._hoverState!==xe&&n.parentNode&&n.parentNode.removeChild(n),this._cleanTipClass(),this.element.removeAttribute("aria-describedby"),e(this.element).trigger(this.constructor.Event.HIDDEN),null!==this._popper&&this._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(n).removeClass(Oe),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e(this.tip).hasClass(ke)){const t=i.getTransitionDurationFromElement(n);e(n).one(i.TRANSITION_END,s).emulateTransitionEnd(t)}else s();this._hoverState=""}}update(){null!==this._popper&&this._popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(t){e(this.getTipElement()).addClass(`bs-tooltip-${t}`)}getTipElement(){return this.tip=this.tip||e(this.config.template)[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(".tooltip-inner")),this.getTitle()),e(t).removeClass("fade show")}setElementContent(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Ce(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())}getTitle(){let t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t}_getPopperConfig(t){return{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:t=>{t.originalPlacement!==t.placement&&this._handlePopperPlacementChange(t)},onUpdate:t=>this._handlePopperPlacementChange(t),...this.config.popperConfig}}_getOffset(){const t={};return"function"==typeof this.config.offset?t.fn=t=>(t.offsets={...t.offsets,...this.config.offset(t.offsets,this.element)},t):t.offset=this.config.offset,t}_getContainer(){return!1===this.config.container?document.body:i.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)}_getAttachment(t){return Fe[t.toUpperCase()]}_setListeners(){this.config.trigger.split(" ").forEach((t=>{if("click"===t)e(this.element).on(this.constructor.Event.CLICK,this.config.selector,(t=>this.toggle(t)));else if("manual"!==t){const n=t===Le?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===Le?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;e(this.element).on(n,this.config.selector,(t=>this._enter(t))).on(i,this.config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this.element&&this.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config={...this.config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}_enter(t,n){const i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?Pe:Le]=!0),e(n.getTipElement()).hasClass(Oe)||n._hoverState===xe?n._hoverState=xe:(clearTimeout(n._timeout),n._hoverState=xe,n.config.delay&&n.config.delay.show?n._timeout=setTimeout((()=>{n._hoverState===xe&&n.show()}),n.config.delay.show):n.show())}_leave(t,n){const i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?Pe:Le]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=je,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((()=>{n._hoverState===je&&n.hide()}),n.config.delay.hide):n.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const n=e(this.element).data();return Object.keys(n).forEach((t=>{-1!==Ie.indexOf(t)&&delete n[t]})),"number"==typeof(t={...this.constructor.Default,...n,..."object"==typeof t&&t?t:{}}).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),i.typeCheckConfig(Se,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ce(t.template,t.whiteList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this.config)for(const e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}_cleanTipClass(){const t=e(this.getTipElement()),n=t.attr("class").match(De);null!==n&&n.length&&t.removeClass(n.join(""))}_handlePopperPlacementChange(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))}_fixTransition(){const t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(ke),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)}static _jQueryInterface(t){return this.each((function(){const n=e(this);let i=n.data(Ae);const o="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new He(this,o),n.data(Ae,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}e.fn.tooltip=He._jQueryInterface,e.fn.tooltip.Constructor=He,e.fn.tooltip.noConflict=()=>(e.fn.tooltip=Ne,He._jQueryInterface);const Me="bs.popover",Qe=e.fn.popover,We=new RegExp("(^|\\s)bs-popover\\S+","g"),Ue={...He.Default,placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},$e={...He.DefaultType,content:"(string|element|function)"},Ve={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class ze extends He{static get VERSION(){return"4.6.2"}static get Default(){return Ue}static get NAME(){return"popover"}static get DATA_KEY(){return Me}static get Event(){return Ve}static get EVENT_KEY(){return".bs.popover"}static get DefaultType(){return $e}isWithContent(){return this.getTitle()||this._getContent()}addAttachmentClass(t){e(this.getTipElement()).addClass(`bs-popover-${t}`)}getTipElement(){return this.tip=this.tip||e(this.config.template)[0],this.tip}setContent(){const t=e(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());let n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(".popover-body"),n),t.removeClass("fade show")}_getContent(){return this.element.getAttribute("data-content")||this.config.content}_cleanTipClass(){const t=e(this.getTipElement()),n=t.attr("class").match(We);null!==n&&n.length>0&&t.removeClass(n.join(""))}static _jQueryInterface(t){return this.each((function(){let n=e(this).data(Me);const i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new ze(this,i),e(this).data(Me,n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}e.fn.popover=ze._jQueryInterface,e.fn.popover.Constructor=ze,e.fn.popover.noConflict=()=>(e.fn.popover=Qe,ze._jQueryInterface);const Ye="scrollspy",Ke="bs.scrollspy",Xe=e.fn[Ye],Ge="active",Je="position",Ze=".nav, .list-group",tn={offset:10,method:"auto",target:""},en={offset:"number",method:"string",target:"(string|element)"};class nn{constructor(t,n){this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=`${this._config.target} .nav-link,${this._config.target} .list-group-item,${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on("scroll.bs.scrollspy",(t=>this._process(t))),this.refresh(),this._process()}static get VERSION(){return"4.6.2"}static get Default(){return tn}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Je,n="auto"===this._config.method?t:this._config.method,o=n===Je?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((t=>{let s;const r=i.getSelectorFromElement(t);if(r&&(s=document.querySelector(r)),s){const t=s.getBoundingClientRect();if(t.width||t.height)return[e(s)[n]().top+o,r]}return null})).filter(Boolean).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){e.removeData(this._element,Ke),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(t){if("string"!=typeof(t={...tn,..."object"==typeof t&&t?t:{}}).target&&i.isElement(t.target)){let n=e(t.target).attr("id");n||(n=i.getUID(Ye),e(t.target).attr("id",n)),t.target=`#${n}`}return i.typeCheckConfig(Ye,t,en),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&("undefined"==typeof this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const n=this._selector.split(",").map((e=>`${e}[data-target="${t}"],${e}[href="${t}"]`)),i=e([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass(Ge),i.addClass(Ge)):(i.addClass(Ge),i.parents(Ze).prev(".nav-link, .list-group-item").addClass(Ge),i.parents(Ze).prev(".nav-item").children(".nav-link").addClass(Ge)),e(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})}_clear(){[].slice.call(document.querySelectorAll(this._selector)).filter((t=>t.classList.contains(Ge))).forEach((t=>t.classList.remove(Ge)))}static _jQueryInterface(t){return this.each((function(){let n=e(this).data(Ke);if(n||(n=new nn(this,"object"==typeof t&&t),e(this).data(Ke,n)),"string"==typeof t){if("undefined"==typeof n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}e(window).on("load.bs.scrollspy.data-api",(()=>{const t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]'));for(let n=t.length;n--;){const i=e(t[n]);nn._jQueryInterface.call(i,i.data())}})),e.fn[Ye]=nn._jQueryInterface,e.fn[Ye].Constructor=nn,e.fn[Ye].noConflict=()=>(e.fn[Ye]=Xe,nn._jQueryInterface);const on="bs.tab",sn=e.fn.tab,rn="active",an="fade",ln="show",cn=".active",hn="> li > .active";class dn{constructor(t){this._element=t}static get VERSION(){return"4.6.2"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(rn)||e(this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))return;let t,n;const o=e(this._element).closest(".nav, .list-group")[0],s=i.getSelectorFromElement(this._element);if(o){const t="UL"===o.nodeName||"OL"===o.nodeName?hn:cn;n=e.makeArray(e(o).find(t)),n=n[n.length-1]}const r=e.Event("hide.bs.tab",{relatedTarget:this._element}),a=e.Event("show.bs.tab",{relatedTarget:n});if(n&&e(n).trigger(r),e(this._element).trigger(a),a.isDefaultPrevented()||r.isDefaultPrevented())return;s&&(t=document.querySelector(s)),this._activate(this._element,o);const l=()=>{const t=e.Event("hidden.bs.tab",{relatedTarget:this._element}),i=e.Event("shown.bs.tab",{relatedTarget:n});e(n).trigger(t),e(this._element).trigger(i)};t?this._activate(t,t.parentNode,l):l()}dispose(){e.removeData(this._element,on),this._element=null}_activate(t,n,o){const s=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(cn):e(n).find(hn))[0],r=o&&s&&e(s).hasClass(an),a=()=>this._transitionComplete(t,s,o);if(s&&r){const t=i.getTransitionDurationFromElement(s);e(s).removeClass(ln).one(i.TRANSITION_END,a).emulateTransitionEnd(t)}else a()}_transitionComplete(t,n,o){if(n){e(n).removeClass(rn);const t=e(n.parentNode).find("> .dropdown-menu .active")[0];t&&e(t).removeClass(rn),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}e(t).addClass(rn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),i.reflow(t),t.classList.contains(an)&&t.classList.add(ln);let s=t.parentNode;if(s&&"LI"===s.nodeName&&(s=s.parentNode),s&&e(s).hasClass("dropdown-menu")){const n=e(t).closest(".dropdown")[0];if(n){const t=[].slice.call(n.querySelectorAll(".dropdown-toggle"));e(t).addClass(rn)}t.setAttribute("aria-expanded",!0)}o&&o()}static _jQueryInterface(t){return this.each((function(){const n=e(this);let i=n.data(on);if(i||(i=new dn(this),n.data(on,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),dn._jQueryInterface.call(e(this),"show")})),e.fn.tab=dn._jQueryInterface,e.fn.tab.Constructor=dn,e.fn.tab.noConflict=()=>(e.fn.tab=sn,dn._jQueryInterface);const un="bs.toast",fn=e.fn.toast,pn="hide",gn="show",mn="showing",_n="click.dismiss.bs.toast",vn={animation:!0,autohide:!0,delay:500},bn={animation:"boolean",autohide:"boolean",delay:"number"};class yn{constructor(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}static get VERSION(){return"4.6.2"}static get DefaultType(){return bn}static get Default(){return vn}show(){const t=e.Event("show.bs.toast");if(e(this._element).trigger(t),t.isDefaultPrevented())return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");const n=()=>{this._element.classList.remove(mn),this._element.classList.add(gn),e(this._element).trigger("shown.bs.toast"),this._config.autohide&&(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay))};if(this._element.classList.remove(pn),i.reflow(this._element),this._element.classList.add(mn),this._config.animation){const t=i.getTransitionDurationFromElement(this._element);e(this._element).one(i.TRANSITION_END,n).emulateTransitionEnd(t)}else n()}hide(){if(!this._element.classList.contains(gn))return;const t=e.Event("hide.bs.toast");e(this._element).trigger(t),t.isDefaultPrevented()||this._close()}dispose(){this._clearTimeout(),this._element.classList.contains(gn)&&this._element.classList.remove(gn),e(this._element).off(_n),e.removeData(this._element,un),this._element=null,this._config=null}_getConfig(t){return t={...vn,...e(this._element).data(),..."object"==typeof t&&t?t:{}},i.typeCheckConfig("toast",t,this.constructor.DefaultType),t}_setListeners(){e(this._element).on(_n,'[data-dismiss="toast"]',(()=>this.hide()))}_close(){const t=()=>{this._element.classList.add(pn),e(this._element).trigger("hidden.bs.toast")};if(this._element.classList.remove(gn),this._config.animation){const n=i.getTransitionDurationFromElement(this._element);e(this._element).one(i.TRANSITION_END,t).emulateTransitionEnd(n)}else t()}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static _jQueryInterface(t){return this.each((function(){const n=e(this);let i=n.data(un);if(i||(i=new yn(this,"object"==typeof t&&t),n.data(un,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError(`No method named "${t}"`);i[t](this)}}))}}function En(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(void 0,"symbol"==typeof(o=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(i.key,"string"))?o:String(o)),i)}var o}function wn(){return wn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},wn.apply(this,arguments)}e.fn.toast=yn._jQueryInterface,e.fn.toast.Constructor=yn,e.fn.toast.noConflict=()=>(e.fn.toast=fn,yn._jQueryInterface);var Tn="offcanvasmenu",Cn="az.offcanvasmenu",Sn=e.fn[Tn],An={toggle:!0,parent:""},Nn={toggle:"boolean",parent:"(string|element)"},Dn="open",In="offcanvas-toggle",kn="closing",On="closed",xn="offcanvas-toggle-body-freeze",jn='[data-toggle="offcanvas"]',Ln=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._backdrop=null,this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="offcanvas"][href="#'+t.id+'"],[data-toggle="offcanvas"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(jn)),o=0,s=n.length;o<s;o++){var r=n[o],a=i.getSelectorFromElement(r),l=[].slice.call(document.querySelectorAll(a)).filter((function(e){return e===t}));null!==a&&l.length>0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndOffcanvasmenuClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n,o,s=t.prototype;return s.toggle=function(){e(this._element).hasClass(Dn)?this.close():this.open()},s._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},s.open=function(){var n,o,s=this;if(!(this._isTransitioning||e(this._element).hasClass(Dn)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".open, .closing")).filter((function(t){return"string"==typeof s._config.parent?t.getAttribute("data-parent")===s._config.parent:t.classList.contains(In)}))).length&&(n=null),n&&(o=e(n).not(this._selector).data(Cn))&&o._isTransitioning))){var r=e.Event("open.az.offcanvasmenu");if(e(this._element).trigger(r),!r.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"close"),o||e(n).data(Cn,null)),this._backdrop=document.createElement("div"),this._backdrop.className="menu-backdrop",this._backdrop.setAttribute("data-toggle","offcanvas"),this._backdrop.setAttribute("aria-controls",this._config.target),this._backdrop.setAttribute("data-target",this._config.target),this._backdrop.setAttribute("aria-expanded","true"),e(this._backdrop).appendTo(document.body),this._backdrop.classList.add("show"),e(this._element).removeClass(In).addClass(kn),this._triggerArray.length&&e(this._triggerArray).removeClass(On).attr("aria-expanded",!0),this.setTransitioning(!0);var a=i.getTransitionDurationFromElement(this._element);e(this._element).one(i.TRANSITION_END,(function(){e(s._element).removeClass(kn).addClass("offcanvas-toggle open"),s.setTransitioning(!1),document.body.classList.add(xn),e(s._element).trigger("opened.az.offcanvasmenu")})).emulateTransitionEnd(a)}}},s.close=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(Dn)){var n=e.Event("close.az.offcanvasmenu");if(e(this._element).trigger(n),!n.isDefaultPrevented()){i.reflow(this._element),e(this._element).addClass(kn).removeClass("offcanvas-toggle open");var o=this._triggerArray.length;if(o>0)for(var s=0;s<o;s++){var r=this._triggerArray[s],a=i.getSelectorFromElement(r);null!==a&&(e([].slice.call(document.querySelectorAll(a))).hasClass(Dn)||e(r).addClass(On).attr("aria-expanded",!1))}this.setTransitioning(!0);var l=i.getTransitionDurationFromElement(this._element);e(this._element).one(i.TRANSITION_END,(function(){t.setTransitioning(!1),t._removeBackdrop(),document.body.classList.remove(xn),e(t._element).removeClass(kn).addClass(In).trigger("closed.az.offcanvasmenu")})).emulateTransitionEnd(l)}}},s.setTransitioning=function(t){this._isTransitioning=t},s.dispose=function(){e.removeData(this._element,Cn),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},s._getConfig=function(t){return(t=wn({},An,t)).toggle=Boolean(t.toggle),i.typeCheckConfig(Tn,t,Nn),t},s._getParent=function(){var n,o=this;i.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var s='[data-toggle="offcanvas"][data-parent="'+this._config.parent+'"]',r=[].slice.call(n.querySelectorAll(s));return e(r).each((function(e,n){o._addAriaAndOffcanvasmenuClass(t._getTargetFromElement(n),[n])})),n},s._addAriaAndOffcanvasmenuClass=function(t,n){var i=e(t).hasClass(Dn);n.length&&e(n).toggleClass(On,!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=i.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data(Cn),s=wn({},An,i.data(),"object"==typeof n&&n?n:{});if(!o&&s.toggle&&"string"==typeof n&&/open|close/.test(n)&&(s.toggle=!1),o||(o=new t(this,s),i.data(Cn,o)),"string"==typeof n){if("undefined"==typeof o[n])throw new TypeError('No method named "'+n+'"');o[n]()}}))},n=t,o=[{key:"AZ_VERSION",get:function(){return"v0.0.4"}},{key:"Default",get:function(){return An}}],null&&En(n.prototype,null),o&&En(n,o),Object.defineProperty(n,"prototype",{writable:!1}),t}();e(".dropdown.keep-open .dropdown-toggle").on("click",(function(t){(window.innerWidth||document.documentElement.clientWidth)<767&&("true"===e(this).attr("aria-expanded")?(e(this).parent().removeClass("show"),e(this).attr("aria-expanded",!1)):(e(this).parent().addClass("show"),e(this).attr("aria-expanded",!0)),e(this).next(".dropdown-menu").toggle(),t.stopPropagation())})),e(document).on("click.az.offcanvasmenu.data-api",jn,(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=e(this),o=i.getSelectorFromElement(this),s=[].slice.call(document.querySelectorAll(o));e(s).each((function(){var t=e(this),i=t.data(Cn)?"toggle":n.data();Ln._jQueryInterface.call(t,i)}))})),e.fn[Tn]=Ln._jQueryInterface,e.fn[Tn].Constructor=Ln,e.fn[Tn].noConflict=function(){return e.fn[Tn]=Sn,Ln._jQueryInterface},t.Alert=r,t.Button=f,t.Carousel=S,t.Collapse=R,t.Dropdown=ne,t.Modal=be,t.Offcanvasmenu=Ln,t.Popover=ze,t.Scrollspy=nn,t.Tab=dn,t.Toast=yn,t.Tooltip=He,t.Util=i}));
//# sourceMappingURL=arizona-bootstrap.bundle.min.js.map