var Ji=Object.defineProperty,Zi=Object.defineProperties,er=Object.getOwnPropertyDescriptors,Ri=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,Wi=(B,de,ve)=>de in B?Ji(B,de,{enumerable:!0,configurable:!0,writable:!0,value:ve}):B[de]=ve,fe=(B,de)=>{for(var ve in de||(de={}))tr.call(de,ve)&&Wi(B,ve,de[ve]);if(Ri)for(var ve of Ri(de))nr.call(de,ve)&&Wi(B,ve,de[ve]);return B},Ei=(B,de)=>Zi(B,er(de));(function(B,de){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=B.document?de(B,!0):function(ve){if(!ve.document)throw new Error("jQuery requires a window with a document");return de(ve)}:de(B)})("undefined"!=typeof window?window:this,function(B,de){"use strict";var ve=[],Ye=Object.getPrototypeOf,bt=ve.slice,kt=ve.flat?function(e){return ve.flat.call(e)}:function(e){return ve.concat.apply([],e)},at=ve.push,St=ve.indexOf,Ke={},_t=Ke.toString,De=Ke.hasOwnProperty,lt=De.toString,Ht=lt.call(Object),ne={},Y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},wt=function(e){return null!=e&&e===e.window},ie=B.document,pn={type:!0,src:!0,nonce:!0,noModule:!0};function $e(e,t,i){var r,a,l=(i=i||ie).createElement("script");if(l.text=e,t)for(r in pn)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&l.setAttribute(r,a);i.head.appendChild(l).parentNode.removeChild(l)}function Ne(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Ke[_t.call(e)]||"object":typeof e}var o=function(e,t){return new o.fn.init(e,t)};function Xt(e){var t=!!e&&"length"in e&&e.length,i=Ne(e);return!Y(e)&&!wt(e)&&("array"===i||0===t||"number"==typeof t&&0+~]|"+te+")"+te+"*"),Bi=new RegExp(te+"|>"),$i=new RegExp(zt),Fi=new RegExp("^"+Te+"$"),vi={ID:new RegExp("^#("+Te+")"),CLASS:new RegExp("^\\.("+Te+")"),TAG:new RegExp("^("+Te+"|[*])"),ATTR:new RegExp("^"+Je),PSEUDO:new RegExp("^"+zt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+En+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},zi=/HTML$/i,Ui=/^(?:input|select|textarea|button)$/i,Vi=/^h\d$/i,hi=/^[^{]+\{\s*\[native \w/,Xi=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ai=/[+~]/,Nn=new RegExp("\\\\[\\da-fA-F]{1,6}"+te+"?|\\\\([^\\r\\n\\f])","g"),Ln=function(u,p){var _="0x"+u.slice(1)-65536;return p||(_<0?String.fromCharCode(_+65536):String.fromCharCode(_>>10|55296,1023&_|56320))},Ni=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Li=function(u,p){return p?"\0"===u?"\ufffd":u.slice(0,-1)+"\\"+u.charCodeAt(u.length-1).toString(16)+" ":"\\"+u},ji=function(){E()},Yi=_i(function(u){return!0===u.disabled&&"fieldset"===u.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Ee.apply(Pe=vt.call(M.childNodes),M.childNodes)}catch(u){Ee={apply:Pe.length?function(p,_){ot.apply(p,vt.call(_))}:function(p,_){for(var S=p.length,x=0;p[S++]=_[x++];);p.length=S-1}}}function ke(u,p,_,S){var x,L,I,W,$,Z,K,G=p&&p.ownerDocument,be=p?p.nodeType:9;if(_=_||[],"string"!=typeof u||!u||1!==be&&9!==be&&11!==be)return _;if(!S&&(E(p),p=p||A,n)){if(11!==be&&($=Xi.exec(u)))if(x=$[1]){if(9===be){if(!(I=p.getElementById(x)))return _;if(I.id===x)return _.push(I),_}else if(G&&(I=G.getElementById(x))&&C(p,I)&&I.id===x)return _.push(I),_}else{if($[2])return Ee.apply(_,p.getElementsByTagName(u)),_;if((x=$[3])&&i.getElementsByClassName&&p.getElementsByClassName)return Ee.apply(_,p.getElementsByClassName(x)),_}if(i.qsa&&!we[u+" "]&&(!s||!s.test(u))&&(1!==be||"object"!==p.nodeName.toLowerCase())){if(K=u,G=p,1===be&&(Bi.test(u)||mi.test(u))){for((G=Ai.test(u)&&ki(p.parentNode)||p)===p&&i.scope||((W=p.getAttribute("id"))?W=W.replace(Ni,Li):p.setAttribute("id",W=O)),L=(Z=c(u)).length;L--;)Z[L]=(W?"#"+W:":scope")+" "+bi(Z[L]);K=Z.join(",")}try{return Ee.apply(_,G.querySelectorAll(K)),_}catch(Be){we(u,!0)}finally{W===O&&p.removeAttribute("id")}}}return g(u.replace(Ut,"$1"),p,_,S)}function yi(){var u=[];return function p(_,S){return u.push(_+" ")>r.cacheLength&&delete p[u.shift()],p[_+" "]=S}}function dn(u){return u[O]=!0,u}function fn(u){var p=A.createElement("fieldset");try{return!!u(p)}catch(_){return!1}finally{p.parentNode&&p.parentNode.removeChild(p),p=null}}function Ci(u,p){for(var _=u.split("|"),S=_.length;S--;)r.attrHandle[_[S]]=p}function Pi(u,p){var _=p&&u,S=_&&1===u.nodeType&&1===p.nodeType&&u.sourceIndex-p.sourceIndex;if(S)return S;if(_)for(;_=_.nextSibling;)if(_===p)return-1;return u?1:-1}function Ki(u){return function(p){return"input"===p.nodeName.toLowerCase()&&p.type===u}}function Qi(u){return function(p){var _=p.nodeName.toLowerCase();return("input"===_||"button"===_)&&p.type===u}}function Ii(u){return function(p){return"form"in p?p.parentNode&&!1===p.disabled?"label"in p?"label"in p.parentNode?p.parentNode.disabled===u:p.disabled===u:p.isDisabled===u||p.isDisabled!==!u&&Yi(p)===u:p.disabled===u:"label"in p&&p.disabled===u}}function Zn(u){return dn(function(p){return p=+p,dn(function(_,S){for(var x,L=u([],_.length,p),I=L.length;I--;)_[x=L[I]]&&(_[x]=!(S[x]=_[x]))})})}function ki(u){return u&&void 0!==u.getElementsByTagName&&u}for(t in i=ke.support={},l=ke.isXML=function(u){var _=u&&(u.ownerDocument||u).documentElement;return!zi.test(u&&u.namespaceURI||_&&_.nodeName||"HTML")},E=ke.setDocument=function(u){var p,_,S=u?u.ownerDocument||u:M;return S!=A&&9===S.nodeType&&S.documentElement&&(d=(A=S).documentElement,n=!l(A),M!=A&&(_=A.defaultView)&&_.top!==_&&(_.addEventListener?_.addEventListener("unload",ji,!1):_.attachEvent&&_.attachEvent("onunload",ji)),i.scope=fn(function(x){return d.appendChild(x).appendChild(A.createElement("div")),void 0!==x.querySelectorAll&&!x.querySelectorAll(":scope fieldset div").length}),i.attributes=fn(function(x){return x.className="i",!x.getAttribute("className")}),i.getElementsByTagName=fn(function(x){return x.appendChild(A.createComment("")),!x.getElementsByTagName("*").length}),i.getElementsByClassName=hi.test(A.getElementsByClassName),i.getById=fn(function(x){return d.appendChild(x).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),i.getById?(r.filter.ID=function(x){var L=x.replace(Nn,Ln);return function(I){return I.getAttribute("id")===L}},r.find.ID=function(x,L){if(void 0!==L.getElementById&&n){var I=L.getElementById(x);return I?[I]:[]}}):(r.filter.ID=function(x){var L=x.replace(Nn,Ln);return function(I){var W=void 0!==I.getAttributeNode&&I.getAttributeNode("id");return W&&W.value===L}},r.find.ID=function(x,L){if(void 0!==L.getElementById&&n){var I,W,$,Z=L.getElementById(x);if(Z){if((I=Z.getAttributeNode("id"))&&I.value===x)return[Z];for($=L.getElementsByName(x),W=0;Z=$[W++];)if((I=Z.getAttributeNode("id"))&&I.value===x)return[Z]}return[]}}),r.find.TAG=i.getElementsByTagName?function(x,L){return void 0!==L.getElementsByTagName?L.getElementsByTagName(x):i.qsa?L.querySelectorAll(x):void 0}:function(x,L){var I,W=[],$=0,Z=L.getElementsByTagName(x);if("*"===x){for(;I=Z[$++];)1===I.nodeType&&W.push(I);return W}return Z},r.find.CLASS=i.getElementsByClassName&&function(x,L){if(void 0!==L.getElementsByClassName&&n)return L.getElementsByClassName(x)},f=[],s=[],(i.qsa=hi.test(A.querySelectorAll))&&(fn(function(x){var L;d.appendChild(x).innerHTML="",x.querySelectorAll("[msallowcapture^='']").length&&s.push("[*^$]="+te+"*(?:''|\"\")"),x.querySelectorAll("[selected]").length||s.push("\\["+te+"*(?:value|"+En+")"),x.querySelectorAll("[id~="+O+"-]").length||s.push("~="),(L=A.createElement("input")).setAttribute("name",""),x.appendChild(L),x.querySelectorAll("[name='']").length||s.push("\\["+te+"*name"+te+"*="+te+"*(?:''|\"\")"),x.querySelectorAll(":checked").length||s.push(":checked"),x.querySelectorAll("a#"+O+"+*").length||s.push(".#.+[+~]"),x.querySelectorAll("\\\f"),s.push("[\\r\\n\\f]")}),fn(function(x){x.innerHTML="";var L=A.createElement("input");L.setAttribute("type","hidden"),x.appendChild(L).setAttribute("name","D"),x.querySelectorAll("[name=d]").length&&s.push("name"+te+"*[*^$|!~]?="),2!==x.querySelectorAll(":enabled").length&&s.push(":enabled",":disabled"),d.appendChild(x).disabled=!0,2!==x.querySelectorAll(":disabled").length&&s.push(":enabled",":disabled"),x.querySelectorAll("*,:x"),s.push(",.*:")})),(i.matchesSelector=hi.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&fn(function(x){i.disconnectedMatch=y.call(x,"*"),y.call(x,"[s!='']:x"),f.push("!=",zt)}),s=s.length&&new RegExp(s.join("|")),f=f.length&&new RegExp(f.join("|")),p=hi.test(d.compareDocumentPosition),C=p||hi.test(d.contains)?function(x,L){var I=9===x.nodeType?x.documentElement:x,W=L&&L.parentNode;return x===W||!(!W||1!==W.nodeType||!(I.contains?I.contains(W):x.compareDocumentPosition&&16&x.compareDocumentPosition(W)))}:function(x,L){if(L)for(;L=L.parentNode;)if(L===x)return!0;return!1},ze=p?function(x,L){if(x===L)return D=!0,0;var I=!x.compareDocumentPosition-!L.compareDocumentPosition;return I||(1&(I=(x.ownerDocument||x)==(L.ownerDocument||L)?x.compareDocumentPosition(L):1)||!i.sortDetached&&L.compareDocumentPosition(x)===I?x==A||x.ownerDocument==M&&C(M,x)?-1:L==A||L.ownerDocument==M&&C(M,L)?1:T?Ft(T,x)-Ft(T,L):0:4&I?-1:1)}:function(x,L){if(x===L)return D=!0,0;var I,W=0,$=x.parentNode,Z=L.parentNode,K=[x],G=[L];if(!$||!Z)return x==A?-1:L==A?1:$?-1:Z?1:T?Ft(T,x)-Ft(T,L):0;if($===Z)return Pi(x,L);for(I=x;I=I.parentNode;)K.unshift(I);for(I=L;I=I.parentNode;)G.unshift(I);for(;K[W]===G[W];)W++;return W?Pi(K[W],G[W]):K[W]==M?-1:G[W]==M?1:0}),A},ke.matches=function(u,p){return ke(u,null,null,p)},ke.matchesSelector=function(u,p){if(E(u),i.matchesSelector&&n&&!we[p+" "]&&(!f||!f.test(p))&&(!s||!s.test(p)))try{var _=y.call(u,p);if(_||i.disconnectedMatch||u.document&&11!==u.document.nodeType)return _}catch(S){we(p,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(u){return u[1]=u[1].replace(Nn,Ln),u[3]=(u[3]||u[4]||u[5]||"").replace(Nn,Ln),"~="===u[2]&&(u[3]=" "+u[3]+" "),u.slice(0,4)},CHILD:function(u){return u[1]=u[1].toLowerCase(),"nth"===u[1].slice(0,3)?(u[3]||ke.error(u[0]),u[4]=+(u[4]?u[5]+(u[6]||1):2*("even"===u[3]||"odd"===u[3])),u[5]=+(u[7]+u[8]||"odd"===u[3])):u[3]&&ke.error(u[0]),u},PSEUDO:function(u){var p,_=!u[6]&&u[2];return vi.CHILD.test(u[0])?null:(u[3]?u[2]=u[4]||u[5]||"":_&&$i.test(_)&&(p=c(_,!0))&&(p=_.indexOf(")",_.length-p)-_.length)&&(u[0]=u[0].slice(0,p),u[2]=_.slice(0,p)),u.slice(0,3))}},filter:{TAG:function(u){var p=u.replace(Nn,Ln).toLowerCase();return"*"===u?function(){return!0}:function(_){return _.nodeName&&_.nodeName.toLowerCase()===p}},CLASS:function(u){var p=ee[u+" "];return p||(p=new RegExp("(^|"+te+")"+u+"("+te+"|$)"))&&ee(u,function(_){return p.test("string"==typeof _.className&&_.className||void 0!==_.getAttribute&&_.getAttribute("class")||"")})},ATTR:function(u,p,_){return function(S){var x=ke.attr(S,u);return null==x?"!="===p:!p||(x+="","="===p?x===_:"!="===p?x!==_:"^="===p?_&&0===x.indexOf(_):"*="===p?_&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Yt(e,t,i){return Y(t)?o.grep(e,function(r,a){return!!t.call(r,a,r)!==i}):t.nodeType?o.grep(e,function(r){return r===t!==i}):"string"!=typeof t?o.grep(e,function(r){return-1)[^>]*|#([\w-]+))$/;(o.fn.init=function(e,t,i){var r,a;if(!e)return this;if(i=i||on,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:$n.exec(e))||!r[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(r[1]){if(o.merge(this,o.parseHTML(r[1],(t=t instanceof o?t[0]:t)&&t.nodeType?t.ownerDocument||t:ie,!0)),gn.test(r[1])&&o.isPlainObject(t))for(r in t)Y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=ie.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):Y(e)?void 0!==i.ready?i.ready(e):e(o):o.makeArray(e,this)}).prototype=o.fn,on=o(ie);var mn=/^(?:parents|prev(?:Until|All))/,Fn={children:!0,contents:!0,next:!0,prev:!0};function jn(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}o.fn.extend({has:function(e){var t=o(e,this),i=t.length;return this.filter(function(){for(var r=0;r\x20\t\r\n\f]*)/i,In=/^$|^module$|\/(?:java|ecma)script/i;Zt=ie.createDocumentFragment().appendChild(ie.createElement("div")),(Lt=ie.createElement("input")).setAttribute("type","radio"),Lt.setAttribute("checked","checked"),Lt.setAttribute("name","t"),Zt.appendChild(Lt),ne.checkClone=Zt.cloneNode(!0).cloneNode(!0).lastChild.checked,Zt.innerHTML="",ne.noCloneChecked=!!Zt.cloneNode(!0).lastChild.defaultValue,Zt.innerHTML="",ne.option=!!Zt.lastChild;var nt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Re(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&Qe(e,t)?o.merge([e],i):i}function Wt(e,t){for(var i=0,r=e.length;i",""]);var Mn=/<|&#?\w+;/;function Hn(e,t,i,r,a){for(var l,c,h,g,b,T,D=t.createDocumentFragment(),E=[],A=0,d=e.length;A\s*$/g;function z(e,t){return Qe(e,"table")&&Qe(11!==t.nodeType?t:t.firstChild,"tr")&&o(e).children("tbody")[0]||e}function V(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function U(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ae(e,t){var i,r,a,l,c,h;if(1===t.nodeType){if(j.hasData(e)&&(h=j.get(e).events))for(a in j.remove(t,"handle events"),h)for(i=0,r=h[a].length;i").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(l){t.remove(),i=null,l&&a("error"===l.type?404:200,l.type)}),ie.head.appendChild(t[0])},abort:function(){i&&i()}}});var ci,ui=[],di=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ui.pop()||o.expando+"_"+rn.guid++;return this[e]=!0,e}}),o.ajaxPrefilter("json jsonp",function(e,t,i){var r,a,l,c=!1!==e.jsonp&&(di.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&di.test(e.data)&&"data");if(c||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=Y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,c?e[c]=e[c].replace(di,"$1"+r):!1!==e.jsonp&&(e.url+=(un.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return l||o.error(r+" was not called"),l[0]},e.dataTypes[0]="json",a=B[r],B[r]=function(){l=arguments},i.always(function(){void 0===a?o(B).removeProp(r):B[r]=a,e[r]&&(e.jsonpCallback=t.jsonpCallback,ui.push(r)),l&&Y(a)&&a(l[0]),l=a=void 0}),"script"}),ne.createHTMLDocument=((ci=ie.implementation.createHTMLDocument("").body).innerHTML="
",2===ci.childNodes.length),o.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(ne.createHTMLDocument?((r=(t=ie.implementation.createHTMLDocument("")).createElement("base")).href=ie.location.href,t.head.appendChild(r)):t=ie),l=!i&&[],(a=gn.exec(e))?[t.createElement(a[1])]:(a=Hn([e],t,l),l&&l.length&&o(l).remove(),o.merge([],a.childNodes)));var r,a,l},o.fn.load=function(e,t,i){var r,a,l,c=this,h=e.indexOf(" ");return-1").append(o.parseHTML(g)).find(r):g)}).always(i&&function(g,b){c.each(function(){i.apply(this,l||[g.responseText,b,g])})}),this},o.expr.pseudos.animated=function(e){return o.grep(o.timers,function(t){return e===t.elem}).length},o.offset={setOffset:function(e,t,i){var r,a,l,c,h,g,b=o.css(e,"position"),T=o(e),D={};"static"===b&&(e.style.position="relative"),h=T.offset(),l=o.css(e,"top"),g=o.css(e,"left"),("absolute"===b||"fixed"===b)&&-1<(l+g).indexOf("auto")?(c=(r=T.position()).top,a=r.left):(c=parseFloat(l)||0,a=parseFloat(g)||0),Y(t)&&(t=t.call(e,i,o.extend({},h))),null!=t.top&&(D.top=t.top-h.top+c),null!=t.left&&(D.left=t.left-h.left+a),"using"in t?t.using.call(e,D):T.css(D)}},o.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(a){o.offset.setOffset(this,e,a)});var t,i,r=this[0];return r?r.getClientRects().length?{top:(t=r.getBoundingClientRect()).top+(i=r.ownerDocument.defaultView).pageYOffset,left:t.left+i.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,r=this[0],a={top:0,left:0};if("fixed"===o.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),i=r.ownerDocument,e=r.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===o.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((a=o(e).offset()).top+=o.css(e,"borderTopWidth",!0),a.left+=o.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-o.css(r,"marginTop",!0),left:t.left-a.left-o.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===o.css(e,"position");)e=e.offsetParent;return e||qt})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i="pageYOffset"===t;o.fn[e]=function(r){return He(this,function(a,l,c){var h;if(wt(a)?h=a:9===a.nodeType&&(h=a.defaultView),void 0===c)return h?h[t]:a[l];h?h.scrollTo(i?h.pageXOffset:c,i?c:h.pageYOffset):a[l]=c},e,r,arguments.length)}}),o.each(["top","left"],function(e,t){o.cssHooks[t]=ye(ne.pixelPosition,function(i,r){if(r)return r=ce(i,t),ae.test(r)?o(i).position()[t]+"px":r})}),o.each({Height:"height",Width:"width"},function(e,t){o.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,r){o.fn[r]=function(a,l){var c=arguments.length&&(i||"boolean"!=typeof a),h=i||(!0===a||!0===l?"margin":"border");return He(this,function(g,b,T){var D;return wt(g)?0===r.indexOf("outer")?g["inner"+e]:g.document.documentElement["client"+e]:9===g.nodeType?(D=g.documentElement,Math.max(g.body["scroll"+e],D["scroll"+e],g.body["offset"+e],D["offset"+e],D["client"+e])):void 0===T?o.css(g,b,h):o.style(g,b,T,h)},t,c?a:void 0,c)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){o.fn[t]=function(i){return this.on(t,i)}}),o.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,r){return this.on(t,e,i,r)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),o.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){o.fn[t]=function(i,r){return 00&&(k=St(w.width)/P||1),H>0&&(q=St(w.height)/H||1)}return{width:w.width/k,height:w.height/q,top:w.top/q,right:w.right/k,bottom:w.bottom/q,left:w.left/k,x:w.left/k,y:w.top/q}}function _t(v){var m=de(v);return{scrollLeft:m.pageXOffset,scrollTop:m.pageYOffset}}function De(v){return v?(v.nodeName||"").toLowerCase():null}function lt(v){return((ve(v)?v.ownerDocument:v.document)||window.document).documentElement}function Ht(v){return Ke(lt(v)).left+_t(v).scrollLeft}function ne(v){return de(v).getComputedStyle(v)}function Y(v){var m=ne(v);return/auto|scroll|overlay|hidden/.test(m.overflow+m.overflowY+m.overflowX)}function wt(v,m,w){void 0===w&&(w=!1);var k,q,U,Ae,Q,re,H=Ye(m),P=Ye(m)&&(Ae=(U=m).getBoundingClientRect(),Q=St(Ae.width)/U.offsetWidth||1,re=St(Ae.height)/U.offsetHeight||1,1!==Q||1!==re),R=lt(m),F=Ke(v,P),z={scrollLeft:0,scrollTop:0},V={x:0,y:0};return(H||!H&&!w)&&(("body"!==De(m)||Y(R))&&(z=(k=m)!==de(k)&&Ye(k)?{scrollLeft:(q=k).scrollLeft,scrollTop:q.scrollTop}:_t(k)),Ye(m)?((V=Ke(m,!0)).x+=m.clientLeft,V.y+=m.clientTop):R&&(V.x=Ht(R))),{x:F.left+z.scrollLeft-V.x,y:F.top+z.scrollTop-V.y,width:F.width,height:F.height}}function ie(v){var m=Ke(v),w=v.offsetWidth,k=v.offsetHeight;return Math.abs(m.width-w)<=1&&(w=m.width),Math.abs(m.height-k)<=1&&(k=m.height),{x:v.offsetLeft,y:v.offsetTop,width:w,height:k}}function pn(v){return"html"===De(v)?v:v.assignedSlot||v.parentNode||(bt(v)?v.host:null)||lt(v)}function $e(v){return["html","body","#document"].indexOf(De(v))>=0?v.ownerDocument.body:Ye(v)&&Y(v)?v:$e(pn(v))}function Ne(v,m){var w;void 0===m&&(m=[]);var k=$e(v),q=k===(null==(w=v.ownerDocument)?void 0:w.body),H=de(k),P=q?[H].concat(H.visualViewport||[],Y(k)?k:[]):k,R=m.concat(P);return q?R:R.concat(Ne(pn(P)))}function Vt(v){return["table","td","th"].indexOf(De(v))>=0}function o(v){return Ye(v)&&"fixed"!==ne(v).position?v.offsetParent:null}function Xt(v){for(var m=de(v),w=o(v);w&&Vt(w)&&"static"===ne(w).position;)w=o(w);return w&&("html"===De(w)||"body"===De(w)&&"static"===ne(w).position)?m:w||function(k){var q=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ye(k)&&"fixed"===ne(k).position)return null;var H=pn(k);for(bt(H)&&(H=H.host);Ye(H)&&["html","body"].indexOf(De(H))<0;){var P=ne(H);if("none"!==P.transform||"none"!==P.perspective||"paint"===P.contain||-1!==["transform","perspective"].indexOf(P.willChange)||q&&"filter"===P.willChange||q&&P.filter&&"none"!==P.filter)return H;H=H.parentNode}return null}(v)||m}var Le="top",Ie="bottom",ct="right",Me="left",Qe="auto",gn=[Le,Ie,ct,Me],Yt="start",on="end",$n="viewport",mn="popper",Fn=gn.reduce(function(v,m){return v.concat([m+"-"+Yt,m+"-"+on])},[]),jn=[].concat(gn,[Qe]).reduce(function(v,m){return v.concat([m,m+"-"+Yt,m+"-"+on])},[]),xt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Kt(v){var m=new Map,w=new Set,k=[];function q(H){w.add(H.name),[].concat(H.requires||[],H.requiresIfExists||[]).forEach(function(P){if(!w.has(P)){var R=m.get(P);R&&q(R)}}),k.push(H)}return v.forEach(function(H){m.set(H.name,H)}),v.forEach(function(H){w.has(H.name)||q(H)}),k}function et(v){return v.split("-")[0]}function N(v,m){var w=m.getRootNode&&m.getRootNode();if(v.contains(m))return!0;if(w&&bt(w)){var k=m;do{if(k&&v.isSameNode(k))return!0;k=k.parentNode||k.host}while(k)}return!1}function Dt(v){return Object.assign({},v,{left:v.x,top:v.y,right:v.x+v.width,bottom:v.y+v.height})}function Qt(v,m){return m===$n?Dt((k=de(w=v),P=(q=lt(w)).clientWidth,R=q.clientHeight,F=0,z=0,(H=k.visualViewport)&&(P=H.width,R=H.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(F=H.offsetLeft,z=H.offsetTop)),{width:P,height:R,x:F+Ht(w),y:z})):ve(m)?function(w){var k=Ke(w);return k.top=k.top+w.clientTop,k.left=k.left+w.clientLeft,k.bottom=k.top+w.clientHeight,k.right=k.left+w.clientWidth,k.width=w.clientWidth,k.height=w.clientHeight,k.x=k.left,k.y=k.top,k}(m):Dt(function(w){var k,q=lt(w),H=_t(w),P=null==(k=w.ownerDocument)?void 0:k.body,R=kt(q.scrollWidth,q.clientWidth,P?P.scrollWidth:0,P?P.clientWidth:0),F=kt(q.scrollHeight,q.clientHeight,P?P.scrollHeight:0,P?P.clientHeight:0),z=-H.scrollLeft+Ht(w),V=-H.scrollTop;return"rtl"===ne(P||q).direction&&(z+=kt(q.clientWidth,P?P.clientWidth:0)-R),{width:R,height:F,x:z,y:V}}(lt(v)));var w,k,q,H,P,R,F,z}function He(v){return v.split("-")[1]}function sn(v){return["top","bottom"].indexOf(v)>=0?"x":"y"}function zn(v){var m,w=v.reference,k=v.element,q=v.placement,H=q?et(q):null,P=q?He(q):null,R=w.x+w.width/2-k.width/2,F=w.y+w.height/2-k.height/2;switch(H){case Le:m={x:R,y:w.y-k.height};break;case Ie:m={x:R,y:w.y+w.height};break;case ct:m={x:w.x+w.width,y:F};break;case Me:m={x:w.x-k.width,y:F};break;default:m={x:w.x,y:w.y}}var z=H?sn(H):null;if(null!=z){var V="y"===z?"height":"width";switch(P){case Yt:m[z]=m[z]-(w[V]/2-k[V]/2);break;case on:m[z]=m[z]+(w[V]/2-k[V]/2)}}return m}function vn(v){return Object.assign({},{top:0,right:0,bottom:0,left:0},v)}function ft(v,m){return m.reduce(function(w,k){return w[k]=v,w},{})}function ht(v,m){void 0===m&&(m={});var k=m.placement,q=void 0===k?v.placement:k,H=m.boundary,P=void 0===H?"clippingParents":H,R=m.rootBoundary,F=void 0===R?$n:R,z=m.elementContext,V=void 0===z?mn:z,U=m.altBoundary,Ae=void 0!==U&&U,Q=m.padding,re=void 0===Q?0:Q,ae=vn("number"!=typeof re?re:ft(re,gn)),he=v.rects.popper,xe=v.elements[Ae?V===mn?"reference":mn:V],ce=function tt(v,m,w){var R,F,z,k="clippingParents"===m?(F=Ne(pn(R=v)),ve(z=["absolute","fixed"].indexOf(ne(R).position)>=0&&Ye(R)?Xt(R):R)?F.filter(function(V){return ve(V)&&N(V,z)&&"body"!==De(V)}):[]):[].concat(m),q=[].concat(k,[w]),P=q.reduce(function(R,F){var z=Qt(v,F);return R.top=kt(z.top,R.top),R.right=at(z.right,R.right),R.bottom=at(z.bottom,R.bottom),R.left=kt(z.left,R.left),R},Qt(v,q[0]));return P.width=P.right-P.left,P.height=P.bottom-P.top,P.x=P.left,P.y=P.top,P}(ve(xe)?xe:xe.contextElement||lt(v.elements.popper),P,F),ye=Ke(v.elements.reference),le=zn({reference:ye,element:he,strategy:"absolute",placement:q}),ue=Dt(Object.assign({},he,le)),pe=V===mn?ue:ye,ge={top:ce.top-pe.top+ae.top,bottom:pe.bottom-ce.bottom+ae.bottom,left:ce.left-pe.left+ae.left,right:pe.right-ce.right+ae.right},_e=v.modifiersData.offset;if(V===mn&&_e){var je=_e[q];Object.keys(ge).forEach(function(Fe){var ut=[ct,Ie].indexOf(Fe)>=0?1:-1,Tt=[Le,Ie].indexOf(Fe)>=0?"y":"x";ge[Fe]+=je[Tt]*ut})}return ge}var Oe={placement:"bottom",modifiers:[],strategy:"absolute"};function j(){for(var v=arguments.length,m=new Array(v),w=0;w=0?-1:1,xe=(xe=(he="function"==typeof re?re(Object.assign({},Q,{placement:Ae})):re)[0])||0,ce=((ce=he[1])||0)*oe,[Me,ct].indexOf(ae)>=0?{x:ce,y:xe}:{x:xe,y:ce}),V;var Ae,Q,re,ae,oe,he,xe,ce},{}),R=P[m.placement],z=R.y;null!=m.modifiersData.popperOffsets&&(m.modifiersData.popperOffsets.x+=R.x,m.modifiersData.popperOffsets.y+=z),m.modifiersData[k]=P}},an={left:"right",right:"left",bottom:"top",top:"bottom"};function Nt(v){return v.replace(/left|right|bottom|top/g,function(m){return an[m]})}var Et={start:"end",end:"start"};function Pn(v){return v.replace(/start|end/g,function(m){return Et[m]})}var Zt={name:"flip",enabled:!0,phase:"main",fn:function(v){var m=v.state,w=v.options,k=v.name;if(!m.modifiersData[k]._skip){for(var q=w.mainAxis,H=void 0===q||q,P=w.altAxis,R=void 0===P||P,F=w.fallbackPlacements,z=w.padding,V=w.boundary,U=w.rootBoundary,Ae=w.altBoundary,Q=w.flipVariations,re=void 0===Q||Q,ae=w.allowedAutoPlacements,oe=m.options.placement,he=et(oe),xe=F||(he!==oe&&re?function(gt){if(et(gt)===Qe)return[];var mt=Nt(gt);return[Pn(gt),mt,Pn(mt)]}(oe):[Nt(oe)]),ce=[oe].concat(xe).reduce(function(gt,mt){return gt.concat(et(mt)===Qe?function ln(v,m){void 0===m&&(m={});var q=m.boundary,H=m.rootBoundary,P=m.padding,R=m.flipVariations,F=m.allowedAutoPlacements,z=void 0===F?jn:F,V=He(m.placement),U=V?R?Fn:Fn.filter(function(re){return He(re)===V}):gn,Ae=U.filter(function(re){return z.indexOf(re)>=0});0===Ae.length&&(Ae=U);var Q=Ae.reduce(function(re,ae){return re[ae]=ht(v,{placement:ae,boundary:q,rootBoundary:H,padding:P})[et(ae)],re},{});return Object.keys(Q).sort(function(re,ae){return Q[re]-Q[ae]})}(m,{placement:mt,boundary:V,rootBoundary:U,padding:z,flipVariations:re,allowedAutoPlacements:ae}):mt)},[]),ye=m.rects.reference,le=m.rects.popper,ue=new Map,pe=!0,ge=ce[0],_e=0;_e=0,jt=Tt?"width":"height",dt=ht(m,{placement:je,boundary:V,rootBoundary:U,altBoundary:Ae,padding:z}),Ce=Tt?ut?ct:Me:ut?Ie:Le;ye[jt]>le[jt]&&(Ce=Nt(Ce));var it=Nt(Ce),Pt=[];if(H&&Pt.push(dt[Fe]<=0),R&&Pt.push(dt[Ce]<=0,dt[it]<=0),Pt.every(function(gt){return gt})){ge=je,pe=!1;break}ue.set(je,Pt)}if(pe)for(var It=function(gt){var mt=ce.find(function(cn){var bn=ue.get(cn);if(bn)return bn.slice(0,gt).every(function(tn){return tn})});if(mt)return ge=mt,"break"},en=re?3:1;en>0&&"break"!==It(en);en--);m.placement!==ge&&(m.modifiersData[k]._skip=!0,m.placement=ge,m.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Lt(v,m,w){return kt(v,at(m,w))}var Rt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(v){var On,Gn,m=v.state,w=v.options,k=v.name,q=w.mainAxis,H=void 0===q||q,P=w.altAxis,R=void 0!==P&&P,Ae=w.tether,Q=void 0===Ae||Ae,re=w.tetherOffset,ae=void 0===re?0:re,oe=ht(m,{boundary:w.boundary,rootBoundary:w.rootBoundary,padding:w.padding,altBoundary:w.altBoundary}),he=et(m.placement),xe=He(m.placement),ce=!xe,ye=sn(he),le="x"===ye?"y":"x",ue=m.modifiersData.popperOffsets,pe=m.rects.reference,ge=m.rects.popper,_e="function"==typeof ae?ae(Object.assign({},m.rects,{placement:m.placement})):ae,je="number"==typeof _e?{mainAxis:_e,altAxis:_e}:Object.assign({mainAxis:0,altAxis:0},_e),Fe=m.modifiersData.offset?m.modifiersData.offset[m.placement]:null,ut={x:0,y:0};if(ue){if(H){var Tt,jt="y"===ye?Le:Me,dt="y"===ye?Ie:ct,Ce="y"===ye?"height":"width",it=ue[ye],Pt=it+oe[jt],It=it-oe[dt],en=Q?-ge[Ce]/2:0,gt=xe===Yt?pe[Ce]:ge[Ce],mt=xe===Yt?-ge[Ce]:-pe[Ce],cn=m.elements.arrow,bn=Q&&cn?ie(cn):{width:0,height:0},tn=m.modifiersData["arrow#persistent"]?m.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},qn=tn[jt],rt=tn[dt],At=Lt(0,pe[Ce],bn[Ce]),_n=ce?pe[Ce]/2-en-At-qn-je.mainAxis:gt-At-qn-je.mainAxis,ei=ce?-pe[Ce]/2+en+At+rt+je.mainAxis:mt+At+rt+je.mainAxis,Vn=m.elements.arrow&&Xt(m.elements.arrow),Bt=null!=(Tt=null==Fe?void 0:Fe[ye])?Tt:0,Rn=it+ei-Bt,$t=Lt(Q?at(Pt,it+_n-Bt-(Vn?"y"===ye?Vn.clientTop||0:Vn.clientLeft||0:0)):Pt,it,Q?kt(It,Rn):It);ue[ye]=$t,ut[ye]=$t-it}if(R){var Xn,rn=ue[le],un="y"===le?"height":"width",Yn=rn+oe["x"===ye?Le:Me],Kn=rn-oe["x"===ye?Ie:ct],Qn=-1!==[Le,Me].indexOf(he),ni=null!=(Xn=null==Fe?void 0:Fe[le])?Xn:0,Wn=Qn?Yn:rn-pe[un]-ge[un]-ni+je.altAxis,ii=Qn?rn+pe[un]+ge[un]-ni-je.altAxis:Kn,kn=Q&&Qn?(Gn=Lt(Wn,rn,On=ii))>On?On:Gn:Lt(Q?Wn:Yn,rn,Q?ii:Kn);ue[le]=kn,ut[le]=kn-rn}m.modifiersData[k]=ut}},requiresIfExists:["offset"]},yn={name:"arrow",enabled:!0,phase:"main",fn:function(v){var m,ge,_e,w=v.state,k=v.name,q=v.options,H=w.elements.arrow,P=w.modifiersData.popperOffsets,R=et(w.placement),F=sn(R),z=[Me,ct].indexOf(R)>=0?"height":"width";if(H&&P){var V=(_e=w,vn("number"!=typeof(ge="function"==typeof(ge=q.padding)?ge(Object.assign({},_e.rects,{placement:_e.placement})):ge)?ge:ft(ge,gn))),U=ie(H),Ae="y"===F?Le:Me,Q="y"===F?Ie:ct,re=w.rects.reference[z]+w.rects.reference[F]-P[F]-w.rects.popper[z],ae=P[F]-w.rects.reference[F],oe=Xt(H),he=oe?"y"===F?oe.clientHeight||0:oe.clientWidth||0:0,le=he/2-U[z]/2+(re/2-ae/2),ue=Lt(V[Ae],le,he-U[z]-V[Q]);w.modifiersData[k]=((m={})[F]=ue,m.centerOffset=ue-le,m)}},effect:function(v){var m=v.state,w=v.options.element,k=void 0===w?"[data-popper-arrow]":w;null!=k&&("string"!=typeof k||(k=m.elements.popper.querySelector(k)))&&N(m.elements.popper,k)&&(m.elements.arrow=k)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function In(v,m,w){return void 0===w&&(w={x:0,y:0}),{top:v.top-m.height-w.y,right:v.right-m.width+w.x,bottom:v.bottom-m.height+w.y,left:v.left-m.width-w.x}}function nt(v){return[Le,ct,Ie,Me].some(function(m){return v[m]>=0})}var Re={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(v){var m=v.state,w=v.name,k=m.rects.reference,q=m.rects.popper,H=m.modifiersData.preventOverflow,P=ht(m,{elementContext:"reference"}),R=ht(m,{altBoundary:!0}),F=In(P,k),z=In(R,q,H),V=nt(F),U=nt(z);m.modifiersData[w]={referenceClippingOffsets:F,popperEscapeOffsets:z,isReferenceHidden:V,hasPopperEscaped:U},m.attributes.popper=Object.assign({},m.attributes.popper,{"data-popper-reference-hidden":V,"data-popper-escaped":U})}},Wt=qe({defaultModifiers:[Un,Ot,Ge,qt]}),Mn=[Un,Ot,Ge,qt,Jt,Zt,Rt,yn,Re],Hn=qe({defaultModifiers:Mn});B.applyStyles=qt,B.arrow=yn,B.computeStyles=Ge,B.createPopper=Hn,B.createPopperLite=Wt,B.defaultModifiers=Mn,B.detectOverflow=ht,B.eventListeners=Un,B.flip=Zt,B.hide=Re,B.offset=Jt,B.popperGenerator=qe,B.popperOffsets=Ot,B.preventOverflow=Rt,Object.defineProperty(B,"__esModule",{value:!0})}),function(B,de){"object"==typeof exports&&"undefined"!=typeof module?module.exports=de(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],de):(B="undefined"!=typeof globalThis?globalThis:B||self).bootstrap=de(B.Popper)}(this,function(B){"use strict";const ve=function de(d){if(d&&d.__esModule)return d;const n=Object.create(null);if(d)for(const s in d)if("default"!==s){const f=Object.getOwnPropertyDescriptor(d,s);Object.defineProperty(n,s,f.get?f:{enumerable:!0,get:()=>d[s]})}return n.default=d,Object.freeze(n)}(B),Ye="transitionend",bt=d=>{let n=d.getAttribute("data-bs-target");if(!n||"#"===n){let s=d.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),n=s&&"#"!==s?s.trim():null}return n},kt=d=>{const n=bt(d);return n&&document.querySelector(n)?n:null},at=d=>{const n=bt(d);return n?document.querySelector(n):null},St=d=>{d.dispatchEvent(new Event(Ye))},Ke=d=>!(!d||"object"!=typeof d)&&(void 0!==d.jquery&&(d=d[0]),void 0!==d.nodeType),_t=d=>Ke(d)?d.jquery?d[0]:d:"string"==typeof d&&d.length>0?document.querySelector(d):null,De=(d,n,s)=>{Object.keys(s).forEach(f=>{const y=s[f],C=n[f],O=C&&Ke(C)?"element":null==(M=C)?`${M}`:{}.toString.call(M).match(/\s([a-z]+)/i)[1].toLowerCase();var M;if(!new RegExp(y).test(O))throw new TypeError(`${d.toUpperCase()}: Option "${f}" provided type "${O}" but expected type "${y}".`)})},lt=d=>!(!Ke(d)||0===d.getClientRects().length)&&"visible"===getComputedStyle(d).getPropertyValue("visibility"),Ht=d=>!d||d.nodeType!==Node.ELEMENT_NODE||!!d.classList.contains("disabled")||(void 0!==d.disabled?d.disabled:d.hasAttribute("disabled")&&"false"!==d.getAttribute("disabled")),ne=d=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof d.getRootNode){const n=d.getRootNode();return n instanceof ShadowRoot?n:null}return d instanceof ShadowRoot?d:d.parentNode?ne(d.parentNode):null},Y=()=>{},ie=()=>{const{jQuery:d}=window;return d&&!document.body.hasAttribute("data-bs-no-jquery")?d:null},pn=[],$e=()=>"rtl"===document.documentElement.dir,Ne=d=>{var n;n=()=>{const s=ie();if(s){const f=d.NAME,y=s.fn[f];s.fn[f]=d.jQueryInterface,s.fn[f].Constructor=d,s.fn[f].noConflict=()=>(s.fn[f]=y,d.jQueryInterface)}},"loading"===document.readyState?(pn.length||document.addEventListener("DOMContentLoaded",()=>{pn.forEach(s=>s())}),pn.push(n)):n()},Vt=d=>{"function"==typeof d&&d()},o=(d,n,s=!0)=>{if(!s)return void Vt(d);const f=(O=>{if(!O)return 0;let{transitionDuration:M,transitionDelay:J}=window.getComputedStyle(O);const X=Number.parseFloat(M),ee=Number.parseFloat(J);return X||ee?(M=M.split(",")[0],J=J.split(",")[0],1e3*(Number.parseFloat(M)+Number.parseFloat(J))):0})(n)+5;let y=!1;const C=({target:O})=>{O===n&&(y=!0,n.removeEventListener(Ye,C),Vt(d))};n.addEventListener(Ye,C),setTimeout(()=>{y||St(n)},f)},Xt=(d,n,s,f)=>{let y=d.indexOf(n);if(-1===y)return d[!s&&f?d.length-1:0];const C=d.length;return y+=s?1:-1,f&&(y=(y+C)%C),d[Math.max(0,Math.min(y,C-1))]},Le=/[^.]*(?=\..*)\.|.*/,Ie=/\..*/,ct=/::\d+$/,Me={};let Qe=1;const gn={mouseenter:"mouseover",mouseleave:"mouseout"},Yt=/^(mouseenter|mouseleave)/i,on=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 $n(d,n){return n&&`${n}::${Qe++}`||d.uidEvent||Qe++}function mn(d){const n=$n(d);return d.uidEvent=n,Me[n]=Me[n]||{},Me[n]}function Fn(d,n,s=null){const f=Object.keys(d);for(let y=0,C=f.length;yfunction(Ue){if(!Ue.relatedTarget||Ue.relatedTarget!==Ue.delegateTarget&&!Ue.delegateTarget.contains(Ue.relatedTarget))return ze.call(this,Ue)};f?f=we(f):s=we(s)}const[C,O,M]=jn(n,s,f),J=mn(d),X=J[M]||(J[M]={}),ee=Fn(X,O,C?s:null);if(ee)return void(ee.oneOff=ee.oneOff&&y);const me=$n(O,n.replace(Le,"")),We=C?(we=d,ze=s,Ue=f,function Pe(Mt){const ot=we.querySelectorAll(ze);for(let{target:Ee}=Mt;Ee&&Ee!==this;Ee=Ee.parentNode)for(let vt=ot.length;vt--;)if(ot[vt]===Ee)return Mt.delegateTarget=Ee,Pe.oneOff&&N.off(we,Mt.type,ze,Ue),Ue.apply(Ee,[Mt]);return null}):function(we,ze){return function Ue(Pe){return Pe.delegateTarget=we,Ue.oneOff&&N.off(we,Pe.type,ze),ze.apply(we,[Pe])}}(d,s);var we,ze,Ue;We.delegationSelector=C?s:null,We.originalHandler=O,We.oneOff=y,We.uidEvent=me,X[me]=We,d.addEventListener(M,We,C)}function Kt(d,n,s,f,y){const C=Fn(n[s],f,y);C&&(d.removeEventListener(s,C,Boolean(y)),delete n[s][C.uidEvent])}function et(d){return d=d.replace(Ie,""),gn[d]||d}const N={on(d,n,s,f){xt(d,n,s,f,!1)},one(d,n,s,f){xt(d,n,s,f,!0)},off(d,n,s,f){if("string"!=typeof n||!d)return;const[y,C,O]=jn(n,s,f),M=O!==n,J=mn(d),X=n.startsWith(".");if(void 0!==C)return J&&J[O]?void Kt(d,J,O,C,y?s:null):void 0;X&&Object.keys(J).forEach(me=>{!function(We,we,ze,Ue){const Pe=we[ze]||{};Object.keys(Pe).forEach(Mt=>{if(Mt.includes(Ue)){const ot=Pe[Mt];Kt(We,we,ze,ot.originalHandler,ot.delegationSelector)}})}(d,J,me,n.slice(1))});const ee=J[O]||{};Object.keys(ee).forEach(me=>{const We=me.replace(ct,"");if(!M||n.includes(We)){const we=ee[me];Kt(d,J,O,we.originalHandler,we.delegationSelector)}})},trigger(d,n,s){if("string"!=typeof n||!d)return null;const f=ie(),y=et(n),C=n!==y,O=on.has(y);let M,J=!0,X=!0,ee=!1,me=null;return C&&f&&(M=f.Event(n,s),f(d).trigger(M),J=!M.isPropagationStopped(),X=!M.isImmediatePropagationStopped(),ee=M.isDefaultPrevented()),O?(me=document.createEvent("HTMLEvents"),me.initEvent(y,J,!0)):me=new CustomEvent(n,{bubbles:J,cancelable:!0}),void 0!==s&&Object.keys(s).forEach(We=>{Object.defineProperty(me,We,{get:()=>s[We]})}),ee&&me.preventDefault(),X&&d.dispatchEvent(me),me.defaultPrevented&&void 0!==M&&M.preventDefault(),me}},Dt=new Map,Qt={set(d,n,s){Dt.has(d)||Dt.set(d,new Map);const f=Dt.get(d);f.has(n)||0===f.size?f.set(n,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(f.keys())[0]}.`)},get:(d,n)=>Dt.has(d)&&Dt.get(d).get(n)||null,remove(d,n){if(!Dt.has(d))return;const s=Dt.get(d);s.delete(n),0===s.size&&Dt.delete(d)}};class tt{constructor(n){(n=_t(n))&&(this._element=n,Qt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Qt.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(n=>{this[n]=null})}_queueCallback(n,s,f=!0){o(n,s,f)}static getInstance(n){return Qt.get(_t(n),this.DATA_KEY)}static getOrCreateInstance(n,s={}){return this.getInstance(n)||new this(n,"object"==typeof s?s:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const He=(d,n="hide")=>{const f=d.NAME;N.on(document,`click.dismiss${d.EVENT_KEY}`,`[data-bs-dismiss="${f}"]`,function(y){if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),Ht(this))return;const C=at(this)||this.closest(`.${f}`);d.getOrCreateInstance(C)[n]()})};class sn extends tt{static get NAME(){return"alert"}close(){if(N.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const n=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),N.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(n){return this.each(function(){const s=sn.getOrCreateInstance(this);if("string"==typeof n){if(void 0===s[n]||n.startsWith("_")||"constructor"===n)throw new TypeError(`No method named "${n}"`);s[n](this)}})}}He(sn,"close"),Ne(sn);const zn='[data-bs-toggle="button"]';class vn extends tt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(n){return this.each(function(){const s=vn.getOrCreateInstance(this);"toggle"===n&&s[n]()})}}function ft(d){return"true"===d||"false"!==d&&(d===Number(d).toString()?Number(d):""===d||"null"===d?null:d)}function ht(d){return d.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}N.on(document,"click.bs.button.data-api",zn,d=>{d.preventDefault();const n=d.target.closest(zn);vn.getOrCreateInstance(n).toggle()}),Ne(vn);const Oe={setDataAttribute(d,n,s){d.setAttribute(`data-bs-${ht(n)}`,s)},removeDataAttribute(d,n){d.removeAttribute(`data-bs-${ht(n)}`)},getDataAttributes(d){if(!d)return{};const n={};return Object.keys(d.dataset).filter(s=>s.startsWith("bs")).forEach(s=>{let f=s.replace(/^bs/,"");f=f.charAt(0).toLowerCase()+f.slice(1,f.length),n[f]=ft(d.dataset[s])}),n},getDataAttribute:(d,n)=>ft(d.getAttribute(`data-bs-${ht(n)}`)),offset(d){const n=d.getBoundingClientRect();return{top:n.top+window.pageYOffset,left:n.left+window.pageXOffset}},position:d=>({top:d.offsetTop,left:d.offsetLeft})},j={find:(d,n=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(n,d)),findOne:(d,n=document.documentElement)=>Element.prototype.querySelector.call(n,d),children:(d,n)=>[].concat(...d.children).filter(s=>s.matches(n)),parents(d,n){const s=[];let f=d.parentNode;for(;f&&f.nodeType===Node.ELEMENT_NODE&&3!==f.nodeType;)f.matches(n)&&s.push(f),f=f.parentNode;return s},prev(d,n){let s=d.previousElementSibling;for(;s;){if(s.matches(n))return[s];s=s.previousElementSibling}return[]},next(d,n){let s=d.nextElementSibling;for(;s;){if(s.matches(n))return[s];s=s.nextElementSibling}return[]},focusableChildren(d){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(s=>`${s}:not([tabindex^="-"])`).join(", ");return this.find(n,d).filter(s=>!Ht(s)&<(s))}},qe="carousel",An={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Un={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Ot="next",Gt="prev",pt="left",Ge="right",qt={ArrowLeft:Ge,ArrowRight:pt},Jt="slid.bs.carousel",an="active",Nt=".active.carousel-item";class Et extends tt{constructor(n,s){super(n),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(s),this._indicatorsElement=j.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return An}static get NAME(){return qe}next(){this._slide(Ot)}nextWhenVisible(){!document.hidden&<(this._element)&&this.next()}prev(){this._slide(Gt)}pause(n){n||(this._isPaused=!0),j.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(St(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(n){n||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(n){this._activeElement=j.findOne(Nt,this._element);const s=this._getItemIndex(this._activeElement);if(!(n>this._items.length-1||n<0)){if(!this._isSliding)return s===n?(this.pause(),void this.cycle()):void this._slide(n>s?Ot:Gt,this._items[n]);N.one(this._element,Jt,()=>this.to(n))}}_getConfig(n){return n=fe(fe(fe({},An),Oe.getDataAttributes(this._element)),"object"==typeof n?n:{}),De(qe,n,Un),n}_handleSwipe(){const n=Math.abs(this.touchDeltaX);if(n<=40)return;const s=n/this.touchDeltaX;this.touchDeltaX=0,s&&this._slide(s>0?Ge:pt)}_addEventListeners(){this._config.keyboard&&N.on(this._element,"keydown.bs.carousel",n=>this._keydown(n)),"hover"===this._config.pause&&(N.on(this._element,"mouseenter.bs.carousel",n=>this.pause(n)),N.on(this._element,"mouseleave.bs.carousel",n=>this.cycle(n))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const n=C=>this._pointerEvent&&("pen"===C.pointerType||"touch"===C.pointerType),s=C=>{n(C)?this.touchStartX=C.clientX:this._pointerEvent||(this.touchStartX=C.touches[0].clientX)},f=C=>{this.touchDeltaX=C.touches&&C.touches.length>1?0:C.touches[0].clientX-this.touchStartX},y=C=>{n(C)&&(this.touchDeltaX=C.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(O=>this.cycle(O),500+this._config.interval))};j.find(".carousel-item img",this._element).forEach(C=>{N.on(C,"dragstart.bs.carousel",O=>O.preventDefault())}),this._pointerEvent?(N.on(this._element,"pointerdown.bs.carousel",C=>s(C)),N.on(this._element,"pointerup.bs.carousel",C=>y(C)),this._element.classList.add("pointer-event")):(N.on(this._element,"touchstart.bs.carousel",C=>s(C)),N.on(this._element,"touchmove.bs.carousel",C=>f(C)),N.on(this._element,"touchend.bs.carousel",C=>y(C)))}_keydown(n){if(/input|textarea/i.test(n.target.tagName))return;const s=qt[n.key];s&&(n.preventDefault(),this._slide(s))}_getItemIndex(n){return this._items=n&&n.parentNode?j.find(".carousel-item",n.parentNode):[],this._items.indexOf(n)}_getItemByOrder(n,s){return Xt(this._items,s,n===Ot,this._config.wrap)}_triggerSlideEvent(n,s){const f=this._getItemIndex(n),y=this._getItemIndex(j.findOne(Nt,this._element));return N.trigger(this._element,"slide.bs.carousel",{relatedTarget:n,direction:s,from:y,to:f})}_setActiveIndicatorElement(n){if(this._indicatorsElement){const s=j.findOne(".active",this._indicatorsElement);s.classList.remove(an),s.removeAttribute("aria-current");const f=j.find("[data-bs-target]",this._indicatorsElement);for(let y=0;y{N.trigger(this._element,Jt,{relatedTarget:O,direction:We,from:C,to:M})};this._element.classList.contains("slide")?(O.classList.add(me),y.classList.add(ee),O.classList.add(ee),this._queueCallback(()=>{O.classList.remove(ee,me),O.classList.add(an),y.classList.remove(an,me,ee),this._isSliding=!1,setTimeout(we,0)},y,!0)):(y.classList.remove(an),O.classList.add(an),this._isSliding=!1,we()),J&&this.cycle()}_directionToOrder(n){return[Ge,pt].includes(n)?$e()?n===pt?Gt:Ot:n===pt?Ot:Gt:n}_orderToDirection(n){return[Ot,Gt].includes(n)?$e()?n===Gt?pt:Ge:n===Gt?Ge:pt:n}static carouselInterface(n,s){const f=Et.getOrCreateInstance(n,s);let{_config:y}=f;"object"==typeof s&&(y=fe(fe({},y),s));const C="string"==typeof s?s:y.slide;if("number"==typeof s)f.to(s);else if("string"==typeof C){if(void 0===f[C])throw new TypeError(`No method named "${C}"`);f[C]()}else y.interval&&y.ride&&(f.pause(),f.cycle())}static jQueryInterface(n){return this.each(function(){Et.carouselInterface(this,n)})}static dataApiClickHandler(n){const s=at(this);if(!s||!s.classList.contains("carousel"))return;const f=fe(fe({},Oe.getDataAttributes(s)),Oe.getDataAttributes(this)),y=this.getAttribute("data-bs-slide-to");y&&(f.interval=!1),Et.carouselInterface(s,f),y&&Et.getInstance(s).to(y),n.preventDefault()}}N.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Et.dataApiClickHandler),N.on(window,"load.bs.carousel.data-api",()=>{const d=j.find('[data-bs-ride="carousel"]');for(let n=0,s=d.length;nX===this._element);null!==M&&J.length&&(this._selector=M,this._triggerArray.push(O))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ln}static get NAME(){return Pn}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let n,s=[];if(this._config.parent){const O=j.find(nt,this._config.parent);s=j.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(M=>!O.includes(M))}const f=j.findOne(this._selector);if(s.length){const O=s.find(M=>f!==M);if(n=O?Wt.getInstance(O):null,n&&n._isTransitioning)return}if(N.trigger(this._element,"show.bs.collapse").defaultPrevented)return;s.forEach(O=>{f!==O&&Wt.getOrCreateInstance(O,{toggle:!1}).hide(),n||Qt.set(O,"bs.collapse",null)});const y=this._getDimension();this._element.classList.remove(Rt),this._element.classList.add(yn),this._element.style[y]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const C=`scroll${y[0].toUpperCase()+y.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(yn),this._element.classList.add(Rt,Lt),this._element.style[y]="",N.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[y]=`${this._element[C]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,this._element.classList.add(yn),this._element.classList.remove(Rt,Lt);const s=this._triggerArray.length;for(let f=0;f{this._isTransitioning=!1,this._element.classList.remove(yn),this._element.classList.add(Rt),N.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(n=this._element){return n.classList.contains(Lt)}_getConfig(n){return(n=fe(fe(fe({},ln),Oe.getDataAttributes(this._element)),n)).toggle=Boolean(n.toggle),n.parent=_t(n.parent),De(Pn,n,Zt),n}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const n=j.find(nt,this._config.parent);j.find(Re,this._config.parent).filter(s=>!n.includes(s)).forEach(s=>{const f=at(s);f&&this._addAriaAndCollapsedClass([s],this._isShown(f))})}_addAriaAndCollapsedClass(n,s){n.length&&n.forEach(f=>{s?f.classList.remove(In):f.classList.add(In),f.setAttribute("aria-expanded",s)})}static jQueryInterface(n){return this.each(function(){const s={};"string"==typeof n&&/show|hide/.test(n)&&(s.toggle=!1);const f=Wt.getOrCreateInstance(this,s);if("string"==typeof n){if(void 0===f[n])throw new TypeError(`No method named "${n}"`);f[n]()}})}}N.on(document,"click.bs.collapse.data-api",Re,function(d){("A"===d.target.tagName||d.delegateTarget&&"A"===d.delegateTarget.tagName)&&d.preventDefault();const n=kt(this);j.find(n).forEach(s=>{Wt.getOrCreateInstance(s,{toggle:!1}).toggle()})}),Ne(Wt);const Mn="dropdown",Hn="Escape",v="Space",m="ArrowUp",w="ArrowDown",k=new RegExp("ArrowUp|ArrowDown|Escape"),q="click.bs.dropdown.data-api",H="keydown.bs.dropdown.data-api",P="show",R='[data-bs-toggle="dropdown"]',F=".dropdown-menu",z=$e()?"top-end":"top-start",V=$e()?"top-start":"top-end",U=$e()?"bottom-end":"bottom-start",Ae=$e()?"bottom-start":"bottom-end",Q=$e()?"left-start":"right-start",re=$e()?"right-start":"left-start",ae={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},oe={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class he extends tt{constructor(n,s){super(n),this._popper=null,this._config=this._getConfig(s),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return ae}static get DefaultType(){return oe}static get NAME(){return Mn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ht(this._element)||this._isShown(this._menu))return;const n={relatedTarget:this._element};if(N.trigger(this._element,"show.bs.dropdown",n).defaultPrevented)return;const s=he.getParentFromElement(this._element);this._inNavbar?Oe.setDataAttribute(this._menu,"popper","none"):this._createPopper(s),"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(f=>N.on(f,"mouseover",Y)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(P),this._element.classList.add(P),N.trigger(this._element,"shown.bs.dropdown",n)}hide(){!Ht(this._element)&&this._isShown(this._menu)&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(n){N.trigger(this._element,"hide.bs.dropdown",n).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(s=>N.off(s,"mouseover",Y)),this._popper&&this._popper.destroy(),this._menu.classList.remove(P),this._element.classList.remove(P),this._element.setAttribute("aria-expanded","false"),Oe.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,"hidden.bs.dropdown",n))}_getConfig(n){if(n=fe(fe(fe({},this.constructor.Default),Oe.getDataAttributes(this._element)),n),De(Mn,n,this.constructor.DefaultType),"object"==typeof n.reference&&!Ke(n.reference)&&"function"!=typeof n.reference.getBoundingClientRect)throw new TypeError(`${Mn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return n}_createPopper(n){if(void 0===ve)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let s=this._element;"parent"===this._config.reference?s=n:Ke(this._config.reference)?s=_t(this._config.reference):"object"==typeof this._config.reference&&(s=this._config.reference);const f=this._getPopperConfig(),y=f.modifiers.find(C=>"applyStyles"===C.name&&!1===C.enabled);this._popper=ve.createPopper(s,this._menu,f),y&&Oe.setDataAttribute(this._menu,"popper","static")}_isShown(n=this._element){return n.classList.contains(P)}_getMenuElement(){return j.next(this._element,F)[0]}_getPlacement(){const n=this._element.parentNode;if(n.classList.contains("dropend"))return Q;if(n.classList.contains("dropstart"))return re;const s="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return n.classList.contains("dropup")?s?V:z:s?Ae:U}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:n}=this._config;return"string"==typeof n?n.split(",").map(s=>Number.parseInt(s,10)):"function"==typeof n?s=>n(s,this._element):n}_getPopperConfig(){const n={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(n.modifiers=[{name:"applyStyles",enabled:!1}]),fe(fe({},n),"function"==typeof this._config.popperConfig?this._config.popperConfig(n):this._config.popperConfig)}_selectMenuItem({key:n,target:s}){const f=j.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(lt);f.length&&Xt(f,s,n===w,!f.includes(s)).focus()}static jQueryInterface(n){return this.each(function(){const s=he.getOrCreateInstance(this,n);if("string"==typeof n){if(void 0===s[n])throw new TypeError(`No method named "${n}"`);s[n]()}})}static clearMenus(n){if(n&&(2===n.button||"keyup"===n.type&&"Tab"!==n.key))return;const s=j.find(R);for(let f=0,y=s.length;fs+n),this._setElementAttributes(xe,"paddingRight",s=>s+n),this._setElementAttributes(ce,"marginRight",s=>s-n)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(n,s,f){const y=this.getWidth();this._applyManipulationCallback(n,C=>{if(C!==this._element&&window.innerWidth>C.clientWidth+y)return;this._saveInitialAttribute(C,s);const O=window.getComputedStyle(C)[s];C.style[s]=`${f(Number.parseFloat(O))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(xe,"paddingRight"),this._resetElementAttributes(ce,"marginRight")}_saveInitialAttribute(n,s){const f=n.style[s];f&&Oe.setDataAttribute(n,s,f)}_resetElementAttributes(n,s){this._applyManipulationCallback(n,f=>{const y=Oe.getDataAttribute(f,s);void 0===y?f.style.removeProperty(s):(Oe.removeDataAttribute(f,s),f.style[s]=y)})}_applyManipulationCallback(n,s){Ke(n)?s(n):j.find(n,this._element).forEach(s)}isOverflowing(){return this.getWidth()>0}}const le={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},ue={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},ge="mousedown.bs.backdrop";class _e{constructor(n){this._config=this._getConfig(n),this._isAppended=!1,this._element=null}show(n){this._config.isVisible?(this._append(),this._config.isAnimated&&this._getElement(),this._getElement().classList.add("show"),this._emulateAnimation(()=>{Vt(n)})):Vt(n)}hide(n){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),Vt(n)})):Vt(n)}_getElement(){if(!this._element){const n=document.createElement("div");n.className=this._config.className,this._config.isAnimated&&n.classList.add("fade"),this._element=n}return this._element}_getConfig(n){return(n=fe(fe({},le),"object"==typeof n?n:{})).rootElement=_t(n.rootElement),De("backdrop",n,ue),n}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),N.on(this._getElement(),ge,()=>{Vt(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(N.off(this._element,ge),this._element.remove(),this._isAppended=!1)}_emulateAnimation(n){o(n,this._getElement(),this._config.isAnimated)}}const je={trapElement:null,autofocus:!0},Fe={trapElement:"element",autofocus:"boolean"},ut=".bs.focustrap",Tt="backward";class jt{constructor(n){this._config=this._getConfig(n),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:n,autofocus:s}=this._config;this._isActive||(s&&n.focus(),N.off(document,ut),N.on(document,"focusin.bs.focustrap",f=>this._handleFocusin(f)),N.on(document,"keydown.tab.bs.focustrap",f=>this._handleKeydown(f)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,ut))}_handleFocusin(n){const{target:s}=n,{trapElement:f}=this._config;if(s===document||s===f||f.contains(s))return;const y=j.focusableChildren(f);0===y.length?f.focus():this._lastTabNavDirection===Tt?y[y.length-1].focus():y[0].focus()}_handleKeydown(n){"Tab"===n.key&&(this._lastTabNavDirection=n.shiftKey?Tt:"forward")}_getConfig(n){return n=fe(fe({},je),"object"==typeof n?n:{}),De("focustrap",n,Fe),n}}const it={backdrop:!0,keyboard:!0,focus:!0},Pt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},It="hidden.bs.modal",en="show.bs.modal",gt="resize.bs.modal",mt="click.dismiss.bs.modal",cn="keydown.dismiss.bs.modal",bn="mousedown.dismiss.bs.modal",tn="modal-open",rt="modal-static";class At extends tt{constructor(n,s){super(n),this._config=this._getConfig(s),this._dialog=j.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new ye}static get Default(){return it}static get NAME(){return"modal"}toggle(n){return this._isShown?this.hide():this.show(n)}show(n){this._isShown||this._isTransitioning||N.trigger(this._element,en,{relatedTarget:n}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(tn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),N.on(this._dialog,bn,()=>{N.one(this._element,"mouseup.dismiss.bs.modal",s=>{s.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(n)))}hide(){if(!this._isShown||this._isTransitioning||N.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const n=this._isAnimated();n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),N.off(this._element,mt),N.off(this._dialog,bn),this._queueCallback(()=>this._hideModal(),this._element,n)}dispose(){[window,this._dialog].forEach(n=>N.off(n,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new _e({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new jt({trapElement:this._element})}_getConfig(n){return n=fe(fe(fe({},it),Oe.getDataAttributes(this._element)),"object"==typeof n?n:{}),De("modal",n,Pt),n}_showElement(n){const s=this._isAnimated(),f=j.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,f&&(f.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,"shown.bs.modal",{relatedTarget:n})},this._dialog,s)}_setEscapeEvent(){this._isShown?N.on(this._element,cn,n=>{this._config.keyboard&&"Escape"===n.key?(n.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==n.key||this._triggerBackdropTransition()}):N.off(this._element,cn)}_setResizeEvent(){this._isShown?N.on(window,gt,()=>this._adjustDialog()):N.off(window,gt)}_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(tn),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,It)})}_showBackdrop(n){N.on(this._element,mt,s=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:s.target===s.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(n)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:n,scrollHeight:s,style:f}=this._element,y=s>document.documentElement.clientHeight;!y&&"hidden"===f.overflowY||n.contains(rt)||(y||(f.overflowY="hidden"),n.add(rt),this._queueCallback(()=>{n.remove(rt),y||this._queueCallback(()=>{f.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._scrollBar.getWidth(),f=s>0;(!f&&n&&!$e()||f&&!n&&$e())&&(this._element.style.paddingLeft=`${s}px`),(f&&!n&&!$e()||!f&&n&&$e())&&(this._element.style.paddingRight=`${s}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(n,s){return this.each(function(){const f=At.getOrCreateInstance(this,n);if("string"==typeof n){if(void 0===f[n])throw new TypeError(`No method named "${n}"`);f[n](s)}})}}N.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(d){const n=at(this);["A","AREA"].includes(this.tagName)&&d.preventDefault(),N.one(n,en,f=>{f.defaultPrevented||N.one(n,It,()=>{lt(this)&&this.focus()})});const s=j.findOne(".modal.show");s&&At.getInstance(s).hide(),At.getOrCreateInstance(n).toggle(this)}),He(At),Ne(At);const _n="offcanvas",ei={backdrop:!0,keyboard:!0,scroll:!1},Vn={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Bt=".offcanvas.show",Rn="hidden.bs.offcanvas";class $t extends tt{constructor(n,s){super(n),this._config=this._getConfig(s),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return _n}static get Default(){return ei}toggle(n){return this._isShown?this.hide():this.show(n)}show(n){this._isShown||N.trigger(this._element,"show.bs.offcanvas",{relatedTarget:n}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new ye).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),N.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:n})},this._element,!0))}hide(){this._isShown&&(N.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new ye).reset(),N.trigger(this._element,Rn)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(n){return n=fe(fe(fe({},ei),Oe.getDataAttributes(this._element)),"object"==typeof n?n:{}),De(_n,n,Vn),n}_initializeBackDrop(){return new _e({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new jt({trapElement:this._element})}_addEventListeners(){N.on(this._element,"keydown.dismiss.bs.offcanvas",n=>{this._config.keyboard&&"Escape"===n.key&&this.hide()})}static jQueryInterface(n){return this.each(function(){const s=$t.getOrCreateInstance(this,n);if("string"==typeof n){if(void 0===s[n]||n.startsWith("_")||"constructor"===n)throw new TypeError(`No method named "${n}"`);s[n](this)}})}}N.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(d){const n=at(this);if(["A","AREA"].includes(this.tagName)&&d.preventDefault(),Ht(this))return;N.one(n,Rn,()=>{lt(this)&&this.focus()});const s=j.findOne(Bt);s&&s!==n&&$t.getInstance(s).hide(),$t.getOrCreateInstance(n).toggle(this)}),N.on(window,"load.bs.offcanvas.data-api",()=>j.find(Bt).forEach(d=>$t.getOrCreateInstance(d).show())),He($t),Ne($t);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ti=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Cn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,rn=(d,n)=>{const s=d.nodeName.toLowerCase();if(n.includes(s))return!Xn.has(s)||Boolean(ti.test(d.nodeValue)||Cn.test(d.nodeValue));const f=n.filter(y=>y instanceof RegExp);for(let y=0,C=f.length;y{rn(me,ee)||M.removeAttribute(me.nodeName)})}return f.body.innerHTML}const Yn="tooltip",Kn=new Set(["sanitize","allowList","sanitizeFn"]),Qn={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)"},ni={AUTO:"auto",TOP:"top",RIGHT:$e()?"left":"right",BOTTOM:"bottom",LEFT:$e()?"right":"left"},Wn={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},ii={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},kn="fade",Sn="show",Dn="show",Gn=".tooltip-inner",ri="hide.bs.modal",Jn="hover";class wn extends tt{constructor(n,s){if(void 0===ve)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(n),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(s),this.tip=null,this._setListeners()}static get Default(){return Wn}static get NAME(){return Yn}static get Event(){return ii}static get DefaultType(){return Qn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(n){if(this._isEnabled)if(n){const s=this._initializeOnDelegatedTarget(n);s._activeTrigger.click=!s._activeTrigger.click,s._isWithActiveTrigger()?s._enter(null,s):s._leave(null,s)}else{if(this.getTipElement().classList.contains(Sn))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(".modal"),ri,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const n=N.trigger(this._element,this.constructor.Event.SHOW),s=ne(this._element),f=null===s?this._element.ownerDocument.documentElement.contains(this._element):s.contains(this._element);if(n.defaultPrevented||!f)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Gn).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const y=this.getTipElement(),C=(me=>{do{me+=Math.floor(1e6*Math.random())}while(document.getElementById(me));return me})(this.constructor.NAME);y.setAttribute("id",C),this._element.setAttribute("aria-describedby",C),this._config.animation&&y.classList.add(kn);const O="function"==typeof this._config.placement?this._config.placement.call(this,y,this._element):this._config.placement,M=this._getAttachment(O);this._addAttachmentClass(M);const{container:J}=this._config;Qt.set(y,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(J.append(y),N.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=ve.createPopper(this._element,y,this._getPopperConfig(M)),y.classList.add(Sn);const X=this._resolvePossibleFunction(this._config.customClass);X&&y.classList.add(...X.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(me=>{N.on(me,"mouseover",Y)});const ee=this.tip.classList.contains(kn);this._queueCallback(()=>{const me=this._hoverState;this._hoverState=null,N.trigger(this._element,this.constructor.Event.SHOWN),"out"===me&&this._leave(null,this)},this.tip,ee)}hide(){if(!this._popper)return;const n=this.getTipElement();if(N.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;n.classList.remove(Sn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(f=>N.off(f,"mouseover",Y)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const s=this.tip.classList.contains(kn);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Dn&&n.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,s),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const n=document.createElement("div");n.innerHTML=this._config.template;const s=n.children[0];return this.setContent(s),s.classList.remove(kn,Sn),this.tip=s,this.tip}setContent(n){this._sanitizeAndSetContent(n,this.getTitle(),Gn)}_sanitizeAndSetContent(n,s,f){const y=j.findOne(f,n);s||!y?this.setElementContent(y,s):y.remove()}setElementContent(n,s){if(null!==n)return Ke(s)?(s=_t(s),void(this._config.html?s.parentNode!==n&&(n.innerHTML="",n.append(s)):n.textContent=s.textContent)):void(this._config.html?(this._config.sanitize&&(s=un(s,this._config.allowList,this._config.sanitizeFn)),n.innerHTML=s):n.textContent=s)}getTitle(){const n=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(n)}updateAttachment(n){return"right"===n?"end":"left"===n?"start":n}_initializeOnDelegatedTarget(n,s){return s||this.constructor.getOrCreateInstance(n.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:n}=this._config;return"string"==typeof n?n.split(",").map(s=>Number.parseInt(s,10)):"function"==typeof n?s=>n(s,this._element):n}_resolvePossibleFunction(n){return"function"==typeof n?n.call(this._element):n}_getPopperConfig(n){const s={placement:n,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:f=>this._handlePopperPlacementChange(f)}],onFirstUpdate:f=>{f.options.placement!==f.placement&&this._handlePopperPlacementChange(f)}};return fe(fe({},s),"function"==typeof this._config.popperConfig?this._config.popperConfig(s):this._config.popperConfig)}_addAttachmentClass(n){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(n)}`)}_getAttachment(n){return ni[n.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(n=>{if("click"===n)N.on(this._element,this.constructor.Event.CLICK,this._config.selector,s=>this.toggle(s));else if("manual"!==n){const f=n===Jn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;N.on(this._element,n===Jn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,this._config.selector,y=>this._enter(y)),N.on(this._element,f,this._config.selector,y=>this._leave(y))}}),this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(".modal"),ri,this._hideModalHandler),this._config.selector?this._config=Ei(fe({},this._config),{trigger:"manual",selector:""}):this._fixTitle()}_fixTitle(){const n=this._element.getAttribute("title"),s=typeof this._element.getAttribute("data-bs-original-title");(n||"string"!==s)&&(this._element.setAttribute("data-bs-original-title",n||""),!n||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",n),this._element.setAttribute("title",""))}_enter(n,s){s=this._initializeOnDelegatedTarget(n,s),n&&(s._activeTrigger["focusin"===n.type?"focus":Jn]=!0),s.getTipElement().classList.contains(Sn)||s._hoverState===Dn?s._hoverState=Dn:(clearTimeout(s._timeout),s._hoverState=Dn,s._config.delay&&s._config.delay.show?s._timeout=setTimeout(()=>{s._hoverState===Dn&&s.show()},s._config.delay.show):s.show())}_leave(n,s){s=this._initializeOnDelegatedTarget(n,s),n&&(s._activeTrigger["focusout"===n.type?"focus":Jn]=s._element.contains(n.relatedTarget)),s._isWithActiveTrigger()||(clearTimeout(s._timeout),s._hoverState="out",s._config.delay&&s._config.delay.hide?s._timeout=setTimeout(()=>{"out"===s._hoverState&&s.hide()},s._config.delay.hide):s.hide())}_isWithActiveTrigger(){for(const n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1}_getConfig(n){const s=Oe.getDataAttributes(this._element);return Object.keys(s).forEach(f=>{Kn.has(f)&&delete s[f]}),(n=fe(fe(fe({},this.constructor.Default),s),"object"==typeof n&&n?n:{})).container=!1===n.container?document.body:_t(n.container),"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),De(Yn,n,this.constructor.DefaultType),n.sanitize&&(n.template=un(n.template,n.allowList,n.sanitizeFn)),n}_getDelegateConfig(){const n={};for(const s in this._config)this.constructor.Default[s]!==this._config[s]&&(n[s]=this._config[s]);return n}_cleanTipClass(){const n=this.getTipElement(),s=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),f=n.getAttribute("class").match(s);null!==f&&f.length>0&&f.map(y=>y.trim()).forEach(y=>n.classList.remove(y))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(n){const{state:s}=n;s&&(this.tip=s.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(s.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(n){return this.each(function(){const s=wn.getOrCreateInstance(this,n);if("string"==typeof n){if(void 0===s[n])throw new TypeError(`No method named "${n}"`);s[n]()}})}}Ne(wn);const pi=Ei(fe({},wn.Default),{placement:"right",offset:[0,8],trigger:"click",content:"",template:''}),li=Ei(fe({},wn.DefaultType),{content:"(string|element|function)"}),Ti={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class xn extends wn{static get Default(){return pi}static get NAME(){return"popover"}static get Event(){return Ti}static get DefaultType(){return li}isWithContent(){return this.getTitle()||this._getContent()}setContent(n){this._sanitizeAndSetContent(n,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(n,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(n){return this.each(function(){const s=xn.getOrCreateInstance(this,n);if("string"==typeof n){if(void 0===s[n])throw new TypeError(`No method named "${n}"`);s[n]()}})}}Ne(xn);const ci="scrollspy",ui={offset:10,method:"auto",target:""},di={offset:"number",method:"string",target:"(string|element)"},Bn="active",fi=".nav-link, .list-group-item, .dropdown-item",gi="position";class e extends tt{constructor(n,s){super(n),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(s),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,N.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return ui}static get NAME(){return ci}refresh(){const s="auto"===this._config.method?this._scrollElement===this._scrollElement.window?"offset":gi:this._config.method,f=s===gi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),j.find(fi,this._config.target).map(y=>{const C=kt(y),O=C?j.findOne(C):null;if(O){const M=O.getBoundingClientRect();if(M.width||M.height)return[Oe[s](O).top+f,C]}return null}).filter(y=>y).sort((y,C)=>y[0]-C[0]).forEach(y=>{this._offsets.push(y[0]),this._targets.push(y[1])})}dispose(){N.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(n){return(n=fe(fe(fe({},ui),Oe.getDataAttributes(this._element)),"object"==typeof n&&n?n:{})).target=_t(n.target)||document.documentElement,De(ci,n,di),n}_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 n=this._getScrollTop()+this._config.offset,s=this._getScrollHeight(),f=this._config.offset+s-this._getOffsetHeight();if(this._scrollHeight!==s&&this.refresh(),n>=f){const y=this._targets[this._targets.length-1];this._activeTarget!==y&&this._activate(y)}else{if(this._activeTarget&&n0)return this._activeTarget=null,void this._clear();for(let y=this._offsets.length;y--;)this._activeTarget!==this._targets[y]&&n>=this._offsets[y]&&(void 0===this._offsets[y+1]||n`${y}[data-bs-target="${n}"],${y}[href="${n}"]`),f=j.findOne(s.join(","),this._config.target);f.classList.add(Bn),f.classList.contains("dropdown-item")?j.findOne(".dropdown-toggle",f.closest(".dropdown")).classList.add(Bn):j.parents(f,".nav, .list-group").forEach(y=>{j.prev(y,".nav-link, .list-group-item").forEach(C=>C.classList.add(Bn)),j.prev(y,".nav-item").forEach(C=>{j.children(C,".nav-link").forEach(O=>O.classList.add(Bn))})}),N.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:n})}_clear(){j.find(fi,this._config.target).filter(n=>n.classList.contains(Bn)).forEach(n=>n.classList.remove(Bn))}static jQueryInterface(n){return this.each(function(){const s=e.getOrCreateInstance(this,n);if("string"==typeof n){if(void 0===s[n])throw new TypeError(`No method named "${n}"`);s[n]()}})}}N.on(window,"load.bs.scrollspy.data-api",()=>{j.find('[data-bs-spy="scroll"]').forEach(d=>new e(d))}),Ne(e);const t="active",i="fade",r="show",a=".active",l=":scope > li > .active";class c extends tt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(t))return;let n;const s=at(this._element),f=this._element.closest(".nav, .list-group");f&&(n=j.find("UL"===f.nodeName||"OL"===f.nodeName?l:a,f),n=n[n.length-1]);const y=n?N.trigger(n,"hide.bs.tab",{relatedTarget:this._element}):null;if(N.trigger(this._element,"show.bs.tab",{relatedTarget:n}).defaultPrevented||null!==y&&y.defaultPrevented)return;this._activate(this._element,f);const C=()=>{N.trigger(n,"hidden.bs.tab",{relatedTarget:this._element}),N.trigger(this._element,"shown.bs.tab",{relatedTarget:n})};s?this._activate(s,s.parentNode,C):C()}_activate(n,s,f){const y=(!s||"UL"!==s.nodeName&&"OL"!==s.nodeName?j.children(s,a):j.find(l,s))[0],C=f&&y&&y.classList.contains(i),O=()=>this._transitionComplete(n,y,f);y&&C?(y.classList.remove(r),this._queueCallback(O,n,!0)):O()}_transitionComplete(n,s,f){if(s){s.classList.remove(t);const C=j.findOne(":scope > .dropdown-menu .active",s.parentNode);C&&C.classList.remove(t),"tab"===s.getAttribute("role")&&s.setAttribute("aria-selected",!1)}n.classList.add(t),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),n.classList.contains(i)&&n.classList.add(r);let y=n.parentNode;if(y&&"LI"===y.nodeName&&(y=y.parentNode),y&&y.classList.contains("dropdown-menu")){const C=n.closest(".dropdown");C&&j.find(".dropdown-toggle",C).forEach(O=>O.classList.add(t)),n.setAttribute("aria-expanded",!0)}f&&f()}static jQueryInterface(n){return this.each(function(){const s=c.getOrCreateInstance(this);if("string"==typeof n){if(void 0===s[n])throw new TypeError(`No method named "${n}"`);s[n]()}})}}N.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(d){["A","AREA"].includes(this.tagName)&&d.preventDefault(),Ht(this)||c.getOrCreateInstance(this).show()}),Ne(c);const h="toast",g="hide",b="show",T="showing",D={animation:"boolean",autohide:"boolean",delay:"number"},E={animation:!0,autohide:!0,delay:5e3};class A extends tt{constructor(n,s){super(n),this._config=this._getConfig(s),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return D}static get Default(){return E}static get NAME(){return h}show(){N.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(g),this._element.classList.add(b),this._element.classList.add(T),this._queueCallback(()=>{this._element.classList.remove(T),N.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(b)&&(N.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(T),this._queueCallback(()=>{this._element.classList.add(g),this._element.classList.remove(T),this._element.classList.remove(b),N.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(b)&&this._element.classList.remove(b),super.dispose()}_getConfig(n){return n=fe(fe(fe({},E),Oe.getDataAttributes(this._element)),"object"==typeof n&&n?n:{}),De(h,n,this.constructor.DefaultType),n}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(n,s){switch(n.type){case"mouseover":case"mouseout":this._hasMouseInteraction=s;break;case"focusin":case"focusout":this._hasKeyboardInteraction=s}if(s)return void this._clearTimeout();const f=n.relatedTarget;this._element===f||this._element.contains(f)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,"mouseover.bs.toast",n=>this._onInteraction(n,!0)),N.on(this._element,"mouseout.bs.toast",n=>this._onInteraction(n,!1)),N.on(this._element,"focusin.bs.toast",n=>this._onInteraction(n,!0)),N.on(this._element,"focusout.bs.toast",n=>this._onInteraction(n,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(n){return this.each(function(){const s=A.getOrCreateInstance(this,n);if("string"==typeof n){if(void 0===s[n])throw new TypeError(`No method named "${n}"`);s[n](this)}})}}return He(A),Ne(A),{Alert:sn,Button:vn,Carousel:Et,Collapse:Wt,Dropdown:he,Modal:At,Offcanvas:$t,Popover:xn,ScrollSpy:e,Tab:c,Toast:A,Tooltip:wn}});