diff --git a/opac/webapp/static/js/main.js b/opac/webapp/static/js/main.js index 5a4fe9fb..e215ce8e 100644 --- a/opac/webapp/static/js/main.js +++ b/opac/webapp/static/js/main.js @@ -236,7 +236,7 @@ var Portal = { $(".floatingBtnError, .floatingBtnErrorHamburguerMenu").on("click", function(e) { e.preventDefault(); - console.log('cliquei para abrir o modal de reportar erro'); + //console.log('cliquei para abrir o modal de reportar erro'); var url = $(location).attr('href'); $.get("/error_mail/", {"url": url}, function(html) { $("#error_modal_id").html(html); @@ -1251,7 +1251,7 @@ var Portal = { // Verifica se lastDays é um número válido if (isNaN(lastDays) || lastDays <= 0) { - console.error('O valor de lastDays deve ser um número positivo.'); + //console.error('O valor de lastDays deve ser um número positivo.'); return; // Interrompe a execução se lastDays não for válido } diff --git a/opac/webapp/static/js/scielo-bundle-min.js b/opac/webapp/static/js/scielo-bundle-min.js index 690d75ae..df962b4c 100644 --- a/opac/webapp/static/js/scielo-bundle-min.js +++ b/opac/webapp/static/js/scielo-bundle-min.js @@ -1,2 +1,2 @@ -!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)}("undefined"!=typeof window?window:this,function(_,N){"use strict";function v(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item}function m(t){return null!=t&&t===t.window}var e=[],I=Object.getPrototypeOf,a=e.slice,H=e.flat?function(t){return e.flat.call(t)}:function(t){return e.concat.apply([],t)},F=e.push,q=e.indexOf,R={},Y=R.toString,W=R.hasOwnProperty,B=W.toString,z=B.call(Object),g={},k=_.document,U={type:!0,src:!0,nonce:!0,noModule:!0};function G(t,e,i){var n,o,s=(i=i||k).createElement("script");if(s.text=t,e)for(n in U)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function f(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?R[Y.call(t)]||"object":typeof t}var t="3.6.3",x=function(t,e){return new x.fn.init(t,e)};function V(t){var e=!!t&&"length"in t&&t.length,i=f(t);return!v(t)&&!m(t)&&("array"===i||0===e||"number"==typeof e&&0>10|55296,1023&t|56320))}function I(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function H(){k()}var t,h,w,s,F,p,q,R,_,l,c,k,x,i,T,f,n,o,m,S="sizzle"+ +new Date,d=N.document,C=0,Y=0,W=O(),B=O(),z=O(),g=O(),U=function(t,e){return t===e&&(c=!0),0},G={}.hasOwnProperty,e=[],V=e.pop,X=e.push,E=e.push,Z=e.slice,v=function(t,e){for(var i=0,n=t.length;i+~]|"+r+")"+r+"*"),nt=new RegExp(r+"|>"),ot=new RegExp(K),st=new RegExp("^"+a+"$"),b={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},rt=/HTML$/i,at=/^(?:input|select|textarea|button)$/i,lt=/^h\d$/i,D=/^[^{]+\{\s*\[native \w/,ct=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,dt=/[+~]/,A=new RegExp("\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\([^\\r\\n\\f])","g"),ut=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ht=vt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{E.apply(e=Z.call(d.childNodes),d.childNodes),e[d.childNodes.length].nodeType}catch(t){E={apply:e.length?function(t,e){X.apply(t,Z.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function L(e,t,i,n){var o,s,r,a,l,c,d=t&&t.ownerDocument,u=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==u&&9!==u&&11!==u)return i;if(!n&&(k(t),t=t||x,T)){if(11!==u&&(a=ct.exec(e)))if(o=a[1]){if(9===u){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(d&&(c=d.getElementById(o))&&m(t,c)&&c.id===o)return i.push(c),i}else{if(a[2])return E.apply(i,t.getElementsByTagName(e)),i;if((o=a[3])&&h.getElementsByClassName&&t.getElementsByClassName)return E.apply(i,t.getElementsByClassName(o)),i}if(h.qsa&&!g[e+" "]&&(!f||!f.test(e))&&(1!==u||"object"!==t.nodeName.toLowerCase())){if(c=e,d=t,1===u&&(nt.test(e)||it.test(e))){for((d=dt.test(e)&>(t.parentNode)||t)===t&&h.scope||((r=t.getAttribute("id"))?r=r.replace(ut,I):t.setAttribute("id",r=S)),s=(l=p(e)).length;s--;)l[s]=(r?"#"+r:":scope")+" "+P(l[s]);c=l.join(",")}try{if(h.cssSupportsSelector&&!CSS.supports("selector(:is("+c+"))"))throw new Error;return E.apply(i,d.querySelectorAll(c)),i}catch(t){g(e,!0)}finally{r===S&&t.removeAttribute("id")}}}return R(e.replace(y,"$1"),t,i,n)}function O(){var i=[];function n(t,e){return i.push(t+" ")>w.cacheLength&&delete n[i.shift()],n[t+" "]=e}return n}function $(t){return t[S]=!0,t}function M(t){var e=x.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function pt(t,e){for(var i=t.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=e}function ft(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function mt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ht(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function j(r){return $(function(s){return s=+s,$(function(t,e){for(var i,n=r([],t.length,s),o=n.length;o--;)t[i=n[o]]&&(t[i]=!(e[i]=t[i]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in h=L.support={},F=L.isXML=function(t){var e=t&&t.namespaceURI,t=t&&(t.ownerDocument||t).documentElement;return!rt.test(e||t&&t.nodeName||"HTML")},k=L.setDocument=function(t){var t=t?t.ownerDocument||t:d;return t!=x&&9===t.nodeType&&t.documentElement&&(i=(x=t).documentElement,T=!F(x),d!=x&&(t=x.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",H,!1):t.attachEvent&&t.attachEvent("onunload",H)),h.scope=M(function(t){return i.appendChild(t).appendChild(x.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),h.cssSupportsSelector=M(function(){return CSS.supports("selector(*)")&&x.querySelectorAll(":is(:jqfake)")&&!CSS.supports("selector(:is(*,:jqfake))")}),h.attributes=M(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=M(function(t){return t.appendChild(x.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=D.test(x.getElementsByClassName),h.getById=M(function(t){return i.appendChild(t).id=S,!x.getElementsByName||!x.getElementsByName(S).length}),h.getById?(w.filter.ID=function(t){var e=t.replace(A,u);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&T)return(e=e.getElementById(t))?[e]:[]}):(w.filter.ID=function(t){var e=t.replace(A,u);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&T){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),w.find.TAG=h.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):h.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"!==t)return s;for(;i=s[o++];)1===i.nodeType&&n.push(i);return n},w.find.CLASS=h.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&T)return e.getElementsByClassName(t)},n=[],f=[],(h.qsa=D.test(x.querySelectorAll))&&(M(function(t){var e;i.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&f.push("[*^$]="+r+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||f.push("\\["+r+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+S+"-]").length||f.push("~="),(e=x.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||f.push("\\["+r+"*name"+r+"*="+r+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||f.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||f.push(".#.+[+~]"),t.querySelectorAll("\\\f"),f.push("[\\r\\n\\f]")}),M(function(t){t.innerHTML="";var e=x.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&f.push("name"+r+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&f.push(":enabled",":disabled"),i.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),f.push(",.*:")})),(h.matchesSelector=D.test(o=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&M(function(t){h.disconnectedMatch=o.call(t,"*"),o.call(t,"[s!='']:x"),n.push("!=",K)}),h.cssSupportsSelector||f.push(":has"),f=f.length&&new RegExp(f.join("|")),n=n.length&&new RegExp(n.join("|")),t=D.test(i.compareDocumentPosition),m=t||D.test(i.contains)?function(t,e){var i=9===t.nodeType&&t.documentElement||t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(i.contains?i.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=t?function(t,e){var i;return t===e?(c=!0,0):(i=!t.compareDocumentPosition-!e.compareDocumentPosition)||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!h.sortDetached&&e.compareDocumentPosition(t)===i?t==x||t.ownerDocument==d&&m(d,t)?-1:e==x||e.ownerDocument==d&&m(d,e)?1:l?v(l,t)-v(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return c=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,r=[t],a=[e];if(!o||!s)return t==x?-1:e==x?1:o?-1:s?1:l?v(l,t)-v(l,e):0;if(o===s)return ft(t,e);for(i=t;i=i.parentNode;)r.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;r[n]===a[n];)n++;return n?ft(r[n],a[n]):r[n]==d?-1:a[n]==d?1:0}),x},L.matches=function(t,e){return L(t,null,null,e)},L.matchesSelector=function(t,e){if(k(t),h.matchesSelector&&T&&!g[e+" "]&&(!n||!n.test(e))&&(!f||!f.test(e)))try{var i=o.call(t,e);if(i||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){g(e,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(A,u),t[3]=(t[3]||t[4]||t[5]||"").replace(A,u),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||L.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&L.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return b.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ot.test(i)&&(e=(e=p(i,!0))&&i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(A,u).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=W[t+" "];return e||(e=new RegExp("(^|"+r+")"+t+"("+r+"|$)"))&&W(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=L.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function J(t,i,n){return v(i)?x.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?x.grep(t,function(t){return t===i!==n}):"string"!=typeof i?x.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/,et=((x.fn.init=function(t,e,i){if(t){if(i=i||K,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==i.ready?i.ready(t):t(x):x.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:tt.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),Q.test(n[1])&&x.isPlainObject(e))for(var n in e)v(this[n])?this[n](e[n]):this.attr(n,e[n])}else(i=k.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=x.fn,K=x(k),/^(?:parents|prev(?:Until|All))/),it={children:!0,contents:!0,next:!0,prev:!0};function nt(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e=x(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,xt=/^$|^module$|\/(?:java|ecma)script/i,D=($=k.createDocumentFragment().appendChild(k.createElement("div")),(s=k.createElement("input")).setAttribute("type","radio"),s.setAttribute("checked","checked"),s.setAttribute("name","t"),$.appendChild(s),g.checkClone=$.cloneNode(!0).cloneNode(!0).lastChild.checked,$.innerHTML="",g.noCloneChecked=!!$.cloneNode(!0).lastChild.defaultValue,$.innerHTML="",g.option=!!$.lastChild,{thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]});function A(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&l(t,e)?x.merge([t],i):i}function Tt(t,e){for(var i=0,n=t.length;i",""]);var St=/<|&#?\w+;/;function Ct(t,e,i,n,o){for(var s,r,a,l,c,d=e.createDocumentFragment(),u=[],h=0,p=t.length;h\s*$/g;function jt(t,e){return l(t,"table")&&l(11!==e.nodeType?e:e.firstChild,"tr")&&x(t).children("tbody")[0]||t}function Pt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Nt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function It(t,e){var i,n,o,s;if(1===e.nodeType){if(w.hasData(t)&&(s=w.get(t).events))for(o in w.remove(e,"handle events"),s)for(i=0,n=s[o].length;i").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",o=function(t){n.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),k.head.appendChild(n[0])},abort:function(){o&&o()}}}),[]),Ze=/(=)\?(?=&|$)|\?\?/,Qe=(x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||x.expando+"_"+De.guid++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(t,e,i){var n,o,s,r=!1!==t.jsonp&&(Ze.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ze.test(t.data)&&"data");if(r||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r?t[r]=t[r].replace(Ze,"$1"+n):!1!==t.jsonp&&(t.url+=(Ae.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return s||x.error(n+" was not called"),s[0]},t.dataTypes[0]="json",o=_[n],_[n]=function(){s=arguments},i.always(function(){void 0===o?x(_).removeProp(n):_[n]=o,t[n]&&(t.jsonpCallback=e.jsonpCallback,Xe.push(n)),s&&v(o)&&o(s[0]),s=o=void 0}),"script"}),g.createHTMLDocument=((s=k.implementation.createHTMLDocument("").body).innerHTML="
",2===s.childNodes.length),x.parseHTML=function(t,e,i){var n;return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(g.createHTMLDocument?((n=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(n)):e=k),n=!i&&[],(i=Q.exec(t))?[e.createElement(i[1])]:(i=Ct([t],e,n),n&&n.length&&x(n).remove(),x.merge([],i.childNodes)))},x.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(x.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(t,e,i){var n,o,s,r,a=x.css(t,"position"),l=x(t),c={};"static"===a&&(t.style.position="relative"),s=l.offset(),n=x.css(t,"top"),r=x.css(t,"left"),a=("absolute"===a||"fixed"===a)&&-1<(n+r).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(n)||0,parseFloat(r)||0),null!=(e=v(e)?e.call(t,i,x.extend({},s)):e).top&&(c.top=e.top-s.top+o),null!=e.left&&(c.left=e.left-s.left+a),"using"in e?e.using.call(t,c):l.css(c)}},x.fn.extend({offset:function(e){var t,i;return arguments.length?void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)}):(i=this[0])?i.getClientRects().length?(t=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===x.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===x.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=x(t).offset()).top+=x.css(t,"borderTopWidth",!0),o.left+=x.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-x.css(n,"marginTop",!0),left:e.left-o.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===x.css(t,"position");)t=t.offsetParent;return t||S})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var s="pageYOffset"===o;x.fn[e]=function(t){return u(this,function(t,e,i){var n;if(m(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[o]:t[e];n?n.scrollTo(s?n.pageXOffset:i,s?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),x.each(["top","left"],function(t,i){x.cssHooks[i]=ee(g.pixelPosition,function(t,e){if(e)return e=te(t,i),Vt.test(e)?x(t).position()[i]+"px":e})}),x.each({Height:"height",Width:"width"},function(r,a){x.each({padding:"inner"+r,content:a,"":"outer"+r},function(n,s){x.fn[s]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),o=n||(!0===t||!0===e?"margin":"border");return u(this,function(t,e,i){var n;return m(t)?0===s.indexOf("outer")?t["inner"+r]:t.document.documentElement["client"+r]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+r],n["scroll"+r],t.body["offset"+r],n["offset"+r],n["client"+r])):void 0===i?x.css(t,e,o):x.style(t,e,i,o)},a,i?t:void 0,i)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),x.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(t,i){x.fn[i]=function(t,e){return 0{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t},H=e=>{let i=e.getAttribute("data-bs-target");if(!i||"#"===i){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t="#"+t.split("#")[1]),i=t&&"#"!==t?t.trim():null}return i},F=t=>{t=H(t);return t&&document.querySelector(t)?t:null},o=t=>{t=H(t);return t?document.querySelector(t):null},d=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);var t=Number.parseFloat(e),n=Number.parseFloat(i);return t||n?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0},q=t=>{t.dispatchEvent(new Event(N))},r=t=>(t[0]||t).nodeType,u=(e,t)=>{let i=!1;t+=5;e.addEventListener(N,function t(){i=!0,e.removeEventListener(N,t)}),setTimeout(()=>{i||q(e)},t)},i=(n,o,s)=>{Object.keys(s).forEach(t=>{var e=s[t],i=o[t],i=i&&r(i)?"element":null==(i=i)?""+i:{}.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(e).test(i))throw new TypeError(n.toUpperCase()+": "+`Option "${t}" provided type "${i}" `+`but expected type "${e}".`)})},R=t=>{var e;return!!t&&!!(t.style&&t.parentNode&&t.parentNode.style)&&(e=getComputedStyle(t),t=getComputedStyle(t.parentNode),"none"!==e.display)&&"none"!==t.display&&"hidden"!==e.visibility},Y=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),W=t=>{var e;return document.documentElement.attachShadow?"function"==typeof t.getRootNode?(e=t.getRootNode())instanceof ShadowRoot?e:null:t instanceof ShadowRoot?t:t.parentNode?W(t.parentNode):null:null},B=()=>function(){},z=t=>t.offsetHeight,U=()=>{var t=window["jQuery"];return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},e=()=>"rtl"===document.documentElement.dir;var t=(i,n)=>{var t;t=()=>{const t=U();if(t){const e=t.fn[i];t.fn[i]=n.jQueryInterface,t.fn[i].Constructor=n,t.fn[i].noConflict=()=>(t.fn[i]=e,n.jQueryInterface)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()};const n=new Map;var G=function(t,e,i){n.has(t)||n.set(t,new Map);t=n.get(t);t.has(e)||0===t.size?t.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(t.keys())[0]}.`)},a=function(t,e){return n.has(t)&&n.get(t).get(e)||null},V=function(t,e){var i;n.has(t)&&((i=n.get(t)).delete(e),0===i.size)&&n.delete(t)};const X=/[^.]*(?=\..*)\.|.*/,Z=/\..*/,Q=/::\d+$/,J={};let K=1;const tt={mouseenter:"mouseover",mouseleave:"mouseout"},et=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 it(t,e){return e&&e+"::"+K++||t.uidEvent||K++}function nt(t){var e=it(t);return t.uidEvent=e,J[e]=J[e]||{},J[e]}function ot(i,n,o=null){var s=Object.keys(i);for(let t=0,e=s.length;t{{var e=r,i=l,n=t,o=a.slice(1);const s=i[n]||{};Object.keys(s).forEach(t=>{t.includes(o)&&(t=s[t],at(e,i,n,t.originalHandler,t.delegationSelector))})}});const c=l[o]||{};Object.keys(c).forEach(t=>{var e=t.replace(Q,"");s&&!a.includes(e)||(e=c[t],at(r,l,o,e.originalHandler,e.delegationSelector))})}},trigger(t,e,i){if("string"!=typeof e||!t)return null;var n=U(),o=e.replace(Z,""),s=e!==o,r=et.has(o);let a,l=!0,c=!0,d=!1,u=null;return s&&n&&(a=n.Event(e,i),n(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),d=a.isDefaultPrevented()),r?(u=document.createEvent("HTMLEvents")).initEvent(o,l,!0):u=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(t=>{Object.defineProperty(u,t,{get(){return i[t]}})}),d&&u.preventDefault(),c&&t.dispatchEvent(u),u.defaultPrevented&&void 0!==a&&a.preventDefault(),u}};class s{constructor(t){(t="string"==typeof t?document.querySelector(t):t)&&(this._element=t,G(this._element,this.constructor.DATA_KEY,this))}dispose(){V(this._element,this.constructor.DATA_KEY),this._element=null}static getInstance(t){return a(t,this.DATA_KEY)}static get VERSION(){return"5.0.0-beta3"}}const lt="bs.alert";lt;class ct extends s{static get DATA_KEY(){return lt}close(t){var t=t?this._getRootElement(t):this._element,e=this._triggerCloseEvent(t);null===e||e.defaultPrevented||this._removeElement(t)}_getRootElement(t){return o(t)||t.closest(".alert")}_triggerCloseEvent(t){return m.trigger(t,"close.bs.alert")}_removeElement(t){var e;t.classList.remove("show"),t.classList.contains("fade")?(e=d(t),m.one(t,"transitionend",()=>this._destroyElement(t)),u(t,e)):this._destroyElement(t)}_destroyElement(t){t.parentNode&&t.parentNode.removeChild(t),m.trigger(t,"closed.bs.alert")}static jQueryInterface(e){return this.each(function(){let t=a(this,lt);t=t||new ct(this),"close"===e&&t[e](this)})}static handleDismiss(e){return function(t){t&&t.preventDefault(),e.close(this)}}}m.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',ct.handleDismiss(new ct)),t("alert",ct);const dt="bs.button";dt;const ut='[data-bs-toggle="button"]';class ht extends s{static get DATA_KEY(){return dt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){let t=a(this,dt);t=t||new ht(this),"toggle"===e&&t[e]()})}}function pt(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function ft(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}m.on(document,"click.bs.button.data-api",ut,t=>{t.preventDefault();t=t.target.closest(ut);let e=a(t,dt);(e=e||new ht(t)).toggle()}),t("button",ht);const l={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+ft(e),i)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+ft(e))},getDataAttributes(i){if(!i)return{};const n={};return Object.keys(i.dataset).filter(t=>t.startsWith("bs")).forEach(t=>{let e=t.replace(/^bs/,"");e=e.charAt(0).toLowerCase()+e.slice(1,e.length),n[e]=pt(i.dataset[t])}),n},getDataAttribute(t,e){return pt(t.getAttribute("data-bs-"+ft(e)))},offset(t){t=t.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position(t){return{top:t.offsetTop,left:t.offsetLeft}}},h={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(t=>t.matches(e))},parents(t,e){var i=[];let n=t.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&i.push(n),n=n.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]}},mt="carousel",gt="bs.carousel",c="."+gt;const yt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},vt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},p="next",bt="prev",wt="left",f="right",_t=(c,"slid"+c);c,c,c,c,c,c,c,c,c;c,c;const g="active",kt=".active.carousel-item";class y extends s{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=h.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||0this._items.length-1||t<0||(this._isSliding?m.one(this._element,_t,()=>this.to(t)):e===t?(this.pause(),this.cycle()):(e=ethis._keydown(t)),"hover"===this._config.pause&&(m.on(this._element,"mouseenter.bs.carousel",t=>this.pause(t)),m.on(this._element,"mouseleave.bs.carousel",t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType?this._pointerEvent||(this.touchStartX=t.touches[0].clientX):this.touchStartX=t.clientX},i=t=>{this.touchDeltaX=t.touches&&1{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType||(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};h.find(".carousel-item img",this._element).forEach(t=>{m.on(t,"dragstart.bs.carousel",t=>t.preventDefault())}),this._pointerEvent?(m.on(this._element,"pointerdown.bs.carousel",t=>e(t)),m.on(this._element,"pointerup.bs.carousel",t=>n(t)),this._element.classList.add("pointer-event")):(m.on(this._element,"touchstart.bs.carousel",t=>e(t)),m.on(this._element,"touchmove.bs.carousel",t=>i(t)),m.on(this._element,"touchend.bs.carousel",t=>n(t)))}_keydown(t){/input|textarea/i.test(t.target.tagName)||("ArrowLeft"===t.key?(t.preventDefault(),this._slide(wt)):"ArrowRight"===t.key&&(t.preventDefault(),this._slide(f)))}_getItemIndex(t){return this._items=t&&t.parentNode?h.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){var i=t===p,t=t===bt,n=this._getItemIndex(e),o=this._items.length-1;return(t&&0===n||i&&n===o)&&!this._config.wrap?e:-1==(i=(n+(t?-1:1))%this._items.length)?this._items[this._items.length-1]:this._items[i]}_triggerSlideEvent(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(h.findOne(kt,this._element));return m.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){var t=h.findOne(".active",this._indicatorsElement),i=(t.classList.remove(g),t.removeAttribute("aria-current"),h.find("[data-bs-target]",this._indicatorsElement));for(let t=0;t{o.classList.remove(a,l),o.classList.add(g),i.classList.remove(g,l,a),this._isSliding=!1,setTimeout(()=>{m.trigger(this._element,_t,{relatedTarget:o,direction:c,from:n,to:s})},0)}),u(i,r)):(i.classList.remove(g),o.classList.add(g),this._isSliding=!1,m.trigger(this._element,_t,{relatedTarget:o,direction:c,from:n,to:s})),e)&&this.cycle()}_directionToOrder(t){return[f,wt].includes(t)?e()?t===f?bt:p:t===f?p:bt:t}_orderToDirection(t){return[p,bt].includes(t)?e()?t===p?wt:f:t===p?f:wt:t}static carouselInterface(t,e){let i=a(t,gt),n={...yt,...l.getDataAttributes(t)};"object"==typeof e&&(n={...n,...e});var o="string"==typeof e?e:n.slide;if(i=i||new y(t,n),"number"==typeof e)i.to(e);else if("string"==typeof o){if(void 0===i[o])throw new TypeError(`No method named "${o}"`);i[o]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each(function(){y.carouselInterface(this,t)})}static dataApiClickHandler(t){var e,i,n=o(this);n&&n.classList.contains("carousel")&&(e={...l.getDataAttributes(n),...l.getDataAttributes(this)},(i=this.getAttribute("data-bs-slide-to"))&&(e.interval=!1),y.carouselInterface(n,e),i&&a(n,gt).to(i),t.preventDefault())}}m.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",y.dataApiClickHandler),m.on(window,"load.bs.carousel.data-api",()=>{var i=h.find('[data-bs-ride="carousel"]');for(let t=0,e=i.length;tt===this._element);null!==o&&s.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 St}static get DATA_KEY(){return Tt}toggle(){this._element.classList.contains(v)?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._element.classList.contains(v)){let t,e;this._parent&&0===(t=h.find(".show, .collapsing",this._parent).filter(t=>"string"==typeof this._config.parent?t.getAttribute("data-bs-parent")===this._config.parent:t.classList.contains(Et))).length&&(t=null);const o=h.findOne(this._selector);if(t){var i=t.find(t=>o!==t);if((e=i?a(i,Tt):null)&&e._isTransitioning)return}i=m.trigger(this._element,"show.bs.collapse");if(!i.defaultPrevented){t&&t.forEach(t=>{o!==t&&Ot.collapseInterface(t,"hide"),e||G(t,Tt,null)});const s=this._getDimension();this._element.classList.remove(Et),this._element.classList.add(Dt),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach(t=>{t.classList.remove(At),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);var i="scroll"+(s[0].toUpperCase()+s.slice(1)),n=d(this._element);m.one(this._element,"transitionend",()=>{this._element.classList.remove(Dt),this._element.classList.add(Et,v),this._element.style[s]="",this.setTransitioning(!1),m.trigger(this._element,"shown.bs.collapse")}),u(this._element,n),this._element.style[s]=this._element[i]+"px"}}}hide(){if(!this._isTransitioning&&this._element.classList.contains(v)){var t=m.trigger(this._element,"hide.bs.collapse");if(!t.defaultPrevented){var t=this._getDimension(),e=(this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",z(this._element),this._element.classList.add(Dt),this._element.classList.remove(Et,v),this._triggerArray.length);if(0{this.setTransitioning(!1),this._element.classList.remove(Dt),this._element.classList.add(Et),m.trigger(this._element,"hidden.bs.collapse")}),u(this._element,t)}}}setTransitioning(t){this._isTransitioning=t}dispose(){super.dispose(),this._config=null,this._parent=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(t){return(t={...St,...t}).toggle=Boolean(t.toggle),i(xt,t,Ct),t}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){let t=this._config["parent"];r(t)?void 0===t.jquery&&void 0===t[0]||(t=t[0]):t=h.findOne(t);var e=Lt+`[data-bs-parent="${t}"]`;return h.find(e,t).forEach(t=>{var e=o(t);this._addAriaAndCollapsedClass(e,[t])}),t}_addAriaAndCollapsedClass(t,e){if(t&&e.length){const i=t.classList.contains(v);e.forEach(t=>{i?t.classList.remove(At):t.classList.add(At),t.setAttribute("aria-expanded",i)})}}static collapseInterface(t,e){let i=a(t,Tt);var n={...St,...l.getDataAttributes(t),..."object"==typeof e&&e?e:{}};if(!i&&n.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),i=i||new Ot(t,n),"string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}static jQueryInterface(t){return this.each(function(){Ot.collapseInterface(this,t)})}}m.on(document,"click.bs.collapse.data-api",Lt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const n=l.getDataAttributes(this);t=F(this);h.find(t).forEach(t=>{var e=a(t,Tt);let i;i=e?(null===e._parent&&"string"==typeof n.parent&&(e._config.parent=n.parent,e._parent=e._getParent()),"toggle"):n,Ot.collapseInterface(t,i)})}),t(xt,Ot);var E="top",D="bottom",A="right",L="left",$t="auto",Mt=[E,D,A,L],jt="start",Pt="end",Nt="clippingParents",It="viewport",Ht="popper",Ft="reference",qt=Mt.reduce(function(t,e){return t.concat([e+"-"+jt,e+"-"+Pt])},[]),Rt=[].concat(Mt,[$t]).reduce(function(t,e){return t.concat([e,e+"-"+jt,e+"-"+Pt])},[]),Yt="beforeRead",Wt="afterRead",Bt="beforeMain",zt="afterMain",Ut="beforeWrite",Gt="afterWrite",Vt=[Yt,"read",Wt,Bt,"main",zt,Ut,"write",Gt];function b(t){return t?(t.nodeName||"").toLowerCase():null}function w(t){var e;return null==t?window:"[object Window]"!==t.toString()?(e=t.ownerDocument)&&e.defaultView||window:t}function Xt(t){return t instanceof w(t).Element||t instanceof Element}function _(t){return t instanceof w(t).HTMLElement||t instanceof HTMLElement}function Zt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof w(t).ShadowRoot||t instanceof ShadowRoot)}var Qt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var o=t.state;Object.keys(o.elements).forEach(function(t){var e=o.styles[t]||{},i=o.attributes[t]||{},n=o.elements[t];_(n)&&b(n)&&(Object.assign(n.style,e),Object.keys(i).forEach(function(t){var e=i[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var n=t.state,o={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,o.popper),n.styles=o,n.elements.arrow&&Object.assign(n.elements.arrow.style,o.arrow),function(){Object.keys(n.elements).forEach(function(t){var e=n.elements[t],i=n.attributes[t]||{},t=Object.keys((n.styles.hasOwnProperty(t)?n.styles:o)[t]).reduce(function(t,e){return t[e]="",t},{});_(e)&&b(e)&&(Object.assign(e.style,t),Object.keys(i).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]};function O(t){return t.split("-")[0]}function Jt(t){t=t.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 Kt(t){var e=Jt(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function te(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&Zt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0}while(n=n.parentNode||n.host)}return!1}function k(t){return w(t).getComputedStyle(t)}function x(t){return((Xt(t)?t.ownerDocument:t.document)||window.document).documentElement}function ee(t){return"html"===b(t)?t:t.assignedSlot||t.parentNode||(Zt(t)?t.host:null)||x(t)}function ie(t){return _(t)&&"fixed"!==k(t).position?t.offsetParent:null}function ne(t){for(var e,i=w(t),n=ie(t);n&&(e=n,0<=["table","td","th"].indexOf(b(e)))&&"static"===k(n).position;)n=ie(n);return(!n||"html"!==b(n)&&("body"!==b(n)||"static"!==k(n).position))&&(n||function(t){for(var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),i=ee(t);_(i)&&["html","body"].indexOf(b(i))<0;){var n=k(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t))||i}function oe(t){return 0<=["top","bottom"].indexOf(t)?"x":"y"}var T=Math.max,se=Math.min,re=Math.round;function ae(t,e,i){return T(t,se(e,i))}function le(){return{top:0,right:0,bottom:0,left:0}}function ce(t){return Object.assign({},le(),t)}function de(i,t){return t.reduce(function(t,e){return t[e]=i,t},{})}var ue={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i,n,o,s=t.state,r=t.name,t=t.options,a=s.elements.arrow,l=s.modifiersData.popperOffsets,c=oe(d=O(s.placement)),d=0<=[L,A].indexOf(d)?"height":"width";a&&l&&(t=t.padding,i=s,i=ce("number"!=typeof(t="function"==typeof t?t(Object.assign({},i.rects,{placement:i.placement})):t)?t:de(t,Mt)),t=Kt(a),o="y"===c?E:L,n="y"===c?D:A,e=s.rects.reference[d]+s.rects.reference[c]-l[c]-s.rects.popper[d],l=l[c]-s.rects.reference[c],a=(a=ne(a))?"y"===c?a.clientHeight||0:a.clientWidth||0:0,o=i[o],i=a-t[d]-i[n],o=ae(o,n=a/2-t[d]/2+(e/2-l/2),i),s.modifiersData[r]=((a={})[c]=o,a.centerOffset=o-n,a))},effect:function(t){var e=t.state;null!=(t=void 0===(t=t.options.element)?"[data-popper-arrow]":t)&&("string"!=typeof t||(t=e.elements.popper.querySelector(t)))&&te(e.elements.popper,t)&&(e.elements.arrow=t)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},he={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pe(t){var e,i,n,o=t.popper,s=t.popperRect,r=t.placement,a=t.offsets,l=t.position,c=t.gpuAcceleration,d=t.adaptive,t=t.roundOffsets,u=!0===t?(u=(h=a).x,h=a.y,p=window.devicePixelRatio||1,{x:re(re(u*p)/p)||0,y:re(re(h*p)/p)||0}):"function"==typeof t?t(a):a,h=u.x,p=void 0===h?0:h,t=u.y,t=void 0===t?0:t,f=a.hasOwnProperty("x"),a=a.hasOwnProperty("y"),m=L,g=E,y=window,o=(d&&(n="clientHeight",i="clientWidth",(e=ne(o))===w(o)&&"static"!==k(e=x(o)).position&&(n="scrollHeight",i="scrollWidth"),r===E&&(g=D,t=(t-(e[n]-s.height))*(c?1:-1)),r===L)&&(m=A,p=(p-(e[i]-s.width))*(c?1:-1)),Object.assign({position:l},d&&he));return c?Object.assign({},o,((n={})[g]=a?"0":"",n[m]=f?"0":"",n.transform=(y.devicePixelRatio||1)<2?"translate("+p+"px, "+t+"px)":"translate3d("+p+"px, "+t+"px, 0)",n)):Object.assign({},o,((r={})[g]=a?t+"px":"",r[m]=f?p+"px":"",r.transform="",r))}var fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,t=t.options,i=void 0===(i=t.gpuAcceleration)||i,n=void 0===(n=t.adaptive)||n,t=void 0===(t=t.roundOffsets)||t,i={placement:O(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,pe(Object.assign({},i,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:n,roundOffsets:t})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,pe(Object.assign({},i,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:t})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},me={passive:!0};var ge={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=(t=t.options).scroll,o=void 0===n||n,s=void 0===(n=t.resize)||n,r=w(e.elements.popper),a=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&a.forEach(function(t){t.addEventListener("scroll",i.update,me)}),s&&r.addEventListener("resize",i.update,me),function(){o&&a.forEach(function(t){t.removeEventListener("scroll",i.update,me)}),s&&r.removeEventListener("resize",i.update,me)}},data:{}},ye={left:"right",right:"left",bottom:"top",top:"bottom"};function ve(t){return t.replace(/left|right|bottom|top/g,function(t){return ye[t]})}var be={start:"end",end:"start"};function we(t){return t.replace(/start|end/g,function(t){return be[t]})}function _e(t){t=w(t);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){return Jt(x(t)).left+_e(t).scrollLeft}function xe(t){var t=k(t),e=t.overflow,i=t.overflowX,t=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+t+i)}function Te(t,e){void 0===e&&(e=[]);var i=function t(e){return 0<=["html","body","#document"].indexOf(b(e))?e.ownerDocument.body:_(e)&&xe(e)?e:t(ee(e))}(t),t=i===(null==(t=t.ownerDocument)?void 0:t.body),n=w(i),n=t?[n].concat(n.visualViewport||[],xe(i)?i:[]):i,i=e.concat(n);return t?i:i.concat(Te(ee(n)))}function Se(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ce(t,e){return e===It?Se((n=w(i=t),o=x(i),n=n.visualViewport,s=o.clientWidth,o=o.clientHeight,a=r=0,n&&(s=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:s,height:o,x:r+ke(i),y:a})):_(e)?((s=Jt(n=e)).top=s.top+n.clientTop,s.left=s.left+n.clientLeft,s.bottom=s.top+n.clientHeight,s.right=s.left+n.clientWidth,s.width=n.clientWidth,s.height=n.clientHeight,s.x=s.left,s.y=s.top,s):Se((o=x(t),r=x(o),i=_e(o),a=null==(a=o.ownerDocument)?void 0:a.body,e=T(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),t=T(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-i.scrollLeft+ke(o),i=-i.scrollTop,"rtl"===k(a||r).direction&&(o+=T(r.clientWidth,a?a.clientWidth:0)-e),{width:e,height:t,x:o,y:i}));var i,n,o,s,r,a}function Ee(i,t,e){var n,o="clippingParents"===t?(s=Te(ee(o=i)),Xt(n=0<=["absolute","fixed"].indexOf(k(o).position)&&_(o)?ne(o):o)?s.filter(function(t){return Xt(t)&&te(t,n)&&"body"!==b(t)}):[]):[].concat(t),s=[].concat(o,[e]),t=s[0],e=s.reduce(function(t,e){e=Ce(i,e);return t.top=T(e.top,t.top),t.right=se(e.right,t.right),t.bottom=se(e.bottom,t.bottom),t.left=T(e.left,t.left),t},Ce(i,t));return e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}function De(t){return t.split("-")[1]}function Ae(t){var e,i=t.reference,n=t.element,t=t.placement,o=t?O(t):null,t=t?De(t):null,s=i.x+i.width/2-n.width/2,r=i.y+i.height/2-n.height/2;switch(o){case E:e={x:s,y:i.y-n.height};break;case D:e={x:s,y:i.y+i.height};break;case A:e={x:i.x+i.width,y:r};break;case L:e={x:i.x-n.width,y:r};break;default:e={x:i.x,y:i.y}}var a=o?oe(o):null;if(null!=a){var l="y"===a?"height":"width";switch(t){case jt:e[a]=e[a]-(i[l]/2-n[l]/2);break;case Pt:e[a]=e[a]+(i[l]/2-n[l]/2)}}return e}function Le(t,e){var n,e=e=void 0===e?{}:e,i=e.placement,i=void 0===i?t.placement:i,o=e.boundary,o=void 0===o?Nt:o,s=e.rootBoundary,s=void 0===s?It:s,r=e.elementContext,r=void 0===r?Ht:r,a=e.altBoundary,a=void 0!==a&&a,e=e.padding,e=void 0===e?0:e,e=ce("number"!=typeof e?e:de(e,Mt)),l=t.elements.reference,c=t.rects.popper,a=t.elements[a?r===Ht?Ft:Ht:r],a=Ee(Xt(a)?a:a.contextElement||x(t.elements.popper),o,s),o=Jt(l),s=Ae({reference:o,element:c,strategy:"absolute",placement:i}),l=Se(Object.assign({},c,s)),c=r===Ht?l:o,d={top:a.top-c.top+e.top,bottom:c.bottom-a.bottom+e.bottom,left:a.left-c.left+e.left,right:c.right-a.right+e.right},s=t.modifiersData.offset;return r===Ht&&s&&(n=s[i],Object.keys(d).forEach(function(t){var e=0<=[A,D].indexOf(t)?1:-1,i=0<=[E,D].indexOf(t)?"y":"x";d[t]+=n[i]*e})),d}var Oe={name:"flip",enabled:!0,phase:"main",fn:function(t){var u=t.state,e=t.options,t=t.name;if(!u.modifiersData[t]._skip){for(var i=e.mainAxis,n=void 0===i||i,i=e.altAxis,o=void 0===i||i,i=e.fallbackPlacements,h=e.padding,p=e.boundary,f=e.rootBoundary,s=e.altBoundary,r=e.flipVariations,m=void 0===r||r,g=e.allowedAutoPlacements,r=u.options.placement,e=O(r),i=i||(e===r||!m?[ve(r)]:O(i=r)===$t?[]:(e=ve(i),[we(i),e,we(e)])),a=[r].concat(i).reduce(function(t,e){return t.concat(O(e)===$t?(i=u,n=(t=t=void 0===(t={placement:e,boundary:p,rootBoundary:f,padding:h,flipVariations:m,allowedAutoPlacements:g})?{}:t).placement,o=t.boundary,s=t.rootBoundary,r=t.padding,a=t.flipVariations,l=void 0===(t=t.allowedAutoPlacements)?Rt:t,c=De(n),t=c?a?qt:qt.filter(function(t){return De(t)===c}):Mt,d=(n=0===(n=t.filter(function(t){return 0<=l.indexOf(t)})).length?t:n).reduce(function(t,e){return t[e]=Le(i,{placement:e,boundary:o,rootBoundary:s,padding:r})[O(e)],t},{}),Object.keys(d).sort(function(t,e){return d[t]-d[e]})):e);var i,n,o,s,r,a,l,c,d},[]),l=u.rects.reference,c=u.rects.popper,d=new Map,y=!0,v=a[0],b=0;bc[T]&&(x=ve(x)),ve(x)),T=[];if(n&&T.push(S[_]<=0),o&&T.push(S[x]<=0,S[k]<=0),T.every(function(t){return t})){v=w,y=!1;break}d.set(w,T)}if(y)for(var C=m?3:1;0"applyStyles"===t.name&&!1===t.enabled);this._popper=We(t,this._menu,i),n&&l.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>m.on(t,"mouseover",null,B())),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle(C),this._element.classList.toggle(C),m.trigger(this._element,"shown.bs.dropdown",t)}}}hide(){var t;this._element.disabled||this._element.classList.contains(Ke)||!this._menu.classList.contains(C)||(t={relatedTarget:this._element},m.trigger(this._element,Qe,t).defaultPrevented)||(this._popper&&this._popper.destroy(),this._menu.classList.toggle(C),this._element.classList.toggle(C),l.removeDataAttribute(this._menu,"popper"),m.trigger(this._element,Je,t))}dispose(){m.off(this._element,S),this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){m.on(this._element,"click.bs.dropdown",t=>{t.preventDefault(),this.toggle()})}_getConfig(t){if(t={...this.constructor.Default,...l.getDataAttributes(this._element),...t},i(ze,t,this.constructor.DefaultType),"object"!=typeof t.reference||r(t.reference)||"function"==typeof t.reference.getBoundingClientRect)return t;throw new TypeError(ze.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_getMenuElement(){return h.next(this._element,ei)[0]}_getPlacement(){var t,e=this._element.parentNode;return e.classList.contains("dropend")?ri:e.classList.contains("dropstart")?ai:(t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),e.classList.contains("dropup")?t?ni:ii:t?si:oi)}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const e=this._config["offset"];return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){var t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}static dropdownInterface(t,e){let i=a(t,Ue);var n="object"==typeof e?e:null;if(i=i||new $(t,n),"string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}static jQueryInterface(t){return this.each(function(){$.dropdownInterface(this,t)})}static clearMenus(i){if(i){if(2===i.button||"keyup"===i.type&&"Tab"!==i.key)return;if(/input|select|textarea|form/i.test(i.target.tagName))return}var n=h.find(ti);for(let t=0,e=n.length;ti.composedPath().includes(t)))continue;if("keyup"===i.type&&"Tab"===i.key&&r.contains(i.target))continue}m.trigger(n[t],Qe,s).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>m.off(t,"mouseover",null,B())),n[t].setAttribute("aria-expanded","false"),o._popper&&o._popper.destroy(),r.classList.remove(C),n[t].classList.remove(C),l.removeDataAttribute(r,"popper"),m.trigger(n[t],Je,s))}}}}static getParentFromElement(t){return o(t)||t.parentNode}static dataApiKeydownHandler(e){if((/input|textarea/i.test(e.target.tagName)?!("Space"===e.key||e.key!==Ge&&(e.key!==Xe&&e.key!==Ve||e.target.closest(ei))):Ze.test(e.key))&&(e.preventDefault(),e.stopPropagation(),!this.disabled)&&!this.classList.contains(Ke)){var t=$.getParentFromElement(this),i=this.classList.contains(C);if(e.key===Ge)(this.matches(ti)?this:h.prev(this,ti)[0]).focus(),$.clearMenus();else if(i||e.key!==Ve&&e.key!==Xe)if(i&&"Space"!==e.key){i=h.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",t).filter(R);if(i.length){let t=i.indexOf(e.target);e.key===Ve&&0this.hide(t)),m.on(this._dialog,bi,()=>{m.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(t){t&&t.preventDefault(),!this._isShown||this._isTransitioning||m.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,(t=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),m.off(document,mi),this._element.classList.remove(_i),m.off(this._element,yi),m.off(this._dialog,bi),t?(t=d(this._element),m.one(this._element,"transitionend",t=>this._hideModal(t)),u(this._element,t)):this._hideModal())}dispose(){[window,this._element,this._dialog].forEach(t=>m.off(t,M)),super.dispose(),m.off(document,mi),this._config=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null}handleUpdate(){this._adjustDialog()}_getConfig(t){return t={...ui,...t},i("modal",t,hi),t}_showElement(t){var e=this._isAnimated(),i=h.findOne(".modal-body",this._dialog),i=(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),e&&z(this._element),this._element.classList.add(_i),this._config.focus&&this._enforceFocus(),()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,m.trigger(this._element,"shown.bs.modal",{relatedTarget:t})});e?(e=d(this._dialog),m.one(this._dialog,"transitionend",i),u(this._dialog,e)):i()}_enforceFocus(){m.off(document,mi),m.on(document,mi,t=>{document===t.target||this._element===t.target||this._element.contains(t.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?m.on(this._element,vi,t=>{this._config.keyboard&&"Escape"===t.key?(t.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==t.key||this._triggerBackdropTransition()}):m.off(this._element,vi)}_setResizeEvent(){this._isShown?m.on(window,gi,()=>this._adjustDialog()):m.off(window,gi)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(()=>{document.body.classList.remove(wi),this._resetAdjustments(),this._resetScrollbar(),m.trigger(this._element,pi)})}_removeBackdrop(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null}_showBackdrop(t){var e,i=this._isAnimated();this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add("fade"),document.body.appendChild(this._backdrop),m.on(this._element,yi,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===this._config.backdrop?this._triggerBackdropTransition():this.hide())}),i&&z(this._backdrop),this._backdrop.classList.add(_i),i?(e=d(this._backdrop),m.one(this._backdrop,"transitionend",t),u(this._backdrop,e)):t()):!this._isShown&&this._backdrop?(this._backdrop.classList.remove(_i),e=()=>{this._removeBackdrop(),t()},i?(i=d(this._backdrop),m.one(this._backdrop,"transitionend",e),u(this._backdrop,i)):e()):t()}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var t=m.trigger(this._element,"hidePrevented.bs.modal");if(!t.defaultPrevented){const e=this._element.scrollHeight>document.documentElement.clientHeight,i=(e||(this._element.style.overflowY="hidden"),this._element.classList.add(ki),d(this._dialog));m.off(this._element,"transitionend"),m.one(this._element,"transitionend",()=>{this._element.classList.remove(ki),e||(m.one(this._element,"transitionend",()=>{this._element.style.overflowY=""}),u(this._element,i))}),u(this._element,i),this._element.focus()}}_adjustDialog(){var t=this._element.scrollHeight>document.documentElement.clientHeight;(!this._isBodyOverflowing&&t&&!e()||this._isBodyOverflowing&&!t&&e())&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),(this._isBodyOverflowing&&!t&&!e()||!this._isBodyOverflowing&&t&&e())&&(this._element.style.paddingRight=this._scrollbarWidth+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}_checkScrollbar(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)t+this._scrollbarWidth),this._setElementAttributes(Ti,"marginRight",t=>t-this._scrollbarWidth),this._setElementAttributes("body","paddingRight",t=>t+this._scrollbarWidth)),document.body.classList.add(wi)}_setElementAttributes(t,n,o){h.find(t).forEach(t=>{var e,i;t!==document.body&&window.innerWidth>t.clientWidth+this._scrollbarWidth||(e=t.style[n],i=window.getComputedStyle(t)[n],l.setDataAttribute(t,n,e),t.style[n]=o(Number.parseFloat(i))+"px")})}_resetScrollbar(){this._resetElementAttributes(xi,"paddingRight"),this._resetElementAttributes(Ti,"marginRight"),this._resetElementAttributes("body","paddingRight")}_resetElementAttributes(t,i){h.find(t).forEach(t=>{var e=l.getDataAttribute(t,i);void 0===e&&t===document.body?t.style[i]="":(l.removeDataAttribute(t,i),t.style[i]=e)})}_getScrollbarWidth(){var t=document.createElement("div"),e=(t.className="modal-scrollbar-measure",document.body.appendChild(t),t.getBoundingClientRect().width-t.clientWidth);return document.body.removeChild(t),e}static jQueryInterface(i,n){return this.each(function(){let t=a(this,di);var e={...ui,...l.getDataAttributes(this),..."object"==typeof i&&i?i:{}};if(t=t||new Si(this,e),"string"==typeof i){if(void 0===t[i])throw new TypeError(`No method named "${i}"`);t[i](n)}})}}m.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(t){const e=o(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),m.one(e,fi,t=>{t.defaultPrevented||m.one(e,pi,()=>{R(this)&&this.focus()})});let i=a(e,di);i||(t={...l.getDataAttributes(e),...l.getDataAttributes(this)},i=new Si(e,t)),i.toggle(this)}),t("modal",Si);const Ci=".fixed-top, .fixed-bottom, .is-fixed",Ei=".sticky-top",Di=()=>{var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)},Ai=(t,n,o)=>{const s=Di();h.find(t).forEach(t=>{var e,i;t!==document.body&&window.innerWidth>t.clientWidth+s||(e=t.style[n],i=window.getComputedStyle(t)[n],l.setDataAttribute(t,n,e),t.style[n]=o(Number.parseFloat(i))+"px")})},Li=(t,i)=>{h.find(t).forEach(t=>{var e=l.getDataAttribute(t,i);void 0===e&&t===document.body?t.style.removeProperty(i):(l.removeDataAttribute(t,i),t.style[i]=e)})},Oi="offcanvas",$i="bs.offcanvas";zt="."+$i,Ut=".data-api";const Mi={backdrop:!0,keyboard:!0,scroll:!1},ji={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Pi="offcanvas-backdrop",Ni="offcanvas-toggling",Ii=".offcanvas.show",Hi=(Ii,Ni,"hidden"+zt),Fi="focusin"+zt,qi="click"+zt+Ut;class Ri extends s{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._addEventListeners()}static get Default(){return Mi}static get DATA_KEY(){return $i}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){var e;this._isShown||m.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._config.backdrop&&document.body.classList.add(Pi),this._config.scroll||(e=Di(),document.body.style.overflow="hidden",Ai(Ci,"paddingRight",t=>t+e),Ai(Ei,"marginRight",t=>t-e),Ai("body","paddingRight",t=>t+e)),this._element.classList.add(Ni),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),setTimeout(()=>{this._element.classList.remove(Ni),m.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t}),this._enforceFocusOnElement(this._element)},d(this._element)))}hide(){this._isShown&&!m.trigger(this._element,"hide.bs.offcanvas").defaultPrevented&&(this._element.classList.add(Ni),m.off(document,Fi),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),setTimeout(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.backdrop&&document.body.classList.remove(Pi),this._config.scroll||(document.body.style.overflow="auto",Li(Ci,"paddingRight"),Li(Ei,"marginRight"),Li("body","paddingRight")),m.trigger(this._element,Hi),this._element.classList.remove(Ni)},d(this._element)))}_getConfig(t){return t={...Mi,...l.getDataAttributes(this._element),..."object"==typeof t?t:{}},i(Oi,t,ji),t}_enforceFocusOnElement(e){m.off(document,Fi),m.on(document,Fi,t=>{document===t.target||e===t.target||e.contains(t.target)||e.focus()}),e.focus()}_addEventListeners(){m.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide()),m.on(document,"keydown",t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}),m.on(document,qi,t=>{var e=h.findOne(F(t.target));this._element.contains(t.target)||e===this._element||this.hide()})}static jQueryInterface(e){return this.each(function(){var t=a(this,$i)||new Ri(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)}})}}m.on(document,qi,'[data-bs-toggle="offcanvas"]',function(t){var e=o(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Y(this)||(m.one(e,Hi,()=>{R(this)&&this.focus()}),(t=h.findOne(".offcanvas.show, .offcanvas-toggling"))&&t!==e)||(a(e,$i)||new Ri(e)).toggle(this)}),m.on(window,"load.bs.offcanvas.data-api",()=>{h.find(Ii).forEach(t=>(a(t,$i)||new Ri(t)).show())}),t(Oi,Ri);const Yi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const Wi=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Bi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;Gt={"*":["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 zi(t,i,e){if(!t.length)return t;if(e&&"function"==typeof e)return e(t);var e=(new window.DOMParser).parseFromString(t,"text/html"),n=Object.keys(i),o=[].concat(...e.body.querySelectorAll("*"));for(let t=0,e=o.length;t{((t,e)=>{var i=t.nodeName.toLowerCase();if(e.includes(i))return!Yi.has(i)||Boolean(Wi.test(t.nodeValue)||Bi.test(t.nodeValue));var n=e.filter(t=>t instanceof RegExp);for(let t=0,e=n.length;t
',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:Gt,popperConfig:null},tn={HIDE:"hide"+j,HIDDEN:"hidden"+j,SHOW:"show"+j,SHOWN:"shown"+j,INSERTED:"inserted"+j,CLICK:"click"+j,FOCUSIN:"focusin"+j,FOCUSOUT:"focusout"+j,MOUSEENTER:"mouseenter"+j,MOUSELEAVE:"mouseleave"+j},en="fade",nn="show",on="show",sn="hover",rn="focus";class an extends s{constructor(t,e){if(void 0===Be)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return Ki}static get NAME(){return Ui}static get DATA_KEY(){return Gi}static get Event(){return tn}static get EVENT_KEY(){return j}static get DefaultType(){return Qi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){this._isEnabled&&(t?((t=this._initializeOnDelegatedTarget(t))._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)):this.getTipElement().classList.contains(nn)?this._leave(null,this):this._enter(null,this))}dispose(){clearTimeout(this._timeout),m.off(this._element,this.constructor.EVENT_KEY),m.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.config=null,this.tip=null,super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");var t,e,i;this.isWithContent()&&this._isEnabled&&(i=m.trigger(this._element,this.constructor.Event.SHOW),e=(null===(e=W(this._element))?this._element.ownerDocument.documentElement:e).contains(this._element),!i.defaultPrevented)&&e&&(i=this.getTipElement(),e=I(this.constructor.NAME),i.setAttribute("id",e),this._element.setAttribute("aria-describedby",e),this.setContent(),this.config.animation&&i.classList.add(en),e="function"==typeof this.config.placement?this.config.placement.call(this,i,this._element):this.config.placement,e=this._getAttachment(e),this._addAttachmentClass(e),t=this._getContainer(),G(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(t.appendChild(i),m.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=We(this._element,i,this._getPopperConfig(e)),i.classList.add(nn),(t="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass)&&i.classList.add(...t.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{m.on(t,"mouseover",B())}),e=()=>{var t=this._hoverState;this._hoverState=null,m.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this)},this.tip.classList.contains(en)?(i=d(this.tip),m.one(this.tip,"transitionend",e),u(this.tip,i)):e())}hide(){if(this._popper){const i=this.getTipElement();var t,e=()=>{this._isWithActiveTrigger()||(this._hoverState!==on&&i.parentNode&&i.parentNode.removeChild(i),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),m.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))};m.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(i.classList.remove(nn),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>m.off(t,"mouseover",B)),this._activeTrigger.click=!1,this._activeTrigger[rn]=!1,this._activeTrigger[sn]=!1,this.tip.classList.contains(en)?(t=d(i),m.one(i,"transitionend",e),u(i,t)):e(),this._hoverState="")}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){var t;return this.tip||((t=document.createElement("div")).innerHTML=this.config.template,this.tip=t.children[0]),this.tip}setContent(){var t=this.getTipElement();this.setElementContent(h.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove(en,nn)}setElementContent(t,e){null!==t&&("object"==typeof e&&r(e)?(e.jquery&&(e=e[0]),this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent):this.config.html?(this.config.sanitize&&(e=zi(e,this.config.allowList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){let t=this._element.getAttribute("data-bs-original-title");return t=t||("function"==typeof this.config.title?this.config.title.call(this._element):this.config.title)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){var i=this.constructor.DATA_KEY;return(e=e||a(t.delegateTarget,i))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),G(t.delegateTarget,i,e)),e}_getOffset(){const e=this.config["offset"];return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(t){t={placement:t,modifiers:[{name:"flip",options:{altBoundary:!0,fallbackPlacements:this.config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this.config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...t,..."function"==typeof this.config.popperConfig?this.config.popperConfig(t):this.config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(Vi+"-"+this.updateAttachment(t))}_getContainer(){return!1===this.config.container?document.body:r(this.config.container)?this.config.container:h.findOne(this.config.container)}_getAttachment(t){return Ji[t.toUpperCase()]}_setListeners(){this.config.trigger.split(" ").forEach(t=>{var e;"click"===t?m.on(this._element,this.constructor.Event.CLICK,this.config.selector,t=>this.toggle(t)):"manual"!==t&&(e=t===sn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,t=t===sn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,m.on(this._element,e,this.config.selector,t=>this._enter(t)),m.on(this._element,t,this.config.selector,t=>this._leave(t)))}),this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config={...this.config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){var t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");!t&&"string"==e||(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?rn:sn]=!0),e.getTipElement().classList.contains(nn)||e._hoverState===on?e._hoverState=on:(clearTimeout(e._timeout),e._hoverState=on,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===on&&e.show()},e.config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?rn:sn]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=l.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{Zi.has(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),i(Ui,t,this.constructor.DefaultType),t.sanitize&&(t.template=zi(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){var t={};if(this.config)for(const e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}_cleanTipClass(){const e=this.getTipElement();var t=e.getAttribute("class").match(Xi);null!==t&&0t.trim()).forEach(t=>e.classList.remove(t))}_handlePopperPlacementChange(t){t=t.state;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}static jQueryInterface(i){return this.each(function(){let t=a(this,Gi);var e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t=t||new an(this,e),"string"==typeof i)){if(void 0===t[i])throw new TypeError(`No method named "${i}"`);t[i]()}})}}t(Ui,an);const ln="popover",cn="bs.popover",P="."+cn,dn="bs-popover",un=new RegExp(`(^|\\s)${dn}\\S+`,"g"),hn={...an.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},pn={...an.DefaultType,content:"(string|element|function)"},fn={HIDE:"hide"+P,HIDDEN:"hidden"+P,SHOW:"show"+P,SHOWN:"shown"+P,INSERTED:"inserted"+P,CLICK:"click"+P,FOCUSIN:"focusin"+P,FOCUSOUT:"focusout"+P,MOUSEENTER:"mouseenter"+P,MOUSELEAVE:"mouseleave"+P};class mn extends an{static get Default(){return hn}static get NAME(){return ln}static get DATA_KEY(){return cn}static get Event(){return fn}static get EVENT_KEY(){return P}static get DefaultType(){return pn}isWithContent(){return this.getTitle()||this._getContent()}setContent(){var t=this.getTipElement();this.setElementContent(h.findOne(".popover-header",t),this.getTitle());let e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(h.findOne(".popover-body",t),e),t.classList.remove("fade","show")}_addAttachmentClass(t){this.getTipElement().classList.add(dn+"-"+this.updateAttachment(t))}_getContent(){return this._element.getAttribute("data-bs-content")||this.config.content}_cleanTipClass(){const e=this.getTipElement();var t=e.getAttribute("class").match(un);null!==t&&0t.trim()).forEach(t=>e.classList.remove(t))}static jQueryInterface(i){return this.each(function(){let t=a(this,cn);var e="object"==typeof i?i:null;if((t||!/dispose|hide/.test(i))&&(t||(t=new mn(this,e),G(this,cn,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError(`No method named "${i}"`);t[i]()}})}}t(ln,mn);const gn="scrollspy",yn="bs.scrollspy",vn="."+yn;const bn={offset:10,method:"auto",target:""},wn={offset:"number",method:"string",target:"(string|element)"};vn,vn;vn;const _n="dropdown-item",kn="active",xn=".nav-link",Tn=".list-group-item",Sn="position";class Cn extends s{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._selector=`${this._config.target} ${xn}, ${this._config.target} ${Tn}, ${this._config.target} .`+_n,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,m.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return bn}static get DATA_KEY(){return yn}refresh(){var t=this._scrollElement===this._scrollElement.window?"offset":Sn;const n="auto"===this._config.method?t:this._config.method,o=n===Sn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),h.find(this._selector).map(t=>{var t=F(t),e=t?h.findOne(t):null;if(e){var i=e.getBoundingClientRect();if(i.width||i.height)return[l[n](e).top+o,t]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){super.dispose(),m.off(this._scrollElement,vn),this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(e){if("string"!=typeof(e={...bn,..."object"==typeof e&&e?e:{}}).target&&r(e.target)){let t=e.target["id"];t||(t=I(gn),e.target.id=t),e.target="#"+t}return i(gn,e,wn),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(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),i<=e)t=this._targets[this._targets.length-1],this._activeTarget!==t&&this._activate(t);else if(this._activeTarget&&e=this._offsets[t]&&(void 0===this._offsets[t+1]||et+`[data-bs-target="${e}"],${t}[href="${e}"]`),t=h.findOne(t.join(","));t.classList.contains(_n)?(h.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(kn),t.classList.add(kn)):(t.classList.add(kn),h.parents(t,".nav, .list-group").forEach(t=>{h.prev(t,xn+", "+Tn).forEach(t=>t.classList.add(kn)),h.prev(t,".nav-item").forEach(t=>{h.children(t,xn).forEach(t=>t.classList.add(kn))})})),m.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){h.find(this._selector).filter(t=>t.classList.contains(kn)).forEach(t=>t.classList.remove(kn))}static jQueryInterface(i){return this.each(function(){let t=a(this,yn);var e="object"==typeof i&&i;if(t=t||new Cn(this,e),"string"==typeof i){if(void 0===t[i])throw new TypeError(`No method named "${i}"`);t[i]()}})}}m.on(window,"load.bs.scrollspy.data-api",()=>{h.find('[data-bs-spy="scroll"]').forEach(t=>new Cn(t,l.getDataAttributes(t)))}),t(gn,Cn);const En="bs.tab";En;const Dn="active",An=".active",Ln=":scope > li > .active";class On extends s{static get DATA_KEY(){return En}show(){if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Dn)||Y(this._element))){let t;var e=o(this._element),i=this._element.closest(".nav, .list-group"),n=(i&&(n="UL"===i.nodeName||"OL"===i.nodeName?Ln:An,t=(t=h.find(n,i))[t.length-1]),t?m.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null);m.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==n&&n.defaultPrevented||(this._activate(this._element,i),n=()=>{m.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),m.trigger(this._element,"shown.bs.tab",{relatedTarget:t})},e?this._activate(e,e.parentNode,n):n())}}_activate(t,e,i){const n=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?h.children(e,An):h.find(Ln,e))[0];var e=i&&n&&n.classList.contains("fade"),o=()=>this._transitionComplete(t,n,i);n&&e?(e=d(n),n.classList.remove("show"),m.one(n,"transitionend",o),u(n,e)):o()}_transitionComplete(t,e,i){var n;e&&(e.classList.remove(Dn),(n=h.findOne(":scope > .dropdown-menu .active",e.parentNode))&&n.classList.remove(Dn),"tab"===e.getAttribute("role"))&&e.setAttribute("aria-selected",!1),t.classList.add(Dn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),z(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&t.parentNode.classList.contains("dropdown-menu")&&(t.closest(".dropdown")&&h.find(".dropdown-toggle").forEach(t=>t.classList.add(Dn)),t.setAttribute("aria-expanded",!0)),i&&i()}static jQueryInterface(e){return this.each(function(){var t=a(this,En)||new On(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}m.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(t){t.preventDefault(),(a(this,En)||new On(this)).show()}),t("tab",On);const $n="bs.toast";Qt="."+$n;const Mn="click.dismiss"+Qt,jn="show",Pn="showing",Nn={animation:"boolean",autohide:"boolean",delay:"number"},In={animation:!0,autohide:!0,delay:5e3};class Hn extends s{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._setListeners()}static get DefaultType(){return Nn}static get Default(){return In}static get DATA_KEY(){return $n}show(){var t,e;m.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),t=()=>{this._element.classList.remove(Pn),this._element.classList.add(jn),m.trigger(this._element,"shown.bs.toast"),this._config.autohide&&(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))},this._element.classList.remove("hide"),z(this._element),this._element.classList.add(Pn),this._config.animation?(e=d(this._element),m.one(this._element,"transitionend",t),u(this._element,e)):t())}hide(){var t,e;this._element.classList.contains(jn)&&!m.trigger(this._element,"hide.bs.toast").defaultPrevented&&(t=()=>{this._element.classList.add("hide"),m.trigger(this._element,"hidden.bs.toast")},this._element.classList.remove(jn),this._config.animation?(e=d(this._element),m.one(this._element,"transitionend",t),u(this._element,e)):t())}dispose(){this._clearTimeout(),this._element.classList.contains(jn)&&this._element.classList.remove(jn),m.off(this._element,Mn),super.dispose(),this._config=null}_getConfig(t){return t={...In,...l.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},i("toast",t,this.constructor.DefaultType),t}_setListeners(){m.on(this._element,Mn,'[data-bs-dismiss="toast"]',()=>this.hide())}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){let t=a(this,$n);var e="object"==typeof i&&i;if(t=t||new Hn(this,e),"string"==typeof i){if(void 0===t[i])throw new TypeError(`No method named "${i}"`);t[i](this)}})}}return t("toast",Hn),{Alert:ct,Button:ht,Carousel:y,Collapse:Ot,Dropdown:$,Modal:Si,Offcanvas:Ri,Popover:mn,ScrollSpy:Cn,Tab:On,Toast:Hn,Tooltip:an}}),!function(t){var e;"function"==typeof define&&define.amd?define("jquery-typeahead",["jquery"],t):"object"==typeof module&&module.exports?module.exports=(void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(void 0)),t(e)):t(jQuery)}(function(A){"use strict";function r(t,e){this.rawQuery=t.val()||"",this.query=t.val()||"",this.selector=t[0].selector,this.deferred=null,this.tmpSource={},this.source={},this.dynamicGroups=[],this.hasDynamicGroups=!1,this.generatedGroupCount=0,this.groupBy="group",this.groups=[],this.searchGroups=[],this.generateGroups=[],this.requestGroups=[],this.result=[],this.tmpResult={},this.groupTemplate="",this.resultHtml=null,this.resultCount=0,this.resultCountPerGroup={},this.options=e,this.node=t,this.namespace="."+this.helper.slugify.call(this,this.selector)+".typeahead",this.isContentEditable=void 0!==this.node.attr("contenteditable")&&"false"!==this.node.attr("contenteditable"),this.container=null,this.resultContainer=null,this.item=null,this.items=null,this.comparedItems=null,this.xhr={},this.hintIndex=null,this.filters={dropdown:{},dynamic:{}},this.dropdownFilter={static:[],dynamic:[]},this.dropdownFilterAll=null,this.isDropdownEvent=!1,this.requests={},this.backdrop={},this.hint={},this.label={},this.hasDragged=!1,this.focusOnly=!1,this.displayEmptyTemplate,this.__construct()}var i,n={input:null,minLength:2,maxLength:!(window.Typeahead={version:"2.11.1"}),maxItem:8,dynamic:!1,delay:300,order:null,offset:!1,hint:!1,accent:!1,highlight:!0,multiselect:null,group:!1,groupOrder:null,maxItemPerGroup:null,dropdownFilter:!1,dynamicFilter:null,backdrop:!1,backdropOnFocus:!1,cache:!1,ttl:36e5,compression:!1,searchOnFocus:!1,blurOnTab:!0,resultContainer:null,generateOnLoad:null,mustSelectItem:!1,href:null,display:["display"],template:null,templateValue:null,groupTemplate:null,correlativeTemplate:!1,emptyTemplate:!1,cancelButton:!0,loadingAnimation:!0,asyncResult:!1,filter:!0,matcher:null,source:null,callback:{onInit:null,onReady:null,onShowLayout:null,onHideLayout:null,onSearch:null,onResult:null,onLayoutBuiltBefore:null,onLayoutBuiltAfter:null,onNavigateBefore:null,onNavigateAfter:null,onEnter:null,onLeave:null,onClickBefore:null,onClickAfter:null,onDropdownFilter:null,onSendRequest:null,onReceiveRequest:null,onPopulateSource:null,onCacheSave:null,onSubmit:null,onCancel:null},selector:{container:"typeahead__container",result:"typeahead__result",list:"typeahead__list",group:"typeahead__group",item:"typeahead__item",empty:"typeahead__empty",display:"typeahead__display",query:"typeahead__query",filter:"typeahead__filter",filterButton:"typeahead__filter-button",dropdown:"typeahead__dropdown",dropdownItem:"typeahead__dropdown-item",labelContainer:"typeahead__label-container",label:"typeahead__label",button:"typeahead__button",backdrop:"typeahead__backdrop",hint:"typeahead__hint",cancelButton:"typeahead__cancel-button"},debug:!1},o={from:"ãàáäâẽèéëêìíïîõòóöôùúüûñç",to:"aaaaaeeeeeiiiiooooouuuunc"},s=~window.navigator.appVersion.indexOf("MSIE 9."),a=~window.navigator.appVersion.indexOf("MSIE 10"),l=!!~window.navigator.userAgent.indexOf("Trident")&&~window.navigator.userAgent.indexOf("rv:11"),e=(r.prototype={_validateCacheMethod:function(t){var e;if(!0===t)t="localStorage";else if("string"==typeof t&&!~["localStorage","sessionStorage"].indexOf(t))return!1;e=void 0!==window[t];try{window[t].setItem("typeahead","typeahead"),window[t].removeItem("typeahead")}catch(t){e=!1}return e&&t||!1},extendOptions:function(){if(this.options.cache=this._validateCacheMethod(this.options.cache),!this.options.compression||"object"==typeof LZString&&this.options.cache||(this.options.compression=!1),this.options.maxLength&&!isNaN(this.options.maxLength)||(this.options.maxLength=1/0),void 0!==this.options.maxItem&&~[0,!1].indexOf(this.options.maxItem)&&(this.options.maxItem=1/0),this.options.maxItemPerGroup&&!/^\d+$/.test(this.options.maxItemPerGroup)&&(this.options.maxItemPerGroup=null),this.options.display&&!Array.isArray(this.options.display)&&(this.options.display=[this.options.display]),this.options.multiselect&&(this.items=[],this.comparedItems=[],"string"==typeof this.options.multiselect.matchOn)&&(this.options.multiselect.matchOn=[this.options.multiselect.matchOn]),!this.options.group||Array.isArray(this.options.group)||("string"==typeof this.options.group?this.options.group={key:this.options.group}:"boolean"==typeof this.options.group&&(this.options.group={key:"group"}),this.options.group.key=this.options.group.key||"group"),this.options.highlight&&!~["any",!0].indexOf(this.options.highlight)&&(this.options.highlight=!1),this.options.dropdownFilter&&this.options.dropdownFilter instanceof Object){Array.isArray(this.options.dropdownFilter)||(this.options.dropdownFilter=[this.options.dropdownFilter]);for(var t=0,e=this.options.dropdownFilter.length;te.maxLength&&(e.minLength=e.maxLength),this.options.source[t]=e,this.options.source[t].dynamic&&this.dynamicGroups.push(t),e.cache=void 0!==e.cache?this._validateCacheMethod(e.cache):this.options.cache,!e.compression||"object"==typeof LZString&&e.cache||(e.compression=!1)}return this.hasDynamicGroups=this.options.dynamic||!!this.dynamicGroups.length,!0},init:function(){this.helper.executeCallback.call(this,this.options.callback.onInit,[this.node]),this.container=this.node.closest("."+this.options.selector.container)},delegateEvents:function(){var e,i=this,t=["focus"+this.namespace,"input"+this.namespace,"propertychange"+this.namespace,"keydown"+this.namespace,"keyup"+this.namespace,"search"+this.namespace,"generate"+this.namespace],n=(A("html").on("touchmove",function(){i.hasDragged=!0}).on("touchstart",function(){i.hasDragged=!1}),this.node.closest("form").on("submit",function(t){if(!i.options.mustSelectItem||!i.helper.isEmpty(i.item))return i.options.backdropOnFocus||i.hideLayout(),i.options.callback.onSubmit?i.helper.executeCallback.call(i,i.options.callback.onSubmit,[i.node,this,i.item||i.items,t]):void 0;t.preventDefault()}).on("reset",function(){setTimeout(function(){i.node.trigger("input"+i.namespace),i.hideLayout()})}),!1);this.node.attr("placeholder")&&(a||l)&&(e=!0,this.node.on("focusin focusout",function(){e=!(this.value||!this.placeholder)}),this.node.on("input",function(t){e&&(t.stopImmediatePropagation(),e=!1)})),this.node.off(this.namespace).on(t.join(" "),function(t,e){switch(t.type){case"generate":i.generateSource(Object.keys(i.options.source));break;case"focus":i.focusOnly?i.focusOnly=!1:(i.options.backdropOnFocus&&(i.buildBackdropLayout(),i.showLayout()),i.options.searchOnFocus&&!i.item&&(i.deferred=A.Deferred(),i.assignQuery(),i.generateSource()));break;case"keydown":8===t.keyCode&&i.options.multiselect&&i.options.multiselect.cancelOnBackspace&&""===i.query&&i.items.length?i.cancelMultiselectItem(i.items.length-1,null,t):t.keyCode&&~[9,13,27,38,39,40].indexOf(t.keyCode)&&(n=!0,i.navigate(t));break;case"keyup":s&&i.node[0].value.replace(/^\s+/,"").toString().length=this.options.source[t].minLength&&this.query.length<=this.options.source[t].maxLength){if(this.filters.dropdown&&"group"===this.filters.dropdown.key&&this.filters.dropdown.value!==t)continue;if(this.searchGroups.push(t),!this.options.source[t].dynamic&&this.source[t])continue;this.generateGroups.push(t)}},generateSource:function(t){if(this.filterGenerateSource(),this.generatedGroupCount=0,Array.isArray(t)&&t.length)this.generateGroups=t;else if(!this.generateGroups.length)return void this.node.trigger("search"+this.namespace);if(this.requestGroups=[],this.options.loadingAnimation&&this.container.addClass("loading"),!this.helper.isEmpty(this.xhr)){for(var e in this.xhr)this.xhr.hasOwnProperty(e)&&this.xhr[e].abort();this.xhr={}}for(var i,n,o,s,r,a,l=this,c=(e=0,this.generateGroups.length);e(new Date).getTime()?(this.populateSource(r.data,i),a=!0):window[s].removeItem("TYPEAHEAD_"+this.selector+":"+i)}catch(t){}if(a)continue}!o.data||o.ajax?o.ajax&&(this.requests[i]||(this.requests[i]=this.generateRequestObject(i)),this.requestGroups.push(i)):"function"==typeof o.data?(n=o.data.call(this),Array.isArray(n)?l.populateSource(n,i):"function"==typeof n.promise&&function(e){A.when(n).then(function(t){t&&Array.isArray(t)&&l.populateSource(t,e)})}(i)):this.populateSource(A.extend(!0,[],o.data),i)}return this.requestGroups.length&&this.handleRequests(),this.options.asyncResult&&this.searchGroups.length!==this.generateGroups&&this.node.trigger("search"+this.namespace),!!this.generateGroups.length},generateRequestObject:function(i){var n=this,o=this.options.source[i],t={request:{url:o.ajax.url||null,dataType:"json",beforeSend:function(t,e){n.xhr[i]=t;t=n.requests[i].callback.beforeSend||o.ajax.beforeSend;"function"==typeof t&&t.apply(null,arguments)}},callback:{beforeSend:null,done:null,fail:null,then:null,always:null},extra:{path:o.ajax.path||null,group:i},validForGroup:[i]};if("function"!=typeof o.ajax&&(o.ajax instanceof Object&&(t=this.extendXhrObject(t,o.ajax)),1/g," ").replace(/\s{2,}/," ").trim();for(l=0,c=i.length;l").html(m.replace(/\{\{([\w\-\.]+)(?:\|(\w+))?}}/g,function(t,e){return n.helper.namespace.call(n,e,i[l],"get","")}).trim()).text();o.display?~o.display.indexOf("compiled")||o.display.unshift("compiled"):~this.options.display.indexOf("compiled")||this.options.display.unshift("compiled")}}this.options.callback.onPopulateSource&&(i=this.helper.executeCallback.call(this,this.options.callback.onPopulateSource,[this.node,i,t,e])),this.tmpSource[t]=Array.isArray(i)&&i||[];var s=this.options.source[t].cache,o=this.options.source[t].compression,g=this.options.source[t].ttl||this.options.ttl;s&&!window[s].getItem("TYPEAHEAD_"+this.selector+":"+t)&&(this.options.callback.onCacheSave&&(i=this.helper.executeCallback.call(this,this.options.callback.onCacheSave,[this.node,i,t,e])),e=JSON.stringify({data:i,ttl:(new Date).getTime()+g}),o&&(e=LZString.compressToUTF16(e)),window[s].setItem("TYPEAHEAD_"+this.selector+":"+t,e)),this.incrementGeneratedGroup(t)},incrementGeneratedGroup:function(t){if(this.generatedGroupCount++,this.generatedGroupCount===this.generateGroups.length||this.options.asyncResult){this.xhr&&this.xhr[t]&&delete this.xhr[t];for(var e=0,i=this.generateGroups.length;e=this.query.length&&e.filter('[data-index="'+this.hintIndex+'"]').find("a:first")[0].click())},getTemplateValue:function(i){var t,n;if(i)return(t="function"==typeof(t=i.group&&this.options.source[i.group].templateValue||this.options.templateValue)?t.call(this):t)?(n=this,t.replace(/\{\{([\w\-.]+)}}/gi,function(t,e){return n.helper.namespace.call(n,e,i,"get","")})):this.helper.namespace.call(this,i.matchedKey,i).toString()},clearActiveItem:function(){this.resultContainer.find("."+this.options.selector.item).removeClass("active")},addActiveItem:function(t){t.addClass("active")},searchResult:function(){this.resetLayout(),!1!==this.helper.executeCallback.call(this,this.options.callback.onSearch,[this.node,this.query])&&(!this.searchGroups.length||this.options.multiselect&&this.options.multiselect.limit&&this.items.length>=this.options.multiselect.limit||this.searchResultData(),this.helper.executeCallback.call(this,this.options.callback.onResult,[this.node,this.query,this.result,this.resultCount,this.resultCountPerGroup]),this.isDropdownEvent)&&(this.helper.executeCallback.call(this,this.options.callback.onDropdownFilter,[this.node,this.query,this.filters.dropdown,this.result]),this.isDropdownEvent=!1)},searchResultData:function(){var t,e,i,n,o,s,r,a,l=this.groupBy,c=this.query.toLowerCase(),d=this.options.maxItem,u=this.options.maxItemPerGroup,h=this.filters.dynamic&&!this.helper.isEmpty(this.filters.dynamic),p="function"==typeof this.options.matcher&&this.options.matcher;this.options.accent&&(c=this.helper.removeAccent.call(this,c));for(var f=0,m=this.searchGroups.length;f=d)||this.options.callback.onResult);g++)if((!h||this.dynamicFilter.validate.apply(this,[this.source[S][g]]))&&null!==(t=this.source[S][g])&&"boolean"!=typeof t&&(!this.options.multiselect||this.isMultiselectUniqueData(t))&&(!this.filters.dropdown||(t[this.filters.dropdown.key]||"").toLowerCase()===(this.filters.dropdown.value||"").toLowerCase())){if((a="group"===l?S:t[l]||t.group)&&!this.tmpResult[a]&&(this.tmpResult[a]=[],this.resultCountPerGroup[a]=0),u&&"group"===l&&this.tmpResult[a].length>=u&&!this.options.callback.onResult)break;for(var v=0,b=(C=this.options.source[S].display||this.options.display).length;v=u)break;this.tmpResult[a].push(A.extend(!0,{matchedKey:C[v]},t)),this.resultItemCount++}break}if(!this.options.callback.onResult){if(this.resultItemCount>=d)break;if(u&&this.tmpResult[a].length>=u&&"group"===l)break}}if(this.options.order){var T,S,C=[];for(S in this.tmpResult)if(this.tmpResult.hasOwnProperty(S)){for(f=0,m=this.tmpResult[S].length;f",{class:this.options.selector.result}),this.container.append(this.resultContainer)),!this.result.length&&this.generatedGroupCount===this.generateGroups.length)if(this.options.multiselect&&this.options.multiselect.limit&&this.items.length>=this.options.multiselect.limit)c=this.options.multiselect.limitTemplate?"function"==typeof this.options.multiselect.limitTemplate?this.options.multiselect.limitTemplate.call(this,this.query):this.options.multiselect.limitTemplate.replace(/\{\{query}}/gi,A("
").text(this.helper.cleanStringFromScript(this.query)).html()):"Can't select more than "+this.items.length+" items.";else{if(!this.options.emptyTemplate||""===this.query)return;c="function"==typeof this.options.emptyTemplate?this.options.emptyTemplate.call(this,this.query):this.options.emptyTemplate.replace(/\{\{query}}/gi,A("
").text(this.helper.cleanStringFromScript(this.query)).html())}this.displayEmptyTemplate=!!c;var o=this.query.toLowerCase(),d=(this.options.accent&&(o=this.helper.removeAccent.call(this,o)),this),t=this.groupTemplate||"
    ",u=!1;this.groupTemplate?t=A(t.replace(/<([^>]+)>\{\{(.+?)}}<\/[^>]+>/g,function(t,e,i,n,o){var s="",r="group"===i?d.groups:[i];if(!d.result.length)return!0===u?"":(u=!0,"<"+e+' class="'+d.options.selector.empty+'">'+c+"");for(var a=0,l=r.length;a
      ";return s})):(t=A(t),this.result.length||t.append(c instanceof A?c:'
    • '+c+"
    • ")),t.addClass(this.options.selector.list+(this.helper.isEmpty(this.result)?" empty":""));for(var e,i,s,n,r,a,l,h,p,f,m=this.groupTemplate&&this.result.length&&d.groups||[],g=0,y=this.result.length;g",{class:d.options.selector.group,html:A("",{href:"javascript:;",html:i||e,tabindex:-1}),"data-search-group":e}))),this.groupTemplate&&m.length&&~(f=m.indexOf(e||s.group))&&m.splice(f,1),f=A("
    • ",{class:d.options.selector.item+" "+d.options.selector.group+"-"+this.helper.slugify.call(this,e),disabled:!!s.disabled,"data-group":e,"data-index":g,html:A("",{href:n&&!s.disabled?s.href=d.generateHref.call(d,n,s):"javascript:;",html:function(){if(r=s.group&&d.options.source[s.group].template||d.options.template)"function"==typeof r&&(r=r.call(d,d.query,s)),a=r.replace(/\{\{([^\|}]+)(?:\|([^}]+))*}}/gi,function(t,e,i){var n=d.helper.cleanStringFromScript(String(d.helper.namespace.call(d,e,s,"get","")));return~(i=i&&i.split("|")||[]).indexOf("slugify")&&(n=d.helper.slugify.call(d,n)),~i.indexOf("raw")||!0===d.options.highlight&&o&&~h.indexOf(e)&&(n=d.helper.highlight.call(d,n,o.split(" "),d.options.accent)),n});else{for(var t=0,e=h.length;t'+d.helper.cleanStringFromScript(String(l.join(" ")))+""}(!0===d.options.highlight&&o&&!r||"any"===d.options.highlight)&&(a=d.helper.highlight.call(d,a,o.split(" "),d.options.accent)),A(this).append(a)}})}),function(i,t){t.on("click",function(t,e){i.disabled||(e&&"object"==typeof e&&(t.originalEvent=e),d.options.mustSelectItem&&d.helper.isEmpty(i))?t.preventDefault():(d.options.multiselect||(d.item=i),!1===d.helper.executeCallback.call(d,d.options.callback.onClickBefore,[d.node,A(this),i,t])||t.originalEvent&&t.originalEvent.defaultPrevented||t.isDefaultPrevented()||(d.options.multiselect?(d.query=d.rawQuery="",d.addMultiselectItemLayout(i)):(d.focusOnly=!0,d.query=d.rawQuery=d.getTemplateValue.call(d,i),d.isContentEditable&&(d.node.text(d.query),d.helper.setCaretAtEnd(d.node[0]))),d.hideLayout(),d.node.val(d.query).focus(),d.options.cancelButton&&d.toggleCancelButtonVisibility(),d.helper.executeCallback.call(d,d.options.callback.onClickAfter,[d.node,A(this),i,t])))}),t.on("mouseenter",function(t){i.disabled||(d.clearActiveItem(),d.addActiveItem(A(this))),d.helper.executeCallback.call(d,d.options.callback.onEnter,[d.node,A(this),i,t])}),t.on("mouseleave",function(t){i.disabled||d.clearActiveItem(),d.helper.executeCallback.call(d,d.options.callback.onLeave,[d.node,A(this),i,t])})}(s,f),(this.groupTemplate?t.find('[data-group-template="'+e+'"] ul'):t).append(f);if(this.result.length&&m.length)for(g=0,y=m.length;g",{class:this.options.selector.backdrop,css:this.backdrop.css}).insertAfter(this.container)),this.container.addClass("backdrop").css({"z-index":this.backdrop.css["z-index"]+1,position:"relative"}))},buildHintLayout:function(t){if(this.options.hint)if(this.node[0].scrollWidth>Math.ceil(this.node.innerWidth()))this.hint.container&&this.hint.container.val("");else{var e=this,i="",n=(t=t||this.result,this.query.toLowerCase());if(this.options.accent&&(n=this.helper.removeAccent.call(this,n)),this.hintIndex=null,this.searchGroups.length){if(this.hint.container||(this.hint.css=A.extend({"border-color":"transparent",position:"absolute",top:0,display:"inline","z-index":-1,float:"none",color:"silver","box-shadow":"none",cursor:"default","-webkit-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},this.options.hint),this.hint.container=A("<"+this.node[0].nodeName+"/>",{type:this.node.attr("type"),class:this.node.attr("class"),readonly:!0,unselectable:"on","aria-hidden":"true",tabindex:-1,click:function(){e.node.focus()}}).addClass(this.options.selector.hint).css(this.hint.css).insertAfter(this.node),this.node.parent().css({position:"relative"})),this.hint.container.css("color",this.hint.css.color),n)for(var o,s,r=0,a=t.length;r",{class:(i=this).options.selector.filter,html:function(){A(this).append(A("',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('