1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[586],{82733:function(e,r,t){let n;t.d(r,{Ct:function(){return Z},zx:function(){return en},lr:function(){return eb},p6:function(){return r2},$j:function(){return tI},u:function(){return tQ},rS:function(){return em},Fg:function(){return ey}});var o=t(57437),a=t(2265),l=t.t(a,2),i=t(55160),s=/^\[(.+)\]$/;function d(e,r){var t=e;return r.split("-").forEach(function(e){t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t}var c=/\s+/;function u(){for(var e,r,t=0,n="";t<arguments.length;)(e=arguments[t++])&&(r=function e(r){if("string"==typeof r)return r;for(var t,n="",o=0;o<r.length;o++)r[o]&&(t=e(r[o]))&&(n&&(n+=" "),n+=t);return n}(e))&&(n&&(n+=" "),n+=r);return n}function g(e){var r=function(r){return r[e]||[]};return r.isThemeGetter=!0,r}var b=/^\[(?:([a-z-]+):)?(.+)\]$/i,f=/^\d+\/\d+$/,p=new Set(["px","full","screen"]),m=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,y=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function x(e){return C(e)||p.has(e)||f.test(e)||v(e)}function v(e){return P(e,"length",z)}function w(e){return P(e,"size",L)}function k(e){return P(e,"position",L)}function N(e){return P(e,"url",O)}function j(e){return P(e,"number",C)}function C(e){return!Number.isNaN(Number(e))}function E(e){return e.endsWith("%")&&C(e.slice(0,-1))}function R(e){return A(e)||P(e,"number",A)}function T(e){return b.test(e)}function S(){return!0}function M(e){return m.test(e)}function I(e){return P(e,"",D)}function P(e,r,t){var n=b.exec(e);return!!n&&(n[1]?n[1]===r:t(n[2]))}function z(e){return h.test(e)}function L(){return!1}function O(e){return e.startsWith("url(")}function A(e){return Number.isInteger(Number(e))}function D(e){return y.test(e)}var F=function(){for(var e,r,t,n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];var l=function(n){var a=o[0];return r=(e=function(e){var r,t,n,o,a,l,i,c,u,g,b;return{cache:function(e){if(e<1)return{get:function(){},set:function(){}};var r=0,t=new Map,n=new Map;function o(o,a){t.set(o,a),++r>e&&(r=0,n=t,t=new Map)}return{get:function(e){var r=t.get(e);return void 0!==r?r:void 0!==(r=n.get(e))?(o(e,r),r):void 0},set:function(e,r){t.has(e)?t.set(e,r):o(e,r)}}}(e.cacheSize),splitModifiers:(t=1===(r=e.separator||":").length,n=r[0],o=r.length,function(e){for(var a,l=[],i=0,s=0,d=0;d<e.length;d++){var c=e[d];if(0===i){if(c===n&&(t||e.slice(d,d+o)===r)){l.push(e.slice(s,d)),s=d+o;continue}if("/"===c){a=d;continue}}"["===c?i++:"]"===c&&i--}var u=0===l.length?e:e.substring(s),g=u.startsWith("!"),b=g?u.substring(1):u;return{modifiers:l,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:a&&a>s?a-s:void 0}}),...(c=e.theme,u=e.prefix,g={nextPart:new Map,validators:[]},(b=Object.entries(e.classGroups),u?b.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):b).forEach(function(e){var r=e[0];(function e(r,t,n,o){r.forEach(function(r){if("string"==typeof r){(""===r?t:d(t,r)).classGroupId=n;return}if("function"==typeof r){if(r.isThemeGetter){e(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(function(r){var a=r[0];e(r[1],d(t,a),n,o)})})})(e[1],g,r,c)}),a=e.conflictingClassGroups,i=void 0===(l=e.conflictingClassGroupModifiers)?{}:l,{getClassGroupId:function(e){var r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(r,t){if(0===r.length)return t.classGroupId;var n=r[0],o=t.nextPart.get(n),a=o?e(r.slice(1),o):void 0;if(a)return a;if(0!==t.validators.length){var l=r.join("-");return t.validators.find(function(e){return(0,e.validator)(l)})?.classGroupId}}(r,g)||function(e){if(s.test(e)){var r=s.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}(e)},getConflictingClassGroupIds:function(e,r){var t=a[e]||[];return r&&i[e]?[].concat(t,i[e]):t}})}}(o.slice(1).reduce(function(e,r){return r(e)}
1,a()))).cache.get,t=e.cache.set,l=i,i(n)};function i(n){var o,a,l,i,s,d=r(n);if(d)return d;var u=(a=(o=e).splitModifiers,l=o.getClassGroupId,i=o.getConflictingClassGroupIds,s=new Set,n.trim().split(c).map(function(e){var r=a(e),t=r.modifiers,n=r.hasImportantModifier,o=r.baseClassName,i=r.maybePostfixModifierPosition,s=l(i?o.substring(0,i):o),d=!!i;if(!s){if(!i||!(s=l(o)))return{isTailwindClass:!1,originalClassName:e};d=!1}var c=(function(e){if(e.length<=1)return e;var r=[],t=[];return e.forEach(function(e){"["===e[0]?(r.push.apply(r,t.sort().concat([e])),t=[]):t.push(e)}),r.push.apply(r,t.sort()),r})(t).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:s,originalClassName:e,hasPostfixModifier:d}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var r=e.modifierId,t=e.classGroupId,n=e.hasPostfixModifier,o=r+t;return!s.has(o)&&(s.add(o),i(t,n).forEach(function(e){return s.add(r+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return t(n,u),u}return function(){return l(u.apply(null,arguments))}}(function(){var e=g("colors"),r=g("spacing"),t=g("blur"),n=g("brightness"),o=g("borderColor"),a=g("borderRadius"),l=g("borderSpacing"),i=g("borderWidth"),s=g("contrast"),d=g("grayscale"),c=g("hueRotate"),u=g("invert"),b=g("gap"),f=g("gradientColorStops"),p=g("gradientColorStopPositions"),m=g("inset"),h=g("margin"),y=g("opacity"),P=g("padding"),z=g("saturate"),L=g("scale"),O=g("sepia"),A=g("skew"),D=g("space"),F=g("translate"),B=function(){return["auto","contain","none"]},G=function(){return["auto","hidden","clip","visible","scroll"]},_=function(){return["auto",T,r]},W=function(){return[T,r]},$=function(){return["",x]},K=function(){return["auto",C,T]},H=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},U=function(){return["solid","dashed","dotted","double","none"]},Y=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},X=function(){return["start","end","center","between","around","evenly","stretch"]},q=function(){return["","0",T]},V=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},Z=function(){return[C,j]},J=function(){return[C,T]};return{cacheSize:500,theme:{colors:[S],spacing:[x],blur:["none","",M,T],brightness:Z(),borderColor:[e],borderRadius:["none","","full",M,T],borderSpacing:W(),borderWidth:$(),contrast:Z(),grayscale:q(),hueRotate:J(),invert:q(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[E,v],inset:_(),margin:_(),opacity:Z(),padding:W(),saturate:Z(),scale:Z(),sepia:q(),skew:J(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",T]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(H(),[T])}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",T]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",R]}],"grid-cols":[{"grid-cols":[S]}],"col-start-end":[{col:["auto",{span:["full",R]},T]}],"col-start":[{"col-start":K()}
vendor: 4,942 bytes, line 1
1],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[S]}],"row-start-end":[{row:["auto",{span:[R]},T]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",T]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",T]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal"].concat(X())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(X(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(X(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",T,r]}],"min-w":[{"min-w":["min","max","fit",T,x]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[M]},M,T]}],h:[{h:[T,r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",T,x]}],"max-h":[{"max-h":[T,r,"min","max","fit"]}],"font-size":[{text:["base",M,v]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[S]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",T]}],"line-clamp":[{"line-clamp":["none",C,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,x]}],"list-image":[{"list-image":["none",T]}],"list-style-type":[{list:["none","disc","decimal",T]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(U(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",x]}],"underline-offset":[{"underline-offset":["auto",T,x]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(H(),[k])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",w]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},N]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}
vendor: 4,175 bytes, line 1
1],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[].concat(U(),["hidden"])}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(U())}],"outline-offset":[{"outline-offset":[T,x]}],"outline-w":[{outline:[x]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[x]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,I]}],"shadow-color":[{shadow:[S]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":Y()}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",M,T]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[u]}],saturate:[{saturate:[z]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",T]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",T]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",T]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[R,T]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",T]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
1],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function B(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function G(e){if(!B(e))return e;let r={...e};return Object.keys(e).forEach(t=>{r[t]=G(e[t])}),r}function _(e,r){if(B(r)&&0===Object.keys(r).length)return G({...e,...r});let t={...e,...r};return B(r)&&B(e)&&Object.keys(r).forEach(n=>{B(r[n])&&n in e&&B(e[n])?t[n]=_(e[n],r[n]):t[n]=B(r[n])?G(r[n]):r[n]}),t}let W=(0,a.createContext)(void 0);function $(){let e=(0,a.useContext)(W);if(!e)throw Error("useAccordionContext should be used within the AccordionPanelContext provider!");return e}let K=({children:e,className:r,theme:t={},...n})=>{let{isOpen:a}=$(),l=_(ey().theme.accordion.content,t);return(0,o.jsx)("div",{className:F(l.base,r),"data-testid":"flowbite-accordion-content",hidden:!a,...n,children:e})},H=({children:e,...r})=>{let{alwaysOpen:t}=r,[n,l]=(0,a.useState)(r.isOpen),i=t?{...r,isOpen:n,setOpen:()=>l(!n)}:r;return(0,o.jsx)(W.Provider,{value:i,children:e})},U=({as:e="h2",children:r,className:t,theme:n={},...a})=>{let{arrowIcon:l,flush:i,isOpen:s,setOpen:d}=$(),c=_(ey().theme.accordion.title,n);return(0,o.jsxs)("button",{className:F(c.base,c.flush[i?"on":"off"],c.open[s?"on":"off"],t),onClick:()=>void 0!==d&&d(),type:"button",...a,children:[(0,o.jsx)(e,{className:c.heading,"data-testid":"flowbite-accordion-heading",children:r}),l&&(0,o.jsx)(l,{"aria-hidden":!0,className:F(c.arrow.base,c.arrow.open[s?"on":"off"]),"data-testid":"flowbite-accordion-arrow"})]})},Y=({alwaysOpen:e=!1,arrowIcon:r=i.kWQ,children:t,flush:n=!1,collapseAll:l=!1,className:s,theme:d={},...c})=>{let[u,g]=(0,a.useState)(l?-1:0),b=(0,a.useMemo)(()=>a.Children.map(t,(t,o)=>(0,a.cloneElement)(t,{alwaysOpen:e,arrowIcon:r,flush:n,isOpen:u===o,setOpen:()=>g(u===o?-1:o)})),[e,r,t,n,u]),f=_(ey().theme.accordion.root,d);return(0,o.jsx)("div",{className:F(f.base,f.flush[n?"on":"off"],s),"data-testid":"flowbite-accordion",...c,children:b})};Y.displayName="Accordion",H.displayName="Accordion.Panel",U.displayName="Accordion.Title",K.displayName="Accordion.Content",Object.assign(Y,{Panel:H,Title:U,Content:K});let X=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.avatar.group,t);return(0,o.jsx)("div",{"data-testid":"avatar-group-element",className:F(a.base,r),...n,children:e})};X.displayName="Avatar.Group";let q=({className:e,href:r,theme:t={},total:n,...a})=>{let l=_(ey().theme.avatar.groupCounter,t);return(0,o.jsxs)("a",{href:r,className:F(l.base,e),...a,children:["+",n]})};q.displayName="Avatar.GroupCounter";let V=({alt:e="",bordered:r=!1,children:t,className:n,color:a="light",img:l,placeholderInitials:i="",rounded:s=!1,size:d="md",stacked:c=!1,status:u,statusPosition:g="top-left",theme:b={},...f})=>{let p=_(ey().theme.avatar,b),m=F(p.root.img.base,r&&p.root.bordered,r&&p.root.color[a],s&&p.root.rounded,c&&p.root.stacked,p.root.img.on,p.root.size[d]),h={className:F(m,p.root.img.on),"data-testid":"flowbite-avatar-img"};return(0,o.jsxs)("div",{className:F(p.root.base,n),"data-testid":"flowbite-avatar",...f,children:[(0,o.jsxs)("div",{className:"relative",children:[l?"string"==typeof l?(0,o.jsx)("img",{alt:e,src:l,...h}):l({alt:e,...h}):i?(0,o.jsx)("div",{className:F(p.root.img.off,p.root.initials.base,c&&p.root.stacked,r&&p.root.bordered,r&&p.root.color[a],p.root.size[d],s&&p.root.rounded),"data-testid":"flowbite-avatar-initials-placeholder",children:(0,o.jsx)("span",{className:F(p.root.initials.text),"data-testid":"flowbite-avatar-initials-placeholder-text",children:i})}):(0,o.jsx)("div",{className:F(m,p.root.img.off),"data-testid":"flowbite-avatar-img",children:(0,o.jsx)("svg",{className:p.root.img.placeholder,fill:"
1currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",clipRule:"evenodd"})})}),u&&(0,o.jsx)("span",{"data-testid":"flowbite-avatar-status",className:F(p.root.status.base,p.root.status[u],p.root.statusPosition[g])})]}),t&&(0,o.jsx)("div",{children:t})]})};V.displayName="Avatar",Object.assign(V,{Group:X,Counter:q});let Z=({children:e,color:r="info",href:t,icon:n,size:a="xs",className:l,theme:i={},...s})=>{let d=_(ey().theme.badge,i),c=()=>(0,o.jsxs)("span",{className:F(d.root.base,d.root.color[r],d.icon[n?"on":"off"],d.root.size[a],l),"data-testid":"flowbite-badge",...s,children:[n&&(0,o.jsx)(n,{"aria-hidden":!0,className:d.icon.size[a],"data-testid":"flowbite-badge-icon"}),e&&(0,o.jsx)("span",{children:e})]});return t?(0,o.jsx)("a",{className:d.root.href,href:t,children:(0,o.jsx)(c,{})}):(0,o.jsx)(c,{})};Z.displayName="Badge";let J=(0,a.forwardRef)(({children:e,className:r,href:t,icon:n,theme:a={},...l},s)=>{let d=void 0!==t,c=_(ey().theme.breadcrumb.item,a);return(0,o.jsxs)("li",{className:F(c.base,r),...l,children:[(0,o.jsx)(i.yoF,{"aria-hidden":!0,className:c.chevron,"data-testid":"flowbite-breadcrumb-separator"}),(0,o.jsxs)(d?"a":"span",{ref:s,className:c.href[d?"on":"off"],"data-testid":"flowbite-breadcrumb-item",href:t,children:[n&&(0,o.jsx)(n,{"aria-hidden":!0,className:c.icon}),e]})]})});J.displayName="Breadcrumb.Item";let Q=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.breadcrumb.root,t);return(0,o.jsx)("nav",{"aria-label":"Breadcrumb",className:F(a.base,r),...n,children:(0,o.jsx)("ol",{className:a.list,children:e})})};Q.displayName="Breadcrumb",Object.assign(Q,{Item:J});let ee=(0,a.forwardRef)(({children:e,as:r="button",href:t,...n},o)=>(0,a.createElement)(t?"a":r??"button",{ref:o,href:t,type:"button"===r?"button":void 0,...n},e));ee.displayName="Button";let er=({children:e,className:r,outline:t,pill:n,theme:l={},...i})=>{let s=(0,a.useMemo)(()=>a.Children.map(e,(r,o)=>(0,a.cloneElement)(r,{outline:t,pill:n,positionInGroup:0===o?"start":o===e.length-1?"end":"middle"})),[e,t,n]),d=_(ey().theme.buttonGroup,l);return(0,o.jsx)("div",{className:F(d.base,r),role:"group",...i,children:s})};er.displayName="Button.Group";let et=(0,a.forwardRef)(({children:e,className:r,color:t="info",disabled:n=!1,fullSized:a,isProcessing:l=!1,processingLabel:i="Loading...",processingSpinner:s=(0,o.jsx)(tI,{}),gradientDuoTone:d,gradientMonochrome:c,label:u,outline:g=!1,pill:b=!1,positionInGroup:f="none",size:p="md",theme:m={},...h},y)=>{let{buttonGroup:x,button:v}=ey().theme,w=_(v,m);return(0,o.jsx)(ee,{disabled:n,ref:y,className:F(w.base,n&&w.disabled,!d&&!c&&w.color[t],d&&!c&&w.gradientDuoTone[d],!d&&c&&w.gradient[c],g&&(w.outline.color[t]??w.outline.color.default),w.pill[b?"on":"off"],a&&w.fullSized,x.position[f],r),...h,children:(0,o.jsx)("span",{className:F(w.inner.base,w.outline[g?"on":"off"],w.outline.pill[g&&b?"on":"off"],w.size[p],g&&!w.outline.color[t]&&w.inner.outline,l&&w.isProcessing,w.inner.position[f]),children:(0,o.jsxs)(o.Fragment,{children:[l&&(0,o.jsx)("span",{className:F(w.spinnerSlot),children:s}),void 0!==e?e:(0,o.jsx)("span",{"data-testid":"flowbite-button-label",className:F(w.label),children:l?i:u})]})})})});et.displayName="Button";let en=Object.assign(et,{Group:er});var eo,ea,el=function(e,r){return(el=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)},ei=(eo=ea={path:void 0,exports:{},require:function(e,r){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==r&&ea.path)}},ea.exports,function(){var e={}.hasOwnProperty;function r(){for(var t=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var a=typeof o;if("string"===a||"number"===a)t.push(o);else if(Array.isArray(o)&&o.length){var l=r.apply(null,o);l&&t.push(l)}else if("object"===a)for(var i in o)e.call(o,i)&&o[i]&&t.push(i)}}return t.join(" ")}eo.exports?(r.default=r,eo.exports=r):window.classNames=r}
1(),ea.exports);function es(e,r,t){function n(){var d=Date.now()-i;d<r&&d>=0?o=setTimeout(n,r-d):(o=null,t||(s=e.apply(l,a),l=a=null))}null==r&&(r=100);var o,a,l,i,s,d=function(){l=this,a=arguments,i=Date.now();var d=t&&!o;return o||(o=setTimeout(n,r)),d&&(s=e.apply(l,a),l=a=null),s};return d.clear=function(){o&&(clearTimeout(o),o=null)},d.flush=function(){o&&(s=e.apply(l,a),l=a=null,clearTimeout(o),o=null)},d}es.debounce=es,function(e,r){void 0===r&&(r={});var t=r.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".indiana-scroll-container {\n overflow: auto;\n}\n.indiana-scroll-container--dragging {\n scroll-behavior: auto !important;\n}\n.indiana-scroll-container--dragging > * {\n pointer-events: none;\n cursor: -webkit-grab;\n cursor: grab;\n}\n.indiana-scroll-container--hide-scrollbars {\n overflow: hidden;\n overflow: -moz-scrollbars-none;\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n display: none !important;\n height: 0 !important;\n width: 0 !important;\n background: transparent !important;\n -webkit-appearance: none !important;\n}\n.indiana-scroll-container--native-scroll {\n overflow: auto;\n}\n\n.indiana-dragging {\n cursor: -webkit-grab;\n cursor: grab;\n}");var ed,ec=(ed="indiana-scroll-container",function(e,r){if(!e)return ed;"string"==typeof e?t=e:r=e;var t,n=ed;return t&&(n+="__"+t),n+(r?Object.keys(r).reduce(function(e,t){var o=r[t];return o&&(e+=" "+("boolean"==typeof o?n+"--"+t:n+"--"+t+"_"+o)),e},""):"")}),eu=function(e){function r(r){var t=e.call(this,r)||this;return t.onEndScroll=function(){t.scrolling=!1,!t.pressed&&t.started&&t.processEnd()},t.onScroll=function(e){var r=t.container.current;r.scrollLeft===t.scrollLeft&&r.scrollTop===t.scrollTop||(t.scrolling=!0,t.processScroll(e),t.onEndScroll())},t.onTouchStart=function(e){var r=t.props.nativeMobileScroll;if(t.isDraggable(e.target)){if(t.internal=!0,r&&t.scrolling)t.pressed=!0;else{var n=e.touches[0];t.processClick(e,n.clientX,n.clientY),!r&&t.props.stopPropagation&&e.stopPropagation()}}},t.onTouchEnd=function(e){var r=t.props.nativeMobileScroll;t.pressed&&(!t.started||t.scrolling&&r?t.pressed=!1:t.processEnd(),t.forceUpdate())},t.onTouchMove=function(e){var r=t.props.nativeMobileScroll;if(t.pressed&&(!r||!t.isMobile)){var n=e.touches[0];n&&t.processMove(e,n.clientX,n.clientY),e.preventDefault(),t.props.stopPropagation&&e.stopPropagation()}},t.onMouseDown=function(e){t.isDraggable(e.target)&&t.isScrollable()&&(t.internal=!0,-1!==t.props.buttons.indexOf(e.button)&&(t.processClick(e,e.clientX,e.clientY),e.preventDefault(),t.props.stopPropagation&&e.stopPropagation()))},t.onMouseMove=function(e){t.pressed&&(t.processMove(e,e.clientX,e.clientY),e.preventDefault(),t.props.stopPropagation&&e.stopPropagation())},t.onMouseUp=function(e){t.pressed&&(t.started?t.processEnd():(t.internal=!1,t.pressed=!1,t.forceUpdate(),t.props.onClick&&t.props.onClick(e)),e.preventDefault(),t.props.stopPropagation&&e.stopPropagation())},t.container=a.createRef(),t.onEndScroll=es(t.onEndScroll,300),t.scrolling=!1,t.started=!1,t.pressed=!1,t.internal=!1,t.getRef=t.getRef.bind(t),t}return function(e,r){function t(){this.constructor=e}el(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}(r,e),r.prototype.componentDidMount=function(){var e=this.props.nativeMobileScroll,r=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),r.addEventListener("touchstart",this.onTouchStart,{passive:!1}),r.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},r.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},r.prototype.getElement=function(){return this.container.current},r.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},r.prototype.isDraggable=function(e){var r=this.props.ignoreElements;if(r){var t=e.closest(r);return null===t||t.contains(this.getElement())}return!0},r.prototype.isScrollable=function(){var e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)},r.prototype.processClick=function(e,r,t){var n=this.container.current;this.scrollLeft=n.scrollLeft,this.scrollTop=n.scrollTop,this.clientX=r,this.clientY=t,this.pressed=!0},r.prototype.processStart=function(e){void 0===e&&(e=!0);var r=this.props.onStartScroll;this.started=!0,e&&document.body.classList.add("indiana-dragging"),r&&r({external:!this.internal}),this.forceUpdate()},r.prototype.processScroll=function(e){if(this.started){var r=this.props.onScroll;r&&r({external:!this.internal})}else this.processStart(!1)},r.prototype.processMove=function(e,r,t){var n=this.props,o=n.horizontal,a=n.vertical,l=n.activationDistance,i=n.onScroll,s=this.container.current;this.started?(o&&(s.scrollLeft-=r-this.clientX),a&&(s.scrollTop-=t-this.clientY),i&&i({external:!this.internal}),this.clientX=r,this.clientY=t,this.scrollLeft=s.scrollLeft,this.scrollTop=s.scrollTop):(o&&Math.abs(r-this.clientX)>l||a&&Math.abs(t-this.clientY)>l)&&(this.clientX=r,this.clientY=t,this.processStart())},r.prototype.processEnd=function(){var e=this.props.onEndScroll;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},r.prototype.getRef=function(e){[this.container,this.props.innerRef].forEach(function(r){r&&("function"==typeof r?r(e):r.current=e)})},r.prototype.render=function(){var e=this.props,r=e.children,t=e.draggingClassName,n=e.className,o=e.style,l=e.hideScrollbars,i=e.component;return a.createElement(i,{className:ei(n,this.pressed&&t,ec({dragging:this.pressed,"hide-scrollbars":l,"native-scroll":this.isMobile})),style:o,ref:this.getRef,onScroll:this.onScroll},r)},r.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},r}
1(a.PureComponent);let eg=()=>"undefined"!=typeof window,eb=({children:e,indicators:r=!0,leftControl:t,rightControl:n,slide:l=!0,slideInterval:i,className:s,theme:d={},onSlideChange:c=null,...u})=>{let g=_(ey().theme.carousel,d),b=eg()&&-1!==navigator.userAgent.indexOf("IEMobile"),f=(0,a.useRef)(null),[p,m]=(0,a.useState)(0),[h,y]=(0,a.useState)(!1),x=(0,a.useRef)(!1),v=(0,a.useMemo)(()=>a.Children.map(e,e=>(0,a.cloneElement)(e,{className:F(g.item.base,e.props.className)})),[e,g.item.base]),w=(0,a.useCallback)(e=>()=>{v&&(e=(e+v.length)%v.length,f.current&&(f.current.scrollLeft=f.current.clientWidth*e),m(e))},[v]);(0,a.useEffect)(()=>{f.current&&!h&&0!==f.current.scrollLeft&&m(Math.round(f.current.scrollLeft/f.current.clientWidth))},[h]),(0,a.useEffect)(()=>{if(l){let e=setInterval(()=>!h&&w(p+1)(),i??3e3);return()=>clearInterval(e)}},[p,h,w,l,i]),(0,a.useEffect)(()=>{x.current?c&&c(p):x.current=!0},[c,p]);let k=e=>()=>y(e);return(0,o.jsxs)("div",{className:F(g.root.base,s),"data-testid":"carousel",...u,children:[(0,o.jsx)(eu,{className:F(g.scrollContainer.base,(b||!h)&&g.scrollC
1ontainer.snap),draggingClassName:"cursor-grab",innerRef:f,onEndScroll:k(!1),onStartScroll:k(!0),vertical:!1,children:v?.map((e,r)=>o.jsx("div",{className:g.item.wrapper,"data-active":p===r,"data-testid":"carousel-item",children:e},r))}),r&&(0,o.jsx)("div",{className:g.indicators.wrapper,children:v?.map((e,r)=>o.jsx("button",{className:F(g.indicators.base,g.indicators.active[r===p?"on":"off"]),onClick:w(r),"data-testid":"carousel-indicator","aria-label":`Slide ${r+1}`},r))}),v&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:g.root.leftControl,children:(0,o.jsx)("button",{className:"group","data-testid":"carousel-left-control",onClick:w(p-1),type:"button","aria-label":"Previous slide",children:t||(0,o.jsx)(ef,{})})}),(0,o.jsx)("div",{className:g.root.rightControl,children:(0,o.jsx)("button",{className:"group","data-testid":"carousel-right-control",onClick:w(p+1),type:"button","aria-label":"Next slide",children:n||(0,o.jsx)(ep,{})})})]})]})},ef=()=>{let e=ey().theme.carousel;return(0,o.jsx)("span",{className:e.control.base,children:(0,o.jsx)(i.PSe,{className:e.control.icon})})},ep=()=>{let e=ey().theme.carousel;return(0,o.jsx)("span",{className:e.control.base,children:(0,o.jsx)(i.yoF,{className:e.control.icon})})};eb.displayName="Carousel",(0,a.forwardRef)(({className:e,theme:r={},...t},n)=>{let a=_(ey().theme.checkbox,r);return(0,o.jsx)("input",{ref:n,type:"checkbox",className:F(a.root.base,e),...t})}).displayName="Checkbox";let em={accordion:{root:{base:"divide-y divide-gray-200 border-gray-200 dark:divide-gray-700 dark:border-gray-700",flush:{off:"rounded-lg border",on:"border-b"}},content:{base:"py-5 px-5 last:rounded-b-lg dark:bg-gray-900 first:rounded-t-lg"},title:{arrow:{base:"h-6 w-6 shrink-0",open:{off:"",on:"rotate-180"}},base:"flex w-full items-center justify-between first:rounded-t-lg last:rounded-b-lg py-5 px-5 text-left font-medium text-gray-500 dark:text-gray-400",flush:{off:"hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:hover:bg-gray-800 dark:focus:ring-gray-800",on:"bg-transparent dark:bg-transparent"},heading:"",open:{off:"",on:"text-gray-900 bg-gray-100 dark:bg-gray-800 dark:text-white"}}},alert:{base:"flex flex-col gap-2 p-4 text-sm",borderAccent:"border-t-4",closeButton:{base:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 focus:ring-2",icon:"w-5 h-5",color:{info:"bg-cyan-100 text-cyan-500 hover:bg-cyan-200 focus:ring-cyan-400 dark:bg-cyan-200 dark:text-cyan-600 dark:hover:bg-cyan-300",gray:"bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-white",failure:"bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300",success:"bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300",warning:"bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300",red:"bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300",green:"bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300",yellow:"bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300",blue:"bg-cyan-100 text-cyan-500 hover:bg-cyan-200 focus:ring-cyan-400 dark:bg-cyan-200 dark:text-cyan-600 dark:hover:bg-cyan-300",cyan:"bg-cyan-100 text-cyan-500 hover:bg-cyan-200 focus:ring-cyan-400 dark:bg-cyan-200 dark:text-cyan-600 dark:hover:bg-cyan-300",pink:"bg-pink-100 text-pink-500 hover:bg-pink-200 focus:ring-pink-400 dark:bg-pink-200 dark:text-pink-600 dark:hover:bg-pink-300",lime:"bg-lime-100 text-lime-500 hover:bg-lime-200 focus:ring-lime-400 dark:bg-lime-200 dark:text-lime-600 dark:hover:bg-lime-300",dark:"bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-200 dark:text-gray-600 dark:hover:bg-gray-300",indigo:"bg-indigo-100 text-indigo-500 hover:bg-indigo-200 focus:ring-indigo-400 dark:bg-indigo-200 dark:text-indigo-600 dark:hover:bg-indigo-300",purple:"bg-purple-100 text-purple-500 hover:bg-purple-200 focus:ring-purple-400 dark:bg-purple-200 dark:text-purple-600 dar
1k:hover:bg-purple-300",teal:"bg-teal-100 text-teal-500 hover:bg-teal-200 focus:ring-teal-400 dark:bg-teal-200 dark:text-teal-600 dark:hover:bg-teal-300",light:"bg-gray-50 text-gray-500 hover:bg-gray-100 focus:ring-gray-200 dark:bg-gray-600 dark:text-gray-200 dark:hover:bg-gray-700 dark:hover:text-white"}},color:{info:"text-cyan-700 bg-cyan-100 border-cyan-500 dark:bg-cyan-200 dark:text-cyan-800",gray:"text-gray-700 bg-gray-100 border-gray-500 dark:bg-gray-700 dark:text-gray-300",failure:"text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800",success:"text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800",warning:"text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800",red:"text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800",green:"text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800",yellow:"text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800",blue:"text-cyan-700 bg-cyan-100 border-cyan-500 dark:bg-cyan-200 dark:text-cyan-800",cyan:"text-cyan-700 bg-cyan-100 border-cyan-500 dark:bg-cyan-200 dark:text-cyan-800",pink:"text-pink-700 bg-pink-100 border-pink-500 dark:bg-pink-200 dark:text-pink-800",lime:"text-lime-700 bg-lime-100 border-lime-500 dark:bg-lime-200 dark:text-lime-800",dark:"text-gray-200 bg-gray-800 border-gray-600 dark:bg-gray-900 dark:text-gray-300",indigo:"text-indigo-700 bg-indigo-100 border-indigo-500 dark:bg-indigo-200 dark:text-indigo-800",purple:"text-purple-700 bg-purple-100 border-purple-500 dark:bg-purple-200 dark:text-purple-800",teal:"text-teal-700 bg-teal-100 border-teal-500 dark:bg-teal-200 dark:text-teal-800",light:"text-gray-600 bg-gray-50 border-gray-400 dark:bg-gray-500 dark:text-gray-200"},icon:"mr-3 inline h-5 w-5 flex-shrink-0",rounded:"rounded-lg",wrapper:"flex items-center"},avatar:{root:{base:"flex justify-center items-center space-x-4 rounded",bordered:"p-1 ring-2",rounded:"rounded-full",color:{dar
1k:"ring-gray-800 dark:ring-gray-800",failure:"ring-red-500 dark:ring-red-700",gray:"ring-gray-500 dark:ring-gray-400",info:"ring-cyan-400 dark:ring-cyan-800",light:"ring-gray-300 dark:ring-gray-500",purple:"ring-purple-500 dark:ring-purple-600",success:"ring-green-500 dark:ring-green-500",warning:"ring-yellow-300 dark:ring-yellow-500",pink:"ring-pink-500 dark:ring-pink-500"},img:{base:"rounded",off:"relative overflow-hidden bg-gray-100 dark:bg-gray-600",on:"",placeholder:"absolute w-auto h-auto text-gray-400 -bottom-1"},size:{xs:"w-6 h-6",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-20 h-20",xl:"w-36 h-36"},stacked:"ring-2 ring-gray-300 dark:ring-gray-500",statusPosition:{"bottom-left":"-bottom-1 -left-1","bottom-center":"-bottom-1 center","bottom-right":"-bottom-1 -right-1","top-left":"-top-1 -left-1","top-center":"-top-1 center","top-right":"-top-1 -right-1","center-right":"center -right-1",center:"center center","center-left":"center -left-1"},status:{away:"bg-yellow-400",base:"absolute h-3.5 w-3.5 rounded-full border-2 border-white dark:border-gray-800",busy:"bg-red-400",offline:"bg-gray-400",online:"bg-green-400"},initials:{text:"font-medium text-gray-600 dark:text-gray-300",base:"inline-flex overflow-hidden relative justify-center items-center bg-gray-100 dark:bg-gray-600"}},group:{base:"flex -space-x-4"},groupCounter:{base:"relative flex items-center justify-center w-10 h-10 text-xs font-medium text-white bg-gray-700 rounded-full ring-2 ring-gray-300 hover:bg-gray-600 dark:ring-gray-500"}},badge:{root:{base:"flex h-fit items-center gap-1 font-semibold",color:{info:"bg-cyan-100 text-cyan-800 dark:bg-cyan-200 dark:text-cyan-800 group-hover:bg-cyan-200 dark:group-hover:bg-cyan-300",gray:"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300 group-hover:bg-gray-200 dark:group-hover:bg-gray-600",failure:"bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300",success:"bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300",warning:"bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300",indigo:"bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900 group-hover:bg-indigo-200 dark:group-hover:bg-indigo-300",purple:"bg-purple-100 text-purple-800 dark:bg-purple-200 dark:text-purple-900 group-hover:bg-purple-200 dark:group-hover:bg-purple-300",pink:"bg-pink-100 text-pink-800 dark:bg-pink-200 dark:text-pink-900 group-hover:bg-pink-200 dark:group-hover:bg-pink-300",blue:"bg-cyan-100 text-cyan-800 dark:bg-cyan-200 dark:text-cyan-900 group-hover:bg-cyan-200 dark:group-hover:bg-cyan-300",cyan:"bg-cyan-100 text-cyan-800 dark:bg-cyan-200 dark:text-cyan-900 group-hover:bg-cyan-200 dark:group-hover:bg-cyan-300",dark:"bg-gray-600 text-gray-100 dark:bg-gray-900 dark:text-gray-200 group-hover:bg-gray-500 dark:group-hover:bg-gray-700",light:"bg-gray-200 text-gray-800 dark:bg-gray-400 dark:text-gray-900 group-hover:bg-gray-300 dark:group-hover:bg-gray-500",green:"bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300",lime:"bg-lime-100 text-lime-800 dark:bg-lime-200 dark:text-lime-900 group-hover:bg-lime-200 dark:group-hover:bg-lime-300",red:"bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300",teal:"bg-teal-100 text-teal-800 dark:bg-teal-200 dark:text-teal-900 group-hover:bg-teal-200 dark:group-hover:bg-teal-300",yellow:"bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300"},href:"group",size:{xs:"p-1 text-xs",sm:"p-1.5 text-sm"}},icon:{off:"rounded px-2 py-0.5",on:"rounded-full p-1.5",size:{xs:"w-3 h-3",sm:"w-3.5 h-3.5"}}},breadcrumb:{root:{base:"",list:"flex items-center"},item:{base:"group flex items-center",chevron:"mx-1 h-6 w-6 text-gray-400 group-first:hidden md:mx-2",href:{off:"flex items-center text-sm font-medium text-gray-500 dark:text-gray-400",on:"flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white"},icon:"mr-2 h-4 w-4"}},button:{base:"group flex h-min items-center justify-center p-0.5 text-center font-medium focus:z-10 focus:outline-none",fullSized:"w-full",color:{dar
1k:"text-white bg-gray-800 border border-transparent enabled:hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 dark:bg-gray-800 dark:enabled:hover:bg-gray-700 dark:focus:ring-gray-800 dark:border-gray-700",failure:"text-white bg-red-700 border border-transparent enabled:hover:bg-red-800 focus:ring-4 focus:ring-red-300 dark:bg-red-600 dark:enabled:hover:bg-red-700 dark:focus:ring-red-900",gray:"text-gray-900 bg-white border border-gray-200 enabled:hover:bg-gray-100 enabled:hover:text-cyan-700 :ring-cyan-700 focus:text-cyan-700 dark:bg-transparent dark:text-gray-400 dark:border-gray-600 dark:enabled:hover:text-white dark:enabled:hover:bg-gray-700 focus:ring-2",info:"text-white bg-cyan-700 border border-transparent enabled:hover:bg-cyan-800 focus:ring-4 focus:ring-cyan-300 dark:bg-cyan-600 dark:enabled:hover:bg-cyan-700 dark:focus:ring-cyan-800",light:"text-gray-900 bg-white border border-gray-300 enabled:hover:bg-gray-100 focus:ring-4 focus:ring-cyan-300 :bg-gray-600 dark:text-white dark:border-gray-600 dark:enabled:hover:bg-gray-700 dark:enabled:hover:border-gray-700 dark:focus:ring-gray-700",purple:"text-white bg-purple-700 border border-transparent enabled:hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 dark:bg-purple-600 dark:enabled:hover:bg-purple-700 dark:focus:ring-purple-900",success:"text-white bg-green-700 border border-transparent enabled:hover:bg-green-800 focus:ring-4 focus:ring-green-300 dark:bg-green-600 dark:enabled:hover:bg-green-700 dark:focus:ring-green-800",warning:"text-white bg-yellow-400 border border-transparent enabled:hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 dark:focus:ring-yellow-900",blue:"text-cyan-900 bg-white border border-cyan-300 enabled:hover:bg-cyan-100 focus:ring-4 focus:ring-cyan-300 :bg-cyan-600 dark:text-white dark:border-cyan-600 dark:enabled:hover:bg-cyan-700 dark:enabled:hover:border-cyan-700 dark:focus:ring-cyan-700",cyan:"text-cyan-900 bg-white border border-cyan-300 enabled:hover:bg-cyan-100 focus:ring-4 focus:ring-cyan-300 :bg-cyan-600 dark:text-white dark:border-cyan-600 dark:enabled:hover:bg-cyan-700 dark:enabled:hover:border-cyan-700 dark:focus:ring-cyan-700",green:"text-green-900 bg-white border border-green-300 enabled:hover:bg-green-100 focus:ring-4 focus:ring-green-300 :bg-green-600 dark:text-white dark:border-green-600 dark:enabled:hover:bg-green-700 dark:enabled:hover:border-green-700 dark:focus:ring-green-700",indigo:"text-indigo-900 bg-white border border-indigo-300 enabled:hover:bg-indigo-100 focus:ring-4 focus:ring-indigo-300 :bg-indigo-600 dark:text-white dark:border-indigo-600 dark:enabled:hover:bg-indigo-700 dark:enabled:hover:border-indigo-700 dark:focus:ring-indigo-700",lime:"text-lime-900 bg-white border border-lime-300 enabled:hover:bg-lime-100 focus:ring-4 focus:ring-lime-300 :bg-lime-600 dark:text-white dark:border-lime-600 dark:enabled:hover:bg-lime-700 dark:enabled:hover:border-lime-700 dark:focus:ring-lime-700",pink:"text-pink-900 bg-white border border-pink-300 enabled:hover:bg-pink-100 focus:ring-4 focus:ring-pink-300 :bg-pink-600 dark:text-white dark:border-pink-600 dark:enabled:hover:bg-pink-700 dark:enabled:hover:border-pink-700 dark:focus:ring-pink-700",red:"text-red-900 bg-white border border-red-300 enabled:hover:bg-red-100 focus:ring-4 focus:ring-red-300 :bg-red-600 dark:text-white dark:border-red-600 dark:enabled:hover:bg-red-700 dark:enabled:hover:border-red-700 dark:focus:ring-red-700",teal:"text-teal-900 bg-white border border-teal-300 enabled:hover:bg-teal-100 focus:ring-4 focus:ring-teal-300 :bg-teal-600 dark:text-white dark:border-teal-600 dark:enabled:hover:bg-teal-700 dark:enabled:hover:border-teal-700 dark:focus:ring-teal-700",yellow:"text-yellow-900 bg-white border border-yellow-300 enabled:hover:bg-yellow-100 focus:ring-4 focus:ring-yellow-300 :bg-yellow-600 dark:text-white dark:border-yellow-600 dark:enabled:hover:bg-yellow-700 dark:enabled:hover:border-yellow-700 dark:focus:ring-yellow-700"},disabled:"cursor-not-allowed opacity-50",isProcessing:"cursor-wait",spinnerSlot:"mr-3",gradient:{cyan:"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",failure:"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-red-300 dark:focus:ring-red-800",info:"text-white bg-gradient-to-r from-cyan-500 via-cyan-600 to-cyan-700 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800 ",lime:"text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-lime-300 dark:focus:ring-lime-800",pink:"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-pink-300 dark:focus:ring-pink-800",purple:"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-purple-300 dark:focus:ring-purple-800",success:"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-green-300 dark:focus:ring-green-800",teal:"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-teal-300 dark:focus:ring-teal-800"},gradientDuoTone:{cyanToBlue:"text-white bg-gradient-to-r from-cyan-500 to-cyan-500 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",greenToBlue:"text-white bg-gradient-to-br from-green-400 to-cyan-600 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-green-200 dark:focus:ring-green-800",pinkToOrange:"text-white bg-gradient-to-br from-pink-500 to-orange-400 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-pink-200 dark:focus:ring-pink-800",purpleToBlue:"text-white bg-gradient-to-br from-purple-600 to-cyan-500 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",purpleToPink:"text-white bg-gradient-to-r from-purple-500 to-pink-500 enabled:hover:bg-gradient-to-l focus:ring-4 focus:ring-purple-200 dark:focus:ring-purple-800",redToYellow:"text-gray-900 bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-red-100 dark:focus:ring-red-400",tealToLime:"text-gray-900 bg-gradient-to-r from-teal-200 to-lime-200 enabled:hover:bg-gradient-to-l enabled:hover:from-teal-200 enabled:hover:to-lime-200 enabled:hover:text-gray-900 focus:ring-4 focus:ring-lime-200 dark:focus:ring-teal-700"},inner:{base:"flex items-center",position:{none:"",start:"rounded-r-none",middle:"rounded-none",end:"roun
1ded-l-none"},outline:"border border-transparent"},label:"ml-2 inline-flex h-4 w-4 items-center justify-center rounded-full bg-cyan-200 text-xs font-semibold text-cyan-800",outline:{color:{gray:"border border-gray-900 dark:border-white",default:"border-0",light:""},off:"",on:"flex justify-center bg-white text-gray-900 transition-all duration-75 ease-in group-enabled:group-hover:bg-opacity-0 group-enabled:group-hover:text-inherit dark:bg-gray-900 dark:text-white w-full",pill:{off:"rounded-md",on:"rounded-full"}},pill:{off:"rounded-lg",on:"rounded-full"},size:{xs:"text-xs px-2 py-1",sm:"text-sm px-3 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-5 py-2.5",xl:"text-base px-6 py-3"}},buttonGroup:{base:"inline-flex",position:{none:"focus:ring-2",start:"rounded-r-none",middle:"rounded-none border-l-0 pl-0",end:"rounded-l-none border-l-0 pl-0"}},card:{root:{base:"flex rounded-lg border border-gray-200 bg-white shadow-md dark:border-gray-700 dark:bg-gray-800",children:"flex h-full flex-col justify-center gap-4 p-6",horizontal:{off:"flex-col",on:"flex-col md:max-w-xl md:flex-row"},href:"hover:bg-gray-100 dark:hover:bg-gray-700"},img:{base:"",horizontal:{off:"rounded-t-lg",on:"h-96 w-full rounded-t-lg object-cover md:h-auto md:w-48 md:rounded-none md:rounded-l-lg"}}},carousel:{root:{base:"relative h-full w-full",leftControl:"absolute top-0 left-0 flex h-full items-center justify-center px-4 focus:outline-none",rightControl:"absolute top-0 right-0 flex h-full items-center justify-center px-4 focus:outline-none"},indicators:{active:{off:"bg-white/50 hover:bg-white dark:bg-gray-800/50 dark:hover:bg-gray-800",on:"bg-white dark:bg-gray-800"},base:"h-3 w-3 rounded-full",wrapper:"absolute bottom-5 left-1/2 flex -translate-x-1/2 space-x-3"},item:{base:"absolute top-1/2 left-1/2 block w-full -translate-x-1/2 -translate-y-1/2",wrapper:"w-full flex-shrink-0 transform cursor-grab snap-center"},control:{base:"inline-flex h-8 w-8 items-center justify-center rounded-full bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70 sm:h-10 sm:w-10",icon:"h-5 w-5 text-white dark:text-gray-800 sm:h-6 sm:w-6"},scrollContainer:{base:"flex h-full snap-mandatory overflow-y-hidden overflow-x-scroll scroll-smooth rounded-lg",snap:"snap-x"}},checkbox:{root:{base:"h-4 w-4 rounded border border-gray-300 bg-gray-100 focus:ring-2 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:ring-offset-gray-800 dark:focus:ring-cyan-600 text-cyan-600"}},darkThemeToggle:{root:{base:"rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700",icon:"h-5 w-5"}},dropdown:{arrowIcon:"ml-2 h-4 w-4",content:"py-1 focus:outline-none",floating:{animation:"transition-opacity",arrow:{base:"absolute z-10 h-2 w-2 rotate-45",style:{dark:"bg-gray-900 dark:bg-gray-700",light:"bg-white",auto:"bg-white dark:bg-gray-700"},placement:"-4px"},base:"z-10 w-fit rounded divide-y divide-gray-100 shadow focus:outline-none",content:"py-1 text-sm text-gray-700 dark:text-gray-200",divider:"my-1 h-px bg-gray-100 dark:bg-gray-600",header:"block py-2 px-4 text-sm text-gray-700 dark:text-gray-200",hidden:"invisible opacity-0",item:{container:"",base:"flex items-center justify-start py-2 px-4 text-sm text-gray-700 cursor-pointer w-full hover:bg-gray-100 focus:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 focus:outline-none dark:hover:text-white dark:focus:bg-gray-600 dark:focus:text-white",icon:"mr-2 h-4 w-4"},style:{dark:"bg-gray-900 text-white dark:bg-gray-700",light:"border border-gray-200 bg-white text-gray-900",auto:"border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white"},target:"w-fit"},inlineWrapper:"flex items-center"},fileInput:{root:{base:"flex"},field:{base:"relative w-full",input:{base:"rounded-lg overflow-hidden block w-full border disabled:cursor-not-allowed disabled:opacity-50",sizes:{sm:"sm:text-xs",md:"text-sm",lg:"sm:text-md"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"}}}}
1,footer:{root:{base:"w-full rounded-lg bg-white shadow dark:bg-gray-800 md:flex md:items-center md:justify-between",container:"w-full p-6",bgDark:"bg-gray-800"},groupLink:{base:"flex flex-wrap text-sm text-gray-500 dark:text-white",link:{base:"last:mr-0 md:mr-6",href:"hover:underline"},col:"flex-col space-y-4"},icon:{base:"text-gray-500 dark:hover:text-white",size:"h-5 w-5"},title:{base:"mb-6 text-sm font-semibold uppercase text-gray-500 dark:text-white"},divider:{base:"w-full my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8"},copyright:{base:"text-sm text-gray-500 dark:text-gray-400 sm:text-center",href:"ml-1 hover:underline",span:"ml-1"},brand:{base:"mb-4 flex items-center sm:mb-0",img:"mr-3 h-8",span:"self-center whitespace-nowrap text-2xl font-semibold text-gray-800 dark:text-white"}},helperText:{root:{base:"mt-2 text-sm",colors:{gray:"text-gray-500 dark:text-gray-400",info:"text-cyan-700 dark:text-cyan-800",success:"text-green-600 dark:text-green-500",failure:"text-red-600 dark:text-red-500",warning:"text-yellow-500 dark:text-yellow-600"}}},label:{root:{base:"text-sm font-medium",disabled:"opacity-50",colors:{default:"text-gray-900 dark:text-gray-300",info:"text-cyan-500 dark:text-cyan-600",failure:"text-red-700 dark:text-red-500",warning:"text-yellow-500 dark:text-yellow-600",success:"text-green-700 dark:text-green-500"}}},listGroup:{root:{base:"list-none rounded-lg border border-gray-200 bg-white text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white text-left"},item:{base:"[&>*]:first:rounded-t-lg [&>*]:last:rounded-b-lg [&>*]:last:border-b-0",link:{base:"flex w-full border-b border-gray-200 py-2 px-4 dark:border-gray-600",active:{off:"hover:bg-gray-100 hover:text-cyan-700 focus:text-cyan-700 focus:outline-none focus:ring-2 focus:ring-cyan-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:text-white dark:focus:ring-gray-500",on:"bg-cyan-700 text-white dark:bg-gray-800"},href:{off:"",on:""},icon:"mr-2 h-4 w-4 fill-current"}}},modal:{root:{base:"fixed top-0 right-0 left-0 z-50 h-modal h-screen overflow-y-auto overflow-x-hidden md:inset-0 md:h-full",show:{on:"flex bg-gray-900 bg-opacity-50 dark:bg-opacity-80",off:"hidden"},sizes:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},positions:{"top-left":"items-start justify-start","top-center":"items-start justify-center","top-right":"items-start justify-end","center-left":"items-center justify-start",center:"items-center justify-center","center-right":"items-center justify-end","bottom-right":"items-end justify-end","bottom-center":"items-end justify-center","bottom-left":"items-end justify-start"}},content:{base:"relative h-full w-full p-4 md:h-auto",inner:"relative rounded-lg bg-white shadow dark:bg-gray-700 flex flex-col max-h-[90vh]"},body:{base:"p-6 flex-1 overflow-auto",popup:"pt-0"},header:{base:"flex items-start justify-between rounded-t dark:border-gray-600 border-b p-5",popup:"p-2 border-b-0",title:"text-xl font-medium text-gray-900 dark:text-white",close:{base:"ml-auto inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white",icon:"h-5 w-5"}},footer:{base:"flex items-center space-x-2 rounded-b border-gray-200 p-6 dark:border-gray-600",popup:"border-t"}},navbar:{root:{base:"bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4",rounded:{on:"rounded",off:""},bordered:{on:"border",off:""},inner:{base:"mx-auto flex flex-wrap items-center justify-between",fluid:{on:"",off:"container"}}},brand:{base:"flex items-center"},collapse:{base:"w-full md:block md:w-auto",list:"mt-4 flex flex-col md:mt-0 md:flex-row md:space-x-8 md:text-sm md:font-medium",hidden:{on:"hidden",off:""}},link:{base:"block py-2 pr-4 pl-3 md:p-0",active:{on:"bg-cyan-700 text-white dark:text-white md:bg-transparent md:text-cyan-700",off:"border-b border-gray-100 text-gray-700 hover:bg-gray-50 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white md:border-0 md:hover:bg-transparent md:hover:text-cyan-700 md:dark:hover:bg-transparent md:dark:hover:text-white"},disabled:{on:"text-gray-400 hover:cursor-not-allowed dark:text-gray-600",off:""}},toggle:{base:"inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600 md:hidden",icon:"h-6 w-6 shrink-0"}},pagination:{base:"",layout:{table:{base:"text-sm text-gray-700 dark:text-gray-400",span:"font-semibold text-gray-900 dark:text-white"}},pages:{base:"xs:mt-0 mt-2 inline-flex items-center -space-x-px",showIcon:"inline-flex",previous:{base:"ml-0 rounded-l-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",icon:"h-5 w-5"},next:{base:"rounded-r-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",icon:"h-5 w-5"}
1,selector:{base:"w-12 border border-gray-300 bg-white py-2 leading-tight text-gray-500 hover:bg-gray-100 hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",active:"bg-cyan-50 text-cyan-600 hover:bg-cyan-100 hover:text-cyan-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white",disabled:"opacity-50 cursor-normal"}}},progress:{base:"w-full overflow-hidden rounded-full bg-gray-200 dark:bg-gray-700",label:"mb-1 flex justify-between font-medium dark:text-white",bar:"rounded-full text-center font-medium leading-none text-cyan-300 dark:text-cyan-100 space-x-2",color:{dark:"bg-gray-600 dark:bg-gray-300",blue:"bg-cyan-600",red:"bg-red-600 dark:bg-red-500",green:"bg-green-600 dark:bg-green-500",yellow:"bg-yellow-400",indigo:"bg-indigo-600 dark:bg-indigo-500",purple:"bg-purple-600 dark:bg-purple-500"},size:{sm:"h-1.5",md:"h-2.5",lg:"h-4",xl:"h-6"}},radio:{root:{base:"h-4 w-4 border border-gray-300 focus:ring-2 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:focus:bg-cyan-600 dark:focus:ring-cyan-600 text-cyan-600"}},rangeSlider:{root:{base:"flex"},field:{base:"relative w-full",input:{base:"w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700",sizes:{sm:"h-1 range-sm",md:"h-2",lg:"h-3 range-lg"}}}},rating:{root:{base:"flex items-center"},advanced:{base:"flex items-center",label:"text-sm font-medium text-cyan-600 dark:text-cyan-500",progress:{base:"mx-4 h-5 w-2/4 rounded bg-gray-200 dark:bg-gray-700",fill:"h-5 rounded bg-yellow-400",label:"text-sm font-medium text-cyan-600 dark:text-cyan-500"}},star:{empty:"text-gray-300 dark:text-gray-500",filled:"text-yellow-400",sizes:{sm:"w-5 h-5",md:"w-7 h-7",lg:"w-10 h-10"}}},select:{base:"flex",addon:"inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",field:{base:"relative w-full",icon:{base:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},select:{base:"block w-full border disabled:cursor-not-allowed disabled:opacity-50",withIcon:{on:"pl-10",off:""},withAddon:{on:"rounded-r-lg",off:"rounded-lg"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""},sizes:{sm:"p-2 sm:text-xs",md:"p-2.5 text-sm",lg:"sm:text-md p-4"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"}}}},textInput:{base:"flex",addon:"inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",field:{base:"relative w-full",icon:{base:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},rightIcon:{base:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},input:{base:"block w-full border disabled:cursor-not-allowed disabled:opacity-50",sizes:{sm:"p-2 sm:text-xs",md:"p-2.5 text-sm",lg:"sm:text-md p-4"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"},withRightIcon:{on:"pr-10",off:""},withIcon:{on:"pl-10",off:""},withAddon:{on:"rounded-r-lg",off:"rounded-lg"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""}}}},textarea:{base:"block w-full rounded-lg border disabled:cursor-not-allowed disabled:opacity-50",colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""}}
1,toggleSwitch:{root:{base:"group relative flex items-center rounded-lg focus:outline-none",active:{on:"cursor-pointer",off:"cursor-not-allowed opacity-50"},label:"ml-3 text-sm font-medium text-gray-900 dark:text-gray-300"},toggle:{base:"toggle-bg h-6 w-11 rounded-full border group-focus:ring-4 group-focus:ring-cyan-500/25",checked:{on:"after:translate-x-full after:border-white",off:"border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700",color:{blue:" bg-cyan-700 border-cyan-700",dark:"bg-dark-700 border-dark-900",failure:"bg-red-700 border-red-900",gray:"bg-gray-500 border-gray-600",green:"bg-green-600 border-green-700",light:"bg-light-700 border-light-900",red:"bg-red-700 border-red-900",purple:"bg-purple-700 border-purple-900",success:"bg-green-500 border-green-500",yellow:"bg-yellow-400 border-yellow-400",warning:"bg-yellow-600 border-yellow-600",cyan:"bg-cyan-500 border-cyan-500",lime:"bg-lime-400 border-lime-400",indigo:"bg-indigo-400 border-indigo-400",teal:"bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4",info:"bg-cyan-600 border-cyan-600",pink:"bg-pink-600 border-pink-600"}}}},sidebar:{root:{base:"h-full",collapsed:{on:"w-16",off:"w-64"},inner:"h-full overflow-y-auto overflow-x-hidden rounded bg-gray-50 py-4 px-3 dark:bg-gray-800"},collapse:{button:"group flex w-full items-center rounded-lg p-2 text-base font-normal text-gray-900 transition duration-75 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700",icon:{base:"h-6 w-6 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white",open:{off:"",on:"text-gray-900"}},label:{base:"ml-3 flex-1 whitespace-nowrap text-left",icon:"h-6 w-6"},list:"space-y-2 py-2"},cta:{base:"mt-6 rounded-lg p-4 bg-gray-100 dark:bg-gray-700",color:{blue:"bg-cyan-50 dark:bg-cyan-900",dark:"bg-dark-50 dark:bg-dark-900",failure:"bg-red-50 dark:bg-red-900",gray:"bg-alternative-50 dark:bg-alternative-900",green:"bg-green-50 dark:bg-green-900",light:"bg-light-50 dark:bg-light-900",red:"bg-red-50 dark:bg-red-900",purple:"bg-purple-50 dark:bg-purple-900",success:"bg-green-50 dark:bg-green-900",yellow:"bg-yellow-50 dark:bg-yellow-900",warning:"bg-yellow-50 dark:bg-yellow-900"}},item:{base:"flex items-center justify-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700",active:"bg-gray-100 dark:bg-gray-700",collapsed:{insideCollapse:"group w-full pl-8 transition duration-75",noIcon:"font-bold"},content:{base:"px-3 flex-1 whitespace-nowrap"},icon:{base:"h-6 w-6 flex-shrink-0 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white",active:"text-gray-700 dark:text-gray-100"},label:"",listItem:""},items:"",itemGroup:"mt-4 space-y-2 border-t border-gray-200 pt-4 first:mt-0 first:border-t-0 first:pt-0 dark:border-gray-700",logo:{base:"mb-5 flex items-center pl-2.5",collapsed:{on:"hidden",off:"self-center whitespace-nowrap text-xl font-semibold dark:text-white"},img:"mr-3 h-6 sm:h-7"}},spinner:{base:"inline animate-spin text-gray-200",color:{failure:"fill-red-600",gray:"fill-gray-600",info:"fill-cyan-600",pink:"fill-pink-600",purple:"fill-purple-600",success:"fill-green-500",warning:"fill-yellow-400"},light:{off:{base:"dark:text-gray-600",color:{failure:"",gray:"dark:fill-gray-300",info:"",pink:"",purple:"",success:"",warning:""}},on:{base:"",color:{failure:"",gray:"",info:"",pink:"",purple:"",success:"",warning:""}}},size:{xs:"w-3 h-3",sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-10 h-10"}},tab:{base:"flex flex-col gap-2",tablist:{base:"flex text-center",styles:{default:"flex-wrap border-b border-gray-200 dark:border-gray-700",underline:"flex-wrap -mb-px border-b border-gray-200 dark:border-gray-700",pills:"flex-wrap font-medium text-sm text-gray-500 dark:text-gray-400 space-x-2",fullWidth:"w-full text-sm font-medium divide-x divide-gray-200 shadow grid grid-flow-col dark:divide-gray-700 dark:text-gray-400 rounded-none"},tabitem:{base:"flex items-center justify-center p-4 rounded-t-lg text-sm font-medium first:ml-0 disabled:cursor-not-allowed disabled:text-gray-400 disabled:dark:text-gray-500 focus:ring-4 focus:ring-cyan-300 focus:outline-none",styles:{default:{base:"rounded-t-lg",active:{on:"bg-gray-100 text-cyan-600 dark:bg-gray-800 dark:text-cyan-500",off:"text-gray-500 hover:bg-gray-50 hover:text-gray-600 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300"}},underline:{base:"rounded-t-lg",active:{on:"text-cyan-600 rounded-t-lg border-b-2 border-cyan-600 active dark:text-cyan-500 dark:border-cyan-500",off:"border-b-2 border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300"}},pills:{base:"",active:{on:"rounded-lg bg-cyan-600 text-white",off:"rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white"}},fullWidth:{base:"ml-0 first:ml-0 w-full rounded-none flex",active:{on:"p-4 text-gray-900 bg-gray-100 active dark:bg-gray-700 dark:text-white rounded-none",off:"bg-white hover:text-gray-700 hover:bg-gray-50 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700 rounded-none"}}},icon:"mr-2 h-5 w-5"}},tabpanel:"py-3"}
1,table:{root:{base:"w-full text-left text-sm text-gray-500 dark:text-gray-400",shadow:"absolute bg-white dark:bg-black w-full h-full top-0 left-0 rounded-lg drop-shadow-md -z-10",wrapper:"relative"},body:{base:"group/body",cell:{base:"group-first/body:group-first/row:first:rounded-tl-lg group-first/body:group-first/row:last:rounded-tr-lg group-last/body:group-last/row:first:rounded-bl-lg group-last/body:group-last/row:last:rounded-br-lg px-6 py-4"}},head:{base:"group/head text-xs uppercase text-gray-700 dark:text-gray-400",cell:{base:"group-first/head:first:rounded-tl-lg group-first/head:last:rounded-tr-lg bg-gray-50 dark:bg-gray-700 px-6 py-3"}},row:{base:"group/row",hovered:"hover:bg-gray-50 dark:hover:bg-gray-600",striped:"odd:bg-white even:bg-gray-50 odd:dark:bg-gray-800 even:dark:bg-gray-700"}},timeline:{root:{direction:{horizontal:"items-base sm:flex",vertical:"relative border-l border-gray-200 dark:border-gray-700"}},item:{root:{horizontal:"relative mb-6 sm:mb-0",vertical:"mb-10 ml-6"},content:{root:{base:"mt-3 sm:pr-8"},body:"mb-4 text-base font-normal text-gray-500 dark:text-gray-400",time:"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500",title:"text-lg font-semibold text-gray-900 dark:text-white"},point:{horizontal:"flex items-center",line:"hidden h-0.5 w-full bg-gray-200 dark:bg-gray-700 sm:flex",marker:{base:{horizontal:"absolute -left-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700",vertical:"absolute -left-1.5 mt-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700"},icon:{base:"h-3 w-3 text-cyan-600 dark:text-cyan-300",wrapper:"absolute -left-3 flex h-6 w-6 items-center justify-center rounded-full bg-cyan-200 ring-8 ring-white dark:bg-cyan-900 dark:ring-gray-900"}},vertical:""}}},toast:{root:{base:"flex w-full max-w-xs items-center rounded-lg bg-white p-4 text-gray-500 shadow dark:bg-gray-800 dark:text-gray-400",closed:"opacity-0 ease-out",removed:"hidden"},toggle:{base:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",icon:"h-5 w-5 shrink-0"}},tooltip:{target:"w-fit",animation:"transition-opacity",arrow:{base:"absolute z-10 h-2 w-2 rotate-45",style:{dark:"bg-gray-900 dark:bg-gray-700",light:"bg-white",auto:"bg-white dark:bg-gray-700"},placement:"-4px"},base:"absolute inline-block z-10 rounded-lg py-2 px-3 text-sm font-medium shadow-sm",hidden:"invisible opacity-0",style:{dark:"bg-gray-900 text-white dark:bg-gray-700",light:"border border-gray-200 bg-white text-gray-900",auto:"border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white"},content:"relative z-20"}},eh=(0,a.createContext)({theme:em}),ey=()=>(0,a.useContext)(eh);var ex=t(94046),ev=t(2859),ew=t(54887),ek="undefined"!=typeof document?a.useLayoutEffect:function(){};function eN(e,r){let t,n,o;if(e===r)return!0;if(typeof e!=typeof r)return!1;if("function"==typeof e&&e.toString()===r.toString())return!0;if(e&&r&&"object"==typeof e){if(Array.isArray(e)){if((t=e.length)!==r.length)return!1;for(n=t;0!=n--;)if(!eN(e[n],r[n]))return!1;return!0}if((t=(o=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(n=t;0!=n--;)if(!({}).hasOwnProperty.call(r,o[n]))return!1;for(n=t;0!=n--;){let t=o[n];if(("_owner"!==t||!e.$$typeof)&&!eN(e[t],r[t]))return!1}return!0}return e!=e&&r!=r}function ej(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eC(e,r){let t=ej(e);return Math.round(r*t)/t}function eE(e){let r=a.useRef(e);return ek(()=>{r.current=e}),r}let eR=e=>({name:"arrow",options:e,fn(r){let{element:t,padding:n}="function"==typeof e?e(r):e;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?(0,ev.x7)({element:t.current,padding:n}).fn(r):{}:t?(0,ev.x7)({element:t,padding:n}).fn(r):{}}}),eT=(e,r)=>({...(0,ev.cv)(e),options:[e,r]}),eS=(e,r)=>({...(0,ev.uY)(e),options:[e,r]}),eM=(e,r)=>({...(0,ev.RR)(e),options:[e,r]}),eI=(e,r)=>({...(0,ev.X5)(e),options:[e,r]}),eP=(e,r)=>({...eR(e),options:[e,r]});var ez=t(5478),eL=t(57572);function eO(){return(eO=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var eA="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;let eD=!1,eF=0,eB=()=>"floating-ui-"+eF++,eG=l["useId".toString()]||function(){let[e,r]=a.useState(()=>eD?eB():void 0);return eA(()=>{null==e&&r(eB())},[]),a.useEffect(()=>{eD||(eD=!0)},[]),e},e_=a.createContext(null),eW=a.createContext(null),e$=()=>{var e;return(null==(e=a.useContext(e_))?void 0:e.id)||null},eK=()=>a.useContext(eW);function eH(e){return(null==e?void 0:e.ownerDocument)||document}function eU(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function eY(e){return eH(e).defaultView||window}function eX(e){return!!e&&(e instanceof Element||e instanceof eY(e).Element)}function eq(e){return!!e&&(e instanceof HTMLElement||e instanceof eY(e).HTMLElement)}function eV(e){if(0===e.mozInputSource&&e.isTrusted)return!0;let r=/Android/i;return(r.test(eU())||r.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:r,version:t}=e;return r+"/"+t}).join(" "):navigator.userAgent}()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}function eZ(e){return 0===e.width&&0===e.height||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}function eJ(){return/apple/i.test(navigator.vendor)}function eQ(e,r){let t=["mouse","pen"];return r||t.push("",void 0),t.includes(e)}function e0(e,r){if(!e||!r)return!1;let t=r.getRootNode&&r.getRootNode();if(e.contains(r))return!0;
1if(t&&function(e){if("undefined"==typeof ShadowRoot)return!1;let r=eY(e).ShadowRoot;return e instanceof r||e instanceof ShadowRoot}(t)){let t=r;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1}function e1(e){return"data-floating-ui-"+e}function e5(e){let r=(0,a.useRef)(e);return eA(()=>{r.current=e}),r}let e2=e1("safe-polygon");function e4(e,r,t){return t&&!eQ(t)?0:"number"==typeof e?e:null==e?void 0:e[r]}function e7(e){let r=e.activeElement;for(;(null==(t=r)?void 0:null==(n=t.shadowRoot)?void 0:n.activeElement)!=null;){var t,n;r=r.shadowRoot.activeElement}return r}let e6=0;function e3(e,r){void 0===r&&(r={});let{preventScroll:t=!1,cancelPrevious:n=!0,sync:o=!1}=r;n&&cancelAnimationFrame(e6);let a=()=>null==e?void 0:e.focus({preventScroll:t});o?a():e6=requestAnimationFrame(a)}function e9(e,r){let t=e.filter(e=>{var t;return e.parentId===r&&(null==(t=e.context)?void 0:t.open)}),n=t;for(;n.length;)n=e.filter(e=>{var r;return null==(r=n)?void 0:r.some(r=>{var t;return e.parentId===r.id&&(null==(t=e.context)?void 0:t.open)})}),t=t.concat(n);return t}function e8(e){return"composedPath"in e?e.composedPath()[0]:e.target}function re(e){return eq(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function rr(e){e.preventDefault(),e.stopPropagation()}let rt=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function rn(e,r){let t=(0,eL.ht)(e,rt());"prev"===r&&t.reverse();let n=t.indexOf(e7(eH(e)));return t.slice(n+1)[0]}function ro(e,r){let t=r||e.currentTarget,n=e.relatedTarget;return!n||!e0(t,n)}let ra={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function rl(e){"Tab"===e.key&&(e.target,clearTimeout(n))}let ri=a.forwardRef(function(e,r){let[t,n]=a.useState();eA(()=>(eJ()&&n("button"),document.addEventListener("keydown",rl),()=>{document.removeEventListener("keydown",rl)}),[]);let o={ref:r,tabIndex:0,role:t,"aria-hidden":!t||void 0,[e1("focus-guard")]:"",style:ra};return a.createElement("span",eO({},e,o))}),rs=a.createContext(null),rd=()=>a.useContext(rs),rc=a.forwardRef(function(e,r){return a.createElement("button",eO({},e,{type:"button",ref:r,tabIndex:-1,style:ra}))});function ru(e){let{context:r,children:t,disabled:n=!1,order:o=["content"],guards:l=!0,initialFocus:i=0,returnFocus:s=!0,modal:d=!0,visuallyHiddenDismiss:c=!1,closeOnFocusOut:u=!0}=e,{open:g,refs:b,nodeId:f,onOpenChange:p,events:m,dataRef:h,elements:{domReference:y,floating:x}}=r,v=!(0,ez.J_)()||l,w=e5(o),k=e5(i),N=e5(s),j=eK(),C=rd(),E="number"==typeof i&&i<0,R=a.useRef(null),T=a.useRef(null),S=a.useRef(!1),M=a.useRef(null),I=a.useRef(!1),P=null!=C,z=y&&"combobox"===y.getAttribute("role")&&re(y),L=a.useCallback(function(e){return void 0===e&&(e=x),e?(0,eL.ht)(e,rt()):[]},[x]),O=a.useCallback(e=>{let r=L(e);return w.current.map(e=>y&&"reference"===e?y:x&&"floating"===e?x:r).filter(Boolean).flat()},[y,x,w,L]);function A(e){return!n&&c&&d?a.createElement(rc,{ref:"start"===e?R:T,onClick:e=>p(!1,e.nativeEvent)},"string"==typeof c?c:"Dismiss"):null}a.useEffect(()=>{if(n||!d)return;function e(e){if("Tab"===e.key){e0(x,e7(eH(x)))&&0===L().length&&!z&&rr(e);let r=O(),t=e8(e);"reference"===w.current[0]&&t===y&&(rr(e),e.shiftKey?e3(r[r.length-1]):e3(r[1])),"floating"===w.current[1]&&t===x&&e.shiftKey&&(rr(e),e3(r[0]))}}let r=eH(x);return r.addEventListener("keydown",e),()=>{r.removeEventListener("keydown",e)}},[n,y,x,d,w,b,z,L,O]),a.useEffect(()=>{if(!n&&u&&x&&eq(y))return y.addEventListener("focusout",r),y.addEventListener("pointerdown",e),d||x.addEventListener("focusout",r),()=>{y.removeEventListener("focusout",r),y.removeEventListener("pointerdown",e),d||x.removeEventListener("focusout",r)};function e(){I.current=!0,setTimeout(()=>{I.current=!1})}function r(e){let r=e.relatedTarget;queueMicrotask(()=>{let t=!(e0(y,r)||e0(x,r)||e0(r,x)||e0(null==C?void 0:C.portalNode,r)||null!=r&&r.hasAttribute(e1("focus-guard"))||j&&(e9(j.nodesRef.current,f).find(e=>{var t,n;return e0(null==(t=e.context)?void 0:t.elements.floating,r)||e0(null==(n=e.context)?void 0:n.elements.domReference,r)})||(function(e,r){var t;let n=[],o=null==(t=e.find(e=>e.id===r))?void 0:t.parentId;for(;o;){let r=e.find(e=>e.id===o);o=null==r?void 0:r.parentId,r&&(n=n.concat(r))}return n})(j.nodesRef.current,f).find(e=>{var t,n;return(null==(t=e.context)?void 0:t.elements.floating)===r||(null==(n=e.context)?void 0:n.elements.domReference)===r})));r&&t&&!I.current&&r!==M.current&&(S.current=!0,p(!1,e))})}},[n,y,x,d,f,j,C,p,u]),a.useEffect(()=>{var e;if(n)return;let r=Array.from((null==C?void 0:null==(e=C.portalNode)?void 0:e.querySelectorAll("["+e1("portal")+"]"))||[]);if(x&&d){let e=[x,...r,R.current,T.current].filter(e=>null!=e),t=(v?ez.Ry:ez.cJ)(w.current.includes("reference")||z?e.concat(y||[]):e,void 0,e1("inert"));return()=>{t()}}},[n,y,x,d,w,C,z,v]),eA(()=>{if(n||!x)return;let e=e7(eH(x));queueMicrotask(()=>{let r=O(x),t=k.current,n=("number"==typeof t?r[t]:t.current)||x,o=e0(x,e);E||o||!g||e3(n,{preventScroll:n===x})})},[n,g,x,E,O,k]),eA(()=>{if(n||!x)return;let e=!1,r=eH(x),t=e7(r),o=h.current;function a(r){if("escapeKey"===r.type&&b.domReference.current&&(M.current=b.domReference.current),["referencePress","escapeKey"].includes(r.type))return;let t=r.data.returnFocus;"object"==typeof t?(S.current=!1,e=t.preventScroll):S.current=!t}return M.current=t,m.on("dismiss",a),()=>{m.off("dismiss",a);let t=e7(r);(e0(x,t)||j&&e9(j.nodesRef.current,f).some(e=>{var r;return e0(null==(r=e.context)?void 0:r.elements.floating,t)})||o.openEvent&&["click","mousedown"].includes(o.openEvent.type))&&b.domReference.current&&(M.current=b.domReference.current),N.current&&eq(M.current)&&!S.current&&e3(M.current,{cancelPrevious:!1,preventScroll:e})}},[n,x,N,h,b,m,j,f]),eA(()=>{if(!n&&C)return C.setFocusManagerState({...r,modal:d,closeOnFocusOut:u,open:g}),()=>{C.setFocusManagerState(null)}},[n,C,d,g,u,r]),eA(()=>{if(!n&&x&&"function"==typeof MutationObserver){let e=()=>{let e=x.getAttribute("tabindex");w.current.includes("floating")||e7(eH(x))!==b.domReference.current&&0===L().length?"0"!==e&&x.setAttribute("tabindex","0"):"-1"!==e&&x.setAttribute("tabindex","-1")};e();let r=new MutationObserver(e);return r.observe(x,{childList:!0,subtree:!0,attributes:!0}),()=>{r.disconnect()}}},[n,x,b,w,L]);let D=!n&&v&&!z&&(P||d);return a.createElement(a.Fragment,null,D&&a.createElement(ri,{"data-type":"inside",ref:null==C?void 0:C.beforeInsideRef,onFocus:e=>{if(d){let e=O();e3("reference"===o[0]?e[0]:e[e.length-1])}else if(null!=C&&C.preserveTabOrder&&C.portalNode){if(S.current=!1,ro(e,C.portalNode)){let e=rn(document.body,"next")||y;null==e||e.focus()}else{var r;null==(r=C.beforeOutsideRef.current)||r.focus()}}}}
1),!z&&A("start"),t,A("end"),D&&a.createElement(ri,{"data-type":"inside",ref:null==C?void 0:C.afterInsideRef,onFocus:e=>{if(d)e3(O()[0]);else if(null!=C&&C.preserveTabOrder&&C.portalNode){if(u&&(S.current=!0),ro(e,C.portalNode)){let e=rn(document.body,"prev")||y;null==e||e.focus()}else{var r;null==(r=C.afterOutsideRef.current)||r.focus()}}}}))}function rg(e,r){let t=e.compareDocumentPosition(r);return t&Node.DOCUMENT_POSITION_FOLLOWING||t&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:t&Node.DOCUMENT_POSITION_PRECEDING||t&Node.DOCUMENT_POSITION_CONTAINS?1:0}let rb=a.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function rf(e){let{children:r,elementsRef:t,labelsRef:n}=e,[o,l]=a.useState(()=>new Map),i=a.useCallback(e=>{l(r=>new Map(r).set(e,null))},[]),s=a.useCallback(e=>{l(r=>{let t=new Map(r);return t.delete(e),t})},[]);return eA(()=>{let e=new Map(o);Array.from(e.keys()).sort(rg).forEach((r,t)=>{e.set(r,t)}),!function(e,r){if(e.size!==r.size)return!1;for(let[t,n]of e.entries())if(n!==r.get(t))return!1;return!0}(o,e)&&l(e)},[o]),a.createElement(rb.Provider,{value:a.useMemo(()=>({register:i,unregister:s,map:o,elementsRef:t,labelsRef:n}),[i,s,o,t,n])},r)}function rp(e){return eq(e.target)&&"BUTTON"===e.target.tagName}let rm=l["useInsertionEffect".toString()]||(e=>e());function rh(e){let r=a.useRef(()=>{});return rm(()=>{r.current=e}),a.useCallback(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return null==r.current?void 0:r.current(...t)},[])}function ry(e,r){return null!=r&&("composedPath"in e?e.composedPath().includes(r):null!=e.target&&r.contains(e.target))}let rx={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},rv={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},rw=e=>{var r,t;return{escapeKeyBubbles:"boolean"==typeof e?e:null!=(r=null==e?void 0:e.escapeKey)&&r,outsidePressBubbles:"boolean"==typeof e?e:null==(t=null==e?void 0:e.outsidePress)||t}};function rk(e,r,t){let n=new Map;return{..."floating"===t&&{tabIndex:-1},...e,...r.map(e=>e?e[t]:null).concat(e).reduce((e,r)=>(r&&Object.entries(r).forEach(r=>{let[t,o]=r;if(0===t.indexOf("on")){if(n.has(t)||n.set(t,[]),"function"==typeof o){var a;null==(a=n.get(t))||a.push(o),e[t]=function(){for(var e,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return null==(e=n.get(t))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)}}}else e[t]=o}),e),{})}}let rN=!1,rj="ArrowUp",rC="ArrowDown",rE="ArrowLeft",rR="ArrowRight";function rT(e,r,t){return Math.floor(e/r)!==t}function rS(e,r){return r<0||r>=e.current.length}function rM(e,r){let{startingIndex:t=-1,decrement:n=!1,disabledIndices:o,amount:a=1}=void 0===r?{}:r,l=e.current,i=t;do{var s,d;i+=n?-a:a}while(i>=0&&i<=l.length-1&&(o?o.includes(i):null==l[i]||(null==(s=l[i])?void 0:s.hasAttribute("disabled"))||(null==(d=l[i])?void 0:d.getAttribute("aria-disabled"))==="true"));return i}function rI(e,r,t){switch(e){case"vertical":return r;case"horizontal":return t;default:return r||t}}function rP(e,r){return rI(r,e===rj||e===rC,e===rE||e===rR)}function rz(e,r,t){return rI(r,e===rC,t?e===rE:e===rR)||"Enter"===e||" "==e||""===e}function rL(e,r){return rM(e,{disabledIndices:r})}function rO(e,r){return rM(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:r})}function rA(e,r){let[t,n]=e,o=!1,a=r.length;for(let e=0,l=a-1;e<a;l=e++){let[a,i]=r[e]||[0,0],[s,d]=r[l]||[0,0];i>=n!=d>=n&&t<=(s-a)*(n-i)/(d-i)+a&&(o=!o)}return o}let rD=({className:e,...r})=>{let t=ey().theme.dropdown.floating.divider;return(0,o.jsx)("div",{className:F(t,e),...r})},rF=({children:e,className:r,...t})=>{let n=ey().theme.dropdown.floating.header;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:F(n,r),...t,children:e}),(0,o.jsx)(rD,{})]})},rB=({children:e,className:r,icon:t,onClick:n,theme:l={},...i})=>{let{ref:s,index:d}=function(e){let{label:r}=void 0===e?{}:e,[t,n]=a.useState(null),o=a.useRef(null),{register:l,unregister:i,map:s,elementsRef:d,labelsRef:c}=a.useContext(rb),u=a.useCallback(e=>{if(o.current=e,null!==t&&(d.current[t]=e,c)){var n;let o=void 0!==r;c.current[t]=o?r:null!=(n=null==e?void 0:e.textContent)?n:null}},[t,d,c,r]);return eA(()=>{let e=o.current;if(e)return l(e),()=>{i(e)}},[l,i]),eA(()=>{let e=o.current?s.get(o.current):null;null!=e&&n(e)},[s]),a.useMemo(()=>({ref:u,index:null==t?-1:t}),[t,u])}({label:"string"==typeof e?e:void 0}),{activeIndex:c,dismissOnClick:u,getItemProps:g,handleSelect:b}=(0,a.useContext)(rY),f=_(ey().theme.dropdown.floating.item,l);return(0,o.jsx)("li",{role:"menuitem",className:f.container,children:(0,o.jsxs)(ee,{ref:s,className:F(f.base,r),...i,...g({onClick:()=>{n&&n(),u&&b(null)}}),tabIndex:c===d?0:-1,children:[t&&(0,o.jsx)(t,{className:f.icon}),e]})})},rG=({arrowRef:e,placement:r})=>{let t=[];return t.push(eT(8)),t.push("auto"===r?eI():eM()),t.push(eS({padding:8})),e?.current&&t.push(eP({element:e.current})),t},r_=({placement:e})=>"auto"===e?void 0:e,rW=({placement:e})=>
1({top:"bottom",right:"left",bottom:"top",left:"right"})[e.split("-")[0]],r$=({open:e,arrowRef:r,placement:t="top",setOpen:n})=>(function(e){var r;void 0===e&&(e={});let{open:t=!1,onOpenChange:n,nodeId:o}=e,[l,i]=a.useState(null),s=(null==(r=e.elements)?void 0:r.reference)||l,d=function(e){void 0===e&&(e={});let{placement:r="bottom",strategy:t="absolute",middleware:n=[],platform:o,elements:{reference:l,floating:i}={},transform:s=!0,whileElementsMounted:d,open:c}=e,[u,g]=a.useState({x:0,y:0,strategy:t,placement:r,middlewareData:{},isPositioned:!1}),[b,f]=a.useState(n);eN(b,n)||f(n);let[p,m]=a.useState(null),[h,y]=a.useState(null),x=a.useCallback(e=>{e!==N.current&&(N.current=e,m(e))},[]),v=a.useCallback(e=>{e!==j.current&&(j.current=e,y(e))},[]),w=l||p,k=i||h,N=a.useRef(null),j=a.useRef(null),C=a.useRef(u),E=null!=d,R=eE(d),T=eE(o),S=eE(c),M=a.useCallback(()=>{if(!N.current||!j.current)return;let e={placement:r,strategy:t,middleware:b};T.current&&(e.platform=T.current),(0,ev.oo)(N.current,j.current,e).then(e=>{let r={...e,isPositioned:!1!==S.current};I.current&&!eN(C.current,r)&&(C.current=r,ew.flushSync(()=>{g(r)}))})},[b,r,t,T,S]);ek(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,g(e=>({...e,isPositioned:!1})))},[c]);let I=a.useRef(!1);ek(()=>(I.current=!0,()=>{I.current=!1}),[]),ek(()=>{if(w&&(N.current=w),k&&(j.current=k),w&&k){if(R.current)return R.current(w,k,M);M()}},[w,k,M,R,E]);let P=a.useMemo(()=>({reference:N,floating:j,setReference:x,setFloating:v}),[x,v]),z=a.useMemo(()=>({reference:w,floating:k}),[w,k]),L=a.useMemo(()=>{let e={position:t,left:0,top:0};if(!z.floating)return e;let r=eC(z.floating,u.x),n=eC(z.floating,u.y);return s?{...e,transform:"translate("+r+"px, "+n+"px)",...ej(z.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:r,top:n}},[t,s,z.floating,u.x,u.y]);return a.useMemo(()=>({...u,update:M,refs:P,elements:z,floatingStyles:L}),[u,M,P,z,L])}(e),c=eK(),u=rh((e,r)=>{e&&(b.current.openEvent=r),null==n||n(e,r)}),g=a.useRef(null),b=a.useRef({}),f=a.useState(()=>(function(){let e=new Map;return{emit(r,t){var n;null==(n=e.get(r))||n.forEach(e=>e(t))},on(r,t){e.set(r,[...e.get(r)||[],t])},off(r,t){var n;e.set(r,(null==(n=e.get(r))?void 0:n.filter(e=>e!==t))||[])}}})())[0],p=eG(),m=a.useCallback(e=>{let r=eX(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;d.refs.setReference(r)},[d.refs]),h=a.useCallback(e=>{(eX(e)||null===e)&&(g.current=e,i(e)),(eX(d.refs.reference.current)||null===d.refs.reference.current||null!==e&&!eX(e))&&d.refs.setReference(e)},[d.refs]),y=a.useMemo(()=>({...d.refs,setReference:h,setPositionReference:m,domReference:g}),[d.refs,h,m]),x=a.useMemo(()=>({...d.elements,domReference:s}),[d.elements,s]),v=a.useMemo(()=>({...d,refs:y,elements:x,dataRef:b,nodeId:o,floatingId:p,events:f,open:t,onOpenChange:u}),[d,o,p,f,t,u,y,x]);return eA(()=>{let e=null==c?void 0:c.nodesRef.current.find(e=>e.id===o);e&&(e.context=v)}),a.useMemo(()=>({...d,context:v,refs:y,elements:x}),[d,y,x,v])})({placement:r_({placement:t}),open:e,onOpenChange:n,whileElementsMounted:ev.Me,middleware:rG({placement:t,arrowRef:r})}),rK=({context:e,trigger:r,role:t="tooltip",interactions:n=[]})=>(function(e){void 0===e&&(e=[]);let r=e,t=a.useCallback(r=>rk(r,e,"reference"),r),n=a.useCallback(r=>rk(r,e,"floating"),r),o=a.useCallback(r=>rk(r,e,"item"),e.map(e=>null==e?void 0:e.item));return a.useMemo(()=>({getReferenceProps:t,getFloatingProps:n,getItemProps:o}),[t,n,o])})([function(e,r){void 0===r&&(r={});let{open:t,onOpenChange:n,dataRef:o,elements:{domReference:l}}=e,{enabled:i=!0,event:s="click",toggle:d=!0,ignoreMouse:c=!1,keyboardHandlers:u=!0}=r,g=a.useRef(),b=a.useRef(!1);return a.useMemo(()=>i?{reference:{onPointerDown(e){g.current=e.pointerType},onMouseDown(e){0!==e.button||eQ(g.current,!0)&&c||"click"===s||(t&&d&&(!o.current.openEvent||"mousedown"===o.current.openEvent.type)?n(!1,e.nativeEvent):(e.preventDefault(),n(!0,e.nativeEvent)))},onClick(e){if("mousedown"===s&&g.current){g.current=void 0;return}eQ(g.current,!0)&&c||(t&&d&&(!o.current.openEvent||"click"===o.current.openEvent.type)?n(!1,e.nativeEvent):n(!0,e.nativeEvent))},onKeyDown(e){g.current=void 0,e.defaultPrevented||!u||rp(e)||(" "!==e.key||re(l)||(e.preventDefault(),b.current=!0),"Enter"===e.key&&(t&&d?n(!1,e.nativeEvent):n(!0,e.nativeEvent)))},onKeyUp(e){!(e.defaultPrevented||!u||rp(e)||re(l))&&" "===e.key&&b.current&&(b.current=!1,t&&d?n(!1,e.nativeEvent):n(!0,e.nativeEvent))}}}:{},[i,o,s,c,u,l,d,t,n])}(e,{enabled:"click"===r}),function(e,r){void 0===r&&(r={});let{open:t,onOpenChange:n,dataRef:o,events:l,elements:{domReference:i,floating:s},refs:d}=e,{enabled:c=!0,delay:u=0,handleClose:g=null,mouseOnly:b=!1,restMs:f=0,move:p=!0}=r,m=eK(),h=e$(),y=e5(g),x=e5(u),v=a.useRef(),w=a.useRef(),k=a.useRef(),N=a.useRef(),j=a.useRef(!0),C=a.useRef(!1),E=a.useRef(()=>{}),R=a.useCallback(()=>{var e;let r=null==(e=o.current.openEvent)?void 0:e.type;return(null==r?void 0:r.includes("mouse"))&&"mousedown"!==r},[o]);a.useEffect(()=>{if(c)return l.on("dismiss",e),()=>{l.off("dismiss",e)};function e(){clearTimeout(w.current),clearTimeout(N.current),j.current=!0}},[c,l]),a.useEffect(()=>{if(!c||!y.current||!t)return;function e(e){R()&&n(!1,e)}let r=eH(s).documentElement;return r.addEventListener("mouseleave",e),()=>{r.removeEventListener("mouseleave",e)}},[s,t,n,c,y,o,R]);let T=a.useCallback(function(e,r){void 0===r&&(r=!0);let t=e4(x.current,"close",v.current);t&&!k.current?(clearTimeout(w.current),w.current=setTimeout(()=>n(!1,e),t)):r&&(clearTimeout(w.current),n(!1,e))},[x,n]),S=a.useCallback(()=>{E.current(),k.current=void 0},[]),M=a.useCallback(()=>
1{if(C.current){let e=eH(d.floating.current).body;e.style.pointerEvents="",e.removeAttribute(e2),C.current=!1}},[d]);return a.useEffect(()=>{if(c&&eX(i))return t&&i.addEventListener("mouseleave",d),null==s||s.addEventListener("mouseleave",d),p&&i.addEventListener("mousemove",a,{once:!0}),i.addEventListener("mouseenter",a),i.addEventListener("mouseleave",l),()=>{t&&i.removeEventListener("mouseleave",d),null==s||s.removeEventListener("mouseleave",d),p&&i.removeEventListener("mousemove",a),i.removeEventListener("mouseenter",a),i.removeEventListener("mouseleave",l)};function r(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function a(e){if(clearTimeout(w.current),j.current=!1,b&&!eQ(v.current)||f>0&&0===e4(x.current,"open"))return;let r=e4(x.current,"open",v.current);r?w.current=setTimeout(()=>{n(!0,e)},r):n(!0,e)}function l(n){if(r())return;E.current();let o=eH(s);if(clearTimeout(N.current),y.current){t||clearTimeout(w.current),k.current=y.current({...e,tree:m,x:n.clientX,y:n.clientY,onClose(){M(),S(),T(n)}});let r=k.current;o.addEventListener("mousemove",r),E.current=()=>{o.removeEventListener("mousemove",r)};return}"touch"===v.current&&e0(s,n.relatedTarget)||T(n)}function d(t){r()||null==y.current||y.current({...e,tree:m,x:t.clientX,y:t.clientY,onClose(){M(),S(),T(t)}})(t)}},[i,s,c,e,b,f,p,T,S,M,n,t,m,x,y,o]),eA(()=>{var e,r,n;if(c&&t&&null!=(e=y.current)&&e.__options.blockPointerEvents&&R()){let e=eH(s).body;if(e.setAttribute(e2,""),e.style.pointerEvents="none",C.current=!0,eX(i)&&s){let e=null==m?void 0:null==(r=m.nodesRef.current.find(e=>e.id===h))?void 0:null==(n=r.context)?void 0:n.elements.floating;return e&&(e.style.pointerEvents=""),i.style.pointerEvents="auto",s.style.pointerEvents="auto",()=>{i.style.pointerEvents="",s.style.pointerEvents=""}}}},[c,t,h,s,i,m,y,o,R]),eA(()=>{t||(v.current=void 0,S(),M())},[t,S,M]),a.useEffect(()=>()=>{S(),clearTimeout(w.current),clearTimeout(N.current),M()},[c,S,M]),a.useMemo(()=>{if(!c)return{};function e(e){v.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){t||0===f||(clearTimeout(N.current),N.current=setTimeout(()=>{j.current||n(!0,e.nativeEvent)},f))}},floating:{onMouseEnter(){clearTimeout(w.current)},onMouseLeave(e){l.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),T(e.nativeEvent,!1)}}}},[l,c,f,t,n,T])}(e,{enabled:"hover"===r,handleClose:function(e){let r;void 0===e&&(e={});let{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:o=!0}=e,a=!1,l=null,i=null,s=performance.now(),d=e=>{let{x:n,y:d,placement:c,elements:u,onClose:g,nodeId:b,tree:f}=e;return function(e){function p(){clearTimeout(r),g()}if(clearTimeout(r),!u.domReference||!u.floating||null==c||null==n||null==d)return;let{clientX:m,clientY:h}=e,y=[m,h],x=e8(e),v="mouseleave"===e.type,w=e0(u.floating,x),k=e0(u.domReference,x),N=u.domReference.getBoundingClientRect(),j=u.floating.getBoundingClientRect(),C=c.split("-")[0],E=n>j.right-j.width/2,R=d>j.bottom-j.height/2,T=y[0]>=N.x&&y[0]<=N.x+N.width&&y[1]>=N.y&&y[1]<=N.y+N.height,S=j.width>N.width,M=j.height>N.height,I=(S?N:j).left,P=(S?N:j).right,z=(M?N:j).top,L=(M?N:j).bottom;if(w&&(a=!0,!v))return;if(k&&(a=!1),k&&!v){a=!0;return}if(v&&eX(e.relatedTarget)&&e0(u.floating,e.relatedTarget)||f&&e9(f.nodesRef.current,b).some(e=>{let{context:r}=e;return null==r?void 0:r.open}))return;if("top"===C&&d>=N.bottom-1||"bottom"===C&&d<=N.top+1||"left"===C&&n>=N.right-1||"right"===C&&n<=N.left+1)return p();let O=[];switch(C){case"top":O=[[I,N.top+1],[I,j.bottom-1],[P,j.bottom-1],[P,N.top+1]];break;case"bottom":O=[[I,j.top+1],[I,N.bottom-1],[P,N.bottom-1],[P,j.top+1]];break;case"left":O=[[j.right-1,L],[j.right-1,z],[N.left+1,z],[N.left+1,L]];break;case"right":O=[[N.right-1,L],[N.right-1,z],[j.left+1,z],[j.left+1,L]]}if(!rA([m,h],O)){if(a&&!T)return p();if(!v&&o){let r=function(e,r){let t=performance.now(),n=t-s;if(null===l||null===i||0===n)return l=e,i=r,s=t,null;let o=e-l,a=r-i;return l=e,i=r,s=t,Math.sqrt(o*o+a*a)/n}(e.clientX,e.clientY);if(null!==r&&r<.1)return p()}rA([m,h],function(e){let[r,n]=e;switch(C){case"top":{let e=[[j.left,E?j.bottom-t:S?j.bottom-t:j.top],[j.right,E?S?j.bottom-t:j.top:j.bottom-t]];return[[S?r+t/2:E?r+4*t:r-4*t,n+t+1],[S?r-t/2:E?r+4*t:r-4*t,n+t+1],...e]}case"bottom":{let e=[[j.left,E?j.top+t:S?j.top+t:j.bottom],[j.right,E?S?j.top+t:j.bottom:j.top+t]];
1return[[S?r+t/2:E?r+4*t:r-4*t,n-t],[S?r-t/2:E?r+4*t:r-4*t,n-t],...e]}case"left":return[[R?j.right-t:M?j.right-t:j.left,j.top],[R?M?j.right-t:j.left:j.right-t,j.bottom],[r+t+1,M?n+t/2:R?n+4*t:n-4*t],[r+t+1,M?n-t/2:R?n+4*t:n-4*t]];case"right":{let e=[[R?j.left+t:M?j.left+t:j.right,j.top],[R?M?j.left+t:j.right:j.left+t,j.bottom]];return[[r-t,M?n+t/2:R?n+4*t:n-4*t],[r-t,M?n-t/2:R?n+4*t:n-4*t],...e]}}}([n,d]))?!a&&o&&(r=window.setTimeout(p,40)):p()}}};return d.__options={blockPointerEvents:n},d}()}),function(e,r){void 0===r&&(r={});let{open:t,onOpenChange:n,events:o,nodeId:l,elements:{reference:i,domReference:s,floating:d},dataRef:c}=e,{enabled:u=!0,escapeKey:g=!0,outsidePress:b=!0,outsidePressEvent:f="pointerdown",referencePress:p=!1,referencePressEvent:m="pointerdown",ancestorScroll:h=!1,bubbles:y}=r,x=eK(),v=null!=e$(),w=rh("function"==typeof b?b:()=>!1),k="function"==typeof b?w:b,N=a.useRef(!1),{escapeKeyBubbles:j,outsidePressBubbles:C}=rw(y),E=rh(e=>{if(!t||!u||!g||"Escape"!==e.key)return;let r=x?e9(x.nodesRef.current,l):[];if(!j&&(e.stopPropagation(),r.length>0)){let e=!0;if(r.forEach(r=>{var t;if(null!=(t=r.context)&&t.open&&!r.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}o.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1,"nativeEvent"in e?e.nativeEvent:e)}),R=rh(e=>{let r=N.current;if(N.current=!1,r||"function"==typeof k&&!k(e))return;let t=e8(e);if(eq(t)&&d){let r=t.clientWidth>0&&t.scrollWidth>t.clientWidth,n=t.clientHeight>0&&t.scrollHeight>t.clientHeight,o=n&&e.offsetX>t.clientWidth;if(n&&"rtl"===eY(d).getComputedStyle(t).direction&&(o=e.offsetX<=t.offsetWidth-t.clientWidth),o||r&&e.offsetY>t.clientHeight)return}let a=x&&e9(x.nodesRef.current,l).some(r=>{var t;return ry(e,null==(t=r.context)?void 0:t.elements.floating)});if(ry(e,d)||ry(e,s)||a)return;let i=x?e9(x.nodesRef.current,l):[];if(i.length>0){let e=!0;if(i.forEach(r=>{var t;if(null!=(t=r.context)&&t.open&&!r.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}o.emit("dismiss",{type:"outsidePress",data:{returnFocus:v?{preventScroll:!0}:eV(e)||eZ(e)}}),n(!1,e)});return a.useEffect(()=>{if(!t||!u)return;function e(e){n(!1,e)}c.current.__escapeKeyBubbles=j,c.current.__outsidePressBubbles=C;let r=eH(d);g&&r.addEventListener("keydown",E),k&&r.addEventListener(f,R);let o=[];return h&&(eX(s)&&(o=(0,ex.Kx)(s)),eX(d)&&(o=o.concat((0,ex.Kx)(d))),!eX(i)&&i&&i.contextElement&&(o=o.concat((0,ex.Kx)(i.contextElement)))),(o=o.filter(e=>{var t;return e!==(null==(t=r.defaultView)?void 0:t.visualViewport)})).forEach(r=>{r.addEventListener("scroll",e,{passive:!0})}),()=>{g&&r.removeEventListener("keydown",E),k&&r.removeEventListener(f,R),o.forEach(r=>{r.removeEventListener("scroll",e)})}},[c,d,s,i,g,k,f,t,n,h,u,j,C,E,R]),a.useEffect(()=>{N.current=!1},[k,f]),a.useMemo(()=>u?{reference:{onKeyDown:E,[rx[m]]:e=>{p&&(o.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1,e.nativeEvent))}},floating:{onKeyDown:E,[rv[f]]:()=>{N.current=!0}}}:{},[u,o,p,f,m,n,E])}(e),function(e,r){void 0===r&&(r={});let{open:t,floatingId:n}=e,{enabled:o=!0,role:l="dialog"}=r,i=eG();return a.useMemo(()=>{let e={id:n,role:l};return o?"tooltip"===l?{reference:{"aria-describedby":t?n:void 0},floating:e}:{reference:{"aria-expanded":t?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":t?n:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:i}},floating:{...e,..."menu"===l&&{"aria-labelledby":i}}}:{}},[o,l,t,n,i])}(e,{role:t}),...n]),rH={top:i.lVW,right:i.yoF,bottom:i.kzR,left:i.PSe},rU=({refs:e,children:r,inline:t,theme:n,disabled:l,setButtonWidth:i,getReferenceProps:s,renderTrigger:d,...c})=>{let u=e.reference,g=s();if((0,a.useEffect)(()=>{u.current&&i?.(u.current.clientWidth)},[u,i]),d){let r=d(n);return(0,a.cloneElement)(r,{ref:e.setReference,disabled:l,...g,...r.props})}return t?(0,o.jsx)("button",{type:"button",ref:e.setReference,className:n?.inlineWrapper,disabled:l,...g,children:r}):(0,o.jsx)(en,{...c,disabled:l,type:"button",ref:e.setReference,...g,children:r})},rY=(0,a.createContext)({}),rX=({children:e,className:r,dismissOnClick:t=!0,theme:n={},renderTrigger:l,...s})=>{let[d,c]=(0,a.useState)(!1),[u,g]=(0,a.useState)(null),[b,f]=(0,a.useState)(null),[p,m]=(0,a.useState)(void 0),h=(0,a.useRef)([]),y=(0,a.useRef)([]),x=_(ey().theme.dropdown,n),v=s["data-testid"]||"flowbite-dropdown-target",{placement:w=s.inline?"bottom-start":"bottom",trigger:k="click",label:N,inl
1ine:j,arrowIcon:C=!0,...E}=s,R=(0,a.useCallback)(e=>{f(e),c(!1)},[]),T=(0,a.useCallback)(e=>{d?g(e):R(e)},[d,R]),{context:S,floatingStyles:M,refs:I}=r$({open:d,setOpen:c,placement:w}),P=function(e,r){let{open:t,onOpenChange:n,refs:o,elements:{domReference:l,floating:i}}=e,{listRef:s,activeIndex:d,onNavigate:c=()=>{},enabled:u=!0,selectedIndex:g=null,allowEscape:b=!1,loop:f=!1,nested:p=!1,rtl:m=!1,virtual:h=!1,focusItemOnOpen:y="auto",focusItemOnHover:x=!0,openOnArrowKeyDown:v=!0,disabledIndices:w,orientation:k="vertical",cols:N=1,scrollItemIntoView:j=!0}=r,C=e$(),E=eK(),R=rh(c),T=a.useRef(y),S=a.useRef(null!=g?g:-1),M=a.useRef(null),I=a.useRef(!0),P=a.useRef(R),z=a.useRef(!!i),L=a.useRef(!1),O=a.useRef(!1),A=e5(w),D=e5(t),F=e5(j),[B,G]=a.useState(),_=rh(function(e,r,t){void 0===t&&(t=!1);let n=e.current[r.current];n&&(h?G(n.id):e3(n,{preventScroll:!0,sync:!!(eU().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints&&eJ())&&(rN||L.current)}),requestAnimationFrame(()=>{let e=F.current;e&&n&&(t||!I.current)&&(null==n.scrollIntoView||n.scrollIntoView("boolean"==typeof e?{block:"nearest",inline:"nearest"}:e))}))});eA(()=>{document.createElement("div").focus({get preventScroll(){return rN=!0,!1}})},[]),eA(()=>{u&&(t&&i?T.current&&null!=g&&(O.current=!0,R(g)):z.current&&(S.current=-1,P.current(null)))},[u,t,i,g,R]),eA(()=>{if(u&&t&&i){if(null==d){if(L.current=!1,null==g&&(z.current&&(S.current=-1,_(s,S)),!z.current&&T.current&&(null!=M.current||!0===T.current&&null==M.current))){let e=0,r=()=>{null==s.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(r),e++):(S.current=null==M.current||rz(M.current,k,m)||p?rL(s,A.current):rO(s,A.current),M.current=null,R(S.current))};r()}}else rS(s,d)||(S.current=d,_(s,S,O.current),O.current=!1)}},[u,t,i,d,g,p,s,k,m,R,_,A]),eA(()=>{if(u&&z.current&&!i&&E){var e,r;let t=E.nodesRef.current,n=null==(e=t.find(e=>e.id===C))?void 0:null==(r=e.context)?void 0:r.elements.floating,o=e7(eH(i)),a=t.some(e=>e.context&&e0(e.context.elements.floating,o));n&&!a&&n.focus({preventScroll:!0})}},[u,i,E,C]),eA(()=>{P.current=R,z.current=!!i}),eA(()=>{t||(M.current=null)},[t]);let W=null!=d,$=a.useMemo(()=>{function e(e){if(!t)return;let r=s.current.indexOf(e);-1!==r&&R(r)}return{onFocus(r){let{currentTarget:t}=r;e(t)},onClick:e=>{let{currentTarget:r}=e;return r.focus({preventScroll:!0})},...x&&{onMouseMove(r){let{currentTarget:t}=r;e(t)},onPointerLeave(e){let{pointerType:r}=e;I.current&&"touch"!==r&&(S.current=-1,_(s,S),R(null),h||e3(o.floating.current,{preventScroll:!0}))}}}},[t,o,_,x,s,R,h]);return a.useMemo(()=>{if(!u)return{};let e=A.current;function r(r){var a;if(I.current=!1,L.current=!0,!D.current&&r.currentTarget===o.floating.current)return;if(p&&(a=r.key,rI(k,m?a===rR:a===rE,a===rj))){rr(r),n(!1,r.nativeEvent),eq(l)&&l.focus();return}let i=S.current,d=rL(s,e),c=rO(s,e);if("Home"===r.key&&(rr(r),S.current=d,R(S.current)),"End"===r.key&&(rr(r),S.current=c,R(S.current)),N>1){let t=S.current;if(r.key===rj){if(rr(r),-1===t)S.current=c;else if(S.current=rM(s,{startingIndex:t,amount:N,decrement:!0,disabledIndices:e}),f&&(t-N<d||S.current<0)){let e=t%N,r=c%N,n=c-(r-e);r===e?S.current=c:S.current=r>e?n:n-N}rS(s,S.current)&&(S.current=t),R(S.current)}if(r.key===rC&&(rr(r),-1===t?S.current=d:(S.current=rM(s,{startingIndex:t,amount:N,disabledIndices:e}),f&&t+N>c&&(S.current=rM(s,{startingIndex:t%N-N,amount:N,disabledIndices:e}))),rS(s,S.current)&&(S.current=t),R(S.current)),"both"===k){let n=Math.floor(t/N);r.key===rR&&(rr(r),t%N!=N-1?(S.current=rM(s,{startingIndex:t,disabledIndices:e}),f&&rT(S.current,N,n)&&(S.current=rM(s,{startingIndex:t-t%N-1,disabledIndices:e}))):f&&(S.current=rM(s,{startingIndex:t-t%N-1,disabledIndices:e})),rT(S.current,N,n)&&(S.current=t)),r.key===rE&&(rr(r),t%N!=0?(S.current=rM(s,{startingIndex:t,disabledIndices:e,decrement:!0}),f&&rT(S.current,N,n)&&(S.current=rM(s,{startingIndex:t+(N-t%N),decrement:!0,disabledIndices:e}))):f&&(S.current=rM(s,{startingIndex:t+(N-t%N),decrement:!0,disabledIndices:e})),rT(S.current,N,n)&&(S.current=t));let o=Math.floor(c/N)===n;rS(s,S.current)&&(f&&o?S.current=r.key===rE?c:rM(s,{startingIndex:t-t%N-1,disabledIndices:e}):S.current=t),R(S.current);return}}if(rP(r.key,k)){if(rr(r),t&&!h&&e7(r.currentTarget.ownerDocument)===r.currentTarget){S.current=rz(r.key,k,m)?d:c,R(S.current);return}rz(r.key,k,m)?f?S.current=i>=c?b&&i!==s.current.length?-1:d:rM(s,{startingIndex:i,disabledIndices:e}):S.current=Math.min(c,rM(s,{startingIndex:i,disabledIndices:e})):f?S.current=i<=d?b&&-1!==i?s.current.length:c:rM(s,{startingIndex:i,decrement:!0,disabledIndices:e}):S.current=Math.max(d,rM(s,{startingIndex:i,decrement:!0,disabledIndices:e})),rS(s,S.current)?R(null):R(S.current)}}function a(e){"auto"===y&&eV(e.nativeEvent)&&(T.current=!0)}let i=h&&t&&W&&{"aria-activedescendant":B};return{reference:{...i,onKeyDown(o){var a;I.current=!1;let l=0===o.key.indexOf("Arrow");if(h&&t)return r(o);if(!t&&!v&&l)return;let i=l||"Enter"===o.key||""===o.key.trim(),d=rP(o.key,k),c=(a=o.key,rI(k,m?a===rE:a===rR,a===rC));if(i&&(M.current=p&&d?null:o.key),p){c&&(rr(o),t?(S.current=rL(s,e),R(S.current)):n(!0,o.nativeEvent));return}d&&(null!=g&&(S.current=g),rr(o),!t&&v?n(!0,o.nativeEvent):r(o),t&&R(S.current))},onFocus(){t&&R(null)},onPointerDown:function(e){T.current=y,"auto"===y&&eZ(e.nativeEvent)&&(T.current=!0)},onMouseDown:a,onClick:a},floating:{"aria-orientation":"both"===k?void 0:k,...i,onKeyDown:r,onPointerMove(){I.current=!0}},item:$}},[l,o,B,A,D,s,u,k,m,h,t,W,p,g,v,b,N,f,y,R,n,$])}(S,{listRef:h,activeIndex:u,selectedIndex:b,onNavigate:g}),z=function(e,r){var t;let{open:n,dataRef:o}=e,{listRef:l,activeIndex:i,onMatch:s,onTypingChange:d,enabled:c=!0,findMatch:u=null,resetMs:g=750,ignoreKeys:b=[],selectedIndex:f=null}=r,p=a.useRef(),m=a.useRef(""),h=a.useRef(null!=(t=null!=f?f:i)?t:-1),y=a.useRef(null),x=rh(s),v=rh(d),w=e5(u),k=e5(b);return eA(()=>{n&&(clearTimeout(p.current),y.current=null,m.current="")},[n]),eA(()=>{if(n&&""===m.current){var e;h.current=null!=(e=null!=f?f:i)?e:-1}},[n,f,i]),a.useMemo(()=>
1{if(!c)return{};function e(e){e?o.current.typing||(o.current.typing=e,v(e)):o.current.typing&&(o.current.typing=e,v(e))}function r(e,r,t){let n=w.current?w.current(r,t):r.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase()))===0);return n?e.indexOf(n):-1}function t(t){let o=l.current;if(m.current.length>0&&" "!==m.current[0]&&(-1===r(o,o,m.current)?e(!1):" "===t.key&&rr(t)),null==o||k.current.includes(t.key)||1!==t.key.length||t.ctrlKey||t.metaKey||t.altKey)return;n&&" "!==t.key&&(rr(t),e(!0)),o.every(e=>{var r,t;return!e||(null==(r=e[0])?void 0:r.toLocaleLowerCase())!==(null==(t=e[1])?void 0:t.toLocaleLowerCase())})&&m.current===t.key&&(m.current="",h.current=y.current),m.current+=t.key,clearTimeout(p.current),p.current=setTimeout(()=>{m.current="",h.current=y.current,e(!1)},g);let a=h.current,i=r(o,[...o.slice((a||0)+1),...o.slice(0,(a||0)+1)],m.current);-1!==i?(x(i),y.current=i):" "!==t.key&&(m.current="",e(!1))}return{reference:{onKeyDown:t},floating:{onKeyDown:t,onKeyUp(r){" "===r.key&&e(!1)}}}},[c,n,o,l,g,k,w,x,v])}(S,{listRef:y,activeIndex:u,selectedIndex:b,onMatch:T}),{getReferenceProps:L,getFloatingProps:O,getItemProps:A}=rK({context:S,role:"menu",trigger:k,interactions:[P,z]}),D=(0,a.useMemo)(()=>{let[e]=w.split("-");return rH[e]??i.kzR},[w]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(rU,{...E,refs:I,inline:j,theme:x,"data-testid":v,className:F(x.floating.target,E.className),setButtonWidth:m,getReferenceProps:L,renderTrigger:l,children:[N,C&&(0,o.jsx)(D,{className:x.arrowIcon})]}),(0,o.jsx)(rY.Provider,{value:{activeIndex:u,dismissOnClick:t,getItemProps:A,handleSelect:R},children:d&&(0,o.jsx)(ru,{context:S,modal:!1,children:(0,o.jsx)("div",{ref:I.setFloating,style:{...M,minWidth:p},"data-testid":"flowbite-dropdown","aria-expanded":d,...O({className:F(x.floating.base,x.floating.animation,"duration-100",!d&&x.floating.hidden,x.floating.style.auto,r)}),children:(0,o.jsx)(rf,{elementsRef:h,labelsRef:y,children:(0,o.jsx)("ul",{className:x.content,tabIndex:-1,children:e})})})})})]})};rX.displayName="Dropdown",rB.displayName="Dropdown.Item",rF.displayName="Dropdown.Header",rD.displayName="Dropdown.Divider",Object.assign(rX,{Item:rB,Header:rF,Divider:rD}),(0,a.forwardRef)(({className:e,color:r="gray",helperText:t,sizing:n="md",theme:a={},...l},i)=>{let s=_(ey().theme.fileInput,a);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:F(s.root.base,e),children:(0,o.jsx)("div",{className:s.field.base,children:(0,o.jsx)("input",{className:F(s.field.input.base,s.field.input.colors[r],s.field.input.sizes[n]),...l,type:"file",ref:i})})}),t&&(0,o.jsx)(r2,{color:r,children:t})]})}).displayName="FileInput";let rq=({alt:e,className:r,children:t,href:n,name:a,src:l,theme:i={},...s})=>{let d=_(ey().theme.footer.brand,i);return(0,o.jsx)("div",{children:n?(0,o.jsxs)("a",{"data-testid":"flowbite-footer-brand",href:n,className:F(d.base,r),...s,children:[(0,o.jsx)("img",{alt:e,src:l,className:d.img}),(0,o.jsx)("span",{"data-testid":"flowbite-footer-brand-span",className:d.span,children:a}),t]}):(0,o.jsx)("img",{alt:e,"data-testid":"flowbite-footer-brand",src:l,className:F(d.img,r),...s})})},rV=({by:e,className:r,href:t,theme:n={},year:a,...l})=>{let i=_(ey().theme.footer.copyright,n);return(0,o.jsxs)("div",{"data-testid":"flowbite-footer-copyright",className:F(i.base,r),...l,children:["\xa9 ",a,t?(0,o.jsx)("a",{href:t,className:i.href,children:e}):(0,o.jsx)("span",{"data-testid":"flowbite-footer-copyright-span",className:i.span,children:e})]})},rZ=({className:e,theme:r={},...t})=>{let n=_(ey().theme.footer.divider,r);return(0,o.jsx)("hr",{"data-testid":"footer-divider",className:F(n.base,e),...t})},rJ=({ariaLabel:e,className:r,href:t,icon:n,theme:a={},...l})=>{let i=_(ey().theme.footer.icon,a);return(0,o.jsx)("div",{children:t?(0,o.jsx)("a",{"aria-label":e,"data-testid":"flowbite-footer-icon",href:t,className:F(i.base,r),...l,children:(0,o.jsx)(n,{className:i.size})}):(0,o.jsx)(n,{"data-testid":"flowbite-footer-icon",className:i.size,...l})})},rQ=({as:e="a",children:r,className:t,href:n,theme:a={},...l})=>{let i=_(ey().theme.footer.groupLink.link,a);return(0,o.jsx)("li",{className:F(i.base,t),children:(0,o.jsx)(e,{href:n,className:i.href,...l,children:r})})},r0=({children:e,className:r,col:t=!1,theme:n={},...a})=>{let l=_(ey().theme.footer.groupLink,n);return(0,o.jsx)("ul",{"data-testid":"footer-groupLink",className:F(l.base,t&&l.col,r),...a,children:e})},r1=({as:e="h2",className:r,theme:t={},title:n,...a})=>{let l=_(ey().theme.footer.title,t);return(0,o.jsx)(e,{"data-testid":"flowbite-footer-title",className:F(l.base,r),...a,children:n})},r5=({bgDark:e=!1,children:r,className:t,container:n=!1,theme:a={},...l})=>{let i=_(ey().theme.footer,a);return(0,o.jsx)("footer",{"data-testid":"flowbite-footer",className:F(i.root.base,e&&i.root.bgDark,n&&i.root.container,t),...l,children:r})};r5.displayName="Footer",rV.displayName="Footer.Copyright",rQ.displayName="Footer.Link",rq.displayName="Footer.Brand",r0.displayName="Footer.LinkGroup",rJ.displayName="Footer.Icon",r1.displayName="Footer.Title",rZ.displayName="Footer.Divider",Object.assign(r5,{Copyright:rV,Link:rQ,LinkGroup:r0,Brand:rq,Icon:rJ,Title:r1,Divider:rZ});let r2=({children:e,className:r,color:t="default",theme:n={},value:a,...l})=>{let i=_(ey().theme.helperText,n);return(0,o.jsx)("p",{className:F(i.root.base,i.root.colors[t],r),...l,children:a??e??""})};r2.displayName="HelperText";let r4=({active:e,children:r,className:t,href:n,icon:a,onClick:l,theme:i={},...s})=>
1{let d=_(ey().theme.listGroup.item,i),c=void 0!==n;return(0,o.jsx)("li",{className:F(d.base,t),children:(0,o.jsxs)(c?"a":"button",{href:n,onClick:l,type:c?void 0:"button",className:F(d.link.active[e?"on":"off"],d.link.base,d.link.href[c?"on":"off"]),...s,children:[a&&(0,o.jsx)(a,{"aria-hidden":!0,"data-testid":"flowbite-list-group-item-icon",className:d.link.icon}),r]})})},r7=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.listGroup,t);return(0,o.jsx)("ul",{className:F(a.root.base,r),...n,children:e})};r7.displayName="ListGroup",r4.displayName="ListGroup.Item",Object.assign(r7,{Item:r4});let r6=(0,a.createContext)(void 0);function r3(){let e=(0,a.useContext)(r6);if(!e)throw Error("useModalContext should be used within the ModalContext provider!");return e}let r9=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.modal.body,t),{popup:l}=r3();return(0,o.jsx)("div",{className:F(a.base,l&&[a.popup],r),...n,children:e})},r8=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.modal.footer,t),{popup:l}=r3();return(0,o.jsx)("div",{className:F(a.base,!l&&a.popup,r),...n,children:e})},te=({as:e="h3",children:r,className:t,theme:n={},...a})=>{let l=_(ey().theme.modal.header,n),{popup:s,onClose:d}=r3();return(0,o.jsxs)("div",{className:F(l.base,s&&l.popup,t),...a,children:[(0,o.jsx)(e,{className:l.title,children:r}),(0,o.jsx)("button",{"aria-label":"Close",className:l.close.base,type:"button",onClick:d,children:(0,o.jsx)(i.fMW,{"aria-hidden":!0,className:l.close.icon})})]})},tr=({children:e,className:r,dismissible:t=!1,onClose:n,popup:l,position:i="center",root:s,show:d,size:c="2xl",theme:u={},...g})=>{let b=_(ey().theme.modal,u),[f,p]=(0,a.useState)(!1),m=(0,a.useRef)(null);return((0,a.useEffect)(()=>(p(!0),()=>{let e=m.current;e&&(e.parentNode?.removeChild(e),m.current=null)}),[]),(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n&&n()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[n]),f)?(m.current||(m.current=document.createElement("div")),eg()&&m.current.parentNode!==s&&((s||=document.body).appendChild(m.current),s.style.overflow=d?"hidden":""),(0,ew.createPortal)((0,o.jsx)(r6.Provider,{value:{popup:l,onClose:n},children:(0,o.jsx)("div",{"aria-hidden":!d,"data-testid":"modal",onClick:e=>{t&&e.target===e.currentTarget&&n&&n()},role:"dialog",className:F(b.root.base,b.root.positions[i],d?b.root.show.on:b.root.show.off,r),...g,children:(0,o.jsx)("div",{className:F(b.content.base,b.root.sizes[c]),children:(0,o.jsx)("div",{className:b.content.inner,children:e})})})}),m.current)):null};tr.displayName="Modal",te.displayName="Modal.Header",r9.displayName="Modal.Body",r8.displayName="Modal.Footer",Object.assign(tr,{Header:te,Body:r9,Footer:r8});let tt=({as:e="a",children:r,className:t,theme:n={},...a})=>{let l=_(ey().theme.navbar.brand,n);return(0,o.jsx)(e,{className:F(l.base,t),...a,children:r})},tn=(0,a.createContext)(void 0);function to(){let e=(0,a.useContext)(tn);if(!e)throw Error("useNavBarContext should be used within the NavbarContext provider!");return e}let ta=({children:e,className:r,theme:t={},...n})=>{let{isOpen:a}=to(),l=_(ey().theme.navbar.collapse,t);return(0,o.jsx)("div",{"data-testid":"flowbite-navbar-collapse",className:F(l.base,l.hidden[a?"off":"on"],r),...n,children:(0,o.jsx)("ul",{className:l.list,children:e})})},tl=({active:e,as:r="a",disabled:t,children:n,className:a,theme:l={},...i})=>{let s=_(ey().theme.navbar.link,l);return(0,o.jsx)("li",{children:(0,o.jsx)(r,{className:F(s.base,e&&s.active.on,!e&&!t&&s.active.off,s.disabled[t?"on":"off"],a),...i,children:n})})};var ti=t(5674);let ts=({barIcon:e=ti.Fm7,className:r,theme:t={},...n})=>{let{isOpen:a,setIsOpen:l}=to(),i=_(ey().theme.navbar.toggle,t);return(0,o.jsxs)("button",{"data-testid":"flowbite-navbar-toggle",onClick:()=>{l(!a)},className:F(i.base,r),...n,children:[(0,o.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,o.jsx)(e,{"aria-hidden":!0,className:i.icon})]})},td=({border:e,children:r,className:t,fluid:n=!1,menuOpen:l,rounded:i,theme:s={},...d})=>{let[c,u]=(0,a.useState)(l),g=_(ey().theme.navbar.root,s);return(0,o.jsx)(tn.Provider,{value:{isOpen:c,setIsOpen:u},children:(0,o.jsx)("nav",{className:F(g.base,g.bordered[e?"on":"off"],g.rounded[i?"on":"off"],t),...d,children:(0,o.jsx)("div",{className:F(g.inner.base,g.inner.fluid[n?"on":"off"]),children:r})})})};td.displayName="Navbar",tt.displayName="Navbar.Brand",ta.displayName="Navbar.Collapse",tl.displayName="Navbar.Link",ts.displayName="Navbar.Toggle",Object.assign(td,{Brand:tt,Collapse:ta,Link:tl,Toggle:ts});let tc=(e,r)=>e>=r?[]:[...Array(r-e+1).keys()].map(r=>r+e),tu=({active:e,children:r,className:t,onClick:n,theme:a={},...l})=>{let i=_(ey().theme.pagination,a);return(0,o.jsx)("button",{type:"button",className:F(e&&i.pages.selector.active,t),onClick:n,...l,children:r})};tu.displayName="Pagination.Button";let tg=({children:e,className:r,onClick:t,theme:n={},disabled:a=!1,...l})=>{let i=_(ey().theme.pagination,n);return(0,o.jsx)("button",{type:"button",className:F(a&&i.pages.selector.disabled,r),disabled:a,onClick:t,...l,children:e})};tg.displayName="Pagination.Navigation";let tb=({className:e,currentPage:r,layout:t="pagination",nextLabel:n="Next",onPageChange:a,previousLabel:l="Previous",renderPaginationButton:s=e=>(0,o.jsx)(tu,{...e}),showIcons:d=!1,theme:c={},totalPages:u,...g})=>{let b=_(ey().theme.pagination,c),f=Math.max(1,r-3),p=Math.min(r+3,u);return(0,o.jsxs)("nav",{className:F(b.base,e),...g,children:["table"===t&&(0,o.jsxs)("div",{className:b.layout.table.base,children:["Showing ",(0,o.jsx)("span",{className:b.layout.table.span,children:f})," to\xa0",(0,o.jsx)("span",{className:b.layout.table.span,children:p})," of\xa0",(0,o.jsx)("span",{className:b.layout.table.span,children:u})," Entries"]}),(0,o.jsxs)("ul",{className:b.pages.base,children:[(0,o.jsx)("li",{children:(0,o.jsxs)(tg,{className:F(b.pages.previous.base,d&&b.pages.showIcon),onClick:()=>{a(Math.max(r-1,1))}
1,disabled:1===r,children:[d&&(0,o.jsx)(i.DEl,{"aria-hidden":!0,className:b.pages.previous.icon}),l]})}),"pagination"===t&&tc(f,p).map(e=>(0,o.jsx)("li",{"aria-current":e===r?"page":void 0,children:s({className:F(b.pages.selector.base,r===e&&b.pages.selector.active),active:e===r,onClick:()=>a(e),children:e})},e)),(0,o.jsx)("li",{children:(0,o.jsxs)(tg,{className:F(b.pages.next.base,d&&b.pages.showIcon),onClick:()=>{a(Math.min(r+1,u))},disabled:r===u,children:[n,d&&(0,o.jsx)(i.MOd,{"aria-hidden":!0,className:b.pages.next.icon})]})})]})]})};tb.displayName="Pagination",Object.assign(tb,{Button:tu}),(0,a.forwardRef)(({className:e,theme:r={},...t},n)=>{let a=_(ey().theme.radio,r);return(0,o.jsx)("input",{ref:n,type:"radio",className:F(a.root.base,e),...t})}).displayName="Radio",(0,a.forwardRef)(({className:e,sizing:r="md",theme:t={},...n},a)=>{let l=_(ey().theme.rangeSlider,t);return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{"data-testid":"flowbite-range-slider",className:F(l.root.base,e),children:(0,o.jsx)("div",{className:l.field.base,children:(0,o.jsx)("input",{ref:a,type:"range",className:F(l.field.input.base,l.field.input.sizes[r]),...n})})})})}).displayName="RangeSlider";let tf=({children:e,className:r,percentFilled:t=0,theme:n={},...a})=>{let l=_(ey().theme.rating.advanced,n);return(0,o.jsxs)("div",{className:F(l.base,r),...a,children:[(0,o.jsx)("span",{className:l.label,children:e}),(0,o.jsx)("div",{className:l.progress.base,children:(0,o.jsx)("div",{className:l.progress.fill,"data-testid":"flowbite-rating-fill",style:{width:`${t}%`}})}),(0,o.jsx)("span",{className:l.progress.label,children:`${t}%`})]})},tp=(0,a.createContext)(void 0),tm=({className:e,filled:r=!0,starIcon:t=i.xiv,theme:n={},...l})=>{let{size:s="sm"}=function(){let e=(0,a.useContext)(tp);if(!e)throw Error("useRatingContext should be used within the RatingContext provider!");return e}(),d=_(ey().theme.rating.star,n);return(0,o.jsx)(t,{"data-testid":"flowbite-rating-star",className:F(d.sizes[s],d[r?"filled":"empty"],e),...l})},th=({children:e,className:r,size:t="sm",theme:n={},...a})=>{let l=_(ey().theme.rating,n);return(0,o.jsx)(tp.Provider,{value:{size:t},children:(0,o.jsx)("div",{className:F(l.root.base,r),...a,children:e})})};th.displayName="Rating",tm.displayName="Rating.Star",tf.displayName="Rating.Advanced",Object.assign(th,{Star:tm,Advanced:tf}),(0,a.forwardRef)(({addon:e,children:r,className:t,color:n="gray",helperText:a,icon:l,shadow:i,sizing:s="md",theme:d={},...c},u)=>{let g=_(ey().theme.select,d);return(0,o.jsxs)("div",{className:F(g.base,t),children:[e&&(0,o.jsx)("span",{className:g.addon,children:e}),(0,o.jsxs)("div",{className:g.field.base,children:[l&&(0,o.jsx)("div",{className:g.field.icon.base,children:(0,o.jsx)(l,{className:g.field.icon.svg})}),(0,o.jsx)("select",{className:F(g.field.select.base,g.field.select.colors[n],g.field.select.withIcon[l?"on":"off"],g.field.select.withAddon[e?"on":"off"],g.field.select.withShadow[i?"on":"off"],g.field.select.sizes[s]),...c,ref:u,children:r}),a&&(0,o.jsx)(r2,{color:n,children:a})]})]})}).displayName="Select";let ty=(0,a.createContext)(void 0);function tx(){let e=(0,a.useContext)(ty);if(!e)throw Error("useSidebarContext should be used within the SidebarContext provider!");return e}let tv=({children:e,color:r="info",className:t,theme:n={},...a})=>{let{isCollapsed:l}=tx(),i=_(ey().theme.sidebar.cta,n);return(0,o.jsx)("div",{"data-testid":"sidebar-cta",hidden:l,className:F(i.base,i.color[r],t),...a,children:e})};tv.displayName="Sidebar.CTA";let tw=(0,a.createContext)(void 0),tk=({children:e,className:r,icon:t,label:n,open:l=!1,theme:s={},...d})=>{let c=(0,a.useId)(),{isCollapsed:u}=tx(),[g,b]=(0,a.useState)(l),f=_(ey().theme.sidebar.collapse,s);return(0,a.useEffect)(()=>b(l),[l]),(0,o.jsxs)(({children:e})=>(0,o.jsx)("li",{children:u&&!g?(0,o.jsx)(tQ,{content:n,placement:"right",children:e}):e}),{children:[(0,o.jsxs)("button",{id:`flowbite-sidebar-collapse-${c}`,onClick:()=>b(!g),title:n,type:"button",className:F(f.button,r),...d,children:[t&&(0,o.jsx)(t,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-collapse-icon",className:F(f.icon.base,f.icon.open[g?"on":"off"])}),u?(0,o.jsx)("span",{className:"sr-only",children:n}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{"data-testid":"flowbite-sidebar-collapse-label",className:f.label.base,children:n}
1),(0,o.jsx)(i.kWQ,{"aria-hidden":!0,className:f.label.icon})]})]}),(0,o.jsx)("ul",{"aria-labelledby":`flowbite-sidebar-collapse-${c}`,hidden:!g,className:f.list,children:(0,o.jsx)(tw.Provider,{value:{isInsideCollapse:!0},children:e})})]})};tk.displayName="Sidebar.Collapse";let tN=({id:e,isCollapsed:r,tooltipChildren:t,children:n,...a})=>(0,o.jsx)("li",{...a,children:r?(0,o.jsx)(tQ,{content:(0,o.jsx)(tj,{id:e,children:t}),placement:"right",children:n}):n}),tj=({id:e,children:r})=>(0,o.jsx)(tC,{id:e,children:r}),tC=({id:e,children:r})=>{let t=ey().theme.sidebar.item;return(0,o.jsx)("span",{"data-testid":"flowbite-sidebar-item-content",id:`flowbite-sidebar-item-${e}`,className:F(t.content.base),children:r})},tE=(0,a.forwardRef)(({active:e,as:r="a",children:t,className:n,icon:l,label:i,labelColor:s="info",theme:d={},...c},u)=>{let g=(0,a.useId)(),{isCollapsed:b}=tx(),{isInsideCollapse:f}=function(){let e=(0,a.useContext)(tw);if(!e)throw Error("useSidebarItemContext should be used within the SidebarItemContext provider!");return e}(),p=_(ey().theme.sidebar.item,d);return(0,o.jsx)(tN,{className:p.listItem,id:g,isCollapsed:b,tooltipChildren:t,children:(0,o.jsxs)(r,{"aria-labelledby":`flowbite-sidebar-item-${g}`,ref:u,className:F(p.base,e&&p.active,!b&&f&&p.collapsed?.insideCollapse,n),...c,children:[l&&(0,o.jsx)(l,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-item-icon",className:F(p.icon?.base,e&&p.icon?.active)}),b&&!l&&(0,o.jsx)("span",{className:p.collapsed?.noIcon,children:t.charAt(0).toLocaleUpperCase()??"?"}),!b&&(0,o.jsx)(tC,{id:g,children:t}),!b&&i&&(0,o.jsx)(Z,{color:s,"data-testid":"flowbite-sidebar-label",hidden:b,className:p.label,children:i})]})})});tE.displayName="Sidebar.Item";let tR=({children:e,className:r,...t})=>{let n=ey().theme.sidebar.itemGroup;return(0,o.jsx)("ul",{"data-testid":"flowbite-sidebar-item-group",className:F(n,r),...t,children:(0,o.jsx)(tw.Provider,{value:{isInsideCollapse:!1},children:e})})};tR.displayName="Sidebar.ItemGroup";let tT=({children:e,className:r,...t})=>{let n=ey().theme.sidebar.items;return(0,o.jsx)("div",{className:F(n,r),"data-testid":"flowbite-sidebar-items",...t,children:e})};tT.displayName="Sidebar.Items";let tS=({children:e,className:r,href:t,img:n,imgAlt:l="",theme:i={},...s})=>{let d=(0,a.useId)(),{isCollapsed:c}=tx(),u=_(ey().theme.sidebar.logo,i);return(0,o.jsxs)("a",{"aria-labelledby":`flowbite-sidebar-logo-${d}`,href:t,className:F(u.base,r),...s,children:[(0,o.jsx)("img",{alt:l,src:n,className:u.img}),(0,o.jsx)("span",{className:u.collapsed[c?"on":"off"],id:`flowbite-sidebar-logo-${d}`,children:e})]})};tS.displayName="Sidebar.Logo";let tM=({children:e,as:r="nav",collapseBehavior:t="collapse",collapsed:n=!1,theme:a={},className:l,...i})=>{let s=_(ey().theme.sidebar,a);return(0,o.jsx)(ty.Provider,{value:{isCollapsed:n},children:(0,o.jsx)(r,{"aria-label":"Sidebar",hidden:n&&"hide"===t,className:F(s.root.base,s.root.collapsed[n?"on":"off"],l),...i,children:(0,o.jsx)("div",{className:s.root.inner,children:e})})})};tM.displayName="Sidebar",Object.assign(tM,{Collapse:tk,CTA:tv,Item:tE,Items:tT,ItemGroup:tR,Logo:tS});let tI=({className:e,color:r="info",light:t,size:n="md",theme:a={},...l})=>{let i=_(ey().theme.spinner,a);return(0,o.jsx)("span",{role:"status",...l,children:(0,o.jsxs)("svg",{fill:"none",viewBox:"0 0 100 101",className:F(i.base,i.color[r],i.light[t?"on":"off"].base,i.light[t?"on":"off"].color[r],i.size[n],e),children:[(0,o.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,o.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.
11071C47.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"})]})})};tI.displayName="Spinner",(0,a.forwardRef)(({children:e,className:r,onActiveTabChange:t,style:n="default",theme:l={},...i},s)=>{let d=_(ey().theme.tab,l),c=(0,a.useId)(),u=(0,a.useMemo)(()=>a.Children.map(e,({props:e})=>e),[e]),g=(0,a.useRef)([]),[b,f]=(0,a.useState)(Math.max(0,u.findIndex(e=>e.active))),[p,m]=(0,a.useState)(-1),h=e=>{f(e),t&&t(e)},y=({target:e})=>{h(e),m(e)},x=({event:e,target:r})=>{"ArrowLeft"===e.key&&m(Math.max(0,p-1)),"ArrowRight"===e.key&&m(Math.min(u.length-1,p+1)),"Enter"===e.key&&(h(r),m(r))},v=d.tablist.tabitem.styles[n];return(0,a.useEffect)(()=>{g.current[p]?.focus()},[p]),(0,a.useImperativeHandle)(s,()=>({setActiveTab:h})),(0,o.jsxs)("div",{className:F(d.base,r),children:[(0,o.jsx)("div",{"aria-label":"Tabs",role:"tablist",className:F(d.tablist.base,d.tablist.styles[n],r),...i,children:u.map((e,r)=>(0,o.jsxs)("button",{type:"button","aria-controls":`${c}-tabpanel-${r}`,"aria-selected":r===b,className:F(d.tablist.tabitem.base,v.base,r===b&&v.active.on,r!==b&&!e.disabled&&v.active.off),disabled:e.disabled,id:`${c}-tab-${r}`,onClick:()=>y({target:r}),onKeyDown:e=>x({event:e,target:r}),ref:e=>g.current[r]=e,role:"tab",tabIndex:r===p?0:-1,children:[e.icon&&(0,o.jsx)(e.icon,{className:d.tablist.tabitem.icon}),e.title]},r))}),(0,o.jsx)("div",{children:u.map((e,r)=>(0,o.jsx)("div",{"aria-labelledby":`${c}-tab-${r}`,className:d.tabpanel,hidden:r!==b,id:`${c}-tabpanel-${r}`,role:"tabpanel",tabIndex:0,children:e.children},r))})]})}).displayName="Tabs.Group";let tP=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.table.body,t);return(0,o.jsx)("tbody",{className:F(a.base,r),...n,children:e})},tz=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.table.body.cell,t);return(0,o.jsx)("td",{className:F(a.base,r),...n,children:e})},tL=(0,a.createContext)(void 0),tO=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.table,t);return(0,o.jsx)("thead",{className:F(a.head.base,r),...n,children:(0,o.jsx)("tr",{children:e})})},tA=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.table.head.cell,t);return(0,o.jsx)("th",{className:F(a.base,r),...n,children:e})},tD=({children:e,className:r,theme:t={},...n})=>{let{hoverable:l,striped:i}=function(){let e=(0,a.useContext)(tL);if(!e)throw Error("useTableContext should be used within the TableContext provider!");return e}(),s=_(ey().theme.table.row,t);return(0,o.jsx)("tr",{"data-testid":"table-row-element",className:F(s.base,i&&s.striped,l&&s.hovered,r),...n,children:e})},tF=({children:e,className:r,hoverable:t,striped:n,theme:a={},...l})=>{let i=_(ey().theme.table,a);return(0,o.jsx)("div",{"data-testid":"table-element",className:F(i.root.wrapper),children:(0,o.jsxs)(tL.Provider,{value:{striped:n,hoverable:t},children:[(0,o.jsx)("div",{className:F(i.root.shadow,r)}),(0,o.jsx)("table",{className:F(i.root.base,r),...l,children:e})]})})};tF.displayName="Table",tO.displayName="Table.Head",tP.displayName="Table.Body",tD.displayName="Table.Row",tz.displayName="Table.Cell",tA.displayName="Table.HeadCell",Object.assign(tF,{Head:tO,Body:tP,Row:tD,Cell:tz,HeadCell:tA}),(0,a.forwardRef)(({addon:e,className:r,color:t="gray",helperText:n,icon:a,rightIcon:l,shadow:i,sizing:s="md",theme:d={},...c},u)=>{let g=_(ey().theme.textInput,d);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:F(g.base,r),children:[e&&(0,o.jsx)("span",{className:g.addon,children:e}),(0,o.jsxs)("div",{className:g.field.base,children:[a&&(0,o.jsx)("div",{className:g.field.icon.base,children:(0,o.jsx)(a,{className:g.field.icon.svg})}),l&&(0,o.jsx)("div",{"data-testid":"right-icon",className:g.field.rightIcon.base,children:(0,o.jsx)(l,{className:g.field.rightIcon.svg})}),(0,o.jsx)("input",{className:F(g.field.input.base,g.field.input.colors[t],g.field.input.sizes[s],g.field.input.withIcon[a?"on":"off"],g.field.input.withRightIcon[l?"on":"off"],g.field.input.withAddon[e?"on":"off"],g.field.input.withShadow[i?"on":"off"]),...c,ref:u})]})]}),n&&(0,o.jsx)(r2,{color:t,children:n})]})}).displayName="TextInput",(0,a.forwardRef)(({className:e,color:r="gray",helperText:t,shadow:n,theme:a={},...l},i)=>{let s=_(ey().theme.textarea,a);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("textarea",{ref:i,className:F(s.base,s.colors[r],s.withShadow[n?"on":"off"],e),...l}),t&&(0,o.jsx)(r2,{color:r,children:t})]})}).displayName="Textarea";let tB=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.timeline.item.content,t).body;return(0,o.jsx)("div",{className:F(a,r),...n,children:e})},tG=(0,a.createContext)(void 0);function t_(){let e=(0,a.useContext)(tG);
1if(!e)throw Error("useTimelineContext should be used within the TimelineContext providor!");return e}let tW=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.timeline.item.content,t),{horizontal:l}=t_();return(0,o.jsx)("div",{"data-testid":"timeline-content",className:F(l&&a.root.base,r),...n,children:e})},t$=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.timeline.item,t),{horizontal:l}=t_();return(0,o.jsx)("li",{"data-testid":"timeline-item",className:F(l&&a.root.horizontal,!l&&a.root.vertical,r),...n,children:e})},tK=({children:e,className:r,icon:t,theme:n={},...a})=>{let l=_(ey().theme.timeline.item.point,n),{horizontal:i}=t_();return(0,o.jsxs)("div",{"data-testid":"timeline-point",className:F(i&&l.horizontal,!i&&l.vertical,r),...a,children:[e,t?(0,o.jsx)("span",{className:F(l.marker.icon.wrapper),children:(0,o.jsx)(t,{"aria-hidden":!0,className:F(l.marker.icon.base)})}):(0,o.jsx)("div",{className:F(i&&l.marker.base.horizontal,!i&&l.marker.base.vertical)}),i&&(0,o.jsx)("div",{className:F(l.line)})]})},tH=({children:e,className:r,theme:t={},...n})=>{let a=_(ey().theme.timeline.item.content,t).time;return(0,o.jsx)("time",{className:F(a,r),...n,children:e})},tU=({as:e="h3",children:r,className:t,theme:n={},...a})=>{let l=_(ey().theme.timeline.item.content,n).title;return(0,o.jsx)(e,{className:F(l,t),...a,children:r})},tY=({children:e,className:r,horizontal:t,theme:n={},...a})=>{let l=_(ey().theme.timeline,n);return(0,o.jsx)(tG.Provider,{value:{horizontal:t},children:(0,o.jsx)("ol",{"data-testid":"timeline-component",className:F(t&&l.root.direction.horizontal,!t&&l.root.direction.vertical,r),...a,children:e})})};tY.displayName="Timeline",t$.displayName="Timeline.Item",tK.displayName="Timeline.Point",tW.displayName="Timeline.Content",tH.displayName="Timeline.Time",tU.displayName="Timeline.Title",tB.displayName="Timeline.Body",Object.assign(tY,{Item:t$,Point:tK,Content:tW,Time:tH,Title:tU,Body:tB});let tX=(0,a.createContext)(void 0),tq=({className:e,onClick:r,theme:t={},xIcon:n=i.apv,...l})=>{let s=_(ey().theme.toast.toggle,t),{duration:d,isClosed:c,isRemoved:u,setIsClosed:g,setIsRemoved:b}=function(){let e=(0,a.useContext)(tX);if(!e)throw Error("useToastContext should be used within the ToastContext provider!");return e}();return(0,o.jsx)("button",{"aria-label":"Close",onClick:e=>{r&&r(e),g(!c),setTimeout(()=>b(!u),d)},type:"button",className:F(s.base,e),...l,children:(0,o.jsx)(n,{"aria-hidden":!0,className:s.icon})})},tV={75:"duration-75",100:"duration-100",150:"duration-150",200:"duration-200",300:"duration-300",500:"duration-500",700:"duration-700",1e3:"duration-1000"},tZ=({children:e,className:r,duration:t=300,theme:n={},...l})=>{let[i,s]=(0,a.useState)(!1),[d,c]=(0,a.useState)(!1),u=_(ey().theme.toast,n);return(0,o.jsx)(tX.Provider,{value:{duration:t,isClosed:i,isRemoved:d,setIsClosed:s,setIsRemoved:c},children:(0,o.jsx)("div",{"data-testid":"flowbite-toast",className:F(u.root.base,tV[t],i&&u.root.closed,d&&u.root.removed,r),...l,children:e})})};tZ.displayName="Toast",tq.displayName="Toast.Toggle",Object.assign(tZ,{Toggle:tq});let tJ=({animation:e="duration-300",arrow:r=!0,children:t,className:n,content:l,placement:i="top",style:s="dark",theme:d,trigger:c="hover",minWidth:u,...g})=>{let b=(0,a.useRef)(null),[f,p]=(0,a.useState)(!1),m=r$({open:f,placement:i,arrowRef:b,setOpen:p}),{context:h,middlewareData:{arrow:{x:y,y:x}={}},refs:v,strategy:w,update:k,x:N,y:j}=m,C=function(e,r){void 0===r&&(r={});let{open:t,onOpenChange:n,dataRef:o,events:l,refs:i,elements:{floating:s,domReference:d}}=e,{enabled:c=!0,keyboardOnly:u=!0}=r,g=a.useRef(""),b=a.useRef(!1),f=a.useRef();return a.useEffect(()=>{if(!c)return;let e=eH(s).defaultView||window;function r(){!t&&eq(d)&&d===e7(eH(d))&&(b.current=!0)}return e.addEventListener("blur",r),()=>{e.removeEventListener("blur",r)}},[s,d,t,c]),a.useEffect(()=>{if(c)return l.on("dismiss",e),()=>{l.off("dismiss",e)};function e(e){("referencePress"===e.type||"escapeKey"===e.type)&&(b.current=!0)}},[l,c]),a.useEffect(()=>()=>{clearTimeout(f.current)},[]),a.useMemo(()=>c?{reference:{onPointerDown(e){let{pointerType:r}=e;g.current=r,b.current=!!(r&&u)},onMouseLeave(){b.current=!1},onFocus(e){var r;b.current||"focus"===e.type&&(null==(r=o.current.openEvent)?void 0:r.type)==="mousedown"&&ry(o.current.openEvent,d)||n(!0,e.nativeEvent)},onBlur(e){b.current=!1;let r=e.relatedTarget,t=eX(r)&&r.hasAttribute(e1("focus-guard"))&&"outside"===r.getAttribute("data-type");f.current=setTimeout(()=>{e0(i.floating.current,r)||e0(d,r)||t||n(!1,e.nativeEvent)})}}}:{},[c,u,d,i,o,n])}(h),{getFloatingProps:E,getReferenceProps:R}=rK({context:h,role:"tooltip",trigger:c,interactions:[C]});return(0,a.useEffect)(()=>
1{if(v.reference.current&&v.floating.current&&f)return(0,ev.Me)(v.reference.current,v.floating.current,k)},[f,v.floating,v.reference,k]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{ref:v.setReference,className:d.target,"data-testid":"flowbite-tooltip-target",...R(),children:t}),(0,o.jsxs)("div",{ref:v.setFloating,"data-testid":"flowbite-tooltip",...E({className:F(d.base,e&&`${d.animation} ${e}`,!f&&d.hidden,d.style[s],n),style:{position:w,top:j??" ",left:N??" ",minWidth:u},...g}),children:[(0,o.jsx)("div",{className:d.content,children:l}),r&&(0,o.jsx)("div",{className:F(d.arrow.base,"dark"===s&&d.arrow.style.dark,"light"===s&&d.arrow.style.light,"auto"===s&&d.arrow.style.auto),"data-testid":"flowbite-tooltip-arrow",ref:b,style:{top:x??" ",left:y??" ",right:" ",bottom:" ",[rW({placement:m.placement})]:d.arrow.placement},children:"\xa0"})]})]})},tQ=({animation:e="duration-300",arrow:r=!0,children:t,className:n,content:a,placement:l="top",style:i="dark",theme:s={},trigger:d="hover",...c})=>{let u=_(ey().theme.tooltip,s);return(0,o.jsx)(tJ,{animation:e,arrow:r,content:a,placement:l,style:i,theme:u,trigger:d,className:n,...c,children:t})};tQ.displayName="Tooltip"},90178:function(e,r,t){t.d(r,{w_:function(){return s}});var n=t(2265),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=n.createContext&&n.createContext(o),l=function(){return(l=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e}).apply(this,arguments)},i=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>r.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};function s(e){return function(r){return n.createElement(d,l({attr:l({},e.attr)},r),function e(r){return r&&r.map(function(r,t){return n.createElement(r.tag,l({key:t},r.attr),e(r.child))})}(e.child))}}function d(e){var r=function(r){var t,o=e.attr,a=e.size,s=e.title,d=i(e,["attr","size","title"]),c=a||r.size||"1em";return r.className&&(t=r.className),e.className&&(t=(t?t+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,o,d,{className:t,style:l(l({color:e.color||r.color},r.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),s&&n.createElement("title",null,s),e.children)};return void 0!==a?n.createElement(a.Consumer,null,function(e){return r(e)}):r(o)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.