"use strict";var e=require("react/jsx-runtime"),t=require("react");!function(e,t){void 0===t&&(t={});var r=t.insertAt;if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}('/*! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.absolute{position:absolute}.relative{position:relative}.-top-4{top:-1rem}.bottom-0{bottom:0}.left-0{left:0}.left-4{left:1rem}.left-\\[-1px\\]{left:-1px}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-2{top:.5rem}.top-\\[2px\\]{top:2px}.-z-\\[100\\]{z-index:-100}.z-\\[100\\]{z-index:100}.z-\\[200\\]{z-index:200}.z-\\[400\\]{z-index:400}.mt-12{margin-top:3rem}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2}.flex{display:flex}.hidden{display:none}.size-3{height:.75rem;width:.75rem}.size-\\[10px\\]{height:10px;width:10px}.size-full{height:100%;width:100%}.h-12{height:3rem}.h-5{height:1.25rem}.h-full{height:100%}.min-h-\\[15\\%\\]{min-height:15%}.w-16{width:4rem}.w-3{width:.75rem}.w-5{width:1.25rem}.w-\\[100\\%\\]{width:100%}.w-\\[80\\%\\]{width:80%}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-\\[calc\\(100\\%-32px\\)\\]{width:calc(100% - 32px)}.w-full{width:100%}.basis-\\[75\\%\\]{flex-basis:75%}.basis-\\[80\\%\\]{flex-basis:80%}.-translate-y-\\[100\\%\\]{--tw-translate-y:-100%}.-translate-y-\\[100\\%\\],.-translate-y-\\[2px\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-\\[2px\\]{--tw-translate-y:-2px}.translate-y-\\[-1px\\]{--tw-translate-y:-1px}.translate-y-\\[-1px\\],.translate-y-\\[100\\%\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[100\\%\\]{--tw-translate-y:100%}.translate-y-\\[105\\%\\]{--tw-translate-y:105%}.rotate-\\[35deg\\],.translate-y-\\[105\\%\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\\[35deg\\]{--tw-rotate:35deg}.scale-\\[0\\.8\\]{--tw-scale-x:0.8;--tw-scale-y:0.8}.scale-\\[0\\.8\\],.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-2{row-gap:.5rem}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-b-md{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border-\\[1px\\]{border-width:1px}.border-b-\\[1px\\]{border-bottom-width:1px}.border-t-\\[0px\\]{border-top-width:0}.border-t-\\[1px\\]{border-top-width:1px}.border-none{border-style:none}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-b-gray-500{--tw-border-opacity:1;border-bottom-color:rgb(107 114 128/var(--tw-border-opacity))}.border-t-gray-200{--tw-border-opacity:1;border-top-color:rgb(229 231 235/var(--tw-border-opacity))}.bg-slate-400{--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-opacity-\\[0\\.2\\]{--tw-bg-opacity:0.2}.p-1{padding:.25rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-\\[clamp\\(6px\\2c 1vw\\2c 12px\\)\\]{padding-bottom:clamp(6px,1vw,12px);padding-top:clamp(6px,1vw,12px)}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-\\[0\\.5\\]{opacity:.5}.shadow-box{--tw-shadow:2px 2px 32px -2px rgba(30,30,30,.1);--tw-shadow-colored:2px 2px 32px -2px var(--tw-shadow-color)}.shadow-box,.shadow-card{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-card{--tw-shadow:0px 2px 32px 0px rgba(30,30,30,.2);--tw-shadow-colored:0px 2px 32px 0px var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-gray-300{outline-color:#d1d5db}.brightness-110{--tw-brightness:brightness(1.1)}.brightness-110,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-\\[scale\\]{transition-duration:.15s;transition-property:scale;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.scrollbar::-webkit-scrollbar{background-color:transparent;height:4px;width:12px}.scrollbar::-webkit-scrollbar-thumb{background-color:#64748b;border:2px solid #fff;border-radius:4px}:is(:where(.dark) .dark\\:scrollbar-dark)::-webkit-scrollbar-thumb{background-color:#fff;border:2px solid #334155;border-radius:4px}.last\\:rounded-b-md:last-child{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.hover\\:pointer-events-auto:hover{pointer-events:auto}.hover\\:flex:hover{display:flex}.hover\\:scale-101:hover{--tw-scale-x:1.01;--tw-scale-y:1.01;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:shadow-card-hover:hover{--tw-shadow:0px 2px 24px 1px rgba(30,30,30,.25);--tw-shadow-colored:0px 2px 24px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:brightness-\\[1\\.2\\]:hover{--tw-brightness:brightness(1.2);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.group:focus-within .group-focus-within\\:pointer-events-auto{pointer-events:auto}.group:focus-within .group-focus-within\\:flex{display:flex}.group:focus-within .group-focus-within\\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:flex{display:flex}.group:hover .group-hover\\:opacity-100{opacity:1}.peer:hover~.peer-hover\\:pointer-events-none{pointer-events:none}.dark\\:border-white:is(.dark *){--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.dark\\:bg-slate-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity))}.dark\\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity))}.dark\\:bg-opacity-\\[0\\.8\\]:is(.dark *){--tw-bg-opacity:0.8}.dark\\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:placeholder-slate-400:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity))}.dark\\:placeholder-slate-400:is(.dark *)::placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity))}.dark\\:caret-slate-300:is(.dark *){caret-color:#cbd5e1}.dark\\:shadow-box-dark:is(.dark *){--tw-shadow:2px 2px 32px -2px hsla(0,0%,71%,.1);--tw-shadow-colored:2px 2px 32px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark\\:outline-gray-300:is(.dark *){outline-color:#d1d5db}.dark\\:outline-slate-800:is(.dark *){outline-color:#1e293b}.dark\\:hover\\:bg-slate-600:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity))}',{insertAt:"top"});const r="-";function o(e){const t=function(e){const{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]},a=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 a.forEach((([e,r])=>{i(r,o,e,t)})),o}(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:function(e){const o=e.split(r);return""===o[0]&&1!==o.length&&o.shift(),a(o,t)||function(e){if(n.test(e)){const t=n.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const r=o[e]||[];return t&&s[e]?[...r,...s[e]]:r}}}function a(e,t){if(0===e.length)return t.classGroupId;const o=e[0],n=t.nextPart.get(o),i=n?a(e.slice(1),n):void 0;if(i)return i;if(0===t.validators.length)return;const s=e.join(r);return t.validators.find((({validator:e})=>e(s)))?.classGroupId}const n=/^\[(.+)\]$/;function i(e,t,r,o){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void i(e(o),t,r,o):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,a])=>{i(a,s(t,e),r,o)}))}else{(""===e?t:s(t,e)).classGroupId=r}}))}function s(e,t){let o=e;return t.split(r).forEach((e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)})),o}function l(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function a(a,n){r.set(a,n),t++,t>e&&(t=0,o=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(a(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):a(e,t)}}}const d="!";function c(e){const t=e.separator,r=1===t.length,o=t[0],a=t.length;return function(e){const n=[];let i,s=0,l=0;for(let d=0;dl?i-l:void 0}}}const p=/\s+/;function u(){let e,t,r=0,o="";for(;rt(e)),e());return r=function(e){return{cache:l(e.cacheSize),splitModifiers:c(e),...o(e)}}(p),a=r.cache.get,n=r.cache.set,i=s,s(d)};function s(e){const t=a(e);if(t)return t;const o=function(e,t){const{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=new Set;return e.trim().split(p).map((e=>{const{modifiers:t,hasImportantModifier:a,baseClassName:n,maybePostfixModifierPosition:i}=r(e);let s=o(i?n.substring(0,i):n),l=Boolean(i);if(!s){if(!i)return{isTailwindClass:!1,originalClassName:e};if(s=o(n),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=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:a?c+d:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:o}=e,i=t+r;return!n.has(i)&&(n.add(i),a(r,o).forEach((e=>n.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return n(e,o),o}return function(){return i(u.apply(null,arguments))}}function g(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const h=/^\[(?:([a-z-]+):)?(.+)\]$/i,m=/^\d+\/\d+$/,f=new Set(["px","full","screen"]),x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,y=/\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$/,v=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,k=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function j(e){return N(e)||f.has(e)||m.test(e)}function C(e){return R(e,"length",H)}function N(e){return Boolean(e)&&!Number.isNaN(Number(e))}function I(e){return R(e,"number",N)}function M(e){return Boolean(e)&&Number.isInteger(Number(e))}function S(e){return e.endsWith("%")&&N(e.slice(0,-1))}function T(e){return h.test(e)}function $(e){return x.test(e)}const E=new Set(["length","size","percentage"]);function G(e){return R(e,E,B)}function L(e){return R(e,"position",B)}const P=new Set(["image","url"]);function D(e){return R(e,P,U)}function X(e){return R(e,"",O)}function Y(){return!0}function R(e,t,r){const o=h.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):r(o[2]))}function H(e){return y.test(e)&&!v.test(e)}function B(){return!1}function O(e){return k.test(e)}function U(e){return z.test(e)}function q(){const e=g("colors"),t=g("spacing"),r=g("blur"),o=g("brightness"),a=g("borderColor"),n=g("borderRadius"),i=g("borderSpacing"),s=g("borderWidth"),l=g("contrast"),d=g("grayscale"),c=g("hueRotate"),p=g("invert"),u=g("gap"),b=g("gradientColorStops"),w=g("gradientColorStopPositions"),h=g("inset"),m=g("margin"),f=g("opacity"),x=g("padding"),y=g("saturate"),v=g("scale"),k=g("sepia"),z=g("skew"),E=g("space"),P=g("translate"),R=()=>["auto",T,t],H=()=>[T,t],B=()=>["",j,C],O=()=>["auto",N,T],U=()=>["","0",T],q=()=>[N,I],V=()=>[N,T];return{cacheSize:500,separator:":",theme:{colors:[Y],spacing:[j,C],blur:["none","",$,T],brightness:q(),borderColor:[e],borderRadius:["none","","full",$,T],borderSpacing:H(),borderWidth:B(),contrast:q(),grayscale:U(),hueRotate:V(),invert:U(),gap:H(),gradientColorStops:[e],gradientColorStopPositions:[S,C],inset:R(),margin:R(),opacity:q(),padding:H(),saturate:q(),scale:q(),sepia:U(),skew:V(),space:H(),translate:H()},classGroups:{aspect:[{aspect:["auto","square","video",T]}],container:["container"],columns:[{columns:[$]}],"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",T]}],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:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",M,T]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",T]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",M,T]}],"grid-cols":[{"grid-cols":[Y]}],"col-start-end":[{col:["auto",{span:["full",M,T]},T]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Y]}],"row-start-end":[{row:["auto",{span:[M,T]},T]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",T]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",T]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"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:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",T,t]}],"min-w":[{"min-w":[T,t,"min","max","fit"]}],"max-w":[{"max-w":[T,t,"none","full","min","max","fit","prose",{screen:[$]},$]}],h:[{h:[T,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[T,t,"auto","min","max","fit"]}],"font-size":[{text:["base",$,C]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",I]}],"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",T]}],"line-clamp":[{"line-clamp":["none",N,I]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,T]}],"list-image":[{"list-image":["none",T]}],"list-style-type":[{list:["none","disc","decimal",T]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"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",j,C]}],"underline-offset":[{"underline-offset":["auto",j,T]}],"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:H()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",L]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",G]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},D]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[j,T]}],"outline-w":[{outline:[j,C]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[j,C]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$,X]}],"shadow-color":[{shadow:[Y]}],opacity:[{opacity:[f]}],"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","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",$,T]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[y]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",T]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",T]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",T]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[M,T]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",T]}],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",T]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"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",T]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[j,C,I]}],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 V=w(q),A=e=>{const t=e?.enabled??!0;return{enabled:t,delay:t?e?.delay??0:0,duration:t?e?.duration??250:0,properties:t?e?.properties??["opacity","opacity"]:void 0}},F=e=>1==(e??!1)?"dark":"",Q=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"black",fill:"black",viewBox:"0 0 448 512",children:e.jsx("path",{d:"M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"})}),W=t=>e.jsx("svg",{onClick:e=>(e=>{e.preventDefault(),e.stopPropagation(),t.onClick(e)})(e),xmlns:"http://www.w3.org/2000/svg",className:"cursor-pointer",viewBox:"0 0 384 512",children:e.jsx("path",{d:"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"})}),_=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:e.jsx("path",{d:"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"})}),J=r=>{const{offset:o,text:a,canCopyTip:n,animation:i}=r,s=(e=>e??!1)(n),l=A(i),[d,c]=t.useState(!1);((e,r,o)=>{const a=t.useRef(),n=t.useRef(e);t.useEffect((()=>{n.current=e}),[e,o]),t.useEffect((()=>(a.current=window.setInterval((()=>n.current()),r),()=>window.clearInterval(a.current))),[r,o])})((()=>{d&&c(!1)}),1500,d);const p=s?"py-6 px-6 cursor-pointer":"",u=(e=>e.enabled?e.properties?.map((e=>(e=>{if("scale"==e)return"scale-[0.8] group-hover:scale-100"})(e))).join(" ")??"":"")(l),b=(w=l.properties,`transition-[${w?.map((e=>"scale"==e?"transform":"opacity")).join(",")??""}]`);var w;const g=r.position,h="top"==g?"top-0 -translate-y-[100%]":"bottom-0 translate-y-[100%]",m="bottom"==g?"top-0 -translate-y-[100%]":"bottom-0 translate-y-[100%]",f=null!=o?"top"==g?{top:-o}:{bottom:-o}:void 0;return e.jsxs("div",{onClick:()=>{s&&!d&&(navigator.clipboard.writeText(a),c(!0))},className:V("dark:bg-slate-800 transition-[scale] bg-white shadow-box rounded px-4 py-2 cursor-default absolute opacity-0 group-hover:opacity-100","pointer-events-none group-hover:pointer-events-auto",p,u,b,h),style:{...f,transitionDuration:`${l.duration}ms`,transitionDelay:`${l.delay}ms`},children:[e.jsx("div",{className:V("absolute hidden group-hover:flex w-[100%] pointer-events-none","group-hover:pointer-events-auto peer-hover:pointer-events-none left-0 cursor-default",m),style:{height:o??0}}),s&&e.jsx("div",{className:"absolute right-2 top-2 size-3",children:e.jsx(Q,{})}),e.jsx("p",{className:"whitespace-nowrap text-center w-full dark:text-gray-200 text-gray-600",children:d?"Tip copied!":a})]})},K=({icon:t,color:r,onIconClick:o})=>{const a=t?"flex":"hidden";return null==t||null==t?null:e.jsx("div",{className:V("absolute left-0 bottom-0 items-center w-full h-full",a),children:e.jsx("div",{onClick:o,style:{color:r,stroke:r,fill:r},className:"right-3 absolute hover:bg-gray-400 rounded-full p-1 h-5 w-5 -translate-y-[2px]e",children:t})})};const Z=e=>"full"==e?"border-[1px] border-t-[0px] dark:border-white rounded-b-md border-black translate-y-[100%]":"shadow-box dark:shadow-box-dark rounded mt-12 outline-1 outline-gray-300 dark:outline-slate-800 outline translate-y-[105%]",ee=(e,t)=>t?e?"opacity-1 pointer-events-auto":"opacity-0 pointer-events-none hover:pointer-events-auto group-focus-within:pointer-events-auto group-focus-within:opacity-1 hover:opacity-1":e?"opacity-1 flex":"hidden hover:flex group-focus-within:flex";function te({items:e,sort:t,order:r,limit:o}){return(()=>{if("none"==t||0==e.length)return e;const o="desc"==r?1:-1;return"alphabetic"==t||"numeral"==t?e.sort(((e,t)=>o*`${e}`.localeCompare(`${t}`))):"length"==t?e.sort(((e,t)=>o*(e.toString().length-t.toString().length))):e})().filter(((e,t)=>t({bottom:"underline"==e?-1:Math.min(t/1.3,30),paddingTop:"underline"==e?2:Math.max(Math.min(t,40),12),transitionDuration:`${r?.duration}ms`,transitionDelay:`${r?.delay}ms`});const oe=()=>e.jsx("div",{className:"size-[10px] translate-y-[-1px] group-focus-within:rotate-90 transition-transform",children:e.jsx(_,{})});function ae(r){const{query:o,items:a,isOpen:n,sort:i,limit:s,order:l}=r,d=t.useMemo((()=>{if(0==o.length||!r.search)return te({items:a,sort:i,limit:s,order:l});return te({items:a.filter((e=>`${e}`.toLowerCase().toLowerCase().includes(o.toLowerCase()))),sort:i,limit:s,order:l})}),[o,a,n,i]),c=0==a.length,p=0!=o.length&&0==d.length&&!c,u=`${Z(r.outline)} ${ee(n,r.animation?.enabled)}`,b=e=>{r.onQueryChange(e),r.onItemSelect&&r.onItemSelect(e)};return e.jsx("div",{style:{...re(r)},className:V("absolute transition-opacity bg-white dark:bg-slate-700 z-[200] w-[calc(100%+2px)] left-[-1px]",u),children:e.jsxs("ul",{style:{maxHeight:0==r.scrollable?void 0:r.maxHeight},className:V("flex w-full dark:scrollbar-dark scrollbar-dark flex-col overflow-y-auto scrollbar",""),children:[n&&p&&e.jsx(ne,{item:"No item Found"}),n&&c&&e.jsx(ne,{item:"List is empty"}),d.map(((t,r)=>e.jsx(ne,{item:t,onItemSelect:b},`${t}-`+r)))]})})}function ne(t){return e.jsx("li",{onClick:()=>{t.onItemSelect&&t.onItemSelect(t.item)},className:"px-4 py-1 last:rounded-b-md hover:bg-gray-100 dark:hover:bg-slate-600 cursor-pointer text-gray-800 dark:text-gray-300",children:e.jsx("p",{children:t.item})})}const ie=e=>({backgroundColor:e.backgroundColor??"#10b981",size:e.size??"30vw",onClick:e.onClick??(()=>{}),tags:[],...e}),se="rounded-t-md cursor-pointer transition-transform hover:scale-101 shadow-card hover:shadow-card-hover",le=[["#ffffff","text-black","#666666"],["#f59e0b","text-white","#d97706"],["#22c55e","text-white","#16a34a"],["#14b8a6","text-white","#0d9488"],["#06b6d4","text-white","#000000"],["#0ea5e9","text-black","#000000"],["#a855f7","text-black","#000000"],["#f43f5e","text-black","#000000"],["#000000","text-white","#ffffff"]],de=(e,t)=>t?.textColor&&t.backgroundColor&&t.backColor?[t.backgroundColor,t.textColor,t.backColor]:le[e%le.length],ce=t=>{const r=ie(t);return e.jsxs("section",{onClick:()=>r.onClick(),className:V("rounded-b-md flex flex-col relative",se),style:{width:r.size,height:r.size},children:[e.jsx(we,{...r}),e.jsx(ge,{...r}),e.jsx(be,{...r})]})},pe=t=>e.jsx("ul",{className:"absolute left-0 -top-4 px-12 flex gap-x-4 flex-wrap",children:t.tags?.map(((t,r)=>e.jsx(ue,{...t,index:r})))??null}),ue=t=>{const[r,o,a]=de(t.index,t);return e.jsxs(e.Fragment,{children:[e.jsx("li",{style:{backgroundColor:r},className:V("rounded-b-md w-16 h-12 flex items-center justify-center brightness-110 relative",o),children:e.jsx("p",{className:"z-[100] truncate font-medium",children:t.label})}),e.jsx("div",{style:{left:40+64*t.index+16*t.index,backgroundColor:a},className:"w-3 h-5 absolute top-[2px] rotate-[35deg] -z-[100]"})]})},be=t=>t.extraDetails?e.jsx("div",{className:"px-2 py-[clamp(6px,1vw,12px)] border-t-[1px] border-t-gray-200 text-gray-600 line-clamp-1",children:t.extraDetails}):null,we=t=>{const r=t.extraDetails?"basis-[75%]":"basis-[80%]";return e.jsxs("div",{className:V("w-full rounded-t relative flex items-end justify-center",r),children:[e.jsx(pe,{tags:t.tags}),e.jsx("figure",{style:{backgroundColor:t.backgroundColor},className:"size-full flex items-end",children:e.jsx("img",{src:t.image,alt:t.label,className:"z-[200]",style:{objectFit:"cover"}})})]})},ge=t=>{const r=t.extraDetails?"":"flex flex-col gap-y-2",o=t.extraDetails?"line-clamp-1":"line-clamp-2";return e.jsxs("div",{className:V("w-full min-h-[15%] px-2 py-2 pb-4",r),children:[e.jsx("p",{className:"font-semibold text-lg line-clamp-2 leading-6",children:t.label}),e.jsx("p",{className:V("font-medium text-sm text-gray-600",o),children:t.description})]})};exports.TUIChip=t=>{const r=(e=>{const t=e.darkMode??!1;return{text:e.text??"Chip Text",selected:e.selected??!1,darkMode:t,enabled:e.enabled??!0,rounded:100,color:e.color??t?"white":"black",...e}})(t),o=!r.enabled,a=r.darkMode?"dark":"",n=o?"opacity-[0.5]":"",i=r.onClick?"cursor-pointer hover:brightness-[1.2]":"",s=r.icon?"pr-10":"",l=r.selected?"bg-opacity-[0.2] dark:bg-opacity-[0.8] bg-slate-400":"";return e.jsxs("li",{onClick:r.onClick,style:{borderRadius:`${r.rounded}px`,outlineColor:r.color,color:r.color},className:V("list-none outline outline-1 py-2 px-6 relative",n,i,s,l,a),children:[e.jsx(K,{icon:r.icon,color:r.color,onIconClick:r.onIconClick}),e.jsx("p",{className:"",children:r.text})]})},exports.TUIDetailedCard=ce,exports.TUIDropdown=function(r){const o=function(e){return{animation:A(e.animation),darkMode:e.darkMode??!1,order:e.order??"desc",sort:e.sort??"alphabetic",limit:e.limit??20,maxHeight:e.maxHeight??"14vw",items:e.items??[],hint:e.hint??"Search for items...",outline:e.outline??"full",scrollable:e.scrollable??!0,rounded:e.rounded??10,filter:e.filter??!1,search:e.search??!0,...e}}(r),[a,n]=t.useState(""),i=t.useRef(null),s=t.useRef(null),[l,d]=t.useState(!1),c="full"==o.outline?"outline outline-1 border-none dark:outline-gray-300":"border-b-[1px] outline-none border-b-gray-500 shadow-box",p=((e,t)=>({borderRadius:"full"==e?`${t}px`:void 0}))(o.outline,o.rounded),u=e=>{const t=`${e}`;n(t),o.onQueryChange&&o.onQueryChange(t)},b=()=>d(!0),w=e=>{if(!e.target||!s||!s.current)return;if(s.current.contains(e.target))return;s.current.isSameNode(e.target)||d(!1)};t.useEffect((()=>{if(i&&i.current)return i.current.addEventListener("focusin",b),window.document.addEventListener("click",w),()=>{i.current?.removeEventListener("focusin",b),window.document.removeEventListener("click",w)}}),[i]);const g=F(o.darkMode),h=o.search?"":"cursor-pointer",m=a.length>0&&o.search;return e.jsx("div",{className:g,children:e.jsx("div",{ref:s,className:V("relative group",c),style:{...p},children:e.jsxs("div",{className:"flex items-center px-2 pr-4 justify-between",children:[e.jsx("input",{style:{...p},ref:i,onChange:e=>{const t=e.target.value;u(t)},readOnly:!o.search,type:"text",placeholder:o.hint,value:a,className:V("border-none z-[400] w-[80%] dark:text-gray-300 dark:caret-slate-300 dark:placeholder-slate-400 outline-none pl-2 pr-2 py-4 peer dark:bg-slate-700",h)}),e.jsx(ae,{...o,query:a,onQueryChange:e=>{u(e),d(!1)},isOpen:l}),e.jsx("div",{className:V("size-3",m?"opacity-100":"opacity-0"),children:e.jsx(W,{onClick:()=>n("")})}),e.jsx(oe,{})]})})})},exports.TUISimpleCard=t=>e.jsx(ce,{...t}),exports.TUISmallCard=t=>{const r=ie({...t,size:t.size??"15vw"}),o=t.imageAlt??"Small Card image";return e.jsxs("figure",{style:{width:r.size,height:1.2*parseInt(r.size)+"vw",backgroundColor:r.backgroundColor},className:V("relative flex justify-center items-end",se),children:[e.jsx("img",{src:r.image,alt:o}),e.jsx("ul",{className:"absolute left-4 w-[calc(100%-32px)] top-2 flex flex-wrap gap-x-4 gap-y-2 justify-between",children:r.tags.map(((t,o)=>{const[a,n]=de(o,r);return e.jsx("li",{style:{backgroundColor:a},className:V("py-2 px-4 rounded font-medium",n),children:t.label})}))})]})},exports.TUITooltip=t=>{const{children:r,offset:o,darkMode:a}=t,n=F(a),i=t.position??"bottom";return e.jsxs("div",{className:V("group relative",n),children:[r,e.jsx(J,{offset:o,position:i,...t})]})};