@mci-ui/mci-ui 0.0.36 → 0.0.38
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.
- package/dist/index.css +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--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;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@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;--color-red-50:#fef2f2;--color-red-100:#fee2e2;--color-red-500:#fb2c36;--color-red-600:#e7000b;--color-red-700:#c10007;--color-red-800:#9f0712;--color-orange-50:#fff7ed;--color-orange-600:#f54a00;--color-yellow-50:#fefce8;--color-yellow-100:#fef9c3;--color-yellow-200:#fff085;--color-yellow-300:#ffdf20;--color-yellow-500:#efb100;--color-yellow-600:#d08700;--color-yellow-700:#a65f00;--color-green-50:#effdf5;--color-green-500:#00c16a;--color-green-600:#00a155;--color-blue-50:#eff6ff;--color-blue-100:#dbeafe;--color-blue-200:#bedbff;--color-blue-500:#2b7fff;--color-blue-600:#155dfc;--color-blue-700:#1447e6;--color-blue-800:#193cb8;--color-purple-500:oklch(62.7% .265 303.9);--color-slate-50:#f8fafc;--color-slate-100:#f1f5f9;--color-slate-200:#e2e8f0;--color-slate-300:#cad5e2;--color-slate-400:#90a1b9;--color-slate-500:#64748e;--color-slate-600:#45556c;--color-slate-700:#314158;--color-gray-500:oklch(55.1% .027 264.364);--color-black:#1d1f23;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:16px;--text-base--line-height: 1.5 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin .3s 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-slate-base:#62748e;--text-h3:32px;--text-small:14px;--text-extra-small:12px;--animate-fade-in:fadeIn .5s ease-in-out}}@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}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-1\.5{top:calc(var(--spacing)*1.5)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-full{top:100%}.right-1\.5{right:calc(var(--spacing)*1.5)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.right-8{right:calc(var(--spacing)*8)}.right-10{right:calc(var(--spacing)*10)}.right-16{right:calc(var(--spacing)*16)}.right-full{right:100%}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-0\.5{left:calc(var(--spacing)*.5)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.left-6{left:calc(var(--spacing)*6)}.left-full{left:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[9999\]{z-index:9999}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-6{margin:calc(var(--spacing)*6)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-6{margin-right:calc(var(--spacing)*6)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-6{margin-left:calc(var(--spacing)*6)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1{height:calc(var(--spacing)*1)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.w-1{width:calc(var(--spacing)*1)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-\[52px\]{width:52px}.w-\[300px\]{width:300px}.w-full{width:100%}.max-w-\[572px\]{max-width:572px}.max-w-\[720px\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\[calc\(100\%\+24px\)\]{--tw-translate-x: calc((100% + 24px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[calc\(100\%\+24px\)\]{--tw-translate-x: calc(100% + 24px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-50{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-45{rotate:45deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-\[fadeIn_0\.3s_ease-out\]{animation:.3s ease-out fadeIn}.animate-\[slideDown_0\.3s_ease-out\]{animation:.3s ease-out slideDown}.animate-fade-in{animation:var(--animate-fade-in)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-\[2px\]{gap:2px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-1{row-gap:calc(var(--spacing)*1)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-200>:not(:last-child)){border-color:var(--color-slate-200)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-400{border-color:var(--color-slate-400)}.border-slate-600{border-color:var(--color-slate-600)}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-black\/40{background-color:#1d1f2366}@supports (color:color-mix(in lab,red,red)){.bg-black\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-300{background-color:var(--color-slate-300)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-slate-600{background-color:var(--color-slate-600)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-gradient-to-l{--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-50\%{--tw-gradient-from-position:50%}.via-blue-50{--tw-gradient-via:var(--color-blue-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-50{--tw-gradient-to:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.stroke-\[2\.5px\]{stroke-width:2.5px}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-3\.5{padding-block:calc(var(--spacing)*3.5)}.py-4{padding-block:calc(var(--spacing)*4)}.py-20{padding-block:calc(var(--spacing)*20)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-7{padding-left:calc(var(--spacing)*7)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.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))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-extra-small{font-size:var(--text-extra-small)}.text-h3{font-size:var(--text-h3)}.text-small{font-size:var(--text-small)}.leading-9{--tw-leading:calc(var(--spacing)*9);line-height:calc(var(--spacing)*9)}.leading-10{--tw-leading:calc(var(--spacing)*10);line-height:calc(var(--spacing)*10)}.leading-12{--tw-leading:calc(var(--spacing)*12);line-height:calc(var(--spacing)*12)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-\[\#82828C\]{color:#82828c}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-500{color:var(--color-gray-500)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-orange-600{color:var(--color-orange-600)}.text-purple-500{color:var(--color-purple-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-base{color:var(--color-slate-base)}.text-transparent{color:#0000}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md{--tw-shadow:0 4px 8px 0 var(--tw-shadow-color,#00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\:scale-100:is(:where(.group):hover *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\:rotate-180:is(:where(.group):hover *){rotate:180deg}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\:delay-200:is(:where(.group):hover *){transition-delay:.2s}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-blue-600:hover{border-color:var(--color-blue-600)}.hover\:border-blue-700:hover{border-color:var(--color-blue-700)}.hover\:border-slate-200:hover{border-color:var(--color-slate-200)}.hover\:border-slate-400:hover{border-color:var(--color-slate-400)}.hover\:border-yellow-500:hover{border-color:var(--color-yellow-500)}.hover\:border-yellow-600:hover{border-color:var(--color-yellow-600)}.hover\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\:bg-transparent:hover{background-color:#0000}.hover\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\:bg-yellow-500:hover{background-color:var(--color-yellow-500)}.hover\:bg-yellow-600:hover{background-color:var(--color-yellow-600)}.hover\:text-black:hover{color:var(--color-black)}.hover\:text-blue-600:hover{color:var(--color-blue-600)}.hover\:text-blue-700:hover{color:var(--color-blue-700)}.hover\:text-slate-400:hover{color:var(--color-slate-400)}.hover\:text-slate-700:hover{color:var(--color-slate-700)}.hover\:text-yellow-500:hover{color:var(--color-yellow-500)}.hover\:text-yellow-600:hover{color:var(--color-yellow-600)}}.focus\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\:border-red-600:focus{border-color:var(--color-red-600)}.focus\:bg-transparent:focus{background-color:#0000}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + 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\:ring-\[rgba\(21\,93\,252\,0\.25\)\]:focus{--tw-ring-color:#155dfc40}.focus\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\:ring-yellow-200:focus{--tw-ring-color:var(--color-yellow-200)}.focus\:ring-yellow-300:focus{--tw-ring-color:var(--color-yellow-300)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:rotate-180:active{rotate:180deg}.active\:animate-spin:active{animation:var(--animate-spin)}.active\:border:active{border-style:var(--tw-border-style);border-width:1px}.active\:border-blue-600:active{border-color:var(--color-blue-600)}.active\:border-blue-800:active{border-color:var(--color-blue-800)}.active\:border-slate-200:active{border-color:var(--color-slate-200)}.active\:border-yellow-500:active{border-color:var(--color-yellow-500)}.active\:border-yellow-700:active{border-color:var(--color-yellow-700)}.active\:bg-blue-200:active{background-color:var(--color-blue-200)}.active\:bg-blue-800:active{background-color:var(--color-blue-800)}.active\:bg-red-800:active{background-color:var(--color-red-800)}.active\:bg-slate-200:active{background-color:var(--color-slate-200)}.active\:bg-slate-300:active{background-color:var(--color-slate-300)}.active\:bg-transparent:active{background-color:#0000}.active\:bg-yellow-100:active{background-color:var(--color-yellow-100)}.active\:bg-yellow-700:active{background-color:var(--color-yellow-700)}.active\:text-blue-800:active{color:var(--color-blue-800)}.active\:text-slate-400:active{color:var(--color-slate-400)}.active\:text-yellow-700:active{color:var(--color-yellow-700)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-slate-200:disabled{border-color:var(--color-slate-200)}.disabled\:bg-slate-100:disabled{background-color:var(--color-slate-100)}.disabled\:text-slate-400:disabled{color:var(--color-slate-400)}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:48rem){.md\:block{display:block}.md\:flex-row{flex-direction:row}}.shadow-red,.focus\:shadow-red:focus{box-shadow:0 0 0 2px #e7000b40}.focus\:shadow-blue:focus{box-shadow:0 0 0 2px #155dfc40}.focus\:shadow-slate:focus{box-shadow:0 0 0 2px #0f172a40}}ul,ol{list-style:none}input,textarea,button,select{outline:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes smooth-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.shimmer-mask{will-change:transform;background:linear-gradient(90deg,#0000,#ffffff59,#0000);animation:1.8s ease-in-out infinite smooth-shimmer}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
|
1
|
+
@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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--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;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@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;--color-red-50:#fef2f2;--color-red-100:#fee2e2;--color-red-500:#fb2c36;--color-red-600:#e7000b;--color-red-700:#c10007;--color-red-800:#9f0712;--color-orange-50:#fff7ed;--color-orange-600:#f54a00;--color-yellow-50:#fefce8;--color-yellow-100:#fef9c3;--color-yellow-200:#fff085;--color-yellow-300:#ffdf20;--color-yellow-500:#efb100;--color-yellow-600:#d08700;--color-yellow-700:#a65f00;--color-green-50:#effdf5;--color-green-500:#00c16a;--color-green-600:#00a155;--color-blue-50:#eff6ff;--color-blue-100:#dbeafe;--color-blue-200:#bedbff;--color-blue-500:#2b7fff;--color-blue-600:#155dfc;--color-blue-700:#1447e6;--color-blue-800:#193cb8;--color-purple-500:oklch(62.7% .265 303.9);--color-slate-50:#f8fafc;--color-slate-100:#f1f5f9;--color-slate-200:#e2e8f0;--color-slate-300:#cad5e2;--color-slate-400:#90a1b9;--color-slate-500:#64748e;--color-slate-600:#45556c;--color-slate-700:#314158;--color-gray-500:oklch(55.1% .027 264.364);--color-black:#1d1f23;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:16px;--text-base--line-height: 1.5 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin .3s 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-slate-base:#62748e;--text-h3:32px;--text-small:14px;--text-extra-small:12px;--animate-fade-in:fadeIn .5s ease-in-out}}@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}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-1\.5{top:calc(var(--spacing)*1.5)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-full{top:100%}.right-1\.5{right:calc(var(--spacing)*1.5)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.right-8{right:calc(var(--spacing)*8)}.right-10{right:calc(var(--spacing)*10)}.right-16{right:calc(var(--spacing)*16)}.right-full{right:100%}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-0\.5{left:calc(var(--spacing)*.5)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.left-6{left:calc(var(--spacing)*6)}.left-full{left:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[9999\]{z-index:9999}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-6{margin:calc(var(--spacing)*6)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-6{margin-right:calc(var(--spacing)*6)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-6{margin-left:calc(var(--spacing)*6)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1{height:calc(var(--spacing)*1)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.w-1{width:calc(var(--spacing)*1)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-\[52px\]{width:52px}.w-\[300px\]{width:300px}.w-full{width:100%}.max-w-\[572px\]{max-width:572px}.max-w-\[720px\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\[calc\(100\%\+24px\)\]{--tw-translate-x: calc((100% + 24px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[calc\(100\%\+24px\)\]{--tw-translate-x: calc(100% + 24px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-50{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-45{rotate:45deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-\[fadeIn_0\.3s_ease-out\]{animation:.3s ease-out fadeIn}.animate-\[slideDown_0\.3s_ease-out\]{animation:.3s ease-out slideDown}.animate-fade-in{animation:var(--animate-fade-in)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-\[2px\]{gap:2px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-1{row-gap:calc(var(--spacing)*1)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-200>:not(:last-child)){border-color:var(--color-slate-200)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-400{border-color:var(--color-slate-400)}.border-slate-600{border-color:var(--color-slate-600)}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-black\/40{background-color:#1d1f2366}@supports (color:color-mix(in lab,red,red)){.bg-black\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-300{background-color:var(--color-slate-300)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-slate-600{background-color:var(--color-slate-600)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-gradient-to-l{--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-50\%{--tw-gradient-from-position:50%}.via-blue-50{--tw-gradient-via:var(--color-blue-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-50{--tw-gradient-to:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.stroke-\[2\.5px\]{stroke-width:2.5px}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-20{padding-block:calc(var(--spacing)*20)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-7{padding-left:calc(var(--spacing)*7)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.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))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-extra-small{font-size:var(--text-extra-small)}.text-h3{font-size:var(--text-h3)}.text-small{font-size:var(--text-small)}.leading-9{--tw-leading:calc(var(--spacing)*9);line-height:calc(var(--spacing)*9)}.leading-10{--tw-leading:calc(var(--spacing)*10);line-height:calc(var(--spacing)*10)}.leading-12{--tw-leading:calc(var(--spacing)*12);line-height:calc(var(--spacing)*12)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-\[\#82828C\]{color:#82828c}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-500{color:var(--color-gray-500)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-orange-600{color:var(--color-orange-600)}.text-purple-500{color:var(--color-purple-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-base{color:var(--color-slate-base)}.text-transparent{color:#0000}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md{--tw-shadow:0 4px 8px 0 var(--tw-shadow-color,#00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\:scale-100:is(:where(.group):hover *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\:rotate-180:is(:where(.group):hover *){rotate:180deg}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\:delay-200:is(:where(.group):hover *){transition-delay:.2s}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-blue-600:hover{border-color:var(--color-blue-600)}.hover\:border-blue-700:hover{border-color:var(--color-blue-700)}.hover\:border-slate-200:hover{border-color:var(--color-slate-200)}.hover\:border-slate-400:hover{border-color:var(--color-slate-400)}.hover\:border-yellow-500:hover{border-color:var(--color-yellow-500)}.hover\:border-yellow-600:hover{border-color:var(--color-yellow-600)}.hover\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\:bg-transparent:hover{background-color:#0000}.hover\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\:bg-yellow-500:hover{background-color:var(--color-yellow-500)}.hover\:bg-yellow-600:hover{background-color:var(--color-yellow-600)}.hover\:text-black:hover{color:var(--color-black)}.hover\:text-blue-600:hover{color:var(--color-blue-600)}.hover\:text-blue-700:hover{color:var(--color-blue-700)}.hover\:text-slate-400:hover{color:var(--color-slate-400)}.hover\:text-slate-700:hover{color:var(--color-slate-700)}.hover\:text-yellow-500:hover{color:var(--color-yellow-500)}.hover\:text-yellow-600:hover{color:var(--color-yellow-600)}}.focus\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\:border-red-600:focus{border-color:var(--color-red-600)}.focus\:bg-transparent:focus{background-color:#0000}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + 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\:ring-\[rgba\(21\,93\,252\,0\.25\)\]:focus{--tw-ring-color:#155dfc40}.focus\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\:ring-yellow-200:focus{--tw-ring-color:var(--color-yellow-200)}.focus\:ring-yellow-300:focus{--tw-ring-color:var(--color-yellow-300)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:rotate-180:active{rotate:180deg}.active\:animate-spin:active{animation:var(--animate-spin)}.active\:border:active{border-style:var(--tw-border-style);border-width:1px}.active\:border-blue-600:active{border-color:var(--color-blue-600)}.active\:border-blue-800:active{border-color:var(--color-blue-800)}.active\:border-slate-200:active{border-color:var(--color-slate-200)}.active\:border-yellow-500:active{border-color:var(--color-yellow-500)}.active\:border-yellow-700:active{border-color:var(--color-yellow-700)}.active\:bg-blue-200:active{background-color:var(--color-blue-200)}.active\:bg-blue-800:active{background-color:var(--color-blue-800)}.active\:bg-red-800:active{background-color:var(--color-red-800)}.active\:bg-slate-200:active{background-color:var(--color-slate-200)}.active\:bg-slate-300:active{background-color:var(--color-slate-300)}.active\:bg-transparent:active{background-color:#0000}.active\:bg-yellow-100:active{background-color:var(--color-yellow-100)}.active\:bg-yellow-700:active{background-color:var(--color-yellow-700)}.active\:text-blue-800:active{color:var(--color-blue-800)}.active\:text-slate-400:active{color:var(--color-slate-400)}.active\:text-yellow-700:active{color:var(--color-yellow-700)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-slate-200:disabled{border-color:var(--color-slate-200)}.disabled\:bg-slate-100:disabled{background-color:var(--color-slate-100)}.disabled\:text-slate-400:disabled{color:var(--color-slate-400)}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:48rem){.md\:block{display:block}.md\:flex-row{flex-direction:row}}.shadow-red,.focus\:shadow-red:focus{box-shadow:0 0 0 2px #e7000b40}.focus\:shadow-blue:focus{box-shadow:0 0 0 2px #155dfc40}.focus\:shadow-slate:focus{box-shadow:0 0 0 2px #0f172a40}}ul,ol{list-style:none}input,textarea,button,select{outline:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes smooth-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.shimmer-mask{will-change:transform;background:linear-gradient(90deg,#0000,#ffffff59,#0000);animation:1.8s ease-in-out infinite smooth-shimmer}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
package/dist/index.es.js
CHANGED
|
@@ -1322,12 +1322,12 @@ function SE({
|
|
|
1322
1322
|
}, [ee]);
|
|
1323
1323
|
const se = (re) => re.sortable ? !ne || ne.key !== re.key ? /* @__PURE__ */ R(MT, { weight: "Linear", size: 20, className: "text-slate-base" }) : ne.direction === "asc" ? /* @__PURE__ */ R(OT, { weight: "Linear", size: 20, className: "text-slate-base" }) : /* @__PURE__ */ R(xT, { weight: "Linear", size: 20, className: "text-slate-base" }) : null, De = J ? [] : ee ? $ : ze;
|
|
1324
1324
|
return /* @__PURE__ */ R("div", { className: "w-full overflow-x-auto", children: /* @__PURE__ */ fe("div", { className: "inline-block min-w-full align-middle", children: [
|
|
1325
|
-
/* @__PURE__ */ R("div", { className: "overflow-hidden rounded-xl border border-slate-200 bg-slate-100", children: /* @__PURE__ */ R("table", { className: "
|
|
1325
|
+
/* @__PURE__ */ R("div", { className: "overflow-hidden rounded-xl border border-slate-200 bg-slate-100", children: /* @__PURE__ */ R("table", { className: "w-full table-fixed", children: /* @__PURE__ */ R("thead", { children: /* @__PURE__ */ R("tr", { children: E.map((re, le) => /* @__PURE__ */ R(
|
|
1326
1326
|
"th",
|
|
1327
1327
|
{
|
|
1328
1328
|
onClick: () => te(re),
|
|
1329
1329
|
className: k(
|
|
1330
|
-
"px-
|
|
1330
|
+
"px-3 py-4 text-left text-small font-medium text-slate-700 transition-colors",
|
|
1331
1331
|
re.align === "center" && "text-center",
|
|
1332
1332
|
re.align === "right" && "text-right",
|
|
1333
1333
|
re.sortable && "cursor-pointer hover:bg-slate-200"
|
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(Ct,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("react/jsx-runtime"),require("@solar-icons/react"),require("clsx"),require("tailwind-merge"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@solar-icons/react","clsx","tailwind-merge","react","react-dom"],v):(Ct=typeof globalThis<"u"?globalThis:Ct||self,v(Ct.MciUi={},Ct.jsxRuntime,Ct.SolarIcons,Ct.clsx,Ct.tailwindMerge,Ct.React,Ct.ReactDOM))})(this,(function(Ct,v,st,K2,$2,W,T1){"use strict";var E1=document.createElement("style");E1.textContent=`@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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--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;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@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;--color-red-50:#fef2f2;--color-red-100:#fee2e2;--color-red-500:#fb2c36;--color-red-600:#e7000b;--color-red-700:#c10007;--color-red-800:#9f0712;--color-orange-50:#fff7ed;--color-orange-600:#f54a00;--color-yellow-50:#fefce8;--color-yellow-100:#fef9c3;--color-yellow-200:#fff085;--color-yellow-300:#ffdf20;--color-yellow-500:#efb100;--color-yellow-600:#d08700;--color-yellow-700:#a65f00;--color-green-50:#effdf5;--color-green-500:#00c16a;--color-green-600:#00a155;--color-blue-50:#eff6ff;--color-blue-100:#dbeafe;--color-blue-200:#bedbff;--color-blue-500:#2b7fff;--color-blue-600:#155dfc;--color-blue-700:#1447e6;--color-blue-800:#193cb8;--color-purple-500:oklch(62.7% .265 303.9);--color-slate-50:#f8fafc;--color-slate-100:#f1f5f9;--color-slate-200:#e2e8f0;--color-slate-300:#cad5e2;--color-slate-400:#90a1b9;--color-slate-500:#64748e;--color-slate-600:#45556c;--color-slate-700:#314158;--color-gray-500:oklch(55.1% .027 264.364);--color-black:#1d1f23;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:16px;--text-base--line-height: 1.5 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin .3s 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-slate-base:#62748e;--text-h3:32px;--text-small:14px;--text-extra-small:12px;--animate-fade-in:fadeIn .5s ease-in-out}}@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}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-1\\.5{top:calc(var(--spacing)*1.5)}.top-1\\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-full{top:100%}.right-1\\.5{right:calc(var(--spacing)*1.5)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.right-8{right:calc(var(--spacing)*8)}.right-10{right:calc(var(--spacing)*10)}.right-16{right:calc(var(--spacing)*16)}.right-full{right:100%}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-0\\.5{left:calc(var(--spacing)*.5)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.left-6{left:calc(var(--spacing)*6)}.left-full{left:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-6{margin:calc(var(--spacing)*6)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-6{margin-right:calc(var(--spacing)*6)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-6{margin-left:calc(var(--spacing)*6)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1{height:calc(var(--spacing)*1)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.w-1{width:calc(var(--spacing)*1)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-\\[52px\\]{width:52px}.w-\\[300px\\]{width:300px}.w-full{width:100%}.max-w-\\[572px\\]{max-width:572px}.max-w-\\[720px\\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\\[calc\\(100\\%\\+24px\\)\\]{--tw-translate-x: calc((100% + 24px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[calc\\(100\\%\\+24px\\)\\]{--tw-translate-x: calc(100% + 24px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-50{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-45{rotate:45deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-\\[fadeIn_0\\.3s_ease-out\\]{animation:.3s ease-out fadeIn}.animate-\\[slideDown_0\\.3s_ease-out\\]{animation:.3s ease-out slideDown}.animate-fade-in{animation:var(--animate-fade-in)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-\\[2px\\]{gap:2px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-1{row-gap:calc(var(--spacing)*1)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-200>:not(:last-child)){border-color:var(--color-slate-200)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-400{border-color:var(--color-slate-400)}.border-slate-600{border-color:var(--color-slate-600)}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-black\\/40{background-color:#1d1f2366}@supports (color:color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-300{background-color:var(--color-slate-300)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-slate-600{background-color:var(--color-slate-600)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-gradient-to-l{--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-50\\%{--tw-gradient-from-position:50%}.via-blue-50{--tw-gradient-via:var(--color-blue-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-50{--tw-gradient-to:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.stroke-\\[2\\.5px\\]{stroke-width:2.5px}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-3\\.5{padding-block:calc(var(--spacing)*3.5)}.py-4{padding-block:calc(var(--spacing)*4)}.py-20{padding-block:calc(var(--spacing)*20)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-7{padding-left:calc(var(--spacing)*7)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.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))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-extra-small{font-size:var(--text-extra-small)}.text-h3{font-size:var(--text-h3)}.text-small{font-size:var(--text-small)}.leading-9{--tw-leading:calc(var(--spacing)*9);line-height:calc(var(--spacing)*9)}.leading-10{--tw-leading:calc(var(--spacing)*10);line-height:calc(var(--spacing)*10)}.leading-12{--tw-leading:calc(var(--spacing)*12);line-height:calc(var(--spacing)*12)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#82828C\\]{color:#82828c}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-500{color:var(--color-gray-500)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-orange-600{color:var(--color-orange-600)}.text-purple-500{color:var(--color-purple-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-base{color:var(--color-slate-base)}.text-transparent{color:#0000}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md{--tw-shadow:0 4px 8px 0 var(--tw-shadow-color,#00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\\:scale-100:is(:where(.group):hover *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\\:rotate-180:is(:where(.group):hover *){rotate:180deg}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\:delay-200:is(:where(.group):hover *){transition-delay:.2s}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:border-blue-600:hover{border-color:var(--color-blue-600)}.hover\\:border-blue-700:hover{border-color:var(--color-blue-700)}.hover\\:border-slate-200:hover{border-color:var(--color-slate-200)}.hover\\:border-slate-400:hover{border-color:var(--color-slate-400)}.hover\\:border-yellow-500:hover{border-color:var(--color-yellow-500)}.hover\\:border-yellow-600:hover{border-color:var(--color-yellow-600)}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\\:bg-yellow-500:hover{background-color:var(--color-yellow-500)}.hover\\:bg-yellow-600:hover{background-color:var(--color-yellow-600)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-blue-700:hover{color:var(--color-blue-700)}.hover\\:text-slate-400:hover{color:var(--color-slate-400)}.hover\\:text-slate-700:hover{color:var(--color-slate-700)}.hover\\:text-yellow-500:hover{color:var(--color-yellow-500)}.hover\\:text-yellow-600:hover{color:var(--color-yellow-600)}}.focus\\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\\:border-red-600:focus{border-color:var(--color-red-600)}.focus\\:bg-transparent:focus{background-color:#0000}.focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + 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\\:ring-\\[rgba\\(21\\,93\\,252\\,0\\.25\\)\\]:focus{--tw-ring-color:#155dfc40}.focus\\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\\:ring-yellow-200:focus{--tw-ring-color:var(--color-yellow-200)}.focus\\:ring-yellow-300:focus{--tw-ring-color:var(--color-yellow-300)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:rotate-180:active{rotate:180deg}.active\\:animate-spin:active{animation:var(--animate-spin)}.active\\:border:active{border-style:var(--tw-border-style);border-width:1px}.active\\:border-blue-600:active{border-color:var(--color-blue-600)}.active\\:border-blue-800:active{border-color:var(--color-blue-800)}.active\\:border-slate-200:active{border-color:var(--color-slate-200)}.active\\:border-yellow-500:active{border-color:var(--color-yellow-500)}.active\\:border-yellow-700:active{border-color:var(--color-yellow-700)}.active\\:bg-blue-200:active{background-color:var(--color-blue-200)}.active\\:bg-blue-800:active{background-color:var(--color-blue-800)}.active\\:bg-red-800:active{background-color:var(--color-red-800)}.active\\:bg-slate-200:active{background-color:var(--color-slate-200)}.active\\:bg-slate-300:active{background-color:var(--color-slate-300)}.active\\:bg-transparent:active{background-color:#0000}.active\\:bg-yellow-100:active{background-color:var(--color-yellow-100)}.active\\:bg-yellow-700:active{background-color:var(--color-yellow-700)}.active\\:text-blue-800:active{color:var(--color-blue-800)}.active\\:text-slate-400:active{color:var(--color-slate-400)}.active\\:text-yellow-700:active{color:var(--color-yellow-700)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-slate-200:disabled{border-color:var(--color-slate-200)}.disabled\\:bg-slate-100:disabled{background-color:var(--color-slate-100)}.disabled\\:text-slate-400:disabled{color:var(--color-slate-400)}.disabled\\:opacity-50:disabled{opacity:.5}@media (min-width:48rem){.md\\:block{display:block}.md\\:flex-row{flex-direction:row}}.shadow-red,.focus\\:shadow-red:focus{box-shadow:0 0 0 2px #e7000b40}.focus\\:shadow-blue:focus{box-shadow:0 0 0 2px #155dfc40}.focus\\:shadow-slate:focus{box-shadow:0 0 0 2px #0f172a40}}ul,ol{list-style:none}input,textarea,button,select{outline:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes smooth-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.shimmer-mask{will-change:transform;background:linear-gradient(90deg,#0000,#ffffff59,#0000);animation:1.8s ease-in-out infinite smooth-shimmer}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(E1);function k2(E){const K=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(E){for(const J in E)if(J!=="default"){const A=Object.getOwnPropertyDescriptor(E,J);Object.defineProperty(K,J,A.get?A:{enumerable:!0,get:()=>E[J]})}}return K.default=E,Object.freeze(K)}const g0=k2(W);function k(...E){return $2.twMerge(K2.clsx(E))}function vy(E){return{handleEscape:J=>{J.key==="Escape"&&E()}}}function by(E,K){return{handleClick:A=>{E.current&&!E.current.contains(A.target)&&K()}}}function W2({items:E,variant:K="blue",className:J}){const A=K==="blue",oe=A?"hover:text-blue-600":"hover:text-yellow-500",te=A?"text-blue-600":"text-yellow-500";return v.jsx("nav",{className:k("flex items-center",J),"aria-label":"Breadcrumb",children:E.map((F,Y)=>{const Se=Y===E.length-1;return v.jsxs("div",{className:"flex items-center",children:[Se?v.jsxs("span",{className:k("flex items-center gap-x-2 font-medium",te),children:[F.icon,v.jsx("span",{children:F.label})]}):v.jsxs("a",{href:F.href??"#",onClick:ue=>{F.onClick&&(ue.preventDefault(),F.onClick())},className:k("flex items-center gap-x-2 transition-all text-small font-normal text-slate-500",oe),children:[F.icon,v.jsx("span",{children:F.label})]}),!Se&&v.jsx("span",{className:"mx-2 flex items-center",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-500"})})]},Y)})})}function F2({children:E,text:K,icon:J,iconPosition:A="left",size:oe="base",variant:te="primary",color:F="yellow",loading:Y=!1,disabled:Se=!1,onClick:ue,className:Ae,type:le="button"}){const fe=E??K,xe={sm:"h-9 px-2 text-sm gap-1.4 rounded-lg leading-9",md:"h-10 px-2 text-base gap-2 rounded-lg leading-10",base:"h-12 px-4 text-base gap-2 rounded-xl leading-12"},I=te==="primary"||te==="secondary"||te==="outline"?{blue:{primary:"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 focus:ring-2 focus:ring-[rgba(21,93,252,0.25)]",secondary:"bg-blue-100 text-blue-600 hover:bg-blue-200 active:bg-blue-200 active:border active:border-blue-600 focus:ring-2 focus:ring-[rgba(21,93,252,0.25)]",outline:"border border-blue-600 text-blue-600 hover:border-blue-700 hover:text-blue-700 active:border-blue-800 active:text-blue-800 focus:ring-2 focus:ring-blue-200"},yellow:{primary:"bg-yellow-500 text-white hover:bg-yellow-600 active:bg-yellow-700 focus:ring-2 focus:ring-yellow-300",secondary:"bg-yellow-50 text-yellow-500 hover:bg-yellow-100 active:bg-yellow-100 active:border active:border-yellow-500 focus:ring-2 focus:ring-yellow-200",outline:"border border-yellow-500 text-yellow-500 hover:border-yellow-600 hover:text-yellow-600 active:border-yellow-700 active:text-yellow-700 focus:ring-2 focus:ring-yellow-200"}}[F][te]:{danger:"bg-red-600 text-white hover:bg-red-700 active:bg-red-800 focus:ring-2 focus:shadow-red",tertiary:"bg-slate-100 text-black hover:bg-slate-200 active:bg-slate-300 focus:ring-2 focus:shadow-slate"}[te],de=Se||Y,Ce=de?te==="outline"?"border-slate-200 bg-white text-slate-400 cursor-not-allowed hover:bg-transparent hover:border-slate-200 hover:text-slate-400 active:border-slate-200 active:text-slate-400 active:bg-transparent focus:bg-transparent focus:ring-0":"bg-slate-200 text-slate-400 cursor-not-allowed hover:bg-slate-200 active:bg-slate-200 focus:ring-0":"";return v.jsxs("button",{type:le,onClick:ue,disabled:de,className:k("inline-flex items-center justify-center font-medium transition-all duration-200 cursor-pointer",xe[oe],I,!de&&I,Ce,Ae),children:[J&&A==="left"&&!Y&&v.jsx("span",{className:"flex items-center",children:J}),fe&&v.jsx("span",{children:fe}),J&&A==="right"&&!Y&&v.jsx("span",{className:"flex items-center",children:J}),Y&&v.jsx(st.Star2,{weight:"Linear",size:20,className:"animate-spin"})]})}const I2=E=>g0.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:11,height:8,viewBox:"0 0 11 8",fill:"none",...E},g0.createElement("path",{d:"M0.625 3.76944L3.76944 6.91389L10.0694 0.625",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),P2={blue:{border:"border-blue-600",bg:"bg-blue-600",hover:"hover:border-blue-600 hover:bg-blue-100",focus:"focus:shadow-blue"},yellow:{border:"border-yellow-500",bg:"bg-yellow-500",hover:"hover:border-yellow-500 hover:bg-yello-100",focus:"focus:ring-2 focus:ring-yellow-300"}},z1=W.memo(function({type:K="checkbox",label:J,supportText:A,checked:oe,onChange:te,error:F,disabled:Y=!1,required:Se=!1,className:ue,variant:Ae="yellow",name:le,value:fe}){const[xe,re]=W.useState(!1),ae=K==="radio",I=W.useMemo(()=>oe??xe,[oe,xe]),de=W.useCallback(_e=>{Y||(oe===void 0&&re(_e.target.checked),te?.(_e))},[oe,te,Y]),Ce=W.useMemo(()=>{if(Y){const Be="border-slate-200 bg-slate-100";return ae?{container:Be,dot:I?"bg-slate-300":"bg-transparent",check:"text-slate-400"}:{container:Be,dot:"",check:I?"text-slate-400":"text-transparent"}}const _e=P2[Ae];if(ae){const Be=k("border transition-all duration-200",I?_e.border:"border-slate-400",!I&&_e.hover,_e.focus,I&&""),at=k("transition-all duration-200 rounded-full",I?_e.bg:"bg-transparent");return{container:Be,dot:at,check:""}}return{container:k("border transition-all duration-200",I?k(_e.bg,_e.border):"border-slate-400",!I&&_e.hover,_e.focus),dot:"",check:I?"text-white":"text-transparent"}},[ae,I,Y,Ae]),Ne=W.useMemo(()=>!J&&!A?null:v.jsxs("div",{className:"flex flex-col",children:[J&&v.jsxs("span",{className:k("text-base font-medium text-slate-700",F&&"text-red-600",Y&&"text-slate-400"),children:[J,Se&&v.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),A&&v.jsx("span",{className:k("text-slate-500 text-base font-normal",Y&&"text-slate-400"),children:A})]}),[J,A,F,Y,Se]);return v.jsxs("div",{className:k("flex items-start",ue),children:[v.jsxs("label",{className:k("flex items-start gap-2 select-none",Y?"cursor-not-allowed":"cursor-pointer"),children:[v.jsx("input",{type:K,checked:I,onChange:de,disabled:Y,required:Se,className:"sr-only","aria-invalid":!!F,"aria-describedby":F?`${le}-error`:void 0,name:le,value:fe}),v.jsx("div",{className:k("relative flex items-center justify-center",ae?"w-5 h-5 rounded-full":"w-5 h-5 rounded",Ce.container),children:ae?v.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:v.jsx("span",{className:k("w-3 h-3 rounded-full transition-all duration-200",Ce.dot,I?"opacity-100 scale-100":"opacity-0 scale-50")})}):v.jsx(I2,{className:k("w-4 h-4 stroke-[2.5px] transition-opacity duration-200",Ce.check,I?"opacity-100":"opacity-0")})}),Ne]}),F&&v.jsx("p",{id:`${le}-error`,className:"mt-1 text-extra-small text-red-600",children:F})]})});z1.displayName="MciCheck";function e3({title:E,children:K,defaultOpen:J=!1,icon:A,className:oe,contentClassName:te}){const[F,Y]=W.useState(J),[Se,ue]=W.useState(0),Ae=W.useRef(null);return W.useEffect(()=>{Ae.current&&ue(F?Ae.current.scrollHeight:0)},[F]),v.jsxs("div",{className:k("overflow-hidden rounded-xl border border-slate-200",oe),children:[v.jsxs("button",{onClick:()=>Y(!F),className:k("flex w-full items-center justify-between p-5 transition-all duration-300 hover:cursor-pointer",F?"border-b border-slate-200":"border-b border-transparent"),children:[v.jsxs("div",{className:"flex items-center gap-2",children:[A&&v.jsx("span",{className:"flex-shrink-0",children:A}),v.jsx("span",{className:k("text-base font-medium text-black"),children:E})]}),v.jsx(st.AltArrowDown,{weight:"Linear",size:20,className:k("flex-shrink-0 transition-transform duration-300 text-slate-400",F&&"rotate-180")})]}),v.jsx("div",{className:k("overflow-hidden transition-all duration-300 ease-out"),style:{height:`${Se}px`},children:v.jsx("div",{ref:Ae,className:k("p-5",te),children:K})})]})}const Wr=E=>g0.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...E},g0.createElement("path",{d:"M7.75739 7.75735L16.2427 16.2426",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g0.createElement("path",{d:"M7.75733 16.2426L16.2426 7.75735",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));function t3({isOpen:E,onClose:K,position:J="right",children:A,footer:oe,title:te,description:F,showCloseButton:Y=!0,drawerClassName:Se,closeOnOverlayClick:ue=!0,closeOnEscape:Ae=!0}){const le=W.useRef(null),fe=W.useRef(null),{handleEscape:xe}=vy(()=>{Ae&&E&&K()}),{handleClick:re}=by(le,()=>{ue&&E&&K()});W.useEffect(()=>{E?(fe.current=document.activeElement,le.current?.focus()):fe.current?.focus()},[E]),W.useEffect(()=>(E&&(document.addEventListener("keydown",xe),document.addEventListener("mousedown",re),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",xe),document.removeEventListener("mousedown",re),document.body.style.overflow="unset"}),[E,xe,re]);const ae={left:"top-6 left-6 bottom-6 max-w-[572px]",right:"top-6 right-6 bottom-6 max-w-[572px]"},I={right:E?"translate-x-0":"translate-x-[calc(100%+24px)]",left:E?"translate-x-0":"-translate-x-[calc(100%+24px)]"};return v.jsxs(v.Fragment,{children:[v.jsx("div",{className:k("fixed inset-0 z-50 bg-black/40 transition-opacity duration-300",E?"cursor-pointer":"pointer-events-none",E?"opacity-100":"opacity-0"),onClick:ue?K:void 0}),v.jsxs("div",{ref:le,tabIndex:-1,className:k("fixed flex flex-col z-50 w-full rounded-2xl bg-white transition-transform duration-300 ease-in-out outline-none",ae[J],I[J],Se),role:"dialog","aria-modal":"true","aria-labelledby":te?"mciDrawer-title":void 0,children:[(te||Y||F)&&v.jsxs("div",{className:k("flex items-start justify-between border-b border-slate-200 p-6 flex-shrink-0"),children:[te&&v.jsxs("div",{className:"block",children:[v.jsx("h2",{id:"drawer-title",className:"text-h3 font-semibold text-black",children:te}),F&&v.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:F})]}),Y&&v.jsx("button",{onClick:K,className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group",children:v.jsx(Wr,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),A&&v.jsx("div",{className:"flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-slate-200 p-6",children:A}),oe&&v.jsx("div",{className:"flex items-center justify-end border-t border-slate-200 p-6",children:oe})]})]})}const Jv=W.forwardRef(({label:E,placeholder:K,type:J="text",icon:A,rightIcon:oe,iconPosition:te="left",size:F="base",error:Y,disabled:Se=!1,required:ue=!1,value:Ae,onChange:le,onFocus:fe,onBlur:xe,className:re,name:ae},I)=>{const[de,Ce]=W.useState(!1),[Ne,_e]=W.useState(""),[ut,Be]=W.useState(!1),at=Ae??Ne,Me=J==="password",ht=A&&te==="left",ee=A&&te==="right"||oe||Me,Ot=()=>{Ce(!0),fe?.()},Oe=()=>{Ce(!1),xe?.()},Ge=V=>{Ae===void 0&&_e(V.target.value),le?.(V)},Qt=()=>Be(V=>!V),Ke=W.useMemo(()=>({sm:{input:"h-9 text-small",padding:ht&&ee?"pl-7 pr-7":ht?"pl-7 pr-2":ee?"pl-2 pr-7":"px-2",icon:"w-4 h-4",leftIcon:"left-2",rightIcon:"right-2",labelFont:"text-small",iconWrapper:"h-4"},md:{input:"h-10 text-small",padding:ht&&ee?"pl-8 pr-8":ht?"pl-8 pr-2":ee?"pl-2 pr-8":"px-4",icon:"w-4 h-4",leftIcon:"left-2",rightIcon:"right-2",labelFont:"text-base",iconWrapper:"h-4"},base:{input:"h-12 text-base",padding:ht&&ee?"pl-9 pr-9":ht?"pl-9 pr-3":ee?"pl-3 pr-9":"px-4",icon:"w-5 h-5",leftIcon:"left-3",rightIcon:"right-3",labelFont:"text-base",iconWrapper:"h-5"}}),[ht,ee]),D=W.useMemo(()=>Y?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[Y]),j=W.useMemo(()=>Se?"text-slate-400":Y?"text-red-600":de?"text-black":"text-slate-400",[Y,de,Se]);return v.jsxs("div",{className:k("w-full",re),children:[E&&v.jsxs("label",{htmlFor:ae,className:k("mb-2 block text-base font-medium",Y?"text-red-600":"text-slate-700",Ke[F].labelFont),children:[E,ue&&v.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),v.jsxs("div",{className:"relative flex items-center",children:[v.jsx("input",{ref:I,name:ae,type:Me&&ut?"text":J,value:at,onChange:Ge,onFocus:Ot,onBlur:Oe,disabled:Se,required:ue,autoComplete:"on",placeholder:K,className:k("w-full border bg-white font-normal transition-all duration-300 ease-in-out outline-none",F==="base"?"rounded-xl":"rounded-lg","disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",Ke[F].input,Ke[F].padding,D),maxLength:250}),ht&&v.jsx("div",{className:k("absolute top-1/2 flex -translate-y-1/2 items-center justify-center","transition-all duration-300",Ke[F].leftIcon,j),children:v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon),children:A})})}),v.jsxs("div",{className:k("absolute top-1/2 flex -translate-y-1/2 items-center justify-center gap-2","transition-all duration-300",Ke[F].rightIcon),children:[oe&&!Me&&v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon,j),children:oe})}),Me&&v.jsxs(v.Fragment,{children:[oe&&v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon,j),children:oe})}),v.jsx("button",{type:"button",onClick:Qt,className:k("flex items-center justify-center",Ke[F].iconWrapper,j),children:v.jsx("span",{className:k("flex items-center justify-center cursor-pointer",Ke[F].icon),children:ut?v.jsx(st.EyeClosed,{weight:"Linear",className:k("h-full w-full")}):v.jsx(st.Eye,{weight:"Linear",className:k("h-full w-full")})})})]}),A&&te==="right"&&!Me&&v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon,j),children:A})})]})]}),Y&&v.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-small font-normal text-red-600",children:Y})]})});Jv.displayName="MciInput";const l3={uz:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"],monthsShort:["Yan","Fev","Mar","Apr","May","Iyn","Iyl","Avg","Sen","Okt","Noy","Dek"],weekdays:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"],weekdaysShort:["Ya","Du","Se","Ch","Pa","Ju","Sh"]},ru:{months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],weekdays:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],weekdaysShort:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Su","Mo","Tu","We","Th","Fr","Sa"]}},A1=W.forwardRef(({type:E="date",value:K,onChange:J,placeholder:A,label:oe,disabled:te=!1,required:F=!1,className:Y,format:Se="DD.MM.YYYY",minDate:ue,maxDate:Ae,error:le,showClear:fe=!0,allowManualInput:xe=!0,locale:re="uz",startView:ae="day"},I)=>{const[de,Ce]=W.useState(!1),[Ne,_e]=W.useState(E==="range"?[null,null]:null),[ut,Be]=W.useState([null,null]),[at,Me]=W.useState(new Date),[ht,ee]=W.useState(ae),[Ot,Oe]=W.useState(0),[Ge,Qt]=W.useState(""),Ke=W.useRef(null),D=K!==void 0?K:Ne,j=l3[re],V=W.useCallback(we=>new Date(we.getFullYear(),we.getMonth(),we.getDate()),[]),pe=W.useCallback((we,ie)=>V(we).getTime()===V(ie).getTime(),[V]),$=W.useCallback(we=>{const ie=V(we);return ue&&ie<V(ue)?!0:!!(Ae&&ie>V(Ae))},[ue,Ae,V]),De=W.useCallback(we=>{if(!we)return"";const ie=we.getDate().toString().padStart(2,"0"),Le=(we.getMonth()+1).toString().padStart(2,"0"),zt=we.getFullYear();return Se.replace("DD",ie).replace("MM",Le).replace("YYYY",zt.toString())},[Se]),ve=W.useMemo(()=>{if(E==="date")return De(D);const[we,ie]=D;return!we&&!ie?"":we&&ie?`${De(we)} - ${De(ie)}`:we?`${De(we)} - ...`:"..."},[E,D,De]);W.useEffect(()=>{Qt(ve)},[ve]);const he=W.useCallback(()=>{Ce(!1),ee(ae),Oe(0),E==="range"&&Be(D)},[E,D,ae]),{handleClick:Ee}=by(Ke,he),{handleEscape:mt}=vy(he);W.useEffect(()=>{if(de)return document.addEventListener("mousedown",Ee),document.addEventListener("keydown",mt),()=>{document.removeEventListener("mousedown",Ee),document.removeEventListener("keydown",mt)}},[de,Ee,mt]);const Ol=W.useCallback(we=>{we.stopPropagation();const ie=E==="range"?[null,null]:null;_e(ie),Be([null,null]),Qt(""),J?.(ie)},[E,J]),$u=W.useCallback(we=>{if($(we))return;const ie=V(we);if(E==="date")_e(ie),J?.(ie),he();else{const[Le,zt]=ut;if(!Le&&!zt||Le&&zt)Be([ie,null]);else if(Le&&!zt){let Pt;ie<Le?Pt=[ie,Le]:Pt=[Le,ie],Be(Pt),_e(Pt),J?.(Pt),he()}}},[E,ut,$,V,J,he]),tu=we=>{Me(ie=>{const Le=new Date(ie);return Le.setMonth(Le.getMonth()+we),Le})},Ye=we=>{Me(ie=>{const Le=new Date(ie);return Le.setFullYear(Le.getFullYear()+we),Le})},_a=W.useCallback(we=>{const ie=we.getFullYear(),Le=we.getMonth(),zt=new Date(ie,Le,1),Pt=new Date(ie,Le+1,0),Vt=[],zn=zt.getDay();for(let nl=zn;nl>0;nl--){const gl=new Date(ie,Le,1-nl);Vt.push({date:gl,isCurrentMonth:!1})}for(let nl=1;nl<=Pt.getDate();nl++){const gl=new Date(ie,Le,nl);Vt.push({date:gl,isCurrentMonth:!0})}const au=42-Vt.length;for(let nl=1;nl<=au;nl++){const gl=new Date(ie,Le+1,nl);Vt.push({date:gl,isCurrentMonth:!1})}return Vt},[]),se=we=>{const ie=V(we);if(E==="date")return D&&pe(ie,D);const[Le]=ut[0]?ut:D;return Le&&pe(ie,Le)},hc=we=>{if(E!=="range")return!1;const ie=V(we),[,Le]=ut[1]?ut:D;return Le&&pe(ie,Le)},mc=we=>{if(E!=="range")return!1;const ie=V(we),[Le,zt]=ut[0]?ut:D;return!Le||!zt?!1:ie>V(Le)&&ie<V(zt)},nn=we=>pe(we,new Date),lu=(we,ie,Le)=>{const zt=_a(we);return v.jsxs("div",{className:"w-[300px] p-2",children:[v.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[v.jsx("div",{className:"flex items-center gap-3",children:ie?v.jsxs(v.Fragment,{children:[v.jsx("button",{onClick:()=>Ye(-1),className:"hover:cursor-pointer",children:v.jsx(st.DoubleAltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsx("button",{onClick:()=>tu(-1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})})]}):v.jsx("div",{className:"w-[52px]"})}),v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx("span",{className:"font-medium text-small text-slate-700 cursor-pointer hover:text-blue-600 transition-colors",onClick:()=>{ee("month"),Me(we)},children:j.months[we.getMonth()]}),v.jsx("span",{className:"font-medium text-small text-slate-700 cursor-pointer hover:text-blue-600 transition-colors",onClick:()=>{ee("year"),Me(we)},children:we.getFullYear()})]}),v.jsx("div",{className:"flex items-center gap-1",children:Le?v.jsxs(v.Fragment,{children:[v.jsx("button",{onClick:()=>tu(1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsx("button",{onClick:()=>Ye(1),className:"hover:cursor-pointer",children:v.jsx(st.DoubleAltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})})]}):v.jsx("div",{className:"w-[52px]"})})]}),v.jsx("div",{className:"grid grid-cols-7 mb-1",children:j.weekdaysShort.map(Pt=>v.jsx("div",{className:"h-4 flex items-center justify-center text-extra-small font-medium text-blue-600",children:Pt},Pt))}),v.jsx("div",{className:"grid grid-cols-7 gap-y-1 relative",children:zt.map((Pt,Vt)=>{const zn=Pt.date,au=$(zn),nl=se(zn),gl=hc(zn),T0=mc(zn),Mo=Pt.isCurrentMonth,sf=nn(zn);let yc="";return T0&&(yc="bg-blue-50"),nl&&(ut[1]||D?.[1])&&(yc="bg-gradient-to-r from-transparent via-blue-50 to-blue-50 from-50%"),gl&&(ut[0]||D?.[0])&&(yc="bg-gradient-to-l from-transparent via-blue-50 to-blue-50 from-50%"),v.jsx("div",{className:k("relative h-10 w-full flex items-center justify-center",yc),children:v.jsxs("button",{onClick:()=>$u(zn),disabled:au,className:k("relative z-10 w-9 h-9 rounded-full flex items-center justify-center text-small font-medium transition-all hover:cursor-pointer",Mo?"text-slate-700":"text-slate-base",au&&"opacity-30 cursor-not-allowed",!au&&!nl&&!gl&&Mo&&"hover:bg-blue-50 hover:text-blue-600",(nl||gl)&&"bg-blue-600 text-white hover:bg-blue-600",sf&&!nl&&!gl&&"text-blue-600 bg-blue-50"),children:[zn.getDate(),sf&&!nl&&!gl&&v.jsx("span",{className:"absolute top-1.5 right-1.5 w-1 h-1 bg-blue-600 rounded-full"})]})},Vt)})})]})},Et=()=>v.jsxs("div",{className:"w-[300px] p-2",children:[v.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[v.jsx("button",{onClick:()=>Ye(-1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsx("span",{className:"font-medium text-small text-slate-700",children:at.getFullYear()}),v.jsx("button",{onClick:()=>Ye(1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})})]}),v.jsx("div",{className:"grid grid-cols-3 gap-1",children:j.monthsShort.map((we,ie)=>v.jsx("button",{onClick:()=>{const Le=new Date(at);Le.setMonth(ie),Me(Le),ee("day")},className:k("p-1 rounded-sm text-small font-medium hover:bg-blue-50 transition-colors hover:cursor-pointer",at.getMonth()===ie&&"bg-blue-600 text-white hover:bg-blue-600"),children:we},we))})]}),of=()=>{const we=at.getFullYear(),ie=Math.floor(we/12)*12+Ot*12,Le=Array.from({length:12},(zt,Pt)=>ie+Pt);return v.jsxs("div",{className:"w-[300px] p-2",children:[v.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[v.jsx("button",{onClick:()=>Oe(zt=>zt-1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsxs("span",{className:"font-medium text-small text-slate-700",children:[Le[0]," - ",Le[11]]}),v.jsx("button",{onClick:()=>Oe(zt=>zt+1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})})]}),v.jsx("div",{className:"grid grid-cols-3 gap-1",children:Le.map(zt=>v.jsx("button",{onClick:()=>{const Pt=new Date(at);Pt.setFullYear(zt),Me(Pt),ee("month")},className:k("p-1 rounded-sm text-small font-medium hover:bg-blue-50 transition-colors hover:cursor-pointer",at.getFullYear()===zt&&"bg-blue-600 text-white hover:bg-blue-600"),children:zt},zt))})]})},pc=new Date(at);return pc.setMonth(at.getMonth()+1),v.jsxs("div",{ref:Ke,className:k("relative w-full",Y),children:[v.jsx("div",{ref:I,children:v.jsx(Jv,{label:oe,placeholder:Array.isArray(A)?A[0]:A,value:Ge,onChange:()=>{},icon:v.jsx(st.Calendar,{weight:"Linear",size:20,className:"text-slate-500"}),disabled:te,required:F,error:le,onFocus:()=>!te&&Ce(!0),readOnly:!xe})}),fe&&Ge&&!te&&v.jsx("button",{type:"button",onClick:Ol,className:"absolute right-3 top-1/2 -translate-y-1/2 p-1 z-10 hover:cursor-pointer",children:v.jsx(Wr,{className:"w-5 h-5 text-slate-400"})}),de&&v.jsx("div",{className:"absolute top-full left-0 mt-1 z-50 bg-white rounded-lg shadow-md border border-slate-200 flex flex-col md:flex-row overflow-hidden animate-in fade-in zoom-in-95 duration-200",children:ht==="day"?v.jsxs(v.Fragment,{children:[lu(at,!0,E!=="range"),E==="range"&&v.jsx("div",{className:"hidden md:block border-l border-slate-200",children:lu(pc,!1,!0)})]}):ht==="month"?Et():of()})]})});A1.displayName="MciPicker";const a3={sm:{container:"h-9 text-small",padding:"px-2",iconPaddingLeft:"pl-7",iconPaddingRight:"pr-7",iconSize:"w-4 h-4",iconWrapper:"left-2",rightIconWrapper:"right-2",label:"text-small",dropdown:"text-small"},md:{container:"h-10 text-small",padding:"px-4",iconPaddingLeft:"pl-8",iconPaddingRight:"pr-8",iconSize:"w-5 h-5",iconWrapper:"left-3",rightIconWrapper:"right-3",label:"text-small",dropdown:"text-small"},base:{container:"h-12 text-base",padding:"px-4",iconPaddingLeft:"pl-10",iconPaddingRight:"pl-3",iconSize:"w-5 h-5",iconWrapper:"left-4",rightIconWrapper:"right-16",label:"text-base",dropdown:"text-base"}},x1=W.forwardRef(({label:E,placeholder:K="Выберите...",options:J=[],icon:A,iconPosition:oe="left",size:te="base",error:F,disabled:Y=!1,required:Se=!1,value:ue,onChange:Ae,onFocus:le,onBlur:fe,className:xe,clearable:re=!1,searchable:ae=!1,onSearch:I,name:de},Ce)=>{const[Ne,_e]=W.useState(!1),[ut,Be]=W.useState(!1),[at,Me]=W.useState(""),[ht,ee]=W.useState(""),[Ot,Oe]=W.useState(-1),Ge=W.useRef(null),Qt=W.useRef(null),Ke=ue!==void 0?ue:at,D=J.find(Ye=>Ye.value===Ke),j=Ke!==""&&Ke!==void 0,V=a3[te],pe=W.useMemo(()=>{if(!ae||I)return J;const Ye=ht.toLowerCase();return J.filter(_a=>_a.label.toLowerCase().includes(Ye))},[J,ht,ae,I]),$=W.useCallback(()=>{_e(!1),Be(!1),ee(""),Oe(-1),fe?.()},[fe]),{handleClick:De}=by(Ge,$),{handleEscape:ve}=vy($);W.useEffect(()=>{if(Ne)return document.addEventListener("mousedown",De),document.addEventListener("keydown",ve),()=>{document.removeEventListener("mousedown",De),document.removeEventListener("keydown",ve)}},[Ne,De,ve]),W.useEffect(()=>{Ne&&ae&&Qt.current&&Qt.current.focus()},[Ne,ae]);const he=W.useCallback(Ye=>{if(!Ne&&(Ye.key==="ArrowDown"||Ye.key==="ArrowUp"||Ye.key==="Enter")){Ye.preventDefault(),_e(!0);return}if(Ne)switch(Ye.key){case"ArrowDown":Ye.preventDefault(),Oe(_a=>_a<pe.length-1?_a+1:0);break;case"ArrowUp":Ye.preventDefault(),Oe(_a=>_a>0?_a-1:pe.length-1);break;case"Enter":Ye.preventDefault(),Ot>=0&&mt(pe[Ot].value);break}},[Ne,pe,Ot]),Ee=W.useCallback(()=>{Y||(_e(Ye=>!Ye),Ne?(ee(""),Oe(-1)):(Be(!0),le?.()))},[Y,Ne,le]),mt=W.useCallback(Ye=>{ue===void 0&&Me(Ye),Ae?.(Ye),_e(!1),Be(!1),ee(""),Oe(-1),fe?.()},[ue,Ae,fe]),Ol=W.useCallback(Ye=>{Ye.stopPropagation(),ue===void 0&&Me(""),Ae?.(""),ee(""),Oe(-1)},[ue,Ae]),$u=W.useCallback(Ye=>{ee(Ye),I?.(Ye),Oe(0)},[I]),tu=W.useMemo(()=>F?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[F]);return v.jsxs("div",{className:k("w-full",xe),ref:Ce,children:[E&&v.jsxs("label",{htmlFor:de,className:k("mb-2 block text-base font-medium",F?"text-red-600":"text-slate-700",V.label),children:[E,Se&&v.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),v.jsxs("div",{ref:Ge,className:"relative",onKeyDown:he,children:[v.jsxs("div",{role:"combobox","aria-expanded":Ne,"aria-haspopup":"listbox","aria-controls":`${de}-listbox`,"aria-disabled":Y,tabIndex:Y?-1:0,onClick:Ee,className:k("flex w-full items-center rounded-xl border bg-white font-normal transition-all cursor-pointer",Y&&"disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",V.container,A?oe==="left"?V.iconPaddingLeft:V.iconPaddingRight:V.padding,tu,ut&&"shadow-blue border-blue-600"),children:[A&&v.jsx("div",{className:k("absolute top-1/2 -translate-y-1/2 pointer-events-none text-slate-400",oe==="left"?V.iconWrapper:V.rightIconWrapper),children:A}),ae&&Ne?v.jsx("input",{ref:Qt,type:"text",value:ht,onChange:Ye=>$u(Ye.target.value),placeholder:K,className:"w-full bg-transparent outline-none",onClick:Ye=>Ye.stopPropagation()}):v.jsx("span",{className:k("block truncate",!j&&"text-slate-400"),children:D?.label||K}),re&&j&&!Y&&v.jsx("button",{type:"button",onClick:Ol,className:k("absolute top-1/2 -translate-y-1/2 text-slate-400 hover:text-black transition-colors cursor-pointer",A&&oe==="left"?"right-8":"right-10"),"aria-label":"Очистить",children:v.jsx(Wr,{className:V.iconSize})}),v.jsx("div",{className:k("absolute top-1/2 right-3 -translate-y-1/2 pointer-events-none transition-transform",Ne&&"rotate-180",F?"text-red-600":Ne||ut?"text-black":"text-slate-400"),children:v.jsx(st.AltArrowDown,{className:V.iconSize})})]}),Ne&&v.jsx("div",{id:`${de}-listbox`,role:"listbox",className:k("absolute z-50 mt-1 max-h-60 w-full overflow-y-auto rounded-lg border border-slate-200 bg-white shadow-md p-1 text-black",V.dropdown),children:pe.length===0?v.jsx("div",{className:"px-3 py-2 text-center text-base font-normal",children:"Ничего не найдено"}):pe.map(Ye=>v.jsx("div",{role:"option","aria-selected":Ke===Ye.value,onClick:()=>mt(Ye.value),className:k("cursor-pointer px-3 py-2 font-normal transition-colors hover:bg-slate-100 rounded-sm",Ke===Ye.value?"bg-slate-100":""),children:Ye.label},Ye.value))})]}),F&&v.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-small font-normal text-red-600",children:F})]})});x1.displayName="MciSelect";function D1({className:E,variant:K="default",width:J="100%",height:A="1rem"}){return v.jsx("div",{className:k("relative overflow-hidden bg-slate-200","rounded-lg",K==="circle"&&"rounded-full",K==="rounded"&&"rounded-md",E),style:{width:typeof J=="number"?`${J}px`:J,height:typeof A=="number"?`${A}px`:A},children:v.jsx("div",{className:"shimmer-mask absolute inset-0"})})}function n3({columns:E,data:K,loading:J=!1,skeletonRows:A=5,noDataText:oe="",sort:te,onSortChange:F}){const[Y,Se]=W.useState(null),ue=te??Y,Ae=W.useMemo(()=>!ue||te?K:[...K].sort((re,ae)=>{const I=re[ue.key],de=ae[ue.key];return I==null?1:de==null?-1:I<de?ue.direction==="asc"?-1:1:I>de?ue.direction==="asc"?1:-1:0}),[K,ue,te]),le=re=>{if(!re.sortable)return;let ae=null;ue?.key!==re.key?ae={key:re.key,direction:"asc"}:ue.direction==="asc"&&(ae={key:re.key,direction:"desc"}),te!==void 0?F?.(ae):Se(ae)};W.useEffect(()=>{te!==void 0&&Se(null)},[te]);const fe=re=>re.sortable?!ue||ue.key!==re.key?v.jsx(st.SortVertical,{weight:"Linear",size:20,className:"text-slate-base"}):ue.direction==="asc"?v.jsx(st.SortFromTopToBottom,{weight:"Linear",size:20,className:"text-slate-base"}):v.jsx(st.SortFromBottomToTop,{weight:"Linear",size:20,className:"text-slate-base"}):null,xe=J?[]:te?K:Ae;return v.jsx("div",{className:"w-full overflow-x-auto",children:v.jsxs("div",{className:"inline-block min-w-full align-middle",children:[v.jsx("div",{className:"overflow-hidden rounded-xl border border-slate-200 bg-slate-100",children:v.jsx("table",{className:"min-w-full",children:v.jsx("thead",{children:v.jsx("tr",{children:E.map((re,ae)=>v.jsx("th",{onClick:()=>le(re),className:k("px-4 py-3.5 text-left text-small font-medium text-slate-700 transition-colors",re.align==="center"&&"text-center",re.align==="right"&&"text-right",re.sortable&&"cursor-pointer hover:bg-slate-200"),style:{width:re.width||"auto"},children:v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("span",{className:"truncate",children:re.title}),fe(re)]})},ae))})})})}),v.jsx("div",{className:"overflow-hidden rounded-xl border border-slate-200 bg-white",children:v.jsx("table",{className:"w-full table-fixed",children:v.jsx("tbody",{className:"divide-y divide-slate-200",children:J?Array.from({length:A}).map((re,ae)=>v.jsx("tr",{children:E.map((I,de)=>v.jsx("td",{className:"px-4 py-3",style:{width:I.width},children:v.jsx(D1,{height:30,variant:"rounded"})},de))},ae)):xe.length===0?v.jsx("tr",{children:v.jsx("td",{colSpan:E.length,className:"py-20",children:v.jsxs("div",{className:"flex flex-col items-center justify-center",children:[v.jsx("div",{className:"relative mb-4",children:v.jsx(st.ConfoundedSquare,{weight:"Bold",size:64,className:"animate-float text-slate-400"})}),v.jsx("p",{className:"text-small font-medium text-slate-400",children:oe})]})})}):xe.map((re,ae)=>v.jsx("tr",{className:"group transition-colors hover:bg-slate-50",children:E?.map((I,de)=>v.jsx("td",{className:k("px-3 py-4 text-small font-normal text-black",I.align==="center"&&"text-center",I.align==="right"&&"text-right"),style:{width:I.width||"auto"},children:v.jsx("div",{className:"line-clamp-2",title:I.render?void 0:String(re[I.key]??""),children:I.render?I.render(re[I.key],re):String(re[I.key]??"-")})},de))},ae))})})})]})})}const u3={uz:{dragAndDrop:"Faylni bu yerga torting",clickToUpload:"yoki bosish orqali tanlang",or:"yoki",fileRequirements:(E,K,J,A)=>`${E?`Maksimum ${K} ta fayl`:"1 ta fayl"} • Hajmi ${J}MB dan kichik • ${A!=="*/*"?`Format: ${A}`:"Barcha formatlar"}`,selectedFiles:"Tanlangan fayllar",clearAll:"Barchasini o'chirish",uploading:"Yuklanmoqda...",success:"Muvaffaqiyatli yuklandi",error:"Xatolik",maxFilesError:E=>`Maksimum ${E} ta fayl yuklash mumkin`,fileSizeError:(E,K)=>`"${E}" fayli hajmi ${K}MB dan kichik bo'lishi kerak`,fileTypeError:E=>`"${E}" fayl turi qabul qilinmaydi`,uploadFailed:"Yuklash muvaffaqiyatsiz tugadi",file:"Fayl",image:"Rasm",video:"Video",audio:"Audio",document:"Hujjat"},ru:{dragAndDrop:"Перетащите файл сюда",clickToUpload:"или выберите нажатием",or:"или",fileRequirements:(E,K,J,A)=>`${E?`Максимум ${K} файлов`:"1 файл"} • Размер до ${J}MB • ${A!=="*/*"?`Формат: ${A}`:"Все форматы"}`,selectedFiles:"Выбранные файлы",clearAll:"Очистить все",uploading:"Загружается...",success:"Успешно загружено",error:"Ошибка",maxFilesError:E=>`Можно загрузить максимум ${E} файлов`,fileSizeError:(E,K)=>`Размер файла "${E}" должен быть меньше ${K}MB`,fileTypeError:E=>`Тип файла "${E}" не поддерживается`,uploadFailed:"Не удалось загрузить файл",file:"Файл",image:"Изображение",video:"Видео",audio:"Аудио",document:"Документ"},en:{dragAndDrop:"Drag and drop file here",clickToUpload:"or click to select",or:"or",fileRequirements:(E,K,J,A)=>`${E?`Maximum ${K} files`:"1 file"} • Size up to ${J}MB • ${A!=="*/*"?`Format: ${A}`:"All formats"}`,selectedFiles:"Selected files",clearAll:"Clear all",uploading:"Uploading...",success:"Successfully uploaded",error:"Error",maxFilesError:E=>`Maximum ${E} files can be uploaded`,fileSizeError:(E,K)=>`File "${E}" size must be less than ${K}MB`,fileTypeError:E=>`File type "${E}" is not supported`,uploadFailed:"Upload failed",file:"File",image:"Image",video:"Video",audio:"Audio",document:"Document"}},i3=({multiple:E=!1,accept:K="*/*",maxSize:J=10,maxFiles:A=5,disabled:oe=!1,label:te,required:F=!1,error:Y,className:Se,onFilesChange:ue,onUpload:Ae,showPreview:le=!0,locale:fe="uz",showFileTypeIcon:xe=!0,customValidator:re})=>{const[ae,I]=W.useState([]),[de,Ce]=W.useState(!1),[Ne,_e]=W.useState(!1),ut=W.useRef(null),Be=u3[fe],at=$=>{switch($.type.split("/")[0]){case"image":return v.jsx(st.Gallery,{className:"h-5 w-5 text-blue-500"});case"video":return v.jsx(st.VideoFramePlayHorizontal,{className:"h-5 w-5 text-purple-500"});case"audio":return v.jsx(st.MusicNote,{className:"h-5 w-5 text-green-500"});default:return $.type.includes("pdf")?v.jsx(st.FileText,{className:"h-5 w-5 text-red-500"}):$.type.includes("word")||$.type.includes("document")?v.jsx(st.FileText,{className:"h-5 w-5 text-blue-600"}):$.type.includes("excel")||$.type.includes("spreadsheet")?v.jsx(st.FileText,{className:"h-5 w-5 text-green-600"}):v.jsx(st.File,{className:"h-5 w-5 text-gray-500"})}},Me=$=>{if($===0)return"0 Bytes";const De=1024,ve=["Bytes","KB","MB","GB"],he=Math.floor(Math.log($)/Math.log(De));return parseFloat(($/Math.pow(De,he)).toFixed(2))+" "+ve[he]},ht=$=>{const De=J*1024*1024;return $.size<=De},ee=$=>K==="*/*"?!0:K.split(",").map(ve=>ve.trim()).some(ve=>{if(ve.endsWith("/*")){const he=ve.replace("/*","");return $.type.startsWith(he)}return $.type===ve||$.name.toLowerCase().endsWith(ve.replace("*.","."))}),Ot=$=>new Promise(De=>{if($.type.startsWith("image/")){const ve=new FileReader;ve.onload=he=>De(he.target?.result),ve.readAsDataURL($)}else De("")}),Oe=W.useCallback(async $=>{const De=Array.from($),ve=[];for(const he of De){if(ae.length+ve.length>=A){alert(Be.maxFilesError(A));break}if(!ht(he)){alert(Be.fileSizeError(he.name,J));continue}if(!ee(he)){alert(Be.fileTypeError(he.name));continue}if(re){const mt=re(he);if(mt){alert(mt);continue}}const Ee=await Ot(he);ve.push({id:Math.random().toString(36).substr(2,9),file:he,preview:Ee,progress:0,status:"uploading"})}if(ve.length>0){const he=E?[...ae,...ve]:ve;if(I(he),ue?.(he.map(Ee=>Ee.file)),Ae){_e(!0);try{const Ee=he.map((mt,Ol)=>({...mt,progress:Math.min(100,(Ol+1)/he.length*100)}));I(Ee),await Ae(Ee),I(mt=>mt.map(Ol=>({...Ol,status:"success",progress:100})))}catch(Ee){I(mt=>mt.map(Ol=>({...Ol,status:"error",error:Ee instanceof Error?Ee.message:Be.uploadFailed})))}finally{_e(!1)}}}},[ae,A,ht,ee,re,Be,J,E,ue,Ae]),Ge=W.useCallback($=>{$.preventDefault(),oe||Ce(!0)},[oe]),Qt=W.useCallback($=>{$.preventDefault(),Ce(!1)},[]),Ke=W.useCallback($=>{if($.preventDefault(),Ce(!1),oe)return;const De=$.dataTransfer.files;De.length>0&&Oe(De)},[oe,Oe]),D=W.useCallback($=>{const De=$.target.files;De&&De.length>0&&(Oe(De),ut.current&&(ut.current.value=""))},[Oe]),j=W.useCallback($=>{I(De=>{const ve=De.filter(he=>he.id!==$);return ue?.(ve.map(he=>he.file)),ve})},[ue]),V=W.useCallback(()=>{I([]),ue?.([])},[ue]),pe=W.useCallback(()=>{ut.current?.click()},[]);return v.jsxs("div",{className:k("w-full",Se),children:[te&&v.jsxs("label",{className:k("mb-2 block text-base font-medium text-slate-700",Y?"text-red-600":"text-slate-700"),children:[te,F&&v.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),v.jsxs("div",{className:k("cursor-pointer border border-dashed rounded-2xl p-6 text-center transition-all duration-300","border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",de&&"border-solid border-slate-600 bg-slate-100","disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",Y&&"border-red-600 focus:border-red-600 shadow-red"),onDragOver:Ge,onDragLeave:Qt,onDrop:Ke,onClick:pe,children:[v.jsx("input",{ref:ut,type:"file",multiple:E,accept:K,onChange:D,disabled:oe,className:"hidden"}),v.jsxs("div",{className:"flex flex-col items-center justify-center space-y-3",children:[v.jsx("div",{className:k("rounded-full p-3 transition-colors",Y?"bg-red-100 text-red-600":"bg-slate-100 text-slate-400"),children:v.jsx(st.Upload,{className:"h-6 w-6"})}),v.jsxs("div",{className:"space-y-1",children:[v.jsxs("p",{className:"text-small font-medium text-slate-700",children:[Be.dragAndDrop," ",Be.or.toLowerCase()," ",Be.clickToUpload]}),v.jsx("p",{className:"text-small font-normal text-slate-700",children:Be.fileRequirements(E,A,J,K)})]})]})]}),ae.length>0&&v.jsxs("div",{className:"mt-4 space-y-3",children:[v.jsxs("div",{className:"flex items-center justify-between",children:[v.jsxs("span",{className:"text-small font-medium text-slate-700",children:[Be.selectedFiles," (",ae.length,")"]}),ae.length>1&&v.jsx("button",{type:"button",onClick:V,disabled:oe||Ne,className:"text-small text-red-600 disabled:opacity-50",children:Be.clearAll})]}),v.jsx("div",{className:"space-y-2",children:ae.map($=>v.jsxs("div",{className:k("flex items-center justify-between rounded-lg border border-slate-200 p-3 transition-all",$.status==="error"&&"border-red-600"),children:[v.jsxs("div",{className:"flex min-w-0 flex-1 items-center space-x-3",children:[le&&$.preview?v.jsx("img",{src:$.preview,alt:$.file.name,className:"h-10 w-10 rounded object-cover"}):xe?v.jsx("div",{className:"flex-shrink-0",children:at($.file)}):null,v.jsxs("div",{className:"min-w-0 flex-1",children:[v.jsx("p",{className:"truncate text-small font-medium text-slate-700",children:$.file.name}),v.jsxs("div",{className:"flex items-center space-x-2 text-small text-slate-400",children:[v.jsx("span",{children:Me($.file.size)}),$.status==="uploading"&&v.jsxs("span",{className:"flex items-center",children:[v.jsx(st.Star2,{className:"h-5 w-5 mr-1 animate-spin"}),Be.uploading]}),$.status==="success"&&v.jsx("span",{className:"flex items-center text-small font-normal text-green-600",children:Be.success})]}),$.status==="uploading"&&v.jsx("div",{className:"mt-1 h-1.5 w-full rounded-full bg-slate-200",children:v.jsx("div",{className:"h-1.5 rounded-full bg-slate-400 transition-all duration-300",style:{width:`${$.progress}%`}})}),$.status==="error"&&$.error&&v.jsx("p",{className:"mt-2 flex items-center text-small font-normal text-red-600",children:$.error})]})]}),v.jsx("div",{className:"flex flex-shrink-0 items-center space-x-2",children:v.jsx("button",{type:"button",onClick:De=>{De.stopPropagation(),j($.id)},disabled:oe||Ne,className:"text-slate-base transition-colors active:rotate-180 hover:cursor-pointer disabled:opacity-50",children:v.jsx(Wr,{className:"h-6 w-6"})})})]},$.id))})]}),Y&&v.jsx("p",{className:"mt-2 flex items-center text-small font-normal text-red-600",children:Y})]})};function c3({show:E,setShow:K,title:J,description:A,Header:oe,Body:te,footer:F,handleClickOutside:Y=!1}){const Se=W.useRef(null),{handleEscape:ue}=vy(()=>K(!1));W.useEffect(()=>(E?(document.addEventListener("keydown",ue),document.body.style.overflow="hidden"):document.body.style.overflow="unset",()=>document.removeEventListener("keydown",ue)),[E,ue]);const{handleClick:Ae}=by(Se,()=>{Y&&K(!1)});return W.useEffect(()=>(E&&Y&&document.addEventListener("mousedown",Ae),()=>document.removeEventListener("mousedown",Ae)),[E,Ae,Y]),v.jsx("div",{className:k("bg-black/40 fixed inset-0 z-50 flex items-center justify-center transition-all duration-500 ease-in-out",E?"opacity-100":"pointer-events-none opacity-0"),children:v.jsxs("div",{ref:Se,className:k("relative bg-white w-full max-w-[720px] rounded-2xl","transform transition-all duration-500 ease-out",E?"scale-100 opacity-100":"scale-90 opacity-0"),children:[(oe||J||A)&&v.jsxs("div",{className:"border-b border-slate-200 flex items-start justify-between p-6 mb-4",children:[oe||v.jsxs("div",{className:"block",children:[v.jsx("h2",{className:"text-h3 font-semibold text-black",children:J}),A&&v.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:A})]}),v.jsx("button",{onClick:()=>K(!1),className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group",children:v.jsx(Wr,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),te&&v.jsx("div",{className:"scrollbar-thin scrollbar-thumb-slate-200 max-h-96 px-6 overflow-y-auto mb-2",children:te}),F&&v.jsx("div",{className:"flex items-center justify-end gap-3 border-t border-slate-200 p-6",children:F})]})})}function o3({totalItems:E,currentPage:K,perPage:J,onPageChange:A,onPerPageChange:oe,siblingCount:te=1,perPageOptions:F=[10,30,50,100],showPerPage:Y=!0,variant:Se="yellow",size:ue="large"}){const Ae=Number.isFinite(E)&&E>0?E:0,le=Number.isFinite(J)&&J>0?J:10,fe=Math.max(1,Number.isFinite(K)?K:1),xe=Math.ceil(Ae/le);if(xe<=1||Ae===0)return null;const ae=(()=>{const Ce=[],Ne=te*2+5;if(xe<=Ne)return Array.from({length:xe},(Be,at)=>at+1);const _e=Math.max(fe-te,2),ut=Math.min(fe+te,xe-1);Ce.push(1),_e>2&&Ce.push("...");for(let Be=_e;Be<=ut;Be++)Ce.push(Be);return ut<xe-1&&Ce.push("..."),xe>1&&Ce.push(xe),Ce})(),I={medium:"h-9 text-small",large:"h-10 text-base"}[ue],de={yellow:{active:"bg-yellow-500 text-white border-yellow-500",inactive:"bg-slate-100 border-slate-200 text-black hover:bg-slate-200",disabled:"text-slate-400 border-slate-200",arrow:"text-black"},blue:{active:"bg-blue-600 text-white border-blue-600",inactive:"bg-slate-100 border-slate-200 text-black hover:bg-slate-200",disabled:"text-slate-400 border-slate-300",arrow:"text-black"}}[Se??"yellow"];return v.jsxs("div",{className:"flex items-center justify-between gap-4 w-full",children:[Y&&oe&&v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("span",{className:"whitespace-nowrap text-extra-small text-slate-base font-normal",children:"Строк на странице:"}),v.jsxs("div",{className:"relative",children:[v.jsx("select",{value:le,onChange:Ce=>oe(Number(Ce.target.value)),className:k("appearance-none bg-white border border-slate-200 rounded-lg pl-3 pr-8 text-base text-black font-medium focus:outline-none cursor-pointer",ue==="large"?"h-10":"h-9"),"aria-label":"Количество строк на странице",children:F.map(Ce=>v.jsx("option",{value:Ce,children:Ce},Ce))}),v.jsx(st.AltArrowDown,{className:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-slate-400",weight:"Linear",size:20})]})]}),v.jsxs("nav",{"aria-label":"Пагинация",className:"flex items-center gap-1 shrink-0 whitespace-nowrap",children:[v.jsx("button",{onClick:()=>A(fe-1),disabled:fe===1,"aria-label":"Предыдущая страница",className:k("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",I,fe===1?k("cursor-not-allowed opacity-50",de.disabled):k("hover:cursor-pointer",de.arrow,"border-slate-200")),children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20})}),v.jsx("div",{className:"flex items-center gap-1",children:ae.map((Ce,Ne)=>{if(Ce==="...")return v.jsx("span",{className:k("flex items-center justify-center text-black font-medium min-w-10",I),"aria-hidden":"true",children:v.jsx(st.MenuDots,{weight:"Bold",size:20})},Ne);const _e=Ce===fe;return v.jsx("button",{onClick:()=>A(Ce),"aria-label":`Страница ${Ce}${_e?", текущая":""}`,"aria-current":_e?"page":void 0,className:k("flex items-center justify-center rounded-lg border font-medium transition-all hover:cursor-pointer min-w-10 px-2",I,_e?de.active:de.inactive),children:Ce},Ne)})}),v.jsx("button",{onClick:()=>A(fe+1),disabled:fe===xe,"aria-label":"Следующая страница",className:k("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",I,fe===xe?k("cursor-not-allowed opacity-50",de.disabled):k("hover:cursor-pointer",de.arrow,"border-slate-200")),children:v.jsx(st.AltArrowRight,{size:20,weight:"Linear"})})]})]})}function s3({tabs:E,defaultTab:K,position:J="top",className:A,onChange:oe}){const[te,F]=W.useState(K||E[0]?.id),[Y,Se]=W.useState({}),ue=W.useRef([]),Ae=()=>{const ae=E.findIndex(de=>de?.id===te),I=ue.current[ae];if(I){const{offsetLeft:de,offsetTop:Ce,offsetWidth:Ne,offsetHeight:_e}=I;Se({left:`${de}px`,top:`${Ce}px`,width:`${Ne}px`,height:`${_e}px`,transition:"all 0.4s cubic-bezier(0.25, 1, 0.5, 1)"})}};W.useEffect(()=>(Ae(),window.addEventListener("resize",Ae),()=>window.removeEventListener("resize",Ae)),[te,J,E]);const le={top:"flex-col",bottom:"flex-col-reverse",left:"flex-row",right:"flex-row-reverse"},fe={top:"flex-row",bottom:"flex-row",left:"flex-col",right:"flex-col"},xe={top:"mt-6",bottom:"mb-6",left:"ml-6",right:"mr-6"},re=J==="left"||J==="right";return v.jsxs("div",{className:k("flex w-full",le[J],A),children:[v.jsxs("div",{className:k("relative flex rounded-xl bg-slate-100 p-1",fe[J],re?"min-w-48":"w-full"),children:[v.jsx("div",{className:k("absolute bg-white rounded-lg",re?"w-full":"h-full"),style:Y}),E?.map((ae,I)=>{const de=te===ae.id;return v.jsxs("button",{ref:Ce=>{ue.current[I]=Ce},onClick:()=>{ae?.disabled||(F(ae?.id),oe?.(ae?.id))},disabled:ae?.disabled,className:k("relative flex cursor-pointer text-black text-base font-normal items-center justify-center gap-2 px-5 py-2 z-10 whitespace-nowrap transition-colors duration-300",de?"":"text-slate-500 hover:text-slate-700",ae?.disabled&&"opacity-50 cursor-not-allowed",re?"w-full justify-start":"flex-1"),children:[ae?.icon&&v.jsx("span",{className:k("flex-shrink-0 transition-transform duration-200",de&&"scale-110"),children:ae?.icon}),v.jsx("span",{className:"relative z-10",children:ae?.label})]},ae?.id)})]}),v.jsx("div",{className:k("flex-1 overflow-hidden",xe[J]),children:v.jsx("div",{className:"animate-fade-in",style:{animationDuration:"0.4s"},children:E?.find(ae=>ae?.id===te)?.content},te)})]})}function f3({children:E,className:K}){return v.jsx("div",{className:k("rounded-xl border border-slate-200 bg-white p-6",K),children:E})}const r3={sm:"px-2 py-0.5",md:"px-2 py-1",lg:"px-3 py-2"},w1={sm:"w-3 h-3",md:"w-3 h-3",lg:"w-3 h-3"},d3={success:"bg-green-50 text-green-600",warning:"bg-orange-50 text-orange-600",error:"bg-red-50 text-red-600",gray:"bg-slate-200 text-slate-700",blue:"bg-blue-50 text-blue-600"};function h3({children:E,variant:K="success",size:J="lg",icon:A,iconPosition:oe="left",className:te}){return v.jsxs("span",{className:k("inline-flex animate-[fadeIn_0.3s_ease-out] items-center rounded-lg text-extra-small font-medium",r3[J],d3[K],A&&"gap-[2px]",te),children:[A&&oe==="left"&&v.jsx("span",{className:`flex items-center ${k(w1[J])}`,children:A}),v.jsx("span",{children:E}),A&&oe==="right"&&v.jsx("span",{className:`flex items-center ${k(w1[J])}`,children:A})]})}const M1=W.forwardRef(({label:E,placeholder:K,value:J="",onChange:A,required:oe=!1,disabled:te=!1,error:F,className:Y,rows:Se=4,name:ue},Ae)=>{const le=W.useMemo(()=>F?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[F]);return v.jsxs("div",{className:k("relative w-full",Y),children:[E&&v.jsxs("label",{className:k("mb-2 block text-base font-medium",F?"text-red-600":"text-slate-700"),children:[E,oe&&v.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),v.jsx("textarea",{ref:Ae,name:ue,rows:Se,value:J,onChange:fe=>A?.(fe.target.value),disabled:te,placeholder:E?void 0:K,className:k("w-full resize-none rounded-xl border bg-white text-base font-normal transition-all duration-300 ease-in-out outline-none","p-3 disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",le)}),F&&v.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-small font-normal text-red-600",children:F})]})});M1.displayName="MciTextarea";var Sy={exports:{}},v0={},Ty={exports:{}},Kv={};var O1;function m3(){return O1||(O1=1,(function(E){function K(D,j){var V=D.length;D.push(j);e:for(;0<V;){var pe=V-1>>>1,$=D[pe];if(0<oe($,j))D[pe]=j,D[V]=$,V=pe;else break e}}function J(D){return D.length===0?null:D[0]}function A(D){if(D.length===0)return null;var j=D[0],V=D.pop();if(V!==j){D[0]=V;e:for(var pe=0,$=D.length,De=$>>>1;pe<De;){var ve=2*(pe+1)-1,he=D[ve],Ee=ve+1,mt=D[Ee];if(0>oe(he,V))Ee<$&&0>oe(mt,he)?(D[pe]=mt,D[Ee]=V,pe=Ee):(D[pe]=he,D[ve]=V,pe=ve);else if(Ee<$&&0>oe(mt,V))D[pe]=mt,D[Ee]=V,pe=Ee;else break e}}return j}function oe(D,j){var V=D.sortIndex-j.sortIndex;return V!==0?V:D.id-j.id}if(E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var te=performance;E.unstable_now=function(){return te.now()}}else{var F=Date,Y=F.now();E.unstable_now=function(){return F.now()-Y}}var Se=[],ue=[],Ae=1,le=null,fe=3,xe=!1,re=!1,ae=!1,I=!1,de=typeof setTimeout=="function"?setTimeout:null,Ce=typeof clearTimeout=="function"?clearTimeout:null,Ne=typeof setImmediate<"u"?setImmediate:null;function _e(D){for(var j=J(ue);j!==null;){if(j.callback===null)A(ue);else if(j.startTime<=D)A(ue),j.sortIndex=j.expirationTime,K(Se,j);else break;j=J(ue)}}function ut(D){if(ae=!1,_e(D),!re)if(J(Se)!==null)re=!0,Be||(Be=!0,Oe());else{var j=J(ue);j!==null&&Ke(ut,j.startTime-D)}}var Be=!1,at=-1,Me=5,ht=-1;function ee(){return I?!0:!(E.unstable_now()-ht<Me)}function Ot(){if(I=!1,Be){var D=E.unstable_now();ht=D;var j=!0;try{e:{re=!1,ae&&(ae=!1,Ce(at),at=-1),xe=!0;var V=fe;try{t:{for(_e(D),le=J(Se);le!==null&&!(le.expirationTime>D&&ee());){var pe=le.callback;if(typeof pe=="function"){le.callback=null,fe=le.priorityLevel;var $=pe(le.expirationTime<=D);if(D=E.unstable_now(),typeof $=="function"){le.callback=$,_e(D),j=!0;break t}le===J(Se)&&A(Se),_e(D)}else A(Se);le=J(Se)}if(le!==null)j=!0;else{var De=J(ue);De!==null&&Ke(ut,De.startTime-D),j=!1}}break e}finally{le=null,fe=V,xe=!1}j=void 0}}finally{j?Oe():Be=!1}}}var Oe;if(typeof Ne=="function")Oe=function(){Ne(Ot)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,Qt=Ge.port2;Ge.port1.onmessage=Ot,Oe=function(){Qt.postMessage(null)}}else Oe=function(){de(Ot,0)};function Ke(D,j){at=de(function(){D(E.unstable_now())},j)}E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(D){D.callback=null},E.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Me=0<D?Math.floor(1e3/D):5},E.unstable_getCurrentPriorityLevel=function(){return fe},E.unstable_next=function(D){switch(fe){case 1:case 2:case 3:var j=3;break;default:j=fe}var V=fe;fe=j;try{return D()}finally{fe=V}},E.unstable_requestPaint=function(){I=!0},E.unstable_runWithPriority=function(D,j){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var V=fe;fe=D;try{return j()}finally{fe=V}},E.unstable_scheduleCallback=function(D,j,V){var pe=E.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?pe+V:pe):V=pe,D){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=V+$,D={id:Ae++,callback:j,priorityLevel:D,startTime:V,expirationTime:$,sortIndex:-1},V>pe?(D.sortIndex=V,K(ue,D),J(Se)===null&&D===J(ue)&&(ae?(Ce(at),at=-1):ae=!0,Ke(ut,V-pe))):(D.sortIndex=$,K(Se,D),re||xe||(re=!0,Be||(Be=!0,Oe()))),D},E.unstable_shouldYield=ee,E.unstable_wrapCallback=function(D){var j=fe;return function(){var V=fe;fe=j;try{return D.apply(this,arguments)}finally{fe=V}}}})(Kv)),Kv}var $v={};var C1;function p3(){return C1||(C1=1,(function(E){process.env.NODE_ENV!=="production"&&(function(){function K(){if(ut=!1,ht){var D=E.unstable_now();Oe=D;var j=!0;try{e:{Ne=!1,_e&&(_e=!1,at(ee),ee=-1),Ce=!0;var V=de;try{t:{for(F(D),I=A(xe);I!==null&&!(I.expirationTime>D&&Se());){var pe=I.callback;if(typeof pe=="function"){I.callback=null,de=I.priorityLevel;var $=pe(I.expirationTime<=D);if(D=E.unstable_now(),typeof $=="function"){I.callback=$,F(D),j=!0;break t}I===A(xe)&&oe(xe),F(D)}else oe(xe);I=A(xe)}if(I!==null)j=!0;else{var De=A(re);De!==null&&ue(Y,De.startTime-D),j=!1}}break e}finally{I=null,de=V,Ce=!1}j=void 0}}finally{j?Ge():ht=!1}}}function J(D,j){var V=D.length;D.push(j);e:for(;0<V;){var pe=V-1>>>1,$=D[pe];if(0<te($,j))D[pe]=j,D[V]=$,V=pe;else break e}}function A(D){return D.length===0?null:D[0]}function oe(D){if(D.length===0)return null;var j=D[0],V=D.pop();if(V!==j){D[0]=V;e:for(var pe=0,$=D.length,De=$>>>1;pe<De;){var ve=2*(pe+1)-1,he=D[ve],Ee=ve+1,mt=D[Ee];if(0>te(he,V))Ee<$&&0>te(mt,he)?(D[pe]=mt,D[Ee]=V,pe=Ee):(D[pe]=he,D[ve]=V,pe=ve);else if(Ee<$&&0>te(mt,V))D[pe]=mt,D[Ee]=V,pe=Ee;else break e}}return j}function te(D,j){var V=D.sortIndex-j.sortIndex;return V!==0?V:D.id-j.id}function F(D){for(var j=A(re);j!==null;){if(j.callback===null)oe(re);else if(j.startTime<=D)oe(re),j.sortIndex=j.expirationTime,J(xe,j);else break;j=A(re)}}function Y(D){if(_e=!1,F(D),!Ne)if(A(xe)!==null)Ne=!0,ht||(ht=!0,Ge());else{var j=A(re);j!==null&&ue(Y,j.startTime-D)}}function Se(){return ut?!0:!(E.unstable_now()-Oe<Ot)}function ue(D,j){ee=Be(function(){D(E.unstable_now())},j)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var Ae=performance;E.unstable_now=function(){return Ae.now()}}else{var le=Date,fe=le.now();E.unstable_now=function(){return le.now()-fe}}var xe=[],re=[],ae=1,I=null,de=3,Ce=!1,Ne=!1,_e=!1,ut=!1,Be=typeof setTimeout=="function"?setTimeout:null,at=typeof clearTimeout=="function"?clearTimeout:null,Me=typeof setImmediate<"u"?setImmediate:null,ht=!1,ee=-1,Ot=5,Oe=-1;if(typeof Me=="function")var Ge=function(){Me(K)};else if(typeof MessageChannel<"u"){var Qt=new MessageChannel,Ke=Qt.port2;Qt.port1.onmessage=K,Ge=function(){Ke.postMessage(null)}}else Ge=function(){Be(K,0)};E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(D){D.callback=null},E.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ot=0<D?Math.floor(1e3/D):5},E.unstable_getCurrentPriorityLevel=function(){return de},E.unstable_next=function(D){switch(de){case 1:case 2:case 3:var j=3;break;default:j=de}var V=de;de=j;try{return D()}finally{de=V}},E.unstable_requestPaint=function(){ut=!0},E.unstable_runWithPriority=function(D,j){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var V=de;de=D;try{return j()}finally{de=V}},E.unstable_scheduleCallback=function(D,j,V){var pe=E.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?pe+V:pe):V=pe,D){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=V+$,D={id:ae++,callback:j,priorityLevel:D,startTime:V,expirationTime:$,sortIndex:-1},V>pe?(D.sortIndex=V,J(re,D),A(xe)===null&&D===A(re)&&(_e?(at(ee),ee=-1):_e=!0,ue(Y,V-pe))):(D.sortIndex=$,J(xe,D),Ne||Ce||(Ne=!0,ht||(ht=!0,Ge()))),D},E.unstable_shouldYield=Se,E.unstable_wrapCallback=function(D){var j=de;return function(){var V=de;de=j;try{return D.apply(this,arguments)}finally{de=V}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})($v)),$v}var U1;function N1(){return U1||(U1=1,process.env.NODE_ENV==="production"?Ty.exports=m3():Ty.exports=p3()),Ty.exports}var _1;function y3(){if(_1)return v0;_1=1;var E=N1(),K=W,J=T1;function A(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function oe(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function te(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function F(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function Y(l){if(l.tag===31){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function Se(l){if(te(l)!==l)throw Error(A(188))}function ue(l){var n=l.alternate;if(!n){if(n=te(l),n===null)throw Error(A(188));return n!==l?null:l}for(var u=l,c=n;;){var f=u.return;if(f===null)break;var r=f.alternate;if(r===null){if(c=f.return,c!==null){u=c;continue}break}if(f.child===r.child){for(r=f.child;r;){if(r===u)return Se(f),l;if(r===c)return Se(f),n;r=r.sibling}throw Error(A(188))}if(u.return!==c.return)u=f,c=r;else{for(var m=!1,g=f.child;g;){if(g===u){m=!0,u=f,c=r;break}if(g===c){m=!0,c=f,u=r;break}g=g.sibling}if(!m){for(g=r.child;g;){if(g===u){m=!0,u=r,c=f;break}if(g===c){m=!0,c=r,u=f;break}g=g.sibling}if(!m)throw Error(A(189))}}if(u.alternate!==c)throw Error(A(190))}if(u.tag!==3)throw Error(A(188));return u.stateNode.current===u?l:n}function Ae(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=Ae(l),n!==null)return n;l=l.sibling}return null}var le=Object.assign,fe=Symbol.for("react.element"),xe=Symbol.for("react.transitional.element"),re=Symbol.for("react.portal"),ae=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),Ce=Symbol.for("react.consumer"),Ne=Symbol.for("react.context"),_e=Symbol.for("react.forward_ref"),ut=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),at=Symbol.for("react.memo"),Me=Symbol.for("react.lazy"),ht=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),Ot=Symbol.iterator;function Oe(l){return l===null||typeof l!="object"?null:(l=Ot&&l[Ot]||l["@@iterator"],typeof l=="function"?l:null)}var Ge=Symbol.for("react.client.reference");function Qt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Ge?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ae:return"Fragment";case de:return"Profiler";case I:return"StrictMode";case ut:return"Suspense";case Be:return"SuspenseList";case ht:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case re:return"Portal";case Ne:return l.displayName||"Context";case Ce:return(l._context.displayName||"Context")+".Consumer";case _e:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case at:return n=l.displayName||null,n!==null?n:Qt(l.type)||"Memo";case Me:n=l._payload,l=l._init;try{return Qt(l(n))}catch{}}return null}var Ke=Array.isArray,D=K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=J.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},pe=[],$=-1;function De(l){return{current:l}}function ve(l){0>$||(l.current=pe[$],pe[$]=null,$--)}function he(l,n){$++,pe[$]=l.current,l.current=n}var Ee=De(null),mt=De(null),Ol=De(null),$u=De(null);function tu(l,n){switch(he(Ol,n),he(mt,l),he(Ee,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?qg(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=qg(n),l=hp(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}ve(Ee),he(Ee,l)}function Ye(){ve(Ee),ve(mt),ve(Ol)}function _a(l){l.memoizedState!==null&&he($u,l);var n=Ee.current,u=hp(n,l.type);n!==u&&(he(mt,l),he(Ee,u))}function se(l){mt.current===l&&(ve(Ee),ve(mt)),$u.current===l&&(ve($u),zr._currentValue=V)}var hc,mc;function nn(l){if(hc===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);hc=n&&n[1]||"",mc=-1<u.stack.indexOf(`
|
|
1
|
+
(function(Ct,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("react/jsx-runtime"),require("@solar-icons/react"),require("clsx"),require("tailwind-merge"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@solar-icons/react","clsx","tailwind-merge","react","react-dom"],v):(Ct=typeof globalThis<"u"?globalThis:Ct||self,v(Ct.MciUi={},Ct.jsxRuntime,Ct.SolarIcons,Ct.clsx,Ct.tailwindMerge,Ct.React,Ct.ReactDOM))})(this,(function(Ct,v,st,K2,$2,W,T1){"use strict";var E1=document.createElement("style");E1.textContent=`@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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--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;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@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;--color-red-50:#fef2f2;--color-red-100:#fee2e2;--color-red-500:#fb2c36;--color-red-600:#e7000b;--color-red-700:#c10007;--color-red-800:#9f0712;--color-orange-50:#fff7ed;--color-orange-600:#f54a00;--color-yellow-50:#fefce8;--color-yellow-100:#fef9c3;--color-yellow-200:#fff085;--color-yellow-300:#ffdf20;--color-yellow-500:#efb100;--color-yellow-600:#d08700;--color-yellow-700:#a65f00;--color-green-50:#effdf5;--color-green-500:#00c16a;--color-green-600:#00a155;--color-blue-50:#eff6ff;--color-blue-100:#dbeafe;--color-blue-200:#bedbff;--color-blue-500:#2b7fff;--color-blue-600:#155dfc;--color-blue-700:#1447e6;--color-blue-800:#193cb8;--color-purple-500:oklch(62.7% .265 303.9);--color-slate-50:#f8fafc;--color-slate-100:#f1f5f9;--color-slate-200:#e2e8f0;--color-slate-300:#cad5e2;--color-slate-400:#90a1b9;--color-slate-500:#64748e;--color-slate-600:#45556c;--color-slate-700:#314158;--color-gray-500:oklch(55.1% .027 264.364);--color-black:#1d1f23;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:16px;--text-base--line-height: 1.5 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin .3s 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-slate-base:#62748e;--text-h3:32px;--text-small:14px;--text-extra-small:12px;--animate-fade-in:fadeIn .5s ease-in-out}}@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}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-1\\.5{top:calc(var(--spacing)*1.5)}.top-1\\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-full{top:100%}.right-1\\.5{right:calc(var(--spacing)*1.5)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.right-8{right:calc(var(--spacing)*8)}.right-10{right:calc(var(--spacing)*10)}.right-16{right:calc(var(--spacing)*16)}.right-full{right:100%}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-0\\.5{left:calc(var(--spacing)*.5)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.left-6{left:calc(var(--spacing)*6)}.left-full{left:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-6{margin:calc(var(--spacing)*6)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-6{margin-right:calc(var(--spacing)*6)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-6{margin-left:calc(var(--spacing)*6)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1{height:calc(var(--spacing)*1)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.w-1{width:calc(var(--spacing)*1)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-\\[52px\\]{width:52px}.w-\\[300px\\]{width:300px}.w-full{width:100%}.max-w-\\[572px\\]{max-width:572px}.max-w-\\[720px\\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\\[calc\\(100\\%\\+24px\\)\\]{--tw-translate-x: calc((100% + 24px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[calc\\(100\\%\\+24px\\)\\]{--tw-translate-x: calc(100% + 24px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-50{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-45{rotate:45deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-\\[fadeIn_0\\.3s_ease-out\\]{animation:.3s ease-out fadeIn}.animate-\\[slideDown_0\\.3s_ease-out\\]{animation:.3s ease-out slideDown}.animate-fade-in{animation:var(--animate-fade-in)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-\\[2px\\]{gap:2px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-1{row-gap:calc(var(--spacing)*1)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-200>:not(:last-child)){border-color:var(--color-slate-200)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-400{border-color:var(--color-slate-400)}.border-slate-600{border-color:var(--color-slate-600)}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-black\\/40{background-color:#1d1f2366}@supports (color:color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-300{background-color:var(--color-slate-300)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-slate-600{background-color:var(--color-slate-600)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-gradient-to-l{--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-50\\%{--tw-gradient-from-position:50%}.via-blue-50{--tw-gradient-via:var(--color-blue-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-50{--tw-gradient-to:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.stroke-\\[2\\.5px\\]{stroke-width:2.5px}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-20{padding-block:calc(var(--spacing)*20)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-7{padding-left:calc(var(--spacing)*7)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.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))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-extra-small{font-size:var(--text-extra-small)}.text-h3{font-size:var(--text-h3)}.text-small{font-size:var(--text-small)}.leading-9{--tw-leading:calc(var(--spacing)*9);line-height:calc(var(--spacing)*9)}.leading-10{--tw-leading:calc(var(--spacing)*10);line-height:calc(var(--spacing)*10)}.leading-12{--tw-leading:calc(var(--spacing)*12);line-height:calc(var(--spacing)*12)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#82828C\\]{color:#82828c}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-500{color:var(--color-gray-500)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-orange-600{color:var(--color-orange-600)}.text-purple-500{color:var(--color-purple-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-base{color:var(--color-slate-base)}.text-transparent{color:#0000}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md{--tw-shadow:0 4px 8px 0 var(--tw-shadow-color,#00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\\:scale-100:is(:where(.group):hover *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\\:rotate-180:is(:where(.group):hover *){rotate:180deg}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\:delay-200:is(:where(.group):hover *){transition-delay:.2s}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:border-blue-600:hover{border-color:var(--color-blue-600)}.hover\\:border-blue-700:hover{border-color:var(--color-blue-700)}.hover\\:border-slate-200:hover{border-color:var(--color-slate-200)}.hover\\:border-slate-400:hover{border-color:var(--color-slate-400)}.hover\\:border-yellow-500:hover{border-color:var(--color-yellow-500)}.hover\\:border-yellow-600:hover{border-color:var(--color-yellow-600)}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\\:bg-yellow-500:hover{background-color:var(--color-yellow-500)}.hover\\:bg-yellow-600:hover{background-color:var(--color-yellow-600)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-blue-700:hover{color:var(--color-blue-700)}.hover\\:text-slate-400:hover{color:var(--color-slate-400)}.hover\\:text-slate-700:hover{color:var(--color-slate-700)}.hover\\:text-yellow-500:hover{color:var(--color-yellow-500)}.hover\\:text-yellow-600:hover{color:var(--color-yellow-600)}}.focus\\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\\:border-red-600:focus{border-color:var(--color-red-600)}.focus\\:bg-transparent:focus{background-color:#0000}.focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + 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\\:ring-\\[rgba\\(21\\,93\\,252\\,0\\.25\\)\\]:focus{--tw-ring-color:#155dfc40}.focus\\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\\:ring-yellow-200:focus{--tw-ring-color:var(--color-yellow-200)}.focus\\:ring-yellow-300:focus{--tw-ring-color:var(--color-yellow-300)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:rotate-180:active{rotate:180deg}.active\\:animate-spin:active{animation:var(--animate-spin)}.active\\:border:active{border-style:var(--tw-border-style);border-width:1px}.active\\:border-blue-600:active{border-color:var(--color-blue-600)}.active\\:border-blue-800:active{border-color:var(--color-blue-800)}.active\\:border-slate-200:active{border-color:var(--color-slate-200)}.active\\:border-yellow-500:active{border-color:var(--color-yellow-500)}.active\\:border-yellow-700:active{border-color:var(--color-yellow-700)}.active\\:bg-blue-200:active{background-color:var(--color-blue-200)}.active\\:bg-blue-800:active{background-color:var(--color-blue-800)}.active\\:bg-red-800:active{background-color:var(--color-red-800)}.active\\:bg-slate-200:active{background-color:var(--color-slate-200)}.active\\:bg-slate-300:active{background-color:var(--color-slate-300)}.active\\:bg-transparent:active{background-color:#0000}.active\\:bg-yellow-100:active{background-color:var(--color-yellow-100)}.active\\:bg-yellow-700:active{background-color:var(--color-yellow-700)}.active\\:text-blue-800:active{color:var(--color-blue-800)}.active\\:text-slate-400:active{color:var(--color-slate-400)}.active\\:text-yellow-700:active{color:var(--color-yellow-700)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-slate-200:disabled{border-color:var(--color-slate-200)}.disabled\\:bg-slate-100:disabled{background-color:var(--color-slate-100)}.disabled\\:text-slate-400:disabled{color:var(--color-slate-400)}.disabled\\:opacity-50:disabled{opacity:.5}@media (min-width:48rem){.md\\:block{display:block}.md\\:flex-row{flex-direction:row}}.shadow-red,.focus\\:shadow-red:focus{box-shadow:0 0 0 2px #e7000b40}.focus\\:shadow-blue:focus{box-shadow:0 0 0 2px #155dfc40}.focus\\:shadow-slate:focus{box-shadow:0 0 0 2px #0f172a40}}ul,ol{list-style:none}input,textarea,button,select{outline:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes smooth-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.shimmer-mask{will-change:transform;background:linear-gradient(90deg,#0000,#ffffff59,#0000);animation:1.8s ease-in-out infinite smooth-shimmer}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(E1);function k2(E){const K=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(E){for(const J in E)if(J!=="default"){const A=Object.getOwnPropertyDescriptor(E,J);Object.defineProperty(K,J,A.get?A:{enumerable:!0,get:()=>E[J]})}}return K.default=E,Object.freeze(K)}const g0=k2(W);function k(...E){return $2.twMerge(K2.clsx(E))}function vy(E){return{handleEscape:J=>{J.key==="Escape"&&E()}}}function by(E,K){return{handleClick:A=>{E.current&&!E.current.contains(A.target)&&K()}}}function W2({items:E,variant:K="blue",className:J}){const A=K==="blue",oe=A?"hover:text-blue-600":"hover:text-yellow-500",te=A?"text-blue-600":"text-yellow-500";return v.jsx("nav",{className:k("flex items-center",J),"aria-label":"Breadcrumb",children:E.map((F,Y)=>{const Se=Y===E.length-1;return v.jsxs("div",{className:"flex items-center",children:[Se?v.jsxs("span",{className:k("flex items-center gap-x-2 font-medium",te),children:[F.icon,v.jsx("span",{children:F.label})]}):v.jsxs("a",{href:F.href??"#",onClick:ue=>{F.onClick&&(ue.preventDefault(),F.onClick())},className:k("flex items-center gap-x-2 transition-all text-small font-normal text-slate-500",oe),children:[F.icon,v.jsx("span",{children:F.label})]}),!Se&&v.jsx("span",{className:"mx-2 flex items-center",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-500"})})]},Y)})})}function F2({children:E,text:K,icon:J,iconPosition:A="left",size:oe="base",variant:te="primary",color:F="yellow",loading:Y=!1,disabled:Se=!1,onClick:ue,className:Ae,type:le="button"}){const fe=E??K,xe={sm:"h-9 px-2 text-sm gap-1.4 rounded-lg leading-9",md:"h-10 px-2 text-base gap-2 rounded-lg leading-10",base:"h-12 px-4 text-base gap-2 rounded-xl leading-12"},I=te==="primary"||te==="secondary"||te==="outline"?{blue:{primary:"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 focus:ring-2 focus:ring-[rgba(21,93,252,0.25)]",secondary:"bg-blue-100 text-blue-600 hover:bg-blue-200 active:bg-blue-200 active:border active:border-blue-600 focus:ring-2 focus:ring-[rgba(21,93,252,0.25)]",outline:"border border-blue-600 text-blue-600 hover:border-blue-700 hover:text-blue-700 active:border-blue-800 active:text-blue-800 focus:ring-2 focus:ring-blue-200"},yellow:{primary:"bg-yellow-500 text-white hover:bg-yellow-600 active:bg-yellow-700 focus:ring-2 focus:ring-yellow-300",secondary:"bg-yellow-50 text-yellow-500 hover:bg-yellow-100 active:bg-yellow-100 active:border active:border-yellow-500 focus:ring-2 focus:ring-yellow-200",outline:"border border-yellow-500 text-yellow-500 hover:border-yellow-600 hover:text-yellow-600 active:border-yellow-700 active:text-yellow-700 focus:ring-2 focus:ring-yellow-200"}}[F][te]:{danger:"bg-red-600 text-white hover:bg-red-700 active:bg-red-800 focus:ring-2 focus:shadow-red",tertiary:"bg-slate-100 text-black hover:bg-slate-200 active:bg-slate-300 focus:ring-2 focus:shadow-slate"}[te],de=Se||Y,Ce=de?te==="outline"?"border-slate-200 bg-white text-slate-400 cursor-not-allowed hover:bg-transparent hover:border-slate-200 hover:text-slate-400 active:border-slate-200 active:text-slate-400 active:bg-transparent focus:bg-transparent focus:ring-0":"bg-slate-200 text-slate-400 cursor-not-allowed hover:bg-slate-200 active:bg-slate-200 focus:ring-0":"";return v.jsxs("button",{type:le,onClick:ue,disabled:de,className:k("inline-flex items-center justify-center font-medium transition-all duration-200 cursor-pointer",xe[oe],I,!de&&I,Ce,Ae),children:[J&&A==="left"&&!Y&&v.jsx("span",{className:"flex items-center",children:J}),fe&&v.jsx("span",{children:fe}),J&&A==="right"&&!Y&&v.jsx("span",{className:"flex items-center",children:J}),Y&&v.jsx(st.Star2,{weight:"Linear",size:20,className:"animate-spin"})]})}const I2=E=>g0.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:11,height:8,viewBox:"0 0 11 8",fill:"none",...E},g0.createElement("path",{d:"M0.625 3.76944L3.76944 6.91389L10.0694 0.625",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),P2={blue:{border:"border-blue-600",bg:"bg-blue-600",hover:"hover:border-blue-600 hover:bg-blue-100",focus:"focus:shadow-blue"},yellow:{border:"border-yellow-500",bg:"bg-yellow-500",hover:"hover:border-yellow-500 hover:bg-yello-100",focus:"focus:ring-2 focus:ring-yellow-300"}},z1=W.memo(function({type:K="checkbox",label:J,supportText:A,checked:oe,onChange:te,error:F,disabled:Y=!1,required:Se=!1,className:ue,variant:Ae="yellow",name:le,value:fe}){const[xe,re]=W.useState(!1),ae=K==="radio",I=W.useMemo(()=>oe??xe,[oe,xe]),de=W.useCallback(_e=>{Y||(oe===void 0&&re(_e.target.checked),te?.(_e))},[oe,te,Y]),Ce=W.useMemo(()=>{if(Y){const Be="border-slate-200 bg-slate-100";return ae?{container:Be,dot:I?"bg-slate-300":"bg-transparent",check:"text-slate-400"}:{container:Be,dot:"",check:I?"text-slate-400":"text-transparent"}}const _e=P2[Ae];if(ae){const Be=k("border transition-all duration-200",I?_e.border:"border-slate-400",!I&&_e.hover,_e.focus,I&&""),at=k("transition-all duration-200 rounded-full",I?_e.bg:"bg-transparent");return{container:Be,dot:at,check:""}}return{container:k("border transition-all duration-200",I?k(_e.bg,_e.border):"border-slate-400",!I&&_e.hover,_e.focus),dot:"",check:I?"text-white":"text-transparent"}},[ae,I,Y,Ae]),Ne=W.useMemo(()=>!J&&!A?null:v.jsxs("div",{className:"flex flex-col",children:[J&&v.jsxs("span",{className:k("text-base font-medium text-slate-700",F&&"text-red-600",Y&&"text-slate-400"),children:[J,Se&&v.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),A&&v.jsx("span",{className:k("text-slate-500 text-base font-normal",Y&&"text-slate-400"),children:A})]}),[J,A,F,Y,Se]);return v.jsxs("div",{className:k("flex items-start",ue),children:[v.jsxs("label",{className:k("flex items-start gap-2 select-none",Y?"cursor-not-allowed":"cursor-pointer"),children:[v.jsx("input",{type:K,checked:I,onChange:de,disabled:Y,required:Se,className:"sr-only","aria-invalid":!!F,"aria-describedby":F?`${le}-error`:void 0,name:le,value:fe}),v.jsx("div",{className:k("relative flex items-center justify-center",ae?"w-5 h-5 rounded-full":"w-5 h-5 rounded",Ce.container),children:ae?v.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:v.jsx("span",{className:k("w-3 h-3 rounded-full transition-all duration-200",Ce.dot,I?"opacity-100 scale-100":"opacity-0 scale-50")})}):v.jsx(I2,{className:k("w-4 h-4 stroke-[2.5px] transition-opacity duration-200",Ce.check,I?"opacity-100":"opacity-0")})}),Ne]}),F&&v.jsx("p",{id:`${le}-error`,className:"mt-1 text-extra-small text-red-600",children:F})]})});z1.displayName="MciCheck";function e3({title:E,children:K,defaultOpen:J=!1,icon:A,className:oe,contentClassName:te}){const[F,Y]=W.useState(J),[Se,ue]=W.useState(0),Ae=W.useRef(null);return W.useEffect(()=>{Ae.current&&ue(F?Ae.current.scrollHeight:0)},[F]),v.jsxs("div",{className:k("overflow-hidden rounded-xl border border-slate-200",oe),children:[v.jsxs("button",{onClick:()=>Y(!F),className:k("flex w-full items-center justify-between p-5 transition-all duration-300 hover:cursor-pointer",F?"border-b border-slate-200":"border-b border-transparent"),children:[v.jsxs("div",{className:"flex items-center gap-2",children:[A&&v.jsx("span",{className:"flex-shrink-0",children:A}),v.jsx("span",{className:k("text-base font-medium text-black"),children:E})]}),v.jsx(st.AltArrowDown,{weight:"Linear",size:20,className:k("flex-shrink-0 transition-transform duration-300 text-slate-400",F&&"rotate-180")})]}),v.jsx("div",{className:k("overflow-hidden transition-all duration-300 ease-out"),style:{height:`${Se}px`},children:v.jsx("div",{ref:Ae,className:k("p-5",te),children:K})})]})}const Wr=E=>g0.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...E},g0.createElement("path",{d:"M7.75739 7.75735L16.2427 16.2426",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g0.createElement("path",{d:"M7.75733 16.2426L16.2426 7.75735",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));function t3({isOpen:E,onClose:K,position:J="right",children:A,footer:oe,title:te,description:F,showCloseButton:Y=!0,drawerClassName:Se,closeOnOverlayClick:ue=!0,closeOnEscape:Ae=!0}){const le=W.useRef(null),fe=W.useRef(null),{handleEscape:xe}=vy(()=>{Ae&&E&&K()}),{handleClick:re}=by(le,()=>{ue&&E&&K()});W.useEffect(()=>{E?(fe.current=document.activeElement,le.current?.focus()):fe.current?.focus()},[E]),W.useEffect(()=>(E&&(document.addEventListener("keydown",xe),document.addEventListener("mousedown",re),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",xe),document.removeEventListener("mousedown",re),document.body.style.overflow="unset"}),[E,xe,re]);const ae={left:"top-6 left-6 bottom-6 max-w-[572px]",right:"top-6 right-6 bottom-6 max-w-[572px]"},I={right:E?"translate-x-0":"translate-x-[calc(100%+24px)]",left:E?"translate-x-0":"-translate-x-[calc(100%+24px)]"};return v.jsxs(v.Fragment,{children:[v.jsx("div",{className:k("fixed inset-0 z-50 bg-black/40 transition-opacity duration-300",E?"cursor-pointer":"pointer-events-none",E?"opacity-100":"opacity-0"),onClick:ue?K:void 0}),v.jsxs("div",{ref:le,tabIndex:-1,className:k("fixed flex flex-col z-50 w-full rounded-2xl bg-white transition-transform duration-300 ease-in-out outline-none",ae[J],I[J],Se),role:"dialog","aria-modal":"true","aria-labelledby":te?"mciDrawer-title":void 0,children:[(te||Y||F)&&v.jsxs("div",{className:k("flex items-start justify-between border-b border-slate-200 p-6 flex-shrink-0"),children:[te&&v.jsxs("div",{className:"block",children:[v.jsx("h2",{id:"drawer-title",className:"text-h3 font-semibold text-black",children:te}),F&&v.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:F})]}),Y&&v.jsx("button",{onClick:K,className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group",children:v.jsx(Wr,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),A&&v.jsx("div",{className:"flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-slate-200 p-6",children:A}),oe&&v.jsx("div",{className:"flex items-center justify-end border-t border-slate-200 p-6",children:oe})]})]})}const Jv=W.forwardRef(({label:E,placeholder:K,type:J="text",icon:A,rightIcon:oe,iconPosition:te="left",size:F="base",error:Y,disabled:Se=!1,required:ue=!1,value:Ae,onChange:le,onFocus:fe,onBlur:xe,className:re,name:ae},I)=>{const[de,Ce]=W.useState(!1),[Ne,_e]=W.useState(""),[ut,Be]=W.useState(!1),at=Ae??Ne,Me=J==="password",ht=A&&te==="left",ee=A&&te==="right"||oe||Me,Ot=()=>{Ce(!0),fe?.()},Oe=()=>{Ce(!1),xe?.()},Ge=V=>{Ae===void 0&&_e(V.target.value),le?.(V)},Qt=()=>Be(V=>!V),Ke=W.useMemo(()=>({sm:{input:"h-9 text-small",padding:ht&&ee?"pl-7 pr-7":ht?"pl-7 pr-2":ee?"pl-2 pr-7":"px-2",icon:"w-4 h-4",leftIcon:"left-2",rightIcon:"right-2",labelFont:"text-small",iconWrapper:"h-4"},md:{input:"h-10 text-small",padding:ht&&ee?"pl-8 pr-8":ht?"pl-8 pr-2":ee?"pl-2 pr-8":"px-4",icon:"w-4 h-4",leftIcon:"left-2",rightIcon:"right-2",labelFont:"text-base",iconWrapper:"h-4"},base:{input:"h-12 text-base",padding:ht&&ee?"pl-9 pr-9":ht?"pl-9 pr-3":ee?"pl-3 pr-9":"px-4",icon:"w-5 h-5",leftIcon:"left-3",rightIcon:"right-3",labelFont:"text-base",iconWrapper:"h-5"}}),[ht,ee]),D=W.useMemo(()=>Y?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[Y]),j=W.useMemo(()=>Se?"text-slate-400":Y?"text-red-600":de?"text-black":"text-slate-400",[Y,de,Se]);return v.jsxs("div",{className:k("w-full",re),children:[E&&v.jsxs("label",{htmlFor:ae,className:k("mb-2 block text-base font-medium",Y?"text-red-600":"text-slate-700",Ke[F].labelFont),children:[E,ue&&v.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),v.jsxs("div",{className:"relative flex items-center",children:[v.jsx("input",{ref:I,name:ae,type:Me&&ut?"text":J,value:at,onChange:Ge,onFocus:Ot,onBlur:Oe,disabled:Se,required:ue,autoComplete:"on",placeholder:K,className:k("w-full border bg-white font-normal transition-all duration-300 ease-in-out outline-none",F==="base"?"rounded-xl":"rounded-lg","disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",Ke[F].input,Ke[F].padding,D),maxLength:250}),ht&&v.jsx("div",{className:k("absolute top-1/2 flex -translate-y-1/2 items-center justify-center","transition-all duration-300",Ke[F].leftIcon,j),children:v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon),children:A})})}),v.jsxs("div",{className:k("absolute top-1/2 flex -translate-y-1/2 items-center justify-center gap-2","transition-all duration-300",Ke[F].rightIcon),children:[oe&&!Me&&v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon,j),children:oe})}),Me&&v.jsxs(v.Fragment,{children:[oe&&v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon,j),children:oe})}),v.jsx("button",{type:"button",onClick:Qt,className:k("flex items-center justify-center",Ke[F].iconWrapper,j),children:v.jsx("span",{className:k("flex items-center justify-center cursor-pointer",Ke[F].icon),children:ut?v.jsx(st.EyeClosed,{weight:"Linear",className:k("h-full w-full")}):v.jsx(st.Eye,{weight:"Linear",className:k("h-full w-full")})})})]}),A&&te==="right"&&!Me&&v.jsx("div",{className:k("flex items-center justify-center",Ke[F].iconWrapper),children:v.jsx("span",{className:k("flex items-center justify-center",Ke[F].icon,j),children:A})})]})]}),Y&&v.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-small font-normal text-red-600",children:Y})]})});Jv.displayName="MciInput";const l3={uz:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"],monthsShort:["Yan","Fev","Mar","Apr","May","Iyn","Iyl","Avg","Sen","Okt","Noy","Dek"],weekdays:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"],weekdaysShort:["Ya","Du","Se","Ch","Pa","Ju","Sh"]},ru:{months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],weekdays:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],weekdaysShort:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Su","Mo","Tu","We","Th","Fr","Sa"]}},A1=W.forwardRef(({type:E="date",value:K,onChange:J,placeholder:A,label:oe,disabled:te=!1,required:F=!1,className:Y,format:Se="DD.MM.YYYY",minDate:ue,maxDate:Ae,error:le,showClear:fe=!0,allowManualInput:xe=!0,locale:re="uz",startView:ae="day"},I)=>{const[de,Ce]=W.useState(!1),[Ne,_e]=W.useState(E==="range"?[null,null]:null),[ut,Be]=W.useState([null,null]),[at,Me]=W.useState(new Date),[ht,ee]=W.useState(ae),[Ot,Oe]=W.useState(0),[Ge,Qt]=W.useState(""),Ke=W.useRef(null),D=K!==void 0?K:Ne,j=l3[re],V=W.useCallback(we=>new Date(we.getFullYear(),we.getMonth(),we.getDate()),[]),pe=W.useCallback((we,ie)=>V(we).getTime()===V(ie).getTime(),[V]),$=W.useCallback(we=>{const ie=V(we);return ue&&ie<V(ue)?!0:!!(Ae&&ie>V(Ae))},[ue,Ae,V]),De=W.useCallback(we=>{if(!we)return"";const ie=we.getDate().toString().padStart(2,"0"),Le=(we.getMonth()+1).toString().padStart(2,"0"),zt=we.getFullYear();return Se.replace("DD",ie).replace("MM",Le).replace("YYYY",zt.toString())},[Se]),ve=W.useMemo(()=>{if(E==="date")return De(D);const[we,ie]=D;return!we&&!ie?"":we&&ie?`${De(we)} - ${De(ie)}`:we?`${De(we)} - ...`:"..."},[E,D,De]);W.useEffect(()=>{Qt(ve)},[ve]);const he=W.useCallback(()=>{Ce(!1),ee(ae),Oe(0),E==="range"&&Be(D)},[E,D,ae]),{handleClick:Ee}=by(Ke,he),{handleEscape:mt}=vy(he);W.useEffect(()=>{if(de)return document.addEventListener("mousedown",Ee),document.addEventListener("keydown",mt),()=>{document.removeEventListener("mousedown",Ee),document.removeEventListener("keydown",mt)}},[de,Ee,mt]);const Ol=W.useCallback(we=>{we.stopPropagation();const ie=E==="range"?[null,null]:null;_e(ie),Be([null,null]),Qt(""),J?.(ie)},[E,J]),$u=W.useCallback(we=>{if($(we))return;const ie=V(we);if(E==="date")_e(ie),J?.(ie),he();else{const[Le,zt]=ut;if(!Le&&!zt||Le&&zt)Be([ie,null]);else if(Le&&!zt){let Pt;ie<Le?Pt=[ie,Le]:Pt=[Le,ie],Be(Pt),_e(Pt),J?.(Pt),he()}}},[E,ut,$,V,J,he]),tu=we=>{Me(ie=>{const Le=new Date(ie);return Le.setMonth(Le.getMonth()+we),Le})},Ye=we=>{Me(ie=>{const Le=new Date(ie);return Le.setFullYear(Le.getFullYear()+we),Le})},_a=W.useCallback(we=>{const ie=we.getFullYear(),Le=we.getMonth(),zt=new Date(ie,Le,1),Pt=new Date(ie,Le+1,0),Vt=[],zn=zt.getDay();for(let nl=zn;nl>0;nl--){const gl=new Date(ie,Le,1-nl);Vt.push({date:gl,isCurrentMonth:!1})}for(let nl=1;nl<=Pt.getDate();nl++){const gl=new Date(ie,Le,nl);Vt.push({date:gl,isCurrentMonth:!0})}const au=42-Vt.length;for(let nl=1;nl<=au;nl++){const gl=new Date(ie,Le+1,nl);Vt.push({date:gl,isCurrentMonth:!1})}return Vt},[]),se=we=>{const ie=V(we);if(E==="date")return D&&pe(ie,D);const[Le]=ut[0]?ut:D;return Le&&pe(ie,Le)},hc=we=>{if(E!=="range")return!1;const ie=V(we),[,Le]=ut[1]?ut:D;return Le&&pe(ie,Le)},mc=we=>{if(E!=="range")return!1;const ie=V(we),[Le,zt]=ut[0]?ut:D;return!Le||!zt?!1:ie>V(Le)&&ie<V(zt)},nn=we=>pe(we,new Date),lu=(we,ie,Le)=>{const zt=_a(we);return v.jsxs("div",{className:"w-[300px] p-2",children:[v.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[v.jsx("div",{className:"flex items-center gap-3",children:ie?v.jsxs(v.Fragment,{children:[v.jsx("button",{onClick:()=>Ye(-1),className:"hover:cursor-pointer",children:v.jsx(st.DoubleAltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsx("button",{onClick:()=>tu(-1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})})]}):v.jsx("div",{className:"w-[52px]"})}),v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx("span",{className:"font-medium text-small text-slate-700 cursor-pointer hover:text-blue-600 transition-colors",onClick:()=>{ee("month"),Me(we)},children:j.months[we.getMonth()]}),v.jsx("span",{className:"font-medium text-small text-slate-700 cursor-pointer hover:text-blue-600 transition-colors",onClick:()=>{ee("year"),Me(we)},children:we.getFullYear()})]}),v.jsx("div",{className:"flex items-center gap-1",children:Le?v.jsxs(v.Fragment,{children:[v.jsx("button",{onClick:()=>tu(1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsx("button",{onClick:()=>Ye(1),className:"hover:cursor-pointer",children:v.jsx(st.DoubleAltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})})]}):v.jsx("div",{className:"w-[52px]"})})]}),v.jsx("div",{className:"grid grid-cols-7 mb-1",children:j.weekdaysShort.map(Pt=>v.jsx("div",{className:"h-4 flex items-center justify-center text-extra-small font-medium text-blue-600",children:Pt},Pt))}),v.jsx("div",{className:"grid grid-cols-7 gap-y-1 relative",children:zt.map((Pt,Vt)=>{const zn=Pt.date,au=$(zn),nl=se(zn),gl=hc(zn),T0=mc(zn),Mo=Pt.isCurrentMonth,sf=nn(zn);let yc="";return T0&&(yc="bg-blue-50"),nl&&(ut[1]||D?.[1])&&(yc="bg-gradient-to-r from-transparent via-blue-50 to-blue-50 from-50%"),gl&&(ut[0]||D?.[0])&&(yc="bg-gradient-to-l from-transparent via-blue-50 to-blue-50 from-50%"),v.jsx("div",{className:k("relative h-10 w-full flex items-center justify-center",yc),children:v.jsxs("button",{onClick:()=>$u(zn),disabled:au,className:k("relative z-10 w-9 h-9 rounded-full flex items-center justify-center text-small font-medium transition-all hover:cursor-pointer",Mo?"text-slate-700":"text-slate-base",au&&"opacity-30 cursor-not-allowed",!au&&!nl&&!gl&&Mo&&"hover:bg-blue-50 hover:text-blue-600",(nl||gl)&&"bg-blue-600 text-white hover:bg-blue-600",sf&&!nl&&!gl&&"text-blue-600 bg-blue-50"),children:[zn.getDate(),sf&&!nl&&!gl&&v.jsx("span",{className:"absolute top-1.5 right-1.5 w-1 h-1 bg-blue-600 rounded-full"})]})},Vt)})})]})},Et=()=>v.jsxs("div",{className:"w-[300px] p-2",children:[v.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[v.jsx("button",{onClick:()=>Ye(-1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsx("span",{className:"font-medium text-small text-slate-700",children:at.getFullYear()}),v.jsx("button",{onClick:()=>Ye(1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})})]}),v.jsx("div",{className:"grid grid-cols-3 gap-1",children:j.monthsShort.map((we,ie)=>v.jsx("button",{onClick:()=>{const Le=new Date(at);Le.setMonth(ie),Me(Le),ee("day")},className:k("p-1 rounded-sm text-small font-medium hover:bg-blue-50 transition-colors hover:cursor-pointer",at.getMonth()===ie&&"bg-blue-600 text-white hover:bg-blue-600"),children:we},we))})]}),of=()=>{const we=at.getFullYear(),ie=Math.floor(we/12)*12+Ot*12,Le=Array.from({length:12},(zt,Pt)=>ie+Pt);return v.jsxs("div",{className:"w-[300px] p-2",children:[v.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[v.jsx("button",{onClick:()=>Oe(zt=>zt-1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20,className:"text-slate-700"})}),v.jsxs("span",{className:"font-medium text-small text-slate-700",children:[Le[0]," - ",Le[11]]}),v.jsx("button",{onClick:()=>Oe(zt=>zt+1),className:"hover:cursor-pointer",children:v.jsx(st.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-700"})})]}),v.jsx("div",{className:"grid grid-cols-3 gap-1",children:Le.map(zt=>v.jsx("button",{onClick:()=>{const Pt=new Date(at);Pt.setFullYear(zt),Me(Pt),ee("month")},className:k("p-1 rounded-sm text-small font-medium hover:bg-blue-50 transition-colors hover:cursor-pointer",at.getFullYear()===zt&&"bg-blue-600 text-white hover:bg-blue-600"),children:zt},zt))})]})},pc=new Date(at);return pc.setMonth(at.getMonth()+1),v.jsxs("div",{ref:Ke,className:k("relative w-full",Y),children:[v.jsx("div",{ref:I,children:v.jsx(Jv,{label:oe,placeholder:Array.isArray(A)?A[0]:A,value:Ge,onChange:()=>{},icon:v.jsx(st.Calendar,{weight:"Linear",size:20,className:"text-slate-500"}),disabled:te,required:F,error:le,onFocus:()=>!te&&Ce(!0),readOnly:!xe})}),fe&&Ge&&!te&&v.jsx("button",{type:"button",onClick:Ol,className:"absolute right-3 top-1/2 -translate-y-1/2 p-1 z-10 hover:cursor-pointer",children:v.jsx(Wr,{className:"w-5 h-5 text-slate-400"})}),de&&v.jsx("div",{className:"absolute top-full left-0 mt-1 z-50 bg-white rounded-lg shadow-md border border-slate-200 flex flex-col md:flex-row overflow-hidden animate-in fade-in zoom-in-95 duration-200",children:ht==="day"?v.jsxs(v.Fragment,{children:[lu(at,!0,E!=="range"),E==="range"&&v.jsx("div",{className:"hidden md:block border-l border-slate-200",children:lu(pc,!1,!0)})]}):ht==="month"?Et():of()})]})});A1.displayName="MciPicker";const a3={sm:{container:"h-9 text-small",padding:"px-2",iconPaddingLeft:"pl-7",iconPaddingRight:"pr-7",iconSize:"w-4 h-4",iconWrapper:"left-2",rightIconWrapper:"right-2",label:"text-small",dropdown:"text-small"},md:{container:"h-10 text-small",padding:"px-4",iconPaddingLeft:"pl-8",iconPaddingRight:"pr-8",iconSize:"w-5 h-5",iconWrapper:"left-3",rightIconWrapper:"right-3",label:"text-small",dropdown:"text-small"},base:{container:"h-12 text-base",padding:"px-4",iconPaddingLeft:"pl-10",iconPaddingRight:"pl-3",iconSize:"w-5 h-5",iconWrapper:"left-4",rightIconWrapper:"right-16",label:"text-base",dropdown:"text-base"}},x1=W.forwardRef(({label:E,placeholder:K="Выберите...",options:J=[],icon:A,iconPosition:oe="left",size:te="base",error:F,disabled:Y=!1,required:Se=!1,value:ue,onChange:Ae,onFocus:le,onBlur:fe,className:xe,clearable:re=!1,searchable:ae=!1,onSearch:I,name:de},Ce)=>{const[Ne,_e]=W.useState(!1),[ut,Be]=W.useState(!1),[at,Me]=W.useState(""),[ht,ee]=W.useState(""),[Ot,Oe]=W.useState(-1),Ge=W.useRef(null),Qt=W.useRef(null),Ke=ue!==void 0?ue:at,D=J.find(Ye=>Ye.value===Ke),j=Ke!==""&&Ke!==void 0,V=a3[te],pe=W.useMemo(()=>{if(!ae||I)return J;const Ye=ht.toLowerCase();return J.filter(_a=>_a.label.toLowerCase().includes(Ye))},[J,ht,ae,I]),$=W.useCallback(()=>{_e(!1),Be(!1),ee(""),Oe(-1),fe?.()},[fe]),{handleClick:De}=by(Ge,$),{handleEscape:ve}=vy($);W.useEffect(()=>{if(Ne)return document.addEventListener("mousedown",De),document.addEventListener("keydown",ve),()=>{document.removeEventListener("mousedown",De),document.removeEventListener("keydown",ve)}},[Ne,De,ve]),W.useEffect(()=>{Ne&&ae&&Qt.current&&Qt.current.focus()},[Ne,ae]);const he=W.useCallback(Ye=>{if(!Ne&&(Ye.key==="ArrowDown"||Ye.key==="ArrowUp"||Ye.key==="Enter")){Ye.preventDefault(),_e(!0);return}if(Ne)switch(Ye.key){case"ArrowDown":Ye.preventDefault(),Oe(_a=>_a<pe.length-1?_a+1:0);break;case"ArrowUp":Ye.preventDefault(),Oe(_a=>_a>0?_a-1:pe.length-1);break;case"Enter":Ye.preventDefault(),Ot>=0&&mt(pe[Ot].value);break}},[Ne,pe,Ot]),Ee=W.useCallback(()=>{Y||(_e(Ye=>!Ye),Ne?(ee(""),Oe(-1)):(Be(!0),le?.()))},[Y,Ne,le]),mt=W.useCallback(Ye=>{ue===void 0&&Me(Ye),Ae?.(Ye),_e(!1),Be(!1),ee(""),Oe(-1),fe?.()},[ue,Ae,fe]),Ol=W.useCallback(Ye=>{Ye.stopPropagation(),ue===void 0&&Me(""),Ae?.(""),ee(""),Oe(-1)},[ue,Ae]),$u=W.useCallback(Ye=>{ee(Ye),I?.(Ye),Oe(0)},[I]),tu=W.useMemo(()=>F?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[F]);return v.jsxs("div",{className:k("w-full",xe),ref:Ce,children:[E&&v.jsxs("label",{htmlFor:de,className:k("mb-2 block text-base font-medium",F?"text-red-600":"text-slate-700",V.label),children:[E,Se&&v.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),v.jsxs("div",{ref:Ge,className:"relative",onKeyDown:he,children:[v.jsxs("div",{role:"combobox","aria-expanded":Ne,"aria-haspopup":"listbox","aria-controls":`${de}-listbox`,"aria-disabled":Y,tabIndex:Y?-1:0,onClick:Ee,className:k("flex w-full items-center rounded-xl border bg-white font-normal transition-all cursor-pointer",Y&&"disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",V.container,A?oe==="left"?V.iconPaddingLeft:V.iconPaddingRight:V.padding,tu,ut&&"shadow-blue border-blue-600"),children:[A&&v.jsx("div",{className:k("absolute top-1/2 -translate-y-1/2 pointer-events-none text-slate-400",oe==="left"?V.iconWrapper:V.rightIconWrapper),children:A}),ae&&Ne?v.jsx("input",{ref:Qt,type:"text",value:ht,onChange:Ye=>$u(Ye.target.value),placeholder:K,className:"w-full bg-transparent outline-none",onClick:Ye=>Ye.stopPropagation()}):v.jsx("span",{className:k("block truncate",!j&&"text-slate-400"),children:D?.label||K}),re&&j&&!Y&&v.jsx("button",{type:"button",onClick:Ol,className:k("absolute top-1/2 -translate-y-1/2 text-slate-400 hover:text-black transition-colors cursor-pointer",A&&oe==="left"?"right-8":"right-10"),"aria-label":"Очистить",children:v.jsx(Wr,{className:V.iconSize})}),v.jsx("div",{className:k("absolute top-1/2 right-3 -translate-y-1/2 pointer-events-none transition-transform",Ne&&"rotate-180",F?"text-red-600":Ne||ut?"text-black":"text-slate-400"),children:v.jsx(st.AltArrowDown,{className:V.iconSize})})]}),Ne&&v.jsx("div",{id:`${de}-listbox`,role:"listbox",className:k("absolute z-50 mt-1 max-h-60 w-full overflow-y-auto rounded-lg border border-slate-200 bg-white shadow-md p-1 text-black",V.dropdown),children:pe.length===0?v.jsx("div",{className:"px-3 py-2 text-center text-base font-normal",children:"Ничего не найдено"}):pe.map(Ye=>v.jsx("div",{role:"option","aria-selected":Ke===Ye.value,onClick:()=>mt(Ye.value),className:k("cursor-pointer px-3 py-2 font-normal transition-colors hover:bg-slate-100 rounded-sm",Ke===Ye.value?"bg-slate-100":""),children:Ye.label},Ye.value))})]}),F&&v.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-small font-normal text-red-600",children:F})]})});x1.displayName="MciSelect";function D1({className:E,variant:K="default",width:J="100%",height:A="1rem"}){return v.jsx("div",{className:k("relative overflow-hidden bg-slate-200","rounded-lg",K==="circle"&&"rounded-full",K==="rounded"&&"rounded-md",E),style:{width:typeof J=="number"?`${J}px`:J,height:typeof A=="number"?`${A}px`:A},children:v.jsx("div",{className:"shimmer-mask absolute inset-0"})})}function n3({columns:E,data:K,loading:J=!1,skeletonRows:A=5,noDataText:oe="",sort:te,onSortChange:F}){const[Y,Se]=W.useState(null),ue=te??Y,Ae=W.useMemo(()=>!ue||te?K:[...K].sort((re,ae)=>{const I=re[ue.key],de=ae[ue.key];return I==null?1:de==null?-1:I<de?ue.direction==="asc"?-1:1:I>de?ue.direction==="asc"?1:-1:0}),[K,ue,te]),le=re=>{if(!re.sortable)return;let ae=null;ue?.key!==re.key?ae={key:re.key,direction:"asc"}:ue.direction==="asc"&&(ae={key:re.key,direction:"desc"}),te!==void 0?F?.(ae):Se(ae)};W.useEffect(()=>{te!==void 0&&Se(null)},[te]);const fe=re=>re.sortable?!ue||ue.key!==re.key?v.jsx(st.SortVertical,{weight:"Linear",size:20,className:"text-slate-base"}):ue.direction==="asc"?v.jsx(st.SortFromTopToBottom,{weight:"Linear",size:20,className:"text-slate-base"}):v.jsx(st.SortFromBottomToTop,{weight:"Linear",size:20,className:"text-slate-base"}):null,xe=J?[]:te?K:Ae;return v.jsx("div",{className:"w-full overflow-x-auto",children:v.jsxs("div",{className:"inline-block min-w-full align-middle",children:[v.jsx("div",{className:"overflow-hidden rounded-xl border border-slate-200 bg-slate-100",children:v.jsx("table",{className:"w-full table-fixed",children:v.jsx("thead",{children:v.jsx("tr",{children:E.map((re,ae)=>v.jsx("th",{onClick:()=>le(re),className:k("px-3 py-4 text-left text-small font-medium text-slate-700 transition-colors",re.align==="center"&&"text-center",re.align==="right"&&"text-right",re.sortable&&"cursor-pointer hover:bg-slate-200"),style:{width:re.width||"auto"},children:v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("span",{className:"truncate",children:re.title}),fe(re)]})},ae))})})})}),v.jsx("div",{className:"overflow-hidden rounded-xl border border-slate-200 bg-white",children:v.jsx("table",{className:"w-full table-fixed",children:v.jsx("tbody",{className:"divide-y divide-slate-200",children:J?Array.from({length:A}).map((re,ae)=>v.jsx("tr",{children:E.map((I,de)=>v.jsx("td",{className:"px-4 py-3",style:{width:I.width},children:v.jsx(D1,{height:30,variant:"rounded"})},de))},ae)):xe.length===0?v.jsx("tr",{children:v.jsx("td",{colSpan:E.length,className:"py-20",children:v.jsxs("div",{className:"flex flex-col items-center justify-center",children:[v.jsx("div",{className:"relative mb-4",children:v.jsx(st.ConfoundedSquare,{weight:"Bold",size:64,className:"animate-float text-slate-400"})}),v.jsx("p",{className:"text-small font-medium text-slate-400",children:oe})]})})}):xe.map((re,ae)=>v.jsx("tr",{className:"group transition-colors hover:bg-slate-50",children:E?.map((I,de)=>v.jsx("td",{className:k("px-3 py-4 text-small font-normal text-black",I.align==="center"&&"text-center",I.align==="right"&&"text-right"),style:{width:I.width||"auto"},children:v.jsx("div",{className:"line-clamp-2",title:I.render?void 0:String(re[I.key]??""),children:I.render?I.render(re[I.key],re):String(re[I.key]??"-")})},de))},ae))})})})]})})}const u3={uz:{dragAndDrop:"Faylni bu yerga torting",clickToUpload:"yoki bosish orqali tanlang",or:"yoki",fileRequirements:(E,K,J,A)=>`${E?`Maksimum ${K} ta fayl`:"1 ta fayl"} • Hajmi ${J}MB dan kichik • ${A!=="*/*"?`Format: ${A}`:"Barcha formatlar"}`,selectedFiles:"Tanlangan fayllar",clearAll:"Barchasini o'chirish",uploading:"Yuklanmoqda...",success:"Muvaffaqiyatli yuklandi",error:"Xatolik",maxFilesError:E=>`Maksimum ${E} ta fayl yuklash mumkin`,fileSizeError:(E,K)=>`"${E}" fayli hajmi ${K}MB dan kichik bo'lishi kerak`,fileTypeError:E=>`"${E}" fayl turi qabul qilinmaydi`,uploadFailed:"Yuklash muvaffaqiyatsiz tugadi",file:"Fayl",image:"Rasm",video:"Video",audio:"Audio",document:"Hujjat"},ru:{dragAndDrop:"Перетащите файл сюда",clickToUpload:"или выберите нажатием",or:"или",fileRequirements:(E,K,J,A)=>`${E?`Максимум ${K} файлов`:"1 файл"} • Размер до ${J}MB • ${A!=="*/*"?`Формат: ${A}`:"Все форматы"}`,selectedFiles:"Выбранные файлы",clearAll:"Очистить все",uploading:"Загружается...",success:"Успешно загружено",error:"Ошибка",maxFilesError:E=>`Можно загрузить максимум ${E} файлов`,fileSizeError:(E,K)=>`Размер файла "${E}" должен быть меньше ${K}MB`,fileTypeError:E=>`Тип файла "${E}" не поддерживается`,uploadFailed:"Не удалось загрузить файл",file:"Файл",image:"Изображение",video:"Видео",audio:"Аудио",document:"Документ"},en:{dragAndDrop:"Drag and drop file here",clickToUpload:"or click to select",or:"or",fileRequirements:(E,K,J,A)=>`${E?`Maximum ${K} files`:"1 file"} • Size up to ${J}MB • ${A!=="*/*"?`Format: ${A}`:"All formats"}`,selectedFiles:"Selected files",clearAll:"Clear all",uploading:"Uploading...",success:"Successfully uploaded",error:"Error",maxFilesError:E=>`Maximum ${E} files can be uploaded`,fileSizeError:(E,K)=>`File "${E}" size must be less than ${K}MB`,fileTypeError:E=>`File type "${E}" is not supported`,uploadFailed:"Upload failed",file:"File",image:"Image",video:"Video",audio:"Audio",document:"Document"}},i3=({multiple:E=!1,accept:K="*/*",maxSize:J=10,maxFiles:A=5,disabled:oe=!1,label:te,required:F=!1,error:Y,className:Se,onFilesChange:ue,onUpload:Ae,showPreview:le=!0,locale:fe="uz",showFileTypeIcon:xe=!0,customValidator:re})=>{const[ae,I]=W.useState([]),[de,Ce]=W.useState(!1),[Ne,_e]=W.useState(!1),ut=W.useRef(null),Be=u3[fe],at=$=>{switch($.type.split("/")[0]){case"image":return v.jsx(st.Gallery,{className:"h-5 w-5 text-blue-500"});case"video":return v.jsx(st.VideoFramePlayHorizontal,{className:"h-5 w-5 text-purple-500"});case"audio":return v.jsx(st.MusicNote,{className:"h-5 w-5 text-green-500"});default:return $.type.includes("pdf")?v.jsx(st.FileText,{className:"h-5 w-5 text-red-500"}):$.type.includes("word")||$.type.includes("document")?v.jsx(st.FileText,{className:"h-5 w-5 text-blue-600"}):$.type.includes("excel")||$.type.includes("spreadsheet")?v.jsx(st.FileText,{className:"h-5 w-5 text-green-600"}):v.jsx(st.File,{className:"h-5 w-5 text-gray-500"})}},Me=$=>{if($===0)return"0 Bytes";const De=1024,ve=["Bytes","KB","MB","GB"],he=Math.floor(Math.log($)/Math.log(De));return parseFloat(($/Math.pow(De,he)).toFixed(2))+" "+ve[he]},ht=$=>{const De=J*1024*1024;return $.size<=De},ee=$=>K==="*/*"?!0:K.split(",").map(ve=>ve.trim()).some(ve=>{if(ve.endsWith("/*")){const he=ve.replace("/*","");return $.type.startsWith(he)}return $.type===ve||$.name.toLowerCase().endsWith(ve.replace("*.","."))}),Ot=$=>new Promise(De=>{if($.type.startsWith("image/")){const ve=new FileReader;ve.onload=he=>De(he.target?.result),ve.readAsDataURL($)}else De("")}),Oe=W.useCallback(async $=>{const De=Array.from($),ve=[];for(const he of De){if(ae.length+ve.length>=A){alert(Be.maxFilesError(A));break}if(!ht(he)){alert(Be.fileSizeError(he.name,J));continue}if(!ee(he)){alert(Be.fileTypeError(he.name));continue}if(re){const mt=re(he);if(mt){alert(mt);continue}}const Ee=await Ot(he);ve.push({id:Math.random().toString(36).substr(2,9),file:he,preview:Ee,progress:0,status:"uploading"})}if(ve.length>0){const he=E?[...ae,...ve]:ve;if(I(he),ue?.(he.map(Ee=>Ee.file)),Ae){_e(!0);try{const Ee=he.map((mt,Ol)=>({...mt,progress:Math.min(100,(Ol+1)/he.length*100)}));I(Ee),await Ae(Ee),I(mt=>mt.map(Ol=>({...Ol,status:"success",progress:100})))}catch(Ee){I(mt=>mt.map(Ol=>({...Ol,status:"error",error:Ee instanceof Error?Ee.message:Be.uploadFailed})))}finally{_e(!1)}}}},[ae,A,ht,ee,re,Be,J,E,ue,Ae]),Ge=W.useCallback($=>{$.preventDefault(),oe||Ce(!0)},[oe]),Qt=W.useCallback($=>{$.preventDefault(),Ce(!1)},[]),Ke=W.useCallback($=>{if($.preventDefault(),Ce(!1),oe)return;const De=$.dataTransfer.files;De.length>0&&Oe(De)},[oe,Oe]),D=W.useCallback($=>{const De=$.target.files;De&&De.length>0&&(Oe(De),ut.current&&(ut.current.value=""))},[Oe]),j=W.useCallback($=>{I(De=>{const ve=De.filter(he=>he.id!==$);return ue?.(ve.map(he=>he.file)),ve})},[ue]),V=W.useCallback(()=>{I([]),ue?.([])},[ue]),pe=W.useCallback(()=>{ut.current?.click()},[]);return v.jsxs("div",{className:k("w-full",Se),children:[te&&v.jsxs("label",{className:k("mb-2 block text-base font-medium text-slate-700",Y?"text-red-600":"text-slate-700"),children:[te,F&&v.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),v.jsxs("div",{className:k("cursor-pointer border border-dashed rounded-2xl p-6 text-center transition-all duration-300","border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",de&&"border-solid border-slate-600 bg-slate-100","disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",Y&&"border-red-600 focus:border-red-600 shadow-red"),onDragOver:Ge,onDragLeave:Qt,onDrop:Ke,onClick:pe,children:[v.jsx("input",{ref:ut,type:"file",multiple:E,accept:K,onChange:D,disabled:oe,className:"hidden"}),v.jsxs("div",{className:"flex flex-col items-center justify-center space-y-3",children:[v.jsx("div",{className:k("rounded-full p-3 transition-colors",Y?"bg-red-100 text-red-600":"bg-slate-100 text-slate-400"),children:v.jsx(st.Upload,{className:"h-6 w-6"})}),v.jsxs("div",{className:"space-y-1",children:[v.jsxs("p",{className:"text-small font-medium text-slate-700",children:[Be.dragAndDrop," ",Be.or.toLowerCase()," ",Be.clickToUpload]}),v.jsx("p",{className:"text-small font-normal text-slate-700",children:Be.fileRequirements(E,A,J,K)})]})]})]}),ae.length>0&&v.jsxs("div",{className:"mt-4 space-y-3",children:[v.jsxs("div",{className:"flex items-center justify-between",children:[v.jsxs("span",{className:"text-small font-medium text-slate-700",children:[Be.selectedFiles," (",ae.length,")"]}),ae.length>1&&v.jsx("button",{type:"button",onClick:V,disabled:oe||Ne,className:"text-small text-red-600 disabled:opacity-50",children:Be.clearAll})]}),v.jsx("div",{className:"space-y-2",children:ae.map($=>v.jsxs("div",{className:k("flex items-center justify-between rounded-lg border border-slate-200 p-3 transition-all",$.status==="error"&&"border-red-600"),children:[v.jsxs("div",{className:"flex min-w-0 flex-1 items-center space-x-3",children:[le&&$.preview?v.jsx("img",{src:$.preview,alt:$.file.name,className:"h-10 w-10 rounded object-cover"}):xe?v.jsx("div",{className:"flex-shrink-0",children:at($.file)}):null,v.jsxs("div",{className:"min-w-0 flex-1",children:[v.jsx("p",{className:"truncate text-small font-medium text-slate-700",children:$.file.name}),v.jsxs("div",{className:"flex items-center space-x-2 text-small text-slate-400",children:[v.jsx("span",{children:Me($.file.size)}),$.status==="uploading"&&v.jsxs("span",{className:"flex items-center",children:[v.jsx(st.Star2,{className:"h-5 w-5 mr-1 animate-spin"}),Be.uploading]}),$.status==="success"&&v.jsx("span",{className:"flex items-center text-small font-normal text-green-600",children:Be.success})]}),$.status==="uploading"&&v.jsx("div",{className:"mt-1 h-1.5 w-full rounded-full bg-slate-200",children:v.jsx("div",{className:"h-1.5 rounded-full bg-slate-400 transition-all duration-300",style:{width:`${$.progress}%`}})}),$.status==="error"&&$.error&&v.jsx("p",{className:"mt-2 flex items-center text-small font-normal text-red-600",children:$.error})]})]}),v.jsx("div",{className:"flex flex-shrink-0 items-center space-x-2",children:v.jsx("button",{type:"button",onClick:De=>{De.stopPropagation(),j($.id)},disabled:oe||Ne,className:"text-slate-base transition-colors active:rotate-180 hover:cursor-pointer disabled:opacity-50",children:v.jsx(Wr,{className:"h-6 w-6"})})})]},$.id))})]}),Y&&v.jsx("p",{className:"mt-2 flex items-center text-small font-normal text-red-600",children:Y})]})};function c3({show:E,setShow:K,title:J,description:A,Header:oe,Body:te,footer:F,handleClickOutside:Y=!1}){const Se=W.useRef(null),{handleEscape:ue}=vy(()=>K(!1));W.useEffect(()=>(E?(document.addEventListener("keydown",ue),document.body.style.overflow="hidden"):document.body.style.overflow="unset",()=>document.removeEventListener("keydown",ue)),[E,ue]);const{handleClick:Ae}=by(Se,()=>{Y&&K(!1)});return W.useEffect(()=>(E&&Y&&document.addEventListener("mousedown",Ae),()=>document.removeEventListener("mousedown",Ae)),[E,Ae,Y]),v.jsx("div",{className:k("bg-black/40 fixed inset-0 z-50 flex items-center justify-center transition-all duration-500 ease-in-out",E?"opacity-100":"pointer-events-none opacity-0"),children:v.jsxs("div",{ref:Se,className:k("relative bg-white w-full max-w-[720px] rounded-2xl","transform transition-all duration-500 ease-out",E?"scale-100 opacity-100":"scale-90 opacity-0"),children:[(oe||J||A)&&v.jsxs("div",{className:"border-b border-slate-200 flex items-start justify-between p-6 mb-4",children:[oe||v.jsxs("div",{className:"block",children:[v.jsx("h2",{className:"text-h3 font-semibold text-black",children:J}),A&&v.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:A})]}),v.jsx("button",{onClick:()=>K(!1),className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group",children:v.jsx(Wr,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),te&&v.jsx("div",{className:"scrollbar-thin scrollbar-thumb-slate-200 max-h-96 px-6 overflow-y-auto mb-2",children:te}),F&&v.jsx("div",{className:"flex items-center justify-end gap-3 border-t border-slate-200 p-6",children:F})]})})}function o3({totalItems:E,currentPage:K,perPage:J,onPageChange:A,onPerPageChange:oe,siblingCount:te=1,perPageOptions:F=[10,30,50,100],showPerPage:Y=!0,variant:Se="yellow",size:ue="large"}){const Ae=Number.isFinite(E)&&E>0?E:0,le=Number.isFinite(J)&&J>0?J:10,fe=Math.max(1,Number.isFinite(K)?K:1),xe=Math.ceil(Ae/le);if(xe<=1||Ae===0)return null;const ae=(()=>{const Ce=[],Ne=te*2+5;if(xe<=Ne)return Array.from({length:xe},(Be,at)=>at+1);const _e=Math.max(fe-te,2),ut=Math.min(fe+te,xe-1);Ce.push(1),_e>2&&Ce.push("...");for(let Be=_e;Be<=ut;Be++)Ce.push(Be);return ut<xe-1&&Ce.push("..."),xe>1&&Ce.push(xe),Ce})(),I={medium:"h-9 text-small",large:"h-10 text-base"}[ue],de={yellow:{active:"bg-yellow-500 text-white border-yellow-500",inactive:"bg-slate-100 border-slate-200 text-black hover:bg-slate-200",disabled:"text-slate-400 border-slate-200",arrow:"text-black"},blue:{active:"bg-blue-600 text-white border-blue-600",inactive:"bg-slate-100 border-slate-200 text-black hover:bg-slate-200",disabled:"text-slate-400 border-slate-300",arrow:"text-black"}}[Se??"yellow"];return v.jsxs("div",{className:"flex items-center justify-between gap-4 w-full",children:[Y&&oe&&v.jsxs("div",{className:"flex items-center gap-2",children:[v.jsx("span",{className:"whitespace-nowrap text-extra-small text-slate-base font-normal",children:"Строк на странице:"}),v.jsxs("div",{className:"relative",children:[v.jsx("select",{value:le,onChange:Ce=>oe(Number(Ce.target.value)),className:k("appearance-none bg-white border border-slate-200 rounded-lg pl-3 pr-8 text-base text-black font-medium focus:outline-none cursor-pointer",ue==="large"?"h-10":"h-9"),"aria-label":"Количество строк на странице",children:F.map(Ce=>v.jsx("option",{value:Ce,children:Ce},Ce))}),v.jsx(st.AltArrowDown,{className:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-slate-400",weight:"Linear",size:20})]})]}),v.jsxs("nav",{"aria-label":"Пагинация",className:"flex items-center gap-1 shrink-0 whitespace-nowrap",children:[v.jsx("button",{onClick:()=>A(fe-1),disabled:fe===1,"aria-label":"Предыдущая страница",className:k("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",I,fe===1?k("cursor-not-allowed opacity-50",de.disabled):k("hover:cursor-pointer",de.arrow,"border-slate-200")),children:v.jsx(st.AltArrowLeft,{weight:"Linear",size:20})}),v.jsx("div",{className:"flex items-center gap-1",children:ae.map((Ce,Ne)=>{if(Ce==="...")return v.jsx("span",{className:k("flex items-center justify-center text-black font-medium min-w-10",I),"aria-hidden":"true",children:v.jsx(st.MenuDots,{weight:"Bold",size:20})},Ne);const _e=Ce===fe;return v.jsx("button",{onClick:()=>A(Ce),"aria-label":`Страница ${Ce}${_e?", текущая":""}`,"aria-current":_e?"page":void 0,className:k("flex items-center justify-center rounded-lg border font-medium transition-all hover:cursor-pointer min-w-10 px-2",I,_e?de.active:de.inactive),children:Ce},Ne)})}),v.jsx("button",{onClick:()=>A(fe+1),disabled:fe===xe,"aria-label":"Следующая страница",className:k("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",I,fe===xe?k("cursor-not-allowed opacity-50",de.disabled):k("hover:cursor-pointer",de.arrow,"border-slate-200")),children:v.jsx(st.AltArrowRight,{size:20,weight:"Linear"})})]})]})}function s3({tabs:E,defaultTab:K,position:J="top",className:A,onChange:oe}){const[te,F]=W.useState(K||E[0]?.id),[Y,Se]=W.useState({}),ue=W.useRef([]),Ae=()=>{const ae=E.findIndex(de=>de?.id===te),I=ue.current[ae];if(I){const{offsetLeft:de,offsetTop:Ce,offsetWidth:Ne,offsetHeight:_e}=I;Se({left:`${de}px`,top:`${Ce}px`,width:`${Ne}px`,height:`${_e}px`,transition:"all 0.4s cubic-bezier(0.25, 1, 0.5, 1)"})}};W.useEffect(()=>(Ae(),window.addEventListener("resize",Ae),()=>window.removeEventListener("resize",Ae)),[te,J,E]);const le={top:"flex-col",bottom:"flex-col-reverse",left:"flex-row",right:"flex-row-reverse"},fe={top:"flex-row",bottom:"flex-row",left:"flex-col",right:"flex-col"},xe={top:"mt-6",bottom:"mb-6",left:"ml-6",right:"mr-6"},re=J==="left"||J==="right";return v.jsxs("div",{className:k("flex w-full",le[J],A),children:[v.jsxs("div",{className:k("relative flex rounded-xl bg-slate-100 p-1",fe[J],re?"min-w-48":"w-full"),children:[v.jsx("div",{className:k("absolute bg-white rounded-lg",re?"w-full":"h-full"),style:Y}),E?.map((ae,I)=>{const de=te===ae.id;return v.jsxs("button",{ref:Ce=>{ue.current[I]=Ce},onClick:()=>{ae?.disabled||(F(ae?.id),oe?.(ae?.id))},disabled:ae?.disabled,className:k("relative flex cursor-pointer text-black text-base font-normal items-center justify-center gap-2 px-5 py-2 z-10 whitespace-nowrap transition-colors duration-300",de?"":"text-slate-500 hover:text-slate-700",ae?.disabled&&"opacity-50 cursor-not-allowed",re?"w-full justify-start":"flex-1"),children:[ae?.icon&&v.jsx("span",{className:k("flex-shrink-0 transition-transform duration-200",de&&"scale-110"),children:ae?.icon}),v.jsx("span",{className:"relative z-10",children:ae?.label})]},ae?.id)})]}),v.jsx("div",{className:k("flex-1 overflow-hidden",xe[J]),children:v.jsx("div",{className:"animate-fade-in",style:{animationDuration:"0.4s"},children:E?.find(ae=>ae?.id===te)?.content},te)})]})}function f3({children:E,className:K}){return v.jsx("div",{className:k("rounded-xl border border-slate-200 bg-white p-6",K),children:E})}const r3={sm:"px-2 py-0.5",md:"px-2 py-1",lg:"px-3 py-2"},w1={sm:"w-3 h-3",md:"w-3 h-3",lg:"w-3 h-3"},d3={success:"bg-green-50 text-green-600",warning:"bg-orange-50 text-orange-600",error:"bg-red-50 text-red-600",gray:"bg-slate-200 text-slate-700",blue:"bg-blue-50 text-blue-600"};function h3({children:E,variant:K="success",size:J="lg",icon:A,iconPosition:oe="left",className:te}){return v.jsxs("span",{className:k("inline-flex animate-[fadeIn_0.3s_ease-out] items-center rounded-lg text-extra-small font-medium",r3[J],d3[K],A&&"gap-[2px]",te),children:[A&&oe==="left"&&v.jsx("span",{className:`flex items-center ${k(w1[J])}`,children:A}),v.jsx("span",{children:E}),A&&oe==="right"&&v.jsx("span",{className:`flex items-center ${k(w1[J])}`,children:A})]})}const M1=W.forwardRef(({label:E,placeholder:K,value:J="",onChange:A,required:oe=!1,disabled:te=!1,error:F,className:Y,rows:Se=4,name:ue},Ae)=>{const le=W.useMemo(()=>F?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[F]);return v.jsxs("div",{className:k("relative w-full",Y),children:[E&&v.jsxs("label",{className:k("mb-2 block text-base font-medium",F?"text-red-600":"text-slate-700"),children:[E,oe&&v.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),v.jsx("textarea",{ref:Ae,name:ue,rows:Se,value:J,onChange:fe=>A?.(fe.target.value),disabled:te,placeholder:E?void 0:K,className:k("w-full resize-none rounded-xl border bg-white text-base font-normal transition-all duration-300 ease-in-out outline-none","p-3 disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400",le)}),F&&v.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-small font-normal text-red-600",children:F})]})});M1.displayName="MciTextarea";var Sy={exports:{}},v0={},Ty={exports:{}},Kv={};var O1;function m3(){return O1||(O1=1,(function(E){function K(D,j){var V=D.length;D.push(j);e:for(;0<V;){var pe=V-1>>>1,$=D[pe];if(0<oe($,j))D[pe]=j,D[V]=$,V=pe;else break e}}function J(D){return D.length===0?null:D[0]}function A(D){if(D.length===0)return null;var j=D[0],V=D.pop();if(V!==j){D[0]=V;e:for(var pe=0,$=D.length,De=$>>>1;pe<De;){var ve=2*(pe+1)-1,he=D[ve],Ee=ve+1,mt=D[Ee];if(0>oe(he,V))Ee<$&&0>oe(mt,he)?(D[pe]=mt,D[Ee]=V,pe=Ee):(D[pe]=he,D[ve]=V,pe=ve);else if(Ee<$&&0>oe(mt,V))D[pe]=mt,D[Ee]=V,pe=Ee;else break e}}return j}function oe(D,j){var V=D.sortIndex-j.sortIndex;return V!==0?V:D.id-j.id}if(E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var te=performance;E.unstable_now=function(){return te.now()}}else{var F=Date,Y=F.now();E.unstable_now=function(){return F.now()-Y}}var Se=[],ue=[],Ae=1,le=null,fe=3,xe=!1,re=!1,ae=!1,I=!1,de=typeof setTimeout=="function"?setTimeout:null,Ce=typeof clearTimeout=="function"?clearTimeout:null,Ne=typeof setImmediate<"u"?setImmediate:null;function _e(D){for(var j=J(ue);j!==null;){if(j.callback===null)A(ue);else if(j.startTime<=D)A(ue),j.sortIndex=j.expirationTime,K(Se,j);else break;j=J(ue)}}function ut(D){if(ae=!1,_e(D),!re)if(J(Se)!==null)re=!0,Be||(Be=!0,Oe());else{var j=J(ue);j!==null&&Ke(ut,j.startTime-D)}}var Be=!1,at=-1,Me=5,ht=-1;function ee(){return I?!0:!(E.unstable_now()-ht<Me)}function Ot(){if(I=!1,Be){var D=E.unstable_now();ht=D;var j=!0;try{e:{re=!1,ae&&(ae=!1,Ce(at),at=-1),xe=!0;var V=fe;try{t:{for(_e(D),le=J(Se);le!==null&&!(le.expirationTime>D&&ee());){var pe=le.callback;if(typeof pe=="function"){le.callback=null,fe=le.priorityLevel;var $=pe(le.expirationTime<=D);if(D=E.unstable_now(),typeof $=="function"){le.callback=$,_e(D),j=!0;break t}le===J(Se)&&A(Se),_e(D)}else A(Se);le=J(Se)}if(le!==null)j=!0;else{var De=J(ue);De!==null&&Ke(ut,De.startTime-D),j=!1}}break e}finally{le=null,fe=V,xe=!1}j=void 0}}finally{j?Oe():Be=!1}}}var Oe;if(typeof Ne=="function")Oe=function(){Ne(Ot)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,Qt=Ge.port2;Ge.port1.onmessage=Ot,Oe=function(){Qt.postMessage(null)}}else Oe=function(){de(Ot,0)};function Ke(D,j){at=de(function(){D(E.unstable_now())},j)}E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(D){D.callback=null},E.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Me=0<D?Math.floor(1e3/D):5},E.unstable_getCurrentPriorityLevel=function(){return fe},E.unstable_next=function(D){switch(fe){case 1:case 2:case 3:var j=3;break;default:j=fe}var V=fe;fe=j;try{return D()}finally{fe=V}},E.unstable_requestPaint=function(){I=!0},E.unstable_runWithPriority=function(D,j){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var V=fe;fe=D;try{return j()}finally{fe=V}},E.unstable_scheduleCallback=function(D,j,V){var pe=E.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?pe+V:pe):V=pe,D){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=V+$,D={id:Ae++,callback:j,priorityLevel:D,startTime:V,expirationTime:$,sortIndex:-1},V>pe?(D.sortIndex=V,K(ue,D),J(Se)===null&&D===J(ue)&&(ae?(Ce(at),at=-1):ae=!0,Ke(ut,V-pe))):(D.sortIndex=$,K(Se,D),re||xe||(re=!0,Be||(Be=!0,Oe()))),D},E.unstable_shouldYield=ee,E.unstable_wrapCallback=function(D){var j=fe;return function(){var V=fe;fe=j;try{return D.apply(this,arguments)}finally{fe=V}}}})(Kv)),Kv}var $v={};var C1;function p3(){return C1||(C1=1,(function(E){process.env.NODE_ENV!=="production"&&(function(){function K(){if(ut=!1,ht){var D=E.unstable_now();Oe=D;var j=!0;try{e:{Ne=!1,_e&&(_e=!1,at(ee),ee=-1),Ce=!0;var V=de;try{t:{for(F(D),I=A(xe);I!==null&&!(I.expirationTime>D&&Se());){var pe=I.callback;if(typeof pe=="function"){I.callback=null,de=I.priorityLevel;var $=pe(I.expirationTime<=D);if(D=E.unstable_now(),typeof $=="function"){I.callback=$,F(D),j=!0;break t}I===A(xe)&&oe(xe),F(D)}else oe(xe);I=A(xe)}if(I!==null)j=!0;else{var De=A(re);De!==null&&ue(Y,De.startTime-D),j=!1}}break e}finally{I=null,de=V,Ce=!1}j=void 0}}finally{j?Ge():ht=!1}}}function J(D,j){var V=D.length;D.push(j);e:for(;0<V;){var pe=V-1>>>1,$=D[pe];if(0<te($,j))D[pe]=j,D[V]=$,V=pe;else break e}}function A(D){return D.length===0?null:D[0]}function oe(D){if(D.length===0)return null;var j=D[0],V=D.pop();if(V!==j){D[0]=V;e:for(var pe=0,$=D.length,De=$>>>1;pe<De;){var ve=2*(pe+1)-1,he=D[ve],Ee=ve+1,mt=D[Ee];if(0>te(he,V))Ee<$&&0>te(mt,he)?(D[pe]=mt,D[Ee]=V,pe=Ee):(D[pe]=he,D[ve]=V,pe=ve);else if(Ee<$&&0>te(mt,V))D[pe]=mt,D[Ee]=V,pe=Ee;else break e}}return j}function te(D,j){var V=D.sortIndex-j.sortIndex;return V!==0?V:D.id-j.id}function F(D){for(var j=A(re);j!==null;){if(j.callback===null)oe(re);else if(j.startTime<=D)oe(re),j.sortIndex=j.expirationTime,J(xe,j);else break;j=A(re)}}function Y(D){if(_e=!1,F(D),!Ne)if(A(xe)!==null)Ne=!0,ht||(ht=!0,Ge());else{var j=A(re);j!==null&&ue(Y,j.startTime-D)}}function Se(){return ut?!0:!(E.unstable_now()-Oe<Ot)}function ue(D,j){ee=Be(function(){D(E.unstable_now())},j)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var Ae=performance;E.unstable_now=function(){return Ae.now()}}else{var le=Date,fe=le.now();E.unstable_now=function(){return le.now()-fe}}var xe=[],re=[],ae=1,I=null,de=3,Ce=!1,Ne=!1,_e=!1,ut=!1,Be=typeof setTimeout=="function"?setTimeout:null,at=typeof clearTimeout=="function"?clearTimeout:null,Me=typeof setImmediate<"u"?setImmediate:null,ht=!1,ee=-1,Ot=5,Oe=-1;if(typeof Me=="function")var Ge=function(){Me(K)};else if(typeof MessageChannel<"u"){var Qt=new MessageChannel,Ke=Qt.port2;Qt.port1.onmessage=K,Ge=function(){Ke.postMessage(null)}}else Ge=function(){Be(K,0)};E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(D){D.callback=null},E.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ot=0<D?Math.floor(1e3/D):5},E.unstable_getCurrentPriorityLevel=function(){return de},E.unstable_next=function(D){switch(de){case 1:case 2:case 3:var j=3;break;default:j=de}var V=de;de=j;try{return D()}finally{de=V}},E.unstable_requestPaint=function(){ut=!0},E.unstable_runWithPriority=function(D,j){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var V=de;de=D;try{return j()}finally{de=V}},E.unstable_scheduleCallback=function(D,j,V){var pe=E.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?pe+V:pe):V=pe,D){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=V+$,D={id:ae++,callback:j,priorityLevel:D,startTime:V,expirationTime:$,sortIndex:-1},V>pe?(D.sortIndex=V,J(re,D),A(xe)===null&&D===A(re)&&(_e?(at(ee),ee=-1):_e=!0,ue(Y,V-pe))):(D.sortIndex=$,J(xe,D),Ne||Ce||(Ne=!0,ht||(ht=!0,Ge()))),D},E.unstable_shouldYield=Se,E.unstable_wrapCallback=function(D){var j=de;return function(){var V=de;de=j;try{return D.apply(this,arguments)}finally{de=V}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})($v)),$v}var U1;function N1(){return U1||(U1=1,process.env.NODE_ENV==="production"?Ty.exports=m3():Ty.exports=p3()),Ty.exports}var _1;function y3(){if(_1)return v0;_1=1;var E=N1(),K=W,J=T1;function A(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function oe(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function te(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function F(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function Y(l){if(l.tag===31){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function Se(l){if(te(l)!==l)throw Error(A(188))}function ue(l){var n=l.alternate;if(!n){if(n=te(l),n===null)throw Error(A(188));return n!==l?null:l}for(var u=l,c=n;;){var f=u.return;if(f===null)break;var r=f.alternate;if(r===null){if(c=f.return,c!==null){u=c;continue}break}if(f.child===r.child){for(r=f.child;r;){if(r===u)return Se(f),l;if(r===c)return Se(f),n;r=r.sibling}throw Error(A(188))}if(u.return!==c.return)u=f,c=r;else{for(var m=!1,g=f.child;g;){if(g===u){m=!0,u=f,c=r;break}if(g===c){m=!0,c=f,u=r;break}g=g.sibling}if(!m){for(g=r.child;g;){if(g===u){m=!0,u=r,c=f;break}if(g===c){m=!0,c=r,u=f;break}g=g.sibling}if(!m)throw Error(A(189))}}if(u.alternate!==c)throw Error(A(190))}if(u.tag!==3)throw Error(A(188));return u.stateNode.current===u?l:n}function Ae(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=Ae(l),n!==null)return n;l=l.sibling}return null}var le=Object.assign,fe=Symbol.for("react.element"),xe=Symbol.for("react.transitional.element"),re=Symbol.for("react.portal"),ae=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),Ce=Symbol.for("react.consumer"),Ne=Symbol.for("react.context"),_e=Symbol.for("react.forward_ref"),ut=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),at=Symbol.for("react.memo"),Me=Symbol.for("react.lazy"),ht=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),Ot=Symbol.iterator;function Oe(l){return l===null||typeof l!="object"?null:(l=Ot&&l[Ot]||l["@@iterator"],typeof l=="function"?l:null)}var Ge=Symbol.for("react.client.reference");function Qt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Ge?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ae:return"Fragment";case de:return"Profiler";case I:return"StrictMode";case ut:return"Suspense";case Be:return"SuspenseList";case ht:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case re:return"Portal";case Ne:return l.displayName||"Context";case Ce:return(l._context.displayName||"Context")+".Consumer";case _e:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case at:return n=l.displayName||null,n!==null?n:Qt(l.type)||"Memo";case Me:n=l._payload,l=l._init;try{return Qt(l(n))}catch{}}return null}var Ke=Array.isArray,D=K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=J.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},pe=[],$=-1;function De(l){return{current:l}}function ve(l){0>$||(l.current=pe[$],pe[$]=null,$--)}function he(l,n){$++,pe[$]=l.current,l.current=n}var Ee=De(null),mt=De(null),Ol=De(null),$u=De(null);function tu(l,n){switch(he(Ol,n),he(mt,l),he(Ee,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?qg(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=qg(n),l=hp(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}ve(Ee),he(Ee,l)}function Ye(){ve(Ee),ve(mt),ve(Ol)}function _a(l){l.memoizedState!==null&&he($u,l);var n=Ee.current,u=hp(n,l.type);n!==u&&(he(mt,l),he(Ee,u))}function se(l){mt.current===l&&(ve(Ee),ve(mt)),$u.current===l&&(ve($u),zr._currentValue=V)}var hc,mc;function nn(l){if(hc===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);hc=n&&n[1]||"",mc=-1<u.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+hc+l+mc}var lu=!1;function Et(l,n){if(!l||lu)return"";lu=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(n){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(q){var _=q}Reflect.construct(l,[],L)}else{try{L.call()}catch(q){_=q}l.call(L.prototype)}}else{try{throw Error()}catch(q){_=q}(L=l())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(q){if(q&&_&&typeof q.stack=="string")return[q.stack,_.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=c.DetermineComponentFrameRoot(),m=r[0],g=r[1];if(m&&g){var z=m.split(`
|
|
5
5
|
`),N=g.split(`
|