-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomponent---src-pages-index-tsx-4f0cd2552803792ffa29.js
3 lines (3 loc) · 203 KB
/
component---src-pages-index-tsx-4f0cd2552803792ffa29.js
1
2
3
/*! For license information please see component---src-pages-index-tsx-4f0cd2552803792ffa29.js.LICENSE.txt */
(self.webpackChunkflowbite_react_template_gatsby=self.webpackChunkflowbite_react_template_gatsby||[]).push([[245],{7334:function(e){function t(e,t=100,r={}){if("function"!=typeof e)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");const{immediate:n}="boolean"==typeof r?{immediate:r}:r;let o,a,s,i,l;function d(){const r=Date.now()-i;if(r<t&&r>=0)s=setTimeout(d,t-r);else if(s=void 0,!n){const t=o,r=a;o=void 0,a=void 0,l=e.apply(t,r)}}const c=function(...r){if(o&&this!==o)throw new Error("Debounced method called with different contexts.");o=this,a=r,i=Date.now();const c=n&&!s;if(s||(s=setTimeout(d,t)),c){const t=o,r=a;o=void 0,a=void 0,l=e.apply(t,r)}return l};return c.clear=()=>{s&&(clearTimeout(s),s=void 0)},c.flush=()=>{if(!s)return;const t=o,r=a;o=void 0,a=void 0,l=e.apply(t,r),clearTimeout(s),s=void 0},c}e.exports.debounce=t,e.exports=t},6412:function(e,t,r){"use strict";r.r(t),r.d(t,{Head:function(){return Ss},default:function(){return Is}});var n=r(4848),o=r(6540),a=r.t(o,2),s=r(7909);function i(e){const t=function(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},o=function(e,t){if(!t)return e;return e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))]))}(Object.entries(e.classGroups),r);return o.forEach((([e,r])=>{c(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),l(r,t)||function(e){if(d.test(e)){const t=d.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}}function l(e,t){if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?l(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join("-");return t.validators.find((({validator:e})=>e(a)))?.classGroupId}const d=/^\[(.+)\]$/;function c(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void c(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,o])=>{c(o,u(t,e),r,n)}))}else{(""===e?t:u(t,e)).classGroupId=r}}))}function u(e,t){let r=e;return t.split("-").forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function g(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function o(o,a){r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}}function f(e){const t=e.separator,r=1===t.length,n=t[0],o=t.length;return function(e){const a=[];let s,i=0,l=0;for(let u=0;u<e.length;u++){let d=e[u];if(0===i){if(d===n&&(r||e.slice(u,u+o)===t)){a.push(e.slice(l,u)),l=u+o;continue}if("/"===d){s=u;continue}}"["===d?i++:"]"===d&&i--}const d=0===a.length?e:e.substring(l),c=d.startsWith("!");return{modifiers:a,hasImportantModifier:c,baseClassName:c?d.substring(1):d,maybePostfixModifierPosition:s&&s>l?s-l:void 0}}}const b=/\s+/;function p(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=h(e))&&(n&&(n+=" "),n+=t);return n}function h(e){if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=h(e[n]))&&(r&&(r+=" "),r+=t);return r}function m(e,...t){let r,n,o,a=function(l){const d=t.reduce(((e,t)=>t(e)),e());return r=function(e){return{cache:g(e.cacheSize),splitModifiers:f(e),...i(e)}}(d),n=r.cache.get,o=r.cache.set,a=s,s(l)};function s(e){const t=n(e);if(t)return t;const a=function(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,a=new Set;return e.trim().split(b).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:a,maybePostfixModifierPosition:s}=r(e);let i=n(s?a.substring(0,s):a),l=Boolean(s);if(!i){if(!s)return{isTailwindClass:!1,originalClassName:e};if(i=n(a),!i)return{isTailwindClass:!1,originalClassName:e};l=!1}const d=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:o?d+"!":d,classGroupId:i,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,s=t+r;return!a.has(s)&&(a.add(s),o(r,n).forEach((e=>a.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return o(e,a),a}return function(){return a(p.apply(null,arguments))}}function y(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const x=/^\[(?:([a-z-]+):)?(.+)\]$/i,v=/^\d+\/\d+$/,w=new Set(["px","full","screen"]),k=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,N=/\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$/,j=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,E=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function R(e){return I(e)||w.has(e)||v.test(e)}function T(e){return G(e,"length",H)}function I(e){return Boolean(e)&&!Number.isNaN(Number(e))}function S(e){return G(e,"number",I)}function D(e){return Boolean(e)&&Number.isInteger(Number(e))}function O(e){return e.endsWith("%")&&I(e.slice(0,-1))}function M(e){return x.test(e)}function P(e){return k.test(e)}const z=new Set(["length","size","percentage"]);function L(e){return G(e,z,$)}function A(e){return G(e,"position",$)}const F=new Set(["image","url"]);function B(e){return G(e,F,K)}function W(e){return G(e,"",_)}function Y(){return!0}function G(e,t,r){const n=x.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function H(e){return N.test(e)&&!j.test(e)}function $(){return!1}function _(e){return C.test(e)}function K(e){return E.test(e)}Symbol.toStringTag;function V(){const e=y("colors"),t=y("spacing"),r=y("blur"),n=y("brightness"),o=y("borderColor"),a=y("borderRadius"),s=y("borderSpacing"),i=y("borderWidth"),l=y("contrast"),d=y("grayscale"),c=y("hueRotate"),u=y("invert"),g=y("gap"),f=y("gradientColorStops"),b=y("gradientColorStopPositions"),p=y("inset"),h=y("margin"),m=y("opacity"),x=y("padding"),v=y("saturate"),w=y("scale"),k=y("sepia"),N=y("skew"),j=y("space"),C=y("translate"),E=()=>["auto",M,t],z=()=>[M,t],F=()=>["",R,T],G=()=>["auto",I,M],H=()=>["","0",M],$=()=>[I,S],_=()=>[I,M];return{cacheSize:500,separator:":",theme:{colors:[Y],spacing:[R,T],blur:["none","",P,M],brightness:$(),borderColor:[e],borderRadius:["none","","full",P,M],borderSpacing:z(),borderWidth:F(),contrast:$(),grayscale:H(),hueRotate:_(),invert:H(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[O,T],inset:E(),margin:E(),opacity:$(),padding:z(),saturate:$(),scale:$(),sepia:H(),skew:_(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[P]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",M]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",D,M]}],basis:[{basis:E()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",D,M]}],"grid-cols":[{"grid-cols":[Y]}],"col-start-end":[{col:["auto",{span:["full",D,M]},M]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[Y]}],"row-start-end":[{row:["auto",{span:[D,M]},M]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],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":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,t]}],"min-w":[{"min-w":[M,t,"min","max","fit"]}],"max-w":[{"max-w":[M,t,"none","full","min","max","fit","prose",{screen:[P]},P]}],h:[{h:[M,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,t,"auto","min","max","fit"]}],"font-size":[{text:["base",P,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",S]}],"font-family":[{font:[Y]}],"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",M]}],"line-clamp":[{"line-clamp":["none",I,S]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,T]}],"underline-offset":[{"underline-offset":["auto",R,M]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M]}],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",M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",A]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",L]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},B]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"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]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:["solid","dashed","dotted","double","none","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":[m]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"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:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[R,M]}],"outline-w":[{outline:[R,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[R,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",P,W]}],"shadow-color":[{shadow:[Y]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",P,M]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[u]}],saturate:[{saturate:[v]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",M]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[D,M]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",M]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"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"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",M]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,T,S]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"],size:["w","h"],"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"],"line-clamp":["display","overflow"],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"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const U=m(V);function q(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function X(e){if(!q(e))return e;const t={};for(const r in e)t[r]=X(e[r]);return t}function Z(e,t){if(q(t)&&0===Object.keys(t).length)return X({...e,...t});const r={...e,...t};if(q(t)&&q(e))for(const n in t)q(t[n])&&n in e&&q(e[n])?r[n]=Z(e[n],t[n]):r[n]=q(t[n])?X(t[n]):t[n];return r}const Q={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:"p-5 first:rounded-t-lg last:rounded-b-lg dark:bg-gray-900"},title:{arrow:{base:"h-6 w-6 shrink-0",open:{off:"",on:"rotate-180"}},base:"flex w-full items-center justify-between p-5 text-left font-medium text-gray-500 first:rounded-t-lg last:rounded-b-lg 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:"bg-gray-100 text-gray-900 dark:bg-gray-800 dark:text-white"}}},alert:{base:"flex flex-col gap-2 p-4 text-sm",borderAccent:"border-t-4",closeButton:{base:"-m-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 focus:ring-2",icon:"h-5 w-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-blue-100 text-blue-500 hover:bg-blue-200 focus:ring-blue-400 dark:bg-blue-200 dark:text-blue-600 dark:hover:bg-blue-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 dark: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:"border-cyan-500 bg-cyan-100 text-cyan-700 dark:bg-cyan-200 dark:text-cyan-800",gray:"border-gray-500 bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300",failure:"border-red-500 bg-red-100 text-red-700 dark:bg-red-200 dark:text-red-800",success:"border-green-500 bg-green-100 text-green-700 dark:bg-green-200 dark:text-green-800",warning:"border-yellow-500 bg-yellow-100 text-yellow-700 dark:bg-yellow-200 dark:text-yellow-800",red:"border-red-500 bg-red-100 text-red-700 dark:bg-red-200 dark:text-red-800",green:"border-green-500 bg-green-100 text-green-700 dark:bg-green-200 dark:text-green-800",yellow:"border-yellow-500 bg-yellow-100 text-yellow-700 dark:bg-yellow-200 dark:text-yellow-800",blue:"border-blue-500 bg-blue-100 text-blue-700 dark:bg-blue-200 dark:text-blue-800",cyan:"border-cyan-500 bg-cyan-100 text-cyan-700 dark:bg-cyan-200 dark:text-cyan-800",pink:"border-pink-500 bg-pink-100 text-pink-700 dark:bg-pink-200 dark:text-pink-800",lime:"border-lime-500 bg-lime-100 text-lime-700 dark:bg-lime-200 dark:text-lime-800",dark:"border-gray-600 bg-gray-800 text-gray-200 dark:bg-gray-900 dark:text-gray-300",indigo:"border-indigo-500 bg-indigo-100 text-indigo-700 dark:bg-indigo-200 dark:text-indigo-800",purple:"border-purple-500 bg-purple-100 text-purple-700 dark:bg-purple-200 dark:text-purple-800",teal:"border-teal-500 bg-teal-100 text-teal-700 dark:bg-teal-200 dark:text-teal-800",light:"border-gray-400 bg-gray-50 text-gray-600 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 items-center justify-center space-x-4 rounded",bordered:"p-1 ring-2",rounded:"rounded-full",color:{dark:"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 -bottom-1 h-auto w-auto text-gray-400"},size:{xs:"h-6 w-6",sm:"h-8 w-8",md:"h-10 w-10",lg:"h-20 w-20",xl:"h-36 w-36"},stacked:"ring-2 ring-gray-300 dark:ring-gray-500",statusPosition:{"bottom-left":"-bottom-1 -left-1","bottom-center":"-bottom-1","bottom-right":"-bottom-1 -right-1","top-left":"-left-1 -top-1","top-center":"-top-1","top-right":"-right-1 -top-1","center-right":"-right-1",center:"","center-left":"-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:"relative inline-flex items-center justify-center overflow-hidden bg-gray-100 dark:bg-gray-600"}},group:{base:"flex -space-x-4"},groupCounter:{base:"relative flex h-10 w-10 items-center justify-center rounded-full bg-gray-700 text-xs font-medium text-white 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 group-hover:bg-cyan-200 dark:bg-cyan-200 dark:text-cyan-800 dark:group-hover:bg-cyan-300",gray:"bg-gray-100 text-gray-800 group-hover:bg-gray-200 dark:bg-gray-700 dark:text-gray-300 dark:group-hover:bg-gray-600",failure:"bg-red-100 text-red-800 group-hover:bg-red-200 dark:bg-red-200 dark:text-red-900 dark:group-hover:bg-red-300",success:"bg-green-100 text-green-800 group-hover:bg-green-200 dark:bg-green-200 dark:text-green-900 dark:group-hover:bg-green-300",warning:"bg-yellow-100 text-yellow-800 group-hover:bg-yellow-200 dark:bg-yellow-200 dark:text-yellow-900 dark:group-hover:bg-yellow-300",indigo:"bg-indigo-100 text-indigo-800 group-hover:bg-indigo-200 dark:bg-indigo-200 dark:text-indigo-900 dark:group-hover:bg-indigo-300",purple:"bg-purple-100 text-purple-800 group-hover:bg-purple-200 dark:bg-purple-200 dark:text-purple-900 dark:group-hover:bg-purple-300",pink:"bg-pink-100 text-pink-800 group-hover:bg-pink-200 dark:bg-pink-200 dark:text-pink-900 dark:group-hover:bg-pink-300",blue:"bg-blue-100 text-blue-800 group-hover:bg-blue-200 dark:bg-blue-200 dark:text-blue-900 dark:group-hover:bg-blue-300",cyan:"bg-cyan-100 text-cyan-800 group-hover:bg-cyan-200 dark:bg-cyan-200 dark:text-cyan-900 dark:group-hover:bg-cyan-300",dark:"bg-gray-600 text-gray-100 group-hover:bg-gray-500 dark:bg-gray-900 dark:text-gray-200 dark:group-hover:bg-gray-700",light:"bg-gray-200 text-gray-800 group-hover:bg-gray-300 dark:bg-gray-400 dark:text-gray-900 dark:group-hover:bg-gray-500",green:"bg-green-100 text-green-800 group-hover:bg-green-200 dark:bg-green-200 dark:text-green-900 dark:group-hover:bg-green-300",lime:"bg-lime-100 text-lime-800 group-hover:bg-lime-200 dark:bg-lime-200 dark:text-lime-900 dark:group-hover:bg-lime-300",red:"bg-red-100 text-red-800 group-hover:bg-red-200 dark:bg-red-200 dark:text-red-900 dark:group-hover:bg-red-300",teal:"bg-teal-100 text-teal-800 group-hover:bg-teal-200 dark:bg-teal-200 dark:text-teal-900 dark:group-hover:bg-teal-300",yellow:"bg-yellow-100 text-yellow-800 group-hover:bg-yellow-200 dark:bg-yellow-200 dark:text-yellow-900 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:"h-3 w-3",sm:"h-3.5 w-3.5"}}},blockquote:{root:{base:"text-xl font-semibold italic text-gray-900 dark:text-white"}},breadcrumb:{root:{base:"",list:"flex items-center"},item:{base:"group flex items-center",chevron:"mx-1 h-4 w-4 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 relative flex items-stretch justify-center p-0.5 text-center font-medium transition-[color,background-color,border-color,text-decoration-color,fill,stroke,box-shadow] focus:z-10 focus:outline-none",fullSized:"w-full",color:{dark:"border border-transparent bg-gray-800 text-white focus:ring-4 focus:ring-gray-300 enabled:hover:bg-gray-900 dark:border-gray-700 dark:bg-gray-800 dark:focus:ring-gray-800 dark:enabled:hover:bg-gray-700",failure:"border border-transparent bg-red-700 text-white focus:ring-4 focus:ring-red-300 enabled:hover:bg-red-800 dark:bg-red-600 dark:focus:ring-red-900 dark:enabled:hover:bg-red-700",gray:":ring-cyan-700 border border-gray-200 bg-white text-gray-900 focus:text-cyan-700 focus:ring-4 enabled:hover:bg-gray-100 enabled:hover:text-cyan-700 dark:border-gray-600 dark:bg-transparent dark:text-gray-400 dark:enabled:hover:bg-gray-700 dark:enabled:hover:text-white",info:"border border-transparent bg-cyan-700 text-white focus:ring-4 focus:ring-cyan-300 enabled:hover:bg-cyan-800 dark:bg-cyan-600 dark:focus:ring-cyan-800 dark:enabled:hover:bg-cyan-700",light:"border border-gray-300 bg-white text-gray-900 focus:ring-4 focus:ring-cyan-300 enabled:hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-600 dark:text-white dark:focus:ring-gray-700 dark:enabled:hover:border-gray-700 dark:enabled:hover:bg-gray-700",purple:"border border-transparent bg-purple-700 text-white focus:ring-4 focus:ring-purple-300 enabled:hover:bg-purple-800 dark:bg-purple-600 dark:focus:ring-purple-900 dark:enabled:hover:bg-purple-700",success:"border border-transparent bg-green-700 text-white focus:ring-4 focus:ring-green-300 enabled:hover:bg-green-800 dark:bg-green-600 dark:focus:ring-green-800 dark:enabled:hover:bg-green-700",warning:"border border-transparent bg-yellow-400 text-white focus:ring-4 focus:ring-yellow-300 enabled:hover:bg-yellow-500 dark:focus:ring-yellow-900",blue:"border border-transparent bg-blue-700 text-white focus:ring-4 focus:ring-blue-300 enabled:hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800",cyan:"border border-cyan-300 bg-white text-cyan-900 focus:ring-4 focus:ring-cyan-300 enabled:hover:bg-cyan-100 dark:border-cyan-600 dark:bg-cyan-600 dark:text-white dark:focus:ring-cyan-700 dark:enabled:hover:border-cyan-700 dark:enabled:hover:bg-cyan-700",green:"border border-green-300 bg-white text-green-900 focus:ring-4 focus:ring-green-300 enabled:hover:bg-green-100 dark:border-green-600 dark:bg-green-600 dark:text-white dark:focus:ring-green-700 dark:enabled:hover:border-green-700 dark:enabled:hover:bg-green-700",indigo:"border border-indigo-300 bg-white text-indigo-900 focus:ring-4 focus:ring-indigo-300 enabled:hover:bg-indigo-100 dark:border-indigo-600 dark:bg-indigo-600 dark:text-white dark:focus:ring-indigo-700 dark:enabled:hover:border-indigo-700 dark:enabled:hover:bg-indigo-700",lime:"border border-lime-300 bg-white text-lime-900 focus:ring-4 focus:ring-lime-300 enabled:hover:bg-lime-100 dark:border-lime-600 dark:bg-lime-600 dark:text-white dark:focus:ring-lime-700 dark:enabled:hover:border-lime-700 dark:enabled:hover:bg-lime-700",pink:"border border-pink-300 bg-white text-pink-900 focus:ring-4 focus:ring-pink-300 enabled:hover:bg-pink-100 dark:border-pink-600 dark:bg-pink-600 dark:text-white dark:focus:ring-pink-700 dark:enabled:hover:border-pink-700 dark:enabled:hover:bg-pink-700",red:"border border-red-300 bg-white text-red-900 focus:ring-4 focus:ring-red-300 enabled:hover:bg-red-100 dark:border-red-600 dark:bg-red-600 dark:text-white dark:focus:ring-red-700 dark:enabled:hover:border-red-700 dark:enabled:hover:bg-red-700",teal:"border border-teal-300 bg-white text-teal-900 focus:ring-4 focus:ring-teal-300 enabled:hover:bg-teal-100 dark:border-teal-600 dark:bg-teal-600 dark:text-white dark:focus:ring-teal-700 dark:enabled:hover:border-teal-700 dark:enabled:hover:bg-teal-700",yellow:"border border-yellow-300 bg-white text-yellow-900 focus:ring-4 focus:ring-yellow-300 enabled:hover:bg-yellow-100 dark:border-yellow-600 dark:bg-yellow-600 dark:text-white dark:focus:ring-yellow-700 dark:enabled:hover:border-yellow-700 dark:enabled:hover:bg-yellow-700"},disabled:"cursor-not-allowed opacity-50",isProcessing:"cursor-wait",spinnerSlot:"absolute top-0 flex h-full items-center",spinnerLeftPosition:{xs:"left-2",sm:"left-3",md:"left-4",lg:"left-5",xl:"left-6"},gradient:{cyan:"bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 text-white focus:ring-4 focus:ring-cyan-300 enabled:hover:bg-gradient-to-br dark:focus:ring-cyan-800",failure:"bg-gradient-to-r from-red-400 via-red-500 to-red-600 text-white focus:ring-4 focus:ring-red-300 enabled:hover:bg-gradient-to-br dark:focus:ring-red-800",info:"bg-gradient-to-r from-cyan-500 via-cyan-600 to-cyan-700 text-white focus:ring-4 focus:ring-cyan-300 enabled:hover:bg-gradient-to-br dark:focus:ring-cyan-800 ",lime:"bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 text-gray-900 focus:ring-4 focus:ring-lime-300 enabled:hover:bg-gradient-to-br dark:focus:ring-lime-800",pink:"bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 text-white focus:ring-4 focus:ring-pink-300 enabled:hover:bg-gradient-to-br dark:focus:ring-pink-800",purple:"bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 text-white focus:ring-4 focus:ring-purple-300 enabled:hover:bg-gradient-to-br dark:focus:ring-purple-800",success:"bg-gradient-to-r from-green-400 via-green-500 to-green-600 text-white focus:ring-4 focus:ring-green-300 enabled:hover:bg-gradient-to-br dark:focus:ring-green-800",teal:"bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 text-white focus:ring-4 focus:ring-teal-300 enabled:hover:bg-gradient-to-br dark:focus:ring-teal-800"},gradientDuoTone:{cyanToBlue:"bg-gradient-to-r from-cyan-500 to-cyan-500 text-white focus:ring-4 focus:ring-cyan-300 enabled:hover:bg-gradient-to-bl dark:focus:ring-cyan-800",greenToBlue:"bg-gradient-to-br from-green-400 to-cyan-600 text-white focus:ring-4 focus:ring-green-200 enabled:hover:bg-gradient-to-bl dark:focus:ring-green-800",pinkToOrange:"bg-gradient-to-br from-pink-500 to-orange-400 text-white focus:ring-4 focus:ring-pink-200 enabled:hover:bg-gradient-to-bl dark:focus:ring-pink-800",purpleToBlue:"bg-gradient-to-br from-purple-600 to-cyan-500 text-white focus:ring-4 focus:ring-cyan-300 enabled:hover:bg-gradient-to-bl dark:focus:ring-cyan-800",purpleToPink:"bg-gradient-to-r from-purple-500 to-pink-500 text-white focus:ring-4 focus:ring-purple-200 enabled:hover:bg-gradient-to-l dark:focus:ring-purple-800",redToYellow:"bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 text-gray-900 focus:ring-4 focus:ring-red-100 enabled:hover:bg-gradient-to-bl dark:focus:ring-red-400",tealToLime:"bg-gradient-to-r from-teal-200 to-lime-200 text-gray-900 focus:ring-4 focus:ring-lime-200 enabled:hover:bg-gradient-to-l enabled:hover:from-teal-200 enabled:hover:to-lime-200 enabled:hover:text-gray-900 dark:focus:ring-teal-700"},inner:{base:"flex items-stretch transition-all duration-200",position:{none:"",start:"rounded-r-none",middle:"rounded-none",end:"rounded-l-none"},outline:"border border-transparent",isProcessingPadding:{xs:"pl-8",sm:"pl-10",md:"pl-12",lg:"pl-16",xl:"pl-20"}},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 w-full 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",pill:{off:"rounded-md",on:"rounded-full"}},pill:{off:"rounded-lg",on:"rounded-full"},size:{xs:"px-2 py-1 text-xs",sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-sm",lg:"px-5 py-2.5 text-base",xl:"px-6 py-3 text-base"}},buttonGroup:{base:"inline-flex",position:{none:"",start:"rounded-r-none focus:ring-2",middle:"rounded-none border-l-0 pl-0 focus:ring-2",end:"rounded-l-none border-l-0 pl-0 focus:ring-2"}},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 left-0 top-0 flex h-full items-center justify-center px-4 focus:outline-none",rightControl:"absolute right-0 top-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 left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2",wrapper:{off:"w-full flex-shrink-0 transform cursor-default snap-center",on:"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 dark:border-gray-600 dark:bg-gray-700",color:{default:"text-cyan-600 focus:ring-cyan-600 dark:ring-offset-gray-800 dark:focus:ring-cyan-600",dark:"text-gray-800 focus:ring-gray-800 dark:ring-offset-gray-800 dark:focus:ring-gray-800",failure:"text-red-900 focus:ring-red-900 dark:ring-offset-red-900 dark:focus:ring-red-900",gray:"text-gray-900 focus:ring-gray-900 dark:ring-offset-gray-900 dark:focus:ring-gray-900",info:"text-cyan-800 focus:ring-cyan-800 dark:ring-offset-gray-800 dark:focus:ring-cyan-800",light:"text-gray-900 focus:ring-gray-900 dark:ring-offset-gray-900 dark:focus:ring-gray-900",purple:"text-purple-600 focus:ring-purple-600 dark:ring-offset-purple-600 dark:focus:ring-purple-600",success:"text-green-800 focus:ring-green-800 dark:ring-offset-green-800 dark:focus:ring-green-800",warning:"text-yellow-400 focus:ring-yellow-400 dark:ring-offset-yellow-400 dark:focus:ring-yellow-400",blue:"text-blue-700 focus:ring-blue-600 dark:ring-offset-blue-700 dark:focus:ring-blue-700",cyan:"text-cyan-600 focus:ring-cyan-600 dark:ring-offset-cyan-600 dark:focus:ring-cyan-600",green:"text-green-600 focus:ring-green-600 dark:ring-offset-green-600 dark:focus:ring-green-600",indigo:"text-indigo-700 focus:ring-indigo-700 dark:ring-offset-indigo-700 dark:focus:ring-indigo-700",lime:"text-lime-700 focus:ring-lime-700 dark:ring-offset-lime-700 dark:focus:ring-lime-700",pink:"text-pink-600 focus:ring-pink-600 dark:ring-offset-pink-600 dark:focus:ring-pink-600",red:"text-red-600 focus:ring-red-600 dark:ring-offset-red-600 dark:focus:ring-red-600",teal:"text-teal-600 focus:ring-teal-600 dark:ring-offset-teal-600 dark:focus:ring-teal-600",yellow:"text-yellow-400 focus:ring-yellow-400 dark:ring-offset-yellow-400 dark:focus:ring-yellow-400"}}},datepicker:{root:{base:"relative"},popup:{root:{base:"absolute top-10 z-50 block pt-2",inline:"relative top-0 z-auto",inner:"inline-block rounded-lg bg-white p-4 shadow-lg dark:bg-gray-700"},header:{base:"",title:"px-2 py-3 text-center font-semibold text-gray-900 dark:text-white",selectors:{base:"mb-2 flex justify-between",button:{base:"rounded-lg bg-white px-5 py-2.5 text-sm font-semibold text-gray-900 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:bg-gray-700 dark:text-white dark:hover:bg-gray-600",prev:"",next:"",view:""}}},view:{base:"p-1"},footer:{base:"mt-2 flex space-x-2",button:{base:"w-full rounded-lg px-5 py-2 text-center text-sm font-medium focus:ring-4 focus:ring-cyan-300",today:"bg-cyan-700 text-white hover:bg-cyan-800 dark:bg-cyan-600 dark:hover:bg-cyan-700",clear:"border border-gray-300 bg-white text-gray-900 hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:hover:bg-gray-600"}}},views:{days:{header:{base:"mb-1 grid grid-cols-7",title:"h-6 text-center text-sm font-medium leading-6 text-gray-500 dark:text-gray-400"},items:{base:"grid w-64 grid-cols-7",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600 ",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}},months:{items:{base:"grid w-64 grid-cols-4",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}},years:{items:{base:"grid w-64 grid-cols-4",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}},decades:{items:{base:"grid w-64 grid-cols-4",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}}}},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 divide-y divide-gray-100 rounded 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 px-4 py-2 text-sm text-gray-700 dark:text-gray-200",hidden:"invisible opacity-0",item:{container:"",base:"flex w-full cursor-pointer items-center justify-start px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none dark:text-gray-200 dark:hover:bg-gray-600 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:"block w-full overflow-hidden rounded-lg border disabled:cursor-not-allowed disabled:opacity-50",sizes:{sm:"sm:text-xs",md:"text-sm",lg:"sm:text-base"},colors:{gray:"border-gray-300 bg-gray-50 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"}}}},floatingLabel:{input:{default:{filled:{sm:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-gray-300 bg-gray-50 px-2.5 pb-2.5 pt-5 text-xs text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:focus:border-blue-500",md:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-gray-300 bg-gray-50 px-2.5 pb-2.5 pt-5 text-sm text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:focus:border-blue-500"},outlined:{sm:"peer block w-full appearance-none rounded-lg border border-gray-300 bg-transparent px-2.5 pb-2.5 pt-4 text-xs text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:text-white dark:focus:border-blue-500",md:"peer block w-full appearance-none rounded-lg border border-gray-300 bg-transparent px-2.5 pb-2.5 pt-4 text-sm text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:text-white dark:focus:border-blue-500"},standard:{sm:"peer block w-full appearance-none border-0 border-b-2 border-gray-300 bg-transparent px-0 py-2.5 text-xs text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:text-white dark:focus:border-blue-500",md:"peer block w-full appearance-none border-0 border-b-2 border-gray-300 bg-transparent px-0 py-2.5 text-sm text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:text-white dark:focus:border-blue-500"}},success:{filled:{sm:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-green-600 bg-gray-50 px-2.5 pb-2.5 pt-5 text-xs text-gray-900 focus:border-green-600 focus:outline-none focus:ring-0 dark:border-green-500 dark:bg-gray-700 dark:text-white dark:focus:border-green-500",md:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-green-600 bg-gray-50 px-2.5 pb-2.5 pt-5 text-sm text-gray-900 focus:border-green-600 focus:outline-none focus:ring-0 dark:border-green-500 dark:bg-gray-700 dark:text-white dark:focus:border-green-500"},outlined:{sm:"peer block w-full appearance-none rounded-lg border border-green-600 bg-transparent px-2.5 pb-2.5 pt-4 text-xs text-gray-900 focus:border-green-600 focus:outline-none focus:ring-0 dark:border-green-500 dark:text-white dark:focus:border-green-500",md:"peer block w-full appearance-none rounded-lg border border-green-600 bg-transparent px-2.5 pb-2.5 pt-4 text-sm text-gray-900 focus:border-green-600 focus:outline-none focus:ring-0 dark:border-green-500 dark:text-white dark:focus:border-green-500"},standard:{sm:"peer block w-full appearance-none border-0 border-b-2 border-green-600 bg-transparent px-0 py-2.5 text-xs text-gray-900 focus:border-green-600 focus:outline-none focus:ring-0 dark:border-green-500 dark:text-white dark:focus:border-green-500",md:"peer block w-full appearance-none border-0 border-b-2 border-green-600 bg-transparent px-0 py-2.5 text-sm text-gray-900 focus:border-green-600 focus:outline-none focus:ring-0 dark:border-green-500 dark:text-white dark:focus:border-green-500"}},error:{filled:{sm:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-red-600 bg-gray-50 px-2.5 pb-2.5 pt-5 text-xs text-gray-900 focus:border-red-600 focus:outline-none focus:ring-0 dark:border-red-500 dark:bg-gray-700 dark:text-white dark:focus:border-red-500",md:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-red-600 bg-gray-50 px-2.5 pb-2.5 pt-5 text-sm text-gray-900 focus:border-red-600 focus:outline-none focus:ring-0 dark:border-red-500 dark:bg-gray-700 dark:text-white dark:focus:border-red-500"},outlined:{sm:"peer block w-full appearance-none rounded-lg border border-red-600 bg-transparent px-2.5 pb-2.5 pt-4 text-xs text-gray-900 focus:border-red-600 focus:outline-none focus:ring-0 dark:border-red-500 dark:text-white dark:focus:border-red-500",md:"peer block w-full appearance-none rounded-lg border border-red-600 bg-transparent px-2.5 pb-2.5 pt-4 text-sm text-gray-900 focus:border-red-600 focus:outline-none focus:ring-0 dark:border-red-500 dark:text-white dark:focus:border-red-500"},standard:{sm:"peer block w-full appearance-none border-0 border-b-2 border-red-600 bg-transparent px-0 py-2.5 text-xs text-gray-900 focus:border-red-600 focus:outline-none focus:ring-0 dark:border-red-500 dark:text-white dark:focus:border-red-500",md:"peer block w-full appearance-none border-0 border-b-2 border-red-600 bg-transparent px-0 py-2.5 text-sm text-gray-900 focus:border-red-600 focus:outline-none focus:ring-0 dark:border-red-500 dark:text-white dark:focus:border-red-500"}}},label:{default:{filled:{sm:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-xs text-gray-500 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:text-blue-600 dark:text-gray-400 peer-focus:dark:text-blue-500",md:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-sm text-gray-500 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:text-blue-600 dark:text-gray-400 peer-focus:dark:text-blue-500"},outlined:{sm:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 bg-white px-2 text-xs text-gray-500 transition-transform duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 peer-focus:text-blue-600 dark:bg-gray-900 dark:text-gray-400 peer-focus:dark:text-blue-500",md:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 bg-white px-2 text-sm text-gray-500 transition-transform duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 peer-focus:text-blue-600 dark:bg-gray-900 dark:text-gray-400 peer-focus:dark:text-blue-500"},standard:{sm:"absolute top-3 -z-10 origin-[0] -translate-y-6 scale-75 text-xs text-gray-500 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:left-0 peer-focus:-translate-y-6 peer-focus:scale-75 peer-focus:text-blue-600 dark:text-gray-400 peer-focus:dark:text-blue-500",md:"absolute top-3 -z-10 origin-[0] -translate-y-6 scale-75 text-sm text-gray-500 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:left-0 peer-focus:-translate-y-6 peer-focus:scale-75 peer-focus:text-blue-600 dark:text-gray-400 peer-focus:dark:text-blue-500"}},success:{filled:{sm:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-sm text-green-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-green-500",md:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-sm text-green-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-green-500"},outlined:{sm:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 bg-white px-2 text-sm text-green-600 transition-transform duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-green-500",md:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 bg-white px-2 text-sm text-green-600 transition-transform duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-green-500"},standard:{sm:"absolute top-3 -z-10 origin-[0] -translate-y-6 scale-75 text-xs text-green-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:left-0 peer-focus:-translate-y-6 peer-focus:scale-75 dark:text-green-500",md:"absolute top-3 -z-10 origin-[0] -translate-y-6 scale-75 text-sm text-green-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:left-0 peer-focus:-translate-y-6 peer-focus:scale-75 dark:text-green-500"}},error:{filled:{sm:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-xs text-red-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-red-500",md:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-xs text-red-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-red-500"},outlined:{sm:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 bg-white px-2 text-xs text-red-600 transition-transform duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-red-500",md:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 bg-white px-2 text-xs text-red-600 transition-transform duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-red-500"},standard:{sm:"absolute top-3 -z-10 origin-[0] -translate-y-6 scale-75 text-xs text-red-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:left-0 peer-focus:-translate-y-6 peer-focus:scale-75 dark:text-red-500",md:"absolute top-3 -z-10 origin-[0] -translate-y-6 scale-75 text-sm text-red-600 transition-transform duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:left-0 peer-focus:-translate-y-6 peer-focus:scale-75 dark:text-red-500"}}},helperText:{default:"mt-2 text-xs text-gray-600 dark:text-gray-400",success:"mt-2 text-xs text-green-600 dark:text-green-400",error:"mt-2 text-xs text-red-600 dark:text-red-400"}},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:"me-4 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:"my-6 w-full border-gray-200 dark:border-gray-700 sm:mx-auto 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"}}},kbd:{root:{base:"rounded-lg border border-gray-200 bg-gray-100 px-2 py-1.5 text-xs font-semibold text-gray-800 dark:border-gray-500 dark:bg-gray-600 dark:text-gray-100",icon:"inline-block"}},label:{root:{base:"text-sm font-medium",disabled:"opacity-50",colors:{default:"text-gray-900 dark:text-white",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-left text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white"},item:{base:"[&>*]:first:rounded-t-lg [&>*]:last:rounded-b-lg [&>*]:last:border-b-0",link:{base:"flex w-full items-center border-b border-gray-200 px-4 py-2 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"},disabled:{off:"",on:"cursor-not-allowed bg-gray-100 text-gray-900 hover:bg-gray-100 hover:text-gray-900 focus:text-gray-900"},href:{off:"",on:""},icon:"mr-2 h-4 w-4 fill-current"}}},list:{root:{base:"list-inside space-y-1 text-gray-500 dark:text-gray-400",ordered:{off:"list-disc",on:"list-decimal"},horizontal:"flex list-none flex-wrap items-center justify-center space-x-4 space-y-0",unstyled:"list-none",nested:"mt-2 ps-5"},item:{withIcon:{off:"",on:"flex items-center"},icon:"me-2 h-3.5 w-3.5 flex-shrink-0"}},modal:{root:{base:"fixed inset-x-0 top-0 z-50 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 flex max-h-[90dvh] flex-col rounded-lg bg-white shadow dark:bg-gray-700"},body:{base:"flex-1 overflow-auto p-6",popup:"pt-0"},header:{base:"flex items-start justify-between rounded-t border-b p-5 dark:border-gray-600",popup:"border-b-0 p-2",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 pl-3 pr-4 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 px-3 py-2 leading-tight text-gray-500 enabled:hover:bg-gray-100 enabled:hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 enabled:dark:hover:bg-gray-700 enabled:dark:hover:text-white",icon:"h-5 w-5"},next:{base:"rounded-r-lg border border-gray-300 bg-white px-3 py-2 leading-tight text-gray-500 enabled:hover:bg-gray-100 enabled:hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 enabled:dark:hover:bg-gray-700 enabled:dark:hover:text-white",icon:"h-5 w-5"},selector:{base:"w-12 border border-gray-300 bg-white py-2 leading-tight text-gray-500 enabled:hover:bg-gray-100 enabled:hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 enabled:dark:hover:bg-gray-700 enabled: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:"cursor-not-allowed opacity-50"}}},popover:{base:"absolute z-20 inline-block w-max max-w-[100vw] bg-white outline-none border border-gray-200 rounded-lg shadow-sm dark:border-gray-600 dark:bg-gray-800",content:"z-10 overflow-hidden rounded-[7px]",arrow:{base:"absolute h-2 w-2 z-0 rotate-45 mix-blend-lighten bg-white border border-gray-200 dark:border-gray-600 dark:bg-gray-800 dark:mix-blend-color",placement:"-4px"}},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:"space-x-2 rounded-full text-center font-medium leading-none text-cyan-300 dark:text-cyan-100",color:{dark:"bg-gray-600 dark:bg-gray-300",blue:"bg-blue-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",cyan:"bg-cyan-600",gray:"bg-gray-500",lime:"bg-lime-600",pink:"bg-pink-500",teal:"bg-teal-600"},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 text-cyan-600 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"}},rangeSlider:{root:{base:"flex"},field:{base:"relative w-full",input:{base:"w-full cursor-pointer appearance-none rounded-lg bg-gray-200 dark:bg-gray-700",sizes:{sm:"h-1",md:"h-2",lg:"h-3"}}}},rating:{root:{base:"flex items-center"},star:{empty:"text-gray-300 dark:text-gray-500",filled:"text-yellow-400",sizes:{sm:"h-5 w-5",md:"h-7 w-7",lg:"h-10 w-10"}}},ratingAdvanced:{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"}},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:"p-4 sm:text-base"},colors:{gray:"border-gray-300 bg-gray-50 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:"p-4 sm:text-base"},colors:{gray:"border-gray-300 bg-gray-50 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 text-sm disabled:cursor-not-allowed disabled:opacity-50",colors:{gray:"border-gray-300 bg-gray-50 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:""}},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:"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:"border-cyan-700 bg-cyan-700",dark:"bg-dark-700 border-dark-900",failure:"border-red-900 bg-red-700",gray:"border-gray-600 bg-gray-500",green:"border-green-700 bg-green-600",light:"bg-light-700 border-light-900",red:"border-red-900 bg-red-700",purple:"border-purple-900 bg-purple-700",success:"border-green-500 bg-green-500",yellow:"border-yellow-400 bg-yellow-400",warning:"border-yellow-600 bg-yellow-600",cyan:"border-cyan-500 bg-cyan-500",lime:"border-lime-400 bg-lime-400",indigo:"border-indigo-400 bg-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:"border-cyan-600 bg-cyan-600",pink:"border-pink-600 bg-pink-600"}},sizes:{sm:"h-5 w-9 after:absolute after:left-[2px] after:top-[2px] after:h-4 after:w-4",md:"h-6 w-11 after:absolute after:left-[2px] after:top-[2px] after:h-5 after:w-5",lg:"h-7 w-14 after:absolute after:left-[4px] after:top-0.5 after:h-6 after:w-6"}}},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 px-3 py-4 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:{base:"h-6 w-6 transition delay-0 ease-in-out",open:{on:"rotate-180",off:""}}},list:"space-y-2 py-2"},cta:{base:"mt-6 rounded-lg bg-gray-100 p-4 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:"flex-1 whitespace-nowrap px-3"},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:{base:""},itemGroup:{base:"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:"h-3 w-3",sm:"h-4 w-4",md:"h-6 w-6",lg:"h-8 w-8",xl:"h-10 w-10"}},table:{root:{base:"w-full text-left text-sm text-gray-500 dark:text-gray-400",shadow:"absolute left-0 top-0 -z-10 h-full w-full rounded-lg bg-white drop-shadow-md dark:bg-black",wrapper:"relative"},body:{base:"group/body",cell:{base:"px-6 py-4 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"}},head:{base:"group/head text-xs uppercase text-gray-700 dark:text-gray-400",cell:{base:"bg-gray-50 px-6 py-3 group-first/head:first:rounded-tl-lg group-first/head:last:rounded-tr-lg dark:bg-gray-700"}},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"}},tabs:{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:"-mb-px flex-wrap border-b border-gray-200 dark:border-gray-700",pills:"flex-wrap space-x-2 text-sm font-medium text-gray-500 dark:text-gray-400",fullWidth:"grid w-full grid-flow-col divide-x divide-gray-200 rounded-none text-sm font-medium shadow dark:divide-gray-700 dark:text-gray-400"},tabitem:{base:"flex items-center justify-center rounded-t-lg p-4 text-sm font-medium first:ml-0 focus:outline-none focus:ring-4 focus:ring-cyan-300 disabled:cursor-not-allowed disabled:text-gray-400 disabled:dark:text-gray-500",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:"active rounded-t-lg border-b-2 border-cyan-600 text-cyan-600 dark:border-cyan-500 dark:text-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:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-white"}},fullWidth:{base:"ml-0 flex w-full rounded-none first:ml-0",active:{on:"active rounded-none bg-gray-100 p-4 text-gray-900 dark:bg-gray-700 dark:text-white",off:"rounded-none bg-white hover:bg-gray-50 hover:text-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700 dark:hover:text-white"}}},icon:"mr-2 h-5 w-5"}},tabitemcontainer:{base:"",styles:{default:"",underline:"",pills:"",fullWidth:""}},tabpanel:"py-3"},timeline:{root:{direction:{horizontal:"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:{base:"mb-4 text-base font-normal text-gray-500 dark:text-gray-400"},time:{base:"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500"},title:{base:"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"},toggle:{base:"-m-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 z-10 inline-block rounded-lg px-3 py-2 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"}},J={theme:X(Q)};function ee(){return J.mode}function te(){return X(J.theme)}const re=(0,o.createContext)(void 0);function ne(){const e=(0,o.useContext)(re);if(!e)throw new Error("useAccordionContext should be used within the AccordionPanelContext provider!");return e}const oe=({children:e,className:t,theme:r={},...o})=>{const{isOpen:a}=ne(),s=Z(te().accordion.content,r);return(0,n.jsx)("div",{className:U(s.base,t),"data-testid":"flowbite-accordion-content",hidden:!a,...o,children:e})},ae=({children:e,...t})=>{const{alwaysOpen:r}=t,[a,s]=(0,o.useState)(t.isOpen),i=r?{...t,isOpen:a,setOpen:()=>s(!a)}:t;return(0,n.jsx)(re.Provider,{value:i,children:e})},se=({as:e="h2",children:t,className:r,theme:o={},...a})=>{const{arrowIcon:s,flush:i,isOpen:l,setOpen:d}=ne(),c=Z(te().accordion.title,o);return(0,n.jsxs)("button",{className:U(c.base,c.flush[i?"on":"off"],c.open[l?"on":"off"],r),onClick:()=>void 0!==d&&d(),type:"button",...a,children:[(0,n.jsx)(e,{className:c.heading,"data-testid":"flowbite-accordion-heading",children:t}),s&&(0,n.jsx)(s,{"aria-hidden":!0,className:U(c.arrow.base,c.arrow.open[l?"on":"off"]),"data-testid":"flowbite-accordion-arrow"})]})},ie=({alwaysOpen:e=!1,arrowIcon:t=s.bv7,children:r,flush:a=!1,collapseAll:i=!1,className:l,theme:d={},...c})=>{const[u,g]=(0,o.useState)(i?-1:0),f=(0,o.useMemo)((()=>o.Children.map(r,((r,n)=>(0,o.cloneElement)(r,{alwaysOpen:e,arrowIcon:t,flush:a,isOpen:u===n,setOpen:()=>g(u===n?-1:n)})))),[e,t,r,a,u]),b=Z(te().accordion.root,d);return(0,n.jsx)("div",{className:U(b.base,b.flush[a?"on":"off"],l),"data-testid":"flowbite-accordion",...c,children:f})};ie.displayName="Accordion",ae.displayName="Accordion.Panel",se.displayName="Accordion.Title",oe.displayName="Accordion.Content";Object.assign(ie,{Panel:ae,Title:se,Content:oe});const le=({children:e,className:t,theme:r={},...o})=>{const a=Z(te().avatar.group,r);return(0,n.jsx)("div",{"data-testid":"avatar-group-element",className:U(a.base,t),...o,children:e})};le.displayName="Avatar.Group";const de=({className:e,href:t,theme:r={},total:o,...a})=>{const s=Z(te().avatar.groupCounter,r);return(0,n.jsxs)("a",{href:t,className:U(s.base,e),...a,children:["+",o]})};de.displayName="Avatar.GroupCounter";const ce=({alt:e="",bordered:t=!1,children:r,className:o,color:a="light",img:s,placeholderInitials:i="",rounded:l=!1,size:d="md",stacked:c=!1,status:u,statusPosition:g="top-left",theme:f={},...b})=>{const p=Z(te().avatar,f),h=U(p.root.img.base,t&&p.root.bordered,t&&p.root.color[a],l&&p.root.rounded,c&&p.root.stacked,p.root.img.on,p.root.size[d]),m={className:U(h,p.root.img.on),"data-testid":"flowbite-avatar-img"};return(0,n.jsxs)("div",{className:U(p.root.base,o),"data-testid":"flowbite-avatar",...b,children:[(0,n.jsxs)("div",{className:"relative",children:[s?"string"==typeof s?(0,n.jsx)("img",{alt:e,src:s,...m}):s({alt:e,...m}):i?(0,n.jsx)("div",{className:U(p.root.img.off,p.root.initials.base,c&&p.root.stacked,t&&p.root.bordered,t&&p.root.color[a],p.root.size[d],l&&p.root.rounded),"data-testid":"flowbite-avatar-initials-placeholder",children:(0,n.jsx)("span",{className:U(p.root.initials.text),"data-testid":"flowbite-avatar-initials-placeholder-text",children:i})}):(0,n.jsx)("div",{className:U(h,p.root.img.off),"data-testid":"flowbite-avatar-img",children:(0,n.jsx)("svg",{className:p.root.img.placeholder,fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,n.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,n.jsx)("span",{"data-testid":"flowbite-avatar-status",className:U(p.root.status.base,p.root.status[u],p.root.statusPosition[g])})]}),r&&(0,n.jsx)("div",{children:r})]})};ce.displayName="Avatar";Object.assign(ce,{Group:le,Counter:de});const ue=({children:e,color:t="info",href:r,icon:o,size:a="xs",className:s,theme:i={},...l})=>{const d=Z(te().badge,i),c=()=>(0,n.jsxs)("span",{className:U(d.root.base,d.root.color[t],d.root.size[a],d.icon[o?"on":"off"],s),"data-testid":"flowbite-badge",...l,children:[o&&(0,n.jsx)(o,{"aria-hidden":!0,className:d.icon.size[a],"data-testid":"flowbite-badge-icon"}),e&&(0,n.jsx)("span",{children:e})]});return r?(0,n.jsx)("a",{className:d.root.href,href:r,children:(0,n.jsx)(c,{})}):(0,n.jsx)(c,{})};ue.displayName="Badge";const ge=({className:e,color:t="info",light:r,size:o="md",theme:a={},...s})=>{const i=Z(te().spinner,a);return(0,n.jsx)("span",{role:"status",...s,children:(0,n.jsxs)("svg",{fill:"none",viewBox:"0 0 100 101",className:U(i.base,i.color[t],i.light[r?"on":"off"].base,i.light[r?"on":"off"].color[t],i.size[o],e),children:[(0,n.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,n.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})};ge.displayName="Spinner";const fe=(0,o.forwardRef)((({children:e,as:t,href:r,type:n="button",...a},s)=>{const i=t||(r?"a":"button");return(0,o.createElement)(i,{ref:s,href:r,type:n,...a},e)}));fe.displayName="ButtonBaseComponent";const be=(e,t,r)=>o.Children.map(e,((n,a)=>(0,o.isValidElement)(n)?n.props.children?(0,o.cloneElement)(n,{...n.props,children:be(n.props.children,t,r),positionInGroup:pe(a,o.Children.count(e))}):(0,o.cloneElement)(n,{outline:t,pill:r,positionInGroup:pe(a,o.Children.count(e))}):n)),pe=(e,t)=>0===e?"start":e===t-1?"end":"middle",he=({children:e,className:t,outline:r,pill:a,theme:s={},...i})=>{const l=(0,o.useMemo)((()=>be(e,r,a)),[e,r,a]),d=Z(te().buttonGroup,s);return(0,n.jsx)("div",{className:U(d.base,t),role:"group",...i,children:l})};he.displayName="Button.Group";const me=(0,o.forwardRef)((({children:e,className:t,color:r="info",disabled:o,fullSized:a,isProcessing:s=!1,processingLabel:i="Loading...",processingSpinner:l,gradientDuoTone:d,gradientMonochrome:c,label:u,outline:g=!1,pill:f=!1,positionInGroup:b="none",size:p="md",theme:h={},...m},y)=>{const{buttonGroup:x,button:v}=te(),w=Z(v,h),k=m;return(0,n.jsx)(fe,{ref:y,disabled:o,className:U(w.base,o&&w.disabled,!d&&!c&&w.color[r],d&&!c&&w.gradientDuoTone[d],!d&&c&&w.gradient[c],g&&(w.outline.color[r]??w.outline.color.default),w.pill[f?"on":"off"],a&&w.fullSized,x.position[b],t),...k,children:(0,n.jsx)("span",{className:U(w.inner.base,w.outline[g?"on":"off"],w.outline.pill[g&&f?"on":"off"],w.size[p],g&&!w.outline.color[r]&&w.inner.outline,s&&w.isProcessing,s&&w.inner.isProcessingPadding[p],w.inner.position[b]),children:(0,n.jsxs)(n.Fragment,{children:[s&&(0,n.jsx)("span",{className:U(w.spinnerSlot,w.spinnerLeftPosition[p]),children:l||(0,n.jsx)(ge,{size:p})}),void 0!==e?e:(0,n.jsx)("span",{"data-testid":"flowbite-button-label",className:U(w.label),children:s?i:u})]})})})}));me.displayName="Button";const ye=Object.assign(me,{Group:he}),xe=({children:e,...t})=>(0,n.jsx)(ye,{onClick:e=>{const t=e.target.closest('[role="banner"]');t?.remove()},...t,children:e});xe.displayName="Banner.CollapseButton";const ve=({children:e,...t})=>(0,n.jsx)("div",{"data-testid":"flowbite-banner",role:"banner",tabIndex:-1,...t,children:e});ve.displayName="Banner";Object.assign(ve,{CollapseButton:xe});const we=(0,o.forwardRef)((({children:e,className:t,href:r,icon:o,theme:a={},...i},l)=>{const d=void 0!==r,c=d?"a":"span",u=Z(te().breadcrumb.item,a);return(0,n.jsxs)("li",{className:U(u.base,t),...i,children:[(0,n.jsx)(s.ngD,{"aria-hidden":!0,className:u.chevron,"data-testid":"flowbite-breadcrumb-separator"}),(0,n.jsxs)(c,{ref:l,className:u.href[d?"on":"off"],"data-testid":"flowbite-breadcrumb-item",href:r,children:[o&&(0,n.jsx)(o,{"aria-hidden":!0,className:u.icon}),e]})]})}));we.displayName="Breadcrumb.Item";const ke=({children:e,className:t,theme:r={},...o})=>{const a=Z(te().breadcrumb.root,r);return(0,n.jsx)("nav",{"aria-label":"Breadcrumb",className:U(a.base,t),...o,children:(0,n.jsx)("ol",{className:a.list,children:e})})};ke.displayName="Breadcrumb";Object.assign(ke,{Item:we}),Ne=["renderImage","imgSrc","imgAlt","children","className","horizontal","href","theme"];var Ne,je=r(6942),Ce=r(7334),Ee=Object.defineProperty,Re=(e,t,r)=>(((e,t,r)=>{t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);class Te extends o.PureComponent{constructor(e){super(e),Re(this,"container"),Re(this,"scrolling"),Re(this,"started"),Re(this,"pressed"),Re(this,"isMobile",!1),Re(this,"internal"),Re(this,"scrollLeft"),Re(this,"scrollTop"),Re(this,"clientX"),Re(this,"clientY"),Re(this,"onEndScroll",(()=>{this.scrolling=!1,!this.pressed&&this.started&&this.processEnd()})),Re(this,"onScroll",(()=>{const e=this.container.current;e.scrollLeft===this.scrollLeft&&e.scrollTop===this.scrollTop||(this.scrolling=!0,this.processScroll(),this.onEndScroll())})),Re(this,"onTouchStart",(e=>{const{nativeMobileScroll:t}=this.props;if(this.isDraggable(e.target))if(this.internal=!0,t&&this.scrolling)this.pressed=!0;else{const r=e.touches[0];this.processClick(r.clientX,r.clientY),!t&&this.props.stopPropagation&&e.stopPropagation()}})),Re(this,"onTouchEnd",(()=>{const{nativeMobileScroll:e}=this.props;this.pressed&&(!this.started||this.scrolling&&e?this.pressed=!1:this.processEnd(),this.forceUpdate())})),Re(this,"onTouchMove",(e=>{const{nativeMobileScroll:t}=this.props;if(this.pressed&&(!t||!this.isMobile)){const t=e.touches[0];t&&this.processMove(t.clientX,t.clientY),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation()}})),Re(this,"onMouseDown",(e=>{this.isDraggable(e.target)&&this.isScrollable()&&(this.internal=!0,-1!==this.props?.buttons?.indexOf(e.button)&&(this.processClick(e.clientX,e.clientY),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation()))})),Re(this,"onMouseMove",(e=>{this.pressed&&(this.processMove(e.clientX,e.clientY),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation())})),Re(this,"onMouseUp",(e=>{this.pressed&&(this.started?this.processEnd():(this.internal=!1,this.pressed=!1,this.forceUpdate(),this.props.onClick&&this.props.onClick(e)),e.preventDefault(),this.props.stopPropagation&&e.stopPropagation())})),this.container=o.createRef(),this.onEndScroll=Ce(this.onEndScroll,300),this.scrolling=!1,this.started=!1,this.pressed=!1,this.internal=!1,this.getRef=this.getRef.bind(this)}componentDidMount(){const{nativeMobileScroll:e}=this.props,t=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),t.addEventListener("touchstart",this.onTouchStart,{passive:!1}),t.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())}componentWillUnmount(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)}getElement(){return this.container.current}isMobileDevice(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")}isDraggable(e){const t=this.props.ignoreElements;if(t){const r=e.closest(t);return null===r||r.contains(this.getElement())}return!0}isScrollable(){const e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)}processClick(e,t){const r=this.container.current;this.scrollLeft=r?.scrollLeft,this.scrollTop=r?.scrollTop,this.clientX=e,this.clientY=t,this.pressed=!0}processStart(e=!0){const{onStartScroll:t}=this.props;this.started=!0,e&&document.body.classList.add("cursor-grab"),t&&t({external:!this.internal}),this.forceUpdate()}processScroll(){if(this.started){const{onScroll:e}=this.props;e&&e({external:!this.internal})}else this.processStart(!1)}processMove(e,t){const{horizontal:r,vertical:n,activationDistance:o,onScroll:a}=this.props,s=this.container.current;this.started?(r&&(s.scrollLeft-=e-this.clientX),n&&(s.scrollTop-=t-this.clientY),a&&a({external:!this.internal}),this.clientX=e,this.clientY=t,this.scrollLeft=s.scrollLeft,this.scrollTop=s.scrollTop):(r&&Math.abs(e-this.clientX)>o||n&&Math.abs(t-this.clientY)>o)&&(this.clientX=e,this.clientY=t,this.processStart())}processEnd(){const{onEndScroll:e}=this.props;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("cursor-grab"),this.forceUpdate()}getRef(e){[this.container,this.props.innerRef].forEach((t=>{t&&("function"==typeof t?t(e):t.current=e)}))}render(){const{children:e,draggingClassName:t,className:r,style:o,hideScrollbars:a}=this.props;return(0,n.jsx)("div",{className:je(r,this.pressed&&t,{"!scroll-auto [&>*]:pointer-events-none [&>*]:cursor-grab":this.pressed,"overflow-auto":this.isMobile,"overflow-hidden !overflow-x-hidden [overflow:-moz-scrollbars-none] [scrollbar-width:none]":a,"[&::-webkit-scrollbar]:[-webkit-appearance:none !important] [&::-webkit-scrollbar]:!hidden [&::-webkit-scrollbar]:!h-0 [&::-webkit-scrollbar]:!w-0 [&::-webkit-scrollbar]:!bg-transparent":a}),style:o,ref:this.getRef,onScroll:this.onScroll,children:e})}}Re(Te,"defaultProps",{nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},buttons:[0]});const Ie=()=>"undefined"!=typeof window,Se=(0,o.forwardRef)((({className:e,color:t="default",theme:r={},...o},a)=>{const s=Z(te().checkbox,r);return(0,n.jsx)("input",{ref:a,type:"checkbox",className:U(s.root.base,s.root.color[t],e),...o})}));Se.displayName="Checkbox";const De="light",Oe="flowbite-theme-mode",Me="flowbite-theme-mode-sync",Pe=()=>{const[e,t]=(0,o.useState)(Fe(ee()));(0,o.useEffect)((()=>{Le(e),Ae(e)}),[]),(({key:e,onChange:t})=>{function r({key:r,newValue:n}){r===e&&t(n)}(0,o.useEffect)((()=>(window.addEventListener("storage",r),()=>window.removeEventListener("storage",r))),[])})({key:Oe,onChange(e){if(e)return r(e)}}),ze((e=>t(e)));const r=e=>{t(e),Le(e),Ae(e),document.dispatchEvent(new CustomEvent(Me,{detail:e}))};return{mode:e,computedMode:Be(e),setMode:r,toggleMode:()=>{let t=e;"auto"===t&&(t=Be(t)),t="dark"===t?"light":"dark",r(t)},clearMode:()=>{const e=ee()??De;r(e)}}},ze=e=>{(0,o.useEffect)((()=>{function t(t){const r=t.detail;e(r)}return document.addEventListener(Me,t),()=>document.removeEventListener(Me,t)}),[])},Le=e=>localStorage.setItem(Oe,e),Ae=e=>{"dark"===Be(e)?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},Fe=e=>{if(!Ie())return De;return localStorage.getItem(Oe)??e??De},Be=e=>"auto"===e?We():e,We=()=>window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light",Ye=({className:e,theme:t={},iconDark:r=s.Q3K,iconLight:a=s.Zt5,...i})=>{const l=function(){const[e,t]=(0,o.useState)(!1);return(0,o.useEffect)((()=>t(!0)),[]),e}(),{computedMode:d,toggleMode:c}=Pe(),u=Z(te().darkThemeToggle,t);return(0,n.jsxs)("button",{type:"button","aria-label":"Toggle dark mode","data-testid":"dark-theme-toggle",className:U(u.root.base,e),onClick:c,...i,children:[(0,n.jsx)(r,{"aria-label":"Currently dark mode","data-active":l&&"dark"===d,className:U(u.root.icon,"hidden dark:block")}),(0,n.jsx)(a,{"aria-label":"Currently light mode","data-active":l&&"light"===d,className:U(u.root.icon,"dark:hidden")})]})};Ye.displayName="DarkThemeToggle";const Ge=({children:e,className:t,color:r="default",theme:o={},value:a,...s})=>{const i=Z(te().helperText,o);return(0,n.jsx)("p",{className:U(i.root.base,i.root.colors[r],t),...s,children:a??e??""})};Ge.displayName="HelperText";const He=(0,o.forwardRef)((({addon:e,className:t,color:r="gray",helperText:o,icon:a,rightIcon:s,shadow:i,sizing:l="md",theme:d={},type:c="text",...u},g)=>{const f=Z(te().textInput,d);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:U(f.base,t),children:[e&&(0,n.jsx)("span",{className:f.addon,children:e}),(0,n.jsxs)("div",{className:f.field.base,children:[a&&(0,n.jsx)("div",{className:f.field.icon.base,children:(0,n.jsx)(a,{className:f.field.icon.svg})}),s&&(0,n.jsx)("div",{"data-testid":"right-icon",className:f.field.rightIcon.base,children:(0,n.jsx)(s,{className:f.field.rightIcon.svg})}),(0,n.jsx)("input",{className:U(f.field.input.base,f.field.input.colors[r],f.field.input.sizes[l],f.field.input.withIcon[a?"on":"off"],f.field.input.withRightIcon[s?"on":"off"],f.field.input.withAddon[e?"on":"off"],f.field.input.withShadow[i?"on":"off"]),type:c,...u,ref:g})]})]}),o&&(0,n.jsx)(Ge,{color:r,children:o})]})}));He.displayName="TextInput";const $e=(0,o.createContext)(void 0);function _e(){const e=(0,o.useContext)($e);if(!e)throw new Error("useDatePickerContext should be used within the DatePickerContext provider!");return e}var Ke=(e=>(e[e.Days=0]="Days",e[e.Months=1]="Months",e[e.Years=2]="Years",e[e.Decades=3]="Decades",e))(Ke||{}),Ve=(e=>(e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e))(Ve||{});const Ue=(e,t,r)=>{const n=new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();if(t&&r){const e=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),o=new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime();return n>=e&&n<=o}if(t){return n>=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()}if(r){return n<=new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime()}return!0},qe=(e,t)=>(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()),t=new Date(t.getFullYear(),t.getMonth(),t.getDate()),e.getTime()===t.getTime()),Xe=(e,t)=>{const r=new Date(e);return r.setDate(r.getDate()+t),r},Ze=(e,t)=>{const r=new Date(e);return r.setFullYear(r.getFullYear()+t),r},Qe=(e,t,r)=>{let n={day:"numeric",month:"long",year:"numeric"};return r&&(n=r),new Intl.DateTimeFormat(e,n).format(t)},Je=(e,t)=>{const r=e.getFullYear();return Math.floor(r/t)*t},et=({theme:e={}})=>{const{theme:t,weekStart:r,minDate:o,maxDate:a,viewDate:s,selectedDate:i,changeSelectedDate:l,language:d}=_e(),c=Z(t.views.days,e),u=((e,t)=>{const r=[],n=new Date(0);n.setDate(n.getDate()-n.getDay()+t);const o=new Intl.DateTimeFormat(e,{weekday:"short"});for(let a=0;a<7;a++)r.push(o.format(Xe(n,a)));return r})(d,r),g=((e,t)=>{const r=new Date(e.getFullYear(),e.getMonth(),1);let n=r.getDay()-t;return n<0&&(n+=7),Xe(r,-n)})(s,r);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:c.header.base,children:u.map(((e,t)=>(0,n.jsx)("span",{className:c.header.title,children:e},t)))}),(0,n.jsx)("div",{className:c.items.base,children:[...Array(42)].map(((e,t)=>{const r=Xe(g,t),s=Qe(d,r,{day:"numeric"}),u=qe(i,r),f=!Ue(r,o,a);return(0,n.jsx)("button",{disabled:f,type:"button",className:U(c.items.item.base,u&&c.items.item.selected,f&&c.items.item.disabled),onClick:()=>{f||l(r,!0)},children:s},t)}))})]})},tt=({theme:e={}})=>{const{theme:t,selectedDate:r,viewDate:o,setViewDate:a,setView:s}=_e(),i=Z(t.views.decades,e);return(0,n.jsx)("div",{className:i.items.base,children:[...Array(12)].map(((e,t)=>{const l=Je(o,100)-10+10*t,d=new Date(l,0,1),c=Ze(d,9),u=((e,t)=>{const r=e.getFullYear();return r>=t&&r<=t+9})(o,l),g=!Ue(o,d,c);return(0,n.jsx)("button",{disabled:g,type:"button",className:U(i.items.item.base,u&&i.items.item.selected,g&&i.items.item.disabled),onClick:()=>{g||(a(Ze(o,l-r.getFullYear())),s(Ke.Years))},children:l},t)}))})},rt=({theme:e={}})=>{const{theme:t,minDate:r,maxDate:o,selectedDate:a,viewDate:s,language:i,setViewDate:l,setView:d}=_e(),c=Z(t.views.months,e);return(0,n.jsx)("div",{className:c.items.base,children:[...Array(12)].map(((e,t)=>{const u=new Date(s.getTime());u.setMonth(t);const g=Qe(i,u,{month:"short"}),f=qe(a,u),b=!Ue(u,r,o);return(0,n.jsx)("button",{disabled:b,type:"button",className:U(c.items.item.base,f&&c.items.item.selected,b&&c.items.item.disabled),onClick:()=>{b||(l(u),d(Ke.Days))},children:g},t)}))})},nt=({theme:e={}})=>{const{theme:t,selectedDate:r,minDate:o,maxDate:a,viewDate:s,setViewDate:i,setView:l}=_e(),d=Z(t.views.years,e);return(0,n.jsx)("div",{className:d.items.base,children:[...Array(12)].map(((e,t)=>{const c=Je(s,10)-1+1*t,u=new Date(s.getTime());u.setFullYear(c);const g=qe(r,u),f=!Ue(u,o,a);return(0,n.jsx)("button",{disabled:f,type:"button",className:U(d.items.item.base,g&&d.items.item.selected,f&&d.items.item.disabled),onClick:()=>{f||(i(u),l(Ke.Months))},children:c},t)}))})},ot=(0,o.forwardRef)((({title:e,open:t,inline:r=!1,autoHide:a=!0,showClearButton:i=!0,labelClearButton:l="Clear",showTodayButton:d=!0,labelTodayButton:c="Today",defaultDate:u=new Date,minDate:g,maxDate:f,language:b="en",weekStart:p=Ve.Sunday,className:h,theme:m={},onSelectedDateChanged:y,...x},v)=>{const w=Z(te().datepicker,m);u=((e,t,r)=>(Ue(e,t,r)||(t&&e<t?e=t:r&&e>r&&(e=r)),e))(u,g,f);const[k,N]=(0,o.useState)(t),[j,C]=(0,o.useState)(Ke.Days),[E,R]=(0,o.useState)(u),[T,I]=(0,o.useState)(u),S=(0,o.useRef)(null),D=(0,o.useRef)(null),O=(e,t)=>{R(e),y&&y(e),a&&j===Ke.Days&&1==t&&!r&&N(!1)};(0,o.useImperativeHandle)(v,(()=>({focus(){S.current?.focus()},clear(){O(u,!0),u&&I(u)}})));const M=(e,t,r)=>{switch(e){case Ke.Days:return new Date(((e,t)=>{const r=new Date(e);return r.setMonth(r.getMonth()+t),r})(t,r));case Ke.Months:return new Date(Ze(t,r));case Ke.Years:return new Date(Ze(t,10*r));case Ke.Decades:return new Date(Ze(t,100*r));default:return new Date(Ze(t,10*r))}};return(0,o.useEffect)((()=>{const e=e=>{const t=D?.current?.contains(e.target),r=S?.current?.contains(e.target);t||r||N(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[S,D,N]),(0,n.jsx)($e.Provider,{value:{theme:w,language:b,minDate:g,maxDate:f,weekStart:p,isOpen:k,setIsOpen:N,view:j,setView:C,viewDate:T,setViewDate:I,selectedDate:E,setSelectedDate:R,changeSelectedDate:O},children:(0,n.jsxs)("div",{className:U(w.root.base,h),children:[!r&&(0,n.jsx)(He,{theme:w.root.input,icon:s.Ylv,ref:S,onFocus:()=>{qe(T,E)||I(E),N(!0)},value:E&&Qe(b,E),readOnly:!0,...x}),(k||r)&&(0,n.jsx)("div",{ref:D,className:U(w.popup.root.base,r&&w.popup.root.inline),children:(0,n.jsxs)("div",{className:w.popup.root.inner,children:[(0,n.jsxs)("div",{className:w.popup.header.base,children:[e&&(0,n.jsx)("div",{className:w.popup.header.title,children:e}),(0,n.jsxs)("div",{className:w.popup.header.selectors.base,children:[(0,n.jsx)("button",{type:"button",className:U(w.popup.header.selectors.button.base,w.popup.header.selectors.button.prev),onClick:()=>I(M(j,T,-1)),children:(0,n.jsx)(s.AqJ,{})}),(0,n.jsx)("button",{type:"button",className:U(w.popup.header.selectors.button.base,w.popup.header.selectors.button.view),onClick:()=>C((()=>{switch(j){case Ke.Days:return Ke.Months;case Ke.Months:return Ke.Years;case Ke.Years:return Ke.Decades}return j})()),children:(()=>{switch(j){case Ke.Decades:return`${Je(T,100)} - ${Je(T,100)+90}`;case Ke.Years:return`${Je(T,10)} - ${Je(T,10)+9}`;case Ke.Months:return Qe(b,T,{year:"numeric"});case Ke.Days:default:return Qe(b,T,{month:"long",year:"numeric"})}})()}),(0,n.jsx)("button",{type:"button",className:U(w.popup.header.selectors.button.base,w.popup.header.selectors.button.next),onClick:()=>I(M(j,T,1)),children:(0,n.jsx)(s.L2n,{})})]})]}),(0,n.jsx)("div",{className:w.popup.view.base,children:(e=>{switch(e){case Ke.Decades:return(0,n.jsx)(tt,{theme:w.views.decades});case Ke.Years:return(0,n.jsx)(nt,{theme:w.views.years});case Ke.Months:return(0,n.jsx)(rt,{theme:w.views.months});case Ke.Days:default:return(0,n.jsx)(et,{theme:w.views.days})}})(j)}),(i||d)&&(0,n.jsxs)("div",{className:w.popup.footer.base,children:[d&&(0,n.jsx)("button",{type:"button",className:U(w.popup.footer.button.base,w.popup.footer.button.today),onClick:()=>{const e=new Date;O(e,!0),I(e)},children:c}),i&&(0,n.jsx)("button",{type:"button",className:U(w.popup.footer.button.base,w.popup.footer.button.clear),onClick:()=>{O(u,!0),u&&I(u)},children:l})]})]})})]})})}));function at(e){return lt(e)?(e.nodeName||"").toLowerCase():"#document"}function st(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function it(e){var t;return null==(t=(lt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function lt(e){return e instanceof Node||e instanceof st(e).Node}function dt(e){return e instanceof Element||e instanceof st(e).Element}function ct(e){return e instanceof HTMLElement||e instanceof st(e).HTMLElement}function ut(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof st(e).ShadowRoot)}function gt(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function ft(e){return["table","td","th"].includes(at(e))}function bt(e){const t=pt(),r=mt(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function pt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ht(e){return["html","body","#document"].includes(at(e))}function mt(e){return st(e).getComputedStyle(e)}function yt(e){return dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xt(e){if("html"===at(e))return e;const t=e.assignedSlot||e.parentNode||ut(e)&&e.host||it(e);return ut(t)?t.host:t}function vt(e){const t=xt(e);return ht(t)?e.ownerDocument?e.ownerDocument.body:e.body:ct(t)&>(t)?t:vt(t)}function wt(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=vt(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),s=st(o);return a?t.concat(s,s.visualViewport||[],gt(o)?o:[],s.frameElement&&r?wt(s.frameElement):[]):t.concat(o,wt(o,[],r))}function kt(e){let t=e.activeElement;for(;null!=(null==(r=t)||null==(r=r.shadowRoot)?void 0:r.activeElement);){var r;t=t.shadowRoot.activeElement}return t}function Nt(e,t){if(!e||!t)return!1;const r=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&ut(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function jt(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function Ct(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}function Et(e){return!(0!==e.mozInputSource||!e.isTrusted)||(It()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function Rt(e){return!Ct().includes("jsdom/")&&(!It()&&0===e.width&&0===e.height||It()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function Tt(){return/apple/i.test(navigator.vendor)}function It(){const e=/android/i;return e.test(jt())||e.test(Ct())}function St(){return jt().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function Dt(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function Ot(e){return(null==e?void 0:e.ownerDocument)||document}function Mt(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}function Pt(e){return"composedPath"in e?e.composedPath()[0]:e.target}ot.displayName="Datepicker";function zt(e){return ct(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function Lt(e){e.preventDefault(),e.stopPropagation()}function At(e){return!!e&&("combobox"===e.getAttribute("role")&&zt(e))}const Ft=["start","end"],Bt=["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-"+Ft[0],t+"-"+Ft[1])),[]),Wt=Math.min,Yt=Math.max,Gt=Math.round,Ht=Math.floor,$t=e=>({x:e,y:e}),_t={left:"right",right:"left",bottom:"top",top:"bottom"},Kt={start:"end",end:"start"};function Vt(e,t,r){return Yt(e,Wt(t,r))}function Ut(e,t){return"function"==typeof e?e(t):e}function qt(e){return e.split("-")[0]}function Xt(e){return e.split("-")[1]}function Zt(e){return"x"===e?"y":"x"}function Qt(e){return"y"===e?"height":"width"}function Jt(e){return["top","bottom"].includes(qt(e))?"y":"x"}function er(e){return Zt(Jt(e))}function tr(e,t,r){void 0===r&&(r=!1);const n=Xt(e),o=er(e),a=Qt(o);let s="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=nr(s)),[s,nr(s)]}function rr(e){return e.replace(/start|end/g,(e=>Kt[e]))}function nr(e){return e.replace(/left|right|bottom|top/g,(e=>_t[e]))}function or(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function ar(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function sr(e,t,r){let{reference:n,floating:o}=e;const a=Jt(t),s=er(t),i=Qt(s),l=qt(t),d="y"===a,c=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,g=n[i]/2-o[i]/2;let f;switch(l){case"top":f={x:c,y:n.y-o.height};break;case"bottom":f={x:c,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:u};break;case"left":f={x:n.x-o.width,y:u};break;default:f={x:n.x,y:n.y}}switch(Xt(t)){case"start":f[s]-=g*(r&&d?-1:1);break;case"end":f[s]+=g*(r&&d?-1:1)}return f}async function ir(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:a,rects:s,elements:i,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:g=!1,padding:f=0}=Ut(t,e),b=or(f),p=i[g?"floating"===u?"reference":"floating":u],h=ar(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(p)))||r?p:p.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(i.floating)),boundary:d,rootBoundary:c,strategy:l})),m="floating"===u?{...s.floating,x:n,y:o}:s.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(i.floating)),x=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},v=ar(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:m,offsetParent:y,strategy:l}):m);return{top:(h.top-v.top+b.top)/x.y,bottom:(v.bottom-h.bottom+b.bottom)/x.y,left:(h.left-v.left+b.left)/x.x,right:(v.right-h.right+b.right)/x.x}}const lr=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:s,middlewareData:i}=t,l=await async function(e,t){const{placement:r,platform:n,elements:o}=e,a=await(null==n.isRTL?void 0:n.isRTL(o.floating)),s=qt(r),i=Xt(r),l="y"===Jt(r),d=["left","top"].includes(s)?-1:1,c=a&&l?-1:1,u=Ut(t,e);let{mainAxis:g,crossAxis:f,alignmentAxis:b}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return i&&"number"==typeof b&&(f="end"===i?-1*b:b),l?{x:f*c,y:g*d}:{x:g*d,y:f*c}}(t,e);return s===(null==(r=i.offset)?void 0:r.placement)&&null!=(n=i.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:s}}}}};function dr(e){const t=mt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=ct(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,i=Gt(r)!==a||Gt(n)!==s;return i&&(r=a,n=s),{width:r,height:n,$:i}}function cr(e){return dt(e)?e:e.contextElement}function ur(e){const t=cr(e);if(!ct(t))return $t(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=dr(t);let s=(a?Gt(r.width):r.width)/n,i=(a?Gt(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),i&&Number.isFinite(i)||(i=1),{x:s,y:i}}const gr=$t(0);function fr(e){const t=st(e);return pt()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:gr}function br(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),a=cr(e);let s=$t(1);t&&(n?dt(n)&&(s=ur(n)):s=ur(e));const i=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==st(e))&&t}(a,r,n)?fr(a):$t(0);let l=(o.left+i.x)/s.x,d=(o.top+i.y)/s.y,c=o.width/s.x,u=o.height/s.y;if(a){const e=st(a),t=n&&dt(n)?st(n):n;let r=e,o=r.frameElement;for(;o&&n&&t!==r;){const e=ur(o),t=o.getBoundingClientRect(),n=mt(o),a=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,d*=e.y,c*=e.x,u*=e.y,l+=a,d+=s,r=st(o),o=r.frameElement}}return ar({width:c,height:u,x:l,y:d})}const pr=[":popover-open",":modal"];function hr(e){return pr.some((t=>{try{return e.matches(t)}catch(r){return!1}}))}function mr(e){return br(it(e)).left+yt(e).scrollLeft}function yr(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=st(e),n=it(e),o=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const e=pt();(!e||e&&"fixed"===t)&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i,y:l}}(e,r);else if("document"===t)n=function(e){const t=it(e),r=yt(e),n=e.ownerDocument.body,o=Yt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Yt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+mr(e);const i=-r.scrollTop;return"rtl"===mt(n).direction&&(s+=Yt(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:i}}(it(e));else if(dt(t))n=function(e,t){const r=br(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=ct(e)?ur(e):$t(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:n*a.y}}(t,r);else{const r=fr(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return ar(n)}function xr(e,t){const r=xt(e);return!(r===t||!dt(r)||ht(r))&&("fixed"===mt(r).position||xr(r,t))}function vr(e,t,r){const n=ct(t),o=it(t),a="fixed"===r,s=br(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const l=$t(0);if(n||!n&&!a)if(("body"!==at(t)||gt(o))&&(i=yt(t)),n){const e=br(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=mr(o));return{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function wr(e,t){return ct(e)&&"fixed"!==mt(e).position?t?t(e):e.offsetParent:null}function kr(e,t){const r=st(e);if(!ct(e)||hr(e))return r;let n=wr(e,t);for(;n&&ft(n)&&"static"===mt(n).position;)n=wr(n,t);return n&&("html"===at(n)||"body"===at(n)&&"static"===mt(n).position&&!bt(n))?r:n||function(e){let t=xt(e);for(;ct(t)&&!ht(t);){if(bt(t))return t;t=xt(t)}return null}(e)||r}const Nr={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a="fixed"===o,s=it(n),i=!!t&&hr(t.floating);if(n===s||i&&a)return r;let l={scrollLeft:0,scrollTop:0},d=$t(1);const c=$t(0),u=ct(n);if((u||!u&&!a)&&(("body"!==at(n)||gt(s))&&(l=yt(n)),ct(n))){const e=br(n);d=ur(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+c.x,y:r.y*d.y-l.scrollTop*d.y+c.y}},getDocumentElement:it,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[..."clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=wt(e,[],!1).filter((e=>dt(e)&&"body"!==at(e))),o=null;const a="fixed"===mt(e).position;let s=a?xt(e):e;for(;dt(s)&&!ht(s);){const t=mt(s),r=bt(s);r||"fixed"!==t.position||(o=null),(a?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||gt(s)&&!r&&xr(e,s))?n=n.filter((e=>e!==s)):o=t,s=xt(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=a[0],i=a.reduce(((e,r)=>{const n=yr(t,r,o);return e.top=Yt(n.top,e.top),e.right=Wt(n.right,e.right),e.bottom=Wt(n.bottom,e.bottom),e.left=Yt(n.left,e.left),e}),yr(t,s,o));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}},getOffsetParent:kr,getElementRects:async function(e){const t=this.getOffsetParent||kr,r=this.getDimensions;return{reference:vr(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await r(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=dr(e);return{width:t,height:r}},getScale:ur,isElement:dt,isRTL:function(e){return"rtl"===mt(e).direction}};function jr(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:i="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,d=cr(e),c=o||a?[...d?wt(d):[],...wt(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)}));const u=d&&i?function(e,t){let r,n=null;const o=it(e);function a(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function s(i,l){void 0===i&&(i=!1),void 0===l&&(l=1),a();const{left:d,top:c,width:u,height:g}=e.getBoundingClientRect();if(i||t(),!u||!g)return;const f={rootMargin:-Ht(c)+"px "+-Ht(o.clientWidth-(d+u))+"px "+-Ht(o.clientHeight-(c+g))+"px "+-Ht(d)+"px",threshold:Yt(0,Wt(1,l))||1};let b=!0;function p(e){const t=e[0].intersectionRatio;if(t!==l){if(!b)return s();t?s(!1,t):r=setTimeout((()=>{s(!1,1e-7)}),100)}b=!1}try{n=new IntersectionObserver(p,{...f,root:o.ownerDocument})}catch(h){n=new IntersectionObserver(p,f)}n.observe(e)}(!0),a}(d,r):null;let g,f=-1,b=null;s&&(b=new ResizeObserver((e=>{let[n]=e;n&&n.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=b)||e.observe(t)}))),r()})),d&&!l&&b.observe(d),b.observe(t));let p=l?br(e):null;return l&&function t(){const n=br(e);!p||n.x===p.x&&n.y===p.y&&n.width===p.width&&n.height===p.height||r();p=n,g=requestAnimationFrame(t)}(),r(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)})),null==u||u(),null==(e=b)||e.disconnect(),b=null,l&&cancelAnimationFrame(g)}}const Cr=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:a,middlewareData:s,placement:i,platform:l,elements:d}=t,{crossAxis:c=!1,alignment:u,allowedPlacements:g=Bt,autoAlignment:f=!0,...b}=Ut(e,t),p=void 0!==u||g===Bt?function(e,t,r){return(e?[...r.filter((t=>Xt(t)===e)),...r.filter((t=>Xt(t)!==e))]:r.filter((e=>qt(e)===e))).filter((r=>!e||Xt(r)===e||!!t&&rr(r)!==r))}(u||null,f,g):g,h=await ir(t,b),m=(null==(r=s.autoPlacement)?void 0:r.index)||0,y=p[m];if(null==y)return{};const x=tr(y,a,await(null==l.isRTL?void 0:l.isRTL(d.floating)));if(i!==y)return{reset:{placement:p[0]}};const v=[h[qt(y)],h[x[0]],h[x[1]]],w=[...(null==(n=s.autoPlacement)?void 0:n.overflows)||[],{placement:y,overflows:v}],k=p[m+1];if(k)return{data:{index:m+1,overflows:w},reset:{placement:k}};const N=w.map((e=>{const t=Xt(e.placement);return[e.placement,t&&c?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),j=(null==(o=N.filter((e=>e[2].slice(0,Xt(e[0])?2:3).every((e=>e<=0))))[0])?void 0:o[0])||N[0][0];return j!==i?{data:{index:m+1,overflows:w},reset:{placement:j}}:{}}}},Er=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:i={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=Ut(e,t),d={x:r,y:n},c=await ir(t,l),u=Jt(qt(o)),g=Zt(u);let f=d[g],b=d[u];if(a){const e="y"===g?"bottom":"right";f=Vt(f+c["y"===g?"top":"left"],f,f-c[e])}if(s){const e="y"===u?"bottom":"right";b=Vt(b+c["y"===u?"top":"left"],b,b-c[e])}const p=i.fn({...t,[g]:f,[u]:b});return{...p,data:{x:p.x-r,y:p.y-n}}}}},Rr=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:d}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:g,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:p=!0,...h}=Ut(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const m=qt(o),y=qt(i)===i,x=await(null==l.isRTL?void 0:l.isRTL(d.floating)),v=g||(y||!p?[nr(i)]:function(e){const t=nr(e);return[rr(e),t,rr(t)]}(i));g||"none"===b||v.push(...function(e,t,r,n){const o=Xt(e);let a=function(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}(qt(e),"start"===r,n);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(rr)))),a}(i,p,b,x));const w=[i,...v],k=await ir(t,h),N=[];let j=(null==(n=a.flip)?void 0:n.overflows)||[];if(c&&N.push(k[m]),u){const e=tr(o,s,x);N.push(k[e[0]],k[e[1]])}if(j=[...j,{placement:o,overflows:N}],!N.every((e=>e<=0))){var C,E;const e=((null==(C=a.flip)?void 0:C.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:j},reset:{placement:t}};let r=null==(E=j.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement;if(!r)switch(f){case"bestFit":{var R;const e=null==(R=j.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0];e&&(r=e);break}case"initialPlacement":r=i}if(o!==r)return{reset:{placement:r}}}return{}}}},Tr=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=t,{element:d,padding:c=0}=Ut(e,t)||{};if(null==d)return{};const u=or(c),g={x:r,y:n},f=er(o),b=Qt(f),p=await s.getDimensions(d),h="y"===f,m=h?"top":"left",y=h?"bottom":"right",x=h?"clientHeight":"clientWidth",v=a.reference[b]+a.reference[f]-g[f]-a.floating[b],w=g[f]-a.reference[f],k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(d));let N=k?k[x]:0;N&&await(null==s.isElement?void 0:s.isElement(k))||(N=i.floating[x]||a.floating[b]);const j=v/2-w/2,C=N/2-p[b]/2-1,E=Wt(u[m],C),R=Wt(u[y],C),T=E,I=N-p[b]-R,S=N/2-p[b]/2+j,D=Vt(T,S,I),O=!l.arrow&&null!=Xt(o)&&S!==D&&a.reference[b]/2-(S<T?E:R)-p[b]/2<0,M=O?S<T?S-T:S-I:0;return{[f]:g[f]+M,data:{[f]:D,centerOffset:S-D-M,...O&&{alignmentOffset:M}},reset:O}}}),Ir=(e,t,r)=>{const n=new Map,o={platform:Nr,...r},a={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,i=a.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=sr(d,n,l),g=n,f={},b=0;for(let p=0;p<i.length;p++){const{name:r,fn:a}=i[p],{x:h,y:m,data:y,reset:x}=await a({x:c,y:u,initialPlacement:n,placement:g,strategy:o,middlewareData:f,rects:d,platform:s,elements:{reference:e,floating:t}});c=null!=h?h:c,u=null!=m?m:u,f={...f,[r]:{...f[r],...y}},x&&b<=50&&(b++,"object"==typeof x&&(x.placement&&(g=x.placement),x.rects&&(d=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):x.rects),({x:c,y:u}=sr(d,g,l))),p=-1)}return{x:c,y:u,placement:g,strategy:o,middlewareData:f}})(e,t,{...o,platform:a})};var Sr=r(961);var Dr="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function Or(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!=n--;)if(!Or(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!Or(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function Mr(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pr(e,t){const r=Mr(e);return Math.round(t*r)/r}function zr(e){const t=o.useRef(e);return Dr((()=>{t.current=e})),t}var Lr=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ar=Lr.join(","),Fr="undefined"==typeof Element,Br=Fr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Wr=!Fr&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Yr=function e(t,r){var n;void 0===r&&(r=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},Gr=function(e,t,r){if(Yr(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ar));return t&&Br.call(e,Ar)&&n.unshift(e),n=n.filter(r)},Hr=function e(t,r,n){for(var o=[],a=Array.from(t);a.length;){var s=a.shift();if(!Yr(s,!1))if("SLOT"===s.tagName){var i=s.assignedElements(),l=e(i.length?i:s.children,!0,n);n.flatten?o.push.apply(o,l):o.push({scopeParent:s,candidates:l})}else{Br.call(s,Ar)&&n.filter(s)&&(r||!t.includes(s))&&o.push(s);var d=s.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(s),c=!Yr(d,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(d&&c){var u=e(!0===d?s.children:d.children,!0,n);n.flatten?o.push.apply(o,u):o.push({scopeParent:s,candidates:u})}else a.unshift.apply(a,s.children)}}return o},$r=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},_r=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!$r(e)?0:e.tabIndex},Kr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Vr=function(e){return"INPUT"===e.tagName},Ur=function(e){return function(e){return Vr(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||Wr(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!o||o===e}(e)},qr=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},Xr=function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=Br.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Br.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return qr(e)}else{if("function"==typeof n){for(var a=e;e;){var s=e.parentElement,i=Wr(e);if(s&&!s.shadowRoot&&!0===n(s))return qr(e);e=e.assignedSlot?e.assignedSlot:s||i===e.ownerDocument?s:i.host}e=a}if(function(e){var t,r,n,o,a=e&&Wr(e),s=null===(t=a)||void 0===t?void 0:t.host,i=!1;if(a&&a!==e)for(i=!!(null!==(r=s)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(s)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!i&&s;){var l,d,c;i=!(null===(d=s=null===(l=a=Wr(s))||void 0===l?void 0:l.host)||void 0===d||null===(c=d.ownerDocument)||void 0===c||!c.contains(s))}return i}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},Zr=function(e,t){return!(t.disabled||Yr(t)||function(e){return Vr(e)&&"hidden"===e.type}(t)||Xr(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!Br.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},Qr=function(e,t){return!(Ur(t)||_r(t)<0||!Zr(e,t))},Jr=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},en=function e(t){var r=[],n=[];return t.forEach((function(t,o){var a=!!t.scopeParent,s=a?t.scopeParent:t,i=function(e,t){var r=_r(e);return r<0&&t&&!$r(e)?0:r}(s,a),l=a?e(t.candidates):s;0===i?a?r.push.apply(r,l):r.push(s):n.push({documentOrder:o,tabIndex:i,item:t,isScope:a,content:l})})),n.sort(Kr).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},tn=function(e,t){var r;return r=(t=t||{}).getShadowRoot?Hr([e],t.includeContainer,{filter:Qr.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Jr}):Gr(e,t.includeContainer,Qr.bind(null,t)),en(r)};function rn(e){return o.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const nn=a["useInsertionEffect".toString()]||(e=>e());function on(e){const t=o.useRef((()=>{0}));return nn((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)}),[])}const an="ArrowUp",sn="ArrowDown",ln="ArrowLeft",dn="ArrowRight";function cn(e,t,r){return Math.floor(e/t)!==r}function un(e,t){return t<0||t>=e.current.length}function gn(e,t){return bn(e,{disabledIndices:t})}function fn(e,t){return bn(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function bn(e,t){let{startingIndex:r=-1,decrement:n=!1,disabledIndices:o,amount:a=1}=void 0===t?{}:t;const s=e.current,i=o?e=>o.includes(e):e=>{const t=s[e];return null==t||t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")};let l=r;do{l+=n?-a:a}while(l>=0&&l<=s.length-1&&i(l));return l}function pn(e,t){let{event:r,orientation:n,loop:o,cols:a,disabledIndices:s,minIndex:i,maxIndex:l,prevIndex:d,stopEvent:c=!1}=t,u=d;if(r.key===an){if(c&&Lt(r),-1===d)u=l;else if(u=bn(e,{startingIndex:u,amount:a,decrement:!0,disabledIndices:s}),o&&(d-a<i||u<0)){const e=d%a,t=l%a,r=l-(t-e);u=t===e?l:t>e?r:r-a}un(e,u)&&(u=d)}if(r.key===sn&&(c&&Lt(r),-1===d?u=i:(u=bn(e,{startingIndex:d,amount:a,disabledIndices:s}),o&&d+a>l&&(u=bn(e,{startingIndex:d%a-a,amount:a,disabledIndices:s}))),un(e,u)&&(u=d)),"both"===n){const t=Ht(d/a);r.key===dn&&(c&&Lt(r),d%a!=a-1?(u=bn(e,{startingIndex:d,disabledIndices:s}),o&&cn(u,a,t)&&(u=bn(e,{startingIndex:d-d%a-1,disabledIndices:s}))):o&&(u=bn(e,{startingIndex:d-d%a-1,disabledIndices:s})),cn(u,a,t)&&(u=d)),r.key===ln&&(c&&Lt(r),d%a!=0?(u=bn(e,{startingIndex:d,disabledIndices:s,decrement:!0}),o&&cn(u,a,t)&&(u=bn(e,{startingIndex:d+(a-d%a),decrement:!0,disabledIndices:s}))):o&&(u=bn(e,{startingIndex:d+(a-d%a),decrement:!0,disabledIndices:s})),cn(u,a,t)&&(u=d));const n=Ht(l/a)===t;un(e,u)&&(u=o&&n?r.key===ln?l:bn(e,{startingIndex:d-d%a-1,disabledIndices:s}):d)}return u}function hn(e,t,r){const n=[];let o=0;return e.forEach(((e,a)=>{let{width:s,height:i}=e,l=!1;for(r&&(o=0);!l;){const e=[];for(let r=0;r<s;r++)for(let n=0;n<i;n++)e.push(o+r+n*t);o%t+s<=t&&e.every((e=>null==n[e]))?(e.forEach((e=>{n[e]=a})),l=!0):o++}})),[...n]}function mn(e,t,r,n,o){if(-1===e)return-1;const a=r.indexOf(e);switch(o){case"tl":return a;case"tr":return a+t[e].width-1;case"bl":return a+(t[e].height-1)*n;case"br":return r.lastIndexOf(e)}}function yn(e,t){return t.flatMap(((t,r)=>e.includes(t)?[r]:[]))}let xn=0;function vn(e,t){void 0===t&&(t={});const{preventScroll:r=!1,cancelPrevious:n=!0,sync:o=!1}=t;n&&cancelAnimationFrame(xn);const a=()=>null==e?void 0:e.focus({preventScroll:r});o?a():xn=requestAnimationFrame(a)}var wn="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function kn(e,t){const r=e.compareDocumentPosition(t);return r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS?1:0}const Nn=o.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function jn(e){let{children:t,elementsRef:r,labelsRef:n}=e;const[a,s]=o.useState((()=>new Map)),i=o.useCallback((e=>{s((t=>new Map(t).set(e,null)))}),[]),l=o.useCallback((e=>{s((t=>{const r=new Map(t);return r.delete(e),r}))}),[]);return wn((()=>{const e=new Map(a);Array.from(e.keys()).sort(kn).forEach(((t,r)=>{e.set(t,r)})),function(e,t){if(e.size!==t.size)return!1;for(const[r,n]of e.entries())if(n!==t.get(r))return!1;return!0}(a,e)||s(e)}),[a]),o.createElement(Nn.Provider,{value:o.useMemo((()=>({register:i,unregister:l,map:a,elementsRef:r,labelsRef:n})),[i,l,a,r,n])},t)}function Cn(e){let{label:t}=void 0===e?{}:e;const[r,n]=o.useState(null),a=o.useRef(null),{register:s,unregister:i,map:l,elementsRef:d,labelsRef:c}=o.useContext(Nn),u=o.useCallback((e=>{if(a.current=e,null!==r&&(d.current[r]=e,c)){var n;const o=void 0!==t;c.current[r]=o?t:null!=(n=null==e?void 0:e.textContent)?n:null}}),[r,d,c,t]);return wn((()=>{const e=a.current;if(e)return s(e),()=>{i(e)}}),[s,i]),wn((()=>{const e=a.current?l.get(a.current):null;null!=e&&n(e)}),[l]),o.useMemo((()=>({ref:u,index:null==r?-1:r})),[r,u])}const En=[ln,dn],Rn=[an,sn];function Tn(){return Tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tn.apply(this,arguments)}let In=!1,Sn=0;const Dn=()=>"floating-ui-"+Sn++;const On=a["useId".toString()]||function(){const[e,t]=o.useState((()=>In?Dn():void 0));return wn((()=>{null==e&&t(Dn())}),[]),o.useEffect((()=>{In||(In=!0)}),[]),e};function Mn(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,(null==(n=e.get(t))?void 0:n.filter((e=>e!==r)))||[])}}}const Pn=o.createContext(null),zn=o.createContext(null),Ln=()=>{var e;return(null==(e=o.useContext(Pn))?void 0:e.id)||null},An=()=>o.useContext(zn);function Fn(e){return"data-floating-ui-"+e}function Bn(e){const t=(0,o.useRef)(e);return wn((()=>{t.current=e})),t}const Wn=Fn("safe-polygon");function Yn(e,t,r){return r&&!Dt(r)?0:"number"==typeof e?e:null==e?void 0:e[t]}function Gn(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,dataRef:a,events:s,elements:{domReference:i,floating:l},refs:d}=e,{enabled:c=!0,delay:u=0,handleClose:g=null,mouseOnly:f=!1,restMs:b=0,move:p=!0}=t,h=An(),m=Ln(),y=Bn(g),x=Bn(u),v=o.useRef(),w=o.useRef(),k=o.useRef(),N=o.useRef(),j=o.useRef(!0),C=o.useRef(!1),E=o.useRef((()=>{})),R=o.useCallback((()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[a]);o.useEffect((()=>{if(c)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(w.current),clearTimeout(N.current),j.current=!0)}}),[c,s]),o.useEffect((()=>{if(!c||!y.current||!r)return;function e(e){R()&&n(!1,e,"hover")}const t=Ot(l).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[l,r,n,c,y,R]);const T=o.useCallback((function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r="hover");const o=Yn(x.current,"close",v.current);o&&!k.current?(clearTimeout(w.current),w.current=setTimeout((()=>n(!1,e,r)),o)):t&&(clearTimeout(w.current),n(!1,e,r))}),[x,n]),I=o.useCallback((()=>{E.current(),k.current=void 0}),[]),S=o.useCallback((()=>{if(C.current){const e=Ot(d.floating.current).body;e.style.pointerEvents="",e.removeAttribute(Wn),C.current=!1}}),[d]);return o.useEffect((()=>{if(c&&dt(i)){const e=i;return r&&e.addEventListener("mouseleave",d),null==l||l.addEventListener("mouseleave",d),p&&e.addEventListener("mousemove",o,{once:!0}),e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",s),()=>{r&&e.removeEventListener("mouseleave",d),null==l||l.removeEventListener("mouseleave",d),p&&e.removeEventListener("mousemove",o),e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",s)}}function t(){return!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)}function o(e){if(clearTimeout(w.current),j.current=!1,f&&!Dt(v.current)||b>0&&0===Yn(x.current,"open"))return;const t=Yn(x.current,"open",v.current);t?w.current=setTimeout((()=>{n(!0,e,"hover")}),t):n(!0,e,"hover")}function s(n){if(t())return;E.current();const o=Ot(l);if(clearTimeout(N.current),y.current){r||clearTimeout(w.current),k.current=y.current({...e,tree:h,x:n.clientX,y:n.clientY,onClose(){S(),I(),T(n,!0,"safe-polygon")}});const t=k.current;return o.addEventListener("mousemove",t),void(E.current=()=>{o.removeEventListener("mousemove",t)})}("touch"!==v.current||!Nt(l,n.relatedTarget))&&T(n)}function d(r){t()||null==y.current||y.current({...e,tree:h,x:r.clientX,y:r.clientY,onClose(){S(),I(),T(r)}})(r)}}),[i,l,c,e,f,b,p,T,I,S,n,r,h,x,y,a]),wn((()=>{var e;if(c&&r&&null!=(e=y.current)&&e.__options.blockPointerEvents&&R()){const e=Ot(l).body;if(e.setAttribute(Wn,""),e.style.pointerEvents="none",C.current=!0,dt(i)&&l){var t;const e=i,r=null==h||null==(t=h.nodesRef.current.find((e=>e.id===m)))||null==(t=t.context)?void 0:t.elements.floating;return r&&(r.style.pointerEvents=""),e.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{e.style.pointerEvents="",l.style.pointerEvents=""}}}}),[c,r,m,l,i,h,y,R]),wn((()=>{r||(v.current=void 0,I(),S())}),[r,I,S]),o.useEffect((()=>()=>{I(),clearTimeout(w.current),clearTimeout(N.current),S()}),[c,i,I,S]),o.useMemo((()=>{if(!c)return{};function e(e){v.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){r||0===b||(clearTimeout(N.current),N.current=setTimeout((()=>{j.current||n(!0,e.nativeEvent,"hover")}),b))}},floating:{onMouseEnter(){clearTimeout(w.current)},onMouseLeave(e){T(e.nativeEvent,!1)}}}}),[c,b,r,n,T])}function Hn(e,t){let r=e.filter((e=>{var r;return e.parentId===t&&(null==(r=e.context)?void 0:r.open)})),n=r;for(;n.length;)n=e.filter((e=>{var t;return null==(t=n)?void 0:t.some((t=>{var r;return e.parentId===t.id&&(null==(r=e.context)?void 0:r.open)}))})),r=r.concat(n);return r}let $n=new WeakMap,_n=new WeakSet,Kn={},Vn=0;const Un=e=>e&&(e.host||Un(e.parentNode));function qn(e,t,r,n){const o="data-floating-ui-inert",a=n?"inert":r?"aria-hidden":null,s=(i=t,e.map((e=>{if(i.contains(e))return e;const t=Un(e);return i.contains(t)?t:null})).filter((e=>null!=e)));var i;const l=new Set,d=new Set(s),c=[];Kn[o]||(Kn[o]=new WeakMap);const u=Kn[o];return s.forEach((function e(t){if(!t||l.has(t))return;l.add(t),t.parentNode&&e(t.parentNode)})),function e(t){if(!t||d.has(t))return;Array.prototype.forEach.call(t.children,(t=>{if(l.has(t))e(t);else{const e=a?t.getAttribute(a):null,r=null!==e&&"false"!==e,n=($n.get(t)||0)+1,s=(u.get(t)||0)+1;$n.set(t,n),u.set(t,s),c.push(t),1===n&&r&&_n.add(t),1===s&&t.setAttribute(o,""),!r&&a&&t.setAttribute(a,"true")}}))}(t),l.clear(),Vn++,()=>{c.forEach((e=>{const t=($n.get(e)||0)-1,r=(u.get(e)||0)-1;$n.set(e,t),u.set(e,r),t||(!_n.has(e)&&a&&e.removeAttribute(a),_n.delete(e)),r||e.removeAttribute(o)})),Vn--,Vn||($n=new WeakMap,$n=new WeakMap,_n=new WeakSet,Kn={})}}function Xn(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);const n=Ot(e[0]).body;return qn(e.concat(Array.from(n.querySelectorAll("[aria-live]"))),n,t,r)}const Zn=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Qn(e,t){const r=tn(e,Zn());"prev"===t&&r.reverse();const n=r.indexOf(kt(Ot(e)));return r.slice(n+1)[0]}function Jn(){return Qn(document.body,"next")}function eo(){return Qn(document.body,"prev")}function to(e,t){const r=t||e.currentTarget,n=e.relatedTarget;return!n||!Nt(r,n)}function ro(e){tn(e,Zn()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function no(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const oo={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 ao(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const so=o.forwardRef((function(e,t){const[r,n]=o.useState();wn((()=>(Tt()&&n("button"),document.addEventListener("keydown",ao),()=>{document.removeEventListener("keydown",ao)})),[]);const a={ref:t,tabIndex:0,role:r,"aria-hidden":!r||void 0,[Fn("focus-guard")]:"",style:oo};return o.createElement("span",Tn({},e,a))})),io=o.createContext(null),lo=Fn("portal");function co(e){let{children:t,id:r,root:n=null,preserveTabOrder:a=!0}=e;const s=function(e){let{id:t,root:r}=void 0===e?{}:e;const[n,a]=o.useState(null),s=On(),i=uo(),l=o.useRef(null);return wn((()=>()=>{null==n||n.remove(),queueMicrotask((()=>{l.current=null}))}),[n]),wn((()=>{if(l.current)return;const e=t?document.getElementById(t):null;if(!e)return;const r=document.createElement("div");r.id=s,r.setAttribute(lo,""),e.appendChild(r),l.current=r,a(r)}),[t,s]),wn((()=>{if(l.current)return;let e=r||(null==i?void 0:i.portalNode);e&&!dt(e)&&(e=e.current),e=e||document.body;let n=null;t&&(n=document.createElement("div"),n.id=t,e.appendChild(n));const o=document.createElement("div");o.id=s,o.setAttribute(lo,""),e=n||e,e.appendChild(o),l.current=o,a(o)}),[t,r,s,i]),n}({id:r,root:n}),[i,l]=o.useState(null),d=o.useRef(null),c=o.useRef(null),u=o.useRef(null),g=o.useRef(null),f=!!i&&!i.modal&&i.open&&a&&!(!n&&!s);return o.useEffect((()=>{if(s&&a&&(null==i||!i.modal))return s.addEventListener("focusin",e,!0),s.addEventListener("focusout",e,!0),()=>{s.removeEventListener("focusin",e,!0),s.removeEventListener("focusout",e,!0)};function e(e){if(s&&to(e)){("focusin"===e.type?no:ro)(s)}}}),[s,a,null==i?void 0:i.modal]),o.createElement(io.Provider,{value:o.useMemo((()=>({preserveTabOrder:a,beforeOutsideRef:d,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:g,portalNode:s,setFocusManagerState:l})),[a,s])},f&&s&&o.createElement(so,{"data-type":"outside",ref:d,onFocus:e=>{if(to(e,s)){var t;null==(t=u.current)||t.focus()}else{const e=eo()||(null==i?void 0:i.refs.domReference.current);null==e||e.focus()}}}),f&&s&&o.createElement("span",{"aria-owns":s.id,style:oo}),s&&(0,Sr.createPortal)(t,s),f&&s&&o.createElement(so,{"data-type":"outside",ref:c,onFocus:e=>{if(to(e,s)){var t;null==(t=g.current)||t.focus()}else{const t=Jn()||(null==i?void 0:i.refs.domReference.current);null==t||t.focus(),(null==i?void 0:i.closeOnFocusOut)&&(null==i||i.onOpenChange(!1,e.nativeEvent))}}}))}const uo=()=>o.useContext(io);let go=[];function fo(e){go=go.filter((e=>e.isConnected));let t=e;if(t&&"body"!==at(t)){if(!function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Br.call(e,Ar)&&Qr(t,e)}(t,Zn())){const e=tn(t,Zn())[0];if(!e)return;t=e}go.push(t),go.length>20&&(go=go.slice(-20))}}function bo(){return go.slice().reverse().find((e=>e.isConnected))}const po=o.forwardRef((function(e,t){return o.createElement("button",Tn({},e,{type:"button",ref:t,tabIndex:-1,style:oo}))}));function ho(e){const{context:t,children:r,disabled:n=!1,order:a=["content"],guards:s=!0,initialFocus:i=0,returnFocus:l=!0,modal:d=!0,visuallyHiddenDismiss:c=!1,closeOnFocusOut:u=!0}=e,{open:g,refs:f,nodeId:b,onOpenChange:p,events:h,dataRef:m,elements:{domReference:y,floating:x}}=t,v="number"==typeof i&&i<0,w=At(y)&&v,k="undefined"==typeof HTMLElement||!("inert"in HTMLElement.prototype)||s,N=Bn(a),j=Bn(i),C=Bn(l),E=An(),R=uo(),T=o.useRef(null),I=o.useRef(null),S=o.useRef(!1),D=o.useRef(!1),O=null!=R,M=o.useCallback((function(e){return void 0===e&&(e=x),e?tn(e,Zn()):[]}),[x]),P=o.useCallback((e=>{const t=M(e);return N.current.map((e=>y&&"reference"===e?y:x&&"floating"===e?x:t)).filter(Boolean).flat()}),[y,x,N,M]);function z(e){return!n&&c&&d?o.createElement(po,{ref:"start"===e?T:I,onClick:e=>p(!1,e.nativeEvent)},"string"==typeof c?c:"Dismiss"):null}o.useEffect((()=>{if(n||!d)return;function e(e){if("Tab"===e.key){Nt(x,kt(Ot(x)))&&0===M().length&&!w&&Lt(e);const t=P(),r=Pt(e);"reference"===N.current[0]&&r===y&&(Lt(e),e.shiftKey?vn(t[t.length-1]):vn(t[1])),"floating"===N.current[1]&&r===x&&e.shiftKey&&(Lt(e),vn(t[0]))}}const t=Ot(x);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[n,y,x,d,N,w,M,P]),o.useEffect((()=>{if(!n&&u)return x&&ct(y)?(y.addEventListener("focusout",t),y.addEventListener("pointerdown",e),!d&&x.addEventListener("focusout",t),()=>{y.removeEventListener("focusout",t),y.removeEventListener("pointerdown",e),!d&&x.removeEventListener("focusout",t)}):void 0;function e(){D.current=!0,setTimeout((()=>{D.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const r=!(Nt(y,t)||Nt(x,t)||Nt(t,x)||Nt(null==R?void 0:R.portalNode,t)||null!=t&&t.hasAttribute(Fn("focus-guard"))||E&&(Hn(E.nodesRef.current,b).find((e=>{var r,n;return Nt(null==(r=e.context)?void 0:r.elements.floating,t)||Nt(null==(n=e.context)?void 0:n.elements.domReference,t)}))||function(e,t){var r;let n=[],o=null==(r=e.find((e=>e.id===t)))?void 0:r.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(n=n.concat(t))}return n}(E.nodesRef.current,b).find((e=>{var r,n;return(null==(r=e.context)?void 0:r.elements.floating)===t||(null==(n=e.context)?void 0:n.elements.domReference)===t}))));t&&r&&!D.current&&t!==bo()&&(S.current=!0,p(!1,e))}))}}),[n,y,x,d,b,E,R,p,u]),o.useEffect((()=>{var e;if(n)return;const t=Array.from((null==R||null==(e=R.portalNode)?void 0:e.querySelectorAll("["+Fn("portal")+"]"))||[]);if(x){const e=[x,...t,T.current,I.current,N.current.includes("reference")||w?y:null].filter((e=>null!=e)),r=d||w?Xn(e,k,!k):Xn(e);return()=>{r()}}}),[n,y,x,d,N,R,w,k]),wn((()=>{if(n||!x)return;const e=kt(Ot(x));queueMicrotask((()=>{const t=P(x),r=j.current,n=("number"==typeof r?t[r]:r.current)||x,o=Nt(x,e);v||o||!g||vn(n,{preventScroll:n===x})}))}),[n,g,x,v,P,j]),wn((()=>{if(n||!x)return;let e=!1;const t=Ot(x),r=kt(t),o=m.current;function a(t){let{reason:r,event:n,nested:o}=t;"escape-key"===r&&f.domReference.current&&fo(f.domReference.current),"hover"===r&&"mouseleave"===n.type&&(S.current=!0),"outside-press"===r&&(o?(S.current=!1,e=!0):S.current=!(Et(n)||Rt(n)))}return fo(r),h.on("openchange",a),()=>{h.off("openchange",a);const r=kt(t),n=Nt(x,r)||E&&Hn(E.nodesRef.current,b).some((e=>{var t;return Nt(null==(t=e.context)?void 0:t.elements.floating,r)}));(n||o.openEvent&&["click","mousedown"].includes(o.openEvent.type))&&f.domReference.current&&fo(f.domReference.current);const s=bo();C.current&&!S.current&&ct(s)&&(s===r||r===t.body||n)&&vn(s,{cancelPrevious:!1,preventScroll:e})}}),[n,x,C,m,f,h,E,b]),wn((()=>{if(!n&&R)return R.setFocusManagerState({modal:d,closeOnFocusOut:u,open:g,onOpenChange:p,refs:f}),()=>{R.setFocusManagerState(null)}}),[n,R,d,g,p,f,u]),wn((()=>{if(n||!x||"function"!=typeof MutationObserver||v)return;const e=()=>{const e=x.getAttribute("tabindex");N.current.includes("floating")||kt(Ot(x))!==f.domReference.current&&0===M().length?"0"!==e&&x.setAttribute("tabindex","0"):"-1"!==e&&x.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(x,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[n,x,f,N,M,v]);const L=!n&&k&&(O||d);return o.createElement(o.Fragment,null,L&&o.createElement(so,{"data-type":"inside",ref:null==R?void 0:R.beforeInsideRef,onFocus:e=>{if(d){const e=P();vn("reference"===a[0]?e[0]:e[e.length-1])}else if(null!=R&&R.preserveTabOrder&&R.portalNode)if(S.current=!1,to(e,R.portalNode)){const e=Jn()||y;null==e||e.focus()}else{var t;null==(t=R.beforeOutsideRef.current)||t.focus()}}}),!w&&z("start"),r,z("end"),L&&o.createElement(so,{"data-type":"inside",ref:null==R?void 0:R.afterInsideRef,onFocus:e=>{if(d)vn(P()[0]);else if(null!=R&&R.preserveTabOrder&&R.portalNode)if(u&&(S.current=!0),to(e,R.portalNode)){const e=eo()||y;null==e||e.focus()}else{var t;null==(t=R.afterOutsideRef.current)||t.focus()}}}))}const mo=new Set,yo=o.forwardRef((function(e,t){let{lockScroll:r=!1,...n}=e;const a=On();return wn((()=>{if(!r)return;mo.add(a);const e=/iP(hone|ad|od)|iOS/.test(jt()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,s=t.left?parseFloat(t.left):window.pageXOffset,i=t.top?parseFloat(t.top):window.pageYOffset;if(t.overflow="hidden",o&&(t[n]=o+"px"),e){var l,d;const e=(null==(l=window.visualViewport)?void 0:l.offsetLeft)||0,r=(null==(d=window.visualViewport)?void 0:d.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(i-Math.floor(r))+"px",left:-(s-Math.floor(e))+"px",right:"0"})}return()=>{mo.delete(a),0===mo.size&&(Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(s,i)))}}),[a,r]),o.createElement("div",Tn({ref:t},n,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...n.style}}))}));function xo(e){return ct(e.target)&&"BUTTON"===e.target.tagName}function vo(e){return zt(e)}function wo(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,dataRef:a,elements:{domReference:s}}=e,{enabled:i=!0,event:l="click",toggle:d=!0,ignoreMouse:c=!1,keyboardHandlers:u=!0}=t,g=o.useRef(),f=o.useRef(!1);return o.useMemo((()=>i?{reference:{onPointerDown(e){g.current=e.pointerType},onMouseDown(e){0===e.button&&(Dt(g.current,!0)&&c||"click"!==l&&(!r||!d||a.current.openEvent&&"mousedown"!==a.current.openEvent.type?(e.preventDefault(),n(!0,e.nativeEvent,"click")):n(!1,e.nativeEvent,"click")))},onClick(e){"mousedown"===l&&g.current?g.current=void 0:Dt(g.current,!0)&&c||(!r||!d||a.current.openEvent&&"click"!==a.current.openEvent.type?n(!0,e.nativeEvent,"click"):n(!1,e.nativeEvent,"click"))},onKeyDown(e){g.current=void 0,e.defaultPrevented||!u||xo(e)||(" "!==e.key||vo(s)||(e.preventDefault(),f.current=!0),"Enter"===e.key&&n(!r||!d,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!u||xo(e)||vo(s)||" "===e.key&&f.current&&(f.current=!1,n(!r||!d,e.nativeEvent,"click"))}}}:{}),[i,a,l,c,u,s,d,r,n])}const ko={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},No={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},jo=e=>{var t,r;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(r=null==e?void 0:e.outsidePress)||r}};function Co(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,nodeId:a,elements:{reference:s,domReference:i,floating:l},dataRef:d}=e,{enabled:c=!0,escapeKey:u=!0,outsidePress:g=!0,outsidePressEvent:f="pointerdown",referencePress:b=!1,referencePressEvent:p="pointerdown",ancestorScroll:h=!1,bubbles:m,capture:y}=t,x=An(),v=on("function"==typeof g?g:()=>!1),w="function"==typeof g?v:g,k=o.useRef(!1),N=o.useRef(!1),{escapeKey:j,outsidePress:C}=jo(m),{escapeKey:E,outsidePress:R}=jo(y),T=on((e=>{if(!r||!c||!u||"Escape"!==e.key)return;const t=x?Hn(x.nodesRef.current,a):[];if(!j&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}n(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),I=on((e=>{var t;const r=()=>{var t;T(e),null==(t=Pt(e))||t.removeEventListener("keydown",r)};null==(t=Pt(e))||t.addEventListener("keydown",r)})),S=on((e=>{const t=k.current;k.current=!1;const r=N.current;if(N.current=!1,"click"===f&&r)return;if(t)return;if("function"==typeof w&&!w(e))return;const o=Pt(e),s="["+Fn("inert")+"]",d=Ot(l).querySelectorAll(s);let c=dt(o)?o:null;for(;c&&!ht(c);){const e=xt(c);if(ht(e)||!dt(e))break;c=e}if(d.length&&dt(o)&&!o.matches("html,body")&&!Nt(o,l)&&Array.from(d).every((e=>!Nt(c,e))))return;if(ct(o)&&l){const t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,r=o.clientHeight>0&&o.scrollHeight>o.clientHeight;let n=r&&e.offsetX>o.clientWidth;if(r){"rtl"===mt(o).direction&&(n=e.offsetX<=o.offsetWidth-o.clientWidth)}if(n||t&&e.offsetY>o.clientHeight)return}const u=x&&Hn(x.nodesRef.current,a).some((t=>{var r;return Mt(e,null==(r=t.context)?void 0:r.elements.floating)}));if(Mt(e,l)||Mt(e,i)||u)return;const g=x?Hn(x.nodesRef.current,a):[];if(g.length>0){let e=!0;if(g.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}n(!1,e,"outside-press")})),D=on((e=>{var t;const r=()=>{var t;S(e),null==(t=Pt(e))||t.removeEventListener(f,r)};null==(t=Pt(e))||t.addEventListener(f,r)}));return o.useEffect((()=>{if(!r||!c)return;function e(e){n(!1,e,"ancestor-scroll")}d.current.__escapeKeyBubbles=j,d.current.__outsidePressBubbles=C;const t=Ot(l);u&&t.addEventListener("keydown",E?I:T,E),w&&t.addEventListener(f,R?D:S,R);let o=[];return h&&(dt(i)&&(o=wt(i)),dt(l)&&(o=o.concat(wt(l))),!dt(s)&&s&&s.contextElement&&(o=o.concat(wt(s.contextElement)))),o=o.filter((e=>{var r;return e!==(null==(r=t.defaultView)?void 0:r.visualViewport)})),o.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),()=>{u&&t.removeEventListener("keydown",E?I:T,E),w&&t.removeEventListener(f,R?D:S,R),o.forEach((t=>{t.removeEventListener("scroll",e)}))}}),[d,l,i,s,u,w,f,r,n,h,c,j,C,T,E,I,S,R,D]),o.useEffect((()=>{k.current=!1}),[w,f]),o.useMemo((()=>c?{reference:{onKeyDown:T,[ko[p]]:e=>{b&&n(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:T,onMouseDown(){N.current=!0},onMouseUp(){N.current=!0},[No[f]]:()=>{k.current=!0}}}:{}),[c,b,f,p,n,T])}function Eo(e){var t;void 0===e&&(e={});const{open:r=!1,onOpenChange:n,nodeId:a}=e;const[s,i]=o.useState(null),l=(null==(t=e.elements)?void 0:t.reference)||s,d=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:s,floating:i}={},transform:l=!0,whileElementsMounted:d,open:c}=e,[u,g]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,b]=o.useState(n);Or(f,n)||b(n);const[p,h]=o.useState(null),[m,y]=o.useState(null),x=o.useCallback((e=>{e!==N.current&&(N.current=e,h(e))}),[]),v=o.useCallback((e=>{e!==j.current&&(j.current=e,y(e))}),[]),w=s||p,k=i||m,N=o.useRef(null),j=o.useRef(null),C=o.useRef(u),E=null!=d,R=zr(d),T=zr(a),I=o.useCallback((()=>{if(!N.current||!j.current)return;const e={placement:t,strategy:r,middleware:f};T.current&&(e.platform=T.current),Ir(N.current,j.current,e).then((e=>{const t={...e,isPositioned:!0};S.current&&!Or(C.current,t)&&(C.current=t,Sr.flushSync((()=>{g(t)})))}))}),[f,t,r,T]);Dr((()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,g((e=>({...e,isPositioned:!1}))))}),[c]);const S=o.useRef(!1);Dr((()=>(S.current=!0,()=>{S.current=!1})),[]),Dr((()=>{if(w&&(N.current=w),k&&(j.current=k),w&&k){if(R.current)return R.current(w,k,I);I()}}),[w,k,I,R,E]);const D=o.useMemo((()=>({reference:N,floating:j,setReference:x,setFloating:v})),[x,v]),O=o.useMemo((()=>({reference:w,floating:k})),[w,k]),M=o.useMemo((()=>{const e={position:r,left:0,top:0};if(!O.floating)return e;const t=Pr(O.floating,u.x),n=Pr(O.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...Mr(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,l,O.floating,u.x,u.y]);return o.useMemo((()=>({...u,update:I,refs:D,elements:O,floatingStyles:M})),[u,I,D,O,M])}(e),c=An(),u=null!=Ln(),g=on(((e,t,r)=>{e&&(b.current.openEvent=t),p.emit("openchange",{open:e,event:t,reason:r,nested:u}),null==n||n(e,t,r)})),f=o.useRef(null),b=o.useRef({}),p=o.useState((()=>Mn()))[0],h=On(),m=o.useCallback((e=>{const t=dt(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;d.refs.setReference(t)}),[d.refs]),y=o.useCallback((e=>{(dt(e)||null===e)&&(f.current=e,i(e)),(dt(d.refs.reference.current)||null===d.refs.reference.current||null!==e&&!dt(e))&&d.refs.setReference(e)}),[d.refs]),x=o.useMemo((()=>({...d.refs,setReference:y,setPositionReference:m,domReference:f})),[d.refs,y,m]),v=o.useMemo((()=>({...d.elements,domReference:l})),[d.elements,l]),w=o.useMemo((()=>({...d,refs:x,elements:v,dataRef:b,nodeId:a,floatingId:h,events:p,open:r,onOpenChange:g})),[d,a,h,p,r,g,x,v]);return wn((()=>{const e=null==c?void 0:c.nodesRef.current.find((e=>e.id===a));e&&(e.context=w)})),o.useMemo((()=>({...d,context:w,refs:x,elements:v})),[d,x,v,w])}const Ro="active",To="selected";function Io(e,t,r){const n=new Map,o="item"===r;let a=e;if(o&&e){const{[Ro]:t,[To]:r,...n}=e;a=n}return{..."floating"===r&&{tabIndex:-1},...a,...t.map((t=>{const n=t?t[r]:null;return"function"==typeof n?e?n(e):null:n})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[r,a]=t;var s;o&&[Ro,To].includes(r)||(0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof a&&(null==(s=n.get(r))||s.push(a),e[r]=function(){for(var e,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return null==(e=n.get(r))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[r]=a)})),e):e),{})}}function So(e){void 0===e&&(e=[]);const t=e,r=o.useCallback((t=>Io(t,e,"reference")),t),n=o.useCallback((t=>Io(t,e,"floating")),t),a=o.useCallback((t=>Io(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return o.useMemo((()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:a})),[r,n,a])}let Do=!1;function Oo(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function Mo(e,t){return Oo(t,e===an||e===sn,e===ln||e===dn)}function Po(e,t,r){return Oo(t,e===sn,r?e===ln:e===dn)||"Enter"===e||" "===e||""===e}function zo(e,t,r){return Oo(t,r?e===dn:e===ln,e===an)}function Lo(e,t){const{open:r,onOpenChange:n,refs:a,elements:{domReference:s,floating:i}}=e,{listRef:l,activeIndex:d,onNavigate:c=()=>{},enabled:u=!0,selectedIndex:g=null,allowEscape:f=!1,loop:b=!1,nested:p=!1,rtl:h=!1,virtual:m=!1,focusItemOnOpen:y="auto",focusItemOnHover:x=!0,openOnArrowKeyDown:v=!0,disabledIndices:w,orientation:k="vertical",cols:N=1,scrollItemIntoView:j=!0,virtualItemRef:C,itemSizes:E,dense:R=!1}=t;const T=Ln(),I=An(),S=on(c),D=o.useRef(y),O=o.useRef(null!=g?g:-1),M=o.useRef(null),P=o.useRef(!0),z=o.useRef(S),L=o.useRef(!!i),A=o.useRef(!1),F=o.useRef(!1),B=Bn(w),W=Bn(r),Y=Bn(j),[G,H]=o.useState(),[$,_]=o.useState(),K=on((function(e,t,r){void 0===r&&(r=!1);const n=e.current[t.current];n&&(m?(H(n.id),null==I||I.events.emit("virtualfocus",n),C&&(C.current=n)):vn(n,{preventScroll:!0,sync:!(!St()||!Tt())&&(Do||A.current)}),requestAnimationFrame((()=>{const e=Y.current;e&&n&&(r||!P.current)&&(null==n.scrollIntoView||n.scrollIntoView("boolean"==typeof e?{block:"nearest",inline:"nearest"}:e))})))}));wn((()=>{document.createElement("div").focus({get preventScroll(){return Do=!0,!1}})}),[]),wn((()=>{u&&(r&&i?D.current&&null!=g&&(F.current=!0,O.current=g,S(g)):L.current&&(O.current=-1,z.current(null)))}),[u,r,i,g,S]),wn((()=>{if(u&&r&&i)if(null==d){if(A.current=!1,null!=g)return;if(L.current&&(O.current=-1,K(l,O)),!L.current&&D.current&&(null!=M.current||!0===D.current&&null==M.current)){let e=0;const t=()=>{if(null==l.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else O.current=null==M.current||Po(M.current,k,h)||p?gn(l,B.current):fn(l,B.current),M.current=null,S(O.current)};t()}}else un(l,d)||(O.current=d,K(l,O,F.current),F.current=!1)}),[u,r,i,d,g,p,l,k,h,S,K,B]),wn((()=>{var e;if(!u||i||!I||m||!L.current)return;const t=I.nodesRef.current,r=null==(e=t.find((e=>e.id===T)))||null==(e=e.context)?void 0:e.elements.floating,n=kt(Ot(i)),o=t.some((e=>e.context&&Nt(e.context.elements.floating,n)));r&&!o&&P.current&&r.focus({preventScroll:!0})}),[u,i,I,T,m]),wn((()=>{if(u&&I&&m&&!T)return I.events.on("virtualfocus",e),()=>{I.events.off("virtualfocus",e)};function e(e){_(e.id),C&&(C.current=e)}}),[u,I,m,T,C]),wn((()=>{z.current=S,L.current=!!i})),wn((()=>{r||(M.current=null)}),[r]);const V=null!=d,U=o.useMemo((()=>{function e(e){if(!r)return;const t=l.current.indexOf(e);-1!==t&&S(t)}return{onFocus(t){let{currentTarget:r}=t;e(r)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...x&&{onMouseMove(t){let{currentTarget:r}=t;e(r)},onPointerLeave(e){let{pointerType:t}=e;P.current&&"touch"!==t&&(O.current=-1,K(l,O),S(null),m||vn(a.floating.current,{preventScroll:!0}))}}}}),[r,a,K,x,l,S,m]);return o.useMemo((()=>{if(!u)return{};const e=B.current;function t(t){if(P.current=!1,A.current=!0,!W.current&&t.currentTarget===a.floating.current)return;if(p&&zo(t.key,k,h))return Lt(t),n(!1,t.nativeEvent,"list-navigation"),void(ct(s)&&!m&&s.focus());const o=O.current,i=gn(l,e),d=fn(l,e);if("Home"===t.key&&(Lt(t),O.current=i,S(O.current)),"End"===t.key&&(Lt(t),O.current=d,S(O.current)),N>1){const r=E||Array.from({length:l.current.length},(()=>({width:1,height:1}))),n=hn(r,N,R),o=n.findIndex((t=>null!=t&&!(null!=e&&e.includes(t)))),a=n.reduce(((t,r,n)=>null==r||null!=e&&e.includes(r)?t:n),-1);if(O.current=n[pn({current:n.map((e=>null!=e?l.current[e]:null))},{event:t,orientation:k,loop:b,cols:N,disabledIndices:yn([...e||[],void 0],n),minIndex:o,maxIndex:a,prevIndex:mn(O.current,r,n,N,t.key===sn?"bl":t.key===dn?"tr":"tl"),stopEvent:!0})],S(O.current),"both"===k)return}if(Mo(t.key,k)){if(Lt(t),r&&!m&&kt(t.currentTarget.ownerDocument)===t.currentTarget)return O.current=Po(t.key,k,h)?i:d,void S(O.current);Po(t.key,k,h)?O.current=b?o>=d?f&&o!==l.current.length?-1:i:bn(l,{startingIndex:o,disabledIndices:e}):Math.min(d,bn(l,{startingIndex:o,disabledIndices:e})):O.current=b?o<=i?f&&-1!==o?l.current.length:d:bn(l,{startingIndex:o,decrement:!0,disabledIndices:e}):Math.max(i,bn(l,{startingIndex:o,decrement:!0,disabledIndices:e})),un(l,O.current)?S(null):S(O.current)}}function o(e){"auto"===y&&Et(e.nativeEvent)&&(D.current=!0)}const i=m&&r&&V&&{"aria-activedescendant":$||G},d=l.current.find((e=>(null==e?void 0:e.id)===G));return{reference:{...i,onKeyDown(o){P.current=!1;const a=0===o.key.indexOf("Arrow"),s=function(e,t,r){return Oo(t,r?e===ln:e===dn,e===sn)}(o.key,k,h),i=zo(o.key,k,h),c=Mo(o.key,k),u=(p?s:c)||"Enter"===o.key||""===o.key.trim();if(m&&r){const e=null==I?void 0:I.nodesRef.current.find((e=>null==e.parentId)),r=I&&e?function(e,t){let r,n=-1;return function t(o,a){a>n&&(r=o,n=a),Hn(e,o).forEach((e=>{t(e.id,a+1)}))}(t,0),e.find((e=>e.id===r))}(I.nodesRef.current,e.id):null;if(a&&r&&C){const e=new KeyboardEvent("keydown",{key:o.key,bubbles:!0});if(s||i){var f,b;const t=(null==(f=r.context)?void 0:f.elements.domReference)===o.currentTarget,n=i&&!t?null==(b=r.context)?void 0:b.elements.domReference:s?d:null;n&&(Lt(o),n.dispatchEvent(e),_(void 0))}var y;if(c&&r.context)if(r.context.open&&r.parentId&&o.currentTarget!==r.context.elements.domReference)return Lt(o),void(null==(y=r.context.elements.domReference)||y.dispatchEvent(e))}return t(o)}(r||v||!a)&&(u&&(M.current=p&&c?null:o.key),p?s&&(Lt(o),r?(O.current=gn(l,e),S(O.current)):n(!0,o.nativeEvent,"list-navigation")):c&&(null!=g&&(O.current=g),Lt(o),!r&&v?n(!0,o.nativeEvent,"list-navigation"):t(o),r&&S(O.current)))},onFocus(){r&&S(null)},onPointerDown:function(e){D.current=y,"auto"===y&&Rt(e.nativeEvent)&&(D.current=!0)},onMouseDown:o,onClick:o},floating:{"aria-orientation":"both"===k?void 0:k,...!At(s)&&i,onKeyDown:t,onPointerMove(){P.current=!0}},item:U}}),[s,a,G,$,B,W,l,u,k,h,m,r,V,p,g,v,f,N,b,y,S,n,U,I,C,E,R])}const Ao=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Fo(e,t){var r;void 0===t&&(t={});const{open:n,floatingId:a}=e,{enabled:s=!0,role:i="dialog"}=t,l=null!=(r=Ao.get(i))?r:i,d=On(),c=null!=Ln();return o.useMemo((()=>{if(!s)return{};const e={id:a,...l&&{role:l}};return"tooltip"===l||"label"===i?{reference:{["aria-"+("label"===i?"labelledby":"describedby")]:n?a:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":n?a:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:d},..."menu"===l&&c&&{role:"menuitem"},..."select"===i&&{"aria-autocomplete":"none"},..."combobox"===i&&{"aria-autocomplete":"list"}},floating:{...e,..."menu"===l&&{"aria-labelledby":d}},item(e){let{active:t,selected:r}=e;const n={role:"option",...t&&{id:a+"-option"}};switch(i){case"select":return{...n,"aria-selected":t&&r};case"combobox":return{...n,...t&&{"aria-selected":!0}}}return{}}}}),[s,i,l,n,a,d,c])}function Bo(e,t){const[r,n]=e;let o=!1;const a=t.length;for(let s=0,i=a-1;s<a;i=s++){const[e,a]=t[s]||[0,0],[l,d]=t[i]||[0,0];a>=n!=d>=n&&r<=(l-e)*(n-a)/(d-a)+e&&(o=!o)}return o}function Wo(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:r=!1,requireIntent:n=!0}=e;let o,a=!1,s=null,i=null,l=performance.now();const d=e=>{let{x:r,y:d,placement:c,elements:u,onClose:g,nodeId:f,tree:b}=e;return function(e){function p(){clearTimeout(o),g()}if(clearTimeout(o),!u.domReference||!u.floating||null==c||null==r||null==d)return;const{clientX:h,clientY:m}=e,y=[h,m],x=Pt(e),v="mouseleave"===e.type,w=Nt(u.floating,x),k=Nt(u.domReference,x),N=u.domReference.getBoundingClientRect(),j=u.floating.getBoundingClientRect(),C=c.split("-")[0],E=r>j.right-j.width/2,R=d>j.bottom-j.height/2,T=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(y,N),I=j.width>N.width,S=j.height>N.height,D=(I?N:j).left,O=(I?N:j).right,M=(S?N:j).top,P=(S?N:j).bottom;if(w&&(a=!0,!v))return;if(k&&(a=!1),k&&!v)return void(a=!0);if(v&&dt(e.relatedTarget)&&Nt(u.floating,e.relatedTarget))return;if(b&&Hn(b.nodesRef.current,f).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===C&&d>=N.bottom-1||"bottom"===C&&d<=N.top+1||"left"===C&&r>=N.right-1||"right"===C&&r<=N.left+1)return p();let z=[];switch(C){case"top":z=[[D,N.top+1],[D,j.bottom-1],[O,j.bottom-1],[O,N.top+1]];break;case"bottom":z=[[D,j.top+1],[D,N.bottom-1],[O,N.bottom-1],[O,j.top+1]];break;case"left":z=[[j.right-1,P],[j.right-1,M],[N.left+1,M],[N.left+1,P]];break;case"right":z=[[N.right-1,P],[N.right-1,M],[j.left+1,M],[j.left+1,P]]}if(!Bo([h,m],z)){if(a&&!T)return p();if(!v&&n){const t=function(e,t){const r=performance.now(),n=r-l;if(null===s||null===i||0===n)return s=e,i=t,l=r,null;const o=e-s,a=t-i,d=Math.sqrt(o*o+a*a);return s=e,i=t,l=r,d/n}(e.clientX,e.clientY);if(null!==t&&t<.1)return p()}Bo([h,m],function(e){let[r,n]=e;switch(C){case"top":return[[I?r+t/2:E?r+4*t:r-4*t,n+t+1],[I?r-t/2:E?r+4*t:r-4*t,n+t+1],...[[j.left,E||I?j.bottom-t:j.top],[j.right,E?I?j.bottom-t:j.top:j.bottom-t]]];case"bottom":return[[I?r+t/2:E?r+4*t:r-4*t,n-t],[I?r-t/2:E?r+4*t:r-4*t,n-t],...[[j.left,E||I?j.top+t:j.bottom],[j.right,E?I?j.top+t:j.bottom:j.top+t]]];case"left":{const e=[r+t+1,S?n+t/2:R?n+4*t:n-4*t],o=[r+t+1,S?n-t/2:R?n+4*t:n-4*t];return[...[[R||S?j.right-t:j.left,j.top],[R?S?j.right-t:j.left:j.right-t,j.bottom]],e,o]}case"right":return[[r-t,S?n+t/2:R?n+4*t:n-4*t],[r-t,S?n-t/2:R?n+4*t:n-4*t],...[[R||S?j.left+t:j.right,j.top],[R?S?j.left+t:j.right:j.left+t,j.bottom]]]}}([r,d]))?!a&&n&&(o=window.setTimeout(p,40)):p()}}};return d.__options={blockPointerEvents:r},d}const Yo=({arrowRef:e,placement:t})=>{const r=[];var n;return r.push(lr(8)),r.push("auto"===t?Cr():Rr()),r.push(Er({padding:8})),e?.current&&r.push({name:"arrow",options:n={element:e.current},fn(e){const{element:t,padding:r}="function"==typeof n?n(e):n;return t&&(o=t,{}.hasOwnProperty.call(o,"current"))?null!=t.current?Tr({element:t.current,padding:r}).fn(e):{}:t?Tr({element:t,padding:r}).fn(e):{};var o}}),r},Go=({placement:e})=>"auto"===e?void 0:e,Ho=({placement:e})=>({top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]]),$o=({open:e,arrowRef:t,placement:r="top",setOpen:n})=>Eo({placement:Go({placement:r}),open:e,onOpenChange:n,whileElementsMounted:jr,middleware:Yo({placement:r,arrowRef:t})}),_o=({context:e,trigger:t,role:r="tooltip",interactions:n=[]})=>So([wo(e,{enabled:"click"===t}),Gn(e,{enabled:"hover"===t,handleClose:Wo()}),Co(e),Fo(e,{role:r}),...n]),Ko=(0,o.createContext)(void 0);function Vo(){const e=(0,o.useContext)(Ko);if(!e)throw new Error("useDropdownContext should be used within the DropdownContext provider!");return e}const Uo=({className:e,theme:t={},...r})=>{const{theme:o}=Vo(),a=t.divider??o.floating.divider;return(0,n.jsx)("div",{className:U(a,e),...r})},qo=({children:e,className:t,theme:r={},...o})=>{const{theme:a}=Vo(),s=r.header??a.floating.header;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:U(s,t),...o,children:e}),(0,n.jsx)(Uo,{})]})},Xo=(0,o.forwardRef)((({children:e,className:t,icon:r,onClick:o,theme:a={},...s},i)=>{const{ref:l,index:d}=Cn({label:"string"==typeof e?e:void 0}),c=rn([i,l]),{theme:u,activeIndex:g,dismissOnClick:f,getItemProps:b,handleSelect:p}=Vo(),h=g===d,m=Z(u.floating.item,a),y=s;return(0,n.jsx)("li",{role:"menuitem",className:m.container,children:(0,n.jsxs)(fe,{ref:c,className:U(m.base,t),...y,...b({onClick:()=>{o?.(),f&&p(null)}}),tabIndex:h?0:-1,children:[r&&(0,n.jsx)(r,{className:m.icon}),e]})})}));Xo.displayName="DropdownItem";const Zo={top:s.cQk,right:s.ngD,bottom:s.zKo,left:s.Y48},Qo=({refs:e,children:t,inline:r,theme:a,disabled:s,setButtonWidth:i,getReferenceProps:l,renderTrigger:d,...c})=>{const u=e.reference,g=l();if((0,o.useEffect)((()=>{u.current&&i?.(u.current.clientWidth)}),[u,i]),d){const t=d(a);return(0,o.cloneElement)(t,{ref:e.setReference,disabled:s,...g,...t.props})}return r?(0,n.jsx)("button",{type:"button",ref:e.setReference,className:a?.inlineWrapper,disabled:s,...g,children:t}):(0,n.jsx)(ye,{...c,disabled:s,type:"button",ref:e.setReference,...g,children:t})},Jo=({children:e,className:t,dismissOnClick:r=!0,theme:a={},renderTrigger:i,...l})=>{const[d,c]=(0,o.useState)(!1),[u,g]=(0,o.useState)(null),[f,b]=(0,o.useState)(null),[p,h]=(0,o.useState)(void 0),m=(0,o.useRef)([]),y=(0,o.useRef)([]),x=Z(te().dropdown,a),v=l,w=l["data-testid"]||"flowbite-dropdown-target",{placement:k=(l.inline?"bottom-start":"bottom"),trigger:N="click",label:j,inline:C,arrowIcon:E=!0,...R}=v,T=(0,o.useCallback)((e=>{b(e),c(!1)}),[]),I=(0,o.useCallback)((e=>{d?g(e):T(e)}),[d,T]),{context:S,floatingStyles:D,refs:O}=$o({open:d,setOpen:c,placement:k}),M=Lo(S,{listRef:m,activeIndex:u,selectedIndex:f,onNavigate:g}),P=function(e,t){var r;const{open:n,dataRef:a}=e,{listRef:s,activeIndex:i,onMatch:l,onTypingChange:d,enabled:c=!0,findMatch:u=null,resetMs:g=750,ignoreKeys:f=[],selectedIndex:b=null}=t,p=o.useRef(),h=o.useRef(""),m=o.useRef(null!=(r=null!=b?b:i)?r:-1),y=o.useRef(null),x=on(l),v=on(d),w=Bn(u),k=Bn(f);return wn((()=>{n&&(clearTimeout(p.current),y.current=null,h.current="")}),[n]),wn((()=>{var e;n&&""===h.current&&(m.current=null!=(e=null!=b?b:i)?e:-1)}),[n,b,i]),o.useMemo((()=>{if(!c)return{};function e(e){e?a.current.typing||(a.current.typing=e,v(e)):a.current.typing&&(a.current.typing=e,v(e))}function t(e,t,r){const n=w.current?w.current(t,r):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(r.toLocaleLowerCase()))));return n?e.indexOf(n):-1}function r(r){const o=s.current;if(h.current.length>0&&" "!==h.current[0]&&(-1===t(o,o,h.current)?e(!1):" "===r.key&&Lt(r)),null==o||k.current.includes(r.key)||1!==r.key.length||r.ctrlKey||r.metaKey||r.altKey)return;n&&" "!==r.key&&(Lt(r),e(!0)),o.every((e=>{var t,r;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(r=e[1])?void 0:r.toLocaleLowerCase())}))&&h.current===r.key&&(h.current="",m.current=y.current),h.current+=r.key,clearTimeout(p.current),p.current=setTimeout((()=>{h.current="",m.current=y.current,e(!1)}),g);const a=m.current,i=t(o,[...o.slice((a||0)+1),...o.slice(0,(a||0)+1)],h.current);-1!==i?(x(i),y.current=i):" "!==r.key&&(h.current="",e(!1))}return{reference:{onKeyDown:r},floating:{onKeyDown:r,onKeyUp(t){" "===t.key&&e(!1)}}}}),[c,n,a,s,g,k,w,x,v])}(S,{listRef:y,activeIndex:u,selectedIndex:f,onMatch:I}),{getReferenceProps:z,getFloatingProps:L,getItemProps:A}=_o({context:S,role:"menu",trigger:N,interactions:[M,P]}),F=(0,o.useMemo)((()=>{const[e]=k.split("-");return Zo[e]??s.zKo}),[k]);return(0,n.jsxs)(Ko.Provider,{value:{theme:x,activeIndex:u,dismissOnClick:r,getItemProps:A,handleSelect:T},children:[(0,n.jsxs)(Qo,{...R,refs:O,inline:C,theme:x,"data-testid":w,className:U(x.floating.target,R.className),setButtonWidth:h,getReferenceProps:z,renderTrigger:i,children:[j,E&&(0,n.jsx)(F,{className:x.arrowIcon})]}),d&&(0,n.jsx)(ho,{context:S,modal:!1,children:(0,n.jsx)("div",{ref:O.setFloating,style:{...D,minWidth:p},"data-testid":"flowbite-dropdown","aria-expanded":d,...L({className:U(x.floating.base,x.floating.animation,"duration-100",!d&&x.floating.hidden,x.floating.style.auto,t)}),children:(0,n.jsx)(jn,{elementsRef:m,labelsRef:y,children:(0,n.jsx)("ul",{className:x.content,tabIndex:-1,children:e})})})})]})};Jo.displayName="Dropdown",qo.displayName="Dropdown.Header",Uo.displayName="Dropdown.Divider";Object.assign(Jo,{Item:Xo,Header:qo,Divider:Uo});const ea=(0,o.forwardRef)((({className:e,color:t="gray",helperText:r,sizing:o="md",theme:a={},...s},i)=>{const l=Z(te().fileInput,a);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:U(l.root.base,e),children:(0,n.jsx)("div",{className:l.field.base,children:(0,n.jsx)("input",{className:U(l.field.input.base,l.field.input.colors[t],l.field.input.sizes[o]),...s,type:"file",ref:i})})}),r&&(0,n.jsx)(Ge,{color:t,children:r})]})}));ea.displayName="FileInput";const ta=(0,o.forwardRef)((({label:e,helperText:t,color:r="default",sizing:a="md",variant:s,disabled:i=!1,theme:l={},className:d,...c},u)=>{const g=(0,o.useId)(),f=Z(te().floatingLabel,l);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:U("relative","standard"===s?"z-0":""),children:[(0,n.jsx)("input",{type:"text",id:c.id?c.id:"floatingLabel"+g,"aria-describedby":"outlined_success_help",className:U(f.input[r][s][a],d),placeholder:" ","data-testid":"floating-label",disabled:i,...c,ref:u}),(0,n.jsx)("label",{htmlFor:c.id?c.id:"floatingLabel"+g,className:U(f.label[r][s][a],d),children:e})]}),(0,n.jsx)("p",{id:"outlined_helper_text"+g,className:U(f.helperText[r],d),children:t})]})}));ta.displayName="FloatingLabel";const ra=({alt:e,className:t,children:r,href:o,name:a,src:s,theme:i={},...l})=>{const d=Z(te().footer.brand,i);return(0,n.jsx)("div",{children:o?(0,n.jsxs)("a",{"data-testid":"flowbite-footer-brand",href:o,className:U(d.base,t),...l,children:[(0,n.jsx)("img",{alt:e,src:s,className:d.img}),(0,n.jsx)("span",{"data-testid":"flowbite-footer-brand-span",className:d.span,children:a}),r]}):(0,n.jsx)("img",{alt:e,"data-testid":"flowbite-footer-brand",src:s,className:U(d.img,t),...l})})},na=({by:e,className:t,href:r,theme:o={},year:a,...s})=>{const i=Z(te().footer.copyright,o);return(0,n.jsxs)("div",{"data-testid":"flowbite-footer-copyright",className:U(i.base,t),...s,children:["© ",a,r?(0,n.jsx)("a",{href:r,className:i.href,children:e}):(0,n.jsx)("span",{"data-testid":"flowbite-footer-copyright-span",className:i.span,children:e})]})},oa=({className:e,theme:t={},...r})=>{const o=Z(te().footer.divider,t);return(0,n.jsx)("hr",{"data-testid":"footer-divider",className:U(o.base,e),...r})},aa=({ariaLabel:e,className:t,href:r,icon:o,theme:a={},...s})=>{const i=Z(te().footer.icon,a);return(0,n.jsx)("div",{children:r?(0,n.jsx)("a",{"aria-label":e,"data-testid":"flowbite-footer-icon",href:r,className:U(i.base,t),...s,children:(0,n.jsx)(o,{className:i.size})}):(0,n.jsx)(o,{"data-testid":"flowbite-footer-icon",className:i.size,...s})})},sa=({as:e="a",children:t,className:r,href:o,theme:a={},...s})=>{const i=Z(te().footer.groupLink.link,a);return(0,n.jsx)("li",{className:U(i.base,r),children:(0,n.jsx)(e,{href:o,className:i.href,...s,children:t})})},ia=({children:e,className:t,col:r=!1,theme:o={},...a})=>{const s=Z(te().footer.groupLink,o);return(0,n.jsx)("ul",{"data-testid":"footer-groupLink",className:U(s.base,r&&s.col,t),...a,children:e})},la=({as:e="h2",className:t,theme:r={},title:o,...a})=>{const s=Z(te().footer.title,r);return(0,n.jsx)(e,{"data-testid":"flowbite-footer-title",className:U(s.base,t),...a,children:o})},da=({bgDark:e=!1,children:t,className:r,container:o=!1,theme:a={},...s})=>{const i=Z(te().footer,a);return(0,n.jsx)("footer",{"data-testid":"flowbite-footer",className:U(i.root.base,e&&i.root.bgDark,o&&i.root.container,r),...s,children:t})};da.displayName="Footer",na.displayName="Footer.Copyright",sa.displayName="Footer.Link",ra.displayName="Footer.Brand",ia.displayName="Footer.LinkGroup",aa.displayName="Footer.Icon",la.displayName="Footer.Title",oa.displayName="Footer.Divider";Object.assign(da,{Copyright:na,Link:sa,LinkGroup:ia,Brand:ra,Icon:aa,Title:la,Divider:oa});const ca=({children:e,className:t,icon:r,theme:o={},...a})=>{const s=Z(te().list.item,o);return(0,n.jsxs)("li",{className:U(s.withIcon[r?"on":"off"],t),...a,children:[r&&(0,n.jsx)(r,{className:U(s.icon)}),e]})},ua=({children:e,className:t,unstyled:r,nested:o,ordered:a,horizontal:s,theme:i={},...l})=>{const d=Z(te().list,i),c=a?"ol":"ul";return(0,n.jsx)(c,{className:U(d.root.base,d.root.ordered[a?"on":"off"],r&&d.root.unstyled,o&&d.root.nested,s&&d.root.horizontal,t),...l,children:e})};ua.displayName="List",ca.displayName="List.Item";Object.assign(ua,{Item:ca});const ga=({active:e,children:t,className:r,href:o,icon:a,onClick:s,theme:i={},disabled:l,...d})=>{const c=Z(te().listGroup.item,i),u=void 0!==o,g=u?"a":"button";return(0,n.jsx)("li",{className:U(c.base,r),children:(0,n.jsxs)(g,{href:o,onClick:s,type:u?void 0:"button",disabled:l,className:U(c.link.active[e?"on":"off"],c.link.disabled[l?"on":"off"],c.link.base,c.link.href[u?"on":"off"]),...d,children:[a&&(0,n.jsx)(a,{"aria-hidden":!0,"data-testid":"flowbite-list-group-item-icon",className:c.link.icon}),t]})})},fa=({children:e,className:t,theme:r={},...o})=>{const a=Z(te().listGroup,r);return(0,n.jsx)("ul",{className:U(a.root.base,t),...o,children:e})};fa.displayName="ListGroup",ga.displayName="ListGroup.Item";Object.assign(fa,{Item:ga});const ba=(0,o.createContext)(void 0);function pa(){const e=(0,o.useContext)(ba);if(!e)throw new Error("useModalContext should be used within the ModalContext provider!");return e}const ha=({children:e,className:t,theme:r={},...o})=>{const{theme:a,popup:s}=pa(),i=Z(a.body,r);return(0,n.jsx)("div",{className:U(i.base,s&&[i.popup],t),...o,children:e})},ma=({children:e,className:t,theme:r={},...o})=>{const{theme:a,popup:s}=pa(),i=Z(a.footer,r);return(0,n.jsx)("div",{className:U(i.base,!s&&i.popup,t),...o,children:e})},ya=({as:e="h3",children:t,className:r,theme:a={},id:i,...l})=>{const d=(0,o.useId)(),c=i||d,{theme:u,popup:g,onClose:f,setHeaderId:b}=pa(),p=Z(u.header,a);return(0,o.useLayoutEffect)((()=>(b(c),()=>b(void 0))),[c,b]),(0,n.jsxs)("div",{className:U(p.base,g&&p.popup,r),...l,children:[(0,n.jsx)(e,{id:c,className:p.title,children:t}),(0,n.jsx)("button",{"aria-label":"Close",className:p.close.base,type:"button",onClick:f,children:(0,n.jsx)(s.Mz4,{"aria-hidden":!0,className:p.close.icon})})]})},xa=(0,o.forwardRef)((({children:e,className:t,dismissible:r=!1,onClose:a,popup:s,position:i="center",root:l,show:d,size:c="2xl",theme:u={},initialFocus:g,...f},b)=>{const[p,h]=(0,o.useState)(void 0),m=Z(te().modal,u),{context:y}=Eo({open:d,onOpenChange:()=>a&&a()}),x=rn([y.refs.setFloating,b]),v=wo(y),w=Co(y,{outsidePressEvent:"mousedown",enabled:r}),k=Fo(y),{getFloatingProps:N}=So([v,w,k]);return d?(0,n.jsx)(ba.Provider,{value:{theme:m,popup:s,onClose:a,setHeaderId:h},children:(0,n.jsx)(co,{root:l,children:(0,n.jsx)(yo,{lockScroll:!0,"data-testid":"modal-overlay",className:U(m.root.base,m.root.positions[i],d?m.root.show.on:m.root.show.off,t),...f,children:(0,n.jsx)(ho,{context:y,initialFocus:g,children:(0,n.jsx)("div",{ref:x,...N(f),"aria-labelledby":p,className:U(m.content.base,m.root.sizes[c]),children:(0,n.jsx)("div",{className:m.content.inner,children:e})})})})})}):null}));xa.displayName="Modal",ya.displayName="Modal.Header",ha.displayName="Modal.Body",ma.displayName="Modal.Footer";Object.assign(xa,{Header:ya,Body:ha,Footer:ma});const va=(0,o.createContext)(void 0);function wa(){const e=(0,o.useContext)(va);if(!e)throw new Error("useNavBarContext should be used within the NavbarContext provider!");return e}const ka=({as:e="a",children:t,className:r,theme:o={},...a})=>{const{theme:s}=wa(),i=Z(s.brand,o);return(0,n.jsx)(e,{className:U(i.base,r),...a,children:t})},Na=({children:e,className:t,theme:r={},...o})=>{const{theme:a,isOpen:s}=wa(),i=Z(a.collapse,r);return(0,n.jsx)("div",{"data-testid":"flowbite-navbar-collapse",className:U(i.base,i.hidden[s?"off":"on"],t),...o,children:(0,n.jsx)("ul",{className:i.list,children:e})})},ja=({active:e,as:t="a",disabled:r,children:o,className:a,theme:s={},onClick:i,...l})=>{const{theme:d,setIsOpen:c}=wa(),u=Z(d.link,s);return(0,n.jsx)("li",{children:(0,n.jsx)(t,{className:U(u.base,e&&u.active.on,!e&&!r&&u.active.off,u.disabled[r?"on":"off"],a),onClick:e=>{c(!1),i?.(e)},...l,children:o})})};var Ca=r(8027);const Ea=({barIcon:e=Ca.OXb,className:t,theme:r={},...o})=>{const{theme:a,isOpen:s,setIsOpen:i}=wa(),l=Z(a.toggle,r);return(0,n.jsxs)("button",{"data-testid":"flowbite-navbar-toggle",onClick:()=>{i(!s)},className:U(l.base,t),...o,children:[(0,n.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,n.jsx)(e,{"aria-hidden":!0,className:l.icon})]})},Ra=({border:e,children:t,className:r,fluid:a=!1,menuOpen:s,rounded:i,theme:l={},...d})=>{const[c,u]=(0,o.useState)(s),g=Z(te().navbar,l);return(0,n.jsx)(va.Provider,{value:{theme:g,isOpen:c,setIsOpen:u},children:(0,n.jsx)("nav",{className:U(g.root.base,g.root.bordered[e?"on":"off"],g.root.rounded[i?"on":"off"],r),...d,children:(0,n.jsx)("div",{className:U(g.root.inner.base,g.root.inner.fluid[a?"on":"off"]),children:t})})})};Ra.displayName="Navbar",ka.displayName="Navbar.Brand",Na.displayName="Navbar.Collapse",ja.displayName="Navbar.Link",Ea.displayName="Navbar.Toggle";Object.assign(Ra,{Brand:ka,Collapse:Na,Link:ja,Toggle:Ea});const Ta=({active:e,children:t,className:r,onClick:o,theme:a={},...s})=>{const i=Z(te().pagination,a);return(0,n.jsx)("button",{type:"button",className:U(e&&i.pages.selector.active,r),onClick:o,...s,children:t})};Ta.displayName="Pagination.Button";const Ia=({children:e,className:t,onClick:r,theme:o={},disabled:a=!1,...s})=>{const i=Z(te().pagination,o);return(0,n.jsx)("button",{type:"button",className:U(a&&i.pages.selector.disabled,t),disabled:a,onClick:r,...s,children:e})};Ia.displayName="Pagination.Navigation";const Sa=({className:e,currentPage:t,layout:r="pagination",nextLabel:o="Next",onPageChange:a,previousLabel:i="Previous",renderPaginationButton:l=e=>(0,n.jsx)(Ta,{...e}),showIcons:d=!1,theme:c={},totalPages:u,...g})=>{const f=Z(te().pagination,c),b=Math.min(Math.max("pagination"===r?t+2:t+4,5),u),p=Math.max(1,b-4);return(0,n.jsxs)("nav",{className:U(f.base,e),...g,children:["table"===r&&(0,n.jsxs)("div",{className:f.layout.table.base,children:["Showing ",(0,n.jsx)("span",{className:f.layout.table.span,children:p})," to ",(0,n.jsx)("span",{className:f.layout.table.span,children:b})," of ",(0,n.jsx)("span",{className:f.layout.table.span,children:u})," Entries"]}),(0,n.jsxs)("ul",{className:f.pages.base,children:[(0,n.jsx)("li",{children:(0,n.jsxs)(Ia,{className:U(f.pages.previous.base,d&&f.pages.showIcon),onClick:()=>{a(Math.max(t-1,1))},disabled:1===t,children:[d&&(0,n.jsx)(s.UZh,{"aria-hidden":!0,className:f.pages.previous.icon}),i]})}),"pagination"===r&&(h=p,m=b,h>=m?[]:[...Array(m-h+1).keys()].map((e=>e+h))).map((e=>(0,n.jsx)("li",{"aria-current":e===t?"page":void 0,children:l({className:U(f.pages.selector.base,t===e&&f.pages.selector.active),active:e===t,onClick:()=>a(e),children:e})},e))),(0,n.jsx)("li",{children:(0,n.jsxs)(Ia,{className:U(f.pages.next.base,d&&f.pages.showIcon),onClick:()=>{a(Math.min(t+1,u))},disabled:t===u,children:[o,d&&(0,n.jsx)(s.huF,{"aria-hidden":!0,className:f.pages.next.icon})]})})]})]});var h,m};Sa.displayName="Pagination";Object.assign(Sa,{Button:Ta});const Da=(0,o.forwardRef)((({className:e,theme:t={},...r},o)=>{const a=Z(te().radio,t);return(0,n.jsx)("input",{ref:o,type:"radio",className:U(a.root.base,e),...r})}));Da.displayName="Radio";const Oa=(0,o.forwardRef)((({className:e,sizing:t="md",theme:r={},...o},a)=>{const s=Z(te().rangeSlider,r);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{"data-testid":"flowbite-range-slider",className:U(s.root.base,e),children:(0,n.jsx)("div",{className:s.field.base,children:(0,n.jsx)("input",{ref:a,type:"range",className:U(s.field.input.base,s.field.input.sizes[t]),...o})})})})}));Oa.displayName="RangeSlider";const Ma=({children:e,className:t,percentFilled:r=0,theme:o={},...a})=>{const s=Z(te().ratingAdvanced,o);return(0,n.jsxs)("div",{className:U(s.base,t),...a,children:[(0,n.jsx)("span",{className:s.label,children:e}),(0,n.jsx)("div",{className:s.progress.base,children:(0,n.jsx)("div",{className:s.progress.fill,"data-testid":"flowbite-rating-fill",style:{width:`${r}%`}})}),(0,n.jsx)("span",{className:s.progress.label,children:`${r}%`})]})},Pa=(0,o.createContext)(void 0);const za=({className:e,filled:t=!0,starIcon:r=s.K7t,theme:a={},...i})=>{const{theme:l,size:d="sm"}=function(){const e=(0,o.useContext)(Pa);if(!e)throw new Error("useRatingContext should be used within the RatingContext provider!");return e}(),c=Z(l.star,a);return(0,n.jsx)(r,{"data-testid":"flowbite-rating-star",className:U(c.sizes[d],c[t?"filled":"empty"],e),...i})},La=({children:e,className:t,size:r="sm",theme:o={},...a})=>{const s=Z(te().rating,o);return(0,n.jsx)(Pa.Provider,{value:{theme:s,size:r},children:(0,n.jsx)("div",{className:U(s.root.base,t),...a,children:e})})};La.displayName="Rating",za.displayName="Rating.Star",Ma.displayName="Rating.Advanced";Object.assign(La,{Star:za,Advanced:Ma});const Aa=(0,o.forwardRef)((({addon:e,children:t,className:r,color:o="gray",helperText:a,icon:s,shadow:i,sizing:l="md",theme:d={},...c},u)=>{const g=Z(te().select,d);return(0,n.jsxs)("div",{className:U(g.base,r),children:[e&&(0,n.jsx)("span",{className:g.addon,children:e}),(0,n.jsxs)("div",{className:g.field.base,children:[s&&(0,n.jsx)("div",{className:g.field.icon.base,children:(0,n.jsx)(s,{className:g.field.icon.svg})}),(0,n.jsx)("select",{className:U(g.field.select.base,g.field.select.colors[o],g.field.select.sizes[l],g.field.select.withIcon[s?"on":"off"],g.field.select.withAddon[e?"on":"off"],g.field.select.withShadow[i?"on":"off"]),...c,ref:u,children:t}),a&&(0,n.jsx)(Ge,{color:o,children:a})]})]})}));Aa.displayName="Select";const Fa=({animation:e="duration-300",arrow:t=!0,children:r,className:a,content:s,placement:i="top",style:l="dark",theme:d,trigger:c="hover",minWidth:u,...g})=>{const f=(0,o.useRef)(null),[b,p]=(0,o.useState)(!1),h=$o({open:b,placement:i,arrowRef:f,setOpen:p}),{context:m,middlewareData:{arrow:{x:y,y:x}={}},refs:v,strategy:w,update:k,x:N,y:j}=h,C=function(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,events:a,refs:s,elements:{domReference:i}}=e,{enabled:l=!0,visibleOnly:d=!0}=t,c=o.useRef(!1),u=o.useRef(),g=o.useRef(!0);return o.useEffect((()=>{if(!l)return;const e=st(i);function t(){!r&&ct(i)&&i===kt(Ot(i))&&(c.current=!0)}function n(){g.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",n,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",n,!0)}}),[i,r,l]),o.useEffect((()=>{if(l)return a.on("openchange",e),()=>{a.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(c.current=!0)}}),[a,l]),o.useEffect((()=>()=>{clearTimeout(u.current)}),[]),o.useMemo((()=>l?{reference:{onPointerDown(e){Rt(e.nativeEvent)||(g.current=!1)},onMouseLeave(){c.current=!1},onFocus(e){if(c.current)return;const t=Pt(e.nativeEvent);if(d&&dt(t))try{if(Tt()&&St())throw Error();if(!t.matches(":focus-visible"))return}catch(r){if(!g.current&&!zt(t))return}n(!0,e.nativeEvent,"focus")},onBlur(e){c.current=!1;const t=e.relatedTarget,r=dt(t)&&t.hasAttribute(Fn("focus-guard"))&&"outside"===t.getAttribute("data-type");u.current=window.setTimeout((()=>{const o=kt(i?i.ownerDocument:document);(t||o!==i)&&(Nt(s.floating.current,o)||Nt(i,o)||r||n(!1,e.nativeEvent,"focus"))}))}}}:{}),[l,d,i,s,n])}(m),{getFloatingProps:E,getReferenceProps:R}=_o({context:m,role:"tooltip",trigger:c,interactions:[C]});return(0,o.useEffect)((()=>{if(v.reference.current&&v.floating.current&&b)return jr(v.reference.current,v.floating.current,k)}),[b,v.floating,v.reference,k]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:v.setReference,className:d.target,"data-testid":"flowbite-tooltip-target",...R(),children:r}),(0,n.jsxs)("div",{ref:v.setFloating,"data-testid":"flowbite-tooltip",...E({className:U(d.base,e&&`${d.animation} ${e}`,!b&&d.hidden,d.style[l],a),style:{position:w,top:j??" ",left:N??" ",minWidth:u},...g}),children:[(0,n.jsx)("div",{className:d.content,children:s}),t&&(0,n.jsx)("div",{className:U(d.arrow.base,"dark"===l&&d.arrow.style.dark,"light"===l&&d.arrow.style.light,"auto"===l&&d.arrow.style.auto),"data-testid":"flowbite-tooltip-arrow",ref:f,style:{top:x??" ",left:y??" ",right:" ",bottom:" ",[Ho({placement:h.placement})]:d.arrow.placement},children:" "})]})]})},Ba=({animation:e="duration-300",arrow:t=!0,children:r,className:o,content:a,placement:s="top",style:i="dark",theme:l={},trigger:d="hover",...c})=>{const u=Z(te().tooltip,l);return(0,n.jsx)(Fa,{animation:e,arrow:t,content:a,placement:s,style:i,theme:u,trigger:d,className:o,...c,children:r})};Ba.displayName="Tooltip";const Wa=(0,o.createContext)(void 0);function Ya(){const e=(0,o.useContext)(Wa);if(!e)throw new Error("useSidebarContext should be used within the SidebarContext provider!");return e}const Ga=(0,o.createContext)(void 0);const Ha=({children:e,className:t,icon:r,label:a,chevronIcon:i=s.bv7,renderChevronIcon:l,open:d=!1,theme:c={},...u})=>{const g=(0,o.useId)(),[f,b]=(0,o.useState)(d),{theme:p,isCollapsed:h}=Ya(),m=Z(p.collapse,c);(0,o.useEffect)((()=>b(d)),[d]);const y=({children:e})=>(0,n.jsx)("li",{children:h&&!f?(0,n.jsx)(Ba,{content:a,placement:"right",children:e}):e});return(0,n.jsxs)(y,{children:[(0,n.jsxs)("button",{id:`flowbite-sidebar-collapse-${g}`,onClick:()=>b(!f),title:a,type:"button",className:U(m.button,t),...u,children:[r&&(0,n.jsx)(r,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-collapse-icon",className:U(m.icon.base,m.icon.open[f?"on":"off"])}),h?(0,n.jsx)("span",{className:"sr-only",children:a}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{"data-testid":"flowbite-sidebar-collapse-label",className:m.label.base,children:a}),l?l(m,f):(0,n.jsx)(i,{"aria-hidden":!0,className:U(m.label.icon.base,m.label.icon.open[f?"on":"off"])})]})]}),(0,n.jsx)("ul",{"aria-labelledby":`flowbite-sidebar-collapse-${g}`,hidden:!f,className:m.list,children:(0,n.jsx)(Ga.Provider,{value:{isInsideCollapse:!0},children:e})})]})};Ha.displayName="Sidebar.Collapse";const $a=({children:e,color:t="info",className:r,theme:o={},...a})=>{const{theme:s,isCollapsed:i}=Ya(),l=Z(s.cta,o);return(0,n.jsx)("div",{"data-testid":"sidebar-cta",hidden:i,className:U(l.base,l.color[t],r),...a,children:e})};$a.displayName="Sidebar.CTA";const _a=({id:e,theme:t,isCollapsed:r,tooltipChildren:o,children:a,...s})=>(0,n.jsx)("li",{...s,children:r?(0,n.jsx)(Ba,{content:(0,n.jsx)(Ka,{id:e,theme:t,children:o}),placement:"right",children:a}):a}),Ka=({id:e,theme:t,children:r})=>(0,n.jsx)("span",{"data-testid":"flowbite-sidebar-item-content",id:`flowbite-sidebar-item-${e}`,className:U(t.content.base),children:r}),Va=(0,o.forwardRef)((({active:e,as:t="a",children:r,className:a,icon:s,label:i,labelColor:l="info",theme:d={},...c},u)=>{const g=(0,o.useId)(),{theme:f,isCollapsed:b}=Ya(),{isInsideCollapse:p}=function(){const e=(0,o.useContext)(Ga);if(!e)throw new Error("useSidebarItemContext should be used within the SidebarItemContext provider!");return e}(),h=Z(f.item,d);return(0,n.jsx)(_a,{theme:h,className:h.listItem,id:g,isCollapsed:b,tooltipChildren:r,children:(0,n.jsxs)(t,{"aria-labelledby":`flowbite-sidebar-item-${g}`,ref:u,className:U(h.base,e&&h.active,!b&&p&&h.collapsed?.insideCollapse,a),...c,children:[s&&(0,n.jsx)(s,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-item-icon",className:U(h.icon?.base,e&&h.icon?.active)}),b&&!s&&(0,n.jsx)("span",{className:h.collapsed?.noIcon,children:r.charAt(0).toLocaleUpperCase()??"?"}),!b&&(0,n.jsx)(Ka,{id:g,theme:h,children:r}),!b&&i&&(0,n.jsx)(ue,{color:l,"data-testid":"flowbite-sidebar-label",hidden:b,className:h.label,children:i})]})})}));Va.displayName="Sidebar.Item";const Ua=({children:e,className:t,theme:r={},...o})=>{const{theme:a}=Ya(),s=Z(a.itemGroup,r);return(0,n.jsx)("ul",{"data-testid":"flowbite-sidebar-item-group",className:U(s.base,t),...o,children:(0,n.jsx)(Ga.Provider,{value:{isInsideCollapse:!1},children:e})})};Ua.displayName="Sidebar.ItemGroup";const qa=({children:e,className:t,theme:r={},...o})=>{const{theme:a}=Ya(),s=Z(a.items,r);return(0,n.jsx)("div",{className:U(s.base,t),"data-testid":"flowbite-sidebar-items",...o,children:e})};qa.displayName="Sidebar.Items";const Xa=({children:e,className:t,href:r,img:a,imgAlt:s="",theme:i={},...l})=>{const d=(0,o.useId)(),{theme:c,isCollapsed:u}=Ya(),g=Z(c.logo,i);return(0,n.jsxs)("a",{"aria-labelledby":`flowbite-sidebar-logo-${d}`,href:r,className:U(g.base,t),...l,children:[(0,n.jsx)("img",{alt:s,src:a,className:g.img}),(0,n.jsx)("span",{className:g.collapsed[u?"on":"off"],id:`flowbite-sidebar-logo-${d}`,children:e})]})};Xa.displayName="Sidebar.Logo";const Za=({children:e,as:t="nav",collapseBehavior:r="collapse",collapsed:o=!1,theme:a={},className:s,...i})=>{const l=Z(te().sidebar,a);return(0,n.jsx)(Wa.Provider,{value:{theme:l,isCollapsed:o},children:(0,n.jsx)(t,{"aria-label":"Sidebar",hidden:o&&"hide"===r,className:U(l.root.base,l.root.collapsed[o?"on":"off"],s),...i,children:(0,n.jsx)("div",{className:l.root.inner,children:e})})})};Za.displayName="Sidebar";Object.assign(Za,{Collapse:Ha,CTA:$a,Item:Va,Items:qa,ItemGroup:Ua,Logo:Xa});const Qa=(0,o.createContext)(void 0);const Ja=(0,o.createContext)(void 0);function es(){const e=(0,o.useContext)(Ja);if(!e)throw new Error("useTableContext should be used within the TableContext provider!");return e}const ts=(0,o.forwardRef)((({children:e,className:t,theme:r={},...o},a)=>{const{theme:s}=es(),i=Z(s.body,r);return(0,n.jsx)(Qa.Provider,{value:{theme:i},children:(0,n.jsx)("tbody",{className:U(i.base,t),ref:a,...o,children:e})})}));ts.displayName="Table.Body";const rs=(0,o.forwardRef)((({children:e,className:t,theme:r={},...a},s)=>{const{theme:i}=function(){const e=(0,o.useContext)(Qa);if(!e)throw new Error("useTableBodyContext should be used within the TableBodyContext provider!");return e}(),l=Z(i.cell,r);return(0,n.jsx)("td",{className:U(l.base,t),ref:s,...a,children:e})}));rs.displayName="Table.Cell";const ns=(0,o.createContext)(void 0);const os=(0,o.forwardRef)((({children:e,className:t,theme:r={},...o},a)=>{const{theme:s}=es(),i=Z(s.head,r);return(0,n.jsx)(ns.Provider,{value:{theme:i},children:(0,n.jsx)("thead",{className:U(i.base,t),ref:a,...o,children:(0,n.jsx)("tr",{children:e})})})}));os.displayName="Table.Head";const as=(0,o.forwardRef)((({children:e,className:t,theme:r={},...a},s)=>{const{theme:i}=function(){const e=(0,o.useContext)(ns);if(!e)throw new Error("useTableHeadContext should be used within the TableHeadContext provider!");return e}(),l=Z(i.cell,r);return(0,n.jsx)("th",{className:U(l.base,t),ref:s,...a,children:e})}));as.displayName="Table.HeadCell";const ss=(0,o.forwardRef)((({children:e,className:t,theme:r={},...o},a)=>{const{theme:s,hoverable:i,striped:l}=es(),d=Z(s.row,r);return(0,n.jsx)("tr",{ref:a,"data-testid":"table-row-element",className:U(d.base,l&&d.striped,i&&d.hovered,t),...o,children:e})}));ss.displayName="Table.Row";const is=(0,o.forwardRef)((({children:e,className:t,striped:r,hoverable:o,theme:a={},...s},i)=>{const l=Z(te().table,a);return(0,n.jsx)("div",{"data-testid":"table-element",className:U(l.root.wrapper),children:(0,n.jsxs)(Ja.Provider,{value:{theme:l,striped:r,hoverable:o},children:[(0,n.jsx)("div",{className:U(l.root.shadow,t)}),(0,n.jsx)("table",{className:U(l.root.base,t),...s,ref:i,children:e})]})})}));is.displayName="Table";Object.assign(is,{Head:os,Body:ts,Row:ss,Cell:rs,HeadCell:as});const ls=({children:e,className:t})=>(0,n.jsx)("div",{className:t,children:e});ls.displayName="Tabs.Item";const ds=(0,o.forwardRef)((({children:e,className:t,onActiveTabChange:r,style:a="default",theme:s={},...i},l)=>{const d=Z(te().tabs,s),c=(0,o.useId)(),u=(0,o.useMemo)((()=>o.Children.map(o.Children.toArray(e),(({props:e})=>e))),[e]),g=(0,o.useRef)([]),[f,b]=(0,o.useState)(Math.max(0,u.findIndex((e=>e.active)))),[p,h]=(0,o.useState)(-1),m=e=>{b(e),r&&r(e)},y=d.tablist.tabitem.styles[a],x=d.tabitemcontainer.styles[a];return(0,o.useEffect)((()=>{g.current[p]?.focus()}),[p]),(0,o.useImperativeHandle)(l,(()=>({setActiveTab:m}))),(0,n.jsxs)("div",{className:U(d.base,t),children:[(0,n.jsx)("div",{"aria-label":"Tabs",role:"tablist",className:U(d.tablist.base,d.tablist.styles[a],t),...i,children:u.map(((e,t)=>(0,n.jsxs)("button",{type:"button","aria-controls":`${c}-tabpanel-${t}`,"aria-selected":t===f,className:U(d.tablist.tabitem.base,y.base,t===f&&y.active.on,t!==f&&!e.disabled&&y.active.off),disabled:e.disabled,id:`${c}-tab-${t}`,onClick:()=>(({target:e})=>{m(e),h(e)})({target:t}),onKeyDown:e=>(({event:e,target:t})=>{"ArrowLeft"===e.key&&h(Math.max(0,p-1)),"ArrowRight"===e.key&&h(Math.min(u.length-1,p+1)),"Enter"===e.key&&(m(t),h(t))})({event:e,target:t}),ref:e=>g.current[t]=e,role:"tab",tabIndex:t===p?0:-1,style:{zIndex:t===p?2:1},children:[e.icon&&(0,n.jsx)(e.icon,{className:d.tablist.tabitem.icon}),e.title]},t)))}),(0,n.jsx)("div",{className:U(d.tabitemcontainer.base,x),children:u.map(((e,t)=>(0,n.jsx)("div",{"aria-labelledby":`${c}-tab-${t}`,className:d.tabpanel,hidden:t!==f,id:`${c}-tabpanel-${t}`,role:"tabpanel",tabIndex:0,children:e.children},t)))})]})}));ds.displayName="Tabs";Object.assign(ds,{Item:ls});const cs=(0,o.forwardRef)((({className:e,color:t="gray",helperText:r,shadow:o,theme:a={},...s},i)=>{const l=Z(te().textarea,a);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("textarea",{ref:i,className:U(l.base,l.colors[t],l.withShadow[o?"on":"off"],e),...s}),r&&(0,n.jsx)(Ge,{color:t,children:r})]})}));cs.displayName="Textarea";const us=(0,o.createContext)(void 0);function gs(){const e=(0,o.useContext)(us);if(!e)throw new Error("useTimelineContentContext should be used within the TimelineContentContext provider!");return e}const fs=({children:e,className:t,theme:r={},...o})=>{const{theme:a}=gs(),s=Z(a.body,r);return(0,n.jsx)("div",{className:U(s.base,t),...o,children:e})},bs=(0,o.createContext)(void 0);function ps(){const e=(0,o.useContext)(bs);if(!e)throw new Error("useTimelineContext should be used within the TimelineContext provider!");return e}const hs=(0,o.createContext)(void 0);function ms(){const e=(0,o.useContext)(hs);if(!e)throw new Error("useTimelineItemContext should be used within the TimelineItemContext provider!");return e}const ys=({children:e,className:t,theme:r={},...o})=>{const{horizontal:a}=ps(),{theme:s}=ms(),i=Z(s.content,r);return(0,n.jsx)(us.Provider,{value:{theme:i},children:(0,n.jsx)("div",{"data-testid":"timeline-content",className:U(a&&i.root.base,t),...o,children:e})})},xs=({children:e,className:t,theme:r={},...o})=>{const{theme:a,horizontal:s}=ps(),i=Z(a.item,r);return(0,n.jsx)(hs.Provider,{value:{theme:i},children:(0,n.jsx)("li",{"data-testid":"timeline-item",className:U(s&&i.root.horizontal,!s&&i.root.vertical,t),...o,children:e})})},vs=({children:e,className:t,icon:r,theme:o={},...a})=>{const{horizontal:s}=ps(),{theme:i}=ms(),l=Z(i.point,o);return(0,n.jsxs)("div",{"data-testid":"timeline-point",className:U(s&&l.horizontal,!s&&l.vertical,t),...a,children:[e,r?(0,n.jsx)("span",{className:U(l.marker.icon.wrapper),children:(0,n.jsx)(r,{"aria-hidden":!0,className:U(l.marker.icon.base)})}):(0,n.jsx)("div",{className:U(s&&l.marker.base.horizontal,!s&&l.marker.base.vertical)}),s&&(0,n.jsx)("div",{className:U(l.line)})]})},ws=({children:e,className:t,theme:r={},...o})=>{const{theme:a}=gs(),s=Z(a.time,r);return(0,n.jsx)("time",{className:U(s.base,t),...o,children:e})},ks=({as:e="h3",children:t,className:r,theme:o={},...a})=>{const{theme:s}=gs(),i=Z(s.title,o);return(0,n.jsx)(e,{className:U(i.base,r),...a,children:t})},Ns=({children:e,className:t,horizontal:r,theme:o={},...a})=>{const s=Z(te().timeline,o);return(0,n.jsx)(bs.Provider,{value:{theme:s,horizontal:r},children:(0,n.jsx)("ol",{"data-testid":"timeline-component",className:U(r&&s.root.direction.horizontal,!r&&s.root.direction.vertical,t),...a,children:e})})};Ns.displayName="Timeline",xs.displayName="Timeline.Item",vs.displayName="Timeline.Point",ys.displayName="Timeline.Content",ws.displayName="Timeline.Time",ks.displayName="Timeline.Title",fs.displayName="Timeline.Body";Object.assign(Ns,{Item:xs,Point:vs,Content:ys,Time:ws,Title:ks,Body:fs});const js=(0,o.createContext)(void 0);const Cs=({className:e,onClick:t,theme:r={},xIcon:a=s.U_s,onDismiss:i,...l})=>{const{theme:d,duration:c,isClosed:u,isRemoved:g,setIsClosed:f,setIsRemoved:b}=function(){const e=(0,o.useContext)(js);if(!e)throw new Error("useToastContext should be used within the ToastContext provider!");return e}(),p=Z(d.toggle,r);return(0,n.jsx)("button",{"aria-label":"Close",onClick:e=>{t&&t(e),i?i():(f(!u),setTimeout((()=>b(!g)),c))},type:"button",className:U(p.base,e),...l,children:(0,n.jsx)(a,{"aria-hidden":!0,className:p.icon})})},Es={75:"duration-75",100:"duration-100",150:"duration-150",200:"duration-200",300:"duration-300",500:"duration-500",700:"duration-700",1e3:"duration-1000"},Rs=({children:e,className:t,duration:r=300,theme:a={},...s})=>{const[i,l]=(0,o.useState)(!1),[d,c]=(0,o.useState)(!1),u=Z(te().toast,a);return d?null:(0,n.jsx)(js.Provider,{value:{theme:u,duration:r,isClosed:i,isRemoved:d,setIsClosed:l,setIsRemoved:c},children:(0,n.jsx)("div",{"data-testid":"flowbite-toast",role:"alert",className:U(u.root.base,Es[r],i&&u.root.closed,t),...s,children:e})})};Rs.displayName="Toast",Cs.displayName="Toast.Toggle";Object.assign(Rs,{Toggle:Cs});const Ts=(0,o.forwardRef)((({checked:e,className:t,color:r="blue",sizing:a="md",disabled:s,label:i,name:l,onChange:d,theme:c={},...u},g)=>{const f=(0,o.useId)(),b=Z(te().toggleSwitch,c);return(0,n.jsxs)(n.Fragment,{children:[l&&e?(0,n.jsx)("input",{ref:g,checked:e,hidden:!0,name:l,readOnly:!0,type:"checkbox",className:"sr-only"}):null,(0,n.jsxs)("button",{"aria-checked":e,"aria-labelledby":`${f}-flowbite-toggleswitch-label`,disabled:s,id:`${f}-flowbite-toggleswitch`,onClick:()=>{d(!e)},onKeyDown:e=>{"Enter"==e.code&&e.preventDefault()},role:"switch",tabIndex:0,type:"button",className:U(b.root.base,b.root.active[s?"off":"on"],t),...u,children:[(0,n.jsx)("div",{"data-testid":"flowbite-toggleswitch-toggle",className:U(b.toggle.base,b.toggle.checked[e?"on":"off"],e&&b.toggle.checked.color[r],b.toggle.sizes[a])}),i?.length?(0,n.jsx)("span",{"data-testid":"flowbite-toggleswitch-label",id:`${f}-flowbite-toggleswitch-label`,className:b.root.label,children:i}):null]})]})}));Ts.displayName="ToggleSwitch";var Is=()=>o.createElement("main",{className:"flex min-h-screen items-center justify-center gap-2 dark:bg-gray-800"},o.createElement("h1",{className:"text-2xl dark:text-white"},"Flowbite React + Gatsby uhuy"),o.createElement(Ye,null));const Ss=()=>o.createElement("title",null,"Home Page")},6942:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},2225:function(e,t,r){"use strict";r.d(t,{k5:function(){return f}});var n=r(6540),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=n.createContext&&n.createContext(o),s=["attr","size","title"];function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){return e&&e.map(((e,t)=>n.createElement(e.tag,c({key:t},e.attr),g(e.child))))}function f(e){return t=>n.createElement(b,l({attr:c({},e.attr)},t),g(e.child))}function b(e){var t=t=>{var r,{attr:o,size:a,title:d}=e,u=i(e,s),g=a||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,u,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:g,width:g,xmlns:"http://www.w3.org/2000/svg"}),d&&n.createElement("title",null,d),e.children)};return void 0!==a?n.createElement(a.Consumer,null,(e=>t(e))):t(o)}}}]);
//# sourceMappingURL=component---src-pages-index-tsx-4f0cd2552803792ffa29.js.map