var x="top",H="bottom",j="right",P="left",xe="auto",Ut=[x,H,j,P],wt="start",Mt="end",or="clippingParents",$n="viewport",$t="popper",ar="reference",gn=Ut.reduce(function(e,t){return e.concat([t+"-"+wt,t+"-"+Mt])},[]),In=[].concat(Ut,[xe]).reduce(function(e,t){return e.concat([t,t+"-"+wt,t+"-"+Mt])},[]),cr="beforeRead",lr="read",ur="afterRead",fr="beforeMain",dr="main",hr="afterMain",pr="beforeWrite",mr="write",_r="afterWrite",gr=[cr,lr,ur,fr,dr,hr,pr,mr,_r];function tt(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ot(e){var t=U(e).Element;return e instanceof t||e instanceof Element}function W(e){var t=U(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function xn(e){if(typeof ShadowRoot>"u")return!1;var t=U(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Mi(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!W(i)||!tt(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function ki(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],i=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),a=o.reduce(function(l,u){return l[u]="",l},{});!W(r)||!tt(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const Pn={name:"applyStyles",enabled:!0,phase:"write",fn:Mi,effect:ki,requires:["computeStyles"]};function Q(e){return e.split("-")[0]}var At=Math.max,Ne=Math.min,kt=Math.round;function En(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Er(){return!/^((?!chrome|android).)*safari/i.test(En())}function Vt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,i=1;t&&W(e)&&(r=e.offsetWidth>0&&kt(s.width)/e.offsetWidth||1,i=e.offsetHeight>0&&kt(s.height)/e.offsetHeight||1);var o=Ot(e)?U(e):window,a=o.visualViewport,l=!Er()&&n,u=(s.left+(l&&a?a.offsetLeft:0))/r,c=(s.top+(l&&a?a.offsetTop:0))/i,h=s.width/r,E=s.height/i;return{width:h,height:E,top:c,right:u+h,bottom:c+E,left:u,x:u,y:c}}function Mn(e){var t=Vt(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function br(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xn(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function st(e){return U(e).getComputedStyle(e)}function Vi(e){return["table","td","th"].indexOf(tt(e))>=0}function ft(e){return((Ot(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return tt(e)==="html"?e:e.assignedSlot||e.parentNode||(xn(e)?e.host:null)||ft(e)}function us(e){return!W(e)||st(e).position==="fixed"?null:e.offsetParent}function Fi(e){var t=/firefox/i.test(En()),n=/Trident/i.test(En());if(n&&W(e)){var s=st(e);if(s.position==="fixed")return null}var r=Pe(e);for(xn(r)&&(r=r.host);W(r)&&["html","body"].indexOf(tt(r))<0;){var i=st(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function re(e){for(var t=U(e),n=us(e);n&&Vi(n)&&st(n).position==="static";)n=us(n);return n&&(tt(n)==="html"||tt(n)==="body"&&st(n).position==="static")?t:n||Fi(e)||t}function kn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return At(e,Ne(t,n))}function Bi(e,t,n){var s=te(e,t,n);return s>n?n:s}function vr(){return{top:0,right:0,bottom:0,left:0}}function yr(e){return Object.assign({},vr(),e)}function Ar(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var Hi=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,yr(typeof t!="number"?t:Ar(t,Ut))};function ji(e){var t,n=e.state,s=e.name,r=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Q(n.placement),l=kn(a),u=[P,j].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var h=Hi(r.padding,n),E=Mn(i),g=l==="y"?x:P,m=l==="y"?H:j,_=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],p=o[l]-n.rects.reference[l],v=re(i),w=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,O=_/2-p/2,y=h[g],A=w-E[c]-h[m],S=w/2-E[c]/2+O,C=te(y,S,A),N=l;n.modifiersData[s]=(t={},t[N]=C,t.centerOffset=C-S,t)}}function Ui(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||br(t.elements.popper,r)&&(t.elements.arrow=r))}const Tr={name:"arrow",enabled:!0,phase:"main",fn:ji,effect:Ui,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ft(e){return e.split("-")[1]}var Wi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ki(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:kt(n*r)/r||0,y:kt(s*r)/r||0}}function fs(e){var t,n=e.popper,s=e.popperRect,r=e.placement,i=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,h=e.isFixed,E=o.x,g=E===void 0?0:E,m=o.y,_=m===void 0?0:m,p=typeof c=="function"?c({x:g,y:_}):{x:g,y:_};g=p.x,_=p.y;var v=o.hasOwnProperty("x"),w=o.hasOwnProperty("y"),O=P,y=x,A=window;if(u){var S=re(n),C="clientHeight",N="clientWidth";if(S===U(n)&&(S=ft(n),st(S).position!=="static"&&a==="absolute"&&(C="scrollHeight",N="scrollWidth")),S=S,r===x||(r===P||r===j)&&i===Mt){y=H;var D=h&&S===A&&A.visualViewport?A.visualViewport.height:S[C];_-=D-s.height,_*=l?1:-1}if(r===P||(r===x||r===H)&&i===Mt){O=j;var R=h&&S===A&&A.visualViewport?A.visualViewport.width:S[N];g-=R-s.width,g*=l?1:-1}}var $=Object.assign({position:a},u&&Wi),z=c===!0?Ki({x:g,y:_},U(n)):{x:g,y:_};if(g=z.x,_=z.y,l){var I;return Object.assign({},$,(I={},I[y]=w?"0":"",I[O]=v?"0":"",I.transform=(A.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",I))}return Object.assign({},$,(t={},t[y]=w?_+"px":"",t[O]=v?g+"px":"",t.transform="",t))}function qi(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Q(t.placement),variation:Ft(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,fs(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,fs(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qi,data:{}};var _e={passive:!0};function Yi(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,a=o===void 0?!0:o,l=U(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,_e)}),a&&l.addEventListener("resize",n.update,_e),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,_e)}),a&&l.removeEventListener("resize",n.update,_e)}}const Fn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Yi,data:{}};var zi={left:"right",right:"left",bottom:"top",top:"bottom"};function Te(e){return e.replace(/left|right|bottom|top/g,function(t){return zi[t]})}var Gi={start:"end",end:"start"};function ds(e){return e.replace(/start|end/g,function(t){return Gi[t]})}function Bn(e){var t=U(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Hn(e){return Vt(ft(e)).left+Bn(e).scrollLeft}function Xi(e,t){var n=U(e),s=ft(e),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,l=0;if(r){i=r.width,o=r.height;var u=Er();(u||!u&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:o,x:a+Hn(e),y:l}}function Ji(e){var t,n=ft(e),s=Bn(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=At(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=At(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-s.scrollLeft+Hn(e),l=-s.scrollTop;return st(r||n).direction==="rtl"&&(a+=At(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function jn(e){var t=st(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function wr(e){return["html","body","#document"].indexOf(tt(e))>=0?e.ownerDocument.body:W(e)&&jn(e)?e:wr(Pe(e))}function ee(e,t){var n;t===void 0&&(t=[]);var s=wr(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=U(s),o=r?[i].concat(i.visualViewport||[],jn(s)?s:[]):s,a=t.concat(o);return r?a:a.concat(ee(Pe(o)))}function bn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qi(e,t){var n=Vt(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function hs(e,t,n){return t===$n?bn(Xi(e,n)):Ot(t)?Qi(t,n):bn(Ji(ft(e)))}function Zi(e){var t=ee(Pe(e)),n=["absolute","fixed"].indexOf(st(e).position)>=0,s=n&&W(e)?re(e):e;return Ot(s)?t.filter(function(r){return Ot(r)&&br(r,s)&&tt(r)!=="body"}):[]}function to(e,t,n,s){var r=t==="clippingParents"?Zi(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(l,u){var c=hs(e,u,s);return l.top=At(c.top,l.top),l.right=Ne(c.right,l.right),l.bottom=Ne(c.bottom,l.bottom),l.left=At(c.left,l.left),l},hs(e,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Or(e){var t=e.reference,n=e.element,s=e.placement,r=s?Q(s):null,i=s?Ft(s):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(r){case x:l={x:o,y:t.y-n.height};break;case H:l={x:o,y:t.y+t.height};break;case j:l={x:t.x+t.width,y:a};break;case P:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=r?kn(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case wt:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Mt:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function Bt(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,i=n.strategy,o=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?or:a,u=n.rootBoundary,c=u===void 0?$n:u,h=n.elementContext,E=h===void 0?$t:h,g=n.altBoundary,m=g===void 0?!1:g,_=n.padding,p=_===void 0?0:_,v=yr(typeof p!="number"?p:Ar(p,Ut)),w=E===$t?ar:$t,O=e.rects.popper,y=e.elements[m?w:E],A=to(Ot(y)?y:y.contextElement||ft(e.elements.popper),l,c,o),S=Vt(e.elements.reference),C=Or({reference:S,element:O,strategy:"absolute",placement:r}),N=bn(Object.assign({},O,C)),D=E===$t?N:S,R={top:A.top-D.top+v.top,bottom:D.bottom-A.bottom+v.bottom,left:A.left-D.left+v.left,right:D.right-A.right+v.right},$=e.modifiersData.offset;if(E===$t&&$){var z=$[r];Object.keys(R).forEach(function(I){var pt=[j,H].indexOf(I)>=0?1:-1,mt=[x,H].indexOf(I)>=0?"y":"x";R[I]+=z[mt]*pt})}return R}function eo(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?In:l,c=Ft(s),h=c?a?gn:gn.filter(function(m){return Ft(m)===c}):Ut,E=h.filter(function(m){return u.indexOf(m)>=0});E.length===0&&(E=h);var g=E.reduce(function(m,_){return m[_]=Bt(e,{placement:_,boundary:r,rootBoundary:i,padding:o})[Q(_)],m},{});return Object.keys(g).sort(function(m,_){return g[m]-g[_]})}function no(e){if(Q(e)===xe)return[];var t=Te(e);return[ds(e),t,ds(t)]}function so(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,E=n.altBoundary,g=n.flipVariations,m=g===void 0?!0:g,_=n.allowedAutoPlacements,p=t.options.placement,v=Q(p),w=v===p,O=l||(w||!m?[Te(p)]:no(p)),y=[p].concat(O).reduce(function(Dt,it){return Dt.concat(Q(it)===xe?eo(t,{placement:it,boundary:c,rootBoundary:h,padding:u,flipVariations:m,allowedAutoPlacements:_}):it)},[]),A=t.rects.reference,S=t.rects.popper,C=new Map,N=!0,D=y[0],R=0;R=0,mt=pt?"width":"height",F=Bt(t,{placement:$,boundary:c,rootBoundary:h,altBoundary:E,padding:u}),G=pt?I?j:P:I?H:x;A[mt]>S[mt]&&(G=Te(G));var fe=Te(G),_t=[];if(i&&_t.push(F[z]<=0),a&&_t.push(F[G]<=0,F[fe]<=0),_t.every(function(Dt){return Dt})){D=$,N=!1;break}C.set($,_t)}if(N)for(var de=m?3:1,Ye=function(it){var Xt=y.find(function(pe){var gt=C.get(pe);if(gt)return gt.slice(0,it).every(function(ze){return ze})});if(Xt)return D=Xt,"break"},Gt=de;Gt>0;Gt--){var he=Ye(Gt);if(he==="break")break}t.placement!==D&&(t.modifiersData[s]._skip=!0,t.placement=D,t.reset=!0)}}const Sr={name:"flip",enabled:!0,phase:"main",fn:so,requiresIfExists:["offset"],data:{_skip:!1}};function ps(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ms(e){return[x,j,H,P].some(function(t){return e[t]>=0})}function ro(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,o=Bt(t,{elementContext:"reference"}),a=Bt(t,{altBoundary:!0}),l=ps(o,s),u=ps(a,r,i),c=ms(l),h=ms(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}const Cr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ro};function io(e,t,n){var s=Q(e),r=[P,x].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*r,[P,j].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function oo(e){var t=e.state,n=e.options,s=e.name,r=n.offset,i=r===void 0?[0,0]:r,o=In.reduce(function(c,h){return c[h]=io(h,t.rects,i),c},{}),a=o[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[s]=o}const Nr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:oo};function ao(e){var t=e.state,n=e.name;t.modifiersData[n]=Or({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Un={name:"popperOffsets",enabled:!0,phase:"read",fn:ao,data:{}};function co(e){return e==="x"?"y":"x"}function lo(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,h=n.padding,E=n.tether,g=E===void 0?!0:E,m=n.tetherOffset,_=m===void 0?0:m,p=Bt(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),v=Q(t.placement),w=Ft(t.placement),O=!w,y=kn(v),A=co(y),S=t.modifiersData.popperOffsets,C=t.rects.reference,N=t.rects.popper,D=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,R=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(i){var I,pt=y==="y"?x:P,mt=y==="y"?H:j,F=y==="y"?"height":"width",G=S[y],fe=G+p[pt],_t=G-p[mt],de=g?-N[F]/2:0,Ye=w===wt?C[F]:N[F],Gt=w===wt?-N[F]:-C[F],he=t.elements.arrow,Dt=g&&he?Mn(he):{width:0,height:0},it=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:vr(),Xt=it[pt],pe=it[mt],gt=te(0,C[F],Dt[F]),ze=O?C[F]/2-de-gt-Xt-R.mainAxis:Ye-gt-Xt-R.mainAxis,Li=O?-C[F]/2+de+gt+pe+R.mainAxis:Gt+gt+pe+R.mainAxis,Ge=t.elements.arrow&&re(t.elements.arrow),Ri=Ge?y==="y"?Ge.clientTop||0:Ge.clientLeft||0:0,es=(I=$==null?void 0:$[y])!=null?I:0,$i=G+ze-es-Ri,Ii=G+Li-es,ns=te(g?Ne(fe,$i):fe,G,g?At(_t,Ii):_t);S[y]=ns,z[y]=ns-G}if(a){var ss,xi=y==="x"?x:P,Pi=y==="x"?H:j,Et=S[A],me=A==="y"?"height":"width",rs=Et+p[xi],is=Et-p[Pi],Xe=[x,P].indexOf(v)!==-1,os=(ss=$==null?void 0:$[A])!=null?ss:0,as=Xe?rs:Et-C[me]-N[me]-os+R.altAxis,cs=Xe?Et+C[me]+N[me]-os-R.altAxis:is,ls=g&&Xe?Bi(as,Et,cs):te(g?as:rs,Et,g?cs:is);S[A]=ls,z[A]=ls-Et}t.modifiersData[s]=z}}const Dr={name:"preventOverflow",enabled:!0,phase:"main",fn:lo,requiresIfExists:["offset"]};function uo(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fo(e){return e===U(e)||!W(e)?Bn(e):uo(e)}function ho(e){var t=e.getBoundingClientRect(),n=kt(t.width)/e.offsetWidth||1,s=kt(t.height)/e.offsetHeight||1;return n!==1||s!==1}function po(e,t,n){n===void 0&&(n=!1);var s=W(t),r=W(t)&&ho(t),i=ft(t),o=Vt(e,r,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((tt(t)!=="body"||jn(i))&&(a=fo(t)),W(t)?(l=Vt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Hn(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function mo(e){var t=new Map,n=new Set,s=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&r(l)}}),s.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),s}function _o(e){var t=mo(e);return gr.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function go(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Eo(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var _s={placement:"bottom",modifiers:[],strategy:"absolute"};function gs(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),Oo=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),So=e=>{do e+=Math.floor(Math.random()*To);while(document.getElementById(e));return e},Co=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*wo)},$r=e=>{e.dispatchEvent(new Event(vn))},et=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),ct=e=>et(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Rr(e)):null,Wt=e=>{if(!et(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},lt=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Ir=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Ir(e.parentNode):null},De=()=>{},ie=e=>{e.offsetHeight},xr=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Qe=[],No=e=>{document.readyState==="loading"?(Qe.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Qe)t()}),Qe.push(e)):e()},K=()=>document.documentElement.dir==="rtl",Y=e=>{No(()=>{const t=xr();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},M=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,Pr=(e,t,n=!0)=>{if(!n){M(e);return}const r=Co(t)+5;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(vn,o),M(e))};t.addEventListener(vn,o),setTimeout(()=>{i||$r(t)},r)},Kn=(e,t,n,s)=>{const r=e.length;let i=e.indexOf(t);return i===-1?!n&&s?e[r-1]:e[0]:(i+=n?1:-1,s&&(i=(i+r)%r),e[Math.max(0,Math.min(i,r-1))])},Do=/[^.]*(?=\..*)\.|.*/,Lo=/\..*/,Ro=/::\d+$/,Ze={};let Es=1;const Mr={mouseenter:"mouseover",mouseleave:"mouseout"},$o=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 kr(e,t){return t&&`${t}::${Es++}`||e.uidEvent||Es++}function Vr(e){const t=kr(e);return e.uidEvent=t,Ze[t]=Ze[t]||{},Ze[t]}function Io(e,t){return function n(s){return qn(s,{delegateTarget:e}),n.oneOff&&d.off(e,s.type,t),t.apply(e,[s])}}function xo(e,t,n){return function s(r){const i=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return qn(r,{delegateTarget:o}),s.oneOff&&d.off(e,r.type,t,n),n.apply(o,[r])}}function Fr(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function Br(e,t,n){const s=typeof t=="string",r=s?n:t||n;let i=Hr(e);return $o.has(i)||(i=e),[s,r,i]}function bs(e,t,n,s,r){if(typeof t!="string"||!e)return;let[i,o,a]=Br(t,n,s);t in Mr&&(o=(m=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return m.call(this,_)})(o));const l=Vr(e),u=l[a]||(l[a]={}),c=Fr(u,o,i?n:null);if(c){c.oneOff=c.oneOff&&r;return}const h=kr(o,t.replace(Do,"")),E=i?xo(e,n,o):Io(e,o);E.delegationSelector=i?n:null,E.callable=o,E.oneOff=r,E.uidEvent=h,u[h]=E,e.addEventListener(a,E,i)}function yn(e,t,n,s,r){const i=Fr(t[n],s,r);i&&(e.removeEventListener(n,i,!!r),delete t[n][i.uidEvent])}function Po(e,t,n,s){const r=t[n]||{};for(const[i,o]of Object.entries(r))i.includes(s)&&yn(e,t,n,o.callable,o.delegationSelector)}function Hr(e){return e=e.replace(Lo,""),Mr[e]||e}const d={on(e,t,n,s){bs(e,t,n,s,!1)},one(e,t,n,s){bs(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[r,i,o]=Br(t,n,s),a=o!==t,l=Vr(e),u=l[o]||{},c=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;yn(e,l,o,i,r?n:null);return}if(c)for(const h of Object.keys(l))Po(e,l,h,t.slice(1));for(const[h,E]of Object.entries(u)){const g=h.replace(Ro,"");(!a||t.includes(g))&&yn(e,l,o,E.callable,E.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const s=xr(),r=Hr(t),i=t!==r;let o=null,a=!0,l=!0,u=!1;i&&s&&(o=s.Event(t,n),s(e).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=qn(new Event(t,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function qn(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}function vs(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function tn(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const nt={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${tn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${tn(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=vs(e.dataset[s])}return t},getDataAttribute(e,t){return vs(e.getAttribute(`data-bs-${tn(t)}`))}};class oe{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,n){const s=et(n)?nt.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...et(n)?nt.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const i=t[s],o=et(i)?"element":Oo(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const Mo="5.3.3";class X extends oe{constructor(t,n){super(),t=ct(t),t&&(this._element=t,this._config=this._getConfig(n),Je.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Je.remove(this._element,this.constructor.DATA_KEY),d.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,s=!0){Pr(t,n,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Je.get(ct(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return Mo}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 en=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>Rr(n)).join(","):null},b={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(n=>n.matches(t))},parents(e,t){const n=[];let s=e.parentNode.closest(t);for(;s;)n.push(s),s=s.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!lt(n)&&Wt(n))},getSelectorFromElement(e){const t=en(e);return t&&b.findOne(t)?t:null},getElementFromSelector(e){const t=en(e);return t?b.findOne(t):null},getMultipleElementsFromSelector(e){const t=en(e);return t?b.find(t):[]}},ke=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;d.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),lt(this))return;const i=b.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(i)[t]()})},ko="alert",Vo="bs.alert",jr=`.${Vo}`,Fo=`close${jr}`,Bo=`closed${jr}`,Ho="fade",jo="show";class Ve extends X{static get NAME(){return ko}close(){if(d.trigger(this._element,Fo).defaultPrevented)return;this._element.classList.remove(jo);const n=this._element.classList.contains(Ho);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),d.trigger(this._element,Bo),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Ve.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}ke(Ve,"close");Y(Ve);const Uo="button",Wo="bs.button",Ko=`.${Wo}`,qo=".data-api",Yo="active",ys='[data-bs-toggle="button"]',zo=`click${Ko}${qo}`;class Fe extends X{static get NAME(){return Uo}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Yo))}static jQueryInterface(t){return this.each(function(){const n=Fe.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}d.on(document,zo,ys,e=>{e.preventDefault();const t=e.target.closest(ys);Fe.getOrCreateInstance(t).toggle()});Y(Fe);const Go="swipe",Kt=".bs.swipe",Xo=`touchstart${Kt}`,Jo=`touchmove${Kt}`,Qo=`touchend${Kt}`,Zo=`pointerdown${Kt}`,ta=`pointerup${Kt}`,ea="touch",na="pen",sa="pointer-event",ra=40,ia={endCallback:null,leftCallback:null,rightCallback:null},oa={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Le extends oe{constructor(t,n){super(),this._element=t,!(!t||!Le.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ia}static get DefaultType(){return oa}static get NAME(){return Go}dispose(){d.off(this._element,Kt)}_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(),M(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<=ra)return;const n=t/this._deltaX;this._deltaX=0,n&&M(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(d.on(this._element,Zo,t=>this._start(t)),d.on(this._element,ta,t=>this._end(t)),this._element.classList.add(sa)):(d.on(this._element,Xo,t=>this._start(t)),d.on(this._element,Jo,t=>this._move(t)),d.on(this._element,Qo,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===na||t.pointerType===ea)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const aa="carousel",ca="bs.carousel",dt=`.${ca}`,Ur=".data-api",la="ArrowLeft",ua="ArrowRight",fa=500,Jt="next",Lt="prev",It="left",we="right",da=`slide${dt}`,nn=`slid${dt}`,ha=`keydown${dt}`,pa=`mouseenter${dt}`,ma=`mouseleave${dt}`,_a=`dragstart${dt}`,ga=`load${dt}${Ur}`,Ea=`click${dt}${Ur}`,Wr="carousel",ge="active",ba="slide",va="carousel-item-end",ya="carousel-item-start",Aa="carousel-item-next",Ta="carousel-item-prev",Kr=".active",qr=".carousel-item",wa=Kr+qr,Oa=".carousel-item img",Sa=".carousel-indicators",Ca="[data-bs-slide], [data-bs-slide-to]",Na='[data-bs-ride="carousel"]',Da={[la]:we,[ua]:It},La={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ra={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ae extends X{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=b.findOne(Sa,this._element),this._addEventListeners(),this._config.ride===Wr&&this.cycle()}static get Default(){return La}static get DefaultType(){return Ra}static get NAME(){return aa}next(){this._slide(Jt)}nextWhenVisible(){!document.hidden&&Wt(this._element)&&this.next()}prev(){this._slide(Lt)}pause(){this._isSliding&&$r(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){d.one(this._element,nn,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){d.one(this._element,nn,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const r=t>s?Jt:Lt;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&d.on(this._element,ha,t=>this._keydown(t)),this._config.pause==="hover"&&(d.on(this._element,pa,()=>this.pause()),d.on(this._element,ma,()=>this._maybeEnableCycle())),this._config.touch&&Le.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of b.find(Oa,this._element))d.on(s,_a,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(It)),rightCallback:()=>this._slide(this._directionToOrder(we)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),fa+this._config.interval))}};this._swipeHelper=new Le(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=Da[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=b.findOne(Kr,this._indicatorsElement);n.classList.remove(ge),n.removeAttribute("aria-current");const s=b.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(ge),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const s=this._getActive(),r=t===Jt,i=n||Kn(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=g=>d.trigger(this._element,g,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(a(da).defaultPrevented||!s||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=r?ya:va,h=r?Aa:Ta;i.classList.add(h),ie(i),s.classList.add(c),i.classList.add(c);const E=()=>{i.classList.remove(c,h),i.classList.add(ge),s.classList.remove(ge,h,c),this._isSliding=!1,a(nn)};this._queueCallback(E,s,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ba)}_getActive(){return b.findOne(wa,this._element)}_getItems(){return b.find(qr,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return K()?t===It?Lt:Jt:t===It?Jt:Lt}_orderToDirection(t){return K()?t===Lt?It:we:t===Lt?we:It}static jQueryInterface(t){return this.each(function(){const n=ae.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(document,Ea,Ca,function(e){const t=b.getElementFromSelector(this);if(!t||!t.classList.contains(Wr))return;e.preventDefault();const n=ae.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(nt.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});d.on(window,ga,()=>{const e=b.find(Na);for(const t of e)ae.getOrCreateInstance(t)});Y(ae);const $a="collapse",Ia="bs.collapse",ce=`.${Ia}`,xa=".data-api",Pa=`show${ce}`,Ma=`shown${ce}`,ka=`hide${ce}`,Va=`hidden${ce}`,Fa=`click${ce}${xa}`,sn="show",Pt="collapse",Ee="collapsing",Ba="collapsed",Ha=`:scope .${Pt} .${Pt}`,ja="collapse-horizontal",Ua="width",Wa="height",Ka=".collapse.show, .collapse.collapsing",An='[data-bs-toggle="collapse"]',qa={parent:null,toggle:!0},Ya={parent:"(null|element)",toggle:"boolean"};class ne extends X{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const s=b.find(An);for(const r of s){const i=b.getSelectorFromElement(r),o=b.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return qa}static get DefaultType(){return Ya}static get NAME(){return $a}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Ka).filter(a=>a!==this._element).map(a=>ne.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||d.trigger(this._element,Pa).defaultPrevented)return;for(const a of t)a.hide();const s=this._getDimension();this._element.classList.remove(Pt),this._element.classList.add(Ee),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Ee),this._element.classList.add(Pt,sn),this._element.style[s]="",d.trigger(this._element,Ma)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||d.trigger(this._element,ka).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,ie(this._element),this._element.classList.add(Ee),this._element.classList.remove(Pt,sn);for(const r of this._triggerArray){const i=b.getElementFromSelector(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Ee),this._element.classList.add(Pt),d.trigger(this._element,Va)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(sn)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=ct(t.parent),t}_getDimension(){return this._element.classList.contains(ja)?Ua:Wa}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(An);for(const n of t){const s=b.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(t){const n=b.find(Ha,this._config.parent);return b.find(t,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const s of t)s.classList.toggle(Ba,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const s=ne.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}d.on(document,Fa,An,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of b.getMultipleElementsFromSelector(this))ne.getOrCreateInstance(t,{toggle:!1}).toggle()});Y(ne);const As="dropdown",za="bs.dropdown",Ct=`.${za}`,Yn=".data-api",Ga="Escape",Ts="Tab",Xa="ArrowUp",ws="ArrowDown",Ja=2,Qa=`hide${Ct}`,Za=`hidden${Ct}`,tc=`show${Ct}`,ec=`shown${Ct}`,Yr=`click${Ct}${Yn}`,zr=`keydown${Ct}${Yn}`,nc=`keyup${Ct}${Yn}`,xt="show",sc="dropup",rc="dropend",ic="dropstart",oc="dropup-center",ac="dropdown-center",bt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',cc=`${bt}.${xt}`,Oe=".dropdown-menu",lc=".navbar",uc=".navbar-nav",fc=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",dc=K()?"top-end":"top-start",hc=K()?"top-start":"top-end",pc=K()?"bottom-end":"bottom-start",mc=K()?"bottom-start":"bottom-end",_c=K()?"left-start":"right-start",gc=K()?"right-start":"left-start",Ec="top",bc="bottom",vc={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},yc={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Z extends X{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=b.next(this._element,Oe)[0]||b.prev(this._element,Oe)[0]||b.findOne(Oe,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return vc}static get DefaultType(){return yc}static get NAME(){return As}toggle(){return this._isShown()?this.hide():this.show()}show(){if(lt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!d.trigger(this._element,tc,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(uc))for(const s of[].concat(...document.body.children))d.on(s,"mouseover",De);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(xt),this._element.classList.add(xt),d.trigger(this._element,ec,t)}}hide(){if(lt(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(!d.trigger(this._element,Qa,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))d.off(s,"mouseover",De);this._popper&&this._popper.destroy(),this._menu.classList.remove(xt),this._element.classList.remove(xt),this._element.setAttribute("aria-expanded","false"),nt.removeDataAttribute(this._menu,"popper"),d.trigger(this._element,Za,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!et(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${As.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Lr>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:et(this._config.reference)?t=ct(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Wn(t,this._menu,n)}_isShown(){return this._menu.classList.contains(xt)}_getPlacement(){const t=this._parent;if(t.classList.contains(rc))return _c;if(t.classList.contains(ic))return gc;if(t.classList.contains(oc))return Ec;if(t.classList.contains(ac))return bc;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(sc)?n?hc:dc:n?mc:pc}_detectNavbar(){return this._element.closest(lc)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,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")&&(nt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...M(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const s=b.find(fc,this._menu).filter(r=>Wt(r));s.length&&Kn(s,n,t===ws,!s.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=Z.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Ja||t.type==="keyup"&&t.key!==Ts)return;const n=b.find(cc);for(const s of n){const r=Z.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=t.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Ts||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:r._element};t.type==="click"&&(a.clickEvent=t),r._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),s=t.key===Ga,r=[Xa,ws].includes(t.key);if(!r&&!s||n&&!s)return;t.preventDefault();const i=this.matches(bt)?this:b.prev(this,bt)[0]||b.next(this,bt)[0]||b.findOne(bt,t.delegateTarget.parentNode),o=Z.getOrCreateInstance(i);if(r){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}d.on(document,zr,bt,Z.dataApiKeydownHandler);d.on(document,zr,Oe,Z.dataApiKeydownHandler);d.on(document,Yr,Z.clearMenus);d.on(document,nc,Z.clearMenus);d.on(document,Yr,bt,function(e){e.preventDefault(),Z.getOrCreateInstance(this).toggle()});Y(Z);const Gr="backdrop",Ac="fade",Os="show",Ss=`mousedown.bs.${Gr}`,Tc={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},wc={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Xr extends oe{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Tc}static get DefaultType(){return wc}static get NAME(){return Gr}show(t){if(!this._config.isVisible){M(t);return}this._append();const n=this._getElement();this._config.isAnimated&&ie(n),n.classList.add(Os),this._emulateAnimation(()=>{M(t)})}hide(t){if(!this._config.isVisible){M(t);return}this._getElement().classList.remove(Os),this._emulateAnimation(()=>{this.dispose(),M(t)})}dispose(){this._isAppended&&(d.off(this._element,Ss),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(Ac),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ct(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),d.on(t,Ss,()=>{M(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Pr(t,this._getElement(),this._config.isAnimated)}}const Oc="focustrap",Sc="bs.focustrap",Re=`.${Sc}`,Cc=`focusin${Re}`,Nc=`keydown.tab${Re}`,Dc="Tab",Lc="forward",Cs="backward",Rc={autofocus:!0,trapElement:null},$c={autofocus:"boolean",trapElement:"element"};class Jr extends oe{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Rc}static get DefaultType(){return $c}static get NAME(){return Oc}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),d.off(document,Re),d.on(document,Cc,t=>this._handleFocusin(t)),d.on(document,Nc,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,d.off(document,Re))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const s=b.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===Cs?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===Dc&&(this._lastTabNavDirection=t.shiftKey?Cs:Lc)}}const Ns=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ds=".sticky-top",be="padding-right",Ls="margin-right";class Tn{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,be,n=>n+t),this._setElementAttributes(Ns,be,n=>n+t),this._setElementAttributes(Ds,Ls,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,be),this._resetElementAttributes(Ns,be),this._resetElementAttributes(Ds,Ls)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,n){const s=t.style.getPropertyValue(n);s&&nt.setDataAttribute(t,n,s)}_resetElementAttributes(t,n){const s=r=>{const i=nt.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}nt.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,n){if(et(t)){n(t);return}for(const s of b.find(t,this._element))n(s)}}const Ic="modal",xc="bs.modal",q=`.${xc}`,Pc=".data-api",Mc="Escape",kc=`hide${q}`,Vc=`hidePrevented${q}`,Qr=`hidden${q}`,Zr=`show${q}`,Fc=`shown${q}`,Bc=`resize${q}`,Hc=`click.dismiss${q}`,jc=`mousedown.dismiss${q}`,Uc=`keydown.dismiss${q}`,Wc=`click${q}${Pc}`,Rs="modal-open",Kc="fade",$s="show",rn="modal-static",qc=".modal.show",Yc=".modal-dialog",zc=".modal-body",Gc='[data-bs-toggle="modal"]',Xc={backdrop:!0,focus:!0,keyboard:!0},Jc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ht extends X{constructor(t,n){super(t,n),this._dialog=b.findOne(Yc,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Tn,this._addEventListeners()}static get Default(){return Xc}static get DefaultType(){return Jc}static get NAME(){return Ic}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||d.trigger(this._element,Zr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Rs),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||d.trigger(this._element,kc).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove($s),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){d.off(window,q),d.off(this._dialog,q),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xr({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Jr({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 n=b.findOne(zc,this._dialog);n&&(n.scrollTop=0),ie(this._element),this._element.classList.add($s);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,d.trigger(this._element,Fc,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){d.on(this._element,Uc,t=>{if(t.key===Mc){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),d.on(window,Bc,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),d.on(this._element,jc,t=>{d.one(this._element,Hc,n=>{if(!(this._element!==t.target||this._element!==n.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(Rs),this._resetAdjustments(),this._scrollBar.reset(),d.trigger(this._element,Qr)})}_isAnimated(){return this._element.classList.contains(Kc)}_triggerBackdropTransition(){if(d.trigger(this._element,Vc).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(rn)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(rn),this._queueCallback(()=>{this._element.classList.remove(rn),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!t){const r=K()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&t){const r=K()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const s=Ht.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](n)}})}}d.on(document,Wc,Gc,function(e){const t=b.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),d.one(t,Zr,r=>{r.defaultPrevented||d.one(t,Qr,()=>{Wt(this)&&this.focus()})});const n=b.findOne(qc);n&&Ht.getInstance(n).hide(),Ht.getOrCreateInstance(t).toggle(this)});ke(Ht);Y(Ht);const Qc="offcanvas",Zc="bs.offcanvas",rt=`.${Zc}`,ti=".data-api",tl=`load${rt}${ti}`,el="Escape",Is="show",xs="showing",Ps="hiding",nl="offcanvas-backdrop",ei=".offcanvas.show",sl=`show${rt}`,rl=`shown${rt}`,il=`hide${rt}`,Ms=`hidePrevented${rt}`,ni=`hidden${rt}`,ol=`resize${rt}`,al=`click${rt}${ti}`,cl=`keydown.dismiss${rt}`,ll='[data-bs-toggle="offcanvas"]',ul={backdrop:!0,keyboard:!0,scroll:!1},fl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ut extends X{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ul}static get DefaultType(){return fl}static get NAME(){return Qc}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||d.trigger(this._element,sl,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Tn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(xs);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Is),this._element.classList.remove(xs),d.trigger(this._element,rl,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||d.trigger(this._element,il).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ps),this._backdrop.hide();const n=()=>{this._element.classList.remove(Is,Ps),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Tn().reset(),d.trigger(this._element,ni)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){d.trigger(this._element,Ms);return}this.hide()},n=!!this._config.backdrop;return new Xr({className:nl,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Jr({trapElement:this._element})}_addEventListeners(){d.on(this._element,cl,t=>{if(t.key===el){if(this._config.keyboard){this.hide();return}d.trigger(this._element,Ms)}})}static jQueryInterface(t){return this.each(function(){const n=ut.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}d.on(document,al,ll,function(e){const t=b.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),lt(this))return;d.one(t,ni,()=>{Wt(this)&&this.focus()});const n=b.findOne(ei);n&&n!==t&&ut.getInstance(n).hide(),ut.getOrCreateInstance(t).toggle(this)});d.on(window,tl,()=>{for(const e of b.find(ei))ut.getOrCreateInstance(e).show()});d.on(window,ol,()=>{for(const e of b.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&ut.getOrCreateInstance(e).hide()});ke(ut);Y(ut);const dl=/^aria-[\w-]*$/i,si={"*":["class","dir","id","lang","role",dl],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},hl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),pl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,ml=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?hl.has(n)?!!pl.test(e.nodeValue):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(n))};function _l(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const c of l)ml(c,u)||o.removeAttribute(c.nodeName)}return r.body.innerHTML}const gl="TemplateFactory",El={allowList:si,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},bl={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},vl={entry:"(string|element|function|null)",selector:"(string|element)"};class yl extends oe{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return El}static get DefaultType(){return bl}static get NAME(){return gl}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[r,i]of Object.entries(this._config.content))this._setContent(t,i,r);const n=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,s]of Object.entries(t))super._typeCheckConfig({selector:n,entry:s},vl)}_setContent(t,n,s){const r=b.findOne(s,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(et(n)){this._putElementInTemplate(ct(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?_l(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return M(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const Al="tooltip",Tl=new Set(["sanitize","allowList","sanitizeFn"]),on="fade",wl="modal",ve="show",Ol=".tooltip-inner",ks=`.${wl}`,Vs="hide.bs.modal",Qt="hover",an="focus",Sl="click",Cl="manual",Nl="hide",Dl="hidden",Ll="show",Rl="shown",$l="inserted",Il="click",xl="focusin",Pl="focusout",Ml="mouseenter",kl="mouseleave",Vl={AUTO:"auto",TOP:"top",RIGHT:K()?"left":"right",BOTTOM:"bottom",LEFT:K()?"right":"left"},Fl={allowList:si,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"},Bl={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 qt extends X{constructor(t,n){if(typeof Lr>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),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 Fl}static get DefaultType(){return Bl}static get NAME(){return Al}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),d.off(this._element.closest(ks),Vs,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=d.trigger(this._element,this.constructor.eventName(Ll)),s=(Ir(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),d.trigger(this._element,this.constructor.eventName($l))),this._popper=this._createPopper(r),r.classList.add(ve),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))d.on(a,"mouseover",De);const o=()=>{d.trigger(this._element,this.constructor.eventName(Rl)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||d.trigger(this._element,this.constructor.eventName(Nl)).defaultPrevented)return;if(this._getTipElement().classList.remove(ve),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))d.off(r,"mouseover",De);this._activeTrigger[Sl]=!1,this._activeTrigger[an]=!1,this._activeTrigger[Qt]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),d.trigger(this._element,this.constructor.eventName(Dl)))};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 n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(on,ve),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=So(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(on),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new yl({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ol]: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(on)}_isShown(){return this.tip&&this.tip.classList.contains(ve)}_createPopper(t){const n=M(this._config.placement,[this,t,this._element]),s=Vl[n.toUpperCase()];return Wn(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return M(t,[this._element])}_getPopperConfig(t){const n={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{...n,...M(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")d.on(this._element,this.constructor.eventName(Il),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==Cl){const s=n===Qt?this.constructor.eventName(Ml):this.constructor.eventName(xl),r=n===Qt?this.constructor.eventName(kl):this.constructor.eventName(Pl);d.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?an:Qt]=!0,o._enter()}),d.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?an:Qt]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},d.on(this._element.closest(ks),Vs,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,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=nt.getDataAttributes(this._element);for(const s of Object.keys(n))Tl.has(s)&&delete n[s];return t={...n,...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:ct(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[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(t[n]=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 n=qt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Y(qt);const Hl="popover",jl=".popover-header",Ul=".popover-body",Wl={...qt.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Kl={...qt.DefaultType,content:"(null|string|element|function)"};class zn extends qt{static get Default(){return Wl}static get DefaultType(){return Kl}static get NAME(){return Hl}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jl]:this._getTitle(),[Ul]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=zn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Y(zn);const ql="scrollspy",Yl="bs.scrollspy",Gn=`.${Yl}`,zl=".data-api",Gl=`activate${Gn}`,Fs=`click${Gn}`,Xl=`load${Gn}${zl}`,Jl="dropdown-item",Rt="active",Ql='[data-bs-spy="scroll"]',cn="[href]",Zl=".nav, .list-group",Bs=".nav-link",tu=".nav-item",eu=".list-group-item",nu=`${Bs}, ${tu} > ${Bs}, ${eu}`,su=".dropdown",ru=".dropdown-toggle",iu={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ou={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Be extends X{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return iu}static get DefaultType(){return ou}static get NAME(){return ql}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ct(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(d.off(this._config.target,Fs),d.on(this._config.target,Fs,cn,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=b.find(cn,this._config.target);for(const n of t){if(!n.hash||lt(n))continue;const s=b.findOne(decodeURI(n.hash),this._element);Wt(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Rt),this._activateParents(t),d.trigger(this._element,Gl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Jl)){b.findOne(ru,t.closest(su)).classList.add(Rt);return}for(const n of b.parents(t,Zl))for(const s of b.prev(n,nu))s.classList.add(Rt)}_clearActiveClass(t){t.classList.remove(Rt);const n=b.find(`${cn}.${Rt}`,t);for(const s of n)s.classList.remove(Rt)}static jQueryInterface(t){return this.each(function(){const n=Be.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(window,Xl,()=>{for(const e of b.find(Ql))Be.getOrCreateInstance(e)});Y(Be);const au="tab",cu="bs.tab",Nt=`.${cu}`,lu=`hide${Nt}`,uu=`hidden${Nt}`,fu=`show${Nt}`,du=`shown${Nt}`,hu=`click${Nt}`,pu=`keydown${Nt}`,mu=`load${Nt}`,_u="ArrowLeft",Hs="ArrowRight",gu="ArrowUp",js="ArrowDown",ln="Home",Us="End",vt="active",Ws="fade",un="show",Eu="dropdown",ri=".dropdown-toggle",bu=".dropdown-menu",fn=`:not(${ri})`,vu='.list-group, .nav, [role="tablist"]',yu=".nav-item, .list-group-item",Au=`.nav-link${fn}, .list-group-item${fn}, [role="tab"]${fn}`,ii='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',dn=`${Au}, ${ii}`,Tu=`.${vt}[data-bs-toggle="tab"], .${vt}[data-bs-toggle="pill"], .${vt}[data-bs-toggle="list"]`;class jt extends X{constructor(t){super(t),this._parent=this._element.closest(vu),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),d.on(this._element,pu,n=>this._keydown(n)))}static get NAME(){return au}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?d.trigger(n,lu,{relatedTarget:t}):null;d.trigger(t,fu,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(vt),this._activate(b.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(un);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),d.trigger(t,du,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(Ws))}_deactivate(t,n){if(!t)return;t.classList.remove(vt),t.blur(),this._deactivate(b.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(un);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),d.trigger(t,uu,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(Ws))}_keydown(t){if(![_u,Hs,gu,js,ln,Us].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(r=>!lt(r));let s;if([ln,Us].includes(t.key))s=n[t.key===ln?0:n.length-1];else{const r=[Hs,js].includes(t.key);s=Kn(n,t.target,r,!0)}s&&(s.focus({preventScroll:!0}),jt.getOrCreateInstance(s).show())}_getChildren(){return b.find(dn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",n),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=b.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const s=this._getOuterElement(t);if(!s.classList.contains(Eu))return;const r=(i,o)=>{const a=b.findOne(i,s);a&&a.classList.toggle(o,n)};r(ri,vt),r(bu,un),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,s){t.hasAttribute(n)||t.setAttribute(n,s)}_elemIsActive(t){return t.classList.contains(vt)}_getInnerElement(t){return t.matches(dn)?t:b.findOne(dn,t)}_getOuterElement(t){return t.closest(yu)||t}static jQueryInterface(t){return this.each(function(){const n=jt.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(document,hu,ii,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!lt(this)&&jt.getOrCreateInstance(this).show()});d.on(window,mu,()=>{for(const e of b.find(Tu))jt.getOrCreateInstance(e)});Y(jt);const wu="toast",Ou="bs.toast",ht=`.${Ou}`,Su=`mouseover${ht}`,Cu=`mouseout${ht}`,Nu=`focusin${ht}`,Du=`focusout${ht}`,Lu=`hide${ht}`,Ru=`hidden${ht}`,$u=`show${ht}`,Iu=`shown${ht}`,xu="fade",Ks="hide",ye="show",Ae="showing",Pu={animation:"boolean",autohide:"boolean",delay:"number"},Mu={animation:!0,autohide:!0,delay:5e3};class He extends X{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Mu}static get DefaultType(){return Pu}static get NAME(){return wu}show(){if(d.trigger(this._element,$u).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(xu);const n=()=>{this._element.classList.remove(Ae),d.trigger(this._element,Iu),this._maybeScheduleHide()};this._element.classList.remove(Ks),ie(this._element),this._element.classList.add(ye,Ae),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||d.trigger(this._element,Lu).defaultPrevented)return;const n=()=>{this._element.classList.add(Ks),this._element.classList.remove(Ae,ye),d.trigger(this._element,Ru)};this._element.classList.add(Ae),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ye),super.dispose()}isShown(){return this._element.classList.contains(ye)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){d.on(this._element,Su,t=>this._onInteraction(t,!0)),d.on(this._element,Cu,t=>this._onInteraction(t,!1)),d.on(this._element,Nu,t=>this._onInteraction(t,!0)),d.on(this._element,Du,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=He.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}ke(He);Y(He);function oi(e,t){return function(){return e.apply(t,arguments)}}const{toString:ku}=Object.prototype,{getPrototypeOf:Xn}=Object,je=(e=>t=>{const n=ku.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),J=e=>(e=e.toLowerCase(),t=>je(t)===e),Ue=e=>t=>typeof t===e,{isArray:Yt}=Array,se=Ue("undefined");function Vu(e){return e!==null&&!se(e)&&e.constructor!==null&&!se(e.constructor)&&B(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ai=J("ArrayBuffer");function Fu(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ai(e.buffer),t}const Bu=Ue("string"),B=Ue("function"),ci=Ue("number"),We=e=>e!==null&&typeof e=="object",Hu=e=>e===!0||e===!1,Se=e=>{if(je(e)!=="object")return!1;const t=Xn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ju=J("Date"),Uu=J("File"),Wu=J("Blob"),Ku=J("FileList"),qu=e=>We(e)&&B(e.pipe),Yu=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||B(e.append)&&((t=je(e))==="formdata"||t==="object"&&B(e.toString)&&e.toString()==="[object FormData]"))},zu=J("URLSearchParams"),[Gu,Xu,Ju,Qu]=["ReadableStream","Request","Response","Headers"].map(J),Zu=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function le(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Yt(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const yt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ui=e=>!se(e)&&e!==yt;function wn(){const{caseless:e}=ui(this)&&this||{},t={},n=(s,r)=>{const i=e&&li(t,r)||r;Se(t[i])&&Se(s)?t[i]=wn(t[i],s):Se(s)?t[i]=wn({},s):Yt(s)?t[i]=s.slice():t[i]=s};for(let s=0,r=arguments.length;s(le(t,(r,i)=>{n&&B(r)?e[i]=oi(r,n):e[i]=r},{allOwnKeys:s}),e),ef=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),nf=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},sf=(e,t,n,s)=>{let r,i,o;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)o=r[i],(!s||s(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&Xn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rf=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},of=e=>{if(!e)return null;if(Yt(e))return e;let t=e.length;if(!ci(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},af=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xn(Uint8Array)),cf=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},lf=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},uf=J("HTMLFormElement"),ff=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),qs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),df=J("RegExp"),fi=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};le(n,(r,i)=>{let o;(o=t(r,i,e))!==!1&&(s[i]=o||r)}),Object.defineProperties(e,s)},hf=e=>{fi(e,(t,n)=>{if(B(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(B(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},pf=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return Yt(e)?s(e):s(String(e).split(t)),n},mf=()=>{},_f=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,hn="abcdefghijklmnopqrstuvwxyz",Ys="0123456789",di={DIGIT:Ys,ALPHA:hn,ALPHA_DIGIT:hn+hn.toUpperCase()+Ys},gf=(e=16,t=di.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Ef(e){return!!(e&&B(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bf=e=>{const t=new Array(10),n=(s,r)=>{if(We(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const i=Yt(s)?[]:{};return le(s,(o,a)=>{const l=n(o,r+1);!se(l)&&(i[a]=l)}),t[r]=void 0,i}}return s};return n(e,0)},vf=J("AsyncFunction"),yf=e=>e&&(We(e)||B(e))&&B(e.then)&&B(e.catch),hi=((e,t)=>e?setImmediate:t?((n,s)=>(yt.addEventListener("message",({source:r,data:i})=>{r===yt&&i===n&&s.length&&s.shift()()},!1),r=>{s.push(r),yt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",B(yt.postMessage)),Af=typeof queueMicrotask<"u"?queueMicrotask.bind(yt):typeof process<"u"&&process.nextTick||hi,f={isArray:Yt,isArrayBuffer:ai,isBuffer:Vu,isFormData:Yu,isArrayBufferView:Fu,isString:Bu,isNumber:ci,isBoolean:Hu,isObject:We,isPlainObject:Se,isReadableStream:Gu,isRequest:Xu,isResponse:Ju,isHeaders:Qu,isUndefined:se,isDate:ju,isFile:Uu,isBlob:Wu,isRegExp:df,isFunction:B,isStream:qu,isURLSearchParams:zu,isTypedArray:af,isFileList:Ku,forEach:le,merge:wn,extend:tf,trim:Zu,stripBOM:ef,inherits:nf,toFlatObject:sf,kindOf:je,kindOfTest:J,endsWith:rf,toArray:of,forEachEntry:cf,matchAll:lf,isHTMLForm:uf,hasOwnProperty:qs,hasOwnProp:qs,reduceDescriptors:fi,freezeMethods:hf,toObjectSet:pf,toCamelCase:ff,noop:mf,toFiniteNumber:_f,findKey:li,global:yt,isContextDefined:ui,ALPHABET:di,generateString:gf,isSpecCompliantForm:Ef,toJSONObject:bf,isAsyncFn:vf,isThenable:yf,setImmediate:hi,asap:Af};function T(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}f.inherits(T,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:f.toJSONObject(this.config),code:this.code,status:this.status}}});const pi=T.prototype,mi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{mi[e]={value:e}});Object.defineProperties(T,mi);Object.defineProperty(pi,"isAxiosError",{value:!0});T.from=(e,t,n,s,r,i)=>{const o=Object.create(pi);return f.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),T.call(o,e.message,t,n,s,r),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const Tf=null;function On(e){return f.isPlainObject(e)||f.isArray(e)}function _i(e){return f.endsWith(e,"[]")?e.slice(0,-2):e}function zs(e,t,n){return e?e.concat(t).map(function(r,i){return r=_i(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function wf(e){return f.isArray(e)&&!e.some(On)}const Of=f.toFlatObject(f,{},null,function(t){return/^is[A-Z]/.test(t)});function Ke(e,t,n){if(!f.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=f.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,p){return!f.isUndefined(p[_])});const s=n.metaTokens,r=n.visitor||c,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&f.isSpecCompliantForm(t);if(!f.isFunction(r))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(f.isDate(m))return m.toISOString();if(!l&&f.isBlob(m))throw new T("Blob is not supported. Use a Buffer instead.");return f.isArrayBuffer(m)||f.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,_,p){let v=m;if(m&&!p&&typeof m=="object"){if(f.endsWith(_,"{}"))_=s?_:_.slice(0,-2),m=JSON.stringify(m);else if(f.isArray(m)&&wf(m)||(f.isFileList(m)||f.endsWith(_,"[]"))&&(v=f.toArray(m)))return _=_i(_),v.forEach(function(O,y){!(f.isUndefined(O)||O===null)&&t.append(o===!0?zs([_],y,i):o===null?_:_+"[]",u(O))}),!1}return On(m)?!0:(t.append(zs(p,_,i),u(m)),!1)}const h=[],E=Object.assign(Of,{defaultVisitor:c,convertValue:u,isVisitable:On});function g(m,_){if(!f.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+_.join("."));h.push(m),f.forEach(m,function(v,w){(!(f.isUndefined(v)||v===null)&&r.call(t,v,f.isString(w)?w.trim():w,_,E))===!0&&g(v,_?_.concat(w):[w])}),h.pop()}}if(!f.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Gs(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Jn(e,t){this._pairs=[],e&&Ke(e,this,t)}const gi=Jn.prototype;gi.append=function(t,n){this._pairs.push([t,n])};gi.toString=function(t){const n=t?function(s){return t.call(this,s,Gs)}:Gs;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Sf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ei(e,t,n){if(!t)return e;const s=n&&n.encode||Sf,r=n&&n.serialize;let i;if(r?i=r(t,n):i=f.isURLSearchParams(t)?t.toString():new Jn(t,n).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Xs{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){f.forEach(this.handlers,function(s){s!==null&&t(s)})}}const bi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cf=typeof URLSearchParams<"u"?URLSearchParams:Jn,Nf=typeof FormData<"u"?FormData:null,Df=typeof Blob<"u"?Blob:null,Lf={isBrowser:!0,classes:{URLSearchParams:Cf,FormData:Nf,Blob:Df},protocols:["http","https","file","blob","url","data"]},Qn=typeof window<"u"&&typeof document<"u",Sn=typeof navigator=="object"&&navigator||void 0,Rf=Qn&&(!Sn||["ReactNative","NativeScript","NS"].indexOf(Sn.product)<0),$f=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",If=Qn&&window.location.href||"http://localhost",xf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qn,hasStandardBrowserEnv:Rf,hasStandardBrowserWebWorkerEnv:$f,navigator:Sn,origin:If},Symbol.toStringTag,{value:"Module"})),k={...xf,...Lf};function Pf(e,t){return Ke(e,new k.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return k.isNode&&f.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Mf(e){return f.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kf(e){const t={},n=Object.keys(e);let s;const r=n.length;let i;for(s=0;s=n.length;return o=!o&&f.isArray(r)?r.length:o,l?(f.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!f.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],i)&&f.isArray(r[o])&&(r[o]=kf(r[o])),!a)}if(f.isFormData(e)&&f.isFunction(e.entries)){const n={};return f.forEachEntry(e,(s,r)=>{t(Mf(s),r,n,0)}),n}return null}function Vf(e,t,n){if(f.isString(e))try{return(t||JSON.parse)(e),f.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const ue={transitional:bi,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=f.isObject(t);if(i&&f.isHTMLForm(t)&&(t=new FormData(t)),f.isFormData(t))return r?JSON.stringify(vi(t)):t;if(f.isArrayBuffer(t)||f.isBuffer(t)||f.isStream(t)||f.isFile(t)||f.isBlob(t)||f.isReadableStream(t))return t;if(f.isArrayBufferView(t))return t.buffer;if(f.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Pf(t,this.formSerializer).toString();if((a=f.isFileList(t))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Ke(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),Vf(t)):t}],transformResponse:[function(t){const n=this.transitional||ue.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(f.isResponse(t)||f.isReadableStream(t))return t;if(t&&f.isString(t)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?T.from(a,T.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:k.classes.FormData,Blob:k.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};f.forEach(["delete","get","head","post","put","patch"],e=>{ue.headers[e]={}});const Ff=f.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Bf=e=>{const t={};let n,s,r;return e&&e.split(` `).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&Ff[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Js=Symbol("internals");function Zt(e){return e&&String(e).trim().toLowerCase()}function Ce(e){return e===!1||e==null?e:f.isArray(e)?e.map(Ce):String(e)}function Hf(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const jf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pn(e,t,n,s,r){if(f.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!f.isString(t)){if(f.isString(s))return t.indexOf(s)!==-1;if(f.isRegExp(s))return s.test(t)}}function Uf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Wf(e,t){const n=f.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}class V{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,l,u){const c=Zt(l);if(!c)throw new Error("header name must be a non-empty string");const h=f.findKey(r,c);(!h||r[h]===void 0||u===!0||u===void 0&&r[h]!==!1)&&(r[h||l]=Ce(a))}const o=(a,l)=>f.forEach(a,(u,c)=>i(u,c,l));if(f.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(f.isString(t)&&(t=t.trim())&&!jf(t))o(Bf(t),n);else if(f.isHeaders(t))for(const[a,l]of t.entries())i(l,a,s);else t!=null&&i(n,t,s);return this}get(t,n){if(t=Zt(t),t){const s=f.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Hf(r);if(f.isFunction(n))return n.call(this,r,s);if(f.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Zt(t),t){const s=f.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||pn(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Zt(o),o){const a=f.findKey(s,o);a&&(!n||pn(s,s[a],a,n))&&(delete s[a],r=!0)}}return f.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||pn(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return f.forEach(this,(r,i)=>{const o=f.findKey(s,i);if(o){n[o]=Ce(r),delete n[i];return}const a=t?Uf(i):String(i).trim();a!==i&&delete n[i],n[a]=Ce(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return f.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&f.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Js]=this[Js]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Zt(o);s[a]||(Wf(r,o),s[a]=!0)}return f.isArray(t)?t.forEach(i):i(t),this}}V.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);f.reduceDescriptors(V.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});f.freezeMethods(V);function mn(e,t){const n=this||ue,s=t||n,r=V.from(s.headers);let i=s.data;return f.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function yi(e){return!!(e&&e.__CANCEL__)}function zt(e,t,n){T.call(this,e??"canceled",T.ERR_CANCELED,t,n),this.name="CanceledError"}f.inherits(zt,T,{__CANCEL__:!0});function Ai(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new T("Request failed with status code "+n.status,[T.ERR_BAD_REQUEST,T.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Kf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qf(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=s[i];o||(o=u),n[r]=l,s[r]=u;let h=i,E=0;for(;h!==r;)E+=n[h++],h=h%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),u-o{n=c,r=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),h=c-n;h>=s?o(u,c):(r=u,i||(i=setTimeout(()=>{i=null,o(r)},s-h)))},()=>r&&o(r)]}const $e=(e,t,n=3)=>{let s=0;const r=qf(50,250);return Yf(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=o-s,u=r(l),c=o<=a;s=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},n)},Qs=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Zs=e=>(...t)=>f.asap(()=>e(...t)),zf=k.hasStandardBrowserEnv?function(){const t=k.navigator&&/(msie|trident)/i.test(k.navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=f.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}(),Gf=k.hasStandardBrowserEnv?{write(e,t,n,s,r,i){const o=[e+"="+encodeURIComponent(t)];f.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),f.isString(s)&&o.push("path="+s),f.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Xf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Jf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ti(e,t){return e&&!Xf(t)?Jf(e,t):t}const tr=e=>e instanceof V?{...e}:e;function St(e,t){t=t||{};const n={};function s(u,c,h){return f.isPlainObject(u)&&f.isPlainObject(c)?f.merge.call({caseless:h},u,c):f.isPlainObject(c)?f.merge({},c):f.isArray(c)?c.slice():c}function r(u,c,h){if(f.isUndefined(c)){if(!f.isUndefined(u))return s(void 0,u,h)}else return s(u,c,h)}function i(u,c){if(!f.isUndefined(c))return s(void 0,c)}function o(u,c){if(f.isUndefined(c)){if(!f.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function a(u,c,h){if(h in t)return s(u,c);if(h in e)return s(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>r(tr(u),tr(c),!0)};return f.forEach(Object.keys(Object.assign({},e,t)),function(c){const h=l[c]||r,E=h(e[c],t[c],c);f.isUndefined(E)&&h!==a||(n[c]=E)}),n}const wi=e=>{const t=St({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=V.from(o),t.url=Ei(Ti(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(f.isFormData(n)){if(k.hasStandardBrowserEnv||k.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...c]=l?l.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...c].join("; "))}}if(k.hasStandardBrowserEnv&&(s&&f.isFunction(s)&&(s=s(t)),s||s!==!1&&zf(t.url))){const u=r&&i&&Gf.read(i);u&&o.set(r,u)}return t},Qf=typeof XMLHttpRequest<"u",Zf=Qf&&function(e){return new Promise(function(n,s){const r=wi(e);let i=r.data;const o=V.from(r.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=r,c,h,E,g,m;function _(){g&&g(),m&&m(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let p=new XMLHttpRequest;p.open(r.method.toUpperCase(),r.url,!0),p.timeout=r.timeout;function v(){if(!p)return;const O=V.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:O,config:e,request:p};Ai(function(C){n(C),_()},function(C){s(C),_()},A),p=null}"onloadend"in p?p.onloadend=v:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(v)},p.onabort=function(){p&&(s(new T("Request aborted",T.ECONNABORTED,e,p)),p=null)},p.onerror=function(){s(new T("Network Error",T.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let y=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const A=r.transitional||bi;r.timeoutErrorMessage&&(y=r.timeoutErrorMessage),s(new T(y,A.clarifyTimeoutError?T.ETIMEDOUT:T.ECONNABORTED,e,p)),p=null},i===void 0&&o.setContentType(null),"setRequestHeader"in p&&f.forEach(o.toJSON(),function(y,A){p.setRequestHeader(A,y)}),f.isUndefined(r.withCredentials)||(p.withCredentials=!!r.withCredentials),a&&a!=="json"&&(p.responseType=r.responseType),u&&([E,m]=$e(u,!0),p.addEventListener("progress",E)),l&&p.upload&&([h,g]=$e(l),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(c=O=>{p&&(s(!O||O.type?new zt(null,e,p):O),p.abort(),p=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const w=Kf(r.url);if(w&&k.protocols.indexOf(w)===-1){s(new T("Unsupported protocol "+w+":",T.ERR_BAD_REQUEST,e));return}p.send(i||null)})},td=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const i=function(u){if(!r){r=!0,a();const c=u instanceof Error?u:this.reason;s.abort(c instanceof T?c:new zt(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,i(new T(`timeout ${t} of ms exceeded`,T.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=s;return l.unsubscribe=()=>f.asap(a),l}},ed=function*(e,t){let n=e.byteLength;if(!t||n{const i=nd(e,t,r);let o=0,a,l=u=>{a||(a=!0,s&&s(u))};return new ReadableStream({async pull(u){try{const{done:c,value:h}=await i.next();if(c){l(),u.close();return}let E=h.byteLength;if(n){let g=o+=E;n(g)}u.enqueue(new Uint8Array(h))}catch(c){throw l(c),c}},cancel(u){return l(u),i.return()}},{highWaterMark:2})},qe=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Oi=qe&&typeof ReadableStream=="function",Cn=qe&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Si=(e,...t)=>{try{return!!e(...t)}catch{return!1}},sd=Oi&&Si(()=>{let e=!1;const t=new Request(k.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),nr=64*1024,Nn=Oi&&Si(()=>f.isReadableStream(new Response("").body)),Ie={stream:Nn&&(e=>e.body)};qe&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ie[t]&&(Ie[t]=f.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new T(`Response type '${t}' is not supported`,T.ERR_NOT_SUPPORT,s)})})})(new Response);const rd=async e=>{if(e==null)return 0;if(f.isBlob(e))return e.size;if(f.isSpecCompliantForm(e))return(await new Request(k.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(f.isArrayBufferView(e)||f.isArrayBuffer(e))return e.byteLength;if(f.isURLSearchParams(e)&&(e=e+""),f.isString(e))return(await Cn(e)).byteLength},id=async(e,t)=>{const n=f.toFiniteNumber(e.getContentLength());return n??rd(t)},od=qe&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:i,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:h="same-origin",fetchOptions:E}=wi(e);u=u?(u+"").toLowerCase():"text";let g=td([r,i&&i.toAbortSignal()],o),m;const _=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let p;try{if(l&&sd&&n!=="get"&&n!=="head"&&(p=await id(c,s))!==0){let A=new Request(t,{method:"POST",body:s,duplex:"half"}),S;if(f.isFormData(s)&&(S=A.headers.get("content-type"))&&c.setContentType(S),A.body){const[C,N]=Qs(p,$e(Zs(l)));s=er(A.body,nr,C,N,Cn)}}f.isString(h)||(h=h?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...E,signal:g,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:s,duplex:"half",credentials:v?h:void 0});let w=await fetch(m);const O=Nn&&(u==="stream"||u==="response");if(Nn&&(a||O&&_)){const A={};["status","statusText","headers"].forEach(D=>{A[D]=w[D]});const S=f.toFiniteNumber(w.headers.get("content-length")),[C,N]=a&&Qs(S,$e(Zs(a),!0))||[];w=new Response(er(w.body,nr,C,()=>{N&&N(),_&&_()},Cn),A)}u=u||"text";let y=await Ie[f.findKey(Ie,u)||"text"](w,e);return!O&&_&&_(),await new Promise((A,S)=>{Ai(A,S,{data:y,headers:V.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:m})})}catch(v){throw _&&_(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new T("Network Error",T.ERR_NETWORK,e,m),{cause:v.cause||v}):T.from(v,v&&v.code,e,m)}}),Dn={http:Tf,xhr:Zf,fetch:od};f.forEach(Dn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sr=e=>`- ${e}`,ad=e=>f.isFunction(e)||e===null||e===!1,Ci={getAdapter:e=>{e=f.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : `+i.map(sr).join(` `):" "+sr(i[0]):"as no adapter specified";throw new T("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:Dn};function _n(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zt(null,e)}function rr(e){return _n(e),e.headers=V.from(e.headers),e.data=mn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ci.getAdapter(e.adapter||ue.adapter)(e).then(function(s){return _n(e),s.data=mn.call(e,e.transformResponse,s),s.headers=V.from(s.headers),s},function(s){return yi(s)||(_n(e),s&&s.response&&(s.response.data=mn.call(e,e.transformResponse,s.response),s.response.headers=V.from(s.response.headers))),Promise.reject(s)})}const Ni="1.7.6",Zn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zn[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ir={};Zn.transitional=function(t,n,s){function r(i,o){return"[Axios v"+Ni+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new T(r(o," has been removed"+(n?" in "+n:"")),T.ERR_DEPRECATED);return n&&!ir[o]&&(ir[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function cd(e,t,n){if(typeof e!="object")throw new T("options must be an object",T.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new T("option "+i+" must be "+l,T.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new T("Unknown option "+i,T.ERR_BAD_OPTION)}}const Ln={assertOptions:cd,validators:Zn},at=Ln.validators;class Tt{constructor(t){this.defaults=t,this.interceptors={request:new Xs,response:new Xs}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?i&&!String(s.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(s.stack+=` `+i):s.stack=i}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=St(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&Ln.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!=null&&(f.isFunction(r)?n.paramsSerializer={serialize:r}:Ln.assertOptions(r,{encode:at.function,serialize:at.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&f.merge(i.common,i[n.method]);i&&f.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=V.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let c,h=0,E;if(!l){const m=[rr.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,u),E=m.length,c=Promise.resolve(n);h{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new zt(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ts(function(r){t=r}),cancel:t}}}function ld(e){return function(n){return e.apply(null,n)}}function ud(e){return f.isObject(e)&&e.isAxiosError===!0}const Rn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Rn).forEach(([e,t])=>{Rn[t]=e});function Di(e){const t=new Tt(e),n=oi(Tt.prototype.request,t);return f.extend(n,Tt.prototype,t,{allOwnKeys:!0}),f.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Di(St(e,r))},n}const L=Di(ue);L.Axios=Tt;L.CanceledError=zt;L.CancelToken=ts;L.isCancel=yi;L.VERSION=Ni;L.toFormData=Ke;L.AxiosError=T;L.Cancel=L.CanceledError;L.all=function(t){return Promise.all(t)};L.spread=ld;L.isAxiosError=ud;L.mergeConfig=St;L.AxiosHeaders=V;L.formToJSON=e=>vi(f.isHTMLForm(e)?new FormData(e):e);L.getAdapter=Ci.getAdapter;L.HttpStatusCode=Rn;L.default=L;window.axios=L;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";