PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/elintscleaningservices.co.uk/wp-content/themes/porto/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/elintscleaningservices.co.uk/wp-content/themes/porto/js/bootstrap.optimized.min.js |
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t={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 n=[];let i=t.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(e)&&n.push(i),i=i.parentNode;return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]}},e="transitionend",n=t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},i=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e},o=t=>{const e=i(t);return e&&document.querySelector(e)?e:null},r=t=>{const e=i(t);return e?document.querySelector(e):null},s=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),a=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?t.findOne(e):null,l=(t,n)=>{let i=!1;const o=n+5;t.addEventListener(e,(function n(){i=!0,t.removeEventListener(e,n)})),setTimeout((()=>{i||(t=>{t.dispatchEvent(new Event(e))})(t)}),o)},c=(t,e,n)=>{Object.keys(n).forEach((i=>{const o=n[i],r=e[i],a=r&&s(r)?"element":null==(l=r)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(o).test(a))throw new TypeError(`${t.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${o}".`)}))},f=t=>{if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){const e=getComputedStyle(t),n=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==n.display&&"hidden"!==e.visibility}return!1},u=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),d=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?d(t.parentNode):null},p=()=>{},h=t=>t.offsetHeight,g=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},m=()=>"rtl"===document.documentElement.dir,_=t=>{var e;e=()=>{const e=g();if(e){const n=t.NAME,i=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=i,t.jQueryInterface)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()},v=t=>{"function"==typeof t&&t()},b=new Map;var y={set(t,e,n){b.has(t)||b.set(t,new Map);const i=b.get(t);i.has(e)||0===i.size?i.set(e,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,e)=>b.has(t)&&b.get(t).get(e)||null,remove(t,e){if(!b.has(t))return;const n=b.get(t);n.delete(e),0===n.size&&b.delete(t)}};const w=/[^.]*(?=\..*)\.|.*/,E=/\..*/,O=/::\d+$/,T={};let A=1;const L={mouseenter:"mouseover",mouseleave:"mouseout"},x=/^(mouseenter|mouseleave)/i,C=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 D(t,e){return e&&`${e}::${A++}`||t.uidEvent||A++}function N(t){const e=D(t);return t.uidEvent=e,T[e]=T[e]||{},T[e]}function $(t,e,n=null){const i=Object.keys(t);for(let o=0,r=i.length;o<r;o++){const r=t[i[o]];if(r.originalHandler===e&&r.delegationSelector===n)return r}return null}function S(t,e,n){const i="string"==typeof e,o=i?n:e;let r=P(t);return C.has(r)||(r=t),[i,o,r]}function k(t,e,n,i,o){if("string"!=typeof e||!t)return;if(n||(n=i,i=null),x.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};i?i=t(i):n=t(n)}const[r,s,a]=S(e,n,i),l=N(t),c=l[a]||(l[a]={}),f=$(c,s,r?n:null);if(f)return void(f.oneOff=f.oneOff&&o);const u=D(s,e.replace(w,"")),d=r?function(t,e,n){return function i(o){const r=t.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(let a=r.length;a--;)if(r[a]===s)return o.delegateTarget=s,i.oneOff&&M.off(t,o.type,e,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return i.delegateTarget=t,n.oneOff&&M.off(t,i.type,e),e.apply(t,[i])}}(t,n);d.delegationSelector=r?n:null,d.originalHandler=s,d.oneOff=o,d.uidEvent=u,c[u]=d,t.addEventListener(a,d,r)}function j(t,e,n,i,o){const r=$(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}function P(t){return t=t.replace(E,""),L[t]||t}const M={on(t,e,n,i){k(t,e,n,i,!1)},one(t,e,n,i){k(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[o,r,s]=S(e,n,i),a=s!==e,l=N(t),c=e.startsWith(".");if(void 0!==r){if(!l||!l[s])return;return void j(t,l,s,r,o?n:null)}c&&Object.keys(l).forEach((n=>{!function(t,e,n,i){const o=e[n]||{};Object.keys(o).forEach((r=>{if(r.includes(i)){const i=o[r];j(t,e,n,i.originalHandler,i.delegationSelector)}}))}(t,l,n,e.slice(1))}));const f=l[s]||{};Object.keys(f).forEach((n=>{const i=n.replace(O,"");if(!a||e.includes(i)){const e=f[n];j(t,l,s,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=g(),o=P(e),r=e!==o,s=C.has(o);let a,l=!0,c=!0,f=!1,u=null;return r&&i&&(a=i.Event(e,n),i(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),f=a.isDefaultPrevented()),s?(u=document.createEvent("HTMLEvents"),u.initEvent(o,l,!0)):u=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((t=>{Object.defineProperty(u,t,{get:()=>n[t]})})),f&&u.preventDefault(),c&&t.dispatchEvent(u),u.defaultPrevented&&void 0!==a&&a.preventDefault(),u}};class H{constructor(t){(t=a(t))&&(this._element=t,y.set(this._element,this.constructor.DATA_KEY,this))}dispose(){y.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,n=!0){if(!n)return void v(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),o=Number.parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e);M.one(e,"transitionend",(()=>v(t))),l(e,i)}static getInstance(t){return y.get(t,this.DATA_KEY)}static get VERSION(){return"5.0.1"}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 I="bs.alert",R=`.${I}`,B=`close${R}`,W=`closed${R}`,q=`click${R}.data-api`;class z extends H{static get NAME(){return"alert"}close(t){const e=t?this._getRootElement(t):this._element,n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)}_getRootElement(t){return r(t)||t.closest(".alert")}_triggerCloseEvent(t){return M.trigger(t,B)}_removeElement(t){t.classList.remove("show");const e=t.classList.contains("fade");this._queueCallback((()=>this._destroyElement(t)),t,e)}_destroyElement(t){t.parentNode&&t.parentNode.removeChild(t),M.trigger(t,W)}static jQueryInterface(t){return this.each((function(){let e=y.get(this,I);e||(e=new z(this)),"close"===t&&e[t](this)}))}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}M.on(document,q,'[data-bs-dismiss="alert"]',z.handleDismiss(new z)),_(z);const U="bs.button",F='[data-bs-toggle="button"]',Y=`click${`.${U}`}.data-api`;class K extends H{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){let e=y.get(this,U);e||(e=new K(this)),"toggle"===t&&e[t]()}))}}function V(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,Y,F,(t=>{t.preventDefault();const e=t.target.closest(F);let n=y.get(e,U);n||(n=new K(e)),n.toggle()})),_(K);const G={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Q(e)}`,n)},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((n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=V(t.dataset[n])})),e},getDataAttribute:(t,e)=>V(t.getAttribute(`data-bs-${Q(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},X="collapse",Z="bs.collapse",J=`.${Z}`,tt={toggle:!0,parent:""},et={toggle:"boolean",parent:"(string|element)"},nt=`show${J}`,it=`shown${J}`,ot=`hide${J}`,rt=`hidden${J}`,st=`click${J}.data-api`,at="show",lt="collapse",ct="collapsing",ft="collapsed",ut="width",dt='[data-bs-toggle="collapse"]';class pt extends H{constructor(e,n){super(e),this._isTransitioning=!1,this._config=this._getConfig(n),this._triggerArray=t.find(`${dt}[href="#${this._element.id}"],${dt}[data-bs-target="#${this._element.id}"]`);const i=t.find(dt);for(let e=0,n=i.length;e<n;e++){const n=i[e],r=o(n),s=t.find(r).filter((t=>t===this._element));null!==r&&s.length&&(this._selector=r,this._triggerArray.push(n))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return tt}static get NAME(){return X}toggle(){this._element.classList.contains(at)?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains(at))return;let e,n;this._parent&&(e=t.find(".show, .collapsing",this._parent).filter((t=>"string"==typeof this._config.parent?t.getAttribute("data-bs-parent")===this._config.parent:t.classList.contains(lt))),0===e.length&&(e=null));const i=t.findOne(this._selector);if(e){const t=e.find((t=>i!==t));if(n=t?y.get(t,Z):null,n&&n._isTransitioning)return}if(M.trigger(this._element,nt).defaultPrevented)return;e&&e.forEach((t=>{i!==t&&pt.collapseInterface(t,"hide"),n||y.set(t,Z,null)}));const o=this._getDimension();this._element.classList.remove(lt),this._element.classList.add(ct),this._element.style[o]=0,this._triggerArray.length&&this._triggerArray.forEach((t=>{t.classList.remove(ft),t.setAttribute("aria-expanded",!0)})),this.setTransitioning(!0);const r=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback((()=>{this._element.classList.remove(ct),this._element.classList.add(lt,at),this._element.style[o]="",this.setTransitioning(!1),M.trigger(this._element,it)}),this._element,!0),this._element.style[o]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._element.classList.contains(at))return;if(M.trigger(this._element,ot).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,h(this._element),this._element.classList.add(ct),this._element.classList.remove(lt,at);const e=this._triggerArray.length;if(e>0)for(let t=0;t<e;t++){const e=this._triggerArray[t],n=r(e);n&&!n.classList.contains(at)&&(e.classList.add(ft),e.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[t]="",this._queueCallback((()=>{this.setTransitioning(!1),this._element.classList.remove(ct),this._element.classList.add(lt),M.trigger(this._element,rt)}),this._element,!0)}setTransitioning(t){this._isTransitioning=t}_getConfig(t){return(t={...tt,...t}).toggle=Boolean(t.toggle),c(X,t,et),t}_getDimension(){return this._element.classList.contains(ut)?ut:"height"}_getParent(){let{parent:e}=this._config;e=a(e);const n=`${dt}[data-bs-parent="${e}"]`;return t.find(n,e).forEach((t=>{const e=r(t);this._addAriaAndCollapsedClass(e,[t])})),e}_addAriaAndCollapsedClass(t,e){if(!t||!e.length)return;const n=t.classList.contains(at);e.forEach((t=>{n?t.classList.remove(ft):t.classList.add(ft),t.setAttribute("aria-expanded",n)}))}static collapseInterface(t,e){let n=y.get(t,Z);const i={...tt,...G.getDataAttributes(t),..."object"==typeof e&&e?e:{}};if(!n&&i.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),n||(n=new pt(t,i)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}static jQueryInterface(t){return this.each((function(){pt.collapseInterface(this,t)}))}}M.on(document,st,dt,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const n=G.getDataAttributes(this),i=o(this);t.find(i).forEach((t=>{const e=y.get(t,Z);let i;e?(null===e._parent&&"string"==typeof n.parent&&(e._config.parent=n.parent,e._parent=e._getParent()),i="toggle"):i=n,pt.collapseInterface(t,i)}))})),_(pt);var ht="top",gt="bottom",mt="right",_t="left",vt="auto",bt=[ht,gt,mt,_t],yt="start",wt="end",Et="clippingParents",Ot="viewport",Tt="popper",At="reference",Lt=bt.reduce((function(t,e){return t.concat([e+"-"+yt,e+"-"+wt])}),[]),xt=[].concat(bt,[vt]).reduce((function(t,e){return t.concat([e,e+"-"+yt,e+"-"+wt])}),[]),Ct="beforeRead",Dt="read",Nt="afterRead",$t="beforeMain",St="main",kt="afterMain",jt="beforeWrite",Pt="write",Mt="afterWrite",Ht=[Ct,Dt,Nt,$t,St,kt,jt,Pt,Mt];function It(t){return t?(t.nodeName||"").toLowerCase():null}function Rt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Bt(t){return t instanceof Rt(t).Element||t instanceof Element}function Wt(t){return t instanceof Rt(t).HTMLElement||t instanceof HTMLElement}function qt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Rt(t).ShadowRoot||t instanceof ShadowRoot)}var zt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];Wt(o)&&It(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Wt(i)&&It(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Ut(t){return t.split("-")[0]}function Ft(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function Yt(t){var e=Ft(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Kt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&qt(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Vt(t){return Rt(t).getComputedStyle(t)}function Qt(t){return["table","td","th"].indexOf(It(t))>=0}function Gt(t){return((Bt(t)?t.ownerDocument:t.document)||window.document).documentElement}function Xt(t){return"html"===It(t)?t:t.assignedSlot||t.parentNode||(qt(t)?t.host:null)||Gt(t)}function Zt(t){return Wt(t)&&"fixed"!==Vt(t).position?t.offsetParent:null}function Jt(t){for(var e=Rt(t),n=Zt(t);n&&Qt(n)&&"static"===Vt(n).position;)n=Zt(n);return n&&("html"===It(n)||"body"===It(n)&&"static"===Vt(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Wt(t)&&"fixed"===Vt(t).position)return null;for(var n=Xt(t);Wt(n)&&["html","body"].indexOf(It(n))<0;){var i=Vt(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function te(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var ee=Math.max,ne=Math.min,ie=Math.round;function oe(t,e,n){return ee(t,ne(e,n))}function re(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function se(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var ae={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,o=t.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ut(n.placement),l=te(a),c=[_t,mt].indexOf(a)>=0?"height":"width";if(r&&s){var f=function(t,e){return re("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:se(t,bt))}(o.padding,n),u=Yt(r),d="y"===l?ht:_t,p="y"===l?gt:mt,h=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=Jt(r),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,v=h/2-g/2,b=f[d],y=_-u[c]-f[p],w=_/2-u[c]/2+v,E=oe(b,w,y),O=l;n.modifiersData[i]=((e={})[O]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&Kt(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},le={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(t){var e,n=t.popper,i=t.popperRect,o=t.placement,r=t.offsets,s=t.position,a=t.gpuAcceleration,l=t.adaptive,c=t.roundOffsets,f=!0===c?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:ie(ie(e*i)/i)||0,y:ie(ie(n*i)/i)||0}}(r):"function"==typeof c?c(r):r,u=f.x,d=void 0===u?0:u,p=f.y,h=void 0===p?0:p,g=r.hasOwnProperty("x"),m=r.hasOwnProperty("y"),_=_t,v=ht,b=window;if(l){var y=Jt(n),w="clientHeight",E="clientWidth";y===Rt(n)&&"static"!==Vt(y=Gt(n)).position&&(w="scrollHeight",E="scrollWidth"),o===ht&&(v=gt,h-=y[w]-i.height,h*=a?1:-1),o===_t&&(_=mt,d-=y[E]-i.width,d*=a?1:-1)}var O,T=Object.assign({position:s},l&&le);return a?Object.assign({},T,((O={})[v]=m?"0":"",O[_]=g?"0":"",O.transform=(b.devicePixelRatio||1)<2?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",O)):Object.assign({},T,((e={})[v]=m?h+"px":"",e[_]=g?d+"px":"",e.transform="",e))}var fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:Ut(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ce(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ce(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:{}},ue={passive:!0};var de={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=Rt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach((function(t){t.addEventListener("scroll",n.update,ue)})),a&&l.addEventListener("resize",n.update,ue),function(){r&&c.forEach((function(t){t.removeEventListener("scroll",n.update,ue)})),a&&l.removeEventListener("resize",n.update,ue)}},data:{}},pe={left:"right",right:"left",bottom:"top",top:"bottom"};function he(t){return t.replace(/left|right|bottom|top/g,(function(t){return pe[t]}))}var ge={start:"end",end:"start"};function me(t){return t.replace(/start|end/g,(function(t){return ge[t]}))}function _e(t){var e=Rt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ve(t){return Ft(Gt(t)).left+_e(t).scrollLeft}function be(t){var e=Vt(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function ye(t){return["html","body","#document"].indexOf(It(t))>=0?t.ownerDocument.body:Wt(t)&&be(t)?t:ye(Xt(t))}function we(t,e){var n;void 0===e&&(e=[]);var i=ye(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),r=Rt(i),s=o?[r].concat(r.visualViewport||[],be(i)?i:[]):i,a=e.concat(s);return o?a:a.concat(we(Xt(s)))}function Ee(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===Ot?Ee(function(t){var e=Rt(t),n=Gt(t),i=e.visualViewport,o=n.clientWidth,r=n.clientHeight,s=0,a=0;return i&&(o=i.width,r=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:o,height:r,x:s+ve(t),y:a}}(t)):Wt(e)?function(t){var e=Ft(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):Ee(function(t){var e,n=Gt(t),i=_e(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=ee(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=ee(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+ve(t),l=-i.scrollTop;return"rtl"===Vt(o||n).direction&&(a+=ee(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(Gt(t)))}function Te(t,e,n){var i="clippingParents"===e?function(t){var e=we(Xt(t)),n=["absolute","fixed"].indexOf(Vt(t).position)>=0&&Wt(t)?Jt(t):t;return Bt(n)?e.filter((function(t){return Bt(t)&&Kt(t,n)&&"body"!==It(t)})):[]}(t):[].concat(e),o=[].concat(i,[n]),r=o[0],s=o.reduce((function(e,n){var i=Oe(t,n);return e.top=ee(i.top,e.top),e.right=ne(i.right,e.right),e.bottom=ne(i.bottom,e.bottom),e.left=ee(i.left,e.left),e}),Oe(t,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ae(t){return t.split("-")[1]}function Le(t){var e,n=t.reference,i=t.element,o=t.placement,r=o?Ut(o):null,s=o?Ae(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case ht:e={x:a,y:n.y-i.height};break;case gt:e={x:a,y:n.y+n.height};break;case mt:e={x:n.x+n.width,y:l};break;case _t:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=r?te(r):null;if(null!=c){var f="y"===c?"height":"width";switch(s){case yt:e[c]=e[c]-(n[f]/2-i[f]/2);break;case wt:e[c]=e[c]+(n[f]/2-i[f]/2)}}return e}function xe(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=void 0===i?t.placement:i,r=n.boundary,s=void 0===r?Et:r,a=n.rootBoundary,l=void 0===a?Ot:a,c=n.elementContext,f=void 0===c?Tt:c,u=n.altBoundary,d=void 0!==u&&u,p=n.padding,h=void 0===p?0:p,g=re("number"!=typeof h?h:se(h,bt)),m=f===Tt?At:Tt,_=t.elements.reference,v=t.rects.popper,b=t.elements[d?m:f],y=Te(Bt(b)?b:b.contextElement||Gt(t.elements.popper),s,l),w=Ft(_),E=Le({reference:w,element:v,strategy:"absolute",placement:o}),O=Ee(Object.assign({},v,E)),T=f===Tt?O:w,A={top:y.top-T.top+g.top,bottom:T.bottom-y.bottom+g.bottom,left:y.left-T.left+g.left,right:T.right-y.right+g.right},L=t.modifiersData.offset;if(f===Tt&&L){var x=L[o];Object.keys(A).forEach((function(t){var e=[mt,gt].indexOf(t)>=0?1:-1,n=[ht,gt].indexOf(t)>=0?"y":"x";A[t]+=x[n]*e}))}return A}function Ce(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?xt:l,f=Ae(i),u=f?a?Lt:Lt.filter((function(t){return Ae(t)===f})):bt,d=u.filter((function(t){return c.indexOf(t)>=0}));0===d.length&&(d=u);var p=d.reduce((function(e,n){return e[n]=xe(t,{placement:n,boundary:o,rootBoundary:r,padding:s})[Ut(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}var De={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,f=n.boundary,u=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=e.options.placement,_=Ut(m),v=l||(_===m||!h?[he(m)]:function(t){if(Ut(t)===vt)return[];var e=he(t);return[me(t),e,me(e)]}(m)),b=[m].concat(v).reduce((function(t,n){return t.concat(Ut(n)===vt?Ce(e,{placement:n,boundary:f,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,O=!0,T=b[0],A=0;A<b.length;A++){var L=b[A],x=Ut(L),C=Ae(L)===yt,D=[ht,gt].indexOf(x)>=0,N=D?"width":"height",$=xe(e,{placement:L,boundary:f,rootBoundary:u,altBoundary:d,padding:c}),S=D?C?mt:_t:C?gt:ht;y[N]>w[N]&&(S=he(S));var k=he(S),j=[];if(r&&j.push($[x]<=0),a&&j.push($[S]<=0,$[k]<=0),j.every((function(t){return t}))){T=L,O=!1;break}E.set(L,j)}if(O)for(var P=function(t){var e=b.find((function(e){var n=E.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},M=h?3:1;M>0;M--){if("break"===P(M))break}e.placement!==T&&(e.modifiersData[i]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ne(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function $e(t){return[ht,mt,gt,_t].some((function(e){return t[e]>=0}))}var Se={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=xe(e,{elementContext:"reference"}),a=xe(e,{altBoundary:!0}),l=Ne(s,i),c=Ne(a,o,r),f=$e(l),u=$e(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":u})}};var ke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.offset,r=void 0===o?[0,0]:o,s=xt.reduce((function(t,n){return t[n]=function(t,e,n){var i=Ut(t),o=[_t,ht].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[_t,mt].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,r),t}),{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=s}};var je={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Le({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Pe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,f=n.altBoundary,u=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,g=void 0===h?0:h,m=xe(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:f}),_=Ut(e.placement),v=Ae(e.placement),b=!v,y=te(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,O=e.rects.reference,T=e.rects.popper,A="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,L={x:0,y:0};if(E){if(r||a){var x="y"===y?ht:_t,C="y"===y?gt:mt,D="y"===y?"height":"width",N=E[y],$=E[y]+m[x],S=E[y]-m[C],k=p?-T[D]/2:0,j=v===yt?O[D]:T[D],P=v===yt?-T[D]:-O[D],M=e.elements.arrow,H=p&&M?Yt(M):{width:0,height:0},I=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=I[x],B=I[C],W=oe(0,O[D],H[D]),q=b?O[D]/2-k-W-R-A:j-W-R-A,z=b?-O[D]/2+k+W+B+A:P+W+B+A,U=e.elements.arrow&&Jt(e.elements.arrow),F=U?"y"===y?U.clientTop||0:U.clientLeft||0:0,Y=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,K=E[y]+q-Y-F,V=E[y]+z-Y;if(r){var Q=oe(p?ne($,K):$,N,p?ee(S,V):S);E[y]=Q,L[y]=Q-N}if(a){var G="x"===y?ht:_t,X="x"===y?gt:mt,Z=E[w],J=Z+m[G],tt=Z-m[X],et=oe(p?ne(J,K):J,Z,p?ee(tt,V):tt);E[w]=et,L[w]=et-Z}}e.modifiersData[i]=L}},requiresIfExists:["offset"]};function Me(t,e,n){void 0===n&&(n=!1);var i,o,r=Gt(e),s=Ft(t),a=Wt(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==It(e)||be(r))&&(l=(i=e)!==Rt(i)&&Wt(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:_e(i)),Wt(e)?((c=Ft(e)).x+=e.clientLeft,c.y+=e.clientTop):r&&(c.x=ve(r))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function He(t){var e=new Map,n=new Set,i=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&o(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),i}var Ie={placement:"bottom",modifiers:[],strategy:"absolute"};function Re(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Be(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,o=e.defaultOptions,r=void 0===o?Ie:o;return function(t,e,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ie,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,f={state:a,setOptions:function(n){u(),a.options=Object.assign({},r,a.options,n),a.scrollParents={reference:Bt(t)?we(t):t.contextElement?we(t.contextElement):[],popper:we(e)};var o,s,c=function(t){var e=He(t);return Ht.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((o=[].concat(i,a.options.modifiers),s=o.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return a.orderedModifiers=c.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var r=o({state:a,name:e,instance:f,options:i}),s=function(){};l.push(r||s)}})),f.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,n=t.popper;if(Re(e,n)){a.rects={reference:Me(e,Jt(n),"fixed"===a.options.strategy),popper:Yt(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],r=o.fn,s=o.options,l=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:l,name:u,instance:f})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){f.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){u(),c=!0}};if(!Re(t,e))return f;function u(){l.forEach((function(t){return t()})),l=[]}return f.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),f}}var We=Be(),qe=Be({defaultModifiers:[de,je,fe,zt]}),ze=Be({defaultModifiers:[de,je,fe,zt,ke,De,Pe,ae,Se]}),Ue=Object.freeze({__proto__:null,popperGenerator:Be,detectOverflow:xe,createPopperBase:We,createPopper:ze,createPopperLite:qe,top:ht,bottom:gt,right:mt,left:_t,auto:vt,basePlacements:bt,start:yt,end:wt,clippingParents:Et,viewport:Ot,popper:Tt,reference:At,variationPlacements:Lt,placements:xt,beforeRead:Ct,read:Dt,afterRead:Nt,beforeMain:$t,main:St,afterMain:kt,beforeWrite:jt,write:Pt,afterWrite:Mt,modifierPhases:Ht,applyStyles:zt,arrow:ae,computeStyles:fe,eventListeners:de,flip:De,hide:Se,offset:ke,popperOffsets:je,preventOverflow:Pe});const Fe="dropdown",Ye="bs.dropdown",Ke=`.${Ye}`,Ve=".data-api",Qe="Escape",Ge="Space",Xe="ArrowUp",Ze="ArrowDown",Je=new RegExp(`${Xe}|${Ze}|${Qe}`),tn=`hide${Ke}`,en=`hidden${Ke}`,nn=`show${Ke}`,on=`shown${Ke}`,rn=`click${Ke}`,sn=`click${Ke}${Ve}`,an=`keydown${Ke}${Ve}`,ln=`keyup${Ke}${Ve}`,cn="show",fn='[data-bs-toggle="dropdown"]',un=".dropdown-menu",dn=m()?"top-end":"top-start",pn=m()?"top-start":"top-end",hn=m()?"bottom-end":"bottom-start",gn=m()?"bottom-start":"bottom-end",mn=m()?"left-start":"right-start",_n=m()?"right-start":"left-start",vn={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},bn={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class yn extends H{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get Default(){return vn}static get DefaultType(){return bn}static get NAME(){return Fe}toggle(){if(u(this._element))return;this._element.classList.contains(cn)?this.hide():this.show()}show(){if(u(this._element)||this._menu.classList.contains(cn))return;const t=yn.getParentFromElement(this._element),e={relatedTarget:this._element};if(!M.trigger(this._element,nn,e).defaultPrevented){if(this._inNavbar)G.setDataAttribute(this._menu,"popper","none");else{if(void 0===Ue)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:s(this._config.reference)?e=a(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig(),i=n.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=ze(e,this._menu,n),i&&G.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((t=>M.on(t,"mouseover",p))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle(cn),this._element.classList.toggle(cn),M.trigger(this._element,on,e)}}hide(){if(u(this._element)||!this._menu.classList.contains(cn))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()}_addEventListeners(){M.on(this._element,rn,(t=>{t.preventDefault(),this.toggle()}))}_completeHide(t){M.trigger(this._element,tn,t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>M.off(t,"mouseover",p))),this._popper&&this._popper.destroy(),this._menu.classList.remove(cn),this._element.classList.remove(cn),this._element.setAttribute("aria-expanded","false"),G.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,en,t))}_getConfig(t){if(t={...this.constructor.Default,...G.getDataAttributes(this._element),...t},c(Fe,t,this.constructor.DefaultType),"object"==typeof t.reference&&!s(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Fe.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_getMenuElement(){return t.next(this._element,un)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return mn;if(t.classList.contains("dropstart"))return _n;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?pn:dn:e?gn:hn}_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(e){const n=t.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(f);if(!n.length)return;let i=n.indexOf(e.target);e.key===Xe&&i>0&&i--,e.key===Ze&&i<n.length-1&&i++,i=-1===i?0:i,n[i].focus()}static dropdownInterface(t,e){let n=y.get(t,Ye);if(n||(n=new yn(t,"object"==typeof e?e:null)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}static jQueryInterface(t){return this.each((function(){yn.dropdownInterface(this,t)}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const n=t.find(fn);for(let t=0,i=n.length;t<i;t++){const i=y.get(n[t],Ye);if(!i||!1===i._config.autoClose)continue;if(!i._element.classList.contains(cn))continue;const o={relatedTarget:i._element};if(e){const t=e.composedPath(),n=t.includes(i._menu);if(t.includes(i._element)||"inside"===i._config.autoClose&&!n||"outside"===i._config.autoClose&&n)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(o.clickEvent=e)}i._completeHide(o)}}static getParentFromElement(t){return r(t)||t.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Ge||e.key!==Qe&&(e.key!==Ze&&e.key!==Xe||e.target.closest(un)):!Je.test(e.key))return;const n=this.classList.contains(cn);if(!n&&e.key===Qe)return;if(e.preventDefault(),e.stopPropagation(),u(this))return;const i=()=>this.matches(fn)?this:t.prev(this,fn)[0];if(e.key===Qe)return i().focus(),void yn.clearMenus();n||e.key!==Xe&&e.key!==Ze?n&&e.key!==Ge?yn.getInstance(i())._selectMenuItem(e):yn.clearMenus():i().click()}}M.on(document,an,fn,yn.dataApiKeydownHandler),M.on(document,an,un,yn.dataApiKeydownHandler),M.on(document,sn,yn.clearMenus),M.on(document,ln,yn.clearMenus),M.on(document,sn,fn,(function(t){t.preventDefault(),yn.dropdownInterface(this)})),_(yn);const wn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),En=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,On=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Tn=(t,e)=>{const n=t.nodeName.toLowerCase();if(e.includes(n))return!wn.has(n)||Boolean(En.test(t.nodeValue)||On.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},An={"*":["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:[]};function Ln(t,e,n){if(!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),r=[].concat(...i.body.querySelectorAll("*"));for(let t=0,n=r.length;t<n;t++){const n=r[t],i=n.nodeName.toLowerCase();if(!o.includes(i)){n.parentNode.removeChild(n);continue}const s=[].concat(...n.attributes),a=[].concat(e["*"]||[],e[i]||[]);s.forEach((t=>{Tn(t,a)||n.removeAttribute(t.nodeName)}))}return i.body.innerHTML}const xn="tooltip",Cn="bs.tooltip",Dn=`.${Cn}`,Nn="bs-tooltip",$n=new RegExp(`(^|\\s)${Nn}\\S+`,"g"),Sn=new Set(["sanitize","allowList","sanitizeFn"]),kn={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)"},jn={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},Pn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',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:An,popperConfig:null},Mn={HIDE:`hide${Dn}`,HIDDEN:`hidden${Dn}`,SHOW:`show${Dn}`,SHOWN:`shown${Dn}`,INSERTED:`inserted${Dn}`,CLICK:`click${Dn}`,FOCUSIN:`focusin${Dn}`,FOCUSOUT:`focusout${Dn}`,MOUSEENTER:`mouseenter${Dn}`,MOUSELEAVE:`mouseleave${Dn}`},Hn="fade",In="modal",Rn="show",Bn="show",Wn="out",qn="hover",zn="focus";class Un extends H{constructor(t,e){if(void 0===Ue)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 Pn}static get NAME(){return xn}static get Event(){return Mn}static get DefaultType(){return kn}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(Rn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(`.${In}`),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._popper&&this._popper.destroy(),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=d(this._element),i=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;const o=this.getTipElement(),r=n(this.constructor.NAME);o.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this.setContent(),this._config.animation&&o.classList.add(Hn);const s="function"==typeof this._config.placement?this._config.placement.call(this,o,this._element):this._config.placement,a=this._getAttachment(s);this._addAttachmentClass(a);const{container:l}=this._config;y.set(o,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.appendChild(o),M.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=ze(this._element,o,this._getPopperConfig(a)),o.classList.add(Rn);const c="function"==typeof this._config.customClass?this._config.customClass():this._config.customClass;c&&o.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{M.on(t,"mouseover",p)}));const f=this.tip.classList.contains(Hn);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,M.trigger(this._element,this.constructor.Event.SHOWN),t===Wn&&this._leave(null,this)}),this.tip,f)}hide(){if(!this._popper)return;const t=this.getTipElement();if(M.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(Rn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>M.off(t,"mouseover",p))),this._activeTrigger.click=!1,this._activeTrigger[zn]=!1,this._activeTrigger[qn]=!1;const e=this.tip.classList.contains(Hn);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==Bn&&t.parentNode&&t.parentNode.removeChild(t),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))}),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");return t.innerHTML=this._config.template,this.tip=t.children[0],this.tip}setContent(){const e=this.getTipElement();this.setElementContent(t.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove(Hn,Rn)}setElementContent(t,e){if(null!==t)return s(e)?(e=a(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Ln(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){let t=this._element.getAttribute("data-bs-original-title");return t||(t="function"==typeof this._config.title?this._config.title.call(this._element):this._config.title),t}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){const n=this.constructor.DATA_KEY;return(e=e||y.get(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),y.set(t.delegateTarget,n,e)),e}_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(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(`${Nn}-${this.updateAttachment(t)}`)}_getAttachment(t){return jn[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===qn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=t===qn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;M.on(this._element,e,this._config.selector,(t=>this._enter(t))),M.on(this._element,n,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(`.${In}`),"hide.bs.modal",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?zn:qn]=!0),e.getTipElement().classList.contains(Rn)||e._hoverState===Bn?e._hoverState=Bn:(clearTimeout(e._timeout),e._hoverState=Bn,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===Bn&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?zn:qn]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Wn,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===Wn&&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=G.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{Sn.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:a(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()),c(xn,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ln(t.template,t.allowList,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=this.getTipElement(),e=t.getAttribute("class").match($n);null!==e&&e.length>0&&e.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each((function(){let e=y.get(this,Cn);const n="object"==typeof t&&t;if((e||!/dispose|hide/.test(t))&&(e||(e=new Un(this,n)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}_(Un);const Fn="scrollspy",Yn=".bs.scrollspy",Kn={offset:10,method:"auto",target:""},Vn={offset:"number",method:"string",target:"(string|element)"},Qn=`activate${Yn}`,Gn=`scroll${Yn}`,Xn=`load${Yn}.data-api`,Zn="dropdown-item",Jn="active",ti=".nav-link",ei=".list-group-item",ni="position";class ii extends H{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._selector=`${this._config.target} ${ti}, ${this._config.target} ${ei}, ${this._config.target} .${Zn}`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,M.on(this._scrollElement,Gn,(()=>this._process())),this.refresh(),this._process()}static get Default(){return Kn}static get NAME(){return Fn}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":ni,n="auto"===this._config.method?e:this._config.method,i=n===ni?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();t.find(this._selector).map((e=>{const r=o(e),s=r?t.findOne(r):null;if(s){const t=s.getBoundingClientRect();if(t.width||t.height)return this._scrollElement===this._scrollElement.window&&"offset"==n?[t.top+this._scrollElement.window.pageYOffset+i,r]:[G[n](s).top+i,r]}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,Yn),super.dispose()}_getConfig(t){if("string"!=typeof(t={...Kn,...G.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target&&s(t.target)){let{id:e}=t.target;e||(e=n(Fn),t.target.id=e),t.target=`#${e}`}return c(Fn,t,Vn),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]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}}_activate(e){this._activeTarget=e,this._clear();const n=this._selector.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),i=t.findOne(n.join(","));i.classList.contains(Zn)?(t.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Jn),i.classList.add(Jn)):(i.classList.add(Jn),t.parents(i,".nav, .list-group").forEach((e=>{t.prev(e,`${ti}, ${ei}`).forEach((t=>t.classList.add(Jn))),t.prev(e,".nav-item").forEach((e=>{t.children(e,ti).forEach((t=>t.classList.add(Jn)))}))}))),M.trigger(this._scrollElement,Qn,{relatedTarget:e})}_clear(){t.find(this._selector).filter((t=>t.classList.contains(Jn))).forEach((t=>t.classList.remove(Jn)))}static jQueryInterface(t){return this.each((function(){const e=ii.getInstance(this)||new ii(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}M.on(window,Xn,(()=>{t.find('[data-bs-spy="scroll"]').forEach((t=>new ii(t)))})),_(ii);const oi="bs.tab",ri=`.${oi}`,si=`hide${ri}`,ai=`hidden${ri}`,li=`show${ri}`,ci=`shown${ri}`,fi=`click${ri}.data-api`,ui="active",di="fade",pi="show",hi=".active",gi=":scope > li > .active";class mi extends H{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(ui))return;let e;const n=r(this._element),i=this._element.closest(".nav, .list-group");if(i){const n="UL"===i.nodeName||"OL"===i.nodeName?gi:hi;e=t.find(n,i),e=e[e.length-1]}const o=e?M.trigger(e,si,{relatedTarget:this._element}):null;if(M.trigger(this._element,li,{relatedTarget:e}).defaultPrevented||null!==o&&o.defaultPrevented)return;this._activate(this._element,i);const s=()=>{M.trigger(e,ai,{relatedTarget:this._element}),M.trigger(this._element,ci,{relatedTarget:e})};n?this._activate(n,n.parentNode,s):s()}_activate(e,n,i){const o=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t.children(n,hi):t.find(gi,n))[0],r=i&&o&&o.classList.contains(di),s=()=>this._transitionComplete(e,o,i);o&&r?(o.classList.remove(pi),this._queueCallback(s,e,!0)):s()}_transitionComplete(e,n,i){if(n){n.classList.remove(ui);const e=t.findOne(":scope > .dropdown-menu .active",n.parentNode);e&&e.classList.remove(ui),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}e.classList.add(ui),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),h(e),e.classList.contains(di)&&e.classList.add(pi);let o=e.parentNode;if(o&&"LI"===o.nodeName&&(o=o.parentNode),o&&o.classList.contains("dropdown-menu")){const n=e.closest(".dropdown");n&&t.find(".dropdown-toggle",n).forEach((t=>t.classList.add(ui))),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=y.get(this,oi)||new mi(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}return M.on(document,fi,'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),u(this))return;(y.get(this,oi)||new mi(this)).show()})),_(mi),{Alert:z,Button:K,Collapse:pt,Dropdown:yn,ScrollSpy:ii,Tab:mi,Tooltip:Un,SelectorEngine:t}}));