/*! For license information please see themeoo.js.LICENSE.txt */ (()=>{var t={577:function(t){t.exports=function(){"use strict";const t="transitionend",e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},n=t=>{const i=e(t);return i?document.querySelector(i):null},s=e=>{e.dispatchEvent(new Event(t))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=(t,e,i)=>{Object.keys(i).forEach((n=>{const s=i[n],r=e[n],a=r&&o(r)?"element":null==(l=r)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(a))throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}))},l=t=>!(!o(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),c=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=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?h(t.parentNode):null},d=()=>{},u=t=>{t.offsetHeight},f=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},p=[],m=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=f();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(p.length||document.addEventListener("DOMContentLoaded",(()=>{p.forEach((t=>t()))})),p.push(e)):e()},_=t=>{"function"==typeof t&&t()},v=(e,i,n=!0)=>{if(!n)return void _(e);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(t,a),_(e))};i.addEventListener(t,a),setTimeout((()=>{r||s(i)}),o)},b=(t,e,i,n)=>{let s=t.indexOf(e);if(-1===s)return t[!i&&n?t.length-1:0];const o=t.length;return s+=i?1:-1,n&&(s=(s+o)%o),t[Math.max(0,Math.min(s,o-1))]},y=/[^.]*(?=\..*)\.|.*/,w=/\..*/,E=/::\d+$/,C={};let T=1;const A={mouseenter:"mouseover",mouseleave:"mouseout"},O=/^(mouseenter|mouseleave)/i,k=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 x(t,e){return e&&`${e}::${T++}`||t.uidEvent||T++}function L(t){const e=x(t);return t.uidEvent=e,C[e]=C[e]||{},C[e]}function S(t,e,i=null){const n=Object.keys(t);for(let s=0,o=n.length;sfunction(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=t(n):i=t(i)}const[o,r,a]=D(e,i,n),l=L(t),c=l[a]||(l[a]={}),h=S(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=x(r,e.replace(y,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,n.oneOff&&M.off(t,s.type,e,i),i.apply(r,[s]);return null}}(t,i,n):function(t,e){return function i(n){return n.delegateTarget=t,i.oneOff&&M.off(t,n.type,e),e.apply(t,[n])}}(t,i);u.delegationSelector=o?i:null,u.originalHandler=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function I(t,e,i,n,s){const o=S(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function P(t){return t=t.replace(w,""),A[t]||t}const M={on(t,e,i,n){N(t,e,i,n,!1)},one(t,e,i,n){N(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=D(e,i,n),a=r!==e,l=L(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void I(t,l,r,o,s?i:null)}c&&Object.keys(l).forEach((i=>{!function(t,e,i,n){const s=e[i]||{};Object.keys(s).forEach((o=>{if(o.includes(n)){const n=s[o];I(t,e,i,n.originalHandler,n.delegationSelector)}}))}(t,l,i,e.slice(1))}));const h=l[r]||{};Object.keys(h).forEach((i=>{const n=i.replace(E,"");if(!a||e.includes(n)){const e=h[i];I(t,l,r,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=f(),s=P(e),o=e!==s,r=k.has(s);let a,l=!0,c=!0,h=!1,d=null;return o&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(s,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach((t=>{Object.defineProperty(d,t,{get:()=>i[t]})})),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},j=new Map,H={set(t,e,i){j.has(t)||j.set(t,new Map);const n=j.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>j.has(t)&&j.get(t).get(e)||null,remove(t,e){if(!j.has(t))return;const i=j.get(t);i.delete(e),0===i.size&&j.delete(t)}};class B{constructor(t){(t=r(t))&&(this._element=t,H.set(this._element,this.constructor.DATA_KEY,this))}dispose(){H.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t=>{this[t]=null}))}_queueCallback(t,e,i=!0){v(t,e,i)}static getInstance(t){return H.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const R=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;M.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),c(this))return;const o=n(this)||this.closest(`.${s}`);t.getOrCreateInstance(o)[e]()}))};class W extends B{static get NAME(){return"alert"}close(){if(M.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),M.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=W.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)}}))}}R(W,"close"),g(W);const z='[data-bs-toggle="button"]';class $ extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=$.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function F(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function q(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}M.on(document,"click.bs.button.data-api",z,(t=>{t.preventDefault();const e=t.target.closest(z);$.getOrCreateInstance(e).toggle()})),g($);const U={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${q(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${q(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=F(t.dataset[i])})),e},getDataAttribute:(t,e)=>F(t.getAttribute(`data-bs-${q(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},V={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(", ");return this.find(e,t).filter((t=>!c(t)&&l(t)))}},K="carousel",X={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Y={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Q="next",G="prev",Z="left",J="right",tt={ArrowLeft:J,ArrowRight:Z},et="slid.bs.carousel",it="active",nt=".active.carousel-item";class st extends B{constructor(t,e){super(t),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._indicatorsElement=V.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return X}static get NAME(){return K}next(){this._slide(Q)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(G)}pause(t){t||(this._isPaused=!0),V.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(s(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&&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=V.findOne(nt,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void M.one(this._element,et,(()=>this.to(t)));if(e===t)return this.pause(),void this.cycle();const i=t>e?Q:G;this._slide(i,this._items[t])}_getConfig(t){return t={...X,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(K,t,Y),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?J:Z)}_addEventListeners(){this._config.keyboard&&M.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(M.on(this._element,"mouseenter.bs.carousel",(t=>this.pause(t))),M.on(this._element,"mouseleave.bs.carousel",(t=>this.cycle(t)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},n=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};V.find(".carousel-item img",this._element).forEach((t=>{M.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()))})),this._pointerEvent?(M.on(this._element,"pointerdown.bs.carousel",(t=>e(t))),M.on(this._element,"pointerup.bs.carousel",(t=>n(t))),this._element.classList.add("pointer-event")):(M.on(this._element,"touchstart.bs.carousel",(t=>e(t))),M.on(this._element,"touchmove.bs.carousel",(t=>i(t))),M.on(this._element,"touchend.bs.carousel",(t=>n(t))))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=tt[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?V.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===Q;return b(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),n=this._getItemIndex(V.findOne(nt,this._element));return M.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=V.findOne(".active",this._indicatorsElement);e.classList.remove(it),e.removeAttribute("aria-current");const i=V.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e{M.trigger(this._element,et,{relatedTarget:o,direction:d,from:s,to:r})};if(this._element.classList.contains("slide")){o.classList.add(h),u(o),n.classList.add(c),o.classList.add(c);const t=()=>{o.classList.remove(c,h),o.classList.add(it),n.classList.remove(it,h,c),this._isSliding=!1,setTimeout(f,0)};this._queueCallback(t,n,!0)}else n.classList.remove(it),o.classList.add(it),this._isSliding=!1,f();a&&this.cycle()}_directionToOrder(t){return[J,Z].includes(t)?m()?t===Z?G:Q:t===Z?Q:G:t}_orderToDirection(t){return[Q,G].includes(t)?m()?t===G?Z:J:t===G?J:Z:t}static carouselInterface(t,e){const i=st.getOrCreateInstance(t,e);let{_config:n}=i;"object"==typeof e&&(n={...n,...e});const s="string"==typeof e?e:n.slide;if("number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){st.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=n(this);if(!e||!e.classList.contains("carousel"))return;const i={...U.getDataAttributes(e),...U.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(i.interval=!1),st.carouselInterface(e,i),s&&st.getInstance(e).to(s),t.preventDefault()}}M.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",st.dataApiClickHandler),M.on(window,"load.bs.carousel.data-api",(()=>{const t=V.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;et===this._element));null!==s&&o.length&&(this._selector=s,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return at}static get NAME(){return ot}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=V.find(ft,this._config.parent);e=V.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((e=>!t.includes(e)))}const i=V.findOne(this._selector);if(e.length){const n=e.find((t=>i!==t));if(t=n?mt.getInstance(n):null,t&&t._isTransitioning)return}if(M.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e.forEach((e=>{i!==e&&mt.getOrCreateInstance(e,{toggle:!1}).hide(),t||H.set(e,rt,null)}));const n=this._getDimension();this._element.classList.remove(ht),this._element.classList.add(dt),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(dt),this._element.classList.add(ht,ct),this._element.style[n]="",M.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(M.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,u(this._element),this._element.classList.add(dt),this._element.classList.remove(ht,ct);const e=this._triggerArray.length;for(let t=0;t{this._isTransitioning=!1,this._element.classList.remove(dt),this._element.classList.add(ht),M.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(ct)}_getConfig(t){return(t={...at,...U.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=r(t.parent),a(ot,t,lt),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=V.find(ft,this._config.parent);V.find(pt,this._config.parent).filter((e=>!t.includes(e))).forEach((t=>{const e=n(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}))}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach((t=>{e?t.classList.remove(ut):t.classList.add(ut),t.setAttribute("aria-expanded",e)}))}static jQueryInterface(t){return this.each((function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=mt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}M.on(document,"click.bs.collapse.data-api",pt,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=i(this);V.find(e).forEach((t=>{mt.getOrCreateInstance(t,{toggle:!1}).toggle()}))})),g(mt);var gt="top",_t="bottom",vt="right",bt="left",yt="auto",wt=[gt,_t,vt,bt],Et="start",Ct="end",Tt="clippingParents",At="viewport",Ot="popper",kt="reference",xt=wt.reduce((function(t,e){return t.concat([e+"-"+Et,e+"-"+Ct])}),[]),Lt=[].concat(wt,[yt]).reduce((function(t,e){return t.concat([e,e+"-"+Et,e+"-"+Ct])}),[]),St="beforeRead",Dt="read",Nt="afterRead",It="beforeMain",Pt="main",Mt="afterMain",jt="beforeWrite",Ht="write",Bt="afterWrite",Rt=[St,Dt,Nt,It,Pt,Mt,jt,Ht,Bt];function Wt(t){return t?(t.nodeName||"").toLowerCase():null}function zt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $t(t){return t instanceof zt(t).Element||t instanceof Element}function Ft(t){return t instanceof zt(t).HTMLElement||t instanceof HTMLElement}function qt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof zt(t).ShadowRoot||t instanceof ShadowRoot)}const Ut={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];Ft(s)&&Wt(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});Ft(n)&&Wt(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}function Kt(t,e){var i=t.getBoundingClientRect();return{width:i.width/1,height:i.height/1,top:i.top/1,right:i.right/1,bottom:i.bottom/1,left:i.left/1,x:i.left/1,y:i.top/1}}function Xt(t){var e=Kt(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Yt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&qt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qt(t){return zt(t).getComputedStyle(t)}function Gt(t){return["table","td","th"].indexOf(Wt(t))>=0}function Zt(t){return(($t(t)?t.ownerDocument:t.document)||window.document).documentElement}function Jt(t){return"html"===Wt(t)?t:t.assignedSlot||t.parentNode||(qt(t)?t.host:null)||Zt(t)}function te(t){return Ft(t)&&"fixed"!==Qt(t).position?t.offsetParent:null}function ee(t){for(var e=zt(t),i=te(t);i&&Gt(i)&&"static"===Qt(i).position;)i=te(i);return i&&("html"===Wt(i)||"body"===Wt(i)&&"static"===Qt(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ft(t)&&"fixed"===Qt(t).position)return null;for(var i=Jt(t);Ft(i)&&["html","body"].indexOf(Wt(i))<0;){var n=Qt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function ie(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var ne=Math.max,se=Math.min,oe=Math.round;function re(t,e,i){return ne(t,se(e,i))}function ae(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function le(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const ce={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=Vt(i.placement),l=ie(a),c=[bt,vt].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return ae("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:le(t,wt))}(s.padding,i),d=Xt(o),u="y"===l?gt:bt,f="y"===l?_t:vt,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=ee(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=p/2-m/2,b=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+v,E=re(b,w,y),C=l;i.modifiersData[n]=((e={})[C]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&Yt(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(t){return t.split("-")[1]}var de={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ue(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=!0===h?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:oe(oe(e*n)/n)||0,y:oe(oe(i*n)/n)||0}}(r):"function"==typeof h?h(r):r,u=d.x,f=void 0===u?0:u,p=d.y,m=void 0===p?0:p,g=r.hasOwnProperty("x"),_=r.hasOwnProperty("y"),v=bt,b=gt,y=window;if(c){var w=ee(i),E="clientHeight",C="clientWidth";w===zt(i)&&"static"!==Qt(w=Zt(i)).position&&"absolute"===a&&(E="scrollHeight",C="scrollWidth"),w=w,s!==gt&&(s!==bt&&s!==vt||o!==Ct)||(b=_t,m-=w[E]-n.height,m*=l?1:-1),s!==bt&&(s!==gt&&s!==_t||o!==Ct)||(v=vt,f-=w[C]-n.width,f*=l?1:-1)}var T,A=Object.assign({position:a},c&&de);return l?Object.assign({},A,((T={})[b]=_?"0":"",T[v]=g?"0":"",T.transform=(y.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T)):Object.assign({},A,((e={})[b]=_?m+"px":"",e[v]=g?f+"px":"",e.transform="",e))}const fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:Vt(e.placement),variation:he(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ue(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ue(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var pe={passive:!0};const me={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=zt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,pe)})),a&&l.addEventListener("resize",i.update,pe),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,pe)})),a&&l.removeEventListener("resize",i.update,pe)}},data:{}};var ge={left:"right",right:"left",bottom:"top",top:"bottom"};function _e(t){return t.replace(/left|right|bottom|top/g,(function(t){return ge[t]}))}var ve={start:"end",end:"start"};function be(t){return t.replace(/start|end/g,(function(t){return ve[t]}))}function ye(t){var e=zt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function we(t){return Kt(Zt(t)).left+ye(t).scrollLeft}function Ee(t){var e=Qt(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ce(t){return["html","body","#document"].indexOf(Wt(t))>=0?t.ownerDocument.body:Ft(t)&&Ee(t)?t:Ce(Jt(t))}function Te(t,e){var i;void 0===e&&(e=[]);var n=Ce(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=zt(n),r=s?[o].concat(o.visualViewport||[],Ee(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Te(Jt(r)))}function Ae(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Oe(t,e){return e===At?Ae(function(t){var e=zt(t),i=Zt(t),n=e.visualViewport,s=i.clientWidth,o=i.clientHeight,r=0,a=0;return n&&(s=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:s,height:o,x:r+we(t),y:a}}(t)):Ft(e)?function(t){var e=Kt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Ae(function(t){var e,i=Zt(t),n=ye(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=ne(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ne(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+we(t),l=-n.scrollTop;return"rtl"===Qt(s||i).direction&&(a+=ne(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Zt(t)))}function ke(t,e,i){var n="clippingParents"===e?function(t){var e=Te(Jt(t)),i=["absolute","fixed"].indexOf(Qt(t).position)>=0&&Ft(t)?ee(t):t;return $t(i)?e.filter((function(t){return $t(t)&&Yt(t,i)&&"body"!==Wt(t)})):[]}(t):[].concat(e),s=[].concat(n,[i]),o=s[0],r=s.reduce((function(e,i){var n=Oe(t,i);return e.top=ne(n.top,e.top),e.right=se(n.right,e.right),e.bottom=se(n.bottom,e.bottom),e.left=ne(n.left,e.left),e}),Oe(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function xe(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?Vt(s):null,r=s?he(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case gt:e={x:a,y:i.y-n.height};break;case _t:e={x:a,y:i.y+i.height};break;case vt:e={x:i.x+i.width,y:l};break;case bt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?ie(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case Et:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Ct:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function Le(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.boundary,r=void 0===o?Tt:o,a=i.rootBoundary,l=void 0===a?At:a,c=i.elementContext,h=void 0===c?Ot:c,d=i.altBoundary,u=void 0!==d&&d,f=i.padding,p=void 0===f?0:f,m=ae("number"!=typeof p?p:le(p,wt)),g=h===Ot?kt:Ot,_=t.rects.popper,v=t.elements[u?g:h],b=ke($t(v)?v:v.contextElement||Zt(t.elements.popper),r,l),y=Kt(t.elements.reference),w=xe({reference:y,element:_,strategy:"absolute",placement:s}),E=Ae(Object.assign({},_,w)),C=h===Ot?E:y,T={top:b.top-C.top+m.top,bottom:C.bottom-b.bottom+m.bottom,left:b.left-C.left+m.left,right:C.right-b.right+m.right},A=t.modifiersData.offset;if(h===Ot&&A){var O=A[s];Object.keys(T).forEach((function(t){var e=[vt,_t].indexOf(t)>=0?1:-1,i=[gt,_t].indexOf(t)>=0?"y":"x";T[t]+=O[i]*e}))}return T}function Se(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?Lt:l,h=he(n),d=h?a?xt:xt.filter((function(t){return he(t)===h})):wt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var f=u.reduce((function(e,i){return e[i]=Le(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[Vt(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}const De={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=e.options.placement,_=Vt(g),v=l||(_!==g&&p?function(t){if(Vt(t)===yt)return[];var e=_e(t);return[be(t),e,be(e)]}(g):[_e(g)]),b=[g].concat(v).reduce((function(t,i){return t.concat(Vt(i)===yt?Se(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,C=!0,T=b[0],A=0;A=0,S=L?"width":"height",D=Le(e,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),N=L?x?vt:bt:x?_t:gt;y[S]>w[S]&&(N=_e(N));var I=_e(N),P=[];if(o&&P.push(D[k]<=0),a&&P.push(D[N]<=0,D[I]<=0),P.every((function(t){return t}))){T=O,C=!1;break}E.set(O,P)}if(C)for(var M=function(t){var e=b.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},j=p?3:1;j>0&&"break"!==M(j);j--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ne(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Ie(t){return[gt,vt,_t,bt].some((function(e){return t[e]>=0}))}const Pe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=Le(e,{elementContext:"reference"}),a=Le(e,{altBoundary:!0}),l=Ne(r,n),c=Ne(a,s,o),h=Ie(l),d=Ie(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}};const Me={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=Lt.reduce((function(t,i){return t[i]=function(t,e,i){var n=Vt(t),s=[bt,gt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[bt,vt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}};const je={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=xe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};const He={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,m=void 0===p?0:p,g=Le(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=Vt(e.placement),v=he(e.placement),b=!v,y=ie(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,C=e.rects.reference,T=e.rects.popper,A="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O={x:0,y:0};if(E){if(o||a){var k="y"===y?gt:bt,x="y"===y?_t:vt,L="y"===y?"height":"width",S=E[y],D=E[y]+g[k],N=E[y]-g[x],I=f?-T[L]/2:0,P=v===Et?C[L]:T[L],M=v===Et?-T[L]:-C[L],j=e.elements.arrow,H=f&&j?Xt(j):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=B[k],W=B[x],z=re(0,C[L],H[L]),$=b?C[L]/2-I-z-R-A:P-z-R-A,F=b?-C[L]/2+I+z+W+A:M+z+W+A,q=e.elements.arrow&&ee(e.elements.arrow),U=q?"y"===y?q.clientTop||0:q.clientLeft||0:0,V=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,K=E[y]+$-V-U,X=E[y]+F-V;if(o){var Y=re(f?se(D,K):D,S,f?ne(N,X):N);E[y]=Y,O[y]=Y-S}if(a){var Q="x"===y?gt:bt,G="x"===y?_t:vt,Z=E[w],J=Z+g[Q],tt=Z-g[G],et=re(f?se(J,K):J,Z,f?ne(tt,X):tt);E[w]=et,O[w]=et-Z}}e.modifiersData[n]=O}},requiresIfExists:["offset"]};function Be(t,e,i){void 0===i&&(i=!1);var n=Ft(e);Ft(e)&&function(t){var e=t.getBoundingClientRect(),i=e.width/t.offsetWidth||1,n=e.height/t.offsetHeight||1}(e);var s,o,r=Zt(e),a=Kt(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!i)&&(("body"!==Wt(e)||Ee(r))&&(l=(s=e)!==zt(s)&&Ft(s)?{scrollLeft:(o=s).scrollLeft,scrollTop:o.scrollTop}:ye(s)),Ft(e)?((c=Kt(e)).x+=e.clientLeft,c.y+=e.clientTop):r&&(c.x=we(r))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Re(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var We={placement:"bottom",modifiers:[],strategy:"absolute"};function ze(){for(var t=arguments.length,e=new Array(t),i=0;iM.on(t,"mouseover",d))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ei),this._element.classList.add(ei),M.trigger(this._element,"shown.bs.dropdown",t)}hide(){if(c(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){M.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>M.off(t,"mouseover",d))),this._popper&&this._popper.destroy(),this._menu.classList.remove(ei),this._element.classList.remove(ei),this._element.setAttribute("aria-expanded","false"),U.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...U.getDataAttributes(this._element),...t},a(Ke,t,this.constructor.DefaultType),"object"==typeof t.reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ke.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(void 0===Ve)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig(),n=i.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=Ue(e,this._menu,i),n&&U.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(ei)}_getMenuElement(){return V.next(this._element,ni)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return li;if(t.classList.contains("dropstart"))return ci;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?oi:si:e?ai:ri}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=V.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l);i.length&&b(i,e,t===Ge,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ui.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(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=V.find(ii);for(let i=0,n=e.length;ie+t)),this._setElementAttributes(fi,"paddingRight",(e=>e+t)),this._setElementAttributes(pi,"marginRight",(e=>e-t))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t)[e];t.style[e]=`${i(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(fi,"paddingRight"),this._resetElementAttributes(pi,"marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&U.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=U.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(U.removeDataAttribute(t,e),t.style[e]=i)}))}_applyManipulationCallback(t,e){o(t)?e(t):V.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const gi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},_i={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},vi="backdrop",bi="show",yi="mousedown.bs.backdrop";class wi{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&u(this._getElement()),this._getElement().classList.add(bi),this._emulateAnimation((()=>{_(t)}))):_(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(bi),this._emulateAnimation((()=>{this.dispose(),_(t)}))):_(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...gi,..."object"==typeof t?t:{}}).rootElement=r(t.rootElement),a(vi,t,_i),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),M.on(this._getElement(),yi,(()=>{_(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(M.off(this._element,yi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){v(t,this._getElement(),this._config.isAnimated)}}const Ei={trapElement:null,autofocus:!0},Ci={trapElement:"element",autofocus:"boolean"},Ti=".bs.focustrap",Ai="backward";class Oi{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),M.off(document,Ti),M.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),M.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,Ti))}_handleFocusin(t){const{target:e}=t,{trapElement:i}=this._config;if(e===document||e===i||i.contains(e))return;const n=V.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===Ai?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Ai:"forward")}_getConfig(t){return t={...Ei,..."object"==typeof t?t:{}},a("focustrap",t,Ci),t}}const ki="modal",xi=".bs.modal",Li="Escape",Si={backdrop:!0,keyboard:!0,focus:!0},Di={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Ni="hidden.bs.modal",Ii="show.bs.modal",Pi="resize.bs.modal",Mi="click.dismiss.bs.modal",ji="keydown.dismiss.bs.modal",Hi="mousedown.dismiss.bs.modal",Bi="modal-open",Ri="show",Wi="modal-static";class zi extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=V.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new mi}static get Default(){return Si}static get NAME(){return ki}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||M.trigger(this._element,Ii,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Bi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),M.on(this._dialog,Hi,(()=>{M.one(this._element,"mouseup.dismiss.bs.modal",(t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;if(M.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Ri),M.off(this._element,Mi),M.off(this._dialog,Hi),this._queueCallback((()=>this._hideModal()),this._element,t)}dispose(){[window,this._dialog].forEach((t=>M.off(t,xi))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_getConfig(t){return t={...Si,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a(ki,t,Di),t}_showElement(t){const e=this._isAnimated(),i=V.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&u(this._element),this._element.classList.add(Ri);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,e)}_setEscapeEvent(){this._isShown?M.on(this._element,ji,(t=>{this._config.keyboard&&t.key===Li?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==Li||this._triggerBackdropTransition()})):M.off(this._element,ji)}_setResizeEvent(){this._isShown?M.on(window,Pi,(()=>this._adjustDialog())):M.off(window,Pi)}_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(Bi),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,Ni)}))}_showBackdrop(t){M.on(this._element,Mi,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(M.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||t.contains(Wi)||(n||(i.overflowY="hidden"),t.add(Wi),this._queueCallback((()=>{t.remove(Wi),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!m()||i&&!t&&m())&&(this._element.style.paddingLeft=`${e}px`),(i&&!t&&!m()||!i&&t&&m())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=zi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}M.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),M.one(e,Ii,(t=>{t.defaultPrevented||M.one(e,Ni,(()=>{l(this)&&this.focus()}))}));const i=V.findOne(".modal.show");i&&zi.getInstance(i).hide(),zi.getOrCreateInstance(e).toggle(this)})),R(zi),g(zi);const $i="offcanvas",Fi={backdrop:!0,keyboard:!0,scroll:!1},qi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Ui="show",Vi=".offcanvas.show",Ki="hidden.bs.offcanvas";class Xi extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return $i}static get Default(){return Fi}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(M.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new mi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ui);this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),M.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(M.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Ui),this._backdrop.hide();this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new mi).reset(),M.trigger(this._element,Ki)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...Fi,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},a($i,t,qi),t}_initializeBackDrop(){return new wi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_addEventListeners(){M.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}))}static jQueryInterface(t){return this.each((function(){const e=Xi.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)}}))}}M.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this))return;M.one(e,Ki,(()=>{l(this)&&this.focus()}));const i=V.findOne(Vi);i&&i!==e&&Xi.getInstance(i).hide(),Xi.getOrCreateInstance(e).toggle(this)})),M.on(window,"load.bs.offcanvas.data-api",(()=>V.find(Vi).forEach((t=>Xi.getOrCreateInstance(t).show())))),R(Xi),g(Xi);const Yi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Gi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Zi=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!Yi.has(i)||Boolean(Qi.test(t.nodeValue)||Gi.test(t.nodeValue));const n=e.filter((t=>t instanceof RegExp));for(let t=0,e=n.length;t{Zi(t,r)||i.removeAttribute(t.nodeName)}))}return n.body.innerHTML}const tn="tooltip",en=new Set(["sanitize","allowList","sanitizeFn"]),nn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},sn={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},on={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},rn={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"},an="fade",ln="show",cn="show",hn="out",dn=".tooltip-inner",un=".modal",fn="hide.bs.modal",pn="hover",mn="focus";class gn extends B{constructor(t,e){if(void 0===Ve)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return on}static get NAME(){return tn}static get Event(){return rn}static get DefaultType(){return nn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(ln))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(un),fn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=M.trigger(this._element,this.constructor.Event.SHOW),e=h(this._element),i=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(dn).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(an);const o="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(o);this._addAttachmentClass(r);const{container:a}=this._config;H.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),M.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Ue(this._element,n,this._getPopperConfig(r)),n.classList.add(ln);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{M.on(t,"mouseover",d)}));const c=this.tip.classList.contains(an);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,M.trigger(this._element,this.constructor.Event.SHOWN),t===hn&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const t=this.getTipElement();if(M.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(ln),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>M.off(t,"mouseover",d))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(an);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==cn&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(an,ln),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),dn)}_sanitizeAndSetContent(t,e,i){const n=V.findOne(i,t);e||!n?this.setElementContent(n,e):n.remove()}setElementContent(t,e){if(null!==t)return o(e)?(e=r(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Ji(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return sn[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((t=>{if("click"===t)M.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t=>this.toggle(t)));else if("manual"!==t){const e=t===pn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===pn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;M.on(this._element,e,this._config.selector,(t=>this._enter(t))),M.on(this._element,i,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(un),fn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?mn:pn]=!0),e.getTipElement().classList.contains(ln)||e._hoverState===cn?e._hoverState=cn:(clearTimeout(e._timeout),e._hoverState=cn,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===cn&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?mn:pn]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=hn,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===hn&&e.hide()}),e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=U.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{en.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),a(tn,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ji(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&i.length>0&&i.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=gn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(gn);const _n={...gn.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},vn={...gn.DefaultType,content:"(string|element|function)"},bn={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 yn extends gn{static get Default(){return _n}static get NAME(){return"popover"}static get Event(){return bn}static get DefaultType(){return vn}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each((function(){const e=yn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(yn);const wn="scrollspy",En=".bs.scrollspy",Cn={offset:10,method:"auto",target:""},Tn={offset:"number",method:"string",target:"(string|element)"},An="dropdown-item",On="active",kn=".nav-link",xn=".nav-link, .list-group-item, .dropdown-item",Ln="position";class Sn extends B{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,M.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return Cn}static get NAME(){return wn}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Ln,e="auto"===this._config.method?t:this._config.method,n=e===Ln?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),V.find(xn,this._config.target).map((t=>{const s=i(t),o=s?V.findOne(s):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height)return[U[e](o).top+n,s]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){M.off(this._scrollElement,En),super.dispose()}_getConfig(t){return(t={...Cn,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=r(t.target)||document.documentElement,a(wn,t,Tn),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(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=V.findOne(e.join(","),this._config.target);i.classList.add(On),i.classList.contains(An)?V.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(On):V.parents(i,".nav, .list-group").forEach((t=>{V.prev(t,".nav-link, .list-group-item").forEach((t=>t.classList.add(On))),V.prev(t,".nav-item").forEach((t=>{V.children(t,kn).forEach((t=>t.classList.add(On)))}))})),M.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){V.find(xn,this._config.target).filter((t=>t.classList.contains(On))).forEach((t=>t.classList.remove(On)))}static jQueryInterface(t){return this.each((function(){const e=Sn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}M.on(window,"load.bs.scrollspy.data-api",(()=>{V.find('[data-bs-spy="scroll"]').forEach((t=>new Sn(t)))})),g(Sn);const Dn="active",Nn="fade",In="show",Pn=".active",Mn=":scope > li > .active";class jn extends B{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Dn))return;let t;const e=n(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?Mn:Pn;t=V.find(e,i),t=t[t.length-1]}const s=t?M.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(M.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,i);const o=()=>{M.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),M.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?V.children(e,Pn):V.find(Mn,e))[0],s=i&&n&&n.classList.contains(Nn),o=()=>this._transitionComplete(t,n,i);n&&s?(n.classList.remove(In),this._queueCallback(o,t,!0)):o()}_transitionComplete(t,e,i){if(e){e.classList.remove(Dn);const t=V.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Dn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Dn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),u(t),t.classList.contains(Nn)&&t.classList.add(In);let n=t.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&V.find(".dropdown-toggle",e).forEach((t=>t.classList.add(Dn))),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=jn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}M.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),c(this)||jn.getOrCreateInstance(this).show()})),g(jn);const Hn="toast",Bn="hide",Rn="show",Wn="showing",zn={animation:"boolean",autohide:"boolean",delay:"number"},$n={animation:!0,autohide:!0,delay:5e3};class Fn extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return zn}static get Default(){return $n}static get NAME(){return Hn}show(){if(M.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Bn),u(this._element),this._element.classList.add(Rn),this._element.classList.add(Wn),this._queueCallback((()=>{this._element.classList.remove(Wn),M.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this._element.classList.contains(Rn))return;if(M.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.add(Wn),this._queueCallback((()=>{this._element.classList.add(Bn),this._element.classList.remove(Wn),this._element.classList.remove(Rn),M.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(Rn)&&this._element.classList.remove(Rn),super.dispose()}_getConfig(t){return t={...$n,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},a(Hn,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),M.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),M.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),M.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Fn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return R(Fn),g(Fn),{Alert:W,Button:$,Carousel:st,Collapse:mt,Dropdown:ui,Modal:zi,Offcanvas:Xi,Popover:yn,ScrollSpy:Sn,Tab:jn,Toast:Fn,Tooltip:gn}}()}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t;i(577),function(e,i,n,s){var o,r,a,l,c,h,d,u,f,p,m,g;t={staticVariables:function(){c=e(i),o=e("body"),r=e(".cd-top"),p=e("#wpadminbar"),a=e("#masthead"),l=e("#main"),h=!!navigator.userAgent.toLowerCase().match(/(android|webos|blackberry|ipod|iphone|ipad|opera mini|iemobile|windows phone|windows mobile)/),d=!!parseInt(s.sticky),u=!!o.hasClass("admin-bar"),m=o.hasClass("boxed"),g=e(".boxed").outerWidth();var t=this;t.getAdminBarHeight(),t.getHeaderHeight(),t.getHeaderTop()},getAdminBarHeight:function(){return u?p.height():0},getHeaderHeight:function(){return f=a?a.outerHeight():0},getHeaderTop:function(){return a&&a.offset()?a.offset().top:0},initFormPlaceHolder:function(){var t=i.operamini&&"[object OperaMini]"===Object.prototype.toString.call(i.operamini),s="placeholder"in n.createElement("input")&&!t,o="placeholder"in n.createElement("textarea")&&!t;if(!s||!o){var r=[];s||r.push("input[placeholder]"),o||r.push("textarea[placeholder]"),e(r.join(",")).each((function(){var t=e(this),i=t.attr("placeholder");""===t.val()&&t.val(i),t.focus((function(){this.value===i&&(this.value="")})).blur((function(){""===e.trim(this.value)&&(this.value=i)}))})),e("form").submit((function(){e(this).find(r).each((function(){this.value===e(this).attr("placeholder")&&(this.value="")}))}))}},initTooltip:function(){e("[data-bs-toggle=tooltip]").tooltip(),e(".toast").toast(),e('[data-bs-toggle="popover"]').popover({container:"body"})},showBackToTop:function(){c.scrollTop()>300?(r.addClass("cd-is-visible"),o.addClass("scrolled")):r.removeClass("cd-is-visible cd-fade-out"),c.scrollTop()>1200&&r.addClass("cd-fade-out")},initBackToTop:function(){r.on("click",(function(t){t.preventDefault(),e("body,html").animate({scrollTop:0},700)}))},initTransparentHeader:function(){o.hasClass("transparent-header")||e(".transparent-header .page-builder .themeoo-row:first-of-type .container:first-of-type, .transparent-header .page-builder .themeoo-row:first-of-type .container-fluid:first-of-type").css("padding-top",a.height()+20)},initMegaMenu:function(){var t=e(i).width();e(i).resize((function(){t=e(i).width()})),e(".main-navigation").superfish({delay:200,speed:"fast",speedOut:"fast",cssArrows:!1,onBeforeShow:function(){var e=this;if(!e.is(".main-navigation>li:not(.themeoo-mega-menu)>ul")){var i,n=e.parent(),s=n.width();(null===(i=n.offset())||void 0===i?void 0:i.left)+s+e.width()>t?e.css({left:"auto",right:s+"px"}):e.css({left:"",right:""})}}})},initMobileMenu:function(){e("#themeoo-mobile-toggle").on("click",(function(t){t.preventDefault(),e(this).toggleClass("cs-collapse"),e("#navigation-mobile").slideToggle(500,"easeInOutExpo")})),e("#navigation-mobile li:has(ul) > .themeoo-dropdown-plus").on("click",(function(t){t.preventDefault(),e(this).toggleClass("cs-times"),e(this).parent().find("> ul").slideToggle(500,"easeInOutExpo")})),e("#navigation-mobile li:has(ul) > a:not(.themeoo-dropdown-plus)").on("click",(function(t){if("#"===e(this).attr("href")){t.preventDefault();var i=e(this).parent();i.find("> .themeoo-dropdown-plus").toggleClass("cs-times"),i.find("> ul").slideToggle(500,"easeInOutExpo")}}))},themeoo_is_small:function(){return i.innerWidths?(a.trigger("close-modals").addClass("is-sticky"),m&&a.css("width",g+"px"),l.css("padding-top",i)):(a.removeClass("is-sticky"),l.removeAttr("style")),n>i+s?a.addClass("is-compact"):a.removeClass("is-compact"))}))}},initFixSticky:function(){d&&t.themeoo_is_small()?(a.removeClass("is-sticky is-compact"),l.removeAttr("style")):o.removeClass("cs-is-small")},initContentProduct:function(){var t=e(".product-item");e(".largeGrid").click((function(){return e(this).find("a").addClass("active"),e(".smallGrid a").removeClass("active"),t.addClass("large"),setTimeout((function(){e(".info-large").show()}),200),setTimeout((function(){e(".view_gallery").trigger("click")}),400),!1})),e(".smallGrid").click((function(){return e(this).find("a").addClass("active"),e(".largeGrid a").removeClass("active"),t.removeClass("large"),e(".make3D").removeClass("animate"),e(".info-large").fadeOut("fast"),setTimeout((function(){e("div.flip-back").trigger("click")}),400),!1})),e(".colors-large a").click((function(){return!1})),t.each((function(i,n){e(n).find(".view_gallery").click((function(){e(n).find("div.carouselNext, div.carouselPrev").removeClass("visible");var t=e(n).find(".make3D");t.length&&(t.addClass("flip-10"),setTimeout((function(){t.removeClass("flip-10").addClass("flip90").find("div.shadow").show().fadeTo(80,1,(function(){e(n).find(".product-front, .product-front div.shadow").hide()}))}),50),setTimeout((function(){t.removeClass("flip90").addClass("flip190"),e(n).find(".product-back").show().find("div.shadow").show().fadeTo(90,0),setTimeout((function(){t.removeClass("flip190").addClass("flip180").find("div.shadow").hide(),setTimeout((function(){t.css("transition","100ms ease-out"),e(n).find(".cx, .cy").addClass("s1"),setTimeout((function(){e(n).find(".cx, .cy").addClass("s2")}),100),setTimeout((function(){e(n).find(".cx, .cy").addClass("s3")}),200),e(n).find("div.carouselNext, div.carouselPrev").addClass("visible")}),100)}),100)}),150))})),e(n).find(".flip-back").click((function(t){t.preventDefault();var i=e(n).find(".make3D");i.length&&(i.removeClass("flip180").addClass("flip190"),setTimeout((function(){i.removeClass("flip190").addClass("flip90"),e(n).find(".product-back div.shadow").css("opacity",0).fadeTo(100,1,(function(){e(n).find(".product-back, .product-back div.shadow").hide(),e(n).find(".product-front, .product-front div.shadow").show()}))}),50),setTimeout((function(){i.removeClass("flip90").addClass("flip-10"),e(n).find(".product-front div.shadow").show().fadeTo(100,0),setTimeout((function(){e(n).find(".product-front div.shadow").hide(),i.removeClass("flip-10").css("transition","100ms ease-out"),e(n).find(".cx, .cy").removeClass("s1 s2 s3")}),100)}),150))})),function(i){var n=e(i).find(".carousel ul"),s=t.outerWidth(),o=0,r=!1,a=0;e(n).attr("rel",a),e(n).find("li").each((function(){o+=s})),e(n).css("width",o),e(".carousel li").css("width",s),e(".carousel").css("width",s),e(".arrows-perspective").css("width",s),e(i).find("div.carouselNext").on("click",(function(){var t=Math.abs(parseInt(e(n).css("left")))+s;t!==o&&!0!==r&&(e(n).css({left:"-"+t+"px",transition:"300ms ease-out"}),r=!0,a++,e(n).attr("rel",a),setTimeout((function(){r=!1}),300))})),e(i).find("div.carouselPrev").on("click",(function(){var t=Math.abs(parseInt(e(n).css("left")))-s;t<0||!0===r||(e(n).css({left:"-"+t+"px",transition:"300ms ease-out"}),r=!0,a--,e(n).attr("rel",a),setTimeout((function(){r=!1}),300))}))}(n)})),e(".sizes a span, .categories a span").each((function(t,i){e(i).append(''),e(i).parent().on("click",(function(){return e(this).hasClass("checked")?(e(i).find(".y").removeClass("animate"),setTimeout((function(){e(i).find(".x").removeClass("animate")}),50),e(this).removeClass("checked"),!1):(e(i).find(".x").addClass("animate"),setTimeout((function(){e(i).find(".y").addClass("animate")}),100),e(this).addClass("checked"),!1)}))})),e(".add_to_cart").click((function(){var t=e(this).parent(),i=t.offset();o.append('
');var n=e("div.floating-cart");t.clone().appendTo(n),e(n).css({top:i.top+"px",left:i.left+"px"}).fadeIn("slow").addClass("moveToCart"),setTimeout((function(){o.addClass("MakeFloatingCart")}),800)}))},responsiveEmbed:function(){e("iframe").each((function(){if(this.width&&this.height){var t=parseFloat(this.width)/parseFloat(this.height),e=parseFloat(i.getComputedStyle(this.parentElement,null).width.replace("px",""));this.style.maxWidth="100%",this.style.maxHeight=Math.round(e/t).toString()+"px"}}))},onResize:function(){this.initTransparentHeader(),this.responsiveEmbed()},onScroll:function(){this.showBackToTop()},init:function(){var t=this;t.onResize=t.onResize.bind(t),t.onScroll=t.onScroll.bind(t),t.staticVariables(),t.onResize(),t.onScroll(),t.initTooltip(),t.initBackToTop(),t.initFormPlaceHolder(),t.initMegaMenu(),t.initMobileMenu(),t.initStickyHeader(),t.initFixSticky()}},e(n).ready((function(){t.init(),c.resize(t.onResize).resize(),c.scroll(t.onScroll).scroll(),new Plyr(".player");var i=e(".grid-container");function n(){i.length>0&&i.imagesLoaded((function(){i.masonry({itemSelector:".post-grid-wrap",percentPosition:!0,fitWidth:!0})}))}var s=e(".lazy");s.length?s.lazy({effect:"fadeIn",effectTime:2e3,threshold:0,afterLoad:function(t){t.removeClass("lazy"),t.removeClass("loaded"),n()}}):n()})),e("#themeoo-mobile-toggle").on("click",(function(){var t,i=e("#themeoo-mobile-toggle i"),n=e(".main-header.transparent-header "),s=e(".secondary-header"),r=o.hasClass("admin-bar"),a=e(".themeoo-menu-overlay");t=r&&1===s.length?n.outerHeight()+e("#wpadminbar").outerHeight()+s.outerHeight():r?n.outerHeight()+e("#wpadminbar").outerHeight():1===s.length?n.outerHeight()+s.outerHeight():n.outerHeight(),e(a).toggleClass("active"),e("#navigation-mobile").css({top:t+"px"}),i.hasClass("ti-menu")?i.removeClass("ti-menu").addClass("ti-close"):i.removeClass("ti-close").addClass("ti-menu")}))}(jQuery,window,document,themeoo_ajax)})()})();