���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 93.127.173.103  /  Your IP : 216.73.216.200
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u479334040/domains/essartindia.com/public_html/wp-content/themes/porto/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

Youez - 2016 - github.com/yon3zu
LinuXploit