").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=q([])},_setOption:function(e,t){var i=this;this._super(e,t),"content"===e&&q.each(this.tooltips,function(e,t){i._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var n=this;q.each(this.tooltips,function(e,t){var i=q.Event("blur");i.target=i.currentTarget=t.element[0],n.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=q(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=q(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=q([])},open:function(e){var i=this,t=q(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=q(this);t.data("ui-tooltip-open")&&((e=q.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),t.attr("title")&&(t.uniqueId(),i.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,i){var e=this.options.content,n=this,s=i?i.type:null;if("string"==typeof e||e.nodeType||e.jquery)return this._open(i,t,e);(e=e.call(t[0],function(e){n._delay(function(){t.data("ui-tooltip-open")&&(i&&(i.type=s),this._open(i,t,e))})}))&&this._open(i,t,e)},_open:function(e,t,i){var n,s,o,r=q.extend({},this.options.position);function a(e){r.of=e,n.is(":hidden")||n.position(r)}i&&((o=this._find(t))?o.tooltip.find(".ui-tooltip-content").html(i):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),o=this._tooltip(t),n=o.tooltip,this._addDescribedBy(t,n.attr("id")),n.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(o=q("
").html(n.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),o.removeAttr("id").find("[id]").removeAttr("id"),o.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:a}),a(e)):n.position(q.extend({of:t},this.options.position)),n.hide(),this._show(n,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(s=this.delayedShow=setInterval(function(){n.is(":visible")&&(a(r.of),clearInterval(s))},13)),this._trigger("open",e,{tooltip:n})))},_registerCloseHandlers:function(e,t){var i={keyup:function(e){e.keyCode===q.ui.keyCode.ESCAPE&&((e=q.Event(e)).currentTarget=t[0],this.close(e,!0))}};t[0]!==this.element[0]&&(i.remove=function(){var e=this._find(t);e&&this._removeTooltip(e.tooltip)}),e&&"mouseover"!==e.type||(i.mouseleave="close"),e&&"focusin"!==e.type||(i.focusout="close"),this._on(!0,t,i)},close:function(e){var t,i=this,n=q(e?e.currentTarget:this.element),s=this._find(n);s?(t=s.tooltip,s.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),s.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){i._removeTooltip(q(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&q.each(this.parents,function(e,t){q(t.element).attr("title",t.title),delete i.parents[e]}),s.closing=!0,this._trigger("close",e,{tooltip:t}),s.hiding)||(s.closing=!1)):n.removeData("ui-tooltip-open")},_tooltip:function(e){var t=q("
").attr("role","tooltip"),i=q("
").appendTo(t),n=t.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[n]={element:e,tooltip:t}},_find:function(e){e=e.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(e){clearInterval(this.delayedShow),e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){e=e.closest(".ui-front, dialog");return e=e.length?e:this.document[0].body},_destroy:function(){var n=this;q.each(this.tooltips,function(e,t){var i=q.Event("blur"),t=t.element;i.target=i.currentTarget=t[0],n.close(i,!0),q("#"+e).remove(),t.data("ui-tooltip-title")&&(t.attr("title")||t.attr("title",t.data("ui-tooltip-title")),t.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==q.uiBackCompat&&q.widget("ui.tooltip",q.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}}),q.ui.tooltip;var f,g=q,m={},Y=m.toString,Q=/^([\-+])=\s*(\d+\.?\d*)/,$=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],v=g.Color=function(e,t,i,n){return new g.Color.fn.parse(e,t,i,n)},_={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},Z={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},K=v.support={},e=g("
")[0],b=g.each;function y(e){return null==e?e+"":"object"==typeof e?m[Y.call(e)]||"object":typeof e}function A(e,t,i){var n=Z[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:Math.min(n.max,Math.max(0,e)))}function J(n){var s=v(),o=s._rgba=[];return n=n.toLowerCase(),b($,function(e,t){var i=t.re.exec(n),i=i&&t.parse(i),t=t.space||"rgba";if(i)return i=s[t](i),s[_[t].cache]=i[_[t].cache],o=s._rgba=i._rgba,!1}),o.length?("0,0,0,0"===o.join()&&g.extend(o,I.transparent),s):I[n]}function S(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}e.style.cssText="background-color:rgba(1,1,1,.5)",K.rgba=-1o.mod/2?n+=o.mod:n-s>o.mod/2&&(n-=o.mod)),l[i]=A((s-n)*r+n,t)))}),this[e](l)},blend:function(e){var t,i,n;return 1===this._rgba[3]?this:(t=this._rgba.slice(),i=t.pop(),n=v(e)._rgba,v(g.map(t,function(e,t){return(1-i)*n[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=g.map(this._rgba,function(e,t){return null!=e?e:2
").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(e){s=document.body}return i.wrap(e),i[0]!==s&&!q.contains(i[0],s)||q(s).trigger("focus"),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(q.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),q.each(["top","left","bottom","right"],function(e,t){n[t]=i.css(t),isNaN(parseInt(n[t],10))&&(n[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(n).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]!==t&&!q.contains(e[0],t)||q(t).trigger("focus")),e}}),q.extend(q.effects,{version:"1.13.2",define:function(e,t,i){return i||(i=t,t="effect"),q.effects.effect[e]=i,q.effects.effect[e].mode=t,i},scaledDimensions:function(e,t,i){var n;return 0===t?{height:0,width:0,outerHeight:0,outerWidth:0}:(n="horizontal"!==i?(t||100)/100:1,i="vertical"!==i?(t||100)/100:1,{height:e.height()*i,width:e.width()*n,outerHeight:e.outerHeight()*i,outerWidth:e.outerWidth()*n})},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();1
").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(x+"placeholder",t)),e.css({position:i,left:n.left,top:n.top}),t},removePlaceholder:function(e){var t=x+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(e){q.effects.restoreStyle(e),q.effects.removePlaceholder(e)},setTransition:function(n,e,s,o){return o=o||{},q.each(e,function(e,t){var i=n.cssUnit(t);0");l.appendTo("body").addClass(e.className).css({top:n.top-r,left:n.left-o,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(a,e.duration,e.easing,function(){l.remove(),"function"==typeof t&&t()})}}),q.fx.step.clip=function(e){e.clipInit||(e.start=q(e.elem).cssClip(),"string"==typeof e.end&&(e.end=he(e.end,e.elem)),e.clipInit=!0),q(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})},R={},q.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){R[e]=function(e){return Math.pow(e,t+2)}}),q.extend(R,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),q.each(R,function(e,t){q.easing["easeIn"+e]=t,q.easing["easeOut"+e]=function(e){return 1-t(1-e)},q.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});e=q.effects;q.effects.define("blind","hide",function(e,t){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=q(this),s=e.direction||"up",o=n.cssClip(),r={clip:q.extend({},o)},a=q.effects.createPlaceholder(n);r.clip[i[s][0]]=r.clip[i[s][1]],"show"===e.mode&&(n.cssClip(r.clip),a&&a.css(q.effects.clipToBox(r)),r.clip=o),a&&a.animate(q.effects.clipToBox(r),e.duration,e.easing),n.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),q.effects.define("bounce",function(e,t){var i,n,s=q(this),o=e.mode,r="hide"===o,o="show"===o,a=e.direction||"up",l=e.distance,c=e.times||5,h=2*c+(o||r?1:0),u=e.duration/h,d=e.easing,p="up"===a||"down"===a?"top":"left",f="up"===a||"left"===a,g=0,e=s.queue().length;for(q.effects.createPlaceholder(s),a=s.css(p),l=l||s["top"==p?"outerHeight":"outerWidth"]()/3,o&&((n={opacity:1})[p]=a,s.css("opacity",0).css(p,f?2*-l:2*l).animate(n,u,d)),r&&(l/=Math.pow(2,c-1)),(n={})[p]=a;g
").css({position:"absolute",visibility:"visible",left:-n*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:s+(u?r*p:0),top:o+(u?a*f:0),opacity:u?0:1}).animate({left:s+(u?0:r*p),top:o+(u?0:a*f),opacity:u?1:0},e.duration||500,e.easing,m)}),q.effects.define("fade","toggle",function(e,t){var i="show"===e.mode;q(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),q.effects.define("fold","hide",function(t,e){var i=q(this),n=t.mode,s="show"===n,n="hide"===n,o=t.size||15,r=/([0-9]+)%/.exec(o),a=!!t.horizFirst?["right","bottom"]:["bottom","right"],l=t.duration/2,c=q.effects.createPlaceholder(i),h=i.cssClip(),u={clip:q.extend({},h)},d={clip:q.extend({},h)},p=[h[a[0]],h[a[1]]],f=i.queue().length;r&&(o=parseInt(r[1],10)/100*p[n?0:1]),u.clip[a[0]]=o,d.clip[a[0]]=o,d.clip[a[1]]=0,s&&(i.cssClip(d.clip),c&&c.css(q.effects.clipToBox(d)),d.clip=h),i.queue(function(e){c&&c.animate(q.effects.clipToBox(u),l,t.easing).animate(q.effects.clipToBox(d),l,t.easing),e()}).animate(u,l,t.easing).animate(d,l,t.easing).queue(e),q.effects.unshift(i,f,4)}),q.effects.define("highlight","show",function(e,t){var i=q(this),n={backgroundColor:i.css("backgroundColor")};"hide"===e.mode&&(n.opacity=0),q.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),q.effects.define("size",function(n,t){var s,i=q(this),e=["fontSize"],o=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],r=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=n.mode,l="effect"!==a,c=n.scale||"both",h=n.origin||["middle","center"],u=i.css("position"),d=i.position(),p=q.effects.scaledDimensions(i),f=n.from||p,g=n.to||q.effects.scaledDimensions(i,0);q.effects.createPlaceholder(i),"show"===a&&(a=f,f=g,g=a),s={from:{y:f.height/p.height,x:f.width/p.width},to:{y:g.height/p.height,x:g.width/p.width}},"box"!==c&&"both"!==c||(s.from.y!==s.to.y&&(f=q.effects.setTransition(i,o,s.from.y,f),g=q.effects.setTransition(i,o,s.to.y,g)),s.from.x!==s.to.x&&(f=q.effects.setTransition(i,r,s.from.x,f),g=q.effects.setTransition(i,r,s.to.x,g))),"content"!==c&&"both"!==c||s.from.y!==s.to.y&&(f=q.effects.setTransition(i,e,s.from.y,f),g=q.effects.setTransition(i,e,s.to.y,g)),h&&(a=q.effects.getBaseline(h,p),f.top=(p.outerHeight-f.outerHeight)*a.y+d.top,f.left=(p.outerWidth-f.outerWidth)*a.x+d.left,g.top=(p.outerHeight-g.outerHeight)*a.y+d.top,g.left=(p.outerWidth-g.outerWidth)*a.x+d.left),delete f.outerHeight,delete f.outerWidth,i.css(f),"content"!==c&&"both"!==c||(o=o.concat(["marginTop","marginBottom"]).concat(e),r=r.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var e=q(this),t=q.effects.scaledDimensions(e),i={height:t.height*s.from.y,width:t.width*s.from.x,outerHeight:t.outerHeight*s.from.y,outerWidth:t.outerWidth*s.from.x},t={height:t.height*s.to.y,width:t.width*s.to.x,outerHeight:t.height*s.to.y,outerWidth:t.width*s.to.x};s.from.y!==s.to.y&&(i=q.effects.setTransition(e,o,s.from.y,i),t=q.effects.setTransition(e,o,s.to.y,t)),s.from.x!==s.to.x&&(i=q.effects.setTransition(e,r,s.from.x,i),t=q.effects.setTransition(e,r,s.to.x,t)),l&&q.effects.saveStyle(e),e.css(i),e.animate(t,n.duration,n.easing,function(){l&&q.effects.restoreStyle(e)})})),i.animate(g,{queue:!1,duration:n.duration,easing:n.easing,complete:function(){var e=i.offset();0===g.opacity&&i.css("opacity",f.opacity),l||(i.css("position","static"===u?"relative":u).offset(e),q.effects.saveStyle(i)),t()}})}),q.effects.define("scale",function(e,t){var i=q(this),n=e.mode,n=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==n?0:100),i=q.extend(!0,{from:q.effects.scaledDimensions(i),to:q.effects.scaledDimensions(i,n,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(i.from.opacity=1,i.to.opacity=0),q.effects.effect.size.call(this,i,t)}),q.effects.define("puff","hide",function(e,t){e=q.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});q.effects.effect.scale.call(this,e,t)}),q.effects.define("pulsate","show",function(e,t){var i=q(this),n=e.mode,s="show"===n,o=2*(e.times||5)+(s||"hide"===n?1:0),r=e.duration/o,a=0,l=1,n=i.queue().length;for(!s&&i.is(":visible")||(i.css("opacity",0).show(),a=1);l
c[D]&&(T=U(T)),U(T)),D=[];if(n&&D.push(F[A]<=0),s&&D.push(F[T]<=0,F[E]<=0),D.every(function(e){return e})){_=y,v=!1;break}h.set(y,D)}if(v)for(var C=g?3:1;0e[n]}));return i.default=e,Object.freeze(i)}const i=k(e),n=new Map,O={set(e,t,i){n.has(e)||n.set(e,new Map);e=n.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get(e,t){return n.has(e)&&n.get(e).get(t)||null},remove(e,t){var i;n.has(e)&&((i=n.get(e)).delete(t),0===i.size)&&n.delete(e)}},L=1e3,U="transitionend",G=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,B=e=>{e.dispatchEvent(new Event(U))},o=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,s=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&0{if(!o(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){e=e.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return t},a=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),X=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?X(e.parentNode):null:null},l=()=>{},c=e=>{e.offsetHeight},W=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,V=[],h=()=>"rtl"===document.documentElement.dir;e=n=>{var e;e=()=>{const e=W();if(e){const t=n.NAME,i=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}},"loading"===document.readyState?(V.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of V)e()}),V.push(e)):e()};const u=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,z=(i,n,e=!0)=>{if(e){e=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);var e=Number.parseFloat(t),n=Number.parseFloat(i);return e||n?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*L):0})(n)+5;let t=!1;const s=({target:e})=>{e===n&&(t=!0,n.removeEventListener(U,s),u(i))};n.addEventListener(U,s),setTimeout(()=>{t||B(n)},e)}else u(i)},j=(e,t,i,n)=>{var s=e.length;let o=e.indexOf(t);return-1===o?!i&&n?e[s-1]:e[0]:(o+=i?1:-1,n&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},q=/[^.]*(?=\..*)\.|.*/,Y=/\..*/,Q=/::\d+$/,$={};let Z=1;const K={mouseenter:"mouseover",mouseleave:"mouseout"},J=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 ee(e,t){return t&&t+"::"+Z++||e.uidEvent||Z++}function te(e){var t=ee(e);return e.uidEvent=t,$[t]=$[t]||{},$[t]}function ie(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function ne(e,t,i){var n="string"==typeof t,t=!n&&t||i;let s=re(e);return[n,t,s=J.has(s)?s:e]}function se(n,s,o,r,a){if("string"==typeof s&&n){let[e,t,i]=ne(s,o,r);s in K&&(t=(l=t,function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return l.call(this,e)}));var l,c,h,u,d,p,r=te(n),r=r[i]||(r[i]={}),f=ie(r,t,e?o:null);f?f.oneOff=f.oneOff&&a:(f=ee(t,s.replace(q,"")),(s=e?(u=n,d=o,p=t,function t(i){var n=u.querySelectorAll(d);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const s of n)if(s===e)return ae(i,{delegateTarget:e}),t.oneOff&&g.off(u,i.type,d,p),p.apply(e,[i])}):(c=n,h=t,function e(t){return ae(t,{delegateTarget:c}),e.oneOff&&g.off(c,t.type,h),h.apply(c,[t])})).delegationSelector=e?o:null,s.callable=t,s.oneOff=a,r[s.uidEvent=f]=s,n.addEventListener(i,s,e))}}function oe(e,t,i,n,s){n=ie(t[i],n,s);n&&(e.removeEventListener(i,n,Boolean(s)),delete t[i][n.uidEvent])}function re(e){return e=e.replace(Y,""),K[e]||e}const g={on(e,t,i,n){se(e,t,i,n,!1)},one(e,t,i,n){se(e,t,i,n,!0)},off(e,t,i,n){if("string"==typeof t&&e){var s,o,[n,r,a]=ne(t,i,n),l=a!==t,c=te(e),h=c[a]||{},u=t.startsWith(".");if(void 0!==r)return Object.keys(h).length?void oe(e,c,a,r,n?i:null):void 0;if(u)for(const y of Object.keys(c)){p=d=_=v=m=g=f=void 0;var d,p,f=e,g=c,m=y,v=t.slice(1),_=g[m]||{};for([d,p]of Object.entries(_))d.includes(v)&&oe(f,g,m,p.callable,p.delegationSelector)}for([s,o]of Object.entries(h)){var b=s.replace(Q,"");l&&!t.includes(b)||oe(e,c,a,o.callable,o.delegationSelector)}}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var n=W();let s=null,o=!0,r=!0,a=!1;t!==re(t)&&n&&(s=n.Event(t,i),n(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());n=ae(new Event(t,{bubbles:o,cancelable:!0}),i);return a&&n.preventDefault(),r&&e.dispatchEvent(n),n.defaultPrevented&&s&&s.preventDefault(),n}};function ae(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get(){return n}})}return t}function le(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function ce(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}const d={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+ce(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+ce(t))},getDataAttributes(t){if(!t)return{};var i={};for(const n of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=n.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=le(t.dataset[n])}return i},getDataAttribute(e,t){return le(e.getAttribute("data-bs-"+ce(t)))}};class t{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var i=o(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,n]of Object.entries(t)){var s=e[i],s=o(s)?"element":null==(s=s)?""+s:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${n}".`)}}}class p extends t{constructor(e,t){super(),(e=s(e))&&(this._element=e,this._config=this._getConfig(t),O.set(this._element,this.constructor.DATA_KEY,this))}dispose(){O.remove(this._element,this.constructor.DATA_KEY),g.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){z(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return O.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.0-alpha2"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}const he=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?e.trim():null}return G(i)},f={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){var i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(",");return this.find(t,e).filter(e=>!a(e)&&r(e))},getSelectorFromElement(e){e=he(e);return e&&f.findOne(e)?e:null},getElementFromSelector(e){e=he(e);return e?f.findOne(e):null},getMultipleElementsFromSelector(e){e=he(e);return e?f.find(e):[]}};var m=(t,i="hide")=>{var e="click.dismiss"+t.EVENT_KEY;const n=t.NAME;g.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(e=f.getElementFromSelector(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class ue extends p{static get NAME(){return"alert"}close(){var e;g.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),g.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=ue.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}m(ue,"close"),e(ue);const de='[data-bs-toggle="button"]';class pe extends p{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){var e=pe.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}g.on(document,"click.bs.button.data-api",de,e=>{e.preventDefault();e=e.target.closest(de);pe.getOrCreateInstance(e).toggle()}),e(pe);const v=".bs.swipe",fe=(v,v,v,v,v,{endCallback:null,leftCallback:null,rightCallback:null}),ge={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class me extends t{constructor(e,t){super(),(this._element=e)&&me.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return fe}static get DefaultType(){return ge}static get NAME(){return"swipe"}dispose(){g.off(this._element,v)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),u(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1this._start(e)),g.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(g.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),g.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),g.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?g.one(this._element,_e,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?g.one(this._element,_e,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=tthis._keydown(e)),"hover"===this._config.pause&&(g.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),g.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&me.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of f.find(".carousel-item img",this._element))g.on(t,"dragstart.bs.carousel",e=>e.preventDefault());var e={leftCallback:()=>this._slide(this._directionToOrder(A)),rightCallback:()=>this._slide(this._directionToOrder(ve)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new me(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Ae[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=f.findOne(".active",this._indicatorsElement)).classList.remove(be),t.removeAttribute("aria-current"),t=f.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(be),t.setAttribute("aria-current","true"))}_updateInterval(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const n=this._getActive();var i=t===b;const s=e||j(this._getItems(),n,i,this._config.wrap);if(s!==n){const o=this._getItemIndex(s),r=e=>g.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});e=r("slide.bs.carousel");if(!e.defaultPrevented&&n&&s){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const a=i?"carousel-item-start":"carousel-item-end",l=i?"carousel-item-next":"carousel-item-prev";s.classList.add(l),c(s),n.classList.add(a),s.classList.add(a);this._queueCallback(()=>{s.classList.remove(a,l),s.classList.add(be),n.classList.remove(be,l,a),this._isSliding=!1,r(_e)},n,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return f.findOne(".active.carousel-item",this._element)}_getItems(){return f.find(ye,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return h()?e===A?y:b:e===A?b:y}_orderToDirection(e){return h()?e===y?A:ve:e===y?ve:A}static jQueryInterface(t){return this.each(function(){var e=E.getOrCreateInstance(this,t);if("number"==typeof t)e.to(t);else if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}g.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){var t=f.getElementFromSelector(this);t&&t.classList.contains("carousel")&&(e.preventDefault(),e=E.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),g.on(window,"load.bs.carousel.data-api",()=>{for(const e of f.find('[data-bs-ride="carousel"]'))E.getOrCreateInstance(e)}),e(E);const T="collapse",De="collapsing",Fe=(T,T,'[data-bs-toggle="collapse"]'),Ce={parent:null,toggle:!0},Se={parent:"(null|element)",toggle:"boolean"};class D extends p{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];for(const s of f.find(Fe)){var i=f.getSelectorFromElement(s),n=f.find(i).filter(e=>e===this._element);null!==i&&n.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ce}static get DefaultType(){return Se}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];if(!(e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>D.getOrCreateInstance(e,{toggle:!1})):e).length||!e[0]._isTransitioning){var t=g.trigger(this._element,"show.bs.collapse");if(!t.defaultPrevented){for(const n of e)n.hide();const i=this._getDimension();this._element.classList.remove(T),this._element.classList.add(De),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;t="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(De),this._element.classList.add(T,"show"),this._element.style[i]="",g.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[t]+"px"}}}}hide(){if(!this._isTransitioning&&this._isShown()){var e=g.trigger(this._element,"hide.bs.collapse");if(!e.defaultPrevented){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",c(this._element),this._element.classList.add(De),this._element.classList.remove(T,"show");for(const i of this._triggerArray){var t=f.getElementFromSelector(i);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(De),this._element.classList.add(T),g.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(e=this._element){return e.classList.contains("show")}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=s(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent)for(const t of this._getFirstLevelChildren(Fe)){var e=f.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=f.find(":scope .collapse .collapse",this._config.parent);return f.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){const i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=D.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}g.on(document,"click.bs.collapse.data-api",Fe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of f.getMultipleElementsFromSelector(this))D.getOrCreateInstance(t,{toggle:!1}).toggle()}),e(D);var _=".bs.dropdown",F=".data-api";var Re="click"+_+F,_="keydown"+_+F;const C="show",S='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ie=(S,".dropdown-menu"),xe=h()?"top-end":"top-start",we=h()?"top-start":"top-end",Pe=h()?"bottom-end":"bottom-start",Me=h()?"bottom-start":"bottom-end",Ne=h()?"left-start":"right-start",He=h()?"right-start":"left-start",ke={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Oe={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class R extends p{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=f.next(this._element,Ie)[0]||f.prev(this._element,Ie)[0]||f.findOne(Ie,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ke}static get DefaultType(){return Oe}static get NAME(){return"dropdown"}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!a(this._element)&&!this._isShown()){var e={relatedTarget:this._element},t=g.trigger(this._element,"show.bs.dropdown",e);if(!t.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const i of[].concat(...document.body.children))g.on(i,"mouseover",l);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(C),this._element.classList.add(C),g.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!a(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){var t=g.trigger(this._element,"hide.bs.dropdown",e);if(!t.defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))g.off(i,"mouseover",l);this._popper&&this._popper.destroy(),this._menu.classList.remove(C),this._element.classList.remove(C),this._element.setAttribute("aria-expanded","false"),d.removeDataAttribute(this._menu,"popper"),g.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"!=typeof(e=super._getConfig(e)).reference||o(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=s(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=i.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(C)}_getPlacement(){var e,t=this._parent;return t.classList.contains("dropend")?Ne:t.classList.contains("dropstart")?He:t.classList.contains("dropup-center")?"top":t.classList.contains("dropdown-center")?"bottom":(e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),t.classList.contains("dropup")?e?we:xe:e?Me:Pe)}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...u(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=f.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>r(e));i.length&&j(i,t,"ArrowDown"===e,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=R.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(const s of f.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var t,i,n=R.getInstance(s);n&&!1!==n._config.autoClose&&(t=(i=e.composedPath()).includes(n._menu),i.includes(n._element)||"inside"===n._config.autoClose&&!t||"outside"===n._config.autoClose&&t||n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:n._element},"click"===e.type&&(i.clickEvent=e),n._completeHide(i)))}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=["ArrowUp","ArrowDown"].includes(e.key);!n&&!i||t&&!i||(e.preventDefault(),t=this.matches(S)?this:f.prev(this,S)[0]||f.next(this,S)[0]||f.findOne(S,e.delegateTarget.parentNode),i=R.getOrCreateInstance(t),n?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}g.on(document,_,S,R.dataApiKeydownHandler),g.on(document,_,Ie,R.dataApiKeydownHandler),g.on(document,Re,R.clearMenus),g.on(document,"keyup.bs.dropdown.data-api",R.clearMenus),g.on(document,Re,S,function(e){e.preventDefault(),R.getOrCreateInstance(this).toggle()}),e(R);const Le="mousedown.bs.backdrop",Ue={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ge={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Be extends t{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Ue}static get DefaultType(){return Ge}static get NAME(){return"backdrop"}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&c(t),t.classList.add("show"),this._emulateAnimation(()=>{u(e)})):u(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),u(e)})):u(e)}dispose(){this._isAppended&&(g.off(this._element,Le),this._element.remove(),this._isAppended=!1)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_configAfterMerge(e){return e.rootElement=s(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),g.on(e,Le,()=>{u(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){z(e,this._getElement(),this._config.isAnimated)}}const Xe=".bs.focustrap",We=(Xe,Xe,{autofocus:!0,trapElement:null}),Ve={autofocus:"boolean",trapElement:"element"};class ze extends t{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return We}static get DefaultType(){return Ve}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),g.off(document,Xe),g.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),g.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,g.off(document,Xe))}_handleFocusin(e){var t=this._config["trapElement"];e.target===document||e.target===t||t.contains(e.target)||(0===(e=f.focusableChildren(t)).length?t:"backward"===this._lastTabNavDirection?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?"backward":"forward")}}const je=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",qe=".sticky-top",Ye="padding-right",Qe="margin-right";class $e{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ye,e=>e+t),this._setElementAttributes(je,Ye,e=>e+t),this._setElementAttributes(qe,Qe,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ye),this._resetElementAttributes(je,Ye),this._resetElementAttributes(qe,Qe)}isOverflowing(){return 0{var t;e!==this._element&&window.innerWidth>e.clientWidth+s||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,n(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&d.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=d.getDataAttribute(e,i);null===t?e.style.removeProperty(i):(d.removeDataAttribute(e,i),e.style.setProperty(i,t))})}_applyManipulationCallback(e,t){if(o(e))t(e);else for(const i of f.find(e,this._element))t(i)}}const I=".bs.modal";I,I;const Ze="hidden"+I,Ke="show"+I;I,I,I,I,I;I;const Je="modal-open",et="modal-static";const tt={backdrop:!0,focus:!0,keyboard:!0},it={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class x extends p{constructor(e,t){super(e,t),this._dialog=f.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new $e,this._addEventListeners()}static get Default(){return tt}static get DefaultType(){return it}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||g.trigger(this._element,Ke,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Je),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||g.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){g.off(window,I),g.off(this._dialog,I),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Be({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ze({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var t=f.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),c(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,g.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){g.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),g.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),g.on(this._element,"mousedown.dismiss.bs.modal",t=>{g.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.target&&("static"===this._config.backdrop?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Je),this._resetAdjustments(),this._scrollBar.reset(),g.trigger(this._element,Ze)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var e=g.trigger(this._element,"hidePrevented.bs.modal");if(!e.defaultPrevented){e=this._element.scrollHeight>document.documentElement.clientHeight;const t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(et)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(et),this._queueCallback(()=>{this._element.classList.remove(et),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var e,t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),n=0{e.defaultPrevented||g.one(t,Ze,()=>{r(this)&&this.focus()})});e=f.findOne(".modal.show");e&&x.getInstance(e).hide(),x.getOrCreateInstance(t).toggle(this)}),m(x),e(x);F=".bs.offcanvas";const nt=".offcanvas.show",st="hidePrevented"+F,ot="hidden"+F;const rt={backdrop:!0,keyboard:!0,scroll:!1},at={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class w extends p{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return rt}static get DefaultType(){return at}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||g.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new $e).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("showing"),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove("showing"),g.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!g.trigger(this._element,"hide.bs.offcanvas").defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new $e).reset(),g.trigger(this._element,ot)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new Be({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"===this._config.backdrop?g.trigger(this._element,st):this.hide()}:null})}_initializeFocusTrap(){return new ze({trapElement:this._element})}_addEventListeners(){g.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():g.trigger(this._element,st))})}static jQueryInterface(t){return this.each(function(){var e=w.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}g.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=f.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),a(this)||(g.one(t,ot,()=>{r(this)&&this.focus()}),(e=f.findOne(nt))&&e!==t&&w.getInstance(e).hide(),w.getOrCreateInstance(t).toggle(this))}),g.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of f.find(nt))w.getOrCreateInstance(e).show()}),g.on(window,"resize.bs.offcanvas",()=>{for(const e of f.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&w.getOrCreateInstance(e).hide()}),m(w),e(w);const lt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ct=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,ht=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;_={"*":["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 ut(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);i=(new window.DOMParser).parseFromString(e,"text/html");for(const r of[].concat(...i.body.querySelectorAll("*"))){var n=r.nodeName.toLowerCase();if(Object.keys(t).includes(n)){var s=[].concat(...r.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const a of s)((e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!lt.has(i)||Boolean(ct.test(e.nodeValue)||ht.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(a,o)||r.removeAttribute(a.nodeName)}else r.remove()}return i.body.innerHTML}const dt={allowList:_,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:""},pt={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ft={entry:"(string|element|function|null)",selector:"(string|element)"};class gt extends t{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return dt}static get DefaultType(){return pt}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0 ',title:"",trigger:"hover focus"},At={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class M extends p{constructor(e,t){if(void 0===i)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return yt}static get DefaultType(){return At}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),g.off(this._element.closest(".modal"),_t,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var e=g.trigger(this._element,this.constructor.eventName("show")),t=(X(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();e=this._getTipElement(),t=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),g.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(vt),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))g.on(i,"mouseover",l);this._queueCallback(()=>{g.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()){var e=g.trigger(this._element,this.constructor.eventName("hide"));if(!e.defaultPrevented){if(this._getTipElement().classList.remove(vt),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))g.off(t,"mouseover",l);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger[P]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),g.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove("fade",vt),e.classList.add(`bs-${this.constructor.NAME}-auto`);var t=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add("fade"),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new gt({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains("fade")}_isShown(){return this.tip&&this.tip.classList.contains(vt)}_createPopper(e){var t=u(this._config.placement,[this,e,this._element]),t=bt[t.toUpperCase()];return i.createPopper(this._element,e,this._getPopperConfig(t))}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return u(e,[this._element])}_getPopperConfig(e){e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,...u(this._config.popperConfig,[e])}}_setListeners(){var e,t;for(const i of this._config.trigger.split(" "))"click"===i?g.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()}):"manual"!==i&&(e=i===P?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),t=i===P?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),g.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?"focus":P]=!0,t._enter()}),g.on(this._element,t,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?"focus":P]=t._element.contains(e.relatedTarget),t._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},g.on(this._element.closest(".modal"),_t,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){var t=d.getDataAttributes(this._element);for(const i of Object.keys(t))mt.has(i)&&delete t[i];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:s(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){var e,t,i={};for([e,t]of Object.entries(this._config))this.constructor.Default[e]!==t&&(i[e]=t);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){var e=M.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(M);const Et={...M.Default,content:"",offset:[0,8],placement:"right",template:'