(function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".dropdown-menu .active:not(.form-control){color:#16181b;background-color:#eee}.dropdown-menu [data-active=true] a.dropdown-item,.dropdown-menu .dropdown-item:focus,.dropdown-menu li:focus .dropdown-item :not(.disabled){color:#16181b;background-color:#eee}.dropdown-menu li:focus{outline:none}.dropdown-menu.dropdown-menu-dark [data-active=true] a.dropdown-item,.dropdown-menu.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu.dropdown-menu-dark li:focus .dropdown-item{color:#fff;background-color:#1266f1}.btn-group.dropstart>.dropdown-menu{right:0!important}")),document.head.appendChild(o)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}})(); "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),n=require("react"),p=require("clsx"),J=require("react-dom"),se=require("react-popper"),ct=require("@popperjs/core"),de=n.forwardRef(({breakpoint:e,fluid:t,children:s,className:a,tag:r="div",...o},i)=>{const l=p(`${t?"container-fluid":`container${e?"-"+e:""}`}`,a);return c.jsx(r,{className:l,...o,ref:i,children:s})});de.displayName="MDBContainer";const fe=n.forwardRef(({center:e,children:t,className:s,end:a,lg:r,md:o,offsetLg:i,offsetMd:l,offsetSm:u,order:f,size:d,sm:g,start:m,tag:b="div",xl:h,xxl:y,xs:v,...N},w)=>{const M=p(d&&`col-${d}`,v&&`col-xs-${v}`,g&&`col-sm-${g}`,o&&`col-md-${o}`,r&&`col-lg-${r}`,h&&`col-xl-${h}`,y&&`col-xxl-${y}`,!d&&!v&&!g&&!o&&!r&&!h&&!y?"col":"",f&&`order-${f}`,m&&"align-self-start",e&&"align-self-center",a&&"align-self-end",u&&`offset-sm-${u}`,l&&`offset-md-${l}`,i&&`offset-lg-${i}`,s);return c.jsx(b,{className:M,ref:w,...N,children:t})});fe.displayName="MDBCol";const me=n.forwardRef(({className:e,color:t="primary",pill:s,light:a,dot:r,tag:o="span",children:i,notification:l,...u},f)=>{const d=p("badge",a?t&&`badge-${t}`:t&&`bg-${t}`,r&&"badge-dot",s&&"rounded-pill",l&&"badge-notification",e);return c.jsx(o,{className:d,ref:f,...u,children:i})});me.displayName="MDBBadge";const lt=({...e})=>{const[t,s]=n.useState(!1),a=p("ripple-wave",t&&"active");return n.useEffect(()=>{const r=setTimeout(()=>{s(!0)},50);return()=>{clearTimeout(r)}},[]),c.jsx("div",{className:a,...e})},it=(...e)=>{const t=n.useRef();return n.useEffect(()=>{e.forEach(s=>{s&&(typeof s=="function"?s(t.current):s.current=t.current)})},[e]),t},ae=n.forwardRef(({className:e,rippleTag:t="div",rippleCentered:s,rippleDuration:a=500,rippleUnbound:r,rippleRadius:o=0,rippleColor:i="dark",children:l,onMouseDown:u,...f},d)=>{const g=n.useRef(null),m=it(d,g),b="rgba({{color}}, 0.2) 0, rgba({{color}}, 0.3) 40%, rgba({{color}}, 0.4) 50%, rgba({{color}}, 0.5) 60%, rgba({{color}}, 0) 70%",h=[0,0,0],y=["primary","secondary","success","danger","warning","info","light","dark"],[v,N]=n.useState([]),[w,M]=n.useState(!1),R=p("ripple","ripple-surface",r&&"ripple-surface-unbound",w&&`ripple-surface-${i}`,e),D=()=>{if(y.find(S=>S===(i==null?void 0:i.toLowerCase())))return M(!0);{const S=C(i).join(",");return`radial-gradient(circle, ${b.split("{{color}}").join(`${S}`)})`}},C=B=>{const S=E=>(E.length<7&&(E=`#${E[1]}${E[1]}${E[2]}${E[2]}${E[3]}${E[3]}`),[parseInt(E.substr(1,2),16),parseInt(E.substr(3,2),16),parseInt(E.substr(5,2),16)]),T=E=>{const I=document.body.appendChild(document.createElement("fictum")),P="rgb(1, 2, 3)";return I.style.color=P,I.style.color!==P||(I.style.color=E,I.style.color===P||I.style.color==="")?h:(E=getComputedStyle(I).color,document.body.removeChild(I),E)},A=E=>(E=E.match(/[.\d]+/g).map(I=>+Number(I)),E.length=3,E);return B.toLowerCase()==="transparent"?h:B[0]==="#"?S(B):(B.indexOf("rgb")===-1&&(B=T(B)),B.indexOf("rgb")===0?A(B):h)},j=B=>{const{offsetX:S,offsetY:T,height:A,width:E}=B,I=T<=A/2,P=S<=E/2,k=(G,_)=>Math.sqrt(G**2+_**2),H=T===A/2&&S===E/2,W={first:I===!0&&P===!1,second:I===!0&&P===!0,third:I===!1&&P===!0,fourth:I===!1&&P===!1},O={topLeft:k(S,T),topRight:k(E-S,T),bottomLeft:k(S,A-T),bottomRight:k(E-S,A-T)};let q=0;return H||W.fourth?q=O.topLeft:W.third?q=O.topRight:W.second?q=O.bottomRight:W.first&&(q=O.bottomLeft),q*2},L=B=>{var q;const S=(q=m.current)==null?void 0:q.getBoundingClientRect(),T=B.clientX-S.left,A=B.clientY-S.top,E=S.height,I=S.width,P={offsetX:s?E/2:T,offsetY:s?I/2:A,height:E,width:I},k={delay:a&&a*.5,duration:a&&a-a*.5},H=j(P),W=o||H/2,O={left:s?`${I/2-W}px`:`${T-W}px`,top:s?`${E/2-W}px`:`${A-W}px`,height:o?`${o*2}px`:`${H}px`,width:o?`${o*2}px`:`${H}px`,transitionDelay:`0s, ${k.delay}ms`,transitionDuration:`${a}ms, ${k.duration}ms`};return w?O:{...O,backgroundImage:`${D()}`}},F=B=>{const S=L(B),T=v.concat(S);N(T),u&&u(B)};return n.useEffect(()=>{const B=setTimeout(()=>{v.length>0&&N(v.splice(1,v.length-1))},a);return()=>{clearTimeout(B)}},[a,v]),c.jsxs(t,{className:R,onMouseDown:B=>F(B),ref:m,...f,children:[l,v.map((B,S)=>c.jsx(lt,{style:B},S))]})});ae.displayName="MDBRipple";const Z=n.forwardRef(({className:e,color:t="primary",outline:s,children:a,rounded:r,disabled:o,floating:i,size:l,href:u,block:f,active:d,toggle:g,noRipple:m,tag:b="button",role:h="button",...y},v)=>{const[N,w]=n.useState(d||!1);let M;const R=t&&["light","link"].includes(t)||s?"dark":"light";t!=="none"?s?t?M=`btn-outline-${t}`:M="btn-outline-primary":t?M=`btn-${t}`:M="btn-primary":M="";const D=p(t!=="none"&&"btn",M,r&&"btn-rounded",i&&"btn-floating",l&&`btn-${l}`,`${(u||b!=="button")&&o?"disabled":""}`,f&&"btn-block",N&&"active",e);return u&&b!=="a"&&(b="a"),["hr","img","input"].includes(b)||m?c.jsx(b,{className:D,onClick:g?()=>{w(!N)}:void 0,disabled:o&&b==="button"?!0:void 0,href:u,ref:v,role:h,...y,children:a}):c.jsx(ae,{rippleTag:b,rippleColor:R,className:D,onClick:g?()=>{w(!N)}:void 0,disabled:o&&b==="button"?!0:void 0,href:u,ref:v,role:h,...y,children:a})});Z.displayName="MDBBtn";const pe=n.forwardRef(({className:e,children:t,shadow:s,toolbar:a,size:r,vertical:o,tag:i="div",role:l="group",...u},f)=>{let d;a?d="btn-toolbar":o?d="btn-group-vertical":d="btn-group";const g=p(d,s&&`shadow-${s}`,r&&`btn-group-${r}`,e);return c.jsx(i,{className:g,ref:f,role:l,...u,children:t})});pe.displayName="MDBBtnGroup";const be=n.forwardRef(({className:e,children:t,tag:s="div",color:a,grow:r,size:o,...i},l)=>{const u=p(`${r?"spinner-grow":"spinner-border"}`,a&&`text-${a}`,`${o?r?"spinner-grow-"+o:"spinner-border-"+o:""}`,e);return c.jsx(s,{className:u,ref:l,...i,children:t})});be.displayName="MDBSpinner";const ge=n.forwardRef(({className:e,children:t,border:s,background:a,tag:r="div",shadow:o,alignment:i,...l},u)=>{const f=p("card",s&&`border border-${s}`,a&&`bg-${a}`,o&&`shadow-${o}`,i&&`text-${i}`,e);return c.jsx(r,{className:f,ref:u,...l,children:t})});ge.displayName="MDBCard";const he=n.forwardRef(({className:e,children:t,border:s,background:a,tag:r="div",...o},i)=>{const l=p("card-header",s&&`border-${s}`,a&&`bg-${a}`,e);return c.jsx(r,{className:l,...o,ref:i,children:t})});he.displayName="MDBCardHeader";const ve=n.forwardRef(({className:e,children:t,tag:s="p",...a},r)=>{const o=p("card-subtitle",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});ve.displayName="MDBCardSubTitle";const ye=n.forwardRef(({className:e,children:t,tag:s="h5",...a},r)=>{const o=p("card-title",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});ye.displayName="MDBCardTitle";const Be=n.forwardRef(({className:e,children:t,tag:s="p",...a},r)=>{const o=p("card-text",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Be.displayName="MDBCardText";const Me=n.forwardRef(({className:e,children:t,tag:s="div",...a},r)=>{const o=p("card-body",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Me.displayName="MDBCardBody";const xe=n.forwardRef(({className:e,children:t,border:s,background:a,tag:r="div",...o},i)=>{const l=p("card-footer",s&&`border-${s}`,a&&`bg-${a}`,e);return c.jsx(r,{className:l,...o,ref:i,children:t})});xe.displayName="MDBCardFooter";const ut=({className:e,children:t,overlay:s,position:a,fluid:r,...o})=>{const i=p(a&&`card-img-${a}`,r&&"img-fluid",s&&"card-img",e);return c.jsx("img",{className:i,...o,children:t})},De=n.forwardRef(({className:e,children:t,tag:s="div",...a},r)=>{const o=p("card-img-overlay",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});De.displayName="MDBCardOverlay";const dt=({className:e,children:t,...s})=>{const a=p("card-link",e);return c.jsx("a",{className:a,...s,children:t})},Ne=n.forwardRef(({className:e,children:t,tag:s="div",...a},r)=>{const o=p("card-group",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Ne.displayName="MDBCardGroup";const we=n.forwardRef(({className:e,tag:t="ul",horizontal:s,horizontalSize:a,light:r,numbered:o,children:i,small:l,...u},f)=>{const d=p("list-group",s&&(a?`list-group-horizontal-${a}`:"list-group-horizontal"),r&&"list-group-light",o&&"list-group-numbered",l&&"list-group-small",e);return c.jsx(t,{className:d,ref:f,...u,children:i})});we.displayName="MDBListGroup";const je=n.forwardRef(({className:e,tag:t="li",active:s,disabled:a,action:r,color:o,children:i,noBorders:l,...u},f)=>{const d=t==="button",g=p("list-group-item",s&&"active",a&&!d&&"disabled",r&&"list-group-item-action",o&&`list-group-item-${o}`,l&&"border-0",e);return c.jsx(t,{className:g,disabled:d&&a,ref:f,...u,children:i})});je.displayName="MDBListGroupItem";const ft=({className:e,children:t,disableMouseDown:s,tag:a=Z,tooltipTag:r="div",options:o,placement:i="top",title:l,wrapperProps:u,wrapperClass:f,onOpen:d,onClose:g,onMouseEnter:m,onMouseLeave:b,...h})=>{const[y,v]=n.useState(null),[N,w]=n.useState(null),[M,R]=n.useState(!1),[D,C]=n.useState(!1),[j,L]=n.useState(!1),[F,B]=n.useState(!1),S=p("tooltip",j&&"show","fade",e),{styles:T,attributes:A}=se.usePopper(y,N,{placement:i,...o});n.useEffect(()=>{let k,H;return M||D?(B(!0),k=setTimeout(()=>{L(!0)},4)):(L(!1),H=setTimeout(()=>{B(!1)},300)),()=>{clearTimeout(k),clearTimeout(H)}},[M,D]);const E=k=>{d==null||d(k),!k.defaultPrevented&&R(!0),m==null||m(k)},I=k=>{g==null||g(k),!k.defaultPrevented&&R(!1),b==null||b(k)},P=n.useCallback(k=>{k.target===y?C(!0):C(!1)},[y]);return n.useEffect(()=>{if(!s)return document.addEventListener("mousedown",P),()=>{document.removeEventListener("mousedown",P)}},[P,s]),c.jsxs(c.Fragment,{children:[c.jsx(a,{className:f,onMouseEnter:E,onMouseLeave:I,ref:v,...u,children:t}),F&&J.createPortal(c.jsx(r,{ref:w,className:S,style:T.popper,...A.popper,role:"tooltip",...h,children:c.jsx("div",{className:"tooltip-inner",children:l})}),document.body)]})},Ee=n.forwardRef(({around:e,between:t,bottom:s,center:a,children:r,className:o,evenly:i,end:l,middle:u,start:f,tag:d="div",top:g,...m},b)=>{const h=p("row",e&&"justify-content-around",t&&"justify-content-between",s&&"align-self-end",a&&"justify-content-center",i&&"justifty-content-evenly",l&&"justify-content-end",u&&"align-self-center",f&&"justify-content-start",g&&"align-self-start",o);return c.jsx(d,{className:h,...m,ref:b,children:r})});Ee.displayName="MDBRow";const mt=({animate:e,className:t,icon:s,fab:a,fas:r,fal:o,far:i,flag:l,spin:u,fixed:f,flip:d,list:g,size:m,pull:b,pulse:h,color:y,border:v,rotate:N,inverse:w,stack:M,iconType:R,children:D,...C})=>{let j;l?j="flag":a?j="fab":r?j="fas":i?j="far":o?j="fal":j="fa";const L=p(R?`fa-${R}`:j,e&&`fa-${e}`,l?`flag-${l}`:s&&`fa-${s}`,m&&`fa-${m}`,y&&`text-${y}`,v&&"fa-border",N&&`fa-rotate-${N}`,b&&`fa-pull-${b}`,u&&!e&&"fa-spin",g&&"fa-li",f&&"fa-fw",h&&!e&&"fa-pulse",w&&"fa-inverse",d&&`fa-flip-${d}`,M&&`fa-stack-${M}`,t);return c.jsx("i",{className:L,...C,children:D})},Te=n.forwardRef(({className:e,children:t,tag:s="p",variant:a,color:r,blockquote:o,note:i,noteColor:l,listUnStyled:u,listInLine:f,...d},g)=>{const m=p(a&&a,o&&"blockquote",i&&"note",r&&`text-${r}`,l&&`note-${l}`,u&&"list-unstyled",f&&"list-inline",e);return o&&(s="blockquote"),(u||f)&&(s="ul"),c.jsx(s,{className:m,ref:g,...d,children:t})});Te.displayName="MDBTypography";const Se=n.forwardRef(({className:e,color:t,uppercase:s,bold:a,children:r,...o},i)=>{const l=p("breadcrumb",a&&"font-weight-bold",t&&`text-${t}`,s&&"text-uppercase",e);return c.jsx("nav",{"aria-label":"breadcrumb",children:c.jsx("ol",{className:l,ref:i,...o,children:r})})});Se.displayName="MDBBreadcrumb";const Re=n.forwardRef(({className:e,active:t,current:s="page",children:a,...r},o)=>{const i=p("breadcrumb-item",t&&"active",e);return c.jsx("li",{className:i,ref:o,"aria-current":t&&s,...r,children:a})});Re.displayName="MDBBreadcrumbItem";const pt=e=>{if(e!==!1)return`navbar-expand-${e}`},Ce=n.forwardRef(({className:e,children:t,light:s,dark:a,scrolling:r,fixed:o,sticky:i,scrollingNavbarOffset:l,color:u,transparent:f,expand:d,tag:g="nav",bgColor:m,...b},h)=>{const[y,v]=n.useState(!1),N=p({"navbar-light":s,"navbar-dark":a,"scrolling-navbar":r||l,"top-nav-collapse":y,[`text-${u}`]:u&&f?y:u},o&&`fixed-${o}`,i&&"sticky-top","navbar",d&&pt(d),m&&`bg-${m}`,e),w=n.useCallback(()=>{l&&window.pageYOffset>l?v(!0):v(!1)},[l]);return n.useEffect(()=>((r||l)&&window.addEventListener("scroll",w),()=>{window.removeEventListener("scroll",w)}),[w,r,l]),c.jsx(g,{className:N,role:"navigation",...b,ref:h,children:t})});Ce.displayName="MDBNavbar";const Ie=n.forwardRef(({children:e,className:t="",disabled:s=!1,active:a=!1,tag:r="a",...o},i)=>{const l=p("nav-link",s?"disabled":a?"active":"",t);return c.jsx(r,{"data-test":"nav-link",className:l,style:{cursor:"pointer"},ref:i,...o,children:e})});Ie.displayName="MDBNavbarLink";const $e=n.forwardRef(({className:e,children:t,tag:s="a",...a},r)=>{const o=p("navbar-brand",e);return c.jsx(s,{className:o,ref:r,...a,children:t})});$e.displayName="MDBNavbarBrand";const ke=n.forwardRef(({children:e,className:t,active:s,text:a,tag:r="li",...o},i)=>{const l=p("nav-item",s&&"active",a&&"navbar-text",t);return c.jsx(r,{...o,className:l,ref:i,children:e})});ke.displayName="MDBNavbarItem";const Le=n.forwardRef(({children:e,className:t,right:s,fullWidth:a=!0,left:r,tag:o="ul",...i},l)=>{const u=p("navbar-nav",a&&"w-100",s&&"ms-auto",r&&"me-auto",t);return c.jsx(o,{className:u,ref:l,...i,children:e})});Le.displayName="MDBNavbarNav";const Ae=n.forwardRef(({children:e,className:t,tag:s="button",...a},r)=>{const o=p("navbar-toggler",t);return c.jsx(s,{...a,className:o,ref:r,children:e})});Ae.displayName="MDBNavbarToggler";const Pe=n.forwardRef(({children:e,bgColor:t,color:s,className:a,...r},o)=>{const i=p(t&&`bg-${t}`,s&&`text-${s}`,a);return c.jsx("footer",{className:i,...r,ref:o,children:e})});Pe.displayName="MDBFooter";const Fe=n.forwardRef(({children:e,size:t,circle:s,center:a,end:r,start:o,className:i,...l},u)=>{const f=p("pagination",a&&"justify-content-center",s&&"pagination-circle",r&&"justify-content-end",t&&`pagination-${t}`,o&&"justify-content-start",i);return c.jsx("ul",{className:f,...l,ref:u,children:e})});Fe.displayName="MDBPagination";const He=n.forwardRef(({children:e,className:t,tag:s="a",...a},r)=>{const o=p("page-link",t);return c.jsx(s,{className:o,...a,ref:r,children:e})});He.displayName="MDBPaginationLink";const Oe=n.forwardRef(({children:e,className:t,active:s,disabled:a,...r},o)=>{const i=p("page-item",s&&"active",a&&"disabled",t);return c.jsx("li",{className:i,...r,ref:o,children:e})});Oe.displayName="MDBPaginationItem";const bt=({className:e,classNameResponsive:t,responsive:s,align:a,borderColor:r,bordered:o,borderless:i,children:l,color:u,hover:f,small:d,striped:g,...m})=>{const b=p("table",a&&`align-${a}`,r&&`border-${r}`,o&&"table-bordered",i&&"table-borderless",u&&`table-${u}`,f&&"table-hover",d&&"table-sm",g&&"table-striped",e),h=n.useMemo(()=>c.jsx("table",{className:b,...m,children:l}),[l,b,m]);if(s){const y=p(typeof s=="string"?`table-responsive-${s}`:"table-responsive",t);return c.jsx("div",{className:y,children:h})}else return h},gt=({className:e,children:t,dark:s,light:a,...r})=>{const o=p(s&&"table-dark",a&&"table-light",e);return c.jsx("thead",{className:o,...r,children:t})},ht=({className:e,children:t,...s})=>{const a=p(e);return c.jsx("tbody",{className:a,...s,children:t})},re=n.forwardRef(({animated:e,children:t,className:s,style:a,tag:r="div",valuenow:o,valuemax:i,striped:l,bgColor:u,valuemin:f,width:d,...g},m)=>{const b=p("progress-bar",u&&`bg-${u}`,l&&"progress-bar-striped",e&&"progress-bar-animated",s),h={width:`${d}%`,...a};return c.jsx(r,{className:b,style:h,ref:m,role:"progressbar",...g,"aria-valuenow":Number(d)??o,"aria-valuemin":Number(f),"aria-valuemax":Number(i),children:t})});re.displayName="MDBProgressBar";const We=n.forwardRef(({className:e,children:t,tag:s="div",height:a,style:r,...o},i)=>{const l=p("progress",e),u={height:`${a}px`,...r};return c.jsx(s,{className:l,ref:i,style:u,...o,children:n.Children.map(t,f=>{if(!n.isValidElement(f)||f.type!==re){console.error("Progress component only allows ProgressBar as child");return}else return f})})});We.displayName="MDBProgress";const vt=e=>{const[t,s]=n.useState(!1),a=n.useMemo(()=>new IntersectionObserver(([r])=>{s(r.isIntersecting)}),[]);return n.useEffect(()=>{if(e.current)return a.observe(e.current),()=>a.disconnect()},[a,e]),t},yt=(e,t)=>n.useMemo(()=>t!==void 0?t:e,[t,e]),Ge=n.forwardRef(({className:e,size:t,contrast:s,value:a,defaultValue:r,id:o,labelClass:i,wrapperClass:l,wrapperStyle:u,wrapperTag:f="div",label:d,onChange:g,children:m,labelRef:b,labelStyle:h,type:y,onBlur:v,readonly:N=!1,showCounter:w=!1,...M},R)=>{var _,Y;const[D,C]=n.useState(a||r),[j,L]=n.useState(0),[F,B]=n.useState(!1),[S,T]=n.useState(0),A=n.useRef(null),E=vt(A);n.useImperativeHandle(R,()=>A.current);const I=n.useRef(null),P=b||I,k=p("form-outline",s&&"form-white",l),H=p("form-control",F&&"active",y==="date"&&"active",t&&`form-control-${t}`,e),W=p("form-label",i);n.useEffect(()=>{if(!A.current)return;const{value:x}=A.current;x!=""?B(!0):B(!1)},[(_=A.current)==null?void 0:_.value]),n.useEffect(()=>{a!==void 0&&(a!=""?B(!0):B(!1))},[a]),n.useEffect(()=>{r!==void 0&&(r!=""?B(!0):B(!1))},[r]);const O=n.useCallback(()=>{var x;(x=P.current)!=null&&x.clientWidth&&L(P.current.clientWidth*.8+8)},[P]);n.useEffect(()=>{O()},[(Y=P.current)==null?void 0:Y.clientWidth,O,E]);const q=x=>{C(x.target.value),w&&T(x.target.value.length),g==null||g(x)},G=n.useCallback(x=>{A.current&&(D!==void 0&&D!=""||a!==void 0&&a!=""||A.current.value!=""?B(!0):B(!1),v&&v(x))},[D,a,v]);return c.jsxs(f,{className:k,style:u,children:[c.jsx("input",{type:y,readOnly:N,className:H,onBlur:G,onChange:q,onFocus:O,value:a,defaultValue:r,id:o,ref:A,...M}),d&&c.jsx("label",{className:W,style:h,htmlFor:o,ref:P,children:d}),c.jsxs("div",{className:"form-notch",children:[c.jsx("div",{className:"form-notch-leading"}),c.jsx("div",{className:"form-notch-middle",style:{width:j}}),c.jsx("div",{className:"form-notch-trailing"})]}),m,w&&M.maxLength&&c.jsx("div",{className:"form-helper",children:c.jsx("div",{className:"form-counter",children:`${S}/${M.maxLength}`})})]})});Ge.displayName="MDBInput";const ne=({className:e,inputRef:t,labelClass:s,wrapperClass:a,labelStyle:r,wrapperTag:o="div",wrapperStyle:i,label:l,inline:u,btn:f,id:d,btnColor:g,disableWrapper:m,toggleSwitch:b,...h})=>{let y="form-check-input",v="form-check-label";f&&(y="btn-check",g?v=`btn btn-${g}`:v="btn btn-primary");const N=p(l&&!f&&"form-check",u&&!f&&"form-check-inline",b&&"form-switch",a),w=p(y,e),M=p(v,s),R=c.jsxs(c.Fragment,{children:[c.jsx("input",{className:w,id:d,ref:t,...h}),l&&c.jsx("label",{className:M,style:r,htmlFor:d,children:l})]});return c.jsx(c.Fragment,{children:m?R:c.jsx(o,{style:i,className:N,children:R})})},Bt=({...e})=>c.jsx(ne,{type:"checkbox",...e}),Mt=({...e})=>c.jsx(ne,{type:"radio",...e}),Xe=({className:e,children:t,open:s=!1,id:a,navbar:r,tag:o="div",collapseRef:i,style:l,onOpen:u,onClose:f,...d})=>{const[g,m]=n.useState(!1),[b,h]=n.useState(void 0),[y,v]=n.useState(!1),N=p(y?"collapsing":"collapse",!y&&g&&"show",r&&"navbar-collapse",e),w=n.useRef(null),M=i??w,R=n.useCallback(()=>{g&&h(void 0)},[g]);return n.useEffect(()=>{var D;b===void 0&&g&&h((D=M==null?void 0:M.current)==null?void 0:D.scrollHeight)},[b,g,M]),n.useEffect(()=>{g!==s&&(s?u==null||u():f==null||f(),m(s)),g&&v(!0);const D=setTimeout(()=>{v(!1)},350);return()=>{clearTimeout(D)}},[s,g,u,f]),n.useEffect(()=>{var D;h(g?(D=M==null?void 0:M.current)==null?void 0:D.scrollHeight:0)},[g,M,t]),n.useEffect(()=>(window.addEventListener("resize",R),()=>{window.removeEventListener("resize",R)}),[R]),c.jsx(o,{style:{height:b,...l},id:a,className:N,...d,ref:M,children:t})},qe=n.createContext(null),xt=({children:e,isOpen:t=!1,options:s,animation:a=!0,dropup:r,dropright:o,dropleft:i,onClose:l,onOpen:u})=>{const[f,d]=n.useState(t),[g,m]=n.useState(null),[b,h]=n.useState(null),[y,v]=n.useState(-1);return c.jsx(qe.Provider,{value:{animation:a,activeIndex:y,isOpenState:f,setReferenceElement:m,setPopperElement:h,setActiveIndex:v,popperElement:b,setIsOpenState:d,referenceElement:g,onClose:l,onOpen:u,dropup:r,options:s,dropright:o,dropleft:i},children:e})},Dt=e=>e instanceof HTMLElement,Nt=e=>e instanceof Node,Q=()=>{const e=n.useContext(qe);if(!e)throw new Error("Missing context data");return e},wt=()=>{const{isOpenState:e,setIsOpenState:t,setActiveIndex:s,popperElement:a,referenceElement:r,onClose:o}=Q(),i=n.useCallback(l=>{e&&(o==null||o(l)),!(!e||!Nt(l.target)||a&&a.contains(l.target)||r&&r.contains(l.target)||l.defaultPrevented)&&(t(!1),setTimeout(()=>s(-1),300))},[e,t,s,a,r,o]);n.useEffect(()=>(document.addEventListener("mousedown",i),()=>document.removeEventListener("mousedown",i)),[i])},jt=({className:e,tag:t="div",group:s,children:a,dropup:r,dropright:o,dropleft:i,...l})=>{wt();const u=p(s?"btn-group":"dropdown",r&&"dropup",o&&"dropend",i&&"dropstart",e);return c.jsx(t,{className:u,...l,children:a})},Et=({animation:e,onClose:t,onOpen:s,...a})=>c.jsx(xt,{animation:e,onClose:t,onOpen:s,...a,children:c.jsx(jt,{...a})}),Tt=({childTag:e,children:t,disabled:s,link:a,divider:r,header:o,href:i="#"})=>{const l=p("dropdown-item",s&&"disabled");return a?e?c.jsx(e,{className:l,children:t}):c.jsx("a",{href:i,className:l,children:t}):r?e?c.jsx(e,{className:"dropdown-divider",children:t}):c.jsx("hr",{className:"dropdown-divider"}):o?e?c.jsx(e,{className:"dropdown-header",children:t}):c.jsx("h6",{className:"dropdown-header",children:t}):c.jsx(c.Fragment,{children:t})};const St=({onClick:e,tag:t="li",childTag:s,children:a,style:r,link:o,divider:i,header:l,disabled:u,href:f,preventCloseOnClick:d,...g})=>{const{setIsOpenState:m,onClose:b,setActiveIndex:h}=Q(),y=v=>{b==null||b(v),e==null||e(v),!(u||d||v.defaultPrevented)&&(setTimeout(()=>h(-1),300),m(!1))};return c.jsx(t,{style:r,onClick:y,...g,children:c.jsx(Tt,{link:o,divider:i,header:l,disabled:u,href:f,childTag:s,children:a})})},ie=(e,t,s)=>s==="up"?e<=0?t[t.length-1].props.divider===!0||t[t.length-1].props.disabled===!0:t[e-1].props.divider===!0||t[e-1].props.disabled===!0:e===t.length-1?t[0].props.divider===!0||t[0].props.disabled===!0:t[e+1].props.divider===!0||t[e+1].props.disabled===!0,Rt=e=>{const{activeIndex:t,isOpenState:s,setIsOpenState:a,setActiveIndex:r,onClose:o}=Q(),i=n.useCallback(l=>{const u=["ArrowUp","ArrowDown","Tab","Enter","Escape"];if(!(!Array.isArray(e)||!u.includes(l.key))){if(Dt(document.activeElement)&&document.activeElement.blur(),l.key==="ArrowUp"){l.preventDefault();const f=ie(t,e,"up");if(t===1){r(f?e.length-1:0);return}if(t<=0){r(f?e.length-2:e.length-1);return}r(d=>f?d-2:d-1)}if(l.key==="ArrowDown"||l.key==="Tab"){l.preventDefault();const f=ie(t,e,"down");if(t===e.length-2){r(d=>f?0:d+1);return}if(t===e.length-1){r(f?1:0);return}r(d=>f?d+2:d+1)}if(l.key==="Enter"){const f=document.querySelector('[data-active="true"]'),d=f==null?void 0:f.firstElementChild;if(d)return d.click();if(o==null||o(l),l.defaultPrevented)return;a(!1),setTimeout(()=>r(-1),300)}if(l.key==="Escape"){if(o==null||o(l),l.defaultPrevented)return;a(!1),setTimeout(()=>r(-1),300)}}},[e,a,r,t,o]);n.useEffect(()=>(s&&document.addEventListener("keydown",i),()=>{s&&document.removeEventListener("keydown",i)}),[s,i]),n.useEffect(()=>{const l=document.querySelector('[data-active="true"]'),u=l==null?void 0:l.firstElementChild;return u==null||u.focus(),()=>u==null?void 0:u.blur()},[t])},Ct=()=>{const{isOpenState:e}=Q(),[t,s]=n.useState(!1),[a,r]=n.useState(!1),[o,i]=n.useState(e);return n.useEffect(()=>{let l;return e||(r(!0),s(!1),l=setTimeout(()=>{r(!1),i(!1)},300)),e&&(s(!0),r(!1),i(!0),l=setTimeout(()=>{s(!1)},300)),()=>clearTimeout(l)},[e]),{open:o,isFadeIn:t,isFadeOut:a}};const It=({className:e,tag:t="ul",children:s,style:a,dark:r,responsive:o="",appendToBody:i=!1,alwaysOpen:l,...u})=>{const{activeIndex:f,setPopperElement:d,isOpenState:g,animation:m,referenceElement:b,popperElement:h,options:y,dropleft:v,dropup:N,dropright:w}=Q(),{open:M,isFadeIn:R,isFadeOut:D}=Ct();Rt(s);const C=()=>{if(w)return"right-start";if(v)return"left-start";const B=h&&getComputedStyle(h).getPropertyValue("--mdb-position").trim()==="end";return N?B?"top-end":"top-start":B?"bottom-end":"bottom-start"},{styles:j}=se.usePopper(b,h,{placement:C(),modifiers:[ct.flip],...y}),L=p("dropdown-menu",r&&"dropdown-menu-dark",g&&"show",m&&"animation",R&&"fade-in",D&&"fade-out",o&&`dropdown-menu-${o}`,e);if(!M&&!l)return null;const F=c.jsx(t,{className:L,style:{position:"absolute",zIndex:1e3,...j.popper,...a},ref:d,...u,children:n.Children.map(s,(B,S)=>n.cloneElement(B,{tabIndex:1,"data-active":f===S&&!0,className:p(f===S?"active":"",B.props.className)}))});return c.jsx(c.Fragment,{children:i?J.createPortal(F,document.body):F})},$t=({className:e,tag:t=Z,children:s,onClick:a,split:r,...o})=>{const{setIsOpenState:i,setReferenceElement:l,isOpenState:u,setActiveIndex:f,onClose:d,onOpen:g}=Q(),m=p("dropdown-toggle",r&&"dropdown-toggle-split",e),b=h=>{a==null||a(h),u?d==null||d(h):g==null||g(h),!h.defaultPrevented&&(i(y=>!y),setTimeout(()=>f(-1),300))};return c.jsx(t,{onClick:b,ref:l,className:m,"aria-expanded":!!u,...o,children:s})},kt=({className:e,btnClassName:t,btnChildren:s,children:a,tag:r=Z,onOpen:o,onClose:i,popperTag:l="div",open:u,placement:f="bottom",dismiss:d,options:g,poperStyle:m,onClick:b,...h})=>{const[y,v]=n.useState(),[N,w]=n.useState(),{styles:M,attributes:R}=se.usePopper(y,N,{placement:f,...g}),[D,C]=n.useState(u??!1),j=yt(D,u),[L,F]=n.useState(!1),[B,S]=n.useState(!1),T=p("popover fade",L&&j&&"show",e),A=I=>{j&&!d?i==null||i():j||o==null||o(),d?(S(!0),C(!0)):C(!j),b&&b(I)},E=n.useCallback(I=>{B&&N&&j&&y&&!y.contains(I.target)&&(C(!1),i==null||i())},[B,j,N,y,i]);return n.useEffect(()=>{const I=setTimeout(()=>{F(j)},150);return()=>{clearTimeout(I)}},[j]),n.useEffect(()=>(j&&document.addEventListener("mousedown",E),()=>{document.removeEventListener("mousedown",E)}),[E,j]),c.jsxs(c.Fragment,{children:[c.jsx(r,{onClick:A,className:t,...h,ref:v,children:s}),(L||j)&&J.createPortal(c.jsx(l,{className:T,ref:w,style:{...M.popper,...m},...R.popper,children:a}),document.body)]})},Lt=({className:e,children:t,tag:s="div",...a})=>{const r=p("popover-body",e);return c.jsx(s,{className:r,...a,children:t})},At=({className:e,children:t,tag:s="h3",...a})=>{const r=p("popover-header",e);return c.jsx(s,{className:r,...a,children:t})},Pt=({animationDirection:e,appendToBody:t,backdrop:s=!0,children:a,className:r,closeOnEsc:o=!0,setOpen:i,leaveHiddenModal:l=!0,modalRef:u,onClose:f,onClosePrevented:d,onOpen:g,open:m,staticBackdrop:b,nonInvasive:h=!1,tag:y="div",...v})=>{const[N,w]=n.useState(m),[M,R]=n.useState(m),[D,C]=n.useState(m),[j,L]=n.useState(!1),[F,B]=n.useState(0),[S,T]=n.useState([]),A=n.useRef(null),E=u||A,I=p("modal",j&&"modal-static",e,"fade",M&&"show",N&&h&&"modal-non-invasive-show",r),P=p("modal-backdrop","fade",N&&"show"),k=n.useCallback(()=>{R(G=>(G&&(f==null||f()),!1)),setTimeout(()=>{w(!1),i==null||i(!1)},150),setTimeout(()=>{C(!1)},350)},[f,i]),H=n.useCallback(G=>{h||M&&G.target===E.current&&(b?(L(!0),d==null||d(),setTimeout(()=>{L(!1)},300)):k())},[M,E,b,k,d,h]),W=n.useCallback(G=>{M&&G.key==="Tab"&&(G.preventDefault(),B(F+1)),o&&M&&G.key==="Escape"&&(b?(L(!0),d==null||d(),setTimeout(()=>{L(!1)},300)):k())},[M,o,F,b,k,d]);n.useEffect(()=>{var Y;const G=(Y=E.current)==null?void 0:Y.querySelectorAll("button, a, input, select, textarea, [tabindex]"),_=Array.from(G).filter(x=>x.tabIndex!==-1).sort((x,$)=>x.tabIndex===$.tabIndex?0:$.tabIndex===null?-1:x.tabIndex===null?1:x.tabIndex-$.tabIndex);T(_),B(_.length-1)},[E]),n.useEffect(()=>{S&&S.length>0&&(F===S.length?(S[0].focus(),B(0)):S[F].focus())},[F,S]),n.useEffect(()=>{const G=()=>{const Y=document.documentElement.clientWidth;return Math.abs(window.innerWidth-Y)},_=window.innerWidth>document.documentElement.clientWidth&&window.innerWidth>=576;if(D&&_&&!h){const Y=G();document.body.classList.add("modal-open"),document.body.style.overflow="hidden",document.body.style.paddingRight=`${Y}px`}else document.body.classList.remove("modal-open"),document.body.style.overflow="",document.body.style.paddingRight="";return()=>{document.body.classList.remove("modal-open"),document.body.style.overflow="",document.body.style.paddingRight=""}},[D,h]),n.useEffect(()=>{m?(g==null||g(),C(!0),setTimeout(()=>{w(!0)},0),setTimeout(()=>{R(!0),i==null||i(!0)},150)):k()},[m,k,i,g]),n.useEffect(()=>{const G=_=>{_.target.closest(".modal-dialog")||window.addEventListener("mouseup",H,{once:!0})};return window.addEventListener("mousedown",G),window.addEventListener("keydown",W),()=>{window.removeEventListener("mousedown",G),window.removeEventListener("keydown",W)}},[W,H]);const O=c.jsx(c.Fragment,{children:(l||m||D)&&J.createPortal(c.jsxs(c.Fragment,{children:[c.jsx(y,{className:I,ref:E,style:{display:D||m?"block":"none",pointerEvents:h?"none":"initial"},...v,children:a}),J.createPortal(s&&D&&!h&&c.jsx("div",{className:P}),document.body)]}),document.body)}),q=c.jsx(c.Fragment,{children:(l||m||D)&&c.jsxs(c.Fragment,{children:[c.jsx(y,{className:I,ref:E,style:{display:D||m?"block":"none",pointerEvents:h?"none":"initial"},...v,children:a}),J.createPortal(s&&D&&!h&&c.jsx("div",{onClick:k,className:P}),document.body)]})});return c.jsx(c.Fragment,{children:t?O:q})},_e=n.forwardRef(({className:e,centered:t,children:s,size:a,scrollable:r,tag:o="div",...i},l)=>{const u=p("modal-dialog",r&&"modal-dialog-scrollable",t&&"modal-dialog-centered",a&&`modal-${a}`,e);return c.jsx(o,{className:u,...i,ref:l,children:s})});_e.displayName="MDBModalDialog";const Ye=n.forwardRef(({className:e,children:t,tag:s="div",...a},r)=>{const o=p("modal-content",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Ye.displayName="MDBModalContent";const Ve=n.forwardRef(({className:e,children:t,tag:s="div",...a},r)=>{const o=p("modal-header",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Ve.displayName="MDBModalHeader";const Ke=n.forwardRef(({className:e,children:t,tag:s="h5",...a},r)=>{const o=p("modal-title",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Ke.displayName="MDBModalTitle";const Ue=n.forwardRef(({className:e,children:t,tag:s="div",...a},r)=>{const o=p("modal-body",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Ue.displayName="MDBModalBody";const Je=n.forwardRef(({className:e,children:t,tag:s="div",...a},r)=>{const o=p("modal-footer",e);return c.jsx(s,{className:o,...a,ref:r,children:t})});Je.displayName="MDBModalFooter";const oe=n.createContext({activeElement:null,setTargets:null}),Ft=({container:e=typeof window!==void 0?window:null,className:t,children:s,offset:a=10,...r})=>{const o=p("sticky-top",t),[i,l]=n.useState(null),[u,f]=n.useState([]),d=e instanceof Window,g=n.useCallback(()=>{var N,w,M;if(!u.length)return;const m=d?window.pageYOffset:(N=e==null?void 0:e.current)==null?void 0:N.scrollTop,b=Number(a),h=(w=u[u.length-1])==null?void 0:w.current,y=(M=u[0])==null?void 0:M.current;m+b{var F;const C=(F=u[D+1])==null?void 0:F.current,j=R.current;if(m>j.offsetTop-b&&m<(C==null?void 0:C.offsetTop)-b){l(j);return}}),m>h.offsetTop-b&&l(h)},[a,u,d,e]);return n.useEffect(()=>{const m=d?e:e==null?void 0:e.current;return g(),m==null||m.addEventListener("scroll",g),()=>{m==null||m.removeEventListener("scroll",g)}},[g,e,d]),c.jsx("div",{className:o,...r,children:c.jsx("ul",{className:"nav flex-column nav-pills menu-sidebar",children:c.jsx(oe.Provider,{value:{activeElement:i,setTargets:f},children:s})})})},Ht=({className:e,collapsible:t,targetRef:s,children:a,subsections:r,onClick:o,onActivate:i,...l})=>{var y;const{activeElement:u,setTargets:f}=n.useContext(oe),d=()=>r==null?void 0:r.some(v=>v.current.id===(u==null?void 0:u.id)),g=(u==null?void 0:u.id)===((y=s.current)==null?void 0:y.id),m=g||d();g&&(i==null||i(u==null?void 0:u.id));const b=p("nav-link",t&&"collapsible-scrollspy",m&&"active",e),h=v=>{const N=s==null?void 0:s.current;N==null||N.scrollIntoView({behavior:"smooth"}),o==null||o(v)};return n.useEffect(()=>{f(v=>[...v,s])},[f,s]),c.jsx("li",{className:"nav-item",style:{cursor:"pointer"},children:c.jsx("a",{className:b,onClick:h,...l,children:a})})},Ot=({collapsible:e,className:t,children:s,style:a,...r})=>{const[o,i]=n.useState("0px"),{activeElement:l}=n.useContext(oe),u=p("nav flex-column",t),f=n.useRef(null);n.useEffect(()=>{const g=()=>e==null?void 0:e.some(b=>b.current.id===(l==null?void 0:l.id)),m=f.current;g()?i(`${m==null?void 0:m.scrollHeight}px`):i("0px")},[l,e]);const d={overflow:"hidden",height:o,transition:"height .5s ease",flexWrap:"nowrap",...a};return c.jsx("ul",{className:u,ref:f,style:e?d:a,...r,children:s})},Wt=({...e})=>c.jsx(ne,{type:"checkbox",toggleSwitch:!0,...e}),Gt=({value:e,min:t="0",max:s="100",showThumb:a})=>{const r=Number(e),[o,i]=n.useState((r||0-Number(t))*100/(Number(s)-Number(t))),l=p("thumb",a&&"thumb-active");return n.useEffect(()=>{i((Number(e)-Number(t))*100/(Number(s)-Number(t)))},[e,s,t]),c.jsx("span",{className:l,style:{left:`calc(${o}% + (${8-o*.15}px))`},children:c.jsx("span",{className:"thumb-value",children:e})})},Xt=({className:e,defaultValue:t=0,disableTooltip:s,labelId:a,max:r,min:o,onMouseDown:i,onMouseUp:l,onTouchStart:u,onTouchEnd:f,onChange:d,labelClass:g,value:m,label:b,id:h,inputRef:y,...v})=>{const[N,w]=n.useState(t),[M,R]=n.useState(!1),D=p("form-range",e),C=p("form-label",g),j=T=>{R(!0),i&&i(T)},L=T=>{R(!1),l&&l(T)},F=T=>{R(!0),u&&u(T)},B=T=>{R(!1),f&&f(T)},S=T=>{w(T.target.value),d&&d(T)};return c.jsxs(c.Fragment,{children:[b&&c.jsx("label",{className:C,id:a,htmlFor:h,children:b}),c.jsxs("div",{className:"range",children:[c.jsx("input",{type:"range",onMouseDown:j,onMouseUp:L,onTouchStart:F,onTouchEnd:B,onChange:S,className:D,value:m||N,id:h,min:o,max:r,ref:y,...v}),!s&&c.jsx(Gt,{value:m||N,showThumb:M,min:o,max:r})]})]})},qt=({className:e,labelClass:t,labelStyle:s,inputRef:a,size:r,label:o,id:i,...l})=>{const u=p("form-control",`form-control-${r}`,e),f=p("form-label",t);return c.jsxs(c.Fragment,{children:[o&&c.jsx("label",{className:f,style:s,htmlFor:i,children:o}),c.jsx("input",{className:u,type:"file",id:i,ref:a,...l})]})},Qe=n.forwardRef(({className:e,children:t,noBorder:s,textBefore:a,textAfter:r,noWrap:o,tag:i="div",textTag:l="span",textClass:u,size:f,textProps:d,...g},m)=>{const b=p("input-group",o&&"flex-nowrap",f&&`input-group-${f}`,e),h=p("input-group-text",s&&"border-0",u),y=v=>c.jsx(c.Fragment,{children:v&&Array.isArray(v)?v.map((N,w)=>c.jsx(l,{className:h,...d,children:N},w)):c.jsx(l,{className:h,...d,children:v})});return c.jsxs(i,{className:b,ref:m,...g,children:[a&&y(a),t,r&&y(r)]})});Qe.displayName="MDBInputGroup";const Ze=n.forwardRef(({className:e,children:t,isValidated:s=!1,onReset:a,onSubmit:r,noValidate:o=!0,...i},l)=>{const[u,f]=n.useState(s),d=p("needs-validation",u&&"was-validated",e),g=b=>{b.preventDefault(),f(!0),r&&r(b)},m=b=>{b.preventDefault(),f(!1),a&&a(b)};return n.useEffect(()=>{f(s)},[s]),c.jsx("form",{className:d,onSubmit:g,onReset:m,ref:l,noValidate:o,...i,children:t})});Ze.displayName="MDBValidation";const ze=n.forwardRef(({className:e,fill:t,pills:s,justify:a,children:r,...o},i)=>{const l=p("nav",s?"nav-pills":"nav-tabs",t&&"nav-fill",a&&"nav-justified",e);return c.jsx("ul",{className:l,ref:i,...o,children:r})});ze.displayName="MDBTabs";const et=n.forwardRef(({className:e,children:t,style:s,tag:a="li",...r},o)=>{const i=p("nav-item",e);return c.jsx(a,{className:i,style:{cursor:"pointer",...s},role:"presentation",ref:o,...r,children:t})});et.displayName="MDBTabsItem";const tt=n.forwardRef(({className:e,color:t,active:s,onOpen:a,onClose:r,children:o,...i},l)=>{const u=p("nav-link",s&&"active",t&&`bg-${t}`,e);return n.useEffect(()=>{s?a==null||a():r==null||r()},[s]),c.jsx("a",{className:u,ref:l,...i,children:o})});tt.displayName="MDBTabsLink";const st=n.forwardRef(({className:e,tag:t="div",children:s,...a},r)=>{const o=p("tab-content",e);return c.jsx(t,{className:o,ref:r,...a,children:s})});st.displayName="MDBTabsContent";const at=n.forwardRef(({className:e,tag:t="div",open:s,children:a,...r},o)=>{const[i,l]=n.useState(!1),u=p("tab-pane","fade",i&&"show",s&&"active",e);return n.useEffect(()=>{let f;return s?f=setTimeout(()=>{l(!0)},100):l(!1),()=>{clearTimeout(f)}},[s]),c.jsx(t,{className:u,role:"tabpanel",ref:o,...r,children:a})});at.displayName="MDBTabsPane";const ce=n.createContext({active:0}),_t=({imagesCount:e,to:t})=>{const{active:s}=n.useContext(ce);return c.jsx("ol",{className:"carousel-indicators",children:Array.from(Array(e)).map((a,r)=>c.jsx("li",{"data-mdb-target":r,className:p(s===r&&"active"),onClick:()=>t(r)},r))})},Yt=({move:e})=>c.jsxs(c.Fragment,{children:[c.jsxs("a",{role:"button",className:"carousel-control-prev",onClick:()=>e("prev"),children:[c.jsx("span",{className:"carousel-control-prev-icon"}),c.jsx("span",{className:"visually-hidden",children:"Previous"})]}),c.jsxs("a",{role:"button",className:"carousel-control-next",onClick:()=>e("next"),children:[c.jsx("span",{className:"carousel-control-next-icon"}),c.jsx("span",{className:"visually-hidden",children:"Next"})]})]}),Vt=e=>{const t=getComputedStyle(e),s=getComputedStyle(e==null?void 0:e.parentNode);return t.display!=="none"&&s.display!=="none"&&t.visibility!=="hidden"},Kt=e=>Array.from(e==null?void 0:e.querySelectorAll(".carousel-item")),Ut=e=>e.offsetHeight,Jt=(e,t,s=!0)=>{if(!s){ue(e);return}const a=Qt(t);t.addEventListener("transitionend",()=>ue(e),{once:!0}),zt(t,a)},ue=e=>{typeof e=="function"&&e()},Qt=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:s}=window.getComputedStyle(e);const a=Number.parseFloat(t),r=Number.parseFloat(s);return!a&&!r?0:(t=t.split(",")[0],s=s.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(s))*1e3)},Zt=e=>{e.dispatchEvent(new Event("transitionend"))},zt=(e,t)=>{let s=!1;const r=t+5;function o(){s=!0,e.removeEventListener("transitionend",o)}e.addEventListener("transitionend",o),setTimeout(()=>{s||Zt(e)},r)},es=({fade:e=!1,className:t,carouselInnerClassName:s,dark:a,children:r,interval:o=5e3,keyboard:i=!1,touch:l=!0,showControls:u,showIndicators:f,onSlide:d,...g})=>{const m=n.useRef([]),b=n.useRef(null),h=n.useRef(0),y=n.useRef(!1),[v,N]=n.useState(0),[w,M]=n.useState(0),[R,D]=n.useState({initialX:0,initialY:0}),[C,j]=n.useState(!1),L=n.useRef(null),F=p("carousel","slide",e&&"carousel-fade",a&&"carousel-dark",t),B=p("carousel-inner",s),S=n.useCallback((x,$)=>{if($!==void 0)h.current=$,N($);else{const X=v===w-1?0:v+1,K=v===0?w-1:v-1;h.current=x==="next"?X:K,N(x==="next"?X:K)}},[v,w]),T=n.useCallback(()=>{b.current&&(clearInterval(b.current),b.current=null)},[]),A=n.useCallback((x,$,X)=>{var le;if(!m.current||m.current.length<2)return;j(!0);const V=m.current[v],U=Boolean(b.current),z=x==="next",ee=z?"carousel-item-start":"carousel-item-end",te=z?"carousel-item-next":"carousel-item-prev";if($.classList.contains("active")){y.current=!1;return}S(x,X),!(!V||!$)&&(y.current=!0,U&&T(),(le=L.current)!=null&&le.classList.contains("slide")?($.classList.add(te),Ut($),V.classList.add(ee),$.classList.add(ee),Jt(()=>{j(!1),$.classList.remove(ee,te),$.classList.add("active"),V.classList.remove("active",te,ee),y.current=!1},V,!0)):(V.classList.remove("active"),$.classList.add("active"),y.current=!1))},[L,v,S,T]),E=x=>{y.current||(y.current=!0,setTimeout(()=>{y.current=!1},x))},I=n.useCallback(x=>{const $=x==="prev",V=(h.current+($?-1:1))%w,U=m.current;return V===-1?U[w-1]:U[V]},[w]),P=x=>{const $=h.current,X=x>$?"next":"prev",K=m.current;return{direction:X,nextElement:K[x]}},k=x=>{if(y.current||(E(700),x>w-1||x<0))return;const{direction:$,nextElement:X}=P(x);A($,X,x)},H=n.useCallback(x=>{if(y.current)return;E(600);const $=I(x);A(x,$)},[I,A]),W=n.useCallback(()=>{const{visibilityState:x,hidden:$}=document;if(x)return $||!Vt(L.current)?void 0:H("next");H("next")},[L,H]),O=n.useCallback(()=>{var $,X;const x=(X=($=r==null?void 0:r[v])==null?void 0:$.props)==null?void 0:X.interval;b.current&&(clearInterval(b.current),b.current=null),b.current=setInterval(W,x||o)},[W,o,r,v]),q=x=>{l&&D({initialX:x.touches[0].clientX,initialY:x.touches[0].clientY})},G=x=>{y.current=!0;const{initialX:$,initialY:X}=R;if(!$||!X)return;const K=x.touches[0].clientX,V=x.touches[0].clientY,U=$-K,z=X-V;Math.abs(U)>Math.abs(z)&&(U>0?H("prev"):H("next")),D({initialX:0,initialY:0})},_=()=>{y.current=!1},Y=n.useCallback(x=>{switch(x.key){case"ArrowLeft":x.preventDefault(),H("prev");break;case"ArrowRight":x.preventDefault(),H("next");break}},[H]);return n.useEffect(()=>{if(i)return window.addEventListener("keydown",Y),()=>{window.removeEventListener("keydown",Y)}},[Y,i]),n.useEffect(()=>{const x=L.current,$=Kt(x);m.current=$,M($.length)},[L]),n.useEffect(()=>{C&&(d==null||d())},[C,d]),n.useEffect(()=>(O(),()=>{T()}),[O,T]),c.jsx("div",{onTouchStart:q,onTouchMove:G,onTouchEnd:_,onMouseEnter:T,onMouseLeave:O,className:F,ref:L,...g,children:c.jsx("div",{className:B,children:c.jsxs(ce.Provider,{value:{active:v},children:[f&&c.jsx(_t,{to:k,imagesCount:w}),r,u&&c.jsx(Yt,{move:H})]})})})},ts=({className:e,children:t,itemId:s,...a})=>{const{active:r}=n.useContext(ce),o=n.useRef(!0),i=n.useRef(null),l=p("carousel-item",e);return n.useEffect(()=>{if(o.current&&r===s-1){const u=i.current;u==null||u.classList.add("active")}o.current=!1},[r,s]),c.jsx("div",{className:l,ref:i,...a,children:t})},ss=({className:e,children:t,...s})=>{const a=p("carousel-caption d-none d-md-block",e);return c.jsx("div",{className:a,...s,children:t})},rt=n.createContext({activeItem:0,setActiveItem:null,alwaysOpen:!1,initialActive:0}),nt=n.forwardRef(({alwaysOpen:e,borderless:t,className:s,flush:a,active:r,initialActive:o=0,tag:i="div",children:l,onChange:u,...f},d)=>{const g=n.useMemo(()=>typeof r<"u",[r]),m=p("accordion",a&&"accordion-flush",t&&"accordion-borderless",s),[b,h]=n.useState(o);return c.jsx(i,{className:m,ref:d,...f,children:c.jsx(rt.Provider,{value:{activeItem:g?r:b,setActiveItem:h,alwaysOpen:e,initialActive:o,onChange:u},children:l})})});nt.displayName="MDBAccordion";const ot=n.forwardRef(({className:e,bodyClassName:t,bodyStyle:s,headerClassName:a,collapseId:r,headerTitle:o,headerStyle:i,btnClassName:l,tag:u="div",children:f,...d},g)=>{const{activeItem:m,setActiveItem:b,alwaysOpen:h,onChange:y}=n.useContext(rt),v=n.useMemo(()=>Array.isArray(m)?m.includes(r):m===r,[m,r]),N=p("accordion-item",e),w=p("accordion-header",a),M=p("accordion-body",t),R=p("accordion-button",!v&&"collapsed",l),D=n.useCallback(C=>{let j=C;Array.isArray(m)?m.includes(C)?j=m.filter(F=>F!==C):j=h?[...m,C]:[C]:(j=m===C?0:C,h&&(j=[j])),y==null||y(j),b(j)},[y,m,b,h]);return c.jsxs(u,{className:N,ref:g,...d,children:[c.jsx("h2",{className:w,style:i,children:c.jsx("button",{onClick:()=>D(r),className:R,type:"button",children:o})}),c.jsx(Xe,{id:r.toString(),open:v,children:c.jsx("div",{className:M,style:s,children:f})})]})});ot.displayName="MDBAccordionItem";const as=({className:e,size:t,contrast:s,value:a,defaultValue:r,id:o,labelClass:i,wrapperClass:l,wrapperStyle:u,wrapperTag:f="div",label:d,onChange:g,children:m,labelRef:b,labelStyle:h,inputRef:y,onBlur:v,readonly:N=!1,...w})=>{var W;const M=n.useRef(null),R=n.useRef(null),D=b||M,C=y||R,[j,L]=n.useState(a||r),[F,B]=n.useState(0),[S,T]=n.useState(a!==void 0&&a.length>0||r!==void 0&&r.length>0),A=p("form-outline",s&&"form-white",l),E=p("form-control",S&&"active",t&&`form-control-${t}`,e),I=p("form-label",i);n.useEffect(()=>{var O;D.current&&((O=D.current)==null?void 0:O.clientWidth)!==0&&B(D.current.clientWidth*.8+8)},[D,(W=D.current)==null?void 0:W.clientWidth]);const P=()=>{D.current&&B(D.current.clientWidth*.8+8)};n.useEffect(()=>{a!==void 0&&(a.length>0?T(!0):T(!1))},[a]),n.useEffect(()=>{r!==void 0&&(r.length>0?T(!0):T(!1))},[r]);const k=O=>{L(O.currentTarget.value),g&&g(O)},H=n.useCallback(O=>{j!==void 0&&j.length>0||a!==void 0&&a.length>0?T(!0):T(!1),v&&v(O)},[j,a,v]);return c.jsxs(f,{className:A,style:{...u},children:[c.jsx("textarea",{readOnly:N,className:E,onBlur:H,onChange:k,onFocus:P,defaultValue:r,value:a,id:o,ref:C,...w}),d&&c.jsx("label",{className:I,style:h,htmlFor:o,ref:D,children:d}),c.jsxs("div",{className:"form-notch",children:[c.jsx("div",{className:"form-notch-leading"}),c.jsx("div",{className:"form-notch-middle",style:{width:F}}),c.jsx("div",{className:"form-notch-trailing"})]}),m]})},rs=({children:e,invalid:t,feedback:s="Looks good!",tooltip:a,tag:r="div",...o})=>{const[i,l]=n.useState(null),u=n.useRef(null),f=p(t?`invalid-${a?"tooltip":"feedback"}`:`valid-${a?"tooltip":"feedback"}`);return n.useEffect(()=>{var g,m;const d=(m=(g=u.current)==null?void 0:g.querySelector("input, textarea"))==null?void 0:m.parentElement;d&&l(d)},[]),c.jsxs(r,{ref:u,...o,children:[i&&J.createPortal(c.jsx("div",{className:f,children:s}),i),e]})};exports.MDBAccordion=nt;exports.MDBAccordionItem=ot;exports.MDBBadge=me;exports.MDBBreadcrumb=Se;exports.MDBBreadcrumbItem=Re;exports.MDBBtn=Z;exports.MDBBtnGroup=pe;exports.MDBCard=ge;exports.MDBCardBody=Me;exports.MDBCardFooter=xe;exports.MDBCardGroup=Ne;exports.MDBCardHeader=he;exports.MDBCardImage=ut;exports.MDBCardLink=dt;exports.MDBCardOverlay=De;exports.MDBCardSubTitle=ve;exports.MDBCardText=Be;exports.MDBCardTitle=ye;exports.MDBCarousel=es;exports.MDBCarouselCaption=ss;exports.MDBCarouselItem=ts;exports.MDBCheckbox=Bt;exports.MDBCol=fe;exports.MDBCollapse=Xe;exports.MDBContainer=de;exports.MDBDropdown=Et;exports.MDBDropdownItem=St;exports.MDBDropdownMenu=It;exports.MDBDropdownToggle=$t;exports.MDBFile=qt;exports.MDBFooter=Pe;exports.MDBIcon=mt;exports.MDBInput=Ge;exports.MDBInputGroup=Qe;exports.MDBListGroup=we;exports.MDBListGroupItem=je;exports.MDBModal=Pt;exports.MDBModalBody=Ue;exports.MDBModalContent=Ye;exports.MDBModalDialog=_e;exports.MDBModalFooter=Je;exports.MDBModalHeader=Ve;exports.MDBModalTitle=Ke;exports.MDBNavbar=Ce;exports.MDBNavbarBrand=$e;exports.MDBNavbarItem=ke;exports.MDBNavbarLink=Ie;exports.MDBNavbarNav=Le;exports.MDBNavbarToggler=Ae;exports.MDBPagination=Fe;exports.MDBPaginationItem=Oe;exports.MDBPaginationLink=He;exports.MDBPopover=kt;exports.MDBPopoverBody=Lt;exports.MDBPopoverHeader=At;exports.MDBProgress=We;exports.MDBProgressBar=re;exports.MDBRadio=Mt;exports.MDBRange=Xt;exports.MDBRipple=ae;exports.MDBRow=Ee;exports.MDBScrollspy=Ft;exports.MDBScrollspyLink=Ht;exports.MDBScrollspySubList=Ot;exports.MDBSpinner=be;exports.MDBSwitch=Wt;exports.MDBTable=bt;exports.MDBTableBody=ht;exports.MDBTableHead=gt;exports.MDBTabs=ze;exports.MDBTabsContent=st;exports.MDBTabsItem=et;exports.MDBTabsLink=tt;exports.MDBTabsPane=at;exports.MDBTextArea=as;exports.MDBTooltip=ft;exports.MDBTypography=Te;exports.MDBValidation=Ze;exports.MDBValidationItem=rs;