beightone.ui-components 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,32 @@
1
+ import{LitElement as e,unsafeCSS as r,html as o}from"lit";import*as t from"react";import{property as a,customElement as n}from"lit/decorators.js";const i=class extends e{};i.styles=[r("@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-primary-300:#ceff84;--color-brand-primary-600:#97df2b;--color-brand-primary-900:#4a7902;--color-brand-secondary-300:#b68bff;--color-brand-secondary-700:#6947a0;--color-universal-green-300:#86efac;--color-universal-green-400:#4ade80;--color-universal-green-700:#15803d;--color-universal-green-800:#166534;--color-universal-neutral-0:#fff;--color-universal-neutral-200:#e5e5e5;--color-universal-neutral-400:#a3a3a3;--color-universal-neutral-500:#737373;--color-universal-neutral-600:#525252;--color-universal-neutral-950:#0a0a0a;--color-universal-red-400:#f87171;--color-universal-red-600:#dc2626;--color-neutral-primary:var(--color-universal-neutral-950);--color-neutral-quartenary:var(--color-universal-neutral-400);--color-neutral-quinary:var(--color-universal-neutral-200)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}}:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dark]:checked),[data-theme=dark]{color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root{--fx-noise:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E\");scrollbar-color:currentColor #0000}@supports (color:color-mix(in lab,red,red)){:root{scrollbar-color:color-mix(in oklch,currentColor 35%,#0000) #0000}}@property --radialprogress{syntax:\"<percentage>\";inherits:true;initial-value:0%}:root:not(span){overflow:var(--page-overflow)}:root{background:var(--page-scroll-bg,var(--root-bg));--page-scroll-bg-on:linear-gradient(var(--root-bg,#0000), var(--root-bg,#0000)) var(--root-bg,#0000)}@supports (color:color-mix(in lab,red,red)){:root{--page-scroll-bg-on:linear-gradient(var(--root-bg,#0000), var(--root-bg,#0000)) color-mix(in srgb, var(--root-bg,#0000), oklch(0% 0 0) calc(var(--page-has-backdrop,0) * 40%))}}:root{--page-scroll-transition-on:background-color .3s ease-out;transition:var(--page-scroll-transition);scrollbar-gutter:var(--page-scroll-gutter,unset);scrollbar-gutter:if(style(--page-has-scroll: 1): var(--page-scroll-gutter,unset) ; else: unset)}@keyframes set-page-has-scroll{0%,to{--page-has-scroll:1}}:root,[data-theme]{background:var(--page-scroll-bg,var(--root-bg));color:var(--color-base-content)}:where(:root,[data-theme]){--root-bg:var(--color-base-100)}}@layer components;@layer utilities{@layer daisyui.l1.l2.l3{.loading{pointer-events:none;aspect-ratio:1;vertical-align:middle;width:calc(var(--size-selector,.25rem) * 6);background-color:currentColor;display:inline-block;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E\");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.link{cursor:pointer;text-decoration-line:underline}.link:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.link:focus{outline-offset:2px;outline:2px solid #0000}}.link:focus-visible{outline-offset:2px;outline:2px solid}}.pointer-events-none{pointer-events:none}.relative{position:relative}.static{position:static}.inline-flex{display:inline-flex}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.shrink-0{flex-shrink:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-brand-primary-600{border-color:var(--color-brand-primary-600)}.border-brand-primary-900{border-color:var(--color-brand-primary-900)}.border-transparent{border-color:#0000}.bg-brand-primary-600{background-color:var(--color-brand-primary-600)}.bg-transparent{background-color:#0000}.fill-brand-primary-900{fill:var(--color-brand-primary-900)}.fill-neutral-primary{fill:var(--color-neutral-primary)}.stroke-brand-primary-300{stroke:var(--color-brand-primary-300)}.stroke-neutral-primary{stroke:var(--color-neutral-primary)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-5{padding-inline:calc(var(--spacing) * 5)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.whitespace-nowrap{white-space:nowrap}.text-brand-primary-900{color:var(--color-brand-primary-900)}.text-neutral-primary{color:var(--color-neutral-primary)}.text-transparent{color:#0000}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.opacity-100{opacity:1}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.hover\\:border-brand-primary-300:hover{border-color:var(--color-brand-primary-300)}.hover\\:border-brand-primary-900:hover{border-color:var(--color-brand-primary-900)}.hover\\:bg-brand-primary-300:hover{background-color:var(--color-brand-primary-300)}}.focus-visible\\:ring-\\[4px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-brand-primary-300:focus-visible{--tw-ring-color:var(--color-brand-primary-300)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-transparent:disabled{border-color:#0000}.disabled\\:bg-neutral-quinary:disabled{background-color:var(--color-neutral-quinary)}.disabled\\:bg-transparent:disabled{background-color:#0000}.disabled\\:font-semibold:disabled{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.disabled\\:text-neutral-quartenary:disabled{color:var(--color-neutral-quartenary)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\\"size-\\\"\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}}@keyframes rating{0%,40%{filter:brightness(1.05)contrast(1.05);scale:1.1}}@keyframes dropdown{0%{opacity:0}}@keyframes radio{0%{padding:5px}50%{padding:3px}}@keyframes toast{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes rotator{89.9999%,to{--first-item-position:0 0%}90%,99.9999%{--first-item-position:0 calc(var(--items) * 100%)}to{translate:0 -100%}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}@keyframes menu{0%{opacity:0}}@keyframes progress{50%{background-position-x:-115%}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@keyframes spin{to{transform:rotate(360deg)}}")];let s=i;const l=/* @__PURE__ */new Set(["children","localName","ref","style","className"]),c=/* @__PURE__ */new WeakMap,d=(e,r,o,t,a)=>{const n=a?.[r];void 0===n?(e[r]=o,null==o&&r in HTMLElement.prototype&&e.removeAttribute(r)):o!==t&&((e,r,o)=>{let t=c.get(e);void 0===t&&c.set(e,t=/* @__PURE__ */new Map);let a=t.get(r);void 0!==o?void 0===a?(t.set(r,a={handleEvent:o}),e.addEventListener(r,a)):a.handleEvent=o:void 0!==a&&(t.delete(r),e.removeEventListener(r,a))})(e,n,o)};function p(e){var r,o,t="";if("string"==typeof e||"number"==typeof e)t+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(o=p(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}const m=(e=/* @__PURE__ */new Map,r=null,o)=>({nextPart:e,validators:r,classGroupId:o}),b="-",u=[],g=e=>{const r=k(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return f(e);const o=e.split(b),t=""===o[0]&&o.length>1?1:0;return h(o,t,r)},getConflictingClassGroupIds:(e,r)=>{if(r){const r=t[e],a=o[e];return r?a?((e,r)=>{const o=new Array(e.length+r.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<r.length;t++)o[e.length+t]=r[t];return o})(a,r):r:a||u}return o[e]||u}}},h=(e,r,o)=>{if(0===e.length-r)return o.classGroupId;const t=e[r],a=o.nextPart.get(t);if(a){const o=h(e,r+1,a);if(o)return o}const n=o.validators;if(null===n)return;const i=0===r?e.join(b):e.slice(r).join(b),s=n.length;for(let l=0;l<s;l++){const e=n[l];if(e.validator(i))return e.classGroupId}},f=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const r=e.slice(1,-1),o=r.indexOf(":"),t=r.slice(0,o);return t?"arbitrary.."+t:void 0})(),k=e=>{const{theme:r,classGroups:o}=e;return v(o,r)},v=(e,r)=>{const o=m();for(const t in e){const a=e[t];y(a,o,t,r)}return o},y=(e,r,o,t)=>{const a=e.length;for(let n=0;n<a;n++){const a=e[n];w(a,r,o,t)}},w=(e,r,o,t)=>{"string"!=typeof e?"function"!=typeof e?C(e,r,o,t):z(e,r,o,t):x(e,r,o)},x=(e,r,o)=>{(""===e?r:E(r,e)).classGroupId=o},z=(e,r,o,t)=>{j(e)?y(e(t),r,o,t):(null===r.validators&&(r.validators=[]),r.validators.push(((e,r)=>({classGroupId:e,validator:r}))(o,e)))},C=(e,r,o,t)=>{const a=Object.entries(e),n=a.length;for(let i=0;i<n;i++){const[e,n]=a[i];y(n,E(r,e),o,t)}},E=(e,r)=>{let o=e;const t=r.split(b),a=t.length;for(let n=0;n<a;n++){const e=t[n];let r=o.nextPart.get(e);r||(r=m(),o.nextPart.set(e,r)),o=r}return o},j=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,N=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=/* @__PURE__ */Object.create(null),t=/* @__PURE__ */Object.create(null);const a=(a,n)=>{o[a]=n,r++,r>e&&(r=0,t=o,o=/* @__PURE__ */Object.create(null))};return{get(e){let r=o[e];return void 0!==r?r:void 0!==(r=t[e])?(a(e,r),r):void 0},set(e,r){e in o?o[e]=r:a(e,r)}}},M=[],G=(e,r,o,t,a)=>({modifiers:e,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:t,isExternal:a}),$=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=e=>{const r=[];let o,t=0,a=0,n=0;const i=e.length;for(let d=0;d<i;d++){const i=e[d];if(0===t&&0===a){if(":"===i){r.push(e.slice(n,d)),n=d+1;continue}if("/"===i){o=d;continue}}"["===i?t++:"]"===i?t--:"("===i?a++:")"===i&&a--}const s=0===r.length?e:e.slice(n);let l=s,c=!1;s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0);return G(r,c,l,o&&o>n?o-n:void 0)};if(r){const e=r+":",o=t;t=r=>r.startsWith(e)?o(r.slice(e.length)):G(M,!1,r,void 0,!0)}if(o){const e=t;t=r=>o({className:r,parseClassName:e})}return t},S=e=>{const r=/* @__PURE__ */new Map;return e.orderSensitiveModifiers.forEach((e,o)=>{r.set(e,1e6+o)}),e=>{const o=[];let t=[];for(let a=0;a<e.length;a++){const n=e[a],i="["===n[0],s=r.has(n);i||s?(t.length>0&&(t.sort(),o.push(...t),t=[]),o.push(n)):t.push(n)}return t.length>0&&(t.sort(),o.push(...t)),o}},I=/\s+/,T=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=T(e[t]))&&(o&&(o+=" "),o+=r);return o},L=[],O=e=>{const r=r=>r[e]||L;return r.isThemeGetter=!0,r},P=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,A=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,W=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_=/\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$/,B=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,D=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,R=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>A.test(e),F=e=>!!e&&!Number.isNaN(Number(e)),H=e=>!!e&&Number.isInteger(Number(e)),V=e=>e.endsWith("%")&&F(e.slice(0,-1)),J=e=>W.test(e),K=()=>!0,Q=e=>_.test(e)&&!B.test(e),X=()=>!1,Y=e=>D.test(e),Z=e=>R.test(e),ee=e=>!oe(e)&&!de(e),re=e=>ke(e,xe,X),oe=e=>P.test(e),te=e=>ke(e,ze,Q),ae=e=>ke(e,Ce,F),ne=e=>ke(e,je,K),ie=e=>ke(e,Ee,X),se=e=>ke(e,ye,X),le=e=>ke(e,we,Z),ce=e=>ke(e,Ne,Y),de=e=>q.test(e),pe=e=>ve(e,ze),me=e=>ve(e,Ee),be=e=>ve(e,ye),ue=e=>ve(e,xe),ge=e=>ve(e,we),he=e=>ve(e,Ne,!0),fe=e=>ve(e,je,!0),ke=(e,r,o)=>{const t=P.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},ve=(e,r,o=!1)=>{const t=q.exec(e);return!!t&&(t[1]?r(t[1]):o)},ye=e=>"position"===e||"percentage"===e,we=e=>"image"===e||"url"===e,xe=e=>"length"===e||"size"===e||"bg-size"===e,ze=e=>"length"===e,Ce=e=>"number"===e,Ee=e=>"family-name"===e,je=e=>"number"===e||"weight"===e,Ne=e=>"shadow"===e,Me=/* @__PURE__ */((e,...r)=>{let o,t,a,n;const i=e=>{const r=t(e);if(r)return r;const n=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:a,sortModifiers:n}=r,i=[],s=e.trim().split(I);let l="";for(let c=s.length-1;c>=0;c-=1){const e=s[c],{isExternal:r,modifiers:d,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:b}=o(e);if(r){l=e+(l.length>0?" "+l:l);continue}let u=!!b,g=t(u?m.substring(0,b):m);if(!g){if(!u){l=e+(l.length>0?" "+l:l);continue}if(g=t(m),!g){l=e+(l.length>0?" "+l:l);continue}u=!1}const h=0===d.length?"":1===d.length?d[0]:n(d).join(":"),f=p?h+"!":h,k=f+g;if(i.indexOf(k)>-1)continue;i.push(k);const v=a(g,u);for(let o=0;o<v.length;++o){const e=v[o];i.push(f+e)}l=e+(l.length>0?" "+l:l)}return l})(e,o);return a(e,n),n};return n=s=>{const l=r.reduce((e,r)=>r(e),e());return o=(e=>({cache:N(e.cacheSize),parseClassName:$(e),sortModifiers:S(e),...g(e)}))(l),t=o.cache.get,a=o.cache.set,n=i,i(s)},(...e)=>n(((...e)=>{let r,o,t=0,a="";for(;t<e.length;)(r=e[t++])&&(o=T(r))&&(a&&(a+=" "),a+=o);return a})(...e))})(()=>{const e=O("color"),r=O("font"),o=O("text"),t=O("font-weight"),a=O("tracking"),n=O("leading"),i=O("breakpoint"),s=O("container"),l=O("spacing"),c=O("radius"),d=O("shadow"),p=O("inset-shadow"),m=O("text-shadow"),b=O("drop-shadow"),u=O("blur"),g=O("perspective"),h=O("aspect"),f=O("ease"),k=O("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",de,oe],y=()=>[de,oe,l],w=()=>[U,"full","auto",...y()],x=()=>[H,"none","subgrid",de,oe],z=()=>["auto",{span:["full",H,de,oe]},H,de,oe],C=()=>[H,"auto",de,oe],E=()=>["auto","min","max","fr",de,oe],j=()=>["auto",...y()],N=()=>[U,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],M=()=>[U,"screen","full","dvw","lvw","svw","min","max","fit",...y()],G=()=>[U,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],$=()=>[e,de,oe],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",be,se,{position:[de,oe]}],I=()=>["auto","cover","contain",ue,re,{size:[de,oe]}],T=()=>[V,pe,te],L=()=>["","none","full",c,de,oe],P=()=>["",F,pe,te],q=()=>[F,V,be,se],A=()=>["","none",u,de,oe],W=()=>["none",F,de,oe],_=()=>["none",F,de,oe],B=()=>[F,de,oe],D=()=>[U,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[J],breakpoint:[J],color:[K],container:[J],"drop-shadow":[J],ease:["in","out","in-out"],font:[ee],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[J],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[J],shadow:[J],spacing:["px",F],text:[J],"text-shadow":[J],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",U,oe,de,h]}],container:["container"],columns:[{columns:[F,oe,de,s]}],"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"],sr:["sr-only","not-sr-only"],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:v()}],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:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[H,"auto",de,oe]}],basis:[{basis:[U,"full","auto",s,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[F,U,"auto","initial","none",oe]}],grow:[{grow:["",F,de,oe]}],shrink:[{shrink:["",F,de,oe]}],order:[{order:[H,"first","last","none",de,oe]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:z()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:z()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pbs:[{pbs:y()}],pbe:[{pbe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mbs:[{mbs:j()}],mbe:[{mbe:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],"inline-size":[{inline:["auto",...M()]}],"min-inline-size":[{"min-inline":["auto",...M()]}],"max-inline-size":[{"max-inline":["none",...M()]}],"block-size":[{block:["auto",...G()]}],"min-block-size":[{"min-block":["auto",...G()]}],"max-block-size":[{"max-block":["none",...G()]}],w:[{w:[s,"screen",...N()]}],"min-w":[{"min-w":[s,"screen","none",...N()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",o,pe,te]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,fe,ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",V,oe]}],"font-family":[{font:[me,ie,r]}],"font-features":[{"font-features":[oe]}],"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-fractions"],tracking:[{tracking:[a,de,oe]}],"line-clamp":[{"line-clamp":[F,"none",de,ae]}],leading:[{leading:[n,...y()]}],"list-image":[{"list-image":["none",de,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,oe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[F,"from-font","auto",de,te]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[F,"auto",de,oe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,oe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de,oe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:I()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H,de,oe],radial:["",de,oe],conic:[H,de,oe]},ge,le]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:P()}],"border-w-x":[{"border-x":P()}],"border-w-y":[{"border-y":P()}],"border-w-s":[{"border-s":P()}],"border-w-e":[{"border-e":P()}],"border-w-bs":[{"border-bs":P()}],"border-w-be":[{"border-be":P()}],"border-w-t":[{"border-t":P()}],"border-w-r":[{"border-r":P()}],"border-w-b":[{"border-b":P()}],"border-w-l":[{"border-l":P()}],"divide-x":[{"divide-x":P()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":P()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-bs":[{"border-bs":$()}],"border-color-be":[{"border-be":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[F,de,oe]}],"outline-w":[{outline:["",F,pe,te]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",d,he,ce]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",p,he,ce]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[F,te]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":P()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",m,he,ce]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[F,de,oe]}],"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-darker","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"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[F]}],"mask-image-linear-from-pos":[{"mask-linear-from":q()}],"mask-image-linear-to-pos":[{"mask-linear-to":q()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":q()}],"mask-image-t-to-pos":[{"mask-t-to":q()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":q()}],"mask-image-r-to-pos":[{"mask-r-to":q()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":q()}],"mask-image-b-to-pos":[{"mask-b-to":q()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":q()}],"mask-image-l-to-pos":[{"mask-l-to":q()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":q()}],"mask-image-x-to-pos":[{"mask-x-to":q()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":q()}],"mask-image-y-to-pos":[{"mask-y-to":q()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[de,oe]}],"mask-image-radial-from-pos":[{"mask-radial-from":q()}],"mask-image-radial-to-pos":[{"mask-radial-to":q()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[F]}],"mask-image-conic-from-pos":[{"mask-conic-from":q()}],"mask-image-conic-to-pos":[{"mask-conic-to":q()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:I()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",de,oe]}],filter:[{filter:["","none",de,oe]}],blur:[{blur:A()}],brightness:[{brightness:[F,de,oe]}],contrast:[{contrast:[F,de,oe]}],"drop-shadow":[{"drop-shadow":["","none",b,he,ce]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",F,de,oe]}],"hue-rotate":[{"hue-rotate":[F,de,oe]}],invert:[{invert:["",F,de,oe]}],saturate:[{saturate:[F,de,oe]}],sepia:[{sepia:["",F,de,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",de,oe]}],"backdrop-blur":[{"backdrop-blur":A()}],"backdrop-brightness":[{"backdrop-brightness":[F,de,oe]}],"backdrop-contrast":[{"backdrop-contrast":[F,de,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",F,de,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[F,de,oe]}],"backdrop-invert":[{"backdrop-invert":["",F,de,oe]}],"backdrop-opacity":[{"backdrop-opacity":[F,de,oe]}],"backdrop-saturate":[{"backdrop-saturate":[F,de,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",F,de,oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[F,"initial",de,oe]}],ease:[{ease:["linear","initial",f,de,oe]}],delay:[{delay:[F,de,oe]}],animate:[{animate:["none",k,de,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,de,oe]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:_()}],"scale-x":[{"scale-x":_()}],"scale-y":[{"scale-y":_()}],"scale-z":[{"scale-z":_()}],"scale-3d":["scale-3d"],skew:[{skew:B()}],"skew-x":[{"skew-x":B()}],"skew-y":[{"skew-y":B()}],transform:[{transform:[de,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:D()}],"translate-x":[{"translate-x":D()}],"translate-y":[{"translate-y":D()}],"translate-z":[{"translate-z":D()}],"translate-none":["translate-none"],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",de,oe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mbs":[{"scroll-mbs":y()}],"scroll-mbe":[{"scroll-mbe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pbs":[{"scroll-pbs":y()}],"scroll-pbe":[{"scroll-pbe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",de,oe]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[F,pe,te,ae]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Ge(...e){return Me(function(){for(var e,r,o=0,t="",a=arguments.length;o<a;o++)(e=arguments[o])&&(r=p(e))&&(t&&(t+=" "),t+=r);return t}(e))}const $e={primary:{circle:"stroke-neutral-primary opacity-25",path:"fill-neutral-primary",bg:"bg-brand-primary-600",text:"text-neutral-primary"},secondary:{circle:"stroke-brand-primary-300 opacity-100",path:"fill-brand-primary-900",bg:"bg-transparent",text:"text-brand-primary-900"},tertiary:{circle:"stroke-brand-primary-300 opacity-100",path:"fill-brand-primary-900",bg:"bg-transparent",text:"text-brand-primary-900"},link:{circle:"stroke-brand-primary-300 opacity-100",path:"fill-brand-primary-900",bg:"bg-transparent",text:"text-brand-primary-900"}},Se={primary:"bg-brand-primary-600 border-brand-primary-600 text-neutral-primary hover:bg-brand-primary-300 hover:border-brand-primary-900",secondary:"bg-transparent text-brand-primary-900 hover:bg-brand-primary-300 border-brand-primary-900",tertiary:"bg-transparent text-brand-primary-900 hover:bg-brand-primary-300 hover:border-brand-primary-300",link:"text-brand-primary-900 disabled:bg-transparent"},Ie={xs:"h-9 gap-1 rounded-lg px-3 text-sm",sm:"h-10 rounded-lg gap-2 text-sm px-3",md:"h-12 px-5 text-base",lg:"h-14 rounded-lg text-base px-5","icon-xs":"size-9 rounded-md","icon-sm":"size-10","icon-md":"size-12","icon-lg":"size-14"};var Te=Object.defineProperty,Le=Object.getOwnPropertyDescriptor,Oe=(e,r,o,t)=>{for(var a,n=t>1?void 0:t?Le(r,o):r,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(t?a(r,o,n):a(n))||n);return t&&n&&Te(r,o,n),n};let Pe=class extends s{constructor(){super(...arguments),this.variant="primary",this.size="md",this.isLoading=!1,this.isDisabled=!1,this.loadingText="Aguarde..."}handleClick(e){if(this.isDisabled||this.isLoading)return e.preventDefault(),void e.stopPropagation();this.dispatchEvent(new CustomEvent("b8-click",{bubbles:!0,composed:!0,detail:{event:e}}))}render(){const e=$e[this.variant],r=this.isDisabled&&!this.isLoading,t=this.isLoading?`${e.bg} ${e.text} cursor-wait`:"",a=Ge('inline-flex items-center cursor-pointer justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-all border border-transparent border-solid [&_svg]:pointer-events-none [&_svg:not([class*="size-"])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-brand-primary-300 focus-visible:ring-[4px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',Se[this.variant],Ie[this.size],this.isLoading&&"relative text-transparent pointer-events-none",r&&"disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-transparent disabled:text-neutral-quartenary disabled:font-semibold disabled:bg-neutral-quinary",t);return o`
2
+ <button
3
+ class="${a}"
4
+ ?disabled="${r||this.isLoading}"
5
+ @click="${this.handleClick}"
6
+ data-slot="button"
7
+ data-variant="${this.variant}"
8
+ data-size="${this.size}"
9
+ >
10
+ ${this.isLoading?o`
11
+ <svg
12
+ class="animate-spin"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ fill="none"
15
+ viewBox="0 0 24 24"
16
+ >
17
+ <circle
18
+ class="opacity-25 ${e.circle}"
19
+ cx="12"
20
+ cy="12"
21
+ r="10"
22
+ stroke-width="4"
23
+ />
24
+ <path
25
+ class="opacity-75 ${e.path}"
26
+ d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
27
+ />
28
+ </svg>
29
+ ${this.loadingText}
30
+ `:o`<slot></slot>`}
31
+ </button>
32
+ `}};Oe([a({type:String})],Pe.prototype,"variant",2),Oe([a({type:String})],Pe.prototype,"size",2),Oe([a({type:Boolean,attribute:"loading"})],Pe.prototype,"isLoading",2),Oe([a({type:Boolean,attribute:"disabled"})],Pe.prototype,"isDisabled",2),Oe([a({type:String,attribute:"loading-text"})],Pe.prototype,"loadingText",2),Pe=Oe([n("b8-button")],Pe);const qe=(({react:e,tagName:r,elementClass:o,events:t,displayName:a})=>{const n=new Set(Object.keys(t??{})),i=e.forwardRef((a,i)=>{const s=e.useRef(/* @__PURE__ */new Map),c=e.useRef(null),p={},m={};for(const[e,r]of Object.entries(a))l.has(e)?p["className"===e?"class":e]=r:n.has(e)||e in o.prototype?m[e]=r:p[e]=r;return e.useLayoutEffect(()=>{if(null===c.current)return;const e=/* @__PURE__ */new Map;for(const r in m)d(c.current,r,a[r],s.current.get(r),t),s.current.delete(r),e.set(r,a[r]);for(const[r,o]of s.current)d(c.current,r,void 0,o,t);s.current=e}),e.useLayoutEffect(()=>{c.current?.removeAttribute("defer-hydration")},[]),p.suppressHydrationWarning=!0,e.createElement(r,{...p,ref:e.useCallback(e=>{c.current=e,"function"==typeof i?i(e):null!==i&&(i.current=e)},[i])})});return i.displayName=a??o.name,i})({tagName:"b8-button",elementClass:Pe,react:t});export{Pe as B8Button,qe as B8ButtonReact};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "beightone.ui-components",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "type": "module",
6
6
  "main": "dist/beightone-ui-components.js",
7
7
  "module": "dist/beightone-ui-components.js",
@@ -1,32 +0,0 @@
1
- import{LitElement as e,unsafeCSS as t,html as r}from"lit";import{property as o,customElement as n}from"lit/decorators.js";function a(e,t){for(var r=0;r<t.length;r++){const o=t[r];if("string"!=typeof o&&!Array.isArray(o))for(const t in o)if("default"!==t&&!(t in e)){const r=Object.getOwnPropertyDescriptor(o,t);r&&Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>o[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s,l={exports:{}},c={};function u(){if(s)return c;s=1;var e=/* @__PURE__ */Symbol.for("react.transitional.element"),t=/* @__PURE__ */Symbol.for("react.portal"),r=/* @__PURE__ */Symbol.for("react.fragment"),o=/* @__PURE__ */Symbol.for("react.strict_mode"),n=/* @__PURE__ */Symbol.for("react.profiler"),a=/* @__PURE__ */Symbol.for("react.consumer"),i=/* @__PURE__ */Symbol.for("react.context"),l=/* @__PURE__ */Symbol.for("react.forward_ref"),u=/* @__PURE__ */Symbol.for("react.suspense"),d=/* @__PURE__ */Symbol.for("react.memo"),p=/* @__PURE__ */Symbol.for("react.lazy"),f=/* @__PURE__ */Symbol.for("react.activity"),m=Symbol.iterator;var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function y(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function v(){}function w(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var k=w.prototype=new v;k.constructor=w,h(k,y.prototype),k.isPureReactComponent=!0;var x=Array.isArray;function _(){}var E={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function C(t,r,o){var n=o.ref;return{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:o}}function z(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var j=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,o={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return o[e]})):t.toString(36);var r,o}function R(r,o,n,a,i){var s=typeof r;"undefined"!==s&&"boolean"!==s||(r=null);var l,c,u=!1;if(null===r)u=!0;else switch(s){case"bigint":case"string":case"number":u=!0;break;case"object":switch(r.$$typeof){case e:case t:u=!0;break;case p:return R((u=r._init)(r._payload),o,n,a,i)}}if(u)return i=i(r),u=""===a?"."+O(r,0):a,x(i)?(n="",null!=u&&(n=u.replace(j,"$&/")+"/"),R(i,o,n,"",function(e){return e})):null!=i&&(z(i)&&(l=i,c=n+(null==i.key||r&&r.key===i.key?"":(""+i.key).replace(j,"$&/")+"/")+u,i=C(l.type,c,l.props)),o.push(i)),1;u=0;var d,f=""===a?".":a+":";if(x(r))for(var b=0;b<r.length;b++)u+=R(a=r[b],o,n,s=f+O(a,b),i);else if("function"==typeof(b=null===(d=r)||"object"!=typeof d?null:"function"==typeof(d=m&&d[m]||d["@@iterator"])?d:null))for(r=b.call(r),b=0;!(a=r.next()).done;)u+=R(a=a.value,o,n,s=f+O(a,b++),i);else if("object"===s){if("function"==typeof r.then)return R(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(_,_):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(r),o,n,a,i);throw o=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===o?"object with keys {"+Object.keys(r).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return u}function T(e,t,r){if(null==e)return e;var o=[],n=0;return R(e,o,"","",function(e){return t.call(r,e,n++)}),o}function $(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},M={map:T,forEach:function(e,t,r){T(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return T(e,function(){t++}),t},toArray:function(e){return T(e,function(e){return e})||[]},only:function(e){if(!z(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};return c.Activity=f,c.Children=M,c.Component=y,c.Fragment=r,c.Profiler=n,c.PureComponent=w,c.StrictMode=o,c.Suspense=u,c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,c.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},c.cache=function(e){return function(){return e.apply(null,arguments)}},c.cacheSignal=function(){return null},c.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var o=h({},e.props),n=e.key;if(null!=t)for(a in void 0!==t.key&&(n=""+t.key),t)!S.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(o[a]=t[a]);var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];o.children=i}return C(e.type,n,o)},c.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:a,_context:e},e},c.createElement=function(e,t,r){var o,n={},a=null;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&(n[o]=t[o]);var i=arguments.length-2;if(1===i)n.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];n.children=s}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===n[o]&&(n[o]=i[o]);return C(e,a,n)},c.createRef=function(){return{current:null}},c.forwardRef=function(e){return{$$typeof:l,render:e}},c.isValidElement=z,c.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:$}},c.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},c.startTransition=function(e){var t=E.T,r={};E.T=r;try{var o=e(),n=E.S;null!==n&&n(r,o),"object"==typeof o&&null!==o&&"function"==typeof o.then&&o.then(_,N)}catch(a){N(a)}finally{null!==t&&null!==r.types&&(t.types=r.types),E.T=t}},c.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},c.use=function(e){return E.H.use(e)},c.useActionState=function(e,t,r){return E.H.useActionState(e,t,r)},c.useCallback=function(e,t){return E.H.useCallback(e,t)},c.useContext=function(e){return E.H.useContext(e)},c.useDebugValue=function(){},c.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},c.useEffect=function(e,t){return E.H.useEffect(e,t)},c.useEffectEvent=function(e){return E.H.useEffectEvent(e)},c.useId=function(){return E.H.useId()},c.useImperativeHandle=function(e,t,r){return E.H.useImperativeHandle(e,t,r)},c.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},c.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},c.useMemo=function(e,t){return E.H.useMemo(e,t)},c.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},c.useReducer=function(e,t,r){return E.H.useReducer(e,t,r)},c.useRef=function(e){return E.H.useRef(e)},c.useState=function(e){return E.H.useState(e)},c.useSyncExternalStore=function(e,t,r){return E.H.useSyncExternalStore(e,t,r)},c.useTransition=function(){return E.H.useTransition()},c.version="19.2.4",c}var d,p,f={exports:{}};function m(){return d||(d=1,e=f,t=f.exports,"production"!==process.env.NODE_ENV&&function(){function r(e,t){Object.defineProperty(n.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}function o(e,t){var r=(e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass")+"."+t;V[r]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,e),V[r]=!0)}function n(e,t,r){this.props=e,this.context=t,this.refs=B,this.updater=r||F}function a(){}function i(e,t,r){this.props=e,this.context=t,this.refs=B,this.updater=r||F}function s(){}function l(e){return""+e}function c(e){try{l(e);var t=!1}catch(n){t=!0}if(t){var r=(t=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),l(e)}}function u(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===X?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case $:return"Fragment";case M:return"Profiler";case N:return"StrictMode";case L:return"Suspense";case H:return"SuspenseList";case U:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case T:return"Portal";case P:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case D:return null!==(t=e.displayName||null)?t:u(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return u(e(t))}catch(r){}}return null}function d(e){if(e===$)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===q)return"<...>";try{var t=u(e);return t?"<"+t+">":"<...>"}catch(r){return"<...>"}}function p(){var e=Z.A;return null===e?null:e.getOwner()}function f(){return Error("react-stack-top-frame")}function m(e){if(ee.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function b(){var e=u(this.type);return re[e]||(re[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function h(e,t,r,o,n,a){var i=r.ref;return e={$$typeof:R,type:e,key:t,props:r,_owner:o},null!==(void 0!==i?i:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:b}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:n}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function g(e){y(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===q&&("fulfilled"===e._payload.status?y(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function y(e){return"object"==typeof e&&null!==e&&e.$$typeof===R}function v(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(c(e.key),r=""+e.key,o={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return o[e]})):t.toString(36);var r,o}function w(e,t,r,o,n){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i,l,u,d=!1;if(null===e)d=!0;else switch(a){case"bigint":case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case R:case T:d=!0;break;case q:return w((d=e._init)(e._payload),t,r,o,n)}}if(d){n=n(d=e);var p=""===o?"."+v(d,0):o;return J(n)?(r="",null!=p&&(r=p.replace(ie,"$&/")+"/"),w(n,t,r,"",function(e){return e})):null!=n&&(y(n)&&(null!=n.key&&(d&&d.key===n.key||c(n.key)),i=n,l=r+(null==n.key||d&&d.key===n.key?"":(""+n.key).replace(ie,"$&/")+"/")+p,l=h(i.type,l,i.props,i._owner,i._debugStack,i._debugTask),i._store&&(l._store.validated=i._store.validated),r=l,""!==o&&null!=d&&y(d)&&null==d.key&&d._store&&!d._store.validated&&(r._store.validated=2),n=r),t.push(n)),1}if(d=0,p=""===o?".":o+":",J(e))for(var f=0;f<e.length;f++)d+=w(o=e[f],t,r,a=p+v(o,f),n);else if("function"==typeof(f=null===(u=e)||"object"!=typeof u?null:"function"==typeof(u=G&&u[G]||u["@@iterator"])?u:null))for(f===e.entries&&(ae||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ae=!0),e=f.call(e),f=0;!(o=e.next()).done;)d+=w(o=o.value,t,r,a=p+v(o,f++),n);else if("object"===a){if("function"==typeof e.then)return w(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(s,s):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,r,o,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return d}function k(e,t,r){if(null==e)return e;var o=[],n=0;return w(e,o,"","",function(e){return t.call(r,e,n++)}),o}function x(e){if(-1===e._status){var t=e._ioInfo;null!=t&&(t.start=t.end=performance.now());var r=(t=e._result)();if(r.then(function(t){if(0===e._status||-1===e._status){e._status=1,e._result=t;var o=e._ioInfo;null!=o&&(o.end=performance.now()),void 0===r.status&&(r.status="fulfilled",r.value=t)}},function(t){if(0===e._status||-1===e._status){e._status=2,e._result=t;var o=e._ioInfo;null!=o&&(o.end=performance.now()),void 0===r.status&&(r.status="rejected",r.reason=t)}}),null!=(t=e._ioInfo)){t.value=r;var o=r.displayName;"string"==typeof o&&(t.name=o)}-1===e._status&&(e._status=0,e._result=r)}if(1===e._status)return void 0===(t=e._result)&&console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",t),"default"in t||console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),t.default;throw e._result}function _(){var e=Z.H;return null===e&&console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}function E(){Z.asyncTransitions--}function S(t){if(null===ce)try{var r=("require"+Math.random()).slice(0,7);ce=(e&&e[r]).call(e,"timers").setImmediate}catch(o){ce=function(e){!1===le&&(le=!0,"undefined"==typeof MessageChannel&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return ce(t)}function C(e){return 1<e.length&&"function"==typeof AggregateError?new AggregateError(e):e[0]}function z(e,t){t!==ue-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ue=t}function j(e,t,r){var o=Z.actQueue;if(null!==o)if(0!==o.length)try{return O(o),void S(function(){return j(e,t,r)})}catch(n){Z.thrownErrors.push(n)}else Z.actQueue=null;0<Z.thrownErrors.length?(o=C(Z.thrownErrors),Z.thrownErrors.length=0,r(o)):t(e)}function O(e){if(!pe){pe=!0;var t=0;try{for(;t<e.length;t++)for(var r=e[t];;){Z.didUsePromise=!1;var o=r(!1);if(null===o)break;if(Z.didUsePromise)return e[t]=r,void e.splice(0,t);r=o}e.length=0}catch(n){e.splice(0,t+1),Z.thrownErrors.push(n)}finally{pe=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var R=/* @__PURE__ */Symbol.for("react.transitional.element"),T=/* @__PURE__ */Symbol.for("react.portal"),$=/* @__PURE__ */Symbol.for("react.fragment"),N=/* @__PURE__ */Symbol.for("react.strict_mode"),M=/* @__PURE__ */Symbol.for("react.profiler"),I=/* @__PURE__ */Symbol.for("react.consumer"),P=/* @__PURE__ */Symbol.for("react.context"),A=/* @__PURE__ */Symbol.for("react.forward_ref"),L=/* @__PURE__ */Symbol.for("react.suspense"),H=/* @__PURE__ */Symbol.for("react.suspense_list"),D=/* @__PURE__ */Symbol.for("react.memo"),q=/* @__PURE__ */Symbol.for("react.lazy"),U=/* @__PURE__ */Symbol.for("react.activity"),G=Symbol.iterator,V={},F={isMounted:function(){return!1},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e){o(e,"replaceState")},enqueueSetState:function(e){o(e,"setState")}},W=Object.assign,B={};Object.freeze(B),n.prototype.isReactComponent={},n.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Y={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(me in Y)Y.hasOwnProperty(me)&&r(me,Y[me]);a.prototype=n.prototype,(Y=i.prototype=new a).constructor=i,W(Y,n.prototype),Y.isPureReactComponent=!0;var Q,K,J=Array.isArray,X=/* @__PURE__ */Symbol.for("react.client.reference"),Z={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ee=Object.prototype.hasOwnProperty,te=console.createTask?console.createTask:function(){return null},re={},oe=(Y={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(Y,f)(),ne=te(d(f)),ae=!1,ie=/\/+/g,se="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},le=!1,ce=null,ue=0,de=!1,pe=!1,fe="function"==typeof queueMicrotask?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:S;Y=Object.freeze({__proto__:null,c:function(e){return _().useMemoCache(e)}});var me={map:k,forEach:function(e,t,r){k(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(e){return e})||[]},only:function(e){if(!y(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=U,t.Children=me,t.Component=n,t.Fragment=$,t.Profiler=M,t.PureComponent=i,t.StrictMode=N,t.Suspense=L,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,t.__COMPILER_RUNTIME=Y,t.act=function(e){var t=Z.actQueue,r=ue;ue++;var o=Z.actQueue=null!==t?t:[],n=!1;try{var a=e()}catch(l){Z.thrownErrors.push(l)}if(0<Z.thrownErrors.length)throw z(0,r),e=C(Z.thrownErrors),Z.thrownErrors.length=0,e;if(null!==a&&"object"==typeof a&&"function"==typeof a.then){var i=a;return fe(function(){n||de||(de=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(e,t){n=!0,i.then(function(n){if(z(0,r),0===r){try{O(o),S(function(){return j(n,e,t)})}catch(i){Z.thrownErrors.push(i)}if(0<Z.thrownErrors.length){var a=C(Z.thrownErrors);Z.thrownErrors.length=0,t(a)}}else e(n)},function(e){z(0,r),0<Z.thrownErrors.length?(e=C(Z.thrownErrors),Z.thrownErrors.length=0,t(e)):t(e)})}}}var s=a;if(z(0,r),0===r&&(O(o),0!==o.length&&fe(function(){n||de||(de=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Z.actQueue=null),0<Z.thrownErrors.length)throw e=C(Z.thrownErrors),Z.thrownErrors.length=0,e;return{then:function(e,t){n=!0,0===r?(Z.actQueue=o,S(function(){return j(s,e,t)})):e(s)}}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.captureOwnerStack=function(){var e=Z.getCurrentStack;return null===e?null:e()},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var o,n=W({},e.props),a=e.key,i=e._owner;if(null!=t)for(s in(o=!(ee.call(t,"ref")&&(o=Object.getOwnPropertyDescriptor(t,"ref").get)&&o.isReactWarning)&&void 0!==t.ref)&&(i=p()),m(t)&&(c(t.key),a=""+t.key),t)!ee.call(t,s)||"key"===s||"__self"===s||"__source"===s||"ref"===s&&void 0===t.ref||(n[s]=t[s]);var s=arguments.length-2;if(1===s)n.children=r;else if(1<s){o=Array(s);for(var l=0;l<s;l++)o[l]=arguments[l+2];n.children=o}for(n=h(e.type,a,n,i,e._debugStack,e._debugTask),a=2;a<arguments.length;a++)g(arguments[a]);return n},t.createContext=function(e){return(e={$$typeof:P,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:I,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},t.createElement=function(e,t,r){for(var o=2;o<arguments.length;o++)g(arguments[o]);o={};var n=null;if(null!=t)for(l in K||!("__self"in t)||"key"in t||(K=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),m(t)&&(c(t.key),n=""+t.key),t)ee.call(t,l)&&"key"!==l&&"__self"!==l&&"__source"!==l&&(o[l]=t[l]);var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];Object.freeze&&Object.freeze(i),o.children=i}if(e&&e.defaultProps)for(l in a=e.defaultProps)void 0===o[l]&&(o[l]=a[l]);n&&function(e,t){function r(){Q||(Q=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e);var l=1e4>Z.recentlyCreatedOwnerStacks++;return h(e,n,o,p(),l?Error("react-stack-top-frame"):oe,l?te(d(e)):ne)},t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===D?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?console.error("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&null!=e.defaultProps&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var t,r={$$typeof:A,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(Object.defineProperty(e,"name",{value:r}),e.displayName=r)}}),r},t.isValidElement=y,t.lazy=function(e){var t={$$typeof:q,_payload:e={_status:-1,_result:e},_init:x},r={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return e._ioInfo=r,t._debugInfo=[{awaited:r}],t},t.memo=function(e,t){var r;return null==e&&console.error("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),t={$$typeof:D,type:e,compare:void 0===t?null:t},Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},t.startTransition=function(e){var t=Z.T,r={};r._updatedFibers=/* @__PURE__ */new Set,Z.T=r;try{var o=e(),n=Z.S;null!==n&&n(r,o),"object"==typeof o&&null!==o&&"function"==typeof o.then&&(Z.asyncTransitions++,o.then(E,E),o.then(s,se))}catch(a){se(a)}finally{null===t&&r._updatedFibers&&(e=r._updatedFibers.size,r._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),null!==t&&null!==r.types&&(null!==t.types&&t.types!==r.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),t.types=r.types),Z.T=t}},t.unstable_useCacheRefresh=function(){return _().useCacheRefresh()},t.use=function(e){return _().use(e)},t.useActionState=function(e,t,r){return _().useActionState(e,t,r)},t.useCallback=function(e,t){return _().useCallback(e,t)},t.useContext=function(e){var t=_();return e.$$typeof===I&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),t.useContext(e)},t.useDebugValue=function(e,t){return _().useDebugValue(e,t)},t.useDeferredValue=function(e,t){return _().useDeferredValue(e,t)},t.useEffect=function(e,t){return null==e&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),_().useEffect(e,t)},t.useEffectEvent=function(e){return _().useEffectEvent(e)},t.useId=function(){return _().useId()},t.useImperativeHandle=function(e,t,r){return _().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return null==e&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),_().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return null==e&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),_().useLayoutEffect(e,t)},t.useMemo=function(e,t){return _().useMemo(e,t)},t.useOptimistic=function(e,t){return _().useOptimistic(e,t)},t.useReducer=function(e,t,r){return _().useReducer(e,t,r)},t.useRef=function(e){return _().useRef(e)},t.useState=function(e){return _().useState(e)},t.useSyncExternalStore=function(e,t,r){return _().useSyncExternalStore(e,t,r)},t.useTransition=function(){return _().useTransition()},t.version="19.2.4","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),f.exports;var e,t}var b=(p||(p=1,"production"===process.env.NODE_ENV?l.exports=u():l.exports=m()),l.exports);const h=/* @__PURE__ */a({__proto__:null,default:/* @__PURE__ */i(b)},[b]),g=class extends e{};g.styles=[t("@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-primary-300:#ceff84;--color-brand-primary-600:#97df2b;--color-brand-primary-900:#4a7902;--color-brand-secondary-300:#b68bff;--color-brand-secondary-700:#6947a0;--color-universal-green-300:#86efac;--color-universal-green-400:#4ade80;--color-universal-green-700:#15803d;--color-universal-green-800:#166534;--color-universal-neutral-0:#fff;--color-universal-neutral-200:#e5e5e5;--color-universal-neutral-400:#a3a3a3;--color-universal-neutral-500:#737373;--color-universal-neutral-600:#525252;--color-universal-neutral-950:#0a0a0a;--color-universal-red-400:#f87171;--color-universal-red-600:#dc2626;--color-neutral-primary:var(--color-universal-neutral-950);--color-neutral-quartenary:var(--color-universal-neutral-400);--color-neutral-quinary:var(--color-universal-neutral-200)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}}:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dark]:checked),[data-theme=dark]{color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root{--fx-noise:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E\");scrollbar-color:currentColor #0000}@supports (color:color-mix(in lab,red,red)){:root{scrollbar-color:color-mix(in oklch,currentColor 35%,#0000) #0000}}@property --radialprogress{syntax:\"<percentage>\";inherits:true;initial-value:0%}:root:not(span){overflow:var(--page-overflow)}:root{background:var(--page-scroll-bg,var(--root-bg));--page-scroll-bg-on:linear-gradient(var(--root-bg,#0000), var(--root-bg,#0000)) var(--root-bg,#0000)}@supports (color:color-mix(in lab,red,red)){:root{--page-scroll-bg-on:linear-gradient(var(--root-bg,#0000), var(--root-bg,#0000)) color-mix(in srgb, var(--root-bg,#0000), oklch(0% 0 0) calc(var(--page-has-backdrop,0) * 40%))}}:root{--page-scroll-transition-on:background-color .3s ease-out;transition:var(--page-scroll-transition);scrollbar-gutter:var(--page-scroll-gutter,unset);scrollbar-gutter:if(style(--page-has-scroll: 1): var(--page-scroll-gutter,unset) ; else: unset)}@keyframes set-page-has-scroll{0%,to{--page-has-scroll:1}}:root,[data-theme]{background:var(--page-scroll-bg,var(--root-bg));color:var(--color-base-content)}:where(:root,[data-theme]){--root-bg:var(--color-base-100)}}@layer components;@layer utilities{@layer daisyui.l1.l2.l3{.loading{pointer-events:none;aspect-ratio:1;vertical-align:middle;width:calc(var(--size-selector,.25rem) * 6);background-color:currentColor;display:inline-block;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E\");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.link{cursor:pointer;text-decoration-line:underline}.link:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.link:focus{outline-offset:2px;outline:2px solid #0000}}.link:focus-visible{outline-offset:2px;outline:2px solid}}.pointer-events-none{pointer-events:none}.relative{position:relative}.static{position:static}.inline-flex{display:inline-flex}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.shrink-0{flex-shrink:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-brand-primary-600{border-color:var(--color-brand-primary-600)}.border-brand-primary-900{border-color:var(--color-brand-primary-900)}.border-transparent{border-color:#0000}.bg-brand-primary-600{background-color:var(--color-brand-primary-600)}.bg-transparent{background-color:#0000}.fill-brand-primary-900{fill:var(--color-brand-primary-900)}.fill-neutral-primary{fill:var(--color-neutral-primary)}.stroke-brand-primary-300{stroke:var(--color-brand-primary-300)}.stroke-neutral-primary{stroke:var(--color-neutral-primary)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-5{padding-inline:calc(var(--spacing) * 5)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.whitespace-nowrap{white-space:nowrap}.text-brand-primary-900{color:var(--color-brand-primary-900)}.text-neutral-primary{color:var(--color-neutral-primary)}.text-transparent{color:#0000}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.opacity-100{opacity:1}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.hover\\:border-brand-primary-300:hover{border-color:var(--color-brand-primary-300)}.hover\\:border-brand-primary-900:hover{border-color:var(--color-brand-primary-900)}.hover\\:bg-brand-primary-300:hover{background-color:var(--color-brand-primary-300)}}.focus-visible\\:ring-\\[4px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-brand-primary-300:focus-visible{--tw-ring-color:var(--color-brand-primary-300)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-transparent:disabled{border-color:#0000}.disabled\\:bg-neutral-quinary:disabled{background-color:var(--color-neutral-quinary)}.disabled\\:bg-transparent:disabled{background-color:#0000}.disabled\\:font-semibold:disabled{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.disabled\\:text-neutral-quartenary:disabled{color:var(--color-neutral-quartenary)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\\"size-\\\"\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}}@keyframes rating{0%,40%{filter:brightness(1.05)contrast(1.05);scale:1.1}}@keyframes dropdown{0%{opacity:0}}@keyframes radio{0%{padding:5px}50%{padding:3px}}@keyframes toast{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes rotator{89.9999%,to{--first-item-position:0 0%}90%,99.9999%{--first-item-position:0 calc(var(--items) * 100%)}to{translate:0 -100%}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}@keyframes menu{0%{opacity:0}}@keyframes progress{50%{background-position-x:-115%}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@keyframes spin{to{transform:rotate(360deg)}}")];let y=g;const v=/* @__PURE__ */new Set(["children","localName","ref","style","className"]),w=/* @__PURE__ */new WeakMap,k=(e,t,r,o,n)=>{const a=n?.[t];void 0===a?(e[t]=r,null==r&&t in HTMLElement.prototype&&e.removeAttribute(t)):r!==o&&((e,t,r)=>{let o=w.get(e);void 0===o&&w.set(e,o=/* @__PURE__ */new Map);let n=o.get(t);void 0!==r?void 0===n?(o.set(t,n={handleEvent:r}),e.addEventListener(t,n)):n.handleEvent=r:void 0!==n&&(o.delete(t),e.removeEventListener(t,n))})(e,a,r)};function x(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=x(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}const _=(e=/* @__PURE__ */new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),E="-",S=[],C=e=>{const t=O(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return j(e);const r=e.split(E),o=""===r[0]&&r.length>1?1:0;return z(r,o,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=o[e],n=r[e];return t?n?((e,t)=>{const r=new Array(e.length+t.length);for(let o=0;o<e.length;o++)r[o]=e[o];for(let o=0;o<t.length;o++)r[e.length+o]=t[o];return r})(n,t):t:n||S}return r[e]||S}}},z=(e,t,r)=>{if(0===e.length-t)return r.classGroupId;const o=e[t],n=r.nextPart.get(o);if(n){const r=z(e,t+1,n);if(r)return r}const a=r.validators;if(null===a)return;const i=0===t?e.join(E):e.slice(t).join(E),s=a.length;for(let l=0;l<s;l++){const e=a[l];if(e.validator(i))return e.classGroupId}},j=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),o=t.slice(0,r);return o?"arbitrary.."+o:void 0})(),O=e=>{const{theme:t,classGroups:r}=e;return R(r,t)},R=(e,t)=>{const r=_();for(const o in e){const n=e[o];T(n,r,o,t)}return r},T=(e,t,r,o)=>{const n=e.length;for(let a=0;a<n;a++){const n=e[a];$(n,t,r,o)}},$=(e,t,r,o)=>{"string"!=typeof e?"function"!=typeof e?I(e,t,r,o):M(e,t,r,o):N(e,t,r)},N=(e,t,r)=>{(""===e?t:P(t,e)).classGroupId=r},M=(e,t,r,o)=>{A(e)?T(e(o),t,r,o):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(r,e)))},I=(e,t,r,o)=>{const n=Object.entries(e),a=n.length;for(let i=0;i<a;i++){const[e,a]=n[i];T(a,P(t,e),r,o)}},P=(e,t)=>{let r=e;const o=t.split(E),n=o.length;for(let a=0;a<n;a++){const e=o[a];let t=r.nextPart.get(e);t||(t=_(),r.nextPart.set(e,t)),r=t}return r},A=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,L=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=/* @__PURE__ */Object.create(null),o=/* @__PURE__ */Object.create(null);const n=(n,a)=>{r[n]=a,t++,t>e&&(t=0,o=r,r=/* @__PURE__ */Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=o[e])?(n(e,t),t):void 0},set(e,t){e in r?r[e]=t:n(e,t)}}},H=[],D=(e,t,r,o,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:o,isExternal:n}),q=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=e=>{const t=[];let r,o=0,n=0,a=0;const i=e.length;for(let u=0;u<i;u++){const i=e[u];if(0===o&&0===n){if(":"===i){t.push(e.slice(a,u)),a=u+1;continue}if("/"===i){r=u;continue}}"["===i?o++:"]"===i?o--:"("===i?n++:")"===i&&n--}const s=0===t.length?e:e.slice(a);let l=s,c=!1;s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0);return D(t,c,l,r&&r>a?r-a:void 0)};if(t){const e=t+":",r=o;o=t=>t.startsWith(e)?r(t.slice(e.length)):D(H,!1,t,void 0,!0)}if(r){const e=o;o=t=>r({className:t,parseClassName:e})}return o},U=e=>{const t=/* @__PURE__ */new Map;return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{const r=[];let o=[];for(let n=0;n<e.length;n++){const a=e[n],i="["===a[0],s=t.has(a);i||s?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(a)):o.push(a)}return o.length>0&&(o.sort(),r.push(...o)),r}},G=/\s+/,V=e=>{if("string"==typeof e)return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=V(e[o]))&&(r&&(r+=" "),r+=t);return r},F=[],W=e=>{const t=t=>t[e]||F;return t.isThemeGetter=!0,t},B=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Y=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Q=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,K=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,J=/\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$/,X=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Z=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,te=e=>Q.test(e),re=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>!!e&&Number.isInteger(Number(e)),ne=e=>e.endsWith("%")&&re(e.slice(0,-1)),ae=e=>K.test(e),ie=()=>!0,se=e=>J.test(e)&&!X.test(e),le=()=>!1,ce=e=>Z.test(e),ue=e=>ee.test(e),de=e=>!fe(e)&&!ke(e),pe=e=>Oe(e,Ne,le),fe=e=>B.test(e),me=e=>Oe(e,Me,se),be=e=>Oe(e,Ie,re),he=e=>Oe(e,Ae,ie),ge=e=>Oe(e,Pe,le),ye=e=>Oe(e,Te,le),ve=e=>Oe(e,$e,ue),we=e=>Oe(e,Le,ce),ke=e=>Y.test(e),xe=e=>Re(e,Me),_e=e=>Re(e,Pe),Ee=e=>Re(e,Te),Se=e=>Re(e,Ne),Ce=e=>Re(e,$e),ze=e=>Re(e,Le,!0),je=e=>Re(e,Ae,!0),Oe=(e,t,r)=>{const o=B.exec(e);return!!o&&(o[1]?t(o[1]):r(o[2]))},Re=(e,t,r=!1)=>{const o=Y.exec(e);return!!o&&(o[1]?t(o[1]):r)},Te=e=>"position"===e||"percentage"===e,$e=e=>"image"===e||"url"===e,Ne=e=>"length"===e||"size"===e||"bg-size"===e,Me=e=>"length"===e,Ie=e=>"number"===e,Pe=e=>"family-name"===e,Ae=e=>"number"===e||"weight"===e,Le=e=>"shadow"===e,He=/* @__PURE__ */((e,...t)=>{let r,o,n,a;const i=e=>{const t=o(e);if(t)return t;const a=((e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:a}=t,i=[],s=e.trim().split(G);let l="";for(let c=s.length-1;c>=0;c-=1){const e=s[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=r(e);if(t){l=e+(l.length>0?" "+l:l);continue}let m=!!f,b=o(m?p.substring(0,f):p);if(!b){if(!m){l=e+(l.length>0?" "+l:l);continue}if(b=o(p),!b){l=e+(l.length>0?" "+l:l);continue}m=!1}const h=0===u.length?"":1===u.length?u[0]:a(u).join(":"),g=d?h+"!":h,y=g+b;if(i.indexOf(y)>-1)continue;i.push(y);const v=n(b,m);for(let r=0;r<v.length;++r){const e=v[r];i.push(g+e)}l=e+(l.length>0?" "+l:l)}return l})(e,r);return n(e,a),a};return a=s=>{const l=t.reduce((e,t)=>t(e),e());return r=(e=>({cache:L(e.cacheSize),parseClassName:q(e),sortModifiers:U(e),...C(e)}))(l),o=r.cache.get,n=r.cache.set,a=i,i(s)},(...e)=>a(((...e)=>{let t,r,o=0,n="";for(;o<e.length;)(t=e[o++])&&(r=V(t))&&(n&&(n+=" "),n+=r);return n})(...e))})(()=>{const e=W("color"),t=W("font"),r=W("text"),o=W("font-weight"),n=W("tracking"),a=W("leading"),i=W("breakpoint"),s=W("container"),l=W("spacing"),c=W("radius"),u=W("shadow"),d=W("inset-shadow"),p=W("text-shadow"),f=W("drop-shadow"),m=W("blur"),b=W("perspective"),h=W("aspect"),g=W("ease"),y=W("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ke,fe],w=()=>[ke,fe,l],k=()=>[te,"full","auto",...w()],x=()=>[oe,"none","subgrid",ke,fe],_=()=>["auto",{span:["full",oe,ke,fe]},oe,ke,fe],E=()=>[oe,"auto",ke,fe],S=()=>["auto","min","max","fr",ke,fe],C=()=>["auto",...w()],z=()=>[te,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],j=()=>[te,"screen","full","dvw","lvw","svw","min","max","fit",...w()],O=()=>[te,"screen","full","lh","dvh","lvh","svh","min","max","fit",...w()],R=()=>[e,ke,fe],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ee,ye,{position:[ke,fe]}],$=()=>["auto","cover","contain",Se,pe,{size:[ke,fe]}],N=()=>[ne,xe,me],M=()=>["","none","full",c,ke,fe],I=()=>["",re,xe,me],P=()=>[re,ne,Ee,ye],A=()=>["","none",m,ke,fe],L=()=>["none",re,ke,fe],H=()=>["none",re,ke,fe],D=()=>[re,ke,fe],q=()=>[te,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ae],breakpoint:[ae],color:[ie],container:[ae],"drop-shadow":[ae],ease:["in","out","in-out"],font:[de],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ae],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ae],shadow:[ae],spacing:["px",re],text:[ae],"text-shadow":[ae],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",te,fe,ke,h]}],container:["container"],columns:[{columns:[re,fe,ke,s]}],"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"],sr:["sr-only","not-sr-only"],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:v()}],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:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[oe,"auto",ke,fe]}],basis:[{basis:[te,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[re,te,"auto","initial","none",fe]}],grow:[{grow:["",re,ke,fe]}],shrink:[{shrink:["",re,ke,fe]}],order:[{order:[oe,"first","last","none",ke,fe]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":S()}],"auto-rows":[{"auto-rows":S()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mbs:[{mbs:C()}],mbe:[{mbe:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],"inline-size":[{inline:["auto",...j()]}],"min-inline-size":[{"min-inline":["auto",...j()]}],"max-inline-size":[{"max-inline":["none",...j()]}],"block-size":[{block:["auto",...O()]}],"min-block-size":[{"min-block":["auto",...O()]}],"max-block-size":[{"max-block":["none",...O()]}],w:[{w:[s,"screen",...z()]}],"min-w":[{"min-w":[s,"screen","none",...z()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",r,xe,me]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,je,he]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ne,fe]}],"font-family":[{font:[_e,ge,t]}],"font-features":[{"font-features":[fe]}],"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-fractions"],tracking:[{tracking:[n,ke,fe]}],"line-clamp":[{"line-clamp":[re,"none",ke,be]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",ke,fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ke,fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[re,"from-font","auto",ke,me]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[re,"auto",ke,fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ke,fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ke,fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},oe,ke,fe],radial:["",ke,fe],conic:[oe,ke,fe]},Ce,ve]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"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-bs":[{"border-bs":I()}],"border-w-be":[{"border-be":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()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":I()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-bs":[{"border-bs":R()}],"border-color-be":[{"border-be":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[re,ke,fe]}],"outline-w":[{outline:["",re,xe,me]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",u,ze,we]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",d,ze,we]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[re,me]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",p,ze,we]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[re,ke,fe]}],"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-darker","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"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[re]}],"mask-image-linear-from-pos":[{"mask-linear-from":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[ke,fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[re]}],"mask-image-conic-from-pos":[{"mask-conic-from":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ke,fe]}],filter:[{filter:["","none",ke,fe]}],blur:[{blur:A()}],brightness:[{brightness:[re,ke,fe]}],contrast:[{contrast:[re,ke,fe]}],"drop-shadow":[{"drop-shadow":["","none",f,ze,we]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",re,ke,fe]}],"hue-rotate":[{"hue-rotate":[re,ke,fe]}],invert:[{invert:["",re,ke,fe]}],saturate:[{saturate:[re,ke,fe]}],sepia:[{sepia:["",re,ke,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",ke,fe]}],"backdrop-blur":[{"backdrop-blur":A()}],"backdrop-brightness":[{"backdrop-brightness":[re,ke,fe]}],"backdrop-contrast":[{"backdrop-contrast":[re,ke,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",re,ke,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[re,ke,fe]}],"backdrop-invert":[{"backdrop-invert":["",re,ke,fe]}],"backdrop-opacity":[{"backdrop-opacity":[re,ke,fe]}],"backdrop-saturate":[{"backdrop-saturate":[re,ke,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",re,ke,fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ke,fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[re,"initial",ke,fe]}],ease:[{ease:["linear","initial",g,ke,fe]}],delay:[{delay:[re,ke,fe]}],animate:[{animate:["none",y,ke,fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,ke,fe]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:H()}],"scale-x":[{"scale-x":H()}],"scale-y":[{"scale-y":H()}],"scale-z":[{"scale-z":H()}],"scale-3d":["scale-3d"],skew:[{skew:D()}],"skew-x":[{"skew-x":D()}],"skew-y":[{"skew-y":D()}],transform:[{transform:[ke,fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:q()}],"translate-x":[{"translate-x":q()}],"translate-y":[{"translate-y":q()}],"translate-z":[{"translate-z":q()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",ke,fe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],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",ke,fe]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[re,xe,me,be]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function De(...e){return He(function(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=x(e))&&(o&&(o+=" "),o+=t);return o}(e))}const qe={primary:{circle:"stroke-neutral-primary opacity-25",path:"fill-neutral-primary",bg:"bg-brand-primary-600",text:"text-neutral-primary"},secondary:{circle:"stroke-brand-primary-300 opacity-100",path:"fill-brand-primary-900",bg:"bg-transparent",text:"text-brand-primary-900"},tertiary:{circle:"stroke-brand-primary-300 opacity-100",path:"fill-brand-primary-900",bg:"bg-transparent",text:"text-brand-primary-900"},link:{circle:"stroke-brand-primary-300 opacity-100",path:"fill-brand-primary-900",bg:"bg-transparent",text:"text-brand-primary-900"}},Ue={primary:"bg-brand-primary-600 border-brand-primary-600 text-neutral-primary hover:bg-brand-primary-300 hover:border-brand-primary-900",secondary:"bg-transparent text-brand-primary-900 hover:bg-brand-primary-300 border-brand-primary-900",tertiary:"bg-transparent text-brand-primary-900 hover:bg-brand-primary-300 hover:border-brand-primary-300",link:"text-brand-primary-900 disabled:bg-transparent"},Ge={xs:"h-9 gap-1 rounded-lg px-3 text-sm",sm:"h-10 rounded-lg gap-2 text-sm px-3",md:"h-12 px-5 text-base",lg:"h-14 rounded-lg text-base px-5","icon-xs":"size-9 rounded-md","icon-sm":"size-10","icon-md":"size-12","icon-lg":"size-14"};var Ve=Object.defineProperty,Fe=Object.getOwnPropertyDescriptor,We=(e,t,r,o)=>{for(var n,a=o>1?void 0:o?Fe(t,r):t,i=e.length-1;i>=0;i--)(n=e[i])&&(a=(o?n(t,r,a):n(a))||a);return o&&a&&Ve(t,r,a),a};let Be=class extends y{constructor(){super(...arguments),this.variant="primary",this.size="md",this.isLoading=!1,this.isDisabled=!1,this.loadingText="Aguarde..."}handleClick(e){if(this.isDisabled||this.isLoading)return e.preventDefault(),void e.stopPropagation();this.dispatchEvent(new CustomEvent("b8-click",{bubbles:!0,composed:!0,detail:{event:e}}))}render(){const e=qe[this.variant],t=this.isDisabled&&!this.isLoading,o=this.isLoading?`${e.bg} ${e.text} cursor-wait`:"",n=De('inline-flex items-center cursor-pointer justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-all border border-transparent border-solid [&_svg]:pointer-events-none [&_svg:not([class*="size-"])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-brand-primary-300 focus-visible:ring-[4px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',Ue[this.variant],Ge[this.size],this.isLoading&&"relative text-transparent pointer-events-none",t&&"disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-transparent disabled:text-neutral-quartenary disabled:font-semibold disabled:bg-neutral-quinary",o);return r`
2
- <button
3
- class="${n}"
4
- ?disabled="${t||this.isLoading}"
5
- @click="${this.handleClick}"
6
- data-slot="button"
7
- data-variant="${this.variant}"
8
- data-size="${this.size}"
9
- >
10
- ${this.isLoading?r`
11
- <svg
12
- class="animate-spin"
13
- xmlns="http://www.w3.org/2000/svg"
14
- fill="none"
15
- viewBox="0 0 24 24"
16
- >
17
- <circle
18
- class="opacity-25 ${e.circle}"
19
- cx="12"
20
- cy="12"
21
- r="10"
22
- stroke-width="4"
23
- />
24
- <path
25
- class="opacity-75 ${e.path}"
26
- d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
27
- />
28
- </svg>
29
- ${this.loadingText}
30
- `:r`<slot></slot>`}
31
- </button>
32
- `}};We([o({type:String})],Be.prototype,"variant",2),We([o({type:String})],Be.prototype,"size",2),We([o({type:Boolean,attribute:"loading"})],Be.prototype,"isLoading",2),We([o({type:Boolean,attribute:"disabled"})],Be.prototype,"isDisabled",2),We([o({type:String,attribute:"loading-text"})],Be.prototype,"loadingText",2),Be=We([n("b8-button")],Be);const Ye=(({react:e,tagName:t,elementClass:r,events:o,displayName:n})=>{const a=new Set(Object.keys(o??{})),i=e.forwardRef((n,i)=>{const s=e.useRef(/* @__PURE__ */new Map),l=e.useRef(null),c={},u={};for(const[e,t]of Object.entries(n))v.has(e)?c["className"===e?"class":e]=t:a.has(e)||e in r.prototype?u[e]=t:c[e]=t;return e.useLayoutEffect(()=>{if(null===l.current)return;const e=/* @__PURE__ */new Map;for(const t in u)k(l.current,t,n[t],s.current.get(t),o),s.current.delete(t),e.set(t,n[t]);for(const[t,r]of s.current)k(l.current,t,void 0,r,o);s.current=e}),e.useLayoutEffect(()=>{l.current?.removeAttribute("defer-hydration")},[]),c.suppressHydrationWarning=!0,e.createElement(t,{...c,ref:e.useCallback(e=>{l.current=e,"function"==typeof i?i(e):null!==i&&(i.current=e)},[i])})});return i.displayName=n??r.name,i})({tagName:"b8-button",elementClass:Be,react:h});export{Be as B8Button,Ye as B8ButtonReact};