(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8050],{94692:function(e){function t(e,t=100,n={}){let r,o,i,a,l;if("function"!=typeof e)throw TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw RangeError("`wait` must not be negative.");let{immediate:s}="boolean"==typeof n?{immediate:n}:n;function c(){let t=r,n=o;return r=void 0,o=void 0,l=e.apply(t,n)}function u(){let e=Date.now()-a;e<t&&e>=0?i=setTimeout(u,t-e):(i=void 0,s||(l=c()))}let d=function(...e){if(r&&this!==r)throw Error("Debounced method called with different contexts.");r=this,o=e,a=Date.now();let n=s&&!i;return i||(i=setTimeout(u,t)),n&&(l=c()),l};return d.clear=()=>{i&&(clearTimeout(i),i=void 0)},d.flush=()=>{i&&d.trigger()},d.trigger=()=>{l=c(),d.clear()},d}e.exports.debounce=t,e.exports=t},38086:function(e,t,n){"use strict";n.d(t,{Wq:function(){return T},ht:function(){return E}});var r='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!o&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,n){void 0===n&&(n=!0);var r,o=null==t?void 0:null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},s=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},c=function(e,t,n){if(l(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&i.call(e,r)&&o.unshift(e),o=o.filter(n)},u=function e(t,n,o){for(var a=[],s=Array.from(t);s.length;){var c=s.shift();if(!l(c,!1)){if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,o);o.flatten?a.push.apply(a,d):a.push({scopeParent:c,candidates:d})}else{i.call(c,r)&&o.filter(c)&&(n||!t.includes(c))&&a.push(c);var f=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),m=!l(f,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(f&&m){var h=e(!0===f?c.children:f.children,!0,o);o.flatten?a.push.apply(a,h):a.push({scopeParent:c,candidates:h})}else s.unshift.apply(s,c.children)}}}return a},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||s(e))&&!d(e)?0:e.tabIndex},m=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n},h=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},v=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},b=function(e){if(!e.name)return!0;var t,n=e.form||a(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=v(t,e.form);return!o||o===e},g=function(e){var t,n,r,o,i,l,s,c=e&&a(e),u=null===(t=c)||void 0===t?void 0:t.host,d=!1;if(c&&c!==e)for(d=!!(null!==(n=u)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(u)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!d&&u;)d=!!(null!==(l=u=null===(i=c=a(u))||void 0===i?void 0:i.host)&&void 0!==l&&null!==(s=l.ownerDocument)&&void 0!==s&&s.contains(u));return d},x=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},w=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return x(e)}else{if("function"==typeof r){for(var l=e;e;){var s=e.parentElement,c=a(e);if(s&&!s.shadowRoot&&!0===r(s))return x(e);e=e.assignedSlot?e.assignedSlot:s||c===e.ownerDocument?s:c.host}e=l}if(g(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},y=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!i.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},N=function(e,t){var n,r,o;return!(p(n=t)&&"radio"===n.type&&!b(n)||0>f(t))&&(r=e,!((o=t).disabled||l(o)||p(o)&&"hidden"===o.type||w(o,r)||"DETAILS"===o.tagName&&Array.prototype.slice.apply(o.children).some(function(e){return"SUMMARY"===e.tagName})||y(o)))},j=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},C=function e(t){var n=[],r=[];return t.forEach(function(t,o){var i=!!t.scopeParent,a=i?t.scopeParent:t,l=m(a,i),s=i?e(t.candidates):a;0===l?i?n.push.apply(n,s):n.push(a):r.push({documentOrder:o,tabIndex:l,item:t,isScope:i,content:s})}),r.sort(h).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},E=function(e,t){return C((t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:N.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:j}):c(e,t.includeContainer,N.bind(null,t)))},T=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,r)&&N(t,e)}},56800:function(e,t){var n;/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}(n)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},8143:function(e,t,n){"use strict";n.d(t,{x7:function(){return k},X5:function(){return C},Me:function(){return N},oo:function(){return S},RR:function(){return T},cv:function(){return j},uY:function(){return E}});var r=n(47848);function o(e,t,n){let o,{reference:i,floating:a}=e,l=(0,r.Qq)(t),s=(0,r.Wh)(t),c=(0,r.I4)(s),u=(0,r.k3)(t),d="y"===l,f=i.x+i.width/2-a.width/2,m=i.y+i.height/2-a.height/2,h=i[c]/2-a[c]/2;switch(u){case"top":o={x:f,y:i.y-a.height};break;case"bottom":o={x:f,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:m};break;case"left":o={x:i.x-a.width,y:m};break;default:o={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":o[s]-=h*(n&&d?-1:1);break;case"end":o[s]+=h*(n&&d?-1:1)}return o}let i=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:l}=n,s=a.filter(Boolean),c=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=o(u,r,c),m=r,h={},p=0;for(let n=0;n<s.length;n++){let{name:a,fn:v}=s[n],{x:b,y:g,data:x,reset:w}=await v({x:d,y:f,initialPlacement:r,placement:m,strategy:i,middlewareData:h,rects:u,platform:l,elements:{reference:e,floating:t}});d=null!=b?b:d,f=null!=g?g:f,h={...h,[a]:{...h[a],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(u=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:d,y:f}=o(u,m,c)),n=-1)}return{x:d,y:f,placement:m,strategy:i,middlewareData:h}};async function a(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:a,rects:l,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=(0,r.ku)(t,e),p=(0,r.yd)(h),v=s[m?"floating"===f?"reference":"floating":f],b=(0,r.JB)(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:c})),g="floating"===f?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),w=await (null==a.isElement?void 0:a.isElement(x))&&await (null==a.getScale?void 0:a.getScale(x))||{x:1,y:1},y=(0,r.JB)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:x,strategy:c}):g);return{top:(b.top-y.top+p.top)/w.y,bottom:(y.bottom-b.bottom+p.bottom)/w.y,left:(b.left-y.left+p.left)/w.x,right:(y.right-b.right+p.right)/w.x}}async function l(e,t){let{placement:n,platform:o,elements:i}=e,a=await (null==o.isRTL?void 0:o.isRTL(i.floating)),l=(0,r.k3)(n),s=(0,r.hp)(n),c="y"===(0,r.Qq)(n),u=["left","top"].includes(l)?-1:1,d=a&&c?-1:1,f=(0,r.ku)(t,e),{mainAxis:m,crossAxis:h,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),c?{x:h*d,y:m*u}:{x:m*u,y:h*d}}var s=n(75224);function c(e){let t=(0,s.Dx)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=(0,s.Re)(e),a=i?e.offsetWidth:n,l=i?e.offsetHeight:o,c=(0,r.NM)(n)!==a||(0,r.NM)(o)!==l;return c&&(n=a,o=l),{width:n,height:o,$:c}}function u(e){return(0,s.kK)(e)?e:e.contextElement}function d(e){let t=u(e);if(!(0,s.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:o,height:i,$:a}=c(t),l=(a?(0,r.NM)(n.width):n.width)/o,d=(a?(0,r.NM)(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),d&&Number.isFinite(d)||(d=1),{x:l,y:d}}let f=(0,r.ze)(0);function m(e){let t=(0,s.Jj)(e);return(0,s.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:f}function h(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let a=e.getBoundingClientRect(),l=u(e),c=(0,r.ze)(1);t&&(o?(0,s.kK)(o)&&(c=d(o)):c=d(e));let f=(void 0===(i=n)&&(i=!1),o&&(!i||o===(0,s.Jj)(l))&&i)?m(l):(0,r.ze)(0),h=(a.left+f.x)/c.x,p=(a.top+f.y)/c.y,v=a.width/c.x,b=a.height/c.y;if(l){let e=(0,s.Jj)(l),t=o&&(0,s.kK)(o)?(0,s.Jj)(o):o,n=e,r=n.frameElement;for(;r&&o&&t!==n;){let e=d(r),t=r.getBoundingClientRect(),o=(0,s.Dx)(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,p*=e.y,v*=e.x,b*=e.y,h+=i,p+=a,r=(n=(0,s.Jj)(r)).frameElement}}return(0,r.JB)({width:v,height:b,x:h,y:p})}function p(e){return h((0,s.tF)(e)).left+(0,s.Lw)(e).scrollLeft}function v(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,s.Jj)(e),r=(0,s.tF)(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;let e=(0,s.Pf)();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}(e,n);else if("document"===t)o=function(e){let t=(0,s.tF)(e),n=(0,s.Lw)(e),o=e.ownerDocument.body,i=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-n.scrollLeft+p(e),c=-n.scrollTop;return"rtl"===(0,s.Dx)(o).direction&&(l+=(0,r.Fp)(t.clientWidth,o.clientWidth)-i),{width:i,height:a,x:l,y:c}}((0,s.tF)(e));else if((0,s.kK)(t))o=function(e,t){let n=h(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,a=(0,s.Re)(e)?d(e):(0,r.ze)(1),l=e.clientWidth*a.x;return{width:l,height:e.clientHeight*a.y,x:i*a.x,y:o*a.y}}(t,n);else{let n=m(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function b(e){return"static"===(0,s.Dx)(e).position}function g(e,t){return(0,s.Re)(e)&&"fixed"!==(0,s.Dx)(e).position?t?t(e):e.offsetParent:null}function x(e,t){let n=(0,s.Jj)(e);if((0,s.tR)(e))return n;if(!(0,s.Re)(e)){let t=(0,s.Ow)(e);for(;t&&!(0,s.Py)(t);){if((0,s.kK)(t)&&!b(t))return t;t=(0,s.Ow)(t)}return n}let r=g(e,t);for(;r&&(0,s.Ze)(r)&&b(r);)r=g(r,t);return r&&(0,s.Py)(r)&&b(r)&&!(0,s.hT)(r)?n:r||(0,s.gQ)(e)||n}let w=async function(e){let t=this.getOffsetParent||x,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=(0,s.Re)(t),i=(0,s.tF)(t),a="fixed"===n,l=h(e,!0,a,t),c={scrollLeft:0,scrollTop:0},u=(0,r.ze)(0);if(o||!o&&!a){if(("body"!==(0,s.wk)(t)||(0,s.ao)(i))&&(c=(0,s.Lw)(t)),o){let e=h(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=p(i))}return{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},y={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,a="fixed"===i,l=(0,s.tF)(o),c=!!t&&(0,s.tR)(t.floating);if(o===l||c&&a)return n;let u={scrollLeft:0,scrollTop:0},f=(0,r.ze)(1),m=(0,r.ze)(0),p=(0,s.Re)(o);if((p||!p&&!a)&&(("body"!==(0,s.wk)(o)||(0,s.ao)(l))&&(u=(0,s.Lw)(o)),(0,s.Re)(o))){let e=h(o);f=d(o),m.x=e.x+o.clientLeft,m.y=e.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+m.x,y:n.y*f.y-u.scrollTop*f.y+m.y}},getDocumentElement:s.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,a=[..."clippingAncestors"===n?(0,s.tR)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,s.Kx)(e,[],!1).filter(e=>(0,s.kK)(e)&&"body"!==(0,s.wk)(e)),o=null,i="fixed"===(0,s.Dx)(e).position,a=i?(0,s.Ow)(e):e;for(;(0,s.kK)(a)&&!(0,s.Py)(a);){let t=(0,s.Dx)(a),n=(0,s.hT)(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,s.ao)(a)&&!n&&function e(t,n){let r=(0,s.Ow)(t);return!(r===n||!(0,s.kK)(r)||(0,s.Py)(r))&&("fixed"===(0,s.Dx)(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=(0,s.Ow)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),o],l=a[0],c=a.reduce((e,n)=>{let o=v(t,n,i);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e},v(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:x,getElementRects:w,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=c(e);return{width:t,height:n}},getScale:d,isElement:s.kK,isRTL:function(e){return"rtl"===(0,s.Dx)(e).direction}};function N(e,t,n,o){let i;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,m=u(e),p=a||l?[...m?(0,s.Kx)(m):[],...(0,s.Kx)(t)]:[];p.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let v=m&&d?function(e,t){let n,o=null,i=(0,s.tF)(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function l(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),a();let{left:u,top:d,width:f,height:m}=e.getBoundingClientRect();if(s||t(),!f||!m)return;let h=(0,r.GW)(d),p=(0,r.GW)(i.clientWidth-(u+f)),v={rootMargin:-h+"px "+-p+"px "+-(0,r.GW)(i.clientHeight-(d+m))+"px "+-(0,r.GW)(u)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,c))||1},b=!0;function g(e){let t=e[0].intersectionRatio;if(t!==c){if(!b)return l();t?l(!1,t):n=setTimeout(()=>{l(!1,1e-7)},1e3)}b=!1}try{o=new IntersectionObserver(g,{...v,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(g,v)}o.observe(e)}(!0),a}(m,n):null,b=-1,g=null;c&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&g&&(g.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),m&&!f&&g.observe(m),g.observe(t));let x=f?h(e):null;return f&&function t(){let r=h(e);x&&(r.x!==x.x||r.y!==x.y||r.width!==x.width||r.height!==x.height)&&n(),x=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{a&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=g)||e.disconnect(),g=null,f&&cancelAnimationFrame(i)}}let j=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:a,middlewareData:s}=t,c=await l(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},C=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i,l;let{rects:s,middlewareData:c,placement:u,platform:d,elements:f}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:p=r.Ct,autoAlignment:v=!0,...b}=(0,r.ku)(e,t),g=void 0!==h||p===r.Ct?((l=h||null)?[...p.filter(e=>(0,r.hp)(e)===l),...p.filter(e=>(0,r.hp)(e)!==l)]:p.filter(e=>(0,r.k3)(e)===e)).filter(e=>!l||(0,r.hp)(e)===l||!!v&&(0,r.Go)(e)!==e):p,x=await a(t,b),w=(null==(n=c.autoPlacement)?void 0:n.index)||0,y=g[w];if(null==y)return{};let N=(0,r.i8)(y,s,await (null==d.isRTL?void 0:d.isRTL(f.floating)));if(u!==y)return{reset:{placement:g[0]}};let j=[x[(0,r.k3)(y)],x[N[0]],x[N[1]]],C=[...(null==(o=c.autoPlacement)?void 0:o.overflows)||[],{placement:y,overflows:j}],E=g[w+1];if(E)return{data:{index:w+1,overflows:C},reset:{placement:E}};let T=C.map(e=>{let t=(0,r.hp)(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),k=(null==(i=T.filter(e=>e[2].slice(0,(0,r.hp)(e[0])?2:3).every(e=>e<=0))[0])?void 0:i[0])||T[0][0];return k!==u?{data:{index:w+1,overflows:C},reset:{placement:k}}:{}}}},E=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r.ku)(e,t),d={x:n,y:o},f=await a(t,u),m=(0,r.Qq)((0,r.k3)(i)),h=(0,r.Rn)(m),p=d[h],v=d[m];if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=p+f[e],o=p-f[t];p=(0,r.uZ)(n,p,o)}if(s){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=v+f[e],o=v-f[t];v=(0,r.uZ)(n,v,o)}let b=c.fn({...t,[h]:p,[m]:v});return{...b,data:{x:b.x-n,y:b.y-o}}}}},T=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,l,s;let{placement:c,middlewareData:u,rects:d,initialPlacement:f,platform:m,elements:h}=t,{mainAxis:p=!0,crossAxis:v=!0,fallbackPlacements:b,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:w=!0,...y}=(0,r.ku)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let N=(0,r.k3)(c),j=(0,r.k3)(f)===f,C=await (null==m.isRTL?void 0:m.isRTL(h.floating)),E=b||(j||!w?[(0,r.pw)(f)]:(0,r.gy)(f));b||"none"===x||E.push(...(0,r.KX)(f,w,x,C));let T=[f,...E],k=await a(t,y),S=[],D=(null==(o=u.flip)?void 0:o.overflows)||[];if(p&&S.push(k[N]),v){let e=(0,r.i8)(c,d,C);S.push(k[e[0]],k[e[1]])}if(D=[...D,{placement:c,overflows:S}],!S.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=T[e];if(t)return{data:{index:e,overflows:D},reset:{placement:t}};let n=null==(l=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(g){case"bestFit":{let e=null==(s=D.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(n=e);break}case"initialPlacement":n=f}if(c!==n)return{reset:{placement:n}}}return{}}}},k=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:a,platform:l,elements:s,middlewareData:c}=t,{element:u,padding:d=0}=(0,r.ku)(e,t)||{};if(null==u)return{};let f=(0,r.yd)(d),m={x:n,y:o},h=(0,r.Wh)(i),p=(0,r.I4)(h),v=await l.getDimensions(u),b="y"===h,g=b?"clientHeight":"clientWidth",x=a.reference[p]+a.reference[h]-m[h]-a.floating[p],w=m[h]-a.reference[h],y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),N=y?y[g]:0;N&&await (null==l.isElement?void 0:l.isElement(y))||(N=s.floating[g]||a.floating[p]);let j=N/2-v[p]/2-1,C=(0,r.VV)(f[b?"top":"left"],j),E=(0,r.VV)(f[b?"bottom":"right"],j),T=N-v[p]-E,k=N/2-v[p]/2+(x/2-w/2),S=(0,r.uZ)(C,k,T),D=!c.arrow&&null!=(0,r.hp)(i)&&k!==S&&a.reference[p]/2-(k<C?C:E)-v[p]/2<0,R=D?k<C?k-C:k-T:0;return{[h]:m[h]+R,data:{[h]:S,centerOffset:k-S-R,...D&&{alignmentOffset:R}},reset:D}}}),S=(e,t,n)=>{let r=new Map,o={platform:y,...n},a={...o.platform,_c:r};return i(e,t,{...o,platform:a})}},94674:function(e,t,n){"use strict";n.d(t,{RR:function(){return p},X5:function(){return v},YF:function(){return d},cv:function(){return m},uY:function(){return h},x7:function(){return b}});var r=n(8143),o=n(2265),i=n(54887),a="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function l(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!l(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!l(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let n=s(e);return Math.round(t*n)/n}function u(e){let t=o.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:m,floating:h}={},transform:p=!0,whileElementsMounted:v,open:b}=e,[g,x]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,y]=o.useState(d);l(w,d)||y(d);let[N,j]=o.useState(null),[C,E]=o.useState(null),T=o.useCallback(e=>{e!==R.current&&(R.current=e,j(e))},[]),k=o.useCallback(e=>{e!==M.current&&(M.current=e,E(e))},[]),S=m||N,D=h||C,R=o.useRef(null),M=o.useRef(null),I=o.useRef(g),P=null!=v,O=u(v),L=u(f),A=o.useCallback(()=>{if(!R.current||!M.current)return;let e={placement:t,strategy:n,middleware:w};L.current&&(e.platform=L.current),(0,r.oo)(R.current,M.current,e).then(e=>{let t={...e,isPositioned:!0};F.current&&!l(I.current,t)&&(I.current=t,i.flushSync(()=>{x(t)}))})},[w,t,n,L]);a(()=>{!1===b&&I.current.isPositioned&&(I.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[b]);let F=o.useRef(!1);a(()=>(F.current=!0,()=>{F.current=!1}),[]),a(()=>{if(S&&(R.current=S),D&&(M.current=D),S&&D){if(O.current)return O.current(S,D,A);A()}},[S,D,A,O,P]);let B=o.useMemo(()=>({reference:R,floating:M,setReference:T,setFloating:k}),[T,k]),W=o.useMemo(()=>({reference:S,floating:D}),[S,D]),Y=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=c(W.floating,g.x),r=c(W.floating,g.y);return p?{...e,transform:"translate("+t+"px, "+r+"px)",...s(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,p,W.floating,g.x,g.y]);return o.useMemo(()=>({...g,update:A,refs:B,elements:W,floatingStyles:Y}),[g,A,B,W,Y])}let f=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:o}).fn(t):{}:n?(0,r.x7)({element:n,padding:o}).fn(t):{}}}),m=(e,t)=>({...(0,r.cv)(e),options:[e,t]}),h=(e,t)=>({...(0,r.uY)(e),options:[e,t]}),p=(e,t)=>({...(0,r.RR)(e),options:[e,t]}),v=(e,t)=>({...(0,r.X5)(e),options:[e,t]}),b=(e,t)=>({...f(e),options:[e,t]})},40600:function(e,t,n){"use strict";n.d(t,{AW:function(){return o},G6:function(){return u},Ie:function(){return y},MM:function(){return h},Me:function(){return v},Pe:function(){return b},U9:function(){return g},V5:function(){return f},Xf:function(){return a},Zj:function(){return s},cr:function(){return c},ex:function(){return p},j7:function(){return x},p7:function(){return w},r:function(){return m},r3:function(){return i}});var r=n(75224);function o(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function i(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function a(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function l(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function s(e){return 0===e.mozInputSource&&!!e.isTrusted||(d()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function c(e){return!l().includes("jsdom/")&&(!d()&&0===e.width&&0===e.height||d()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function u(){return/apple/i.test(navigator.vendor)}function d(){let e=/android/i;return e.test(a())||e.test(l())}function f(){return a().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function m(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function h(e){return"nativeEvent"in e}function p(e){return e.matches("html,body")}function v(e){return(null==e?void 0:e.ownerDocument)||document}function b(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function g(e){return"composedPath"in e?e.composedPath()[0]:e.target}function x(e){return(0,r.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function w(e){e.preventDefault(),e.stopPropagation()}function y(e){return!!e&&"combobox"===e.getAttribute("role")&&x(e)}},75224:function(e,t,n){"use strict";function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof o(e).Node}function l(e){return e instanceof Element||e instanceof o(e).Element}function s(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function u(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function f(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function m(e){let t=p(),n=b(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function h(e){let t=x(e);for(;s(t)&&!v(t)&&!f(t);){if(m(t))return t;t=x(t)}return null}function p(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(r(e))}function b(e){return o(e).getComputedStyle(e)}function g(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function x(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||i(e);return c(t)?t.host:t}n.d(t,{Dx:function(){return b},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let a=function e(t){let n=x(t);return v(n)?t.ownerDocument?t.ownerDocument.body:t.body:s(n)&&u(n)?n:e(n)}(t),l=a===(null==(i=t.ownerDocument)?void 0:i.body),c=o(a);return l?n.concat(c,c.visualViewport||[],u(a)?a:[],c.frameElement&&r?e(c.frameElement):[]):n.concat(a,e(a,[],r))}},Lw:function(){return g},Ow:function(){return x},Pf:function(){return p},Py:function(){return v},Re:function(){return s},Ze:function(){return d},Zq:function(){return c},ao:function(){return u},gQ:function(){return h},hT:function(){return m},kK:function(){return l},tF:function(){return i},tR:function(){return f},wk:function(){return r}})},47848:function(e,t,n){"use strict";n.d(t,{Ct:function(){return r},Fp:function(){return i},GW:function(){return l},Go:function(){return y},I4:function(){return v},JB:function(){return E},KX:function(){return N},NM:function(){return a},Qq:function(){return b},Rn:function(){return p},VV:function(){return o},Wh:function(){return g},gy:function(){return w},hp:function(){return h},i8:function(){return x},k3:function(){return m},ku:function(){return f},pw:function(){return j},uZ:function(){return d},yd:function(){return C},ze:function(){return s}});let r=["top","right","bottom","left"].reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,i=Math.max,a=Math.round,l=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(e,t,n){return i(e,o(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function b(e){return["top","bottom"].includes(m(e))?"y":"x"}function g(e){return p(b(e))}function x(e,t,n){void 0===n&&(n=!1);let r=h(e),o=g(e),i=v(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=j(a)),[a,j(a)]}function w(e){let t=j(e);return[y(e),t,y(t)]}function y(e){return e.replace(/start|end/g,e=>u[e])}function N(e,t,n,r){let o=h(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(m(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}function j(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function C(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}},58137:function(e,t,n){"use strict";n.d(t,{Accordion:function(){return m}});var r=n(57437),o=n(2265),i=n(54008),a=n(96164),l=n(77639),s=n(47373),c=n(41741),u=n(21553),d=n(79068);let f=e=>{let{alwaysOpen:t=!1,arrowIcon:n=i.kWQ,children:c,flush:u=!1,collapseAll:d=!1,className:f,theme:m={},...h}=e,[p,v]=(0,o.useState)(d?-1:0),b=(0,o.useMemo)(()=>o.Children.map(c,(e,r)=>(0,o.cloneElement)(e,{alwaysOpen:t,arrowIcon:n,flush:u,isOpen:p===r,setOpen:()=>v(p===r?-1:r)})),[t,n,c,u,p]),g=(0,l.E)((0,s.gh)().accordion.root,m);return(0,r.jsx)("div",{className:(0,a.m6)(g.base,g.flush[u?"on":"off"],f),"data-testid":"flowbite-accordion",...h,children:b})};f.displayName="Accordion",u.AccordionPanel.displayName="Accordion.Panel",d.AccordionTitle.displayName="Accordion.Title",c.AccordionContent.displayName="Accordion.Content";let m=Object.assign(f,{Panel:u.AccordionPanel,Title:d.AccordionTitle,Content:c.AccordionContent})},41741:function(e,t,n){"use strict";n.d(t,{AccordionContent:function(){return s}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373),l=n(65178);let s=e=>{let{children:t,className:n,theme:s={},...c}=e,{isOpen:u}=(0,l.E)(),d=(0,i.E)((0,a.gh)().accordion.content,s);return(0,r.jsx)("div",{className:(0,o.m6)(d.base,n),"data-testid":"flowbite-accordion-content",hidden:!u,...c,children:t})}},21553:function(e,t,n){"use strict";n.d(t,{AccordionPanel:function(){return a}});var r=n(57437),o=n(2265),i=n(65178);let a=e=>{let{children:t,...n}=e,{alwaysOpen:a}=n,[l,s]=(0,o.useState)(n.isOpen),c=a?{...n,isOpen:l,setOpen:()=>s(!l)}:n;return(0,r.jsx)(i.p.Provider,{value:c,children:t})}},65178:function(e,t,n){"use strict";n.d(t,{E:function(){return i},p:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useAccordionContext should be used within the AccordionPanelContext provider!");return e}},79068:function(e,t,n){"use strict";n.d(t,{AccordionTitle:function(){return s}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373),l=n(65178);let s=e=>{let{as:t="h2",children:n,className:s,theme:c={},...u}=e,{arrowIcon:d,flush:f,isOpen:m,setOpen:h}=(0,l.E)(),p=(0,i.E)((0,a.gh)().accordion.title,c);return(0,r.jsxs)("button",{className:(0,o.m6)(p.base,p.flush[f?"on":"off"],p.open[m?"on":"off"],s),onClick:()=>void 0!==h&&h(),type:"button",...u,children:[(0,r.jsx)(t,{className:p.heading,"data-testid":"flowbite-accordion-heading",children:n}),d&&(0,r.jsx)(d,{"aria-hidden":!0,className:(0,o.m6)(p.arrow.base,p.arrow.open[m?"on":"off"]),"data-testid":"flowbite-accordion-arrow"})]})}},13221:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373);let l=({children:e,color:t="info",href:n,icon:l,size:s="xs",className:c,theme:u={},...d})=>{let f=(0,i.E)((0,a.gh)().badge,u),m=()=>(0,r.jsxs)("span",{className:(0,o.m6)(f.root.base,f.root.color[t],f.root.size[s],f.icon[l?"on":"off"],c),"data-testid":"flowbite-badge",...d,children:[l&&(0,r.jsx)(l,{"aria-hidden":!0,className:f.icon.size[s],"data-testid":"flowbite-badge-icon"}),e&&(0,r.jsx)("span",{children:e})]});return n?(0,r.jsx)("a",{className:f.root.href,href:n,children:(0,r.jsx)(m,{})}):(0,r.jsx)(m,{})};l.displayName="Badge"},55524:function(e,t,n){"use strict";n.r(t),n.d(t,{BannerCollapseButton:function(){return i}});var r=n(57437),o=n(67849);n(74442);let i=e=>{let{children:t,...n}=e;return(0,r.jsx)(o.z,{onClick:e=>{let t=e.target.closest('[role="banner"]');null==t||t.remove()},...n,children:t})};i.displayName="Banner.CollapseButton"},67849:function(e,t,n){"use strict";n.d(t,{z:function(){return f}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(1990),c=n(10089),u=n(74442);let d=(0,o.forwardRef)(({children:e,className:t,color:n="info",disabled:o,fullSized:u,isProcessing:d=!1,processingLabel:f="Loading...",processingSpinner:m,gradientDuoTone:h,gradientMonochrome:p,label:v,outline:b=!1,pill:g=!1,positionInGroup:x="none",size:w="md",theme:y={},...N},j)=>{let{buttonGroup:C,button:E}=(0,l.gh)(),T=(0,a.E)(E,y);return(0,r.jsx)(c.X,{ref:j,disabled:o,className:(0,i.m6)(T.base,o&&T.disabled,!h&&!p&&T.color[n],h&&!p&&T.gradientDuoTone[h],!h&&p&&T.gradient[p],b&&(T.outline.color[n]??T.outline.color.default),T.pill[g?"on":"off"],u&&T.fullSized,C.position[x],t),...N,children:(0,r.jsx)("span",{className:(0,i.m6)(T.inner.base,T.outline[b?"on":"off"],T.outline.pill[b&&g?"on":"off"],T.size[w],b&&!T.outline.color[n]&&T.inner.outline,d&&T.isProcessing,d&&T.inner.isProcessingPadding[w],T.inner.position[x]),children:(0,r.jsxs)(r.Fragment,{children:[d&&(0,r.jsx)("span",{className:(0,i.m6)(T.spinnerSlot,T.spinnerLeftPosition[w]),children:m||(0,r.jsx)(s.$,{size:w})}),void 0!==e?e:(0,r.jsx)("span",{"data-testid":"flowbite-button-label",className:(0,i.m6)(T.label),children:d?f:v})]})})})});d.displayName="Button";let f=Object.assign(d,{Group:u.h})},10089:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(2265);let o=(0,r.forwardRef)(({children:e,as:t,href:n,type:o="button",...i},a)=>(0,r.createElement)(t||(n?"a":"button"),{ref:a,href:n,type:o,...i},e));o.displayName="ButtonBaseComponent"},74442:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(67849);let c=(e,t,n)=>o.Children.map(e,(r,i)=>{if((0,o.isValidElement)(r)){let a=r.type==s.z?{positionInGroup:u(i,o.Children.count(e))}:{};return r.props.children?(0,o.cloneElement)(r,{...r.props,children:c(r.props.children,t,n),...a}):(0,o.cloneElement)(r,{outline:t,pill:n,...a})}return r}),u=(e,t)=>0===e?"start":e===t-1?"end":"middle",d=({children:e,className:t,outline:n,pill:s,theme:u={},...d})=>{let f=(0,o.useMemo)(()=>c(e,n,s),[e,n,s]),m=(0,a.E)((0,l.gh)().buttonGroup,u);return(0,r.jsx)("div",{className:(0,i.m6)(m.base,t),role:"group",...d,children:f})};d.displayName="Button.Group"},46478:function(e,t,n){"use strict";n.d(t,{Carousel:function(){return v}});var r=n(57437),o=n(2265),i=n(54008),a=n(96164),l=n(56800),s=n(94692),c=Object.defineProperty,u=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t,n)=>u(e,"symbol"!=typeof t?t+"":t,n);class f extends o.PureComponent{constructor(e){super(e),d(this,"container"),d(this,"scrolling"),d(this,"started"),d(this,"pressed"),d(this,"isMobile",!1),d(this,"internal"),d(this,"scrollLeft"),d(this,"scrollTop"),d(this,"clientX"),d(this,"clientY"),d(this,"onEndScroll",()=>{this.scrolling=!1,!this.pressed&&this.started&&this.processEnd()}),d(this,"onScroll",()=>{let e=this.container.current;(e.scrollLeft!==this.scrollLeft||e.scrollTop!==this.scrollTop)&&(this.scrolling=!0,this.processScroll(),this.onEndScroll())}),d(this,"onTouchStart",e=>{let{nativeMobileScroll:t}=this.props;if(this.isDraggable(e.target)){if(this.internal=!0,t&&this.scrolling)this.pressed=!0;else{let n=e.touches[0];this.processClick(n.clientX,n.clientY),!t&&this.props.stopPropagation&&e.stopPropagation()}}}),d(this,"onTouchEnd",()=>{let{nativeMobileScroll:e}=this.props;this.pressed&&(!this.started||this.scrolling&&e?this.pressed=!1:this.processEnd(),this.forceUpdate())}),d(this,"onTouchMove",e=>{let{nativeMobileScroll:t}=this.props;if(this.pressed&&(!t||!this.isMobile)){let t=e.touches[0];t&&this.processMove(t.clientX,t.clientY),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation()}}),d(this,"onMouseDown",e=>{this.isDraggable(e.target)&&this.isScrollable()&&(this.internal=!0,this.props?.buttons?.indexOf(e.button)!==-1&&(this.processClick(e.clientX,e.clientY),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation()))}),d(this,"onMouseMove",e=>{this.pressed&&(this.processMove(e.clientX,e.clientY),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation())}),d(this,"onMouseUp",e=>{this.pressed&&(this.started?this.processEnd():(this.internal=!1,this.pressed=!1,this.forceUpdate(),this.props.onClick&&this.props.onClick(e)),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation())}),this.container=o.createRef(),this.onEndScroll=s(this.onEndScroll,300),this.scrolling=!1,this.started=!1,this.pressed=!1,this.internal=!1,this.getRef=this.getRef.bind(this)}componentDidMount(){let{nativeMobileScroll:e}=this.props,t=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),t.addEventListener("touchstart",this.onTouchStart,{passive:!1}),t.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())}componentWillUnmount(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)}getElement(){return this.container.current}isMobileDevice(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")}isDraggable(e){let t=this.props.ignoreElements;if(!t)return!0;{let n=e.closest(t);return null===n||n.contains(this.getElement())}}isScrollable(){let e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)}processClick(e,t){let n=this.container.current;this.scrollLeft=n?.scrollLeft,this.scrollTop=n?.scrollTop,this.clientX=e,this.clientY=t,this.pressed=!0}processStart(e=!0){let{onStartScroll:t}=this.props;this.started=!0,e&&document.body.classList.add("cursor-grab"),t&&t({external:!this.internal}),this.forceUpdate()}processScroll(){if(this.started){let{onScroll:e}=this.props;e&&e({external:!this.internal})}else this.processStart(!1)}processMove(e,t){let{horizontal:n,vertical:r,activationDistance:o,onScroll:i}=this.props,a=this.container.current;this.started?(n&&(a.scrollLeft-=e-this.clientX),r&&(a.scrollTop-=t-this.clientY),i&&i({external:!this.internal}),this.clientX=e,this.clientY=t,this.scrollLeft=a.scrollLeft,this.scrollTop=a.scrollTop):(n&&Math.abs(e-this.clientX)>o||r&&Math.abs(t-this.clientY)>o)&&(this.clientX=e,this.clientY=t,this.processStart())}processEnd(){let{onEndScroll:e}=this.props;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("cursor-grab"),this.forceUpdate()}getRef(e){[this.container,this.props.innerRef].forEach(t=>{t&&("function"==typeof t?t(e):t.current=e)})}render(){let{children:e,draggingClassName:t,className:n,style:o,hideScrollbars:i}=this.props;return(0,r.jsx)("div",{className:l(n,this.pressed&&t,{"!scroll-auto [&>*]:pointer-events-none [&>*]:cursor-grab":this.pressed,"overflow-auto":this.isMobile,"overflow-hidden !overflow-x-hidden [overflow:-moz-scrollbars-none] [scrollbar-width:none]":i,"[&::-webkit-scrollbar]:[-webkit-appearance:none !important] [&::-webkit-scrollbar]:!hidden [&::-webkit-scrollbar]:!h-0 [&::-webkit-scrollbar]:!w-0 [&::-webkit-scrollbar]:!bg-transparent":i}),style:o,ref:this.getRef,onScroll:this.onScroll,children:e})}}d(f,"defaultProps",{nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},buttons:[0]});var m=n(40477),h=n(77639),p=n(47373);let v=e=>{let{children:t,indicators:n=!0,leftControl:i,rightControl:l,slide:s=!0,draggable:c=!0,slideInterval:u,className:d,theme:v={},onSlideChange:x=null,pauseOnHover:w=!1,...y}=e,N=(0,h.E)((0,p.gh)().carousel,v),j=(0,m.C)()&&-1!==navigator.userAgent.indexOf("IEMobile"),C=(0,o.useRef)(null),[E,T]=(0,o.useState)(0),[k,S]=(0,o.useState)(!1),[D,R]=(0,o.useState)(!1),M=(0,o.useRef)(!1),I=(0,o.useMemo)(()=>o.Children.map(t,e=>(0,o.cloneElement)(e,{className:(0,a.m6)(N.item.base,e.props.className)})),[t,N.item.base]),P=(0,o.useCallback)(e=>()=>{I&&(e=(e+I.length)%I.length,C.current&&(C.current.scrollLeft=C.current.clientWidth*e),T(e))},[I]);(0,o.useEffect)(()=>{C.current&&!k&&0!==C.current.scrollLeft&&T(Math.round(C.current.scrollLeft/C.current.clientWidth))},[k]),(0,o.useEffect)(()=>{if(s&&!(w&&D)){let e=setInterval(()=>!k&&P(E+1)(),null!=u?u:3e3);return()=>clearInterval(e)}},[E,k,P,s,u,w,D]),(0,o.useEffect)(()=>{M.current?x&&x(E):M.current=!0},[x,E]);let O=e=>()=>S(e),L=(0,o.useCallback)(()=>R(!0),[R]),A=(0,o.useCallback)(()=>R(!1),[R]);return(0,r.jsxs)("div",{className:(0,a.m6)(N.root.base,d),"data-testid":"carousel",onMouseEnter:L,onMouseLeave:A,onTouchStart:L,onTouchEnd:A,...y,children:[(0,r.jsx)(f,{className:(0,a.m6)(N.scrollContainer.base,(j||!k)&&N.scrollContainer.snap),draggingClassName:"cursor-grab",innerRef:C,onEndScroll:O(!1),onStartScroll:O(c),vertical:!1,horizontal:c,children:null==I?void 0:I.map((e,t)=>(0,r.jsx)("div",{className:N.item.wrapper[c?"on":"off"],"data-active":E===t,"data-testid":"carousel-item",children:e},t))}),n&&(0,r.jsx)("div",{className:N.indicators.wrapper,children:null==I?void 0:I.map((e,t)=>(0,r.jsx)("button",{className:(0,a.m6)(N.indicators.base,N.indicators.active[t===E?"on":"off"]),onClick:P(t),"data-testid":"carousel-indicator","aria-label":"Slide ".concat(t+1)},t))}),I&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:N.root.leftControl,children:(0,r.jsx)("button",{className:"group","data-testid":"carousel-left-control",onClick:P(E-1),type:"button","aria-label":"Previous slide",children:i||(0,r.jsx)(b,{theme:v})})}),(0,r.jsx)("div",{className:N.root.rightControl,children:(0,r.jsx)("button",{className:"group","data-testid":"carousel-right-control",onClick:P(E+1),type:"button","aria-label":"Next slide",children:l||(0,r.jsx)(g,{theme:v})})})]})]})},b=e=>{let{theme:t={}}=e,n=(0,h.E)((0,p.gh)().carousel,t);return(0,r.jsx)("span",{className:n.control.base,children:(0,r.jsx)(i.PSe,{className:n.control.icon})})},g=e=>{let{theme:t={}}=e,n=(0,h.E)((0,p.gh)().carousel,t);return(0,r.jsx)("span",{className:n.control.base,children:(0,r.jsx)(i.yoF,{className:n.control.icon})})};v.displayName="Carousel"},49072:function(e,t,n){"use strict";n.d(t,{Clipboard:function(){return m}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(19617),c=n(83333),u=n(23479),d=n(77787);let f=(0,o.forwardRef)((e,t)=>{let{className:n,valueToCopy:c,label:u,theme:f={},...m}=e,[h,p]=(0,o.useState)(!1),v=(0,a.E)((0,l.gh)().clipboard.button,f);return(0,r.jsx)(s.u,{content:h?"Copied":"Copy to clipboard",className:"[&_*]:cursor-pointer",children:(0,r.jsx)("button",{className:(0,i.m6)(v.base,n),onClick:()=>(0,d.v)(c,p),...m,ref:t,children:(0,r.jsx)("span",{className:v.label,children:u})})})});f.displayName="Clipboard",c.ClipboardWithIcon.displayName="Clipboard.WithIcon",u.ClipboardWithIconText.displayName="Clipboard.WithIconText";let m=Object.assign(f,{WithIcon:c.ClipboardWithIcon,WithIconText:u.ClipboardWithIconText})},83333:function(e,t,n){"use strict";n.d(t,{ClipboardWithIcon:function(){return u}});var r=n(57437),o=n(2265),i=n(63872),a=n(96164),l=n(77639),s=n(47373),c=n(77787);let u=(0,o.forwardRef)((e,t)=>{let{valueToCopy:n,icon:u=i.W95,theme:d={},className:f,...m}=e,[h,p]=(0,o.useState)(!1),v=(0,l.E)((0,s.gh)().clipboard.withIcon,d);return(0,r.jsx)("button",{className:(0,a.m6)(v.base,f),onClick:()=>(0,c.v)(n,p),...m,ref:t,children:h?(0,r.jsx)(i.l_A,{"aria-hidden":!0,className:v.icon.successIcon}):(0,r.jsx)(u,{"aria-hidden":!0,className:v.icon.defaultIcon})})})},23479:function(e,t,n){"use strict";n.d(t,{ClipboardWithIconText:function(){return u}});var r=n(57437),o=n(2265),i=n(63872),a=n(96164),l=n(77639),s=n(47373),c=n(77787);let u=(0,o.forwardRef)((e,t)=>{let{valueToCopy:n,icon:u=i.W95,label:d="Copy",theme:f={},className:m,...h}=e,[p,v]=(0,o.useState)(!1),b=(0,l.E)((0,s.gh)().clipboard.withIconText,f);return(0,r.jsx)("button",{className:(0,a.m6)(b.base,m),onClick:()=>(0,c.v)(n,v),...h,ref:t,children:p?(0,r.jsxs)("span",{className:b.label.base,children:[(0,r.jsx)(i.l_A,{"aria-hidden":!0,className:b.icon.successIcon}),(0,r.jsx)("span",{className:b.label.successText,children:"Copied"})]}):(0,r.jsxs)("span",{className:b.label.base,children:[(0,r.jsx)(u,{"aria-hidden":!0,className:b.icon.defaultIcon}),(0,r.jsx)("span",{className:b.label.defaultText,children:d})]})})})},77787:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});let r=(e,t)=>{t(!0),navigator?.clipboard?.writeText(e).then(()=>{console.log("Copy Successfull")}).catch(e=>{console.error("Failed to Copy text: ",e),t(!1)}),setTimeout(()=>t(!1),4e3)}},31760:function(e,t,n){"use strict";n.d(t,{DarkThemeToggle:function(){return u}});var r=n(57437),o=n(54008),i=n(96164),a=n(77639),l=n(2265),s=n(63184),c=n(47373);let u=e=>{let{className:t,theme:n={},iconDark:u=o.q4P,iconLight:d=o.Lac,...f}=e,m=function(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>t(!0),[]),e}(),{computedMode:h,toggleMode:p}=(0,s.useThemeMode)(),v=(0,a.E)((0,c.gh)().darkThemeToggle,n);return(0,r.jsxs)("button",{type:"button","aria-label":"Toggle dark mode","data-testid":"dark-theme-toggle",className:(0,i.m6)(v.root.base,t),onClick:p,...f,children:[(0,r.jsx)(u,{"aria-label":"Currently dark mode","data-active":m&&"dark"===h,className:(0,i.m6)(v.root.icon,"hidden dark:block")}),(0,r.jsx)(d,{"aria-label":"Currently light mode","data-active":m&&"light"===h,className:(0,i.m6)(v.root.icon,"dark:hidden")})]})};u.displayName="DarkThemeToggle"},66819:function(e,t,n){"use strict";n.d(t,{Datepicker:function(){return b}});var r=n(57437),o=n(2265),i=n(54008),a=n(96164),l=n(77639),s=n(47373),c=n(63800);let u=(0,o.createContext)(void 0);function d(){let e=(0,o.useContext)(u);if(!e)throw Error("useDatePickerContext should be used within the DatePickerContext provider!");return e}var f=n(96447);let m=({theme:e={}})=>{let{theme:t,weekStart:n,minDate:o,maxDate:i,viewDate:s,selectedDate:c,changeSelectedDate:u,language:m}=d(),h=(0,l.E)(t.views.days,e),p=(0,f.tu)(m,n),v=(0,f.Q_)(s,n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:h.header.base,children:p.map((e,t)=>(0,r.jsx)("span",{className:h.header.title,children:e},t))}),(0,r.jsx)("div",{className:h.items.base,children:[...Array(42)].map((e,t)=>{let n=(0,f.E4)(v,t),l=(0,f.L0)(m,n,{day:"numeric"}),s=(0,f.SP)(c,n),d=!(0,f.ZQ)(n,o,i);return(0,r.jsx)("button",{disabled:d,type:"button",className:(0,a.m6)(h.items.item.base,s&&h.items.item.selected,d&&h.items.item.disabled),onClick:()=>{d||u(n,!0)},children:l},t)})})]})},h=({theme:e={}})=>{let{theme:t,selectedDate:n,viewDate:o,setViewDate:i,setView:s}=d(),c=(0,l.E)(t.views.decades,e);return(0,r.jsx)("div",{className:c.items.base,children:[...Array(12)].map((e,t)=>{let l=(0,f.ak)(o,100)-10+10*t,u=new Date(l,0,1),d=(0,f.Bc)(u,9),m=(0,f.JN)(o,l),h=!(0,f.ZQ)(o,u,d);return(0,r.jsx)("button",{disabled:h,type:"button",className:(0,a.m6)(c.items.item.base,m&&c.items.item.selected,h&&c.items.item.disabled),onClick:()=>{h||(i((0,f.Bc)(o,l-n.getFullYear())),s(f.kO.Years))},children:l},t)})})},p=({theme:e={}})=>{let{theme:t,minDate:n,maxDate:o,selectedDate:i,viewDate:s,language:c,setViewDate:u,setView:m}=d(),h=(0,l.E)(t.views.months,e);return(0,r.jsx)("div",{className:h.items.base,children:[...Array(12)].map((e,t)=>{let l=new Date(s.getTime());l.setMonth(t);let d=(0,f.L0)(c,l,{month:"short"}),p=(0,f.SP)(i,l),v=!(0,f.ZQ)(l,n,o);return(0,r.jsx)("button",{disabled:v,type:"button",className:(0,a.m6)(h.items.item.base,p&&h.items.item.selected,v&&h.items.item.disabled),onClick:()=>{v||(u(l),m(f.kO.Days))},children:d},t)})})},v=e=>{let{theme:t={}}=e,{theme:n,selectedDate:o,minDate:i,maxDate:s,viewDate:c,setViewDate:u,setView:m}=d(),h=(0,l.E)(n.views.years,t);return(0,r.jsx)("div",{className:h.items.base,children:[...Array(12)].map((e,t)=>{let n=(0,f.ak)(c,10)-1+1*t,l=new Date(c.getTime());l.setFullYear(n);let d=(0,f.SP)(o,l),p=!(0,f.ZQ)(l,i,s);return(0,r.jsx)("button",{disabled:p,type:"button",className:(0,a.m6)(h.items.item.base,d&&h.items.item.selected,p&&h.items.item.disabled),onClick:()=>{p||(u(l),m(f.kO.Months))},children:n},t)})})},b=(0,o.forwardRef)((e,t)=>{let{title:n,open:d,inline:b=!1,autoHide:g=!0,showClearButton:x=!0,labelClearButton:w="Clear",showTodayButton:y=!0,labelTodayButton:N="Today",defaultDate:j=new Date,minDate:C,maxDate:E,language:T="en",weekStart:k=f.L8.Sunday,className:S,theme:D={},onSelectedDateChanged:R,...M}=e,I=(0,l.E)((0,s.gh)().datepicker,D);j=(0,f.Vo)(j,C,E);let[P,O]=(0,o.useState)(d),[L,A]=(0,o.useState)(f.kO.Days),[F,B]=(0,o.useState)(j),[W,Y]=(0,o.useState)(j),z=(0,o.useRef)(null),H=(0,o.useRef)(null),V=(e,t)=>{B(e),R&&R(e),g&&L===f.kO.Days&&!0==t&&!b&&O(!1)},q=()=>{V(j,!0),j&&Y(j)};(0,o.useImperativeHandle)(t,()=>({focus(){var e;null===(e=z.current)||void 0===e||e.focus()},clear(){q()}}));let X=()=>{switch(L){case f.kO.Days:return f.kO.Months;case f.kO.Months:return f.kO.Years;case f.kO.Years:return f.kO.Decades}return L},K=(e,t,n)=>{switch(e){case f.kO.Days:return new Date((0,f.zI)(t,n));case f.kO.Months:return new Date((0,f.Bc)(t,n));case f.kO.Years:return new Date((0,f.Bc)(t,10*n));case f.kO.Decades:return new Date((0,f.Bc)(t,100*n));default:return new Date((0,f.Bc)(t,10*n))}};return(0,o.useEffect)(()=>{let e=e=>{var t,n;let r=null==H?void 0:null===(t=H.current)||void 0===t?void 0:t.contains(e.target),o=null==z?void 0:null===(n=z.current)||void 0===n?void 0:n.contains(e.target);r||o||O(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[z,H,O]),(0,r.jsx)(u.Provider,{value:{theme:I,language:T,minDate:C,maxDate:E,weekStart:k,isOpen:P,setIsOpen:O,view:L,setView:A,viewDate:W,setViewDate:Y,selectedDate:F,setSelectedDate:B,changeSelectedDate:V},children:(0,r.jsxs)("div",{className:(0,a.m6)(I.root.base,S),children:[!b&&(0,r.jsx)(c.o,{theme:I.root.input,icon:i.IAP,ref:z,onFocus:()=>{(0,f.SP)(W,F)||Y(F),O(!0)},value:F&&(0,f.L0)(T,F),readOnly:!0,...M}),(P||b)&&(0,r.jsx)("div",{ref:H,className:(0,a.m6)(I.popup.root.base,b&&I.popup.root.inline),children:(0,r.jsxs)("div",{className:I.popup.root.inner,children:[(0,r.jsxs)("div",{className:I.popup.header.base,children:[n&&(0,r.jsx)("div",{className:I.popup.header.title,children:n}),(0,r.jsxs)("div",{className:I.popup.header.selectors.base,children:[(0,r.jsx)("button",{type:"button",className:(0,a.m6)(I.popup.header.selectors.button.base,I.popup.header.selectors.button.prev),onClick:()=>Y(K(L,W,-1)),children:(0,r.jsx)(i.jTe,{})}),(0,r.jsx)("button",{type:"button",className:(0,a.m6)(I.popup.header.selectors.button.base,I.popup.header.selectors.button.view),onClick:()=>A(X()),children:(()=>{switch(L){case f.kO.Decades:return"".concat((0,f.ak)(W,100)," - ").concat((0,f.ak)(W,100)+90);case f.kO.Years:return"".concat((0,f.ak)(W,10)," - ").concat((0,f.ak)(W,10)+9);case f.kO.Months:return(0,f.L0)(T,W,{year:"numeric"});case f.kO.Days:default:return(0,f.L0)(T,W,{month:"long",year:"numeric"})}})()}),(0,r.jsx)("button",{type:"button",className:(0,a.m6)(I.popup.header.selectors.button.base,I.popup.header.selectors.button.next),onClick:()=>Y(K(L,W,1)),children:(0,r.jsx)(i.WY3,{})})]})]}),(0,r.jsx)("div",{className:I.popup.view.base,children:(e=>{switch(e){case f.kO.Decades:return(0,r.jsx)(h,{theme:I.views.decades});case f.kO.Years:return(0,r.jsx)(v,{theme:I.views.years});case f.kO.Months:return(0,r.jsx)(p,{theme:I.views.months});case f.kO.Days:default:return(0,r.jsx)(m,{theme:I.views.days})}})(L)}),(x||y)&&(0,r.jsxs)("div",{className:I.popup.footer.base,children:[y&&(0,r.jsx)("button",{type:"button",className:(0,a.m6)(I.popup.footer.button.base,I.popup.footer.button.today),onClick:()=>{let e=new Date;V(e,!0),Y(e)},children:N}),x&&(0,r.jsx)("button",{type:"button",className:(0,a.m6)(I.popup.footer.button.base,I.popup.footer.button.clear),onClick:()=>{V(j,!0),j&&Y(j)},children:w})]})]})})]})})});b.displayName="Datepicker"},96447:function(e,t,n){"use strict";n.d(t,{Bc:function(){return h},E4:function(){return f},JN:function(){return b},L0:function(){return p},L8:function(){return a},Q_:function(){return u},SP:function(){return s},Vo:function(){return c},ZQ:function(){return l},ak:function(){return v},kO:function(){return i},tu:function(){return d},zI:function(){return m}});var r,o,i=((r=i||{})[r.Days=0]="Days",r[r.Months=1]="Months",r[r.Years=2]="Years",r[r.Decades=3]="Decades",r),a=((o=a||{})[o.Sunday=0]="Sunday",o[o.Monday=1]="Monday",o[o.Tuesday=2]="Tuesday",o[o.Wednesday=3]="Wednesday",o[o.Thursday=4]="Thursday",o[o.Friday=5]="Friday",o[o.Saturday=6]="Saturday",o);let l=(e,t,n)=>{let r=new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();if(t&&n){let e=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),o=new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime();return r>=e&&r<=o}return t?r>=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime():!n||r<=new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime()},s=(e,t)=>(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()),t=new Date(t.getFullYear(),t.getMonth(),t.getDate()),e.getTime()===t.getTime()),c=(e,t,n)=>(!l(e,t,n)&&(t&&e<t?e=t:n&&e>n&&(e=n)),e),u=(e,t)=>{let n=new Date(e.getFullYear(),e.getMonth(),1),r=n.getDay()-t;return r<0&&(r+=7),f(n,-r)},d=(e,t)=>{let n=[],r=new Date(0);r.setDate(r.getDate()-r.getDay()+t);let o=new Intl.DateTimeFormat(e,{weekday:"short"});for(let e=0;e<7;e++)n.push(o.format(f(r,e)));return n},f=(e,t)=>{let n=new Date(e);return n.setDate(n.getDate()+t),n},m=(e,t)=>{let n=new Date(e);return n.setMonth(n.getMonth()+t),n},h=(e,t)=>{let n=new Date(e);return n.setFullYear(n.getFullYear()+t),n},p=(e,t,n)=>{let r={day:"numeric",month:"long",year:"numeric"};return n&&(r=n),new Intl.DateTimeFormat(e,r).format(t)},v=(e,t)=>Math.floor(e.getFullYear()/t)*t,b=(e,t)=>{let n=e.getFullYear();return n>=t&&n<=t+9}},48995:function(e,t,n){"use strict";n.d(t,{Drawer:function(){return f}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(58414),c=n(21869),u=n(60467);let d=e=>{let{backdrop:t=!0,children:n,className:c,edge:u=!1,position:d="left",onClose:f,open:m=!1,theme:h={},...p}=e,v=(0,o.useId)(),b=(0,a.E)((0,l.gh)().drawer,h);return(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&m&&f&&f()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[f,m]),(0,r.jsxs)(s.r.Provider,{value:{theme:b,onClose:f,isOpen:m,id:v},children:[(0,r.jsx)("div",{"aria-modal":!0,"aria-describedby":"drawer-dialog-".concat(v),role:"dialog",tabIndex:-1,"data-testid":"flowbite-drawer",className:(0,i.m6)(b.root.base,b.root.position[d][m?"on":"off"],u&&!m&&b.root.edge,c),...p,children:n}),m&&t&&(0,r.jsx)("div",{onClick:()=>f(),className:b.root.backdrop})]})};d.displayName="Drawer";let f=Object.assign(d,{Header:c.DrawerHeader,Items:u.DrawerItems})},58414:function(e,t,n){"use strict";n.d(t,{M:function(){return i},r:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useDrawerContext should be used within the DrawerContext provider!");return e}},21869:function(e,t,n){"use strict";n.d(t,{DrawerHeader:function(){return s}});var r=n(57437),o=n(2265),i=n(16356),a=n(77639),l=n(58414);let s=e=>{let{children:t,className:n,closeIcon:s=i.FU5,theme:c={},title:u,titleIcon:d=i.bH4,...f}=e,m=(0,o.useId)(),{id:h,isOpen:p,onClose:v,theme:b}=(0,l.M)(),g=(0,a.E)(b.header,c);return(0,r.jsxs)("div",{className:n,...f,children:[(0,r.jsxs)("h5",{className:g.inner.titleText,id:h,children:[(0,r.jsx)(d,{"aria-hidden":!0,className:g.inner.titleIcon}),u]}),(0,r.jsxs)("button",{onClick:v,"data-testid":"close-drawer",className:g.inner.closeButton,children:[(0,r.jsx)(s,{"aria-hidden":!0,className:g.inner.closeIcon}),(0,r.jsx)("span",{className:"sr-only",children:"Close menu"})]}),(0,r.jsx)("span",{className:g.collapsed[p?"on":"off"],id:"flowbite-drawer-header-".concat(m),children:t})]})};s.displayName="Drawer.Header"},60467:function(e,t,n){"use strict";n.d(t,{DrawerItems:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(58414);let l=e=>{let{children:t,className:n,theme:l={},...s}=e,{theme:c}=(0,a.M)(),u=(0,i.E)(c.items,l);return(0,r.jsx)("div",{"data-testid":"flowbite-drawer-items",className:(0,o.m6)(u.base,n),...s,children:t})};l.displayName="Drawer.Items"},97116:function(e,t,n){"use strict";n.d(t,{Dropdown:function(){return x}});var r=n(57437),o=n(50913),i=n(2265),a=n(54008),l=n(96164),s=n(77639),c=n(87774),u=n(47373),d=n(67849);n(74442);var f=n(12559),m=n(58277),h=n(94028),p=n(59964);let v={top:a.lVW,right:a.yoF,bottom:a.kzR,left:a.PSe},b=e=>{let{refs:t,children:n,inline:o,theme:a,disabled:l,setButtonWidth:s,getReferenceProps:c,renderTrigger:u,...f}=e,m=t.reference,h=c();if((0,i.useEffect)(()=>{m.current&&(null==s||s(m.current.clientWidth))},[m,s]),u){let e=u(a);return(0,i.cloneElement)(e,{ref:t.setReference,disabled:l,...h,...e.props})}return o?(0,r.jsx)("button",{type:"button",ref:t.setReference,className:null==a?void 0:a.inlineWrapper,disabled:l,...h,children:n}):(0,r.jsx)(d.z,{...f,disabled:l,type:"button",ref:t.setReference,...h,children:n})},g=e=>{let{children:t,className:n,dismissOnClick:d=!0,theme:m={},enableTypeAhead:h=!0,renderTrigger:p,...g}=e,[x,w]=(0,i.useState)(!1),[y,N]=(0,i.useState)(null),[j,C]=(0,i.useState)(null),[E,T]=(0,i.useState)(void 0),k=(0,i.useRef)([]),S=(0,i.useRef)([]),D=(0,s.E)((0,u.gh)().dropdown,m),R=g["data-testid"]||"flowbite-dropdown-target",{placement:M=g.inline?"bottom-start":"bottom",trigger:I="click",label:P,inline:O,arrowIcon:L=!0,...A}=g,F=(0,i.useCallback)(e=>{C(e),w(!1)},[]),B=(0,i.useCallback)(e=>{x?N(e):F(e)},[x,F]),{context:W,floatingStyles:Y,refs:z}=(0,c.V)({open:x,setOpen:w,placement:M}),H=(0,o.c0)(W,{listRef:k,activeIndex:y,selectedIndex:j,onNavigate:N}),V=(0,o.ox)(W,{listRef:S,activeIndex:y,selectedIndex:j,onMatch:B,enabled:h}),{getReferenceProps:q,getFloatingProps:X,getItemProps:K}=(0,c.B)({context:W,role:"menu",trigger:I,interactions:[H,V]}),G=(0,i.useMemo)(()=>{var e;let[t]=M.split("-");return null!==(e=v[t])&&void 0!==e?e:a.kzR},[M]);return(0,r.jsxs)(f.D.Provider,{value:{theme:D,activeIndex:y,dismissOnClick:d,getItemProps:K,handleSelect:F},children:[(0,r.jsxs)(b,{...A,refs:z,inline:O,theme:D,"data-testid":R,className:(0,l.m6)(D.floating.target,A.className),setButtonWidth:T,getReferenceProps:q,renderTrigger:p,children:[P,L&&(0,r.jsx)(G,{className:D.arrowIcon})]}),x&&(0,r.jsx)(o.wD,{context:W,modal:!1,children:(0,r.jsx)("div",{ref:z.setFloating,style:{...Y,minWidth:E},"data-testid":"flowbite-dropdown","aria-expanded":x,...X({className:(0,l.m6)(D.floating.base,D.floating.animation,"duration-100",!x&&D.floating.hidden,D.floating.style.auto,n)}),children:(0,r.jsx)(o.vs,{elementsRef:k,labelsRef:S,children:(0,r.jsx)("ul",{className:D.content,tabIndex:-1,children:t})})})})]})};g.displayName="Dropdown",h.DropdownHeader.displayName="Dropdown.Header",m.DropdownDivider.displayName="Dropdown.Divider";let x=Object.assign(g,{Item:p.DropdownItem,Header:h.DropdownHeader,Divider:m.DropdownDivider})},12559:function(e,t,n){"use strict";n.d(t,{D:function(){return o},t:function(){return i}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useDropdownContext should be used within the DropdownContext provider!");return e}},58277:function(e,t,n){"use strict";n.d(t,{DropdownDivider:function(){return a}});var r=n(57437),o=n(96164),i=n(12559);let a=e=>{var t;let{className:n,theme:a={},...l}=e,{theme:s}=(0,i.t)(),c=null!==(t=a.divider)&&void 0!==t?t:s.floating.divider;return(0,r.jsx)("div",{className:(0,o.m6)(c,n),...l})}},94028:function(e,t,n){"use strict";n.d(t,{DropdownHeader:function(){return l}});var r=n(57437),o=n(96164),i=n(12559),a=n(58277);let l=e=>{var t;let{children:n,className:l,theme:s={},...c}=e,{theme:u}=(0,i.t)(),d=null!==(t=s.header)&&void 0!==t?t:u.floating.header;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:(0,o.m6)(d,l),...c,children:n}),(0,r.jsx)(a.DropdownDivider,{})]})}},59964:function(e,t,n){"use strict";n.d(t,{DropdownItem:function(){return u}});var r=n(57437),o=n(50913),i=n(2265),a=n(96164),l=n(77639),s=n(10089),c=n(12559);let u=(0,i.forwardRef)((e,t)=>{let{children:n,className:i,icon:u,onClick:d,theme:f={},...m}=e,{ref:h,index:p}=(0,o.JA)({label:"string"==typeof n?n:void 0}),v=(0,o.qq)([t,h]),{theme:b,activeIndex:g,dismissOnClick:x,getItemProps:w,handleSelect:y}=(0,c.t)(),N=(0,l.E)(b.floating.item,f);return(0,r.jsx)("li",{role:"menuitem",className:N.container,children:(0,r.jsxs)(s.X,{ref:v,className:(0,a.m6)(N.base,i),...m,...w({onClick:()=>{null==d||d(),x&&y(null)}}),tabIndex:g===p?0:-1,children:[u&&(0,r.jsx)(u,{className:N.icon}),n]})})});u.displayName="DropdownItem"},9653:function(e,t,n){"use strict";n.d(t,{Floating:function(){return u}});var r=n(57437),o=n(50913),i=n(8143),a=n(2265),l=n(96164),s=n(87774),c=n(32800);let u=e=>{let{animation:t="duration-300",arrow:n=!0,children:u,className:d,content:f,placement:m="top",style:h="dark",theme:p,trigger:v="hover",minWidth:b,...g}=e,x=(0,a.useRef)(null),[w,y]=(0,a.useState)(!1),N=(0,s.V)({open:w,placement:m,arrowRef:x,setOpen:y}),{context:j,middlewareData:{arrow:{x:C,y:E}={}},refs:T,strategy:k,update:S,x:D,y:R}=N,M=(0,o.KK)(j),{getFloatingProps:I,getReferenceProps:P}=(0,s.B)({context:j,role:"tooltip",trigger:v,interactions:[M]});return(0,a.useEffect)(()=>{if(T.reference.current&&T.floating.current&&w)return(0,i.Me)(T.reference.current,T.floating.current,S)},[w,T.floating,T.reference,S]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:T.setReference,className:p.target,"data-testid":"flowbite-tooltip-target",...P(),children:u}),(0,r.jsxs)("div",{ref:T.setFloating,"data-testid":"flowbite-tooltip",...I({className:(0,l.m6)(p.base,t&&"".concat(p.animation," ").concat(t),!w&&p.hidden,p.style[h],d),style:{position:k,top:null!=R?R:" ",left:null!=D?D:" ",minWidth:b},...g}),children:[(0,r.jsx)("div",{className:p.content,children:f}),n&&(0,r.jsx)("div",{className:(0,l.m6)(p.arrow.base,"dark"===h&&p.arrow.style.dark,"light"===h&&p.arrow.style.light,"auto"===h&&p.arrow.style.auto),"data-testid":"flowbite-tooltip-arrow",ref:x,style:{top:null!=E?E:" ",left:null!=C?C:" ",right:" ",bottom:" ",[(0,c.sK)({placement:N.placement})]:p.arrow.placement},children:"\xa0"})]})]})}},32800:function(e,t,n){"use strict";n.d(t,{kp:function(){return o},sK:function(){return a},x_:function(){return i}});var r=n(94674);let o=({arrowRef:e,placement:t})=>{let n=[];return n.push((0,r.cv)(8)),n.push("auto"===t?(0,r.X5)():(0,r.RR)()),n.push((0,r.uY)({padding:8})),e?.current&&n.push((0,r.x7)({element:e.current})),n},i=({placement:e})=>"auto"===e?void 0:e,a=({placement:e})=>({top:"bottom",right:"left",bottom:"top",left:"right"})[e.split("-")[0]]},20300:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373);let l=({children:e,className:t,color:n="default",theme:l={},value:s,...c})=>{let u=(0,i.E)((0,a.gh)().helperText,l);return(0,r.jsx)("p",{className:(0,o.m6)(u.root.base,u.root.colors[n],t),...c,children:s??e??""})};l.displayName="HelperText"},38608:function(e,t,n){"use strict";n.d(t,{MegaMenu:function(){return u}});var r=n(57437),o=n(77639),i=n(47373),a=n(21063);n(22710);var l=n(39987),s=n(48974);let c=e=>{let{children:t,theme:n={},...l}=e,s=(0,o.E)((0,i.gh)().megaMenu,n);return(0,r.jsx)(a.Navbar,{fluid:!0,theme:s,...l,children:t})},u=Object.assign(c,{Dropdown:l.MegaMenuDropdown,DropdownToggle:s.MegaMenuDropdownToggle});c.displayName="MegaMenu"},39987:function(e,t,n){"use strict";n.d(t,{MegaMenuDropdown:function(){return c}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(97116);n(12559),n(59964);let c=e=>{let{children:t,className:n,theme:c={},toggle:u,...d}=e,[f,m]=(0,o.useState)(void 0),h=(0,a.E)((0,l.gh)().megaMenu.dropdown,c);if(u)return(0,r.jsx)(s.Dropdown,{inline:!0,label:u,placement:"bottom",theme:h.toggle,className:(0,i.m6)(h.base,n),children:t});let p=(0,o.useId)(),v=(0,o.useRef)(null);return(0,o.useEffect)(()=>{var e;m(null===(e=function(){var e;let t=null===(e=v.current)||void 0===e?void 0:e.closest("nav");return null==t?void 0:t.querySelector('[aria-haspopup="menu"]')}())||void 0===e?void 0:e.id)},[]),(0,r.jsx)("div",{"aria-labelledby":f,id:p,ref:v,role:"menu",className:(0,i.m6)(h.base,n),...d,children:t})};c.displayName="MegaMenu.Dropdown"},48974:function(e,t,n){"use strict";n.d(t,{MegaMenuDropdownToggle:function(){return s}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373);let s=e=>{let{children:t,className:n,theme:s={},...c}=e,u=(0,o.useId)(),d=(0,o.useRef)(null),[f,m]=(0,o.useState)(void 0),[h,p]=(0,o.useState)(void 0),v=(0,a.E)((0,l.gh)().megaMenu.dropdownToggle,s),b=function(){var e;let t=null===(e=d.current)||void 0===e?void 0:e.closest("nav");return null==t?void 0:t.querySelector('[role="menu"]')};return(0,o.useEffect)(()=>{let e=b(),t=null==e?void 0:e.classList.contains("hidden");m(null==e?void 0:e.id),p(!t)},[]),(0,r.jsx)("button",{"aria-controls":f,"aria-expanded":h,"aria-haspopup":"menu",id:u,onClick:function(){var e;null===(e=b())||void 0===e||e.classList.toggle("hidden"),p(!h)},ref:d,className:(0,i.m6)(v.base,n),...c,children:t})};s.displayName="MegaMenu.DropdownToggle"},57552:function(e,t,n){"use strict";n.d(t,{Modal:function(){return h}});var r=n(57437),o=n(50913),i=n(2265),a=n(96164),l=n(77639),s=n(47373),c=n(60074),u=n(85728),d=n(63152),f=n(7730);let m=(0,i.forwardRef)((e,t)=>{let{children:n,className:c,dismissible:d=!1,onClose:f,popup:m,position:h="center",root:p,show:v,size:b="2xl",theme:g={},initialFocus:x,...w}=e,[y,N]=(0,i.useState)(void 0),j=(0,l.E)((0,s.gh)().modal,g),{context:C}=(0,o.YF)({open:v,onOpenChange:()=>f&&f()}),E=(0,o.qq)([C.refs.setFloating,t]),T=(0,o.eS)(C),k=(0,o.bQ)(C,{outsidePressEvent:"mousedown",enabled:d}),S=(0,o.qs)(C),{getFloatingProps:D}=(0,o.NI)([T,k,S]);return v?(0,r.jsx)(u.t.Provider,{value:{theme:j,popup:m,onClose:f,setHeaderId:N},children:(0,r.jsx)(o.ll,{root:p,children:(0,r.jsx)(o.y0,{lockScroll:!0,"data-testid":"modal-overlay",className:(0,a.m6)(j.root.base,j.root.positions[h],v?j.root.show.on:j.root.show.off,c),...w,children:(0,r.jsx)(o.wD,{context:C,initialFocus:x,children:(0,r.jsx)("div",{ref:E,...D(w),"aria-labelledby":y,className:(0,a.m6)(j.content.base,j.root.sizes[b]),children:(0,r.jsx)("div",{className:j.content.inner,children:n})})})})})}):null});m.displayName="Modal",f.ModalHeader.displayName="Modal.Header",c.ModalBody.displayName="Modal.Body",d.ModalFooter.displayName="Modal.Footer";let h=Object.assign(m,{Header:f.ModalHeader,Body:c.ModalBody,Footer:d.ModalFooter})},60074:function(e,t,n){"use strict";n.d(t,{ModalBody:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(85728);let l=e=>{let{children:t,className:n,theme:l={},...s}=e,{theme:c,popup:u}=(0,a.v)(),d=(0,i.E)(c.body,l);return(0,r.jsx)("div",{className:(0,o.m6)(d.base,u&&[d.popup],n),...s,children:t})}},85728:function(e,t,n){"use strict";n.d(t,{t:function(){return o},v:function(){return i}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useModalContext should be used within the ModalContext provider!");return e}},63152:function(e,t,n){"use strict";n.d(t,{ModalFooter:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(85728);let l=e=>{let{children:t,className:n,theme:l={},...s}=e,{theme:c,popup:u}=(0,a.v)(),d=(0,i.E)(c.footer,l);return(0,r.jsx)("div",{className:(0,o.m6)(d.base,!u&&d.popup,n),...s,children:t})}},7730:function(e,t,n){"use strict";n.d(t,{ModalHeader:function(){return c}});var r=n(57437),o=n(2265),i=n(54008),a=n(96164),l=n(77639),s=n(85728);let c=e=>{let{as:t="h3",children:n,className:c,theme:u={},id:d,...f}=e,m=(0,o.useId)(),h=d||m,{theme:p,popup:v,onClose:b,setHeaderId:g}=(0,s.v)(),x=(0,l.E)(p.header,u);return(0,o.useLayoutEffect)(()=>(g(h),()=>g(void 0)),[h,g]),(0,r.jsxs)("div",{className:(0,a.m6)(x.base,v&&x.popup,c),...f,children:[(0,r.jsx)(t,{id:h,className:x.title,children:n}),(0,r.jsx)("button",{"aria-label":"Close",className:x.close.base,type:"button",onClick:b,children:(0,r.jsx)(i.fMW,{"aria-hidden":!0,className:x.close.icon})})]})}},21063:function(e,t,n){"use strict";n.d(t,{Navbar:function(){return h}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(48612),c=n(93902),u=n(22710),d=n(73040),f=n(8570);let m=e=>{let{border:t,children:n,className:s,fluid:c=!1,menuOpen:d,rounded:f,theme:m={},...h}=e,[p,v]=(0,o.useState)(d),b=(0,a.E)((0,l.gh)().navbar,m);return(0,r.jsx)(u.b.Provider,{value:{theme:b,isOpen:p,setIsOpen:v},children:(0,r.jsx)("nav",{className:(0,i.m6)(b.root.base,b.root.bordered[t?"on":"off"],b.root.rounded[f?"on":"off"],s),...h,children:(0,r.jsx)("div",{className:(0,i.m6)(b.root.inner.base,b.root.inner.fluid[c?"on":"off"]),children:n})})})};m.displayName="Navbar",s.NavbarBrand.displayName="Navbar.Brand",c.NavbarCollapse.displayName="Navbar.Collapse",d.NavbarLink.displayName="Navbar.Link",f.NavbarToggle.displayName="Navbar.Toggle";let h=Object.assign(m,{Brand:s.NavbarBrand,Collapse:c.NavbarCollapse,Link:d.NavbarLink,Toggle:f.NavbarToggle})},48612:function(e,t,n){"use strict";n.d(t,{NavbarBrand:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(22710);let l=e=>{let{as:t="a",children:n,className:l,theme:s={},...c}=e,{theme:u}=(0,a.q)(),d=(0,i.E)(u.brand,s);return(0,r.jsx)(t,{className:(0,o.m6)(d.base,l),...c,children:n})}},93902:function(e,t,n){"use strict";n.d(t,{NavbarCollapse:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(22710);let l=e=>{let{children:t,className:n,theme:l={},...s}=e,{theme:c,isOpen:u}=(0,a.q)(),d=(0,i.E)(c.collapse,l);return(0,r.jsx)("div",{"data-testid":"flowbite-navbar-collapse",className:(0,o.m6)(d.base,d.hidden[u?"off":"on"],n),...s,children:(0,r.jsx)("ul",{className:d.list,children:t})})}},22710:function(e,t,n){"use strict";n.d(t,{b:function(){return o},q:function(){return i}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useNavBarContext should be used within the NavbarContext provider!");return e}},73040:function(e,t,n){"use strict";n.d(t,{NavbarLink:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(22710);let l=e=>{let{active:t,as:n="a",disabled:l,children:s,className:c,theme:u={},onClick:d,...f}=e,{theme:m,setIsOpen:h}=(0,a.q)(),p=(0,i.E)(m.link,u);return(0,r.jsx)("li",{children:(0,r.jsx)(n,{className:(0,o.m6)(p.base,t&&p.active.on,!t&&!l&&p.active.off,p.disabled[l?"on":"off"],c),onClick:e=>{h(!1),null==d||d(e)},...f,children:s})})}},8570:function(e,t,n){"use strict";n.d(t,{NavbarToggle:function(){return s}});var r=n(57437),o=n(41942),i=n(96164),a=n(77639),l=n(22710);let s=e=>{let{barIcon:t=o.Fm7,className:n,theme:s={},...c}=e,{theme:u,isOpen:d,setIsOpen:f}=(0,l.q)(),m=(0,a.E)(u.toggle,s);return(0,r.jsxs)("button",{"data-testid":"flowbite-navbar-toggle",onClick:()=>{f(!d)},className:(0,i.m6)(m.base,n),...c,children:[(0,r.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,r.jsx)(t,{"aria-hidden":!0,className:m.icon})]})}},95511:function(e,t,n){"use strict";n.d(t,{Popover:function(){return u}});var r=n(57437),o=n(50913),i=n(2265),a=n(77639),l=n(87774),s=n(47373),c=n(32800);function u(e){let{children:t,content:n,theme:u={},arrow:d=!0,trigger:f="click",initialOpen:m,open:h,onOpenChange:p,placement:v="bottom",...b}=e,[g,x]=(0,i.useState)(!!m),w=(0,i.useRef)(null),y=(0,a.E)((0,s.gh)().popover,u),N=null!=h?h:g,{floatingStyles:j,context:C,placement:E,middlewareData:{arrow:{x:T,y:k}={}},refs:S}=(0,l.V)({open:N,placement:v,arrowRef:w,setOpen:null!=p?p:x}),{getFloatingProps:D,getReferenceProps:R}=(0,l.B)({context:C,role:"dialog",trigger:f}),M=t.ref,I=(0,o.qq)([C.refs.setReference,M]);if(!(0,i.isValidElement)(t))throw Error("Invalid target element");let P=(0,i.useMemo)(()=>(0,i.cloneElement)(t,R({ref:I,"data-testid":"flowbite-popover-target",...null==t?void 0:t.props})),[t,I,R]);return(0,r.jsxs)(r.Fragment,{children:[P,N&&(0,r.jsx)(o.wD,{context:C,modal:!0,children:(0,r.jsx)("div",{className:y.base,ref:S.setFloating,"data-testid":"flowbite-popover",...b,style:j,...D(),children:(0,r.jsxs)("div",{className:"relative",children:[d&&(0,r.jsx)("div",{className:y.arrow.base,"data-testid":"flowbite-popover-arrow",ref:w,style:{top:null!=k?k:" ",left:null!=T?T:" ",right:" ",bottom:" ",[(0,c.sK)({placement:E})]:y.arrow.placement},children:"\xa0"}),(0,r.jsx)("div",{className:y.content,children:n})]})})})]})}},33014:function(e,t,n){"use strict";n.d(t,{Rating:function(){return d}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373),l=n(29593),s=n(62569),c=n(22977);let u=e=>{let{children:t,className:n,size:l="sm",theme:c={},...u}=e,d=(0,i.E)((0,a.gh)().rating,c);return(0,r.jsx)(s.Y.Provider,{value:{theme:d,size:l},children:(0,r.jsx)("div",{className:(0,o.m6)(d.root.base,n),...u,children:t})})};u.displayName="Rating",c.RatingStar.displayName="Rating.Star",l.y.displayName="Rating.Advanced";let d=Object.assign(u,{Star:c.RatingStar,Advanced:l.y})},29593:function(e,t,n){"use strict";n.d(t,{y:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373);let l=({children:e,className:t,percentFilled:n=0,theme:l={},...s})=>{let c=(0,i.E)((0,a.gh)().ratingAdvanced,l);return(0,r.jsxs)("div",{className:(0,o.m6)(c.base,t),...s,children:[(0,r.jsx)("span",{className:c.label,children:e}),(0,r.jsx)("div",{className:c.progress.base,children:(0,r.jsx)("div",{className:c.progress.fill,"data-testid":"flowbite-rating-fill",style:{width:`${n}%`}})}),(0,r.jsx)("span",{className:c.progress.label,children:`${n}%`})]})}},62569:function(e,t,n){"use strict";n.d(t,{U:function(){return i},Y:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useRatingContext should be used within the RatingContext provider!");return e}},22977:function(e,t,n){"use strict";n.d(t,{RatingStar:function(){return s}});var r=n(57437),o=n(54008),i=n(96164),a=n(77639),l=n(62569);let s=e=>{let{className:t,filled:n=!0,starIcon:s=o.xiv,theme:c={},...u}=e,{theme:d,size:f="sm"}=(0,l.U)(),m=(0,a.E)(d.star,c);return(0,r.jsx)(s,{"data-testid":"flowbite-rating-star",className:(0,i.m6)(m.sizes[f],m[n?"filled":"empty"],t),...u})}},71639:function(e,t,n){"use strict";n.d(t,{Sidebar:function(){return p}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373),l=n(90599),s=n(75314),c=n(81325),u=n(53423),d=n(1030),f=n(656),m=n(64431);let h=e=>{let{children:t,as:n="nav",collapseBehavior:l="collapse",collapsed:c=!1,theme:u={},className:d,...f}=e,m=(0,i.E)((0,a.gh)().sidebar,u);return(0,r.jsx)(s.l.Provider,{value:{theme:m,isCollapsed:c},children:(0,r.jsx)(n,{"aria-label":"Sidebar",hidden:c&&"hide"===l,className:(0,o.m6)(m.root.base,m.root.collapsed[c?"on":"off"],d),...f,children:(0,r.jsx)("div",{className:m.root.inner,children:t})})})};h.displayName="Sidebar";let p=Object.assign(h,{Collapse:l.SidebarCollapse,CTA:c.SidebarCTA,Item:u.SidebarItem,Items:f.SidebarItems,ItemGroup:d.SidebarItemGroup,Logo:m.SidebarLogo})},81325:function(e,t,n){"use strict";n.d(t,{SidebarCTA:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(75314);let l=e=>{let{children:t,color:n="info",className:l,theme:s={},...c}=e,{theme:u,isCollapsed:d}=(0,a.S)(),f=(0,i.E)(u.cta,s);return(0,r.jsx)("div",{"data-testid":"sidebar-cta",hidden:d,className:(0,o.m6)(f.base,f.color[n],l),...c,children:t})};l.displayName="Sidebar.CTA"},90599:function(e,t,n){"use strict";n.d(t,{SidebarCollapse:function(){return d}});var r=n(57437),o=n(2265),i=n(54008),a=n(96164),l=n(77639),s=n(19617),c=n(75314),u=n(14939);let d=e=>{let{children:t,className:n,icon:d,label:f,chevronIcon:m=i.kWQ,renderChevronIcon:h,open:p=!1,theme:v={},...b}=e,g=(0,o.useId)(),[x,w]=(0,o.useState)(p),{theme:y,isCollapsed:N}=(0,c.S)(),j=(0,l.E)(y.collapse,v);return(0,o.useEffect)(()=>w(p),[p]),(0,r.jsxs)(e=>{let{children:t}=e;return(0,r.jsx)("li",{children:N&&!x?(0,r.jsx)(s.u,{content:f,placement:"right",children:t}):t})},{children:[(0,r.jsxs)("button",{id:"flowbite-sidebar-collapse-".concat(g),onClick:()=>w(!x),title:f,type:"button",className:(0,a.m6)(j.button,n),...b,children:[d&&(0,r.jsx)(d,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-collapse-icon",className:(0,a.m6)(j.icon.base,j.icon.open[x?"on":"off"])}),N?(0,r.jsx)("span",{className:"sr-only",children:f}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{"data-testid":"flowbite-sidebar-collapse-label",className:j.label.base,children:f}),h?h(j,x):(0,r.jsx)(m,{"aria-hidden":!0,className:(0,a.m6)(j.label.icon.base,j.label.icon.open[x?"on":"off"])})]})]}),(0,r.jsx)("ul",{"aria-labelledby":"flowbite-sidebar-collapse-".concat(g),hidden:!x,className:j.list,children:(0,r.jsx)(u.v.Provider,{value:{isInsideCollapse:!0},children:t})})]})};d.displayName="Sidebar.Collapse"},75314:function(e,t,n){"use strict";n.d(t,{S:function(){return i},l:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useSidebarContext should be used within the SidebarContext provider!");return e}},53423:function(e,t,n){"use strict";n.d(t,{SidebarItem:function(){return m}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(13221),s=n(19617),c=n(75314),u=n(14939);let d=e=>{let{id:t,theme:n,isCollapsed:o,tooltipChildren:i,children:a,...l}=e;return(0,r.jsx)("li",{...l,children:o?(0,r.jsx)(s.u,{content:(0,r.jsx)(f,{id:t,theme:n,children:i}),placement:"right",children:a}):a})},f=e=>{let{id:t,theme:n,children:o}=e;return(0,r.jsx)("span",{"data-testid":"flowbite-sidebar-item-content",id:"flowbite-sidebar-item-".concat(t),className:(0,i.m6)(n.content.base),children:o})},m=(0,o.forwardRef)((e,t)=>{var n,s,m,h,p;let{active:v,as:b="a",children:g,className:x,icon:w,label:y,labelColor:N="info",theme:j={},...C}=e,E=(0,o.useId)(),{theme:T,isCollapsed:k}=(0,c.S)(),{isInsideCollapse:S}=(0,u.j)(),D=(0,a.E)(T.item,j);return(0,r.jsx)(d,{theme:D,className:D.listItem,id:E,isCollapsed:k,tooltipChildren:g,children:(0,r.jsxs)(b,{"aria-labelledby":"flowbite-sidebar-item-".concat(E),ref:t,className:(0,i.m6)(D.base,v&&D.active,!k&&S&&(null===(n=D.collapsed)||void 0===n?void 0:n.insideCollapse),x),...C,children:[w&&(0,r.jsx)(w,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-item-icon",className:(0,i.m6)(null===(s=D.icon)||void 0===s?void 0:s.base,v&&(null===(m=D.icon)||void 0===m?void 0:m.active))}),k&&!w&&(0,r.jsx)("span",{className:null===(h=D.collapsed)||void 0===h?void 0:h.noIcon,children:null!==(p=g.charAt(0).toLocaleUpperCase())&&void 0!==p?p:"?"}),!k&&(0,r.jsx)(f,{id:E,theme:D,children:g}),!k&&y&&(0,r.jsx)(l.C,{color:N,"data-testid":"flowbite-sidebar-label",hidden:k,className:D.label,children:y})]})})});m.displayName="Sidebar.Item"},14939:function(e,t,n){"use strict";n.d(t,{j:function(){return i},v:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useSidebarItemContext should be used within the SidebarItemContext provider!");return e}},1030:function(e,t,n){"use strict";n.d(t,{SidebarItemGroup:function(){return s}});var r=n(57437),o=n(96164),i=n(77639),a=n(75314),l=n(14939);let s=e=>{let{children:t,className:n,theme:s={},...c}=e,{theme:u}=(0,a.S)(),d=(0,i.E)(u.itemGroup,s);return(0,r.jsx)("ul",{"data-testid":"flowbite-sidebar-item-group",className:(0,o.m6)(d.base,n),...c,children:(0,r.jsx)(l.v.Provider,{value:{isInsideCollapse:!1},children:t})})};s.displayName="Sidebar.ItemGroup"},656:function(e,t,n){"use strict";n.d(t,{SidebarItems:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(75314);let l=e=>{let{children:t,className:n,theme:l={},...s}=e,{theme:c}=(0,a.S)(),u=(0,i.E)(c.items,l);return(0,r.jsx)("div",{className:(0,o.m6)(u.base,n),"data-testid":"flowbite-sidebar-items",...s,children:t})};l.displayName="Sidebar.Items"},64431:function(e,t,n){"use strict";n.d(t,{SidebarLogo:function(){return s}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(75314);let s=e=>{let{children:t,className:n,href:s,img:c,imgAlt:u="",theme:d={},...f}=e,m=(0,o.useId)(),{theme:h,isCollapsed:p}=(0,l.S)(),v=(0,a.E)(h.logo,d);return(0,r.jsxs)("a",{"aria-labelledby":"flowbite-sidebar-logo-".concat(m),href:s,className:(0,i.m6)(v.base,n),...f,children:[(0,r.jsx)("img",{alt:u,src:c,className:v.img}),(0,r.jsx)("span",{className:v.collapsed[p?"on":"off"],id:"flowbite-sidebar-logo-".concat(m),children:t})]})};s.displayName="Sidebar.Logo"},1990:function(e,t,n){"use strict";n.d(t,{$:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373);let l=({className:e,color:t="info",light:n,size:l="md",theme:s={},...c})=>{let u=(0,i.E)((0,a.gh)().spinner,s);return(0,r.jsx)("span",{role:"status",...c,children:(0,r.jsxs)("svg",{fill:"none",viewBox:"0 0 100 101",className:(0,o.m6)(u.base,u.color[t],u.light[n?"on":"off"].base,u.light[n?"on":"off"].color[t],u.size[l],e),children:[(0,r.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})};l.displayName="Spinner"},67042:function(e,t,n){"use strict";n.d(t,{Table:function(){return p}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(53836),c=n(38924),u=n(9714),d=n(6320),f=n(85002),m=n(25817);let h=(0,o.forwardRef)((e,t)=>{let{children:n,className:o,striped:s,hoverable:c,theme:d={},...f}=e,m=(0,a.E)((0,l.gh)().table,d);return(0,r.jsx)("div",{"data-testid":"table-element",className:(0,i.m6)(m.root.wrapper),children:(0,r.jsxs)(u.X.Provider,{value:{theme:m,striped:s,hoverable:c},children:[(0,r.jsx)("div",{className:(0,i.m6)(m.root.shadow,o)}),(0,r.jsx)("table",{className:(0,i.m6)(m.root.base,o),...f,ref:t,children:n})]})})});h.displayName="Table";let p=Object.assign(h,{Head:d.TableHead,Body:s.TableBody,Row:m.TableRow,Cell:c.TableCell,HeadCell:f.TableHeadCell})},53836:function(e,t,n){"use strict";n.d(t,{TableBody:function(){return c}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(81457),s=n(9714);let c=(0,o.forwardRef)((e,t)=>{let{children:n,className:o,theme:c={},...u}=e,{theme:d}=(0,s.S)(),f=(0,a.E)(d.body,c);return(0,r.jsx)(l.l.Provider,{value:{theme:f},children:(0,r.jsx)("tbody",{className:(0,i.m6)(f.base,o),ref:t,...u,children:n})})});c.displayName="Table.Body"},81457:function(e,t,n){"use strict";n.d(t,{J:function(){return i},l:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useTableBodyContext should be used within the TableBodyContext provider!");return e}},38924:function(e,t,n){"use strict";n.d(t,{TableCell:function(){return s}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(81457);let s=(0,o.forwardRef)((e,t)=>{let{children:n,className:o,theme:s={},...c}=e,{theme:u}=(0,l.J)(),d=(0,a.E)(u.cell,s);return(0,r.jsx)("td",{className:(0,i.m6)(d.base,o),ref:t,...c,children:n})});s.displayName="Table.Cell"},9714:function(e,t,n){"use strict";n.d(t,{S:function(){return i},X:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useTableContext should be used within the TableContext provider!");return e}},6320:function(e,t,n){"use strict";n.d(t,{TableHead:function(){return c}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(9714),s=n(30565);let c=(0,o.forwardRef)((e,t)=>{let{children:n,className:o,theme:c={},...u}=e,{theme:d}=(0,l.S)(),f=(0,a.E)(d.head,c);return(0,r.jsx)(s.t.Provider,{value:{theme:f},children:(0,r.jsx)("thead",{className:(0,i.m6)(f.base,o),ref:t,...u,children:(0,r.jsx)("tr",{children:n})})})});c.displayName="Table.Head"},85002:function(e,t,n){"use strict";n.d(t,{TableHeadCell:function(){return s}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(30565);let s=(0,o.forwardRef)((e,t)=>{let{children:n,className:o,theme:s={},...c}=e,{theme:u}=(0,l.A)(),d=(0,a.E)(u.cell,s);return(0,r.jsx)("th",{className:(0,i.m6)(d.base,o),ref:t,...c,children:n})});s.displayName="Table.HeadCell"},30565:function(e,t,n){"use strict";n.d(t,{A:function(){return i},t:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useTableHeadContext should be used within the TableHeadContext provider!");return e}},25817:function(e,t,n){"use strict";n.d(t,{TableRow:function(){return s}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(9714);let s=(0,o.forwardRef)((e,t)=>{let{children:n,className:o,theme:s={},...c}=e,{theme:u,hoverable:d,striped:f}=(0,l.S)(),m=(0,a.E)(u.row,s);return(0,r.jsx)("tr",{ref:t,"data-testid":"table-row-element",className:(0,i.m6)(m.base,f&&m.striped,d&&m.hovered,o),...c,children:n})});s.displayName="Table.Row"},93939:function(e,t,n){"use strict";n.d(t,{TabItem:function(){return o}});var r=n(57437);let o=e=>{let{children:t,className:n}=e;return(0,r.jsx)("div",{className:n,children:t})};o.displayName="Tabs.Item"},64945:function(e,t,n){"use strict";n.d(t,{Tabs:function(){return u}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(93939);let c=(0,o.forwardRef)((e,t)=>{let{children:n,className:s,onActiveTabChange:c,variant:u="default",theme:d={},...f}=e,m=(0,a.E)((0,l.gh)().tabs,d),h=(0,o.useId)(),p=(0,o.useMemo)(()=>o.Children.map(o.Children.toArray(n),e=>{let{props:t}=e;return t}),[n]),v=(0,o.useRef)([]),[b,g]=(0,o.useState)(Math.max(0,p.findIndex(e=>e.active))),[x,w]=(0,o.useState)(-1),y=e=>{g(e),c&&c(e)},N=e=>{let{target:t}=e;y(t),w(t)},j=e=>{let{event:t,target:n}=e;"ArrowLeft"===t.key&&w(Math.max(0,x-1)),"ArrowRight"===t.key&&w(Math.min(p.length-1,x+1)),"Enter"===t.key&&(y(n),w(n))},C=m.tablist.tabitem.variant[u],E=m.tabitemcontainer.variant[u];return(0,o.useEffect)(()=>{var e;null===(e=v.current[x])||void 0===e||e.focus()},[x]),(0,o.useImperativeHandle)(t,()=>({setActiveTab:y})),(0,r.jsxs)("div",{className:(0,i.m6)(m.base,s),children:[(0,r.jsx)("div",{"aria-label":"Tabs",role:"tablist",className:(0,i.m6)(m.tablist.base,m.tablist.variant[u],s),...f,children:p.map((e,t)=>(0,r.jsxs)("button",{type:"button","aria-controls":"".concat(h,"-tabpanel-").concat(t),"aria-selected":t===b,className:(0,i.m6)(m.tablist.tabitem.base,C.base,t===b&&C.active.on,t!==b&&!e.disabled&&C.active.off),disabled:e.disabled,id:"".concat(h,"-tab-").concat(t),onClick:()=>N({target:t}),onKeyDown:e=>j({event:e,target:t}),ref:e=>v.current[t]=e,role:"tab",tabIndex:t===x?0:-1,style:{zIndex:t===x?2:1},children:[e.icon&&(0,r.jsx)(e.icon,{className:m.tablist.tabitem.icon}),e.title]},t))}),(0,r.jsx)("div",{className:(0,i.m6)(m.tabitemcontainer.base,E),children:p.map((e,t)=>(0,r.jsx)("div",{"aria-labelledby":"".concat(h,"-tab-").concat(t),className:m.tabpanel,hidden:t!==b,id:"".concat(h,"-tabpanel-").concat(t),role:"tabpanel",tabIndex:0,children:e.children},t))})]})});c.displayName="Tabs";let u=Object.assign(c,{Item:s.TabItem})},63800:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(20300);let c=(0,o.forwardRef)(({addon:e,className:t,color:n="gray",helperText:o,icon:c,rightIcon:u,shadow:d,sizing:f="md",theme:m={},type:h="text",...p},v)=>{let b=(0,a.E)((0,l.gh)().textInput,m);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,i.m6)(b.base,t),children:[e&&(0,r.jsx)("span",{className:b.addon,children:e}),(0,r.jsxs)("div",{className:b.field.base,children:[c&&(0,r.jsx)("div",{className:b.field.icon.base,children:(0,r.jsx)(c,{className:b.field.icon.svg})}),u&&(0,r.jsx)("div",{"data-testid":"right-icon",className:b.field.rightIcon.base,children:(0,r.jsx)(u,{className:b.field.rightIcon.svg})}),(0,r.jsx)("input",{className:(0,i.m6)(b.field.input.base,b.field.input.colors[n],b.field.input.sizes[f],b.field.input.withIcon[c?"on":"off"],b.field.input.withRightIcon[u?"on":"off"],b.field.input.withAddon[e?"on":"off"],b.field.input.withShadow[d?"on":"off"]),type:h,...p,ref:v})]})]}),o&&(0,r.jsx)(s.p,{color:n,children:o})]})});c.displayName="TextInput"},39404:function(e,t,n){"use strict";n.d(t,{Timeline:function(){return p}});var r=n(57437),o=n(96164),i=n(77639),a=n(47373),l=n(50149),s=n(27272),c=n(45537),u=n(18734),d=n(97524),f=n(75799),m=n(66093);let h=e=>{let{children:t,className:n,horizontal:l,theme:s={},...u}=e,d=(0,i.E)((0,a.gh)().timeline,s);return(0,r.jsx)(c.X.Provider,{value:{theme:d,horizontal:l},children:(0,r.jsx)("ol",{"data-testid":"timeline-component",className:(0,o.m6)(l&&d.root.direction.horizontal,!l&&d.root.direction.vertical,n),...u,children:t})})};h.displayName="Timeline",u.TimelineItem.displayName="Timeline.Item",d.TimelinePoint.displayName="Timeline.Point",s.TimelineContent.displayName="Timeline.Content",f.TimelineTime.displayName="Timeline.Time",m.TimelineTitle.displayName="Timeline.Title",l.TimelineBody.displayName="Timeline.Body";let p=Object.assign(h,{Item:u.TimelineItem,Point:d.TimelinePoint,Content:s.TimelineContent,Time:f.TimelineTime,Title:m.TimelineTitle,Body:l.TimelineBody})},50149:function(e,t,n){"use strict";n.d(t,{TimelineBody:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(38302);let l=e=>{let{children:t,className:n,theme:l={},...s}=e,{theme:c}=(0,a.T)(),u=(0,i.E)(c.body,l);return(0,r.jsx)("div",{className:(0,o.m6)(u.base,n),...s,children:t})}},27272:function(e,t,n){"use strict";n.d(t,{TimelineContent:function(){return c}});var r=n(57437),o=n(96164),i=n(77639),a=n(38302),l=n(45537),s=n(78590);let c=e=>{let{children:t,className:n,theme:c={},...u}=e,{horizontal:d}=(0,l.i)(),{theme:f}=(0,s.u)(),m=(0,i.E)(f.content,c);return(0,r.jsx)(a.t.Provider,{value:{theme:m},children:(0,r.jsx)("div",{"data-testid":"timeline-content",className:(0,o.m6)(m.root.base,d?m.root.horizontal:m.root.vertical,n),...u,children:t})})}},38302:function(e,t,n){"use strict";n.d(t,{T:function(){return i},t:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useTimelineContentContext should be used within the TimelineContentContext provider!");return e}},45537:function(e,t,n){"use strict";n.d(t,{X:function(){return o},i:function(){return i}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useTimelineContext should be used within the TimelineContext provider!");return e}},18734:function(e,t,n){"use strict";n.d(t,{TimelineItem:function(){return s}});var r=n(57437),o=n(96164),i=n(77639),a=n(45537),l=n(78590);let s=e=>{let{children:t,className:n,theme:s={},...c}=e,{theme:u,horizontal:d}=(0,a.i)(),f=(0,i.E)(u.item,s);return(0,r.jsx)(l.D.Provider,{value:{theme:f},children:(0,r.jsx)("li",{"data-testid":"timeline-item",className:(0,o.m6)(d&&f.root.horizontal,!d&&f.root.vertical,n),...c,children:t})})}},78590:function(e,t,n){"use strict";n.d(t,{D:function(){return o},u:function(){return i}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useTimelineItemContext should be used within the TimelineItemContext provider!");return e}},97524:function(e,t,n){"use strict";n.d(t,{TimelinePoint:function(){return s}});var r=n(57437),o=n(96164),i=n(77639),a=n(45537),l=n(78590);let s=e=>{let{children:t,className:n,icon:s,theme:c={},...u}=e,{horizontal:d}=(0,a.i)(),{theme:f}=(0,l.u)(),m=(0,i.E)(f.point,c);return(0,r.jsxs)("div",{"data-testid":"timeline-point",className:(0,o.m6)(d&&m.horizontal,!d&&m.vertical,n),...u,children:[t,s?(0,r.jsx)("span",{className:(0,o.m6)(m.marker.icon.wrapper),children:(0,r.jsx)(s,{"aria-hidden":!0,className:(0,o.m6)(m.marker.icon.base)})}):(0,r.jsx)("div",{className:(0,o.m6)(d&&m.marker.base.horizontal,!d&&m.marker.base.vertical)}),d&&(0,r.jsx)("div",{className:(0,o.m6)(m.line)})]})}},75799:function(e,t,n){"use strict";n.d(t,{TimelineTime:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(38302);let l=e=>{let{children:t,className:n,theme:l={},...s}=e,{theme:c}=(0,a.T)(),u=(0,i.E)(c.time,l);return(0,r.jsx)("time",{className:(0,o.m6)(u.base,n),...s,children:t})}},66093:function(e,t,n){"use strict";n.d(t,{TimelineTitle:function(){return l}});var r=n(57437),o=n(96164),i=n(77639),a=n(38302);let l=e=>{let{as:t="h3",children:n,className:l,theme:s={},...c}=e,{theme:u}=(0,a.T)(),d=(0,i.E)(u.title,s);return(0,r.jsx)(t,{className:(0,o.m6)(d.base,l),...c,children:n})}},78845:function(e,t,n){"use strict";n.d(t,{Toast:function(){return f}});var r=n(57437),o=n(2265),i=n(96164),a=n(77639),l=n(47373),s=n(30394),c=n(88293);let u={75:"duration-75",100:"duration-100",150:"duration-150",200:"duration-200",300:"duration-300",500:"duration-500",700:"duration-700",1e3:"duration-1000"},d=e=>{let{children:t,className:n,duration:c=300,theme:d={},...f}=e,[m,h]=(0,o.useState)(!1),[p,v]=(0,o.useState)(!1),b=(0,a.E)((0,l.gh)().toast,d);return p?null:(0,r.jsx)(s.u.Provider,{value:{theme:b,duration:c,isClosed:m,isRemoved:p,setIsClosed:h,setIsRemoved:v},children:(0,r.jsx)("div",{"data-testid":"flowbite-toast",role:"alert",className:(0,i.m6)(b.root.base,u[c],m&&b.root.closed,n),...f,children:t})})};d.displayName="Toast",c.ToastToggle.displayName="Toast.Toggle";let f=Object.assign(d,{Toggle:c.ToastToggle})},30394:function(e,t,n){"use strict";n.d(t,{V:function(){return i},u:function(){return o}});var r=n(2265);let o=(0,r.createContext)(void 0);function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useToastContext should be used within the ToastContext provider!");return e}},88293:function(e,t,n){"use strict";n.d(t,{ToastToggle:function(){return s}});var r=n(57437),o=n(54008),i=n(96164),a=n(77639),l=n(30394);let s=e=>{let{className:t,onClick:n,theme:s={},xIcon:c=o.apv,onDismiss:u,...d}=e,{theme:f,duration:m,isClosed:h,isRemoved:p,setIsClosed:v,setIsRemoved:b}=(0,l.V)(),g=(0,a.E)(f.toggle,s);return(0,r.jsx)("button",{"aria-label":"Close",onClick:e=>{if(n&&n(e),u){u();return}v(!h),setTimeout(()=>b(!p),m)},type:"button",className:(0,i.m6)(g.base,t),...d,children:(0,r.jsx)(c,{"aria-hidden":!0,className:g.icon})})}},19617:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(57437),o=n(77639),i=n(47373),a=n(9653);let l=({animation:e="duration-300",arrow:t=!0,children:n,className:l,content:s,placement:c="top",style:u="dark",theme:d={},trigger:f="hover",...m})=>{let h=(0,o.E)((0,i.gh)().tooltip,d);return(0,r.jsx)(a.Floating,{animation:e,arrow:t,content:s,placement:c,style:u,theme:h,trigger:f,className:l,...m,children:n})};l.displayName="Tooltip"},40477:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=()=>"undefined"!=typeof window},87774:function(e,t,n){"use strict";n.d(t,{B:function(){return l},V:function(){return a}});var r=n(50913),o=n(8143),i=n(32800);let a=({open:e,arrowRef:t,placement:n="top",setOpen:a})=>(0,r.YF)({placement:(0,i.x_)({placement:n}),open:e,onOpenChange:a,whileElementsMounted:o.Me,middleware:(0,i.kp)({placement:n,arrowRef:t})}),l=({context:e,trigger:t,role:n="tooltip",interactions:o=[]})=>(0,r.NI)([(0,r.eS)(e,{enabled:"click"===t}),(0,r.XI)(e,{enabled:"hover"===t,handleClose:(0,r.xp)()}),(0,r.bQ)(e),(0,r.qs)(e,{role:n}),...o])},63184:function(e,t,n){"use strict";n.d(t,{useThemeMode:function(){return u}});var r=n(2265),o=n(40477);let i=e=>{let{key:t,onChange:n}=e;function o(e){let{key:r,newValue:o}=e;r===t&&n(o)}(0,r.useEffect)(()=>(window.addEventListener("storage",o),()=>window.removeEventListener("storage",o)),[])};var a=n(47373);let l="light",s="flowbite-theme-mode",c="flowbite-theme-mode-sync",u=()=>{let[e,t]=(0,r.useState)(h((0,a.Am)()));(0,r.useEffect)(()=>{f(e),m(e)},[]),i({key:s,onChange(e){if(e)return n(e)}}),d(e=>t(e));let n=e=>{t(e),f(e),m(e),document.dispatchEvent(new CustomEvent(c,{detail:e}))};return{mode:e,computedMode:p(e),setMode:n,toggleMode:()=>{let t=e;"auto"===t&&(t=p(t)),n(t="dark"===t?"light":"dark")},clearMode:()=>{var e;n(null!==(e=(0,a.Am)())&&void 0!==e?e:l)}}},d=e=>{(0,r.useEffect)(()=>{function t(t){e(t.detail)}return document.addEventListener(c,t),()=>document.removeEventListener(c,t)},[])},f=e=>localStorage.setItem(s,e),m=e=>{"dark"===p(e)?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},h=e=>{var t;if(!(0,o.C)())return l;let n=localStorage.getItem(s);return null!==(t=null!=n?n:e)&&void 0!==t?t:l},p=e=>"auto"===e?v():e,v=()=>{var e,t;return(null===(e=(t=window).matchMedia)||void 0===e?void 0:e.call(t,"(prefers-color-scheme: dark)").matches)?"dark":"light"}},83063:function(e,t,n){"use strict";n.d(t,{ThemeClientInit:function(){return o}});var r=n(47373);function o(e){let{theme:t}=e;return(0,r.Dc)(t),null}},56099:function(e,t,n){"use strict";n.d(t,{ThemeModeInit:function(){return i}});var r=n(47373),o=n(63184);function i(e){let{mode:t}=e;return t&&(0,r.qe)(t),(0,o.useThemeMode)(),null}},91810:function(e,t,n){"use strict";n.d(t,{w_:function(){return u}});var r=n(2265),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(o),a=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){var r,o;r=t,o=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e){return t=>r.createElement(d,l({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,n)=>r.createElement(t.tag,c({key:n},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var n,{attr:o,size:i,title:s}=e,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),d=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,u,{className:n,style:c(c({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),s&&r.createElement("title",null,s),e.children)};return void 0!==i?r.createElement(i.Consumer,null,e=>t(e)):t(o)}}}]);