')),n=$('#content [widget-area="'+O+'"],#content [data-widget-area="'+O+'"]').eq(0),p&&n.length&&(n.html(p),n.find("img:not(.not-responsive)").addClass("img-fluid")),v.length&&n.removeClass("hidden"))}),Promise.resolve().then(function(){var O=[b(85233)];(function(n){n.fire("action:widgets.loaded",{})}).apply(null,O)}).catch(b.oe)}},59006:(U,D,b)=>{var N,x;(function(O){N=O,x=typeof N=="function"?N.call(D,b,D,U):N,x!==void 0&&(U.exports=x)})(function(){const O=function(){"use strict";function g(l){return l==null||Array.isArray(l)&&l.length===0?"":l}function a(l,T){if(!l||typeof l!="object")return"";let j="";const L=Object.keys(l),B=L.length;for(let Q=0;Q{T(l())})}}.try),d}(),n=U.exports?U.exports:{};n.runtime=O,n.helpers={},n.registerHelper=function(a,r){n.helpers[a]=r};const v={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},p=g=>v[g],m=/[&<>"'`=]/g;n.registerHelper("__escape",g=>g==null?"":g?g.toString().replace(m,p):String(g)),n.cache={},n.globals={},n.setGlobal=function(a,r){n.globals[a]=r};const A=Object.assign||jQuery.extend;n.addGlobals=function(a){return A({},n.globals,a)},n.flush=function(){n.cache={}};function E(g){return new Promise((a,r)=>{const d=n.loader(g,l=>{a(l)});d&&d.then&&d.then(a,r)})}function h(g,a,r){return a=n.addGlobals(a||{}),Promise.try(()=>(n.cache[g]=n.cache[g]||E(g),n.cache[g])).then(d=>(r&&(d=d.blocks&&d.blocks[r]),d?O(n.helpers,a,d):""))}function s(g,a,r,d){if(console.warn("Deprecated: Benchpress.parse is deprecated, to be removed in v3.0.0"),!d&&typeof a=="object"&&typeof r=="function"&&(d=r,r=a,a=null),typeof d!="function")throw TypeError("Invalid Arguments: callback must be a function");if(!g){d("");return}h(g,r,a).then(l=>setTimeout(d,0,l),l=>console.error(l))}return n.render=h,n.parse=s,n.registerLoader=function(a){n.loader=a},n})},63281:function(U,D,b){var N,x,O;/*! @preserve
* bootbox.js
* version: 6.0.0
* author: Nick Payne
* license: MIT
* http://bootboxjs.com/
*/(function(n,v){"use strict";x=[b(19755)],N=v,O=typeof N=="function"?N.apply(D,x):N,O!==void 0&&(U.exports=O)})(this,function n(v,p){"use strict";let m={},A="6.0.0";m.VERSION=A;let E={en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"}},h={dialog:'
',header:'
',footer:'',closeButton:'',form:'',button:'',option:'',promptMessage:'',inputs:{text:'',textarea:'',email:'',select:'',checkbox:'',radio:'',date:'',time:'',number:'',password:'',range:''}},s={locale:"en",backdrop:"static",animate:!0,className:null,closeButton:!0,show:!0,container:"body",value:"",inputType:"text",errorMessage:null,swapButtonOrder:!1,centerVertical:!1,multiple:!1,scrollable:!1,reusable:!1,relatedTarget:null,size:null,id:null};m.locales=function(P){return P?E[P]:E},m.addLocale=function(P,te){return v.each(["OK","CANCEL","CONFIRM"],function(ie,ue){if(!te[ue])throw new Error('Please supply a translation for "'+ue+'"')}),E[P]={OK:te.OK,CANCEL:te.CANCEL,CONFIRM:te.CONFIRM},m},m.removeLocale=function(P){if(P!=="en")delete E[P];else throw new Error('"en" is used as the default and fallback locale and cannot be removed.');return m},m.setLocale=function(P){return m.setDefaults("locale",P)},m.setDefaults=function(){let P={};return arguments.length===2?P[arguments[0]]=arguments[1]:P=arguments[0],v.extend(s,P),m},m.hideAll=function(){return v(".bootbox").modal("hide"),m},m.init=function(P){return n(P||v)},m.dialog=function(P){if(v.fn.modal===p)throw new Error('"$.fn.modal" is not defined; please double check you have included the Bootstrap JavaScript library. See https://getbootstrap.com/docs/5.1/getting-started/introduction/ for more details.');if(P=j(P),v.fn.modal.Constructor.VERSION){P.fullBootstrapVersion=v.fn.modal.Constructor.VERSION;let se=P.fullBootstrapVersion.indexOf(".");P.bootstrap=P.fullBootstrapVersion.substring(0,se)}else P.bootstrap="2",P.fullBootstrapVersion="2.3.2",console.warn("Bootbox will *mostly* work with Bootstrap 2, but we do not officially support it. Please upgrade, if possible.");let te=v(h.dialog),ie=te.find(".modal-dialog"),ue=te.find(".modal-body"),Re=v(h.header),Fe=v(h.footer),Se=P.buttons,be={onEscape:P.onEscape};if(ue.find(".bootbox-body").html(P.message),L(P.buttons)>0&&(B(Se,function(se,le){let pe=v(h.button);switch(pe.data("bb-handler",se),pe.addClass(le.className),se){case"ok":case"confirm":pe.addClass("bootbox-accept");break;case"cancel":pe.addClass("bootbox-cancel");break}pe.html(le.label),le.id&&pe.attr({id:le.id}),le.disabled===!0&&pe.prop({disabled:!0}),Fe.append(pe),be[se]=le.callback}),ue.after(Fe)),P.animate===!0&&te.addClass("fade"),P.className&&te.addClass(P.className),P.id&&te.attr({id:P.id}),P.size)switch(P.fullBootstrapVersion.substring(0,3)<"3.1"&&console.warn('"size" requires Bootstrap 3.1.0 or higher. You appear to be using '+P.fullBootstrapVersion+". Please upgrade to use this option."),P.size){case"small":case"sm":ie.addClass("modal-sm");break;case"large":case"lg":ie.addClass("modal-lg");break;case"extra-large":case"xl":ie.addClass("modal-xl"),P.fullBootstrapVersion.substring(0,3)<"4.2"&&console.warn('Using size "xl"/"extra-large" requires Bootstrap 4.2.0 or higher. You appear to be using '+P.fullBootstrapVersion+". Please upgrade to use this option.");break}if(P.scrollable&&(ie.addClass("modal-dialog-scrollable"),P.fullBootstrapVersion.substring(0,3)<"4.3"&&console.warn('Using "scrollable" requires Bootstrap 4.3.0 or higher. You appear to be using '+P.fullBootstrapVersion+". Please upgrade to use this option.")),P.title||P.closeButton){if(P.title?Re.find(".modal-title").html(P.title):Re.addClass("border-0"),P.closeButton){let se=v(h.closeButton);P.bootstrap<5&&se.html("×"),P.bootstrap<4?Re.prepend(se):Re.append(se)}ue.before(Re)}if(P.centerVertical&&(ie.addClass("modal-dialog-centered"),P.fullBootstrapVersion<"4.0.0"&&console.warn('"centerVertical" requires Bootstrap 4.0.0-beta.3 or higher. You appear to be using '+P.fullBootstrapVersion+". Please upgrade to use this option.")),P.reusable||(te.one("hide.bs.modal",{dialog:te},he),te.one("hidden.bs.modal",{dialog:te},Z)),P.onHide)if(v.isFunction(P.onHide))te.on("hide.bs.modal",P.onHide);else throw new Error('Argument supplied to "onHide" must be a function');if(P.onHidden)if(v.isFunction(P.onHidden))te.on("hidden.bs.modal",P.onHidden);else throw new Error('Argument supplied to "onHidden" must be a function');if(P.onShow)if(v.isFunction(P.onShow))te.on("show.bs.modal",P.onShow);else throw new Error('Argument supplied to "onShow" must be a function');if(te.one("shown.bs.modal",{dialog:te},Q),P.onShown)if(v.isFunction(P.onShown))te.on("shown.bs.modal",P.onShown);else throw new Error('Argument supplied to "onShown" must be a function');if(P.backdrop===!0){let se=!1;te.on("mousedown",".modal-content",function(le){le.stopPropagation(),se=!0}),te.on("click.dismiss.bs.modal",function(le){se||le.target!==le.currentTarget||te.trigger("escape.close.bb")})}return te.on("escape.close.bb",function(se){be.onEscape&&c(se,te,be.onEscape)}),te.on("click",".modal-footer button:not(.disabled)",function(se){let le=v(this).data("bb-handler");le!==p&&c(se,te,be[le])}),te.on("click",".bootbox-close-button",function(se){c(se,te,be.onEscape)}),te.on("keyup",function(se){se.which===27&&te.trigger("escape.close.bb")}),v(P.container).append(te),te.modal({backdrop:P.backdrop,keyboard:!1,show:!1}),P.show&&te.modal("show",P.relatedTarget),te},m.alert=function(){let P;if(P=r("alert",["ok"],["message","callback"],arguments),P.callback&&!v.isFunction(P.callback))throw new Error('alert requires the "callback" property to be a function when provided');return P.buttons.ok.callback=P.onEscape=function(){return v.isFunction(P.callback)?P.callback.call(this):!0},m.dialog(P)},m.confirm=function(){let P;if(P=r("confirm",["cancel","confirm"],["message","callback"],arguments),!v.isFunction(P.callback))throw new Error("confirm requires a callback");return P.buttons.cancel.callback=P.onEscape=function(){return P.callback.call(this,!1)},P.buttons.confirm.callback=function(){return P.callback.call(this,!0)},m.dialog(P)},m.prompt=function(){let P,te,ie,ue,Re,Fe;if(ie=v(h.form),P=r("prompt",["cancel","confirm"],["title","callback"],arguments),P.value||(P.value=s.value),P.inputType||(P.inputType=s.inputType),Re=P.show===p?s.show:P.show,P.show=!1,P.buttons.cancel.callback=P.onEscape=function(){return P.callback.call(this,null)},P.buttons.confirm.callback=function(){let Se;if(P.inputType==="checkbox")Se=ue.find("input:checked").map(function(){return v(this).val()}).get();else if(P.inputType==="radio")Se=ue.find("input:checked").val();else{let be=ue[0];if(P.errorMessage&&be.setCustomValidity(""),be.checkValidity&&!be.checkValidity())return P.errorMessage&&be.setCustomValidity(P.errorMessage),be.reportValidity&&be.reportValidity(),!1;P.inputType==="select"&&P.multiple===!0?Se=ue.find("option:selected").map(function(){return v(this).val()}).get():Se=ue.val()}return P.callback.call(this,Se)},!P.title)throw new Error("prompt requires a title");if(!v.isFunction(P.callback))throw new Error("prompt requires a callback");if(!h.inputs[P.inputType])throw new Error("Invalid prompt type");switch(ue=v(h.inputs[P.inputType]),P.inputType){case"text":case"textarea":case"email":case"password":ue.val(P.value),P.placeholder&&ue.attr("placeholder",P.placeholder),P.pattern&&ue.attr("pattern",P.pattern),P.maxlength&&ue.attr("maxlength",P.maxlength),P.required&&ue.prop({required:!0}),P.rows&&!isNaN(parseInt(P.rows))&&P.inputType==="textarea"&&ue.attr({rows:P.rows});break;case"date":case"time":case"number":case"range":if(ue.val(P.value),P.placeholder&&ue.attr("placeholder",P.placeholder),P.pattern?ue.attr("pattern",P.pattern):P.inputType==="date"?ue.attr("pattern","d{4}-d{2}-d{2}"):P.inputType==="time"&&ue.attr("pattern","d{2}:d{2}"),P.required&&ue.prop({required:!0}),P.inputType!=="date"&&P.step)if(P.step==="any"||!isNaN(P.step)&&parseFloat(P.step)>0)ue.attr("step",P.step);else throw new Error('"step" must be a valid positive number or the value "any". See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step for more information.');ae(P.inputType,P.min,P.max)&&(P.min!==p&&ue.attr("min",P.min),P.max!==p&&ue.attr("max",P.max));break;case"select":let Se={};if(Fe=P.inputOptions||[],!v.isArray(Fe))throw new Error("Please pass an array of input options");if(!Fe.length)throw new Error('prompt with "inputType" set to "select" requires at least one option');P.required&&ue.prop({required:!0}),P.multiple&&ue.prop({multiple:!0}),B(Fe,function(le,pe){let ye=ue;if(pe.value===p||pe.text===p)throw new Error('each option needs a "value" property and a "text" property');pe.group&&(Se[pe.group]||(Se[pe.group]=v("").attr("label",pe.group)),ye=Se[pe.group]);let Ce=v(h.option);Ce.attr("value",pe.value).text(pe.text),ye.append(Ce)}),B(Se,function(le,pe){ue.append(pe)}),ue.val(P.value),P.bootstrap<5&&ue.removeClass("form-select").addClass("form-control");break;case"checkbox":let be=v.isArray(P.value)?P.value:[P.value];if(Fe=P.inputOptions||[],!Fe.length)throw new Error('prompt with "inputType" set to "checkbox" requires at least one option');ue=v(''),B(Fe,function(le,pe){if(pe.value===p||pe.text===p)throw new Error('each option needs a "value" property and a "text" property');let ye=v(h.inputs[P.inputType]);ye.find("input").attr("value",pe.value),ye.find("label").append(`
`+pe.text),B(be,function(Ce,Le){Le===pe.value&&ye.find("input").prop("checked",!0)}),ue.append(ye)});break;case"radio":if(P.value!==p&&v.isArray(P.value))throw new Error('prompt with "inputType" set to "radio" requires a single, non-array value for "value"');if(Fe=P.inputOptions||[],!Fe.length)throw new Error('prompt with "inputType" set to "radio" requires at least one option');ue=v('');let se=!0;B(Fe,function(le,pe){if(pe.value===p||pe.text===p)throw new Error('each option needs a "value" property and a "text" property');let ye=v(h.inputs[P.inputType]);ye.find("input").attr("value",pe.value),ye.find("label").append(`
`+pe.text),P.value!==p&&pe.value===P.value&&(ye.find("input").prop("checked",!0),se=!1),ue.append(ye)}),se&&ue.find('input[type="radio"]').first().prop("checked",!0);break}if(ie.append(ue),ie.on("submit",function(Se){Se.preventDefault(),Se.stopPropagation(),te.find(".bootbox-accept").trigger("click")}),v.trim(P.message)!==""){let Se=v(h.promptMessage).html(P.message);ie.prepend(Se),P.message=ie}else P.message=ie;return te=m.dialog(P),te.off("shown.bs.modal",Q),te.on("shown.bs.modal",function(){ue.focus()}),Re===!0&&te.modal("show"),te};function g(P,te){let ie=P.length,ue={};if(ie<1||ie>2)throw new Error("Invalid argument length");return ie===2||typeof P[0]=="string"?(ue[te[0]]=P[0],ue[te[1]]=P[1]):ue=P[0],ue}function a(P,te,ie){return v.extend(!0,{},P,g(te,ie))}function r(P,te,ie,ue){let Re;ue&&ue[0]&&(Re=ue[0].locale||s.locale,(ue[0].swapButtonOrder||s.swapButtonOrder)&&(te=te.reverse()));let Fe={className:"bootbox-"+P,buttons:l(te,Re)};return d(a(Fe,ue,ie),te)}function d(P,te){let ie={};return B(te,function(ue,Re){ie[Re]=!0}),B(P.buttons,function(ue){if(ie[ue]===p)throw new Error('button key "'+ue+'" is not allowed (options are '+te.join(" ")+")")}),P}function l(P,te){let ie={};for(let ue=0,Re=P.length;ue{"use strict";b.r(D),b.d(D,{Alert:()=>_,Button:()=>je,Carousel:()=>X,Collapse:()=>Li,Dropdown:()=>pn,Modal:()=>ii,Offcanvas:()=>jn,Popover:()=>$r,ScrollSpy:()=>rr,Tab:()=>ai,Toast:()=>or,Tooltip:()=>ri});var N={};b.r(N),b.d(N,{afterMain:()=>Q,afterRead:()=>j,afterWrite:()=>c,applyStyles:()=>Fe,arrow:()=>Dt,auto:()=>p,basePlacements:()=>m,beforeMain:()=>L,beforeRead:()=>l,beforeWrite:()=>Z,bottom:()=>O,clippingParents:()=>h,computeStyles:()=>Wn,createPopper:()=>Ei,createPopperBase:()=>Xr,createPopperLite:()=>Ui,detectOverflow:()=>Cn,end:()=>E,eventListeners:()=>Sn,flip:()=>bi,hide:()=>dr,left:()=>v,main:()=>B,modifierPhases:()=>ae,offset:()=>pr,placements:()=>d,popper:()=>g,popperGenerator:()=>Pn,popperOffsets:()=>Bi,preventOverflow:()=>yi,read:()=>T,reference:()=>a,right:()=>n,start:()=>A,top:()=>x,variationPlacements:()=>r,viewport:()=>s,write:()=>he});var x="top",O="bottom",n="right",v="left",p="auto",m=[x,O,n,v],A="start",E="end",h="clippingParents",s="viewport",g="popper",a="reference",r=m.reduce(function(y,t){return y.concat([t+"-"+A,t+"-"+E])},[]),d=[].concat(m,[p]).reduce(function(y,t){return y.concat([t,t+"-"+A,t+"-"+E])},[]),l="beforeRead",T="read",j="afterRead",L="beforeMain",B="main",Q="afterMain",Z="beforeWrite",he="write",c="afterWrite",ae=[l,T,j,L,B,Q,Z,he,c];function ce(y){return y?(y.nodeName||"").toLowerCase():null}function ee(y){if(y==null)return window;if(y.toString()!=="[object Window]"){var t=y.ownerDocument;return t&&t.defaultView||window}return y}function P(y){var t=ee(y).Element;return y instanceof t||y instanceof Element}function te(y){var t=ee(y).HTMLElement;return y instanceof t||y instanceof HTMLElement}function ie(y){if(typeof ShadowRoot>"u")return!1;var t=ee(y).ShadowRoot;return y instanceof t||y instanceof ShadowRoot}function ue(y){var t=y.state;Object.keys(t.elements).forEach(function(u){var S=t.styles[u]||{},I=t.attributes[u]||{},W=t.elements[u];!te(W)||!ce(W)||(Object.assign(W.style,S),Object.keys(I).forEach(function(Y){var J=I[Y];J===!1?W.removeAttribute(Y):W.setAttribute(Y,J===!0?"":J)}))})}function Re(y){var t=y.state,u={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,u.popper),t.styles=u,t.elements.arrow&&Object.assign(t.elements.arrow.style,u.arrow),function(){Object.keys(t.elements).forEach(function(S){var I=t.elements[S],W=t.attributes[S]||{},Y=Object.keys(t.styles.hasOwnProperty(S)?t.styles[S]:u[S]),J=Y.reduce(function(oe,Te){return oe[Te]="",oe},{});!te(I)||!ce(I)||(Object.assign(I.style,J),Object.keys(W).forEach(function(oe){I.removeAttribute(oe)}))})}}const Fe={name:"applyStyles",enabled:!0,phase:"write",fn:ue,effect:Re,requires:["computeStyles"]};function Se(y){return y.split("-")[0]}var be=Math.max,se=Math.min,le=Math.round;function pe(){var y=navigator.userAgentData;return y!=null&&y.brands&&Array.isArray(y.brands)?y.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ye(){return!/^((?!chrome|android).)*safari/i.test(pe())}function Ce(y,t,u){t===void 0&&(t=!1),u===void 0&&(u=!1);var S=y.getBoundingClientRect(),I=1,W=1;t&&te(y)&&(I=y.offsetWidth>0&&le(S.width)/y.offsetWidth||1,W=y.offsetHeight>0&&le(S.height)/y.offsetHeight||1);var Y=P(y)?ee(y):window,J=Y.visualViewport,oe=!ye()&&u,Te=(S.left+(oe&&J?J.offsetLeft:0))/I,de=(S.top+(oe&&J?J.offsetTop:0))/W,Me=S.width/I,We=S.height/W;return{width:Me,height:We,top:de,right:Te+Me,bottom:de+We,left:Te,x:Te,y:de}}function Le(y){var t=Ce(y),u=y.offsetWidth,S=y.offsetHeight;return Math.abs(t.width-u)<=1&&(u=t.width),Math.abs(t.height-S)<=1&&(S=t.height),{x:y.offsetLeft,y:y.offsetTop,width:u,height:S}}function fe(y,t){var u=t.getRootNode&&t.getRootNode();if(y.contains(t))return!0;if(u&&ie(u)){var S=t;do{if(S&&y.isSameNode(S))return!0;S=S.parentNode||S.host}while(S)}return!1}function Ge(y){return ee(y).getComputedStyle(y)}function $t(y){return["table","td","th"].indexOf(ce(y))>=0}function it(y){return((P(y)?y.ownerDocument:y.document)||window.document).documentElement}function Ke(y){return ce(y)==="html"?y:y.assignedSlot||y.parentNode||(ie(y)?y.host:null)||it(y)}function me(y){return!te(y)||Ge(y).position==="fixed"?null:y.offsetParent}function At(y){var t=/firefox/i.test(pe()),u=/Trident/i.test(pe());if(u&&te(y)){var S=Ge(y);if(S.position==="fixed")return null}var I=Ke(y);for(ie(I)&&(I=I.host);te(I)&&["html","body"].indexOf(ce(I))<0;){var W=Ge(I);if(W.transform!=="none"||W.perspective!=="none"||W.contain==="paint"||["transform","perspective"].indexOf(W.willChange)!==-1||t&&W.willChange==="filter"||t&&W.filter&&W.filter!=="none")return I;I=I.parentNode}return null}function at(y){for(var t=ee(y),u=me(y);u&&$t(u)&&Ge(u).position==="static";)u=me(u);return u&&(ce(u)==="html"||ce(u)==="body"&&Ge(u).position==="static")?t:u||At(y)||t}function Nt(y){return["top","bottom"].indexOf(y)>=0?"x":"y"}function Bt(y,t,u){return be(y,se(t,u))}function yt(y,t,u){var S=Bt(y,t,u);return S>u?u:S}function Tt(){return{top:0,right:0,bottom:0,left:0}}function Jt(y){return Object.assign({},Tt(),y)}function Ht(y,t){return t.reduce(function(u,S){return u[S]=y,u},{})}var hi=function(t,u){return t=typeof t=="function"?t(Object.assign({},u.rects,{placement:u.placement})):t,Jt(typeof t!="number"?t:Ht(t,m))};function Hn(y){var t,u=y.state,S=y.name,I=y.options,W=u.elements.arrow,Y=u.modifiersData.popperOffsets,J=Se(u.placement),oe=Nt(J),Te=[v,n].indexOf(J)>=0,de=Te?"height":"width";if(!(!W||!Y)){var Me=hi(I.padding,u),We=Le(W),ke=oe==="y"?x:v,ot=oe==="y"?O:n,Ue=u.rects.reference[de]+u.rects.reference[oe]-Y[oe]-u.rects.popper[de],Je=Y[oe]-u.rects.reference[oe],st=at(W),pt=st?oe==="y"?st.clientHeight||0:st.clientWidth||0:0,gt=Ue/2-Je/2,ze=Me[ke],tt=pt-We[de]-Me[ot],nt=pt/2-We[de]/2+gt,ut=Bt(ze,nt,tt),Ot=oe;u.modifiersData[S]=(t={},t[Ot]=ut,t.centerOffset=ut-nt,t)}}function pi(y){var t=y.state,u=y.options,S=u.element,I=S===void 0?"[data-popper-arrow]":S;I!=null&&(typeof I=="string"&&(I=t.elements.popper.querySelector(I),!I)||fe(t.elements.popper,I)&&(t.elements.arrow=I))}const Dt={name:"arrow",enabled:!0,phase:"main",fn:Hn,effect:pi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kt(y){return y.split("-")[1]}var bn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ae(y,t){var u=y.x,S=y.y,I=t.devicePixelRatio||1;return{x:le(u*I)/I||0,y:le(S*I)/I||0}}function Qe(y){var t,u=y.popper,S=y.popperRect,I=y.placement,W=y.variation,Y=y.offsets,J=y.position,oe=y.gpuAcceleration,Te=y.adaptive,de=y.roundOffsets,Me=y.isFixed,We=Y.x,ke=We===void 0?0:We,ot=Y.y,Ue=ot===void 0?0:ot,Je=typeof de=="function"?de({x:ke,y:Ue}):{x:ke,y:Ue};ke=Je.x,Ue=Je.y;var st=Y.hasOwnProperty("x"),pt=Y.hasOwnProperty("y"),gt=v,ze=x,tt=window;if(Te){var nt=at(u),ut="clientHeight",Ot="clientWidth";if(nt===ee(u)&&(nt=it(u),Ge(nt).position!=="static"&&J==="absolute"&&(ut="scrollHeight",Ot="scrollWidth")),nt=nt,I===x||(I===v||I===n)&&W===E){ze=O;var Ct=Me&&nt===tt&&tt.visualViewport?tt.visualViewport.height:nt[ut];Ue-=Ct-S.height,Ue*=oe?1:-1}if(I===v||(I===x||I===O)&&W===E){gt=n;var bt=Me&&nt===tt&&tt.visualViewport?tt.visualViewport.width:nt[Ot];ke-=bt-S.width,ke*=oe?1:-1}}var Pt=Object.assign({position:J},Te&&bn),gn=de===!0?Ae({x:ke,y:Ue},ee(u)):{x:ke,y:Ue};if(ke=gn.x,Ue=gn.y,oe){var Mt;return Object.assign({},Pt,(Mt={},Mt[ze]=pt?"0":"",Mt[gt]=st?"0":"",Mt.transform=(tt.devicePixelRatio||1)<=1?"translate("+ke+"px, "+Ue+"px)":"translate3d("+ke+"px, "+Ue+"px, 0)",Mt))}return Object.assign({},Pt,(t={},t[ze]=pt?Ue+"px":"",t[gt]=st?ke+"px":"",t.transform="",t))}function gi(y){var t=y.state,u=y.options,S=u.gpuAcceleration,I=S===void 0?!0:S,W=u.adaptive,Y=W===void 0?!0:W,J=u.roundOffsets,oe=J===void 0?!0:J,Te={placement:Se(t.placement),variation:kt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:I,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Qe(Object.assign({},Te,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:Y,roundOffsets:oe})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Qe(Object.assign({},Te,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:oe})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Wn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:gi,data:{}};var Wt={passive:!0};function mi(y){var t=y.state,u=y.instance,S=y.options,I=S.scroll,W=I===void 0?!0:I,Y=S.resize,J=Y===void 0?!0:Y,oe=ee(t.elements.popper),Te=[].concat(t.scrollParents.reference,t.scrollParents.popper);return W&&Te.forEach(function(de){de.addEventListener("scroll",u.update,Wt)}),J&&oe.addEventListener("resize",u.update,Wt),function(){W&&Te.forEach(function(de){de.removeEventListener("scroll",u.update,Wt)}),J&&oe.removeEventListener("resize",u.update,Wt)}}const Sn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:mi,data:{}};var wn={left:"right",right:"left",bottom:"top",top:"bottom"};function Ie(y){return y.replace(/left|right|bottom|top/g,function(t){return wn[t]})}var De={start:"end",end:"start"};function Ze(y){return y.replace(/start|end/g,function(t){return De[t]})}function _t(y){var t=ee(y),u=t.pageXOffset,S=t.pageYOffset;return{scrollLeft:u,scrollTop:S}}function rt(y){return Ce(it(y)).left+_t(y).scrollLeft}function lt(y,t){var u=ee(y),S=it(y),I=u.visualViewport,W=S.clientWidth,Y=S.clientHeight,J=0,oe=0;if(I){W=I.width,Y=I.height;var Te=ye();(Te||!Te&&t==="fixed")&&(J=I.offsetLeft,oe=I.offsetTop)}return{width:W,height:Y,x:J+rt(y),y:oe}}function Ut(y){var t,u=it(y),S=_t(y),I=(t=y.ownerDocument)==null?void 0:t.body,W=be(u.scrollWidth,u.clientWidth,I?I.scrollWidth:0,I?I.clientWidth:0),Y=be(u.scrollHeight,u.clientHeight,I?I.scrollHeight:0,I?I.clientHeight:0),J=-S.scrollLeft+rt(y),oe=-S.scrollTop;return Ge(I||u).direction==="rtl"&&(J+=be(u.clientWidth,I?I.clientWidth:0)-W),{width:W,height:Y,x:J,y:oe}}function Vt(y){var t=Ge(y),u=t.overflow,S=t.overflowX,I=t.overflowY;return/auto|scroll|overlay|hidden/.test(u+I+S)}function Qt(y){return["html","body","#document"].indexOf(ce(y))>=0?y.ownerDocument.body:te(y)&&Vt(y)?y:Qt(Ke(y))}function Kt(y,t){var u;t===void 0&&(t=[]);var S=Qt(y),I=S===((u=y.ownerDocument)==null?void 0:u.body),W=ee(S),Y=I?[W].concat(W.visualViewport||[],Vt(S)?S:[]):S,J=t.concat(Y);return I?J:J.concat(Kt(Ke(Y)))}function Xt(y){return Object.assign({},y,{left:y.x,top:y.y,right:y.x+y.width,bottom:y.y+y.height})}function cr(y,t){var u=Ce(y,!1,t==="fixed");return u.top=u.top+y.clientTop,u.left=u.left+y.clientLeft,u.bottom=u.top+y.clientHeight,u.right=u.left+y.clientWidth,u.width=y.clientWidth,u.height=y.clientHeight,u.x=u.left,u.y=u.top,u}function Lt(y,t,u){return t===s?Xt(lt(y,u)):P(t)?cr(t,u):Xt(Ut(it(y)))}function Rt(y){var t=Kt(Ke(y)),u=["absolute","fixed"].indexOf(Ge(y).position)>=0,S=u&&te(y)?at(y):y;return P(S)?t.filter(function(I){return P(I)&&fe(I,S)&&ce(I)!=="body"}):[]}function $i(y,t,u,S){var I=t==="clippingParents"?Rt(y):[].concat(t),W=[].concat(I,[u]),Y=W[0],J=W.reduce(function(oe,Te){var de=Lt(y,Te,S);return oe.top=be(de.top,oe.top),oe.right=se(de.right,oe.right),oe.bottom=se(de.bottom,oe.bottom),oe.left=be(de.left,oe.left),oe},Lt(y,Y,S));return J.width=J.right-J.left,J.height=J.bottom-J.top,J.x=J.left,J.y=J.top,J}function ur(y){var t=y.reference,u=y.element,S=y.placement,I=S?Se(S):null,W=S?kt(S):null,Y=t.x+t.width/2-u.width/2,J=t.y+t.height/2-u.height/2,oe;switch(I){case x:oe={x:Y,y:t.y-u.height};break;case O:oe={x:Y,y:t.y+t.height};break;case n:oe={x:t.x+t.width,y:J};break;case v:oe={x:t.x-u.width,y:J};break;default:oe={x:t.x,y:t.y}}var Te=I?Nt(I):null;if(Te!=null){var de=Te==="y"?"height":"width";switch(W){case A:oe[Te]=oe[Te]-(t[de]/2-u[de]/2);break;case E:oe[Te]=oe[Te]+(t[de]/2-u[de]/2);break;default:}}return oe}function Cn(y,t){t===void 0&&(t={});var u=t,S=u.placement,I=S===void 0?y.placement:S,W=u.strategy,Y=W===void 0?y.strategy:W,J=u.boundary,oe=J===void 0?h:J,Te=u.rootBoundary,de=Te===void 0?s:Te,Me=u.elementContext,We=Me===void 0?g:Me,ke=u.altBoundary,ot=ke===void 0?!1:ke,Ue=u.padding,Je=Ue===void 0?0:Ue,st=Jt(typeof Je!="number"?Je:Ht(Je,m)),pt=We===g?a:g,gt=y.rects.popper,ze=y.elements[ot?pt:We],tt=$i(P(ze)?ze:ze.contextElement||it(y.elements.popper),oe,de,Y),nt=Ce(y.elements.reference),ut=ur({reference:nt,element:gt,strategy:"absolute",placement:I}),Ot=Xt(Object.assign({},gt,ut)),Ct=We===g?Ot:nt,bt={top:tt.top-Ct.top+st.top,bottom:Ct.bottom-tt.bottom+st.bottom,left:tt.left-Ct.left+st.left,right:Ct.right-tt.right+st.right},Pt=y.modifiersData.offset;if(We===g&&Pt){var gn=Pt[I];Object.keys(bt).forEach(function(Mt){var ci=[n,O].indexOf(Mt)>=0?1:-1,ui=[x,O].indexOf(Mt)>=0?"y":"x";bt[Mt]+=gn[ui]*ci})}return bt}function lr(y,t){t===void 0&&(t={});var u=t,S=u.placement,I=u.boundary,W=u.rootBoundary,Y=u.padding,J=u.flipVariations,oe=u.allowedAutoPlacements,Te=oe===void 0?d:oe,de=kt(S),Me=de?J?r:r.filter(function(ot){return kt(ot)===de}):m,We=Me.filter(function(ot){return Te.indexOf(ot)>=0});We.length===0&&(We=Me);var ke=We.reduce(function(ot,Ue){return ot[Ue]=Cn(y,{placement:Ue,boundary:I,rootBoundary:W,padding:Y})[Se(Ue)],ot},{});return Object.keys(ke).sort(function(ot,Ue){return ke[ot]-ke[Ue]})}function On(y){if(Se(y)===p)return[];var t=Ie(y);return[Ze(y),t,Ze(t)]}function Dn(y){var t=y.state,u=y.options,S=y.name;if(!t.modifiersData[S]._skip){for(var I=u.mainAxis,W=I===void 0?!0:I,Y=u.altAxis,J=Y===void 0?!0:Y,oe=u.fallbackPlacements,Te=u.padding,de=u.boundary,Me=u.rootBoundary,We=u.altBoundary,ke=u.flipVariations,ot=ke===void 0?!0:ke,Ue=u.allowedAutoPlacements,Je=t.options.placement,st=Se(Je),pt=st===Je,gt=oe||(pt||!ot?[Ie(Je)]:On(Je)),ze=[Je].concat(gt).reduce(function(Mi,Bn){return Mi.concat(Se(Bn)===p?lr(t,{placement:Bn,boundary:de,rootBoundary:Me,padding:Te,flipVariations:ot,allowedAutoPlacements:Ue}):Bn)},[]),tt=t.rects.reference,nt=t.rects.popper,ut=new Map,Ot=!0,Ct=ze[0],bt=0;bt=0,ui=ci?"width":"height",Gt=Cn(t,{placement:Pt,boundary:de,rootBoundary:Me,altBoundary:We,padding:Te}),mn=ci?Mt?n:v:Mt?O:x;tt[ui]>nt[ui]&&(mn=Ie(mn));var Wr=Ie(mn),li=[];if(W&&li.push(Gt[gn]<=0),J&&li.push(Gt[mn]<=0,Gt[Wr]<=0),li.every(function(Mi){return Mi})){Ct=Pt,Ot=!1;break}ut.set(Pt,li)}if(Ot)for(var Ur=ot?3:1,Eo=function(Bn){var ar=ze.find(function(Kr){var fi=ut.get(Kr);if(fi)return fi.slice(0,Bn).every(function(wo){return wo})});if(ar)return Ct=ar,"break"},sr=Ur;sr>0;sr--){var Vr=Eo(sr);if(Vr==="break")break}t.placement!==Ct&&(t.modifiersData[S]._skip=!0,t.placement=Ct,t.reset=!0)}}const bi={name:"flip",enabled:!0,phase:"main",fn:Dn,requiresIfExists:["offset"],data:{_skip:!1}};function Un(y,t,u){return u===void 0&&(u={x:0,y:0}),{top:y.top-t.height-u.y,right:y.right-t.width+u.x,bottom:y.bottom-t.height+u.y,left:y.left-t.width-u.x}}function fr(y){return[x,n,O,v].some(function(t){return y[t]>=0})}function zr(y){var t=y.state,u=y.name,S=t.rects.reference,I=t.rects.popper,W=t.modifiersData.preventOverflow,Y=Cn(t,{elementContext:"reference"}),J=Cn(t,{altBoundary:!0}),oe=Un(Y,S),Te=Un(J,I,W),de=fr(oe),Me=fr(Te);t.modifiersData[u]={referenceClippingOffsets:oe,popperEscapeOffsets:Te,isReferenceHidden:de,hasPopperEscaped:Me},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":de,"data-popper-escaped":Me})}const dr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zr};function hr(y,t,u){var S=Se(y),I=[v,x].indexOf(S)>=0?-1:1,W=typeof u=="function"?u(Object.assign({},t,{placement:y})):u,Y=W[0],J=W[1];return Y=Y||0,J=(J||0)*I,[v,n].indexOf(S)>=0?{x:J,y:Y}:{x:Y,y:J}}function qr(y){var t=y.state,u=y.options,S=y.name,I=u.offset,W=I===void 0?[0,0]:I,Y=d.reduce(function(de,Me){return de[Me]=hr(Me,t.rects,W),de},{}),J=Y[t.placement],oe=J.x,Te=J.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=oe,t.modifiersData.popperOffsets.y+=Te),t.modifiersData[S]=Y}const pr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:qr};function gr(y){var t=y.state,u=y.name;t.modifiersData[u]=ur({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Bi={name:"popperOffsets",enabled:!0,phase:"read",fn:gr,data:{}};function Rn(y){return y==="x"?"y":"x"}function mr(y){var t=y.state,u=y.options,S=y.name,I=u.mainAxis,W=I===void 0?!0:I,Y=u.altAxis,J=Y===void 0?!1:Y,oe=u.boundary,Te=u.rootBoundary,de=u.altBoundary,Me=u.padding,We=u.tether,ke=We===void 0?!0:We,ot=u.tetherOffset,Ue=ot===void 0?0:ot,Je=Cn(t,{boundary:oe,rootBoundary:Te,padding:Me,altBoundary:de}),st=Se(t.placement),pt=kt(t.placement),gt=!pt,ze=Nt(st),tt=Rn(ze),nt=t.modifiersData.popperOffsets,ut=t.rects.reference,Ot=t.rects.popper,Ct=typeof Ue=="function"?Ue(Object.assign({},t.rects,{placement:t.placement})):Ue,bt=typeof Ct=="number"?{mainAxis:Ct,altAxis:Ct}:Object.assign({mainAxis:0,altAxis:0},Ct),Pt=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,gn={x:0,y:0};if(nt){if(W){var Mt,ci=ze==="y"?x:v,ui=ze==="y"?O:n,Gt=ze==="y"?"height":"width",mn=nt[ze],Wr=mn+Je[ci],li=mn-Je[ui],Ur=ke?-Ot[Gt]/2:0,Eo=pt===A?ut[Gt]:Ot[Gt],sr=pt===A?-Ot[Gt]:-ut[Gt],Vr=t.elements.arrow,Mi=ke&&Vr?Le(Vr):{width:0,height:0},Bn=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Tt(),ar=Bn[ci],Kr=Bn[ui],fi=Bt(0,ut[Gt],Mi[Gt]),wo=gt?ut[Gt]/2-Ur-fi-ar-bt.mainAxis:Eo-fi-ar-bt.mainAxis,tu=gt?-ut[Gt]/2+Ur+fi+Kr+bt.mainAxis:sr+fi+Kr+bt.mainAxis,Co=t.elements.arrow&&at(t.elements.arrow),nu=Co?ze==="y"?Co.clientTop||0:Co.clientLeft||0:0,cs=(Mt=Pt?.[ze])!=null?Mt:0,iu=mn+wo-cs-nu,ru=mn+tu-cs,us=Bt(ke?se(Wr,iu):Wr,mn,ke?be(li,ru):li);nt[ze]=us,gn[ze]=us-mn}if(J){var ls,ou=ze==="x"?x:v,su=ze==="x"?O:n,di=nt[tt],Yr=tt==="y"?"height":"width",fs=di+Je[ou],ds=di-Je[su],Ao=[x,v].indexOf(st)!==-1,hs=(ls=Pt?.[tt])!=null?ls:0,ps=Ao?fs:di-ut[Yr]-Ot[Yr]-hs+bt.altAxis,gs=Ao?di+ut[Yr]+Ot[Yr]-hs-bt.altAxis:ds,ms=ke&&Ao?yt(ps,di,gs):Bt(ke?ps:fs,di,ke?gs:ds);nt[tt]=ms,gn[tt]=ms-di}t.modifiersData[S]=gn}}const yi={name:"preventOverflow",enabled:!0,phase:"main",fn:mr,requiresIfExists:["offset"]};function Hi(y){return{scrollLeft:y.scrollLeft,scrollTop:y.scrollTop}}function vi(y){return y===ee(y)||!te(y)?_t(y):Hi(y)}function br(y){var t=y.getBoundingClientRect(),u=le(t.width)/y.offsetWidth||1,S=le(t.height)/y.offsetHeight||1;return u!==1||S!==1}function Qr(y,t,u){u===void 0&&(u=!1);var S=te(t),I=te(t)&&br(t),W=it(t),Y=Ce(y,I,u),J={scrollLeft:0,scrollTop:0},oe={x:0,y:0};return(S||!S&&!u)&&((ce(t)!=="body"||Vt(W))&&(J=vi(t)),te(t)?(oe=Ce(t,!0),oe.x+=t.clientLeft,oe.y+=t.clientTop):W&&(oe.x=rt(W))),{x:Y.left+J.scrollLeft-oe.x,y:Y.top+J.scrollTop-oe.y,width:Y.width,height:Y.height}}function Vn(y){var t=new Map,u=new Set,S=[];y.forEach(function(W){t.set(W.name,W)});function I(W){u.add(W.name);var Y=[].concat(W.requires||[],W.requiresIfExists||[]);Y.forEach(function(J){if(!u.has(J)){var oe=t.get(J);oe&&I(oe)}}),S.push(W)}return y.forEach(function(W){u.has(W.name)||I(W)}),S}function yr(y){var t=Vn(y);return ae.reduce(function(u,S){return u.concat(t.filter(function(I){return I.phase===S}))},[])}function vr(y){var t;return function(){return t||(t=new Promise(function(u){Promise.resolve().then(function(){t=void 0,u(y())})})),t}}function Er(y){var t=y.reduce(function(u,S){var I=u[S.name];return u[S.name]=I?Object.assign({},I,S,{options:Object.assign({},I.options,S.options),data:Object.assign({},I.data,S.data)}):S,u},{});return Object.keys(t).map(function(u){return t[u]})}var Wi={placement:"bottom",modifiers:[],strategy:"absolute"};function wr(){for(var y=arguments.length,t=new Array(y),u=0;u(y&&window.CSS&&window.CSS.escape&&(y=y.replace(/#([^\s"#']+)/g,(t,u)=>`#${CSS.escape(u)}`)),y),Ki=y=>y==null?`${y}`:Object.prototype.toString.call(y).match(/\s([a-z]+)/i)[1].toLowerCase(),Tr=y=>{do y+=Math.floor(Math.random()*Nn);while(document.getElementById(y));return y},Ci=y=>{if(!y)return 0;let{transitionDuration:t,transitionDelay:u}=window.getComputedStyle(y);const S=Number.parseFloat(t),I=Number.parseFloat(u);return!S&&!I?0:(t=t.split(",")[0],u=u.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(u))*wi)},Yi=y=>{y.dispatchEvent(new Event(Vi))},an=y=>!y||typeof y!="object"?!1:(typeof y.jquery<"u"&&(y=y[0]),typeof y.nodeType<"u"),yn=y=>an(y)?y.jquery?y[0]:y:typeof y=="string"&&y.length>0?document.querySelector(Ar(y)):null,Et=y=>{if(!an(y)||y.getClientRects().length===0)return!1;const t=getComputedStyle(y).getPropertyValue("visibility")==="visible",u=y.closest("details:not([open])");if(!u)return t;if(u!==y){const S=y.closest("summary");if(S&&S.parentNode!==u||S===null)return!1}return t},cn=y=>!y||y.nodeType!==Node.ELEMENT_NODE||y.classList.contains("disabled")?!0:typeof y.disabled<"u"?y.disabled:y.hasAttribute("disabled")&&y.getAttribute("disabled")!=="false",kn=y=>{if(!document.documentElement.attachShadow)return null;if(typeof y.getRootNode=="function"){const t=y.getRootNode();return t instanceof ShadowRoot?t:null}return y instanceof ShadowRoot?y:y.parentNode?kn(y.parentNode):null},Ai=()=>{},Kn=y=>{y.offsetHeight},vn=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,un=[],zi=y=>{document.readyState==="loading"?(un.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of un)t()}),un.push(y)):y()},Yt=()=>document.documentElement.dir==="rtl",wt=y=>{zi(()=>{const t=vn();if(t){const u=y.NAME,S=t.fn[u];t.fn[u]=y.jQueryInterface,t.fn[u].Constructor=y,t.fn[u].noConflict=()=>(t.fn[u]=S,y.jQueryInterface)}})},xt=(y,t=[],u=y)=>typeof y=="function"?y(...t):u,Ti=(y,t,u=!0)=>{if(!u){xt(y);return}const S=5,I=Ci(t)+S;let W=!1;const Y=({target:J})=>{J===t&&(W=!0,t.removeEventListener(Vi,Y),xt(y))};t.addEventListener(Vi,Y),setTimeout(()=>{W||Yi(t)},I)},_i=(y,t,u,S)=>{const I=y.length;let W=y.indexOf(t);return W===-1?!u&&S?y[I-1]:y[0]:(W+=u?1:-1,S&&(W=(W+I)%I),y[Math.max(0,Math.min(W,I-1))])},_r=/[^.]*(?=\..*)\.|.*/,Jr=/\..*/,xr=/::\d+$/,qi={};let jr=1;const xi={mouseenter:"mouseover",mouseleave:"mouseout"},Zr=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 Sr(y,t){return t&&`${t}::${jr++}`||y.uidEvent||jr++}function Or(y){const t=Sr(y);return y.uidEvent=t,qi[t]=qi[t]||{},qi[t]}function eo(y,t){return function u(S){return Si(S,{delegateTarget:y}),u.oneOff&&ne.off(y,S.type,t),t.apply(y,[S])}}function to(y,t,u){return function S(I){const W=y.querySelectorAll(t);for(let{target:Y}=I;Y&&Y!==this;Y=Y.parentNode)for(const J of W)if(J===Y)return Si(I,{delegateTarget:Y}),S.oneOff&&ne.off(y,I.type,t,u),u.apply(Y,[I])}}function Dr(y,t,u=null){return Object.values(y).find(S=>S.callable===t&&S.delegationSelector===u)}function Rr(y,t,u){const S=typeof t=="string",I=S?u:t||u;let W=ji(y);return Zr.has(W)||(W=y),[S,I,W]}function Qi(y,t,u,S,I){if(typeof t!="string"||!y)return;let[W,Y,J]=Rr(t,u,S);t in xi&&(Y=(ot=>function(Ue){if(!Ue.relatedTarget||Ue.relatedTarget!==Ue.delegateTarget&&!Ue.delegateTarget.contains(Ue.relatedTarget))return ot.call(this,Ue)})(Y));const oe=Or(y),Te=oe[J]||(oe[J]={}),de=Dr(Te,Y,W?u:null);if(de){de.oneOff=de.oneOff&&I;return}const Me=Sr(Y,t.replace(_r,"")),We=W?to(y,u,Y):eo(y,Y);We.delegationSelector=W?u:null,We.callable=Y,We.oneOff=I,We.uidEvent=Me,Te[Me]=We,y.addEventListener(J,We,W)}function Yn(y,t,u,S,I){const W=Dr(t[u],S,I);W&&(y.removeEventListener(u,W,!!I),delete t[u][W.uidEvent])}function Pr(y,t,u,S){const I=t[u]||{};for(const[W,Y]of Object.entries(I))W.includes(S)&&Yn(y,t,u,Y.callable,Y.delegationSelector)}function ji(y){return y=y.replace(Jr,""),xi[y]||y}const ne={on(y,t,u,S){Qi(y,t,u,S,!1)},one(y,t,u,S){Qi(y,t,u,S,!0)},off(y,t,u,S){if(typeof t!="string"||!y)return;const[I,W,Y]=Rr(t,u,S),J=Y!==t,oe=Or(y),Te=oe[Y]||{},de=t.startsWith(".");if(typeof W<"u"){if(!Object.keys(Te).length)return;Yn(y,oe,Y,W,I?u:null);return}if(de)for(const Me of Object.keys(oe))Pr(y,oe,Me,t.slice(1));for(const[Me,We]of Object.entries(Te)){const ke=Me.replace(xr,"");(!J||t.includes(ke))&&Yn(y,oe,Y,We.callable,We.delegationSelector)}},trigger(y,t,u){if(typeof t!="string"||!y)return null;const S=vn(),I=ji(t),W=t!==I;let Y=null,J=!0,oe=!0,Te=!1;W&&S&&(Y=S.Event(t,u),S(y).trigger(Y),J=!Y.isPropagationStopped(),oe=!Y.isImmediatePropagationStopped(),Te=Y.isDefaultPrevented());const de=Si(new Event(t,{bubbles:J,cancelable:!0}),u);return Te&&de.preventDefault(),oe&&y.dispatchEvent(de),de.defaultPrevented&&Y&&Y.preventDefault(),de}};function Si(y,t={}){for(const[u,S]of Object.entries(t))try{y[u]=S}catch{Object.defineProperty(y,u,{configurable:!0,get(){return S}})}return y}function Oi(y){if(y==="true")return!0;if(y==="false")return!1;if(y===Number(y).toString())return Number(y);if(y===""||y==="null")return null;if(typeof y!="string")return y;try{return JSON.parse(decodeURIComponent(y))}catch{return y}}function Xi(y){return y.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ln={setDataAttribute(y,t,u){y.setAttribute(`data-bs-${Xi(t)}`,u)},removeDataAttribute(y,t){y.removeAttribute(`data-bs-${Xi(t)}`)},getDataAttributes(y){if(!y)return{};const t={},u=Object.keys(y.dataset).filter(S=>S.startsWith("bs")&&!S.startsWith("bsConfig"));for(const S of u){let I=S.replace(/^bs/,"");I=I.charAt(0).toLowerCase()+I.slice(1,I.length),t[I]=Oi(y.dataset[S])}return t},getDataAttribute(y,t){return Oi(y.getAttribute(`data-bs-${Xi(t)}`))}};class zn{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,u){const S=an(u)?ln.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof S=="object"?S:{},...an(u)?ln.getDataAttributes(u):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,u=this.constructor.DefaultType){for(const[S,I]of Object.entries(u)){const W=t[S],Y=an(W)?"element":Ki(W);if(!new RegExp(I).test(Y))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${S}" provided type "${Y}" but expected type "${I}".`)}}}const qn="5.3.1";class zt extends zn{constructor(t,u){super(),t=yn(t),t&&(this._element=t,this._config=this._getConfig(u),vt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){vt.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,u,S=!0){Ti(t,u,S)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return vt.get(yn(t),this.DATA_KEY)}static getOrCreateInstance(t,u={}){return this.getInstance(t)||new this(t,typeof u=="object"?u:null)}static get VERSION(){return qn}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Qn=y=>{let t=y.getAttribute("data-bs-target");if(!t||t==="#"){let u=y.getAttribute("href");if(!u||!u.includes("#")&&!u.startsWith("."))return null;u.includes("#")&&!u.startsWith("#")&&(u=`#${u.split("#")[1]}`),t=u&&u!=="#"?u.trim():null}return Ar(t)},_e={find(y,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,y))},findOne(y,t=document.documentElement){return Element.prototype.querySelector.call(t,y)},children(y,t){return[].concat(...y.children).filter(u=>u.matches(t))},parents(y,t){const u=[];let S=y.parentNode.closest(t);for(;S;)u.push(S),S=S.parentNode.closest(t);return u},prev(y,t){let u=y.previousElementSibling;for(;u;){if(u.matches(t))return[u];u=u.previousElementSibling}return[]},next(y,t){let u=y.nextElementSibling;for(;u;){if(u.matches(t))return[u];u=u.nextElementSibling}return[]},focusableChildren(y){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(t,y).filter(u=>!cn(u)&&Et(u))},getSelectorFromElement(y){const t=Qn(y);return t&&_e.findOne(t)?t:null},getElementFromSelector(y){const t=Qn(y);return t?_e.findOne(t):null},getMultipleElementsFromSelector(y){const t=Qn(y);return t?_e.find(t):[]}},Di=(y,t="hide")=>{const u=`click.dismiss${y.EVENT_KEY}`,S=y.NAME;ne.on(document,u,`[data-bs-dismiss="${S}"]`,function(I){if(["A","AREA"].includes(this.tagName)&&I.preventDefault(),cn(this))return;const W=_e.getElementFromSelector(this)||this.closest(`.${S}`);y.getOrCreateInstance(W)[t]()})},no="alert",i=".bs.alert",o=`close${i}`,f=`closed${i}`,w="fade",C="show";class _ extends zt{static get NAME(){return no}close(){if(ne.trigger(this._element,o).defaultPrevented)return;this._element.classList.remove(C);const u=this._element.classList.contains(w);this._queueCallback(()=>this._destroyElement(),this._element,u)}_destroyElement(){this._element.remove(),ne.trigger(this._element,f),this.dispose()}static jQueryInterface(t){return this.each(function(){const u=_.getOrCreateInstance(this);if(typeof t=="string"){if(u[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);u[t](this)}})}}Di(_,"close"),wt(_);const F="button",H=".bs.button",q=".data-api",G="active",K='[data-bs-toggle="button"]',re=`click${H}${q}`;class je extends zt{static get NAME(){return F}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(G))}static jQueryInterface(t){return this.each(function(){const u=je.getOrCreateInstance(this);t==="toggle"&&u[t]()})}}ne.on(document,re,K,y=>{y.preventDefault();const t=y.target.closest(K);je.getOrCreateInstance(t).toggle()}),wt(je);const Ye="swipe",Pe=".bs.swipe",mt=`touchstart${Pe}`,ft=`touchmove${Pe}`,Zt=`touchend${Pe}`,en=`pointerdown${Pe}`,He=`pointerup${Pe}`,An="touch",qe="pen",ct="pointer-event",Xn=40,Gi={endCallback:null,leftCallback:null,rightCallback:null},tn={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class En extends zn{constructor(t,u){super(),this._element=t,!(!t||!En.isSupported())&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Gi}static get DefaultType(){return tn}static get NAME(){return Ye}dispose(){ne.off(this._element,Pe)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),xt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Xn)return;const u=t/this._deltaX;this._deltaX=0,u&&xt(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,en,t=>this._start(t)),ne.on(this._element,He,t=>this._end(t)),this._element.classList.add(ct)):(ne.on(this._element,mt,t=>this._start(t)),ne.on(this._element,ft,t=>this._move(t)),ne.on(this._element,Zt,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===qe||t.pointerType===An)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const nn="carousel",jt=".bs.carousel",It=".data-api",Ji="ArrowLeft",fn="ArrowRight",dn=500,Gn="next",Ln="prev",In="left",Xe="right",Ri=`slide${jt}`,Ft=`slid${jt}`,Fn=`keydown${jt}`,io=`mouseenter${jt}`,ro=`mouseleave${jt}`,Nr=`dragstart${jt}`,_n=`load${jt}${It}`,Zi=`click${jt}${It}`,hn="carousel",Jn="active",Zn="slide",Pi="carousel-item-end",Ni="carousel-item-start",er="carousel-item-next",oo="carousel-item-prev",ei=".active",ki=".carousel-item",tr=ei+ki,so=".carousel-item img",nr=".carousel-indicators",kr="[data-bs-slide], [data-bs-slide-to]",R='[data-bs-ride="carousel"]',M={[Ji]:Xe,[fn]:In},V={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},z={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class X extends zt{constructor(t,u){super(t,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=_e.findOne(nr,this._element),this._addEventListeners(),this._config.ride===hn&&this.cycle()}static get Default(){return V}static get DefaultType(){return z}static get NAME(){return nn}next(){this._slide(Gn)}nextWhenVisible(){!document.hidden&&Et(this._element)&&this.next()}prev(){this._slide(Ln)}pause(){this._isSliding&&Yi(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ne.one(this._element,Ft,()=>this.cycle());return}this.cycle()}}to(t){const u=this._getItems();if(t>u.length-1||t<0)return;if(this._isSliding){ne.one(this._element,Ft,()=>this.to(t));return}const S=this._getItemIndex(this._getActive());if(S===t)return;const I=t>S?Gn:Ln;this._slide(I,u[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&ne.on(this._element,Fn,t=>this._keydown(t)),this._config.pause==="hover"&&(ne.on(this._element,io,()=>this.pause()),ne.on(this._element,ro,()=>this._maybeEnableCycle())),this._config.touch&&En.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const S of _e.find(so,this._element))ne.on(S,Nr,I=>I.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(In)),rightCallback:()=>this._slide(this._directionToOrder(Xe)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),dn+this._config.interval))}};this._swipeHelper=new En(this._element,u)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const u=M[t.key];u&&(t.preventDefault(),this._slide(this._directionToOrder(u)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const u=_e.findOne(ei,this._indicatorsElement);u.classList.remove(Jn),u.removeAttribute("aria-current");const S=_e.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);S&&(S.classList.add(Jn),S.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const u=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=u||this._config.defaultInterval}_slide(t,u=null){if(this._isSliding)return;const S=this._getActive(),I=t===Gn,W=u||_i(this._getItems(),S,I,this._config.wrap);if(W===S)return;const Y=this._getItemIndex(W),J=ke=>ne.trigger(this._element,ke,{relatedTarget:W,direction:this._orderToDirection(t),from:this._getItemIndex(S),to:Y});if(J(Ri).defaultPrevented||!S||!W)return;const Te=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Y),this._activeElement=W;const de=I?Ni:Pi,Me=I?er:oo;W.classList.add(Me),Kn(W),S.classList.add(de),W.classList.add(de);const We=()=>{W.classList.remove(de,Me),W.classList.add(Jn),S.classList.remove(Jn,Me,de),this._isSliding=!1,J(Ft)};this._queueCallback(We,S,this._isAnimated()),Te&&this.cycle()}_isAnimated(){return this._element.classList.contains(Zn)}_getActive(){return _e.findOne(tr,this._element)}_getItems(){return _e.find(ki,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Yt()?t===In?Ln:Gn:t===In?Gn:Ln}_orderToDirection(t){return Yt()?t===Ln?In:Xe:t===Ln?Xe:In}static jQueryInterface(t){return this.each(function(){const u=X.getOrCreateInstance(this,t);if(typeof t=="number"){u.to(t);return}if(typeof t=="string"){if(u[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);u[t]()}})}}ne.on(document,Zi,kr,function(y){const t=_e.getElementFromSelector(this);if(!t||!t.classList.contains(hn))return;y.preventDefault();const u=X.getOrCreateInstance(t),S=this.getAttribute("data-bs-slide-to");if(S){u.to(S),u._maybeEnableCycle();return}if(ln.getDataAttribute(this,"slide")==="next"){u.next(),u._maybeEnableCycle();return}u.prev(),u._maybeEnableCycle()}),ne.on(window,_n,()=>{const y=_e.find(R);for(const t of y)X.getOrCreateInstance(t)}),wt(X);const ge="collapse",we=".bs.collapse",ve=".data-api",$e=`show${we}`,Oe=`shown${we}`,Ne=`hide${we}`,Be=`hidden${we}`,xe=`click${we}${ve}`,et="show",dt="collapse",ht="collapsing",qt="collapsed",rn=`:scope .${dt} .${dt}`,Mn="collapse-horizontal",St="width",bs="height",ys=".collapse.show, .collapse.collapsing",ao='[data-bs-toggle="collapse"]',vs={parent:null,toggle:!0},Es={parent:"(null|element)",toggle:"boolean"};class Li extends zt{constructor(t,u){super(t,u),this._isTransitioning=!1,this._triggerArray=[];const S=_e.find(ao);for(const I of S){const W=_e.getSelectorFromElement(I),Y=_e.find(W).filter(J=>J===this._element);W!==null&&Y.length&&this._triggerArray.push(I)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return vs}static get DefaultType(){return Es}static get NAME(){return ge}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(ys).filter(J=>J!==this._element).map(J=>Li.getOrCreateInstance(J,{toggle:!1}))),t.length&&t[0]._isTransitioning||ne.trigger(this._element,$e).defaultPrevented)return;for(const J of t)J.hide();const S=this._getDimension();this._element.classList.remove(dt),this._element.classList.add(ht),this._element.style[S]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const I=()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(dt,et),this._element.style[S]="",ne.trigger(this._element,Oe)},Y=`scroll${S[0].toUpperCase()+S.slice(1)}`;this._queueCallback(I,this._element,!0),this._element.style[S]=`${this._element[Y]}px`}hide(){if(this._isTransitioning||!this._isShown()||ne.trigger(this._element,Ne).defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,Kn(this._element),this._element.classList.add(ht),this._element.classList.remove(dt,et);for(const I of this._triggerArray){const W=_e.getElementFromSelector(I);W&&!this._isShown(W)&&this._addAriaAndCollapsedClass([I],!1)}this._isTransitioning=!0;const S=()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(dt),ne.trigger(this._element,Be)};this._element.style[u]="",this._queueCallback(S,this._element,!0)}_isShown(t=this._element){return t.classList.contains(et)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=yn(t.parent),t}_getDimension(){return this._element.classList.contains(Mn)?St:bs}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(ao);for(const u of t){const S=_e.getElementFromSelector(u);S&&this._addAriaAndCollapsedClass([u],this._isShown(S))}}_getFirstLevelChildren(t){const u=_e.find(rn,this._config.parent);return _e.find(t,this._config.parent).filter(S=>!u.includes(S))}_addAriaAndCollapsedClass(t,u){if(t.length)for(const S of t)S.classList.toggle(qt,!u),S.setAttribute("aria-expanded",u)}static jQueryInterface(t){const u={};return typeof t=="string"&&/show|hide/.test(t)&&(u.toggle=!1),this.each(function(){const S=Li.getOrCreateInstance(this,u);if(typeof t=="string"){if(typeof S[t]>"u")throw new TypeError(`No method named "${t}"`);S[t]()}})}}ne.on(document,xe,ao,function(y){(y.target.tagName==="A"||y.delegateTarget&&y.delegateTarget.tagName==="A")&&y.preventDefault();for(const t of _e.getMultipleElementsFromSelector(this))Li.getOrCreateInstance(t,{toggle:!1}).toggle()}),wt(Li);const xo="dropdown",ti=".bs.dropdown",co=".data-api",ws="Escape",jo="Tab",Cs="ArrowUp",So="ArrowDown",As=2,Ts=`hide${ti}`,_s=`hidden${ti}`,xs=`show${ti}`,js=`shown${ti}`,Oo=`click${ti}${co}`,Do=`keydown${ti}${co}`,Ss=`keyup${ti}${co}`,Ii="show",Os="dropup",Ds="dropend",Rs="dropstart",Ps="dropup-center",Ns="dropdown-center",ni='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ks=`${ni}.${Ii}`,Lr=".dropdown-menu",Ls=".navbar",Is=".navbar-nav",Fs=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ms=Yt()?"top-end":"top-start",$s=Yt()?"top-start":"top-end",Bs=Yt()?"bottom-end":"bottom-start",Hs=Yt()?"bottom-start":"bottom-end",Ws=Yt()?"left-start":"right-start",Us=Yt()?"right-start":"left-start",Vs="top",Ks="bottom",Ys={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},zs={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class pn extends zt{constructor(t,u){super(t,u),this._popper=null,this._parent=this._element.parentNode,this._menu=_e.next(this._element,Lr)[0]||_e.prev(this._element,Lr)[0]||_e.findOne(Lr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ys}static get DefaultType(){return zs}static get NAME(){return xo}toggle(){return this._isShown()?this.hide():this.show()}show(){if(cn(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!ne.trigger(this._element,xs,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Is))for(const S of[].concat(...document.body.children))ne.on(S,"mouseover",Ai);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ii),this._element.classList.add(Ii),ne.trigger(this._element,js,t)}}hide(){if(cn(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!ne.trigger(this._element,Ts,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const S of[].concat(...document.body.children))ne.off(S,"mouseover",Ai);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ii),this._element.classList.remove(Ii),this._element.setAttribute("aria-expanded","false"),ln.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,_s,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!an(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${xo.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof N>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:an(this._config.reference)?t=yn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const u=this._getPopperConfig();this._popper=Ei(t,this._menu,u)}_isShown(){return this._menu.classList.contains(Ii)}_getPlacement(){const t=this._parent;if(t.classList.contains(Ds))return Ws;if(t.classList.contains(Rs))return Us;if(t.classList.contains(Ps))return Vs;if(t.classList.contains(Ns))return Ks;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Os)?u?$s:Ms:u?Hs:Bs}_detectNavbar(){return this._element.closest(Ls)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(u=>Number.parseInt(u,10)):typeof t=="function"?u=>t(u,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(ln.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...xt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:u}){const S=_e.find(Fs,this._menu).filter(I=>Et(I));S.length&&_i(S,u,t===So,!S.includes(u)).focus()}static jQueryInterface(t){return this.each(function(){const u=pn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof u[t]>"u")throw new TypeError(`No method named "${t}"`);u[t]()}})}static clearMenus(t){if(t.button===As||t.type==="keyup"&&t.key!==jo)return;const u=_e.find(ks);for(const S of u){const I=pn.getInstance(S);if(!I||I._config.autoClose===!1)continue;const W=t.composedPath(),Y=W.includes(I._menu);if(W.includes(I._element)||I._config.autoClose==="inside"&&!Y||I._config.autoClose==="outside"&&Y||I._menu.contains(t.target)&&(t.type==="keyup"&&t.key===jo||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const J={relatedTarget:I._element};t.type==="click"&&(J.clickEvent=t),I._completeHide(J)}}static dataApiKeydownHandler(t){const u=/input|textarea/i.test(t.target.tagName),S=t.key===ws,I=[Cs,So].includes(t.key);if(!I&&!S||u&&!S)return;t.preventDefault();const W=this.matches(ni)?this:_e.prev(this,ni)[0]||_e.next(this,ni)[0]||_e.findOne(ni,t.delegateTarget.parentNode),Y=pn.getOrCreateInstance(W);if(I){t.stopPropagation(),Y.show(),Y._selectMenuItem(t);return}Y._isShown()&&(t.stopPropagation(),Y.hide(),W.focus())}}ne.on(document,Do,ni,pn.dataApiKeydownHandler),ne.on(document,Do,Lr,pn.dataApiKeydownHandler),ne.on(document,Oo,pn.clearMenus),ne.on(document,Ss,pn.clearMenus),ne.on(document,Oo,ni,function(y){y.preventDefault(),pn.getOrCreateInstance(this).toggle()}),wt(pn);const Ro="backdrop",qs="fade",Po="show",No=`mousedown.bs.${Ro}`,Qs={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Xs={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ko extends zn{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Qs}static get DefaultType(){return Xs}static get NAME(){return Ro}show(t){if(!this._config.isVisible){xt(t);return}this._append();const u=this._getElement();this._config.isAnimated&&Kn(u),u.classList.add(Po),this._emulateAnimation(()=>{xt(t)})}hide(t){if(!this._config.isVisible){xt(t);return}this._getElement().classList.remove(Po),this._emulateAnimation(()=>{this.dispose(),xt(t)})}dispose(){this._isAppended&&(ne.off(this._element,No),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(qs),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=yn(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),ne.on(t,No,()=>{xt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Ti(t,this._getElement(),this._config.isAnimated)}}const Gs="focustrap",Ir=".bs.focustrap",Js=`focusin${Ir}`,Zs=`keydown.tab${Ir}`,ea="Tab",ta="forward",Lo="backward",na={autofocus:!0,trapElement:null},ia={autofocus:"boolean",trapElement:"element"};class Io extends zn{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return na}static get DefaultType(){return ia}static get NAME(){return Gs}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ir),ne.on(document,Js,t=>this._handleFocusin(t)),ne.on(document,Zs,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,Ir))}_handleFocusin(t){const{trapElement:u}=this._config;if(t.target===document||t.target===u||u.contains(t.target))return;const S=_e.focusableChildren(u);S.length===0?u.focus():this._lastTabNavDirection===Lo?S[S.length-1].focus():S[0].focus()}_handleKeydown(t){t.key===ea&&(this._lastTabNavDirection=t.shiftKey?Lo:ta)}}const Fo=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Mo=".sticky-top",Fr="padding-right",$o="margin-right";class uo{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Fr,u=>u+t),this._setElementAttributes(Fo,Fr,u=>u+t),this._setElementAttributes(Mo,$o,u=>u-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Fr),this._resetElementAttributes(Fo,Fr),this._resetElementAttributes(Mo,$o)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,u,S){const I=this.getWidth(),W=Y=>{if(Y!==this._element&&window.innerWidth>Y.clientWidth+I)return;this._saveInitialAttribute(Y,u);const J=window.getComputedStyle(Y).getPropertyValue(u);Y.style.setProperty(u,`${S(Number.parseFloat(J))}px`)};this._applyManipulationCallback(t,W)}_saveInitialAttribute(t,u){const S=t.style.getPropertyValue(u);S&&ln.setDataAttribute(t,u,S)}_resetElementAttributes(t,u){const S=I=>{const W=ln.getDataAttribute(I,u);if(W===null){I.style.removeProperty(u);return}ln.removeDataAttribute(I,u),I.style.setProperty(u,W)};this._applyManipulationCallback(t,S)}_applyManipulationCallback(t,u){if(an(t)){u(t);return}for(const S of _e.find(t,this._element))u(S)}}const ra="modal",on=".bs.modal",oa=".data-api",sa="Escape",aa=`hide${on}`,ca=`hidePrevented${on}`,Bo=`hidden${on}`,Ho=`show${on}`,ua=`shown${on}`,la=`resize${on}`,fa=`click.dismiss${on}`,da=`mousedown.dismiss${on}`,ha=`keydown.dismiss${on}`,pa=`click${on}${oa}`,Wo="modal-open",ga="fade",Uo="show",lo="modal-static",ma=".modal.show",ba=".modal-dialog",ya=".modal-body",va='[data-bs-toggle="modal"]',Ea={backdrop:!0,focus:!0,keyboard:!0},wa={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ii extends zt{constructor(t,u){super(t,u),this._dialog=_e.findOne(ba,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new uo,this._addEventListeners()}static get Default(){return Ea}static get DefaultType(){return wa}static get NAME(){return ra}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||ne.trigger(this._element,Ho,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Wo),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,aa).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Uo),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,on),ne.off(this._dialog,on),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ko({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Io({trapElement:this._element})}_showElement(t){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;const u=_e.findOne(ya,this._dialog);u&&(u.scrollTop=0),Kn(this._element),this._element.classList.add(Uo);const S=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,ua,{relatedTarget:t})};this._queueCallback(S,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,ha,t=>{if(t.key===sa){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,la,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,da,t=>{ne.one(this._element,fa,u=>{if(!(this._element!==t.target||this._element!==u.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}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(Wo),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,Bo)})}_isAnimated(){return this._element.classList.contains(ga)}_triggerBackdropTransition(){if(ne.trigger(this._element,ca).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,S=this._element.style.overflowY;S==="hidden"||this._element.classList.contains(lo)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(lo),this._queueCallback(()=>{this._element.classList.remove(lo),this._queueCallback(()=>{this._element.style.overflowY=S},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,u=this._scrollBar.getWidth(),S=u>0;if(S&&!t){const I=Yt()?"paddingLeft":"paddingRight";this._element.style[I]=`${u}px`}if(!S&&t){const I=Yt()?"paddingRight":"paddingLeft";this._element.style[I]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,u){return this.each(function(){const S=ii.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof S[t]>"u")throw new TypeError(`No method named "${t}"`);S[t](u)}})}}ne.on(document,pa,va,function(y){const t=_e.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&y.preventDefault(),ne.one(t,Ho,I=>{I.defaultPrevented||ne.one(t,Bo,()=>{Et(this)&&this.focus()})});const u=_e.findOne(ma);u&&ii.getInstance(u).hide(),ii.getOrCreateInstance(t).toggle(this)}),Di(ii),wt(ii);const Ca="offcanvas",xn=".bs.offcanvas",Vo=".data-api",Aa=`load${xn}${Vo}`,Ta="Escape",Ko="show",Yo="showing",zo="hiding",_a="offcanvas-backdrop",qo=".offcanvas.show",xa=`show${xn}`,ja=`shown${xn}`,Sa=`hide${xn}`,Qo=`hidePrevented${xn}`,Xo=`hidden${xn}`,Oa=`resize${xn}`,Da=`click${xn}${Vo}`,Ra=`keydown.dismiss${xn}`,Pa='[data-bs-toggle="offcanvas"]',Na={backdrop:!0,keyboard:!0,scroll:!1},ka={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class jn extends zt{constructor(t,u){super(t,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Na}static get DefaultType(){return ka}static get NAME(){return Ca}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||ne.trigger(this._element,xa,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new uo().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Yo);const S=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ko),this._element.classList.remove(Yo),ne.trigger(this._element,ja,{relatedTarget:t})};this._queueCallback(S,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,Sa).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(zo),this._backdrop.hide();const u=()=>{this._element.classList.remove(Ko,zo),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new uo().reset(),ne.trigger(this._element,Xo)};this._queueCallback(u,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,Qo);return}this.hide()},u=!!this._config.backdrop;return new ko({className:_a,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?t:null})}_initializeFocusTrap(){return new Io({trapElement:this._element})}_addEventListeners(){ne.on(this._element,Ra,t=>{if(t.key===Ta){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,Qo)}})}static jQueryInterface(t){return this.each(function(){const u=jn.getOrCreateInstance(this,t);if(typeof t=="string"){if(u[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);u[t](this)}})}}ne.on(document,Da,Pa,function(y){const t=_e.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),cn(this))return;ne.one(t,Xo,()=>{Et(this)&&this.focus()});const u=_e.findOne(qo);u&&u!==t&&jn.getInstance(u).hide(),jn.getOrCreateInstance(t).toggle(this)}),ne.on(window,Aa,()=>{for(const y of _e.find(qo))jn.getOrCreateInstance(y).show()}),ne.on(window,Oa,()=>{for(const y of _e.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(y).position!=="fixed"&&jn.getOrCreateInstance(y).hide()}),Di(jn),wt(jn);const Go={"*":["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:[]},La=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ia=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Fa=(y,t)=>{const u=y.nodeName.toLowerCase();return t.includes(u)?La.has(u)?!!Ia.test(y.nodeValue):!0:t.filter(S=>S instanceof RegExp).some(S=>S.test(u))};function Ma(y,t,u){if(!y.length)return y;if(u&&typeof u=="function")return u(y);const I=new window.DOMParser().parseFromString(y,"text/html"),W=[].concat(...I.body.querySelectorAll("*"));for(const Y of W){const J=Y.nodeName.toLowerCase();if(!Object.keys(t).includes(J)){Y.remove();continue}const oe=[].concat(...Y.attributes),Te=[].concat(t["*"]||[],t[J]||[]);for(const de of oe)Fa(de,Te)||Y.removeAttribute(de.nodeName)}return I.body.innerHTML}const $a="TemplateFactory",Ba={allowList:Go,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:""},Ha={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Wa={entry:"(string|element|function|null)",selector:"(string|element)"};class Ua extends zn{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ba}static get DefaultType(){return Ha}static get NAME(){return $a}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[I,W]of Object.entries(this._config.content))this._setContent(t,W,I);const u=t.children[0],S=this._resolvePossibleFunction(this._config.extraClass);return S&&u.classList.add(...S.split(" ")),u}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[u,S]of Object.entries(t))super._typeCheckConfig({selector:u,entry:S},Wa)}_setContent(t,u,S){const I=_e.findOne(S,t);if(I){if(u=this._resolvePossibleFunction(u),!u){I.remove();return}if(an(u)){this._putElementInTemplate(yn(u),I);return}if(this._config.html){I.innerHTML=this._maybeSanitize(u);return}I.textContent=u}}_maybeSanitize(t){return this._config.sanitize?Ma(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return xt(t,[this])}_putElementInTemplate(t,u){if(this._config.html){u.innerHTML="",u.append(t);return}u.textContent=t.textContent}}const Va="tooltip",Ka=new Set(["sanitize","allowList","sanitizeFn"]),fo="fade",Ya="modal",Mr="show",za=".tooltip-inner",Jo=`.${Ya}`,Zo="hide.bs.modal",ir="hover",ho="focus",qa="click",Qa="manual",Xa="hide",Ga="hidden",Ja="show",Za="shown",ec="inserted",tc="click",nc="focusin",ic="focusout",rc="mouseenter",oc="mouseleave",sc={AUTO:"auto",TOP:"top",RIGHT:Yt()?"left":"right",BOTTOM:"bottom",LEFT:Yt()?"right":"left"},ac={allowList:Go,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'
',title:"",trigger:"hover focus"},cc={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 ri extends zt{constructor(t,u){if(typeof N>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,u),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 ac}static get DefaultType(){return cc}static get NAME(){return Va}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ne.off(this._element.closest(Jo),Zo,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(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=ne.trigger(this._element,this.constructor.eventName(Ja)),S=(kn(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!S)return;this._disposePopper();const I=this._getTipElement();this._element.setAttribute("aria-describedby",I.getAttribute("id"));const{container:W}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(W.append(I),ne.trigger(this._element,this.constructor.eventName(ec))),this._popper=this._createPopper(I),I.classList.add(Mr),"ontouchstart"in document.documentElement)for(const J of[].concat(...document.body.children))ne.on(J,"mouseover",Ai);const Y=()=>{ne.trigger(this._element,this.constructor.eventName(Za)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Y,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(Xa)).defaultPrevented)return;if(this._getTipElement().classList.remove(Mr),"ontouchstart"in document.documentElement)for(const I of[].concat(...document.body.children))ne.off(I,"mouseover",Ai);this._activeTrigger[qa]=!1,this._activeTrigger[ho]=!1,this._activeTrigger[ir]=!1,this._isHovered=null;const S=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(Ga)))};this._queueCallback(S,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const u=this._getTemplateFactory(t).toHtml();if(!u)return null;u.classList.remove(fo,Mr),u.classList.add(`bs-${this.constructor.NAME}-auto`);const S=Tr(this.constructor.NAME).toString();return u.setAttribute("id",S),this._isAnimated()&&u.classList.add(fo),u}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ua({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[za]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(fo)}_isShown(){return this.tip&&this.tip.classList.contains(Mr)}_createPopper(t){const u=xt(this._config.placement,[this,t,this._element]),S=sc[u.toUpperCase()];return Ei(this._element,t,this._getPopperConfig(S))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(u=>Number.parseInt(u,10)):typeof t=="function"?u=>t(u,this._element):t}_resolvePossibleFunction(t){return xt(t,[this._element])}_getPopperConfig(t){const u={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:S=>{this._getTipElement().setAttribute("data-popper-placement",S.state.placement)}}]};return{...u,...xt(this._config.popperConfig,[u])}}_setListeners(){const t=this._config.trigger.split(" ");for(const u of t)if(u==="click")ne.on(this._element,this.constructor.eventName(tc),this._config.selector,S=>{this._initializeOnDelegatedTarget(S).toggle()});else if(u!==Qa){const S=u===ir?this.constructor.eventName(rc):this.constructor.eventName(nc),I=u===ir?this.constructor.eventName(oc):this.constructor.eventName(ic);ne.on(this._element,S,this._config.selector,W=>{const Y=this._initializeOnDelegatedTarget(W);Y._activeTrigger[W.type==="focusin"?ho:ir]=!0,Y._enter()}),ne.on(this._element,I,this._config.selector,W=>{const Y=this._initializeOnDelegatedTarget(W);Y._activeTrigger[W.type==="focusout"?ho:ir]=Y._element.contains(W.relatedTarget),Y._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(Jo),Zo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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(t,u){clearTimeout(this._timeout),this._timeout=setTimeout(t,u)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const u=ln.getDataAttributes(this._element);for(const S of Object.keys(u))Ka.has(S)&&delete u[S];return t={...u,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:yn(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[u,S]of Object.entries(this._config))this.constructor.Default[u]!==S&&(t[u]=S);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const u=ri.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof u[t]>"u")throw new TypeError(`No method named "${t}"`);u[t]()}})}}wt(ri);const uc="popover",lc=".popover-header",fc=".popover-body",dc={...ri.Default,content:"",offset:[0,8],placement:"right",template:'