@mci-ui/mci-ui 0.0.66 → 0.0.67
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 +9 -17
- 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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--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-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-300:#8ec5ff;--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-slate-800:#1d293d;--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:14px;--text-sm--line-height:20px;--text-base:16px;--text-base--line-height:24px;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--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-h3--line-height:40px;--text-large:18px;--text-large--line-height:28px;--text-extra-small:12px;--text-extra-small--line-height:16px;--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}.invisible{visibility:hidden}.visible{visibility:visible}.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\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-\[calc\(100\%\+4px\)\]{top:calc(100% + 4px)}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.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-\[99px\]{z-index:99px}.z-\[100\]{z-index:100}.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)}.my-4{margin-block:calc(var(--spacing)*4)}.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)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-4{margin-right:calc(var(--spacing)*4)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.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-14{height:calc(var(--spacing)*14)}.h-full{height:100%}.h-px{height:1px}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[275px\]{max-height:275px}.min-h-\[180px\]{min-height:180px}.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-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-\[300px\]{width:300px}.w-\[320px\]{width:320px}.w-full{width:100%}.max-w-\[720px\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-9{min-width:calc(var(--spacing)*9)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-12{min-width:calc(var(--spacing)*12)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\[520px\]{min-width:520px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.origin-top{transform-origin:top}.origin-top-left{transform-origin:0 0}.origin-top-right{transform-origin:100% 0}.-translate-x-1\/2{--tw-translate-x: -50% ;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-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)}.scale-\[0\.99\]{scale:.99}.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-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.\[appearance\:textfield\]{appearance:textfield}.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}.flex-wrap{flex-wrap:wrap}.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-1\.5{gap:calc(var(--spacing)*1.5)}.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-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)}.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-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.scroll-smooth{scroll-behavior:smooth}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[inherit\]{border-radius:inherit}.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)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.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-blue-200{border-color:var(--color-blue-200)}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-100{border-color:var(--color-slate-100)}.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-transparent{border-color:#0000}.border-yellow-200{border-color:var(--color-yellow-200)}.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-50\/40{background-color:#eff6ff66}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/40{background-color:color-mix(in oklab,var(--color-blue-50)40%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-600\/30{background-color:#155dfc4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-600\/30{background-color:color-mix(in oklab,var(--color-blue-600)30%,transparent)}}.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-50\/30{background-color:#fef2f24d}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/30{background-color:color-mix(in oklab,var(--color-red-50)30%,transparent)}}.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-50\/40{background-color:#fefce866}@supports (color:color-mix(in lab,red,red)){.bg-yellow-50\/40{background-color:color-mix(in oklab,var(--color-yellow-50)40%,transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-600{background-color:var(--color-yellow-600)}.bg-yellow-600\/25{background-color:#d0870040}@supports (color:color-mix(in lab,red,red)){.bg-yellow-600\/25{background-color:color-mix(in oklab,var(--color-yellow-600)25%,transparent)}}.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))}.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-1{padding-inline:calc(var(--spacing)*1)}.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-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-20{padding-block:calc(var(--spacing)*20)}.pt-1{padding-top:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pb-0\.5{padding-bottom:calc(var(--spacing)*.5)}.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)}.pl-11{padding-left:calc(var(--spacing)*11)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-extra-small{font-size:var(--text-extra-small);line-height:var(--tw-leading,var(--text-extra-small--line-height))}.text-h3{font-size:var(--text-h3);line-height:var(--tw-leading,var(--text-h3--line-height))}.text-large{font-size:var(--text-large);line-height:var(--tw-leading,var(--text-large--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--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-\[11px\]{font-size:11px}.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-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.break-words{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.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-300{color:var(--color-slate-300)}.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-800{color:var(--color-slate-800)}.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)}.text-yellow-700{color:var(--color-yellow-700)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-blue-200{--tw-shadow-color:#bedbff}@supports (color:color-mix(in lab,red,red)){.shadow-blue-200{--tw-shadow-color:color-mix(in oklab,var(--color-blue-200)var(--tw-shadow-alpha),transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.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-\[background\,transform\]{transition-property:background,transform;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-150{--tw-duration:.15s;transition-duration:.15s}.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-300:hover{border-color:var(--color-blue-300)}.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-300:hover{border-color:var(--color-yellow-300)}.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-50\/60:hover{background-color:#eff6ff99}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-50\/60:hover{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)}}.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-50\/60:hover{background-color:#fefce899}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-50\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-50)60%,transparent)}}.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-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\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\:animate-spin:active{animation:var(--animate-spin)}.active\:cursor-grabbing:active{cursor:grabbing}.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}}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button{appearance:none}.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{appearance:none}.\[\&\:\:-webkit-scrollbar\]\:h-1::-webkit-scrollbar{height:calc(var(--spacing)*1)}.\[\&\:\:-webkit-scrollbar\]\:w-1\.5::-webkit-scrollbar{width:calc(var(--spacing)*1.5)}.\[\&\:\:-webkit-scrollbar-thumb\]\:rounded-full::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.\[\&\:\:-webkit-scrollbar-thumb\]\:border::-webkit-scrollbar-thumb{border-style:var(--tw-border-style);border-width:1px}.\[\&\:\:-webkit-scrollbar-thumb\]\:border-transparent::-webkit-scrollbar-thumb{border-color:#0000}.\[\&\:\:-webkit-scrollbar-thumb\]\:bg-slate-200::-webkit-scrollbar-thumb{background-color:var(--color-slate-200)}@media (hover:hover){.hover\:\[\&\:\:-webkit-scrollbar-thumb\]\:bg-slate-300:hover::-webkit-scrollbar-thumb{background-color:var(--color-slate-300)}}.\[\&\:\:-webkit-scrollbar-track\]\:bg-transparent::-webkit-scrollbar-track{background-color:#0000}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.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 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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--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-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-300:#8ec5ff;--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-slate-800:#1d293d;--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:14px;--text-sm--line-height:20px;--text-base:16px;--text-base--line-height:24px;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--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-h3--line-height:40px;--text-large:18px;--text-large--line-height:28px;--text-extra-small:12px;--text-extra-small--line-height:16px;--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}.invisible{visibility:hidden}.visible{visibility:visible}.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\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-\[calc\(100\%\+4px\)\]{top:calc(100% + 4px)}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.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-\[99px\]{z-index:99px}.z-\[100\]{z-index:100}.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)}.my-4{margin-block:calc(var(--spacing)*4)}.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)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-4{margin-right:calc(var(--spacing)*4)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.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-14{height:calc(var(--spacing)*14)}.h-full{height:100%}.h-px{height:1px}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[275px\]{max-height:275px}.min-h-\[180px\]{min-height:180px}.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-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-\[300px\]{width:300px}.w-\[320px\]{width:320px}.w-full{width:100%}.max-w-\[720px\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-9{min-width:calc(var(--spacing)*9)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-12{min-width:calc(var(--spacing)*12)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\[520px\]{min-width:520px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.origin-top{transform-origin:top}.origin-top-left{transform-origin:0 0}.origin-top-right{transform-origin:100% 0}.-translate-x-1\/2{--tw-translate-x: -50% ;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-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)}.scale-\[0\.99\]{scale:.99}.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-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.\[appearance\:textfield\]{appearance:textfield}.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}.flex-wrap{flex-wrap:wrap}.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-1\.5{gap:calc(var(--spacing)*1.5)}.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-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)}.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-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[inherit\]{border-radius:inherit}.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)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.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-blue-200{border-color:var(--color-blue-200)}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-100{border-color:var(--color-slate-100)}.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-transparent{border-color:#0000}.border-yellow-200{border-color:var(--color-yellow-200)}.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-50\/40{background-color:#eff6ff66}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/40{background-color:color-mix(in oklab,var(--color-blue-50)40%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-600\/30{background-color:#155dfc4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-600\/30{background-color:color-mix(in oklab,var(--color-blue-600)30%,transparent)}}.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-50\/30{background-color:#fef2f24d}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/30{background-color:color-mix(in oklab,var(--color-red-50)30%,transparent)}}.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-50\/40{background-color:#fefce866}@supports (color:color-mix(in lab,red,red)){.bg-yellow-50\/40{background-color:color-mix(in oklab,var(--color-yellow-50)40%,transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-600{background-color:var(--color-yellow-600)}.bg-yellow-600\/25{background-color:#d0870040}@supports (color:color-mix(in lab,red,red)){.bg-yellow-600\/25{background-color:color-mix(in oklab,var(--color-yellow-600)25%,transparent)}}.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))}.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-1{padding-inline:calc(var(--spacing)*1)}.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-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-20{padding-block:calc(var(--spacing)*20)}.pt-1{padding-top:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pb-0\.5{padding-bottom:calc(var(--spacing)*.5)}.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)}.pl-11{padding-left:calc(var(--spacing)*11)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-extra-small{font-size:var(--text-extra-small);line-height:var(--tw-leading,var(--text-extra-small--line-height))}.text-h3{font-size:var(--text-h3);line-height:var(--tw-leading,var(--text-h3--line-height))}.text-large{font-size:var(--text-large);line-height:var(--tw-leading,var(--text-large--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--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-\[11px\]{font-size:11px}.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-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.break-words{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.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-300{color:var(--color-slate-300)}.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-800{color:var(--color-slate-800)}.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)}.text-yellow-700{color:var(--color-yellow-700)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-blue-200{--tw-shadow-color:#bedbff}@supports (color:color-mix(in lab,red,red)){.shadow-blue-200{--tw-shadow-color:color-mix(in oklab,var(--color-blue-200)var(--tw-shadow-alpha),transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.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-\[background\,transform\]{transition-property:background,transform;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-150{--tw-duration:.15s;transition-duration:.15s}.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-300:hover{border-color:var(--color-blue-300)}.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-300:hover{border-color:var(--color-yellow-300)}.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-50\/60:hover{background-color:#eff6ff99}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-50\/60:hover{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)}}.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-50\/60:hover{background-color:#fefce899}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-50\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-50)60%,transparent)}}.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-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\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\:animate-spin:active{animation:var(--animate-spin)}.active\:cursor-grabbing:active{cursor:grabbing}.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}}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button{appearance:none}.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{appearance:none}.\[\&\:\:-webkit-scrollbar\]\:h-1::-webkit-scrollbar{height:calc(var(--spacing)*1)}.\[\&\:\:-webkit-scrollbar\]\:w-1\.5::-webkit-scrollbar{width:calc(var(--spacing)*1.5)}.\[\&\:\:-webkit-scrollbar-thumb\]\:rounded-full::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.\[\&\:\:-webkit-scrollbar-thumb\]\:border::-webkit-scrollbar-thumb{border-style:var(--tw-border-style);border-width:1px}.\[\&\:\:-webkit-scrollbar-thumb\]\:border-transparent::-webkit-scrollbar-thumb{border-color:#0000}.\[\&\:\:-webkit-scrollbar-thumb\]\:bg-slate-200::-webkit-scrollbar-thumb{background-color:var(--color-slate-200)}@media (hover:hover){.hover\:\[\&\:\:-webkit-scrollbar-thumb\]\:bg-slate-300:hover::-webkit-scrollbar-thumb{background-color:var(--color-slate-300)}}.\[\&\:\:-webkit-scrollbar-track\]\:bg-transparent::-webkit-scrollbar-track{background-color:#0000}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.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 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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
package/dist/index.es.js
CHANGED
|
@@ -2073,7 +2073,7 @@ function tr({
|
|
|
2073
2073
|
className: n(
|
|
2074
2074
|
"relative flex rounded-xl bg-slate-100 p-1",
|
|
2075
2075
|
d[r],
|
|
2076
|
-
!v && "w-full overflow-
|
|
2076
|
+
!v && "w-full overflow-hidden",
|
|
2077
2077
|
v ? "min-w-48" : "",
|
|
2078
2078
|
m
|
|
2079
2079
|
),
|
|
@@ -2094,29 +2094,21 @@ function tr({
|
|
|
2094
2094
|
j.current[p] = L;
|
|
2095
2095
|
},
|
|
2096
2096
|
onClick: () => {
|
|
2097
|
-
b
|
|
2097
|
+
b?.disabled || (y(b?.id), o?.(b?.id));
|
|
2098
2098
|
},
|
|
2099
|
-
disabled: b
|
|
2099
|
+
disabled: b?.disabled,
|
|
2100
2100
|
className: n(
|
|
2101
2101
|
"relative z-10 flex items-center justify-center whitespace-nowrap px-3 py-2 text-base font-normal text-black transition-colors duration-300",
|
|
2102
|
-
b
|
|
2103
|
-
v ? "w-full justify-start" : "flex-
|
|
2102
|
+
b?.disabled && "cursor-not-allowed opacity-50",
|
|
2103
|
+
v ? "w-full justify-start" : "flex-1 min-w-0"
|
|
2104
|
+
// ✅
|
|
2104
2105
|
),
|
|
2105
2106
|
children: [
|
|
2106
|
-
b
|
|
2107
|
-
|
|
2108
|
-
{
|
|
2109
|
-
className: n(
|
|
2110
|
-
"shrink-0 transition-transform duration-200",
|
|
2111
|
-
w && "scale-110"
|
|
2112
|
-
),
|
|
2113
|
-
children: b.icon
|
|
2114
|
-
}
|
|
2115
|
-
),
|
|
2116
|
-
/* @__PURE__ */ e("span", { className: "relative z-10", title: b.label, children: b.label })
|
|
2107
|
+
b?.icon && /* @__PURE__ */ e("span", { className: n("shrink-0 transition-transform duration-200", w && "scale-110"), children: b?.icon }),
|
|
2108
|
+
/* @__PURE__ */ e("span", { className: "relative z-10 truncate", title: b?.label, children: b?.label })
|
|
2117
2109
|
]
|
|
2118
2110
|
},
|
|
2119
|
-
b
|
|
2111
|
+
b?.id
|
|
2120
2112
|
);
|
|
2121
2113
|
})
|
|
2122
2114
|
]
|
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(O,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react/jsx-runtime"),require("@solar-icons/react"),require("clsx"),require("tailwind-merge"),require("react"),require("react-dom/client")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@solar-icons/react","clsx","tailwind-merge","react","react-dom/client"],e):(O=typeof globalThis<"u"?globalThis:O||self,e(O.MciUi={},O.React,O.SolarIcons,O.clsx,O.tailwindMerge,O.React,O.ReactDOM))})(this,(function(O,e,T,Le,Te,a,$e){"use strict";var ke=document.createElement("style");ke.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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--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-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-300:#8ec5ff;--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-slate-800:#1d293d;--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:14px;--text-sm--line-height:20px;--text-base:16px;--text-base--line-height:24px;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--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-h3--line-height:40px;--text-large:18px;--text-large--line-height:28px;--text-extra-small:12px;--text-extra-small--line-height:16px;--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}.invisible{visibility:hidden}.visible{visibility:visible}.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\\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-\\[calc\\(100\\%\\+4px\\)\\]{top:calc(100% + 4px)}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.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-\\[99px\\]{z-index:99px}.z-\\[100\\]{z-index:100}.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)}.my-4{margin-block:calc(var(--spacing)*4)}.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)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-4{margin-right:calc(var(--spacing)*4)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.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-14{height:calc(var(--spacing)*14)}.h-full{height:100%}.h-px{height:1px}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\\[275px\\]{max-height:275px}.min-h-\\[180px\\]{min-height:180px}.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-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-\\[300px\\]{width:300px}.w-\\[320px\\]{width:320px}.w-full{width:100%}.max-w-\\[720px\\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-9{min-width:calc(var(--spacing)*9)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-12{min-width:calc(var(--spacing)*12)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\\[520px\\]{min-width:520px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.origin-top{transform-origin:top}.origin-top-left{transform-origin:0 0}.origin-top-right{transform-origin:100% 0}.-translate-x-1\\/2{--tw-translate-x: -50% ;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-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)}.scale-\\[0\\.99\\]{scale:.99}.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-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.\\[appearance\\:textfield\\]{appearance:textfield}.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}.flex-wrap{flex-wrap:wrap}.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-1\\.5{gap:calc(var(--spacing)*1.5)}.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-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)}.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-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.scroll-smooth{scroll-behavior:smooth}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[inherit\\]{border-radius:inherit}.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)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.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-blue-200{border-color:var(--color-blue-200)}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-100{border-color:var(--color-slate-100)}.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-transparent{border-color:#0000}.border-yellow-200{border-color:var(--color-yellow-200)}.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-50\\/40{background-color:#eff6ff66}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/40{background-color:color-mix(in oklab,var(--color-blue-50)40%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-600\\/30{background-color:#155dfc4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-600\\/30{background-color:color-mix(in oklab,var(--color-blue-600)30%,transparent)}}.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-50\\/30{background-color:#fef2f24d}@supports (color:color-mix(in lab,red,red)){.bg-red-50\\/30{background-color:color-mix(in oklab,var(--color-red-50)30%,transparent)}}.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-50\\/40{background-color:#fefce866}@supports (color:color-mix(in lab,red,red)){.bg-yellow-50\\/40{background-color:color-mix(in oklab,var(--color-yellow-50)40%,transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-600{background-color:var(--color-yellow-600)}.bg-yellow-600\\/25{background-color:#d0870040}@supports (color:color-mix(in lab,red,red)){.bg-yellow-600\\/25{background-color:color-mix(in oklab,var(--color-yellow-600)25%,transparent)}}.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))}.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-1{padding-inline:calc(var(--spacing)*1)}.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-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-20{padding-block:calc(var(--spacing)*20)}.pt-1{padding-top:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pb-0\\.5{padding-bottom:calc(var(--spacing)*.5)}.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)}.pl-11{padding-left:calc(var(--spacing)*11)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-extra-small{font-size:var(--text-extra-small);line-height:var(--tw-leading,var(--text-extra-small--line-height))}.text-h3{font-size:var(--text-h3);line-height:var(--tw-leading,var(--text-h3--line-height))}.text-large{font-size:var(--text-large);line-height:var(--tw-leading,var(--text-large--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--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-\\[11px\\]{font-size:11px}.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-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.break-words{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.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-300{color:var(--color-slate-300)}.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-800{color:var(--color-slate-800)}.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)}.text-yellow-700{color:var(--color-yellow-700)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-blue-200{--tw-shadow-color:#bedbff}@supports (color:color-mix(in lab,red,red)){.shadow-blue-200{--tw-shadow-color:color-mix(in oklab,var(--color-blue-200)var(--tw-shadow-alpha),transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.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-\\[background\\,transform\\]{transition-property:background,transform;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-150{--tw-duration:.15s;transition-duration:.15s}.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-300:hover{border-color:var(--color-blue-300)}.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-300:hover{border-color:var(--color-yellow-300)}.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-50\\/60:hover{background-color:#eff6ff99}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-50\\/60:hover{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)}}.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-50\\/60:hover{background-color:#fefce899}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-yellow-50\\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-50)60%,transparent)}}.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-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\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:animate-spin:active{animation:var(--animate-spin)}.active\\:cursor-grabbing:active{cursor:grabbing}.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}}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button{appearance:none}.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{appearance:none}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:h-1::-webkit-scrollbar{height:calc(var(--spacing)*1)}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:w-1\\.5::-webkit-scrollbar{width:calc(var(--spacing)*1.5)}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:rounded-full::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:border::-webkit-scrollbar-thumb{border-style:var(--tw-border-style);border-width:1px}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:border-transparent::-webkit-scrollbar-thumb{border-color:#0000}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-slate-200::-webkit-scrollbar-thumb{background-color:var(--color-slate-200)}@media (hover:hover){.hover\\:\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-slate-300:hover::-webkit-scrollbar-thumb{background-color:var(--color-slate-300)}}.\\[\\&\\:\\:-webkit-scrollbar-track\\]\\:bg-transparent::-webkit-scrollbar-track{background-color:#0000}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.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 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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(ke);function Pe(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const G=Pe(a);function o(...t){return Te.twMerge(Le.clsx(t))}function me(t){return{handleEscape:r=>{r.key==="Escape"&&t()}}}function he(t,n){return{handleClick:l=>{t.current&&!t.current.contains(l.target)&&n()}}}function Be({items:t,variant:n="blue",className:r}){const l=n==="blue",p=l?"hover:text-blue-600":"hover:text-yellow-500",c=l?"text-blue-600":"text-yellow-500";return e.jsx("nav",{className:o("flex items-center",r),"aria-label":"Breadcrumb",children:t.map((s,i)=>{const C=i===t.length-1;return e.jsxs("div",{className:"flex items-center",children:[C?e.jsxs("span",{className:o("flex items-center gap-x-2 font-medium",c),children:[s.icon,e.jsx("span",{children:s.label})]}):e.jsxs("a",{href:s.href??"#",onClick:y=>{s.onClick&&(y.preventDefault(),s.onClick())},className:o("flex items-center gap-x-2 transition-all text-sm font-normal text-slate-500",p),children:[s.icon,e.jsx("span",{children:s.label})]}),!C&&e.jsx("span",{className:"mx-2 flex items-center",children:e.jsx(T.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-500"})})]},i)})})}function We({children:t,text:n,icon:r,iconPosition:l="left",size:p="base",variant:c="primary",color:s="yellow",loading:i=!1,disabled:C=!1,onClick:y,className:N,type:M="button"}){const L=t??n,I={sm:"h-9 px-2 text-sm gap-1.5 rounded-lg leading-9 min-w-9",md:"h-10 px-2 text-base gap-2 rounded-lg leading-10 min-w-10",base:"h-12 px-4 text-base gap-2 rounded-xl leading-12 min-w-12"},d=c==="primary"||c==="secondary"||c==="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"}}[s][c]:{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"}[c],v=C||i,w=v?c==="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 e.jsxs("button",{type:M,onClick:y,disabled:v,className:o("inline-flex items-center justify-center font-medium transition-all duration-200 cursor-pointer",I[p],d,!v&&d,w,N),children:[r&&l==="left"&&!i&&e.jsx("span",{className:"flex items-center",children:r}),L&&e.jsx("span",{children:L}),r&&l==="right"&&!i&&e.jsx("span",{className:"flex items-center",children:r}),i&&e.jsx(T.Star2,{weight:"Linear",size:20,className:"animate-spin"})]})}const Oe=t=>G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:11,height:8,viewBox:"0 0 11 8",fill:"none",...t},G.createElement("path",{d:"M0.625 3.76944L3.76944 6.91389L10.0694 0.625",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),_e={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"}},de=a.memo(function({type:n="checkbox",label:r,supportText:l,checked:p,onChange:c,error:s,disabled:i=!1,required:C=!1,className:y,variant:N="yellow",name:M,value:L}){const[I,x]=a.useState(!1),u=n==="radio",d=a.useMemo(()=>p??I,[p,I]),v=a.useCallback(m=>{i||(p===void 0&&x(m.target.checked),c?.(m))},[p,c,i]),w=a.useMemo(()=>{if(i){const D="border-slate-200 bg-slate-100";return u?{container:D,dot:d?"bg-slate-300":"bg-transparent",check:"text-slate-400"}:{container:D,dot:"",check:d?"text-slate-400":"text-transparent"}}const m=_e[N];if(u){const D=o("border transition-all duration-200",d?m.border:"border-slate-400",!d&&m.hover,m.focus,d&&""),F=o("transition-all duration-200 rounded-full",d?m.bg:"bg-transparent");return{container:D,dot:F,check:""}}return{container:o("border transition-all duration-200",d?o(m.bg,m.border):"border-slate-400",!d&&m.hover,m.focus),dot:"",check:d?"text-white":"text-transparent"}},[u,d,i,N]),f=a.useMemo(()=>!r&&!l?null:e.jsxs("div",{className:"flex flex-col",children:[r&&e.jsxs("span",{className:o("text-base font-medium text-slate-700",s&&"text-red-600",i&&"text-slate-400"),children:[r,C&&e.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),l&&e.jsx("span",{className:o("text-slate-500 text-base font-normal",i&&"text-slate-400"),children:l})]}),[r,l,s,i,C]);return e.jsxs("div",{className:o("flex items-start",y),children:[e.jsxs("label",{className:o("flex items-start gap-2 select-none",i?"cursor-not-allowed":"cursor-pointer"),children:[e.jsx("input",{type:n,checked:d,onChange:v,disabled:i,required:C,className:"sr-only","aria-invalid":!!s,"aria-describedby":s?`${M}-error`:void 0,name:M,value:L}),e.jsx("div",{className:o("relative flex items-center justify-center",u?"w-5 h-5 rounded-full":"w-5 h-5 rounded",w.container),children:u?e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("span",{className:o("w-3 h-3 rounded-full transition-all duration-200",w.dot,d?"opacity-100 scale-100":"opacity-0 scale-50")})}):e.jsx(Oe,{className:o("w-4 h-4 stroke-[2.5px] transition-opacity duration-200",w.check,d?"opacity-100":"opacity-0")})}),f]}),s&&e.jsx("p",{id:`${M}-error`,className:"mt-1 text-extra-small text-red-600",children:s})]})});de.displayName="MciCheck";function Ye({title:t,children:n,defaultOpen:r=!1,icon:l,className:p,contentClassName:c}){const[s,i]=a.useState(r),[C,y]=a.useState(0),N=a.useRef(null);return a.useEffect(()=>{N.current&&y(s?N.current.scrollHeight:0)},[s]),e.jsxs("div",{className:o("overflow-hidden rounded-xl border border-slate-200",p),children:[e.jsxs("button",{onClick:()=>i(!s),className:o("flex w-full items-center justify-between p-5 transition-all duration-300 hover:cursor-pointer",s?"border-b border-slate-200":"border-b border-transparent"),children:[e.jsxs("div",{className:"flex items-center gap-2",children:[l&&e.jsx("span",{className:"shrink-0",children:l}),e.jsx("div",{className:o("text-base font-medium text-black"),children:t})]}),e.jsx(T.AltArrowDown,{weight:"Linear",size:20,className:o("shrink-0 transition-transform duration-300 text-slate-400",s&&"rotate-180")})]}),e.jsx("div",{className:o("overflow-hidden transition-all duration-300 ease-out"),style:{height:`${C}px`},children:e.jsx("div",{ref:N,className:o("p-5",c),children:n})})]})}const ce=t=>G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t},G.createElement("path",{d:"M7.75739 7.75735L16.2427 16.2426",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),G.createElement("path",{d:"M7.75733 16.2426L16.2426 7.75735",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));function Ve({isOpen:t,onClose:n,position:r="right",children:l,footer:p,title:c,description:s,showCloseButton:i=!0,drawerClassName:C,closeOnOverlayClick:y=!0,closeOnEscape:N=!0,width:M=572}){const L=a.useRef(null),I=a.useRef(null),x=a.useCallback(()=>{n()},[n]);a.useEffect(()=>{t?(I.current=document.activeElement,L.current?.focus()):I.current?.focus()},[t]),a.useEffect(()=>(t&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow="unset"}),[t]);const u=a.useMemo(()=>({width:typeof M=="number"?`${M}px`:M,transform:t?"translateX(0)":r==="right"?"translateX(calc(100% + 48px))":"translateX(calc(-100% - 48px))"}),[t,M,r]),d={left:"top-6 left-6 bottom-6",right:"top-6 right-6 bottom-6"};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:o("fixed inset-0 z-50 bg-black/40 transition-opacity duration-300",t?"opacity-100 visible cursor-pointer":"opacity-0 invisible pointer-events-none"),onClick:y?x:void 0,"aria-hidden":"true"}),e.jsxs("div",{ref:L,tabIndex:-1,style:u,className:o("fixed flex flex-col z-50 w-full rounded-2xl bg-white transition-transform duration-300 ease-in-out outline-none",d[r],C),role:"dialog","aria-modal":"true","aria-labelledby":c?"drawer-title":void 0,children:[(c||i||s)&&e.jsxs("div",{className:"flex items-start justify-between border-b border-slate-200 p-6 shrink-0",children:[c&&e.jsxs("div",{className:"block",children:[e.jsx("h2",{id:"drawer-title",className:"text-h3 font-semibold text-black",children:c}),s&&e.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:s})]}),i&&e.jsx("button",{type:"button",onClick:x,className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group active:scale-95",children:e.jsx(ce,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-slate-200 p-6",children:l}),p&&e.jsx("div",{className:"flex items-center justify-end border-t border-slate-200 p-6 shrink-0",children:p})]})]})}const ge=a.forwardRef(({label:t,placeholder:n,type:r="text",icon:l,rightIcon:p,iconPosition:c="left",size:s="base",error:i,disabled:C=!1,required:y=!1,value:N,onChange:M,onFocus:L,onBlur:I,className:x,name:u,maxLength:d=250,onClear:v,showClearButton:w=!1,step:f,autoComplete:m="off"},z)=>{const[D,F]=a.useState(!1),[h,E]=a.useState(""),[j,B]=a.useState(!1),U=N??h,_=r==="password",H=w&&!!U&&!C,K=l&&c==="left",te=l&&c==="right"||p||_,ee=te||H,X=()=>{F(!0),L?.()},re=()=>{F(!1),I?.()},le=q=>{let Z=q.target.value;r==="number"&&d&&Z.length>d&&(Z=Z.slice(0,d),q.target.value=Z),N===void 0&&E(Z),M?.(q)},Q=()=>B(q=>!q),k=()=>{N===void 0&&E(""),v?.()},S=a.useMemo(()=>({sm:{input:"h-9 text-sm",padding:K&&te?"pl-7 pr-7":K?"pl-7 pr-2":te?"pl-2 pr-7":"px-2",icon:"w-4 h-4",leftIcon:"left-2",rightIcon:"right-2",labelFont:"text-sm",iconWrapper:"h-4"},md:{input:"h-10 text-sm",padding:K&&te?"pl-8 pr-8":K?"pl-8 pr-2":te?"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:K&&te?"pl-9 pr-9":K?"pl-9 pr-3":te?"pl-3 pr-9":"px-4",icon:"w-5 h-5",leftIcon:"left-3",rightIcon:"right-3",labelFont:"text-base",iconWrapper:"h-5"}}),[K,te]),$=a.useMemo(()=>i?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[i]),P=a.useMemo(()=>C?"text-slate-400":i?"text-red-600":D?"text-black":"text-slate-400",[i,D,C]);return e.jsxs("div",{className:o("w-full",x),children:[t&&e.jsxs("label",{htmlFor:u,className:o("mb-2 block text-base font-medium",i?"text-red-600":"text-slate-700",S[s].labelFont),children:[t,y&&e.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),e.jsxs("div",{className:"relative flex items-center",children:[e.jsx("input",{ref:z,name:u,type:_&&j?"text":r,value:U,onChange:le,onFocus:X,onBlur:re,disabled:C,required:y,autoComplete:m,placeholder:n,step:f,className:o("w-full border bg-white font-normal transition-all duration-300 ease-in-out outline-none",s==="base"?"rounded-xl":"rounded-lg","disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",S[s].input,S[s].padding,$),maxLength:d}),K&&e.jsx("div",{className:o("absolute top-1/2 flex -translate-y-1/2 items-center justify-center","transition-all duration-300",S[s].leftIcon,P),children:e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon),children:l})})}),ee&&e.jsxs("div",{className:o("absolute top-1/2 flex -translate-y-1/2 items-center justify-center gap-2","transition-all duration-300",S[s].rightIcon),children:[H&&e.jsx("button",{type:"button",onClick:k,className:o("flex items-center justify-center",S[s].iconWrapper,"text-slate-base hover:text-black"),style:{cursor:"pointer"},children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon),children:e.jsx(ce,{className:o("h-full w-full")})})}),p&&!_&&e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon,P),children:p})}),_&&e.jsxs(e.Fragment,{children:[p&&e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon,P),children:p})}),e.jsx("button",{type:"button",onClick:Q,className:o("flex items-center justify-center",S[s].iconWrapper,P),children:e.jsx("span",{className:o("flex items-center justify-center cursor-pointer",S[s].icon),children:j?e.jsx(T.EyeClosed,{weight:"Linear",className:o("h-full w-full")}):e.jsx(T.Eye,{weight:"Linear",className:o("h-full w-full")})})})]}),l&&c==="right"&&!_&&e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon,P),children:l})})]})]}),i&&e.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-sm font-normal text-red-600",children:i})]})});ge.displayName="MciInput";const Ue={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"]}},Ne=a.forwardRef(({type:t="date",value:n,onChange:r,placeholder:l,label:p,disabled:c=!1,required:s=!1,className:i,format:C="DD.MM.YYYY",minDate:y,maxDate:N,error:M,showClear:L=!0,allowManualInput:I=!0,locale:x="uz",startView:u="day",iconPosition:d="left",align:v="auto"},w)=>{const[f,m]=a.useState(!1),[z,D]=a.useState(t==="range"?[null,null]:null),[F,h]=a.useState([null,null]),E=a.useCallback(g=>{if(!g)return null;const b=new Date(g);return isNaN(b.getTime())?null:b},[]),[j,B]=a.useState(new Date),[U,_]=a.useState(u),[H,K]=a.useState(0),[te,ee]=a.useState(""),[X,re]=a.useState(v),le=a.useRef(null),Q=a.useMemo(()=>{const g=n!==void 0?n:z;if(t==="date")return E(g);const b=g;return[E(b[0]),E(b[1])]},[n,z,t,E]),k=Ue[x],S=a.useCallback(g=>new Date(g.getFullYear(),g.getMonth(),g.getDate()),[]),$=a.useCallback(g=>{if(!g)return"";const b=g.getDate().toString().padStart(2,"0"),A=(g.getMonth()+1).toString().padStart(2,"0"),Y=g.getFullYear();return C.replace("DD",b).replace("MM",A).replace("YYYY",Y.toString())},[C]),P=a.useCallback(g=>{if(!g||g.length!==10)return null;const b=g.replace(/\D/g,"");if(b.length!==8)return null;const A=parseInt(b.slice(0,2),10),Y=parseInt(b.slice(2,4),10),V=parseInt(b.slice(4,8),10);if(V<1e3||Y<1||Y>12||A<1||A>31)return null;const R=new Date(V,Y-1,A);return R.getFullYear()!==V||R.getMonth()!==Y-1||R.getDate()!==A?null:R},[]),q=a.useCallback(g=>{const b=S(g);return!!(y&&b<S(y)||N&&b>S(N))},[y,N,S]),Z=a.useMemo(()=>{if(t==="date")return $(Q);const[g,b]=Q;return!g&&!b?"":g&&b?`${$(g)} - ${$(b)}`:g?`${$(g)} - ...`:"..."},[t,Q,$]);a.useEffect(()=>{f?te===""&&Z!==""&&ee(Z):ee(Z)},[Z,f]),a.useEffect(()=>{if(f)if(t==="range"){const g=Q;h(g),g[0]?B(g[0]):g[1]?B(g[1]):B(new Date)}else{const g=Q;B(g||new Date)}},[f]),a.useEffect(()=>{if(f&&v==="auto"&&le.current){const g=le.current.getBoundingClientRect(),b=window.innerWidth-g.right,A=g.left;b<300&&A>300?re("right"):re("left")}},[f,v]);const J=a.useCallback(()=>{m(!1),_(u),K(0),ee(Z)},[u,Z]),ie=a.useCallback(g=>{c||(g.preventDefault(),g.stopPropagation(),m(b=>!b))},[c]),{handleClick:W}=he(le,J),{handleEscape:ne}=me(J);a.useEffect(()=>{if(f)return document.addEventListener("mousedown",W),document.addEventListener("keydown",ne),()=>{document.removeEventListener("mousedown",W),document.removeEventListener("keydown",ne)}},[f,W,ne]);const ht=()=>{c||f||(t==="range"||!I)&&(m(!0),_(u))},gt=g=>{if(t!=="date")return;let A=g.target.value.replace(/\D/g,"");A.length>8&&(A=A.slice(0,8));let Y="";if(A.length>4?Y=`${A.slice(0,2)}.${A.slice(2,4)}.${A.slice(4)}`:A.length>2?Y=`${A.slice(0,2)}.${A.slice(2)}`:Y=A,ee(Y),Y.length===10){const V=P(Y);V&&!q(V)&&(D(V),r?.(V),B(V))}else Y===""&&(D(null),r?.(null))},pt=a.useCallback(()=>{const g=t==="range"?[null,null]:null;D(g),h([null,null]),r?.(g),ee("")},[t,r]),ft=a.useCallback(g=>{if(q(g))return;const b=S(g);if(t==="date")D(b),r?.(b),ee($(b)),J();else{const[A,Y]=F;if(!A&&!Y||A&&Y)h([b,null]),ee(`${$(b)} - ...`);else if(A&&!Y){const V=b<A?[b,A]:[A,b];h(V),D(V),r?.(V);const[R,se]=V;ee(`${$(R)} - ${$(se)}`),J()}}},[t,F,q,S,r,J,$]),bt=a.useCallback(g=>{const b=new Date(j.getFullYear(),g,1);B(b),u==="month"&&t==="date"?(D(b),r?.(b),ee($(b)),J()):_("day")},[j,u,r,J,t,$]),wt=a.useCallback(g=>{const b=new Date(g,j.getMonth(),1);B(b),u==="year"&&t==="date"?(D(b),r?.(b),ee($(b)),J()):_("month")},[j,u,r,J,t,$]),ze=g=>{B(b=>new Date(b.getFullYear(),b.getMonth()+g,1))},fe=g=>{B(b=>new Date(b.getFullYear()+g,b.getMonth(),1))},vt=a.useCallback(g=>{const b=g.getFullYear(),A=g.getMonth(),Y=new Date(b,A,1).getDay(),V=new Date(b,A+1,0).getDate(),R=[];for(let ae=Y;ae>0;ae--)R.push({date:new Date(b,A,1-ae),isCurrentMonth:!1});for(let ae=1;ae<=V;ae++)R.push({date:new Date(b,A,ae),isCurrentMonth:!0});const se=42-R.length;for(let ae=1;ae<=se;ae++)R.push({date:new Date(b,A+1,ae),isCurrentMonth:!1});return R},[]),be=a.useCallback((g,b)=>S(g).getTime()===S(b).getTime(),[S]),mt=g=>{const b=S(g);if(t==="date")return Q&&be(b,Q);const[A]=F[0]?F:Q;return E(A)&&be(b,E(A))},xt=g=>{if(t!=="range")return!1;const b=S(g),[,A]=F[1]?F:Q;return E(A)&&be(b,E(A))},yt=g=>{if(t!=="range")return!1;const b=S(g),[A,Y]=F[0]?F:Q,V=E(A),R=E(Y);return V&&!R?!1:V&&R&&b>S(V)&&b<S(R)},je=(g,b,A)=>{const Y=vt(g);return e.jsxs("div",{className:"w-[300px] p-2 select-none",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[e.jsx("div",{className:"flex gap-2 w-16",children:b&&e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:()=>fe(-1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.DoubleAltArrowLeft,{size:18})}),e.jsx("button",{onClick:()=>ze(-1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.AltArrowLeft,{size:18})})]})}),e.jsxs("div",{className:"flex gap-1 font-semibold text-slate-700 text-sm whitespace-nowrap",children:[e.jsx("span",{className:"cursor-pointer hover:text-blue-600 transition-colors p-1 rounded hover:bg-slate-50",onClick:()=>_("month"),children:k.months[g.getMonth()]}),e.jsx("span",{className:"cursor-pointer hover:text-blue-600 transition-colors p-1 rounded hover:bg-slate-50",onClick:()=>_("year"),children:g.getFullYear()})]}),e.jsx("div",{className:"flex gap-2 w-16 justify-end",children:A&&e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:()=>ze(1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.AltArrowRight,{size:18})}),e.jsx("button",{onClick:()=>fe(1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.DoubleAltArrowRight,{size:18})})]})})]}),e.jsx("div",{className:"grid grid-cols-7 mb-1 text-center text-[11px] font-bold text-blue-600 uppercase",children:k.weekdaysShort.map(V=>e.jsx("div",{className:"py-1",children:V},V))}),e.jsx("div",{className:"grid grid-cols-7 gap-y-1 relative",children:Y.map((V,R)=>{const se=V.date,ae=q(se),we=mt(se),ve=xt(se),Ct=yt(se);return e.jsx("div",{className:o("h-10 flex items-center justify-center relative",Ct&&"bg-blue-50",we&&t==="range"&&ve?"bg-blue-50 rounded-full":we&&t==="range"?"bg-gradient-to-r from-transparent to-blue-50 rounded-l-full":"",ve&&t==="range"?"bg-gradient-to-l from-transparent to-blue-50 rounded-r-full":""),children:e.jsx("button",{type:"button",onClick:()=>ft(se),disabled:ae,className:o("w-9 h-9 cursor-pointer rounded-full flex items-center justify-center text-sm font-medium transition-all z-10",V.isCurrentMonth?"text-slate-700":"text-slate-300",ae&&"opacity-20 cursor-not-allowed",we||ve?"bg-blue-600 text-white shadow-md shadow-blue-200 hover:bg-blue-700":"hover:bg-blue-50",be(se,new Date)&&!we&&!ve&&"text-blue-600 border border-blue-600"),children:se.getDate()})},R)})})]})},kt=()=>e.jsxs("div",{className:"w-[300px] p-3",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4 px-2",children:[e.jsx("button",{type:"button",onClick:()=>fe(-1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowLeft,{size:20})}),e.jsx("span",{className:"font-bold text-slate-800",children:j.getFullYear()}),e.jsx("button",{type:"button",onClick:()=>fe(1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowRight,{size:20})})]}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:k.monthsShort.map((g,b)=>e.jsx("button",{type:"button",onClick:()=>bt(b),className:o("hover:cursor-pointer py-3 rounded-lg text-sm font-semibold transition-colors",j.getMonth()===b?"bg-blue-600 text-white":"hover:bg-blue-50 text-slate-600"),children:g},g))})]}),Nt=()=>{const g=Math.floor(j.getFullYear()/12)*12+H*12,b=Array.from({length:12},(A,Y)=>g+Y);return e.jsxs("div",{className:"w-[300px] p-3",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4 px-2",children:[e.jsx("button",{type:"button",onClick:()=>K(A=>A-1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowLeft,{size:20})}),e.jsxs("span",{className:"font-bold text-slate-800",children:[b[0]," - ",b[11]]}),e.jsx("button",{type:"button",onClick:()=>K(A=>A+1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowRight,{size:20})})]}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:b.map(A=>e.jsx("button",{type:"button",onClick:()=>wt(A),className:o("hover:cursor-pointer py-3 rounded-lg text-sm font-semibold transition-colors",j.getFullYear()===A?"bg-blue-600 text-white":"hover:bg-blue-50 text-slate-600"),children:A},A))})]})},Ie=e.jsx("div",{onClick:ie,className:o("cursor-pointer flex items-center justify-center p-1 rounded-md transition-colors",c?"pointer-events-none opacity-50":"hover:bg-slate-100 active:bg-slate-200"),children:e.jsx(T.Calendar,{weight:"Linear",size:20,className:"text-slate-400"})});return e.jsxs("div",{ref:le,className:o("relative w-full group",i),children:[e.jsx("div",{ref:w,children:e.jsx(ge,{label:p,placeholder:Array.isArray(l)?l[0]:l,value:te,onChange:gt,icon:d==="left"?Ie:void 0,rightIcon:d==="right"?Ie:void 0,disabled:c,required:s,error:M,maxLength:t==="date"?10:void 0,onFocus:ht,readOnly:!I||t==="range",showClearButton:L,onClear:pt})}),f&&e.jsx("div",{className:o("absolute top-[calc(100%+4px)] z-[100] bg-white rounded-xl shadow-xl border border-slate-200","flex flex-col md:flex-row overflow-hidden animate-in fade-in zoom-in-95 duration-200",X==="right"&&"right-0 origin-top-right",X==="left"&&"left-0 origin-top-left",X==="center"&&"left-1/2 -translate-x-1/2 origin-top"),style:{width:"max-content"},onMouseDown:g=>g.stopPropagation(),children:U==="day"?e.jsxs(e.Fragment,{children:[je(j,!0,t!=="range"),t==="range"&&e.jsx("div",{className:"hidden md:block border-l border-slate-100",children:je(new Date(j.getFullYear(),j.getMonth()+1,1),!1,!0)})]}):U==="month"?kt():Nt()})]})});Ne.displayName="MciPicker";const He={sm:{container:"h-9 text-sm",padding:"px-2",iconPaddingLeft:"pl-7",iconPaddingRight:"pr-7",iconSize:"w-4 h-4",iconWrapper:"left-2",rightIconWrapper:"right-2",label:"text-sm",dropdown:"text-sm"},md:{container:"h-10 text-sm",padding:"px-4",iconPaddingLeft:"pl-8",iconPaddingRight:"pr-8",iconSize:"w-5 h-5",iconWrapper:"left-3",rightIconWrapper:"right-3",label:"text-sm",dropdown:"text-sm"},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"}},Ce=a.forwardRef(({label:t,placeholder:n="Выберите...",options:r=[],icon:l,iconPosition:p="left",size:c="base",error:s,disabled:i=!1,required:C=!1,value:y,onChange:N,onFocus:M,onBlur:L,className:I,clearable:x=!1,searchable:u=!1,onSearch:d,name:v},w)=>{const[f,m]=a.useState(!1),[z,D]=a.useState(!1),[F,h]=a.useState(""),[E,j]=a.useState(""),[B,U]=a.useState(-1),_=a.useRef(null),H=a.useRef(null),K=y!==void 0?y:F,te=r.find(W=>W.value===K),ee=K!==""&&K!==void 0,X=He[c],re=a.useMemo(()=>{if(!u||d)return r;const W=E.toLowerCase();return r.filter(ne=>ne.label.toLowerCase().includes(W))},[r,E,u,d]),le=a.useCallback(()=>{m(!1),D(!1),j(""),U(-1),L?.()},[L]),{handleClick:Q}=he(_,le),{handleEscape:k}=me(le);a.useEffect(()=>{if(f)return document.addEventListener("mousedown",Q),document.addEventListener("keydown",k),()=>{document.removeEventListener("mousedown",Q),document.removeEventListener("keydown",k)}},[f,Q,k]),a.useEffect(()=>{f&&u&&H.current&&H.current.focus()},[f,u]);const S=a.useCallback(W=>{if(!i){if(!f&&(W.key==="ArrowDown"||W.key==="ArrowUp"||W.key==="Enter")){W.preventDefault(),m(!0);return}if(f)switch(W.key){case"ArrowDown":W.preventDefault(),U(ne=>ne<re.length-1?ne+1:0);break;case"ArrowUp":W.preventDefault(),U(ne=>ne>0?ne-1:re.length-1);break;case"Enter":W.preventDefault(),B>=0&&re[B]&&P(re[B].value);break}}},[f,re,B,i]),$=a.useCallback(()=>{i||(m(W=>!W),f?(j(""),U(-1)):(D(!0),M?.()))},[i,f,M]),P=a.useCallback(W=>{y===void 0&&h(W),N?.(W),m(!1),D(!1),j(""),U(-1),L?.()},[y,N,L]),q=a.useCallback(W=>{W.stopPropagation(),!i&&(y===void 0&&h(""),N?.(""),j(""),U(-1))},[y,N,i]),Z=a.useCallback(W=>{j(W),d?.(W),U(0)},[d]),J=a.useMemo(()=>i?"border-slate-200 bg-slate-100 text-slate-400 cursor-not-allowed":s?"border-red-600 focus:border-red-600 shadow-red bg-white":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600 bg-white",[s,i]),ie=a.useMemo(()=>i?"text-slate-400":s?"text-red-600":f||z?"text-black":"text-slate-400",[i,s,f,z]);return e.jsxs("div",{className:o("w-full",I),ref:w,children:[t&&e.jsxs("label",{htmlFor:v,className:o("mb-2 block text-base font-medium",s?"text-red-600":"text-slate-700",X.label),children:[t,C&&e.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),e.jsxs("div",{ref:_,className:"relative",onKeyDown:S,children:[e.jsxs("div",{role:"combobox","aria-expanded":f,"aria-haspopup":"listbox","aria-controls":`${v}-listbox`,"aria-disabled":i,tabIndex:i?-1:0,onClick:$,className:o("flex w-full items-center border font-normal transition-all duration-300 ease-in-out",c==="base"?"rounded-xl":"rounded-lg",X.container,l?p==="left"?X.iconPaddingLeft:X.iconPaddingRight:X.padding,J,!i&&z&&"shadow-blue border-blue-600"),children:[l&&e.jsx("div",{className:o("absolute top-1/2 -translate-y-1/2 pointer-events-none transition-colors duration-300",p==="left"?X.iconWrapper:X.rightIconWrapper,ie),children:l}),u&&f?e.jsx("input",{ref:H,type:"text",value:E,onChange:W=>Z(W.target.value),placeholder:n,className:"w-full bg-transparent outline-none",onClick:W=>W.stopPropagation()}):e.jsx("span",{className:o("block truncate select-none",!ee&&!i&&"text-slate-400"),children:te?.label||n}),x&&ee&&!i&&e.jsx("button",{type:"button",onClick:q,className:o("absolute top-1/2 -translate-y-1/2 text-slate-400 hover:text-black transition-colors cursor-pointer",l&&p==="left"?"right-8":"right-10"),"aria-label":"Очистить",children:e.jsx(ce,{className:X.iconSize})}),e.jsx("div",{className:o("absolute top-1/2 right-3 -translate-y-1/2 pointer-events-none transition-all duration-300",f&&"rotate-180",ie),children:e.jsx(T.AltArrowDown,{className:X.iconSize})})]}),f&&!i&&e.jsx("div",{id:`${v}-listbox`,role:"listbox",className:o("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",X.dropdown),children:re.length===0?e.jsx("div",{className:"px-3 py-2 text-center text-base font-normal text-slate-500",children:"Ничего не найдено"}):re.map(W=>e.jsx("div",{role:"option","aria-selected":K===W.value,onClick:()=>P(W.value),className:o("cursor-pointer px-3 py-2 font-normal transition-colors hover:bg-slate-100 rounded-sm",K===W.value?"bg-slate-100":""),children:W.label},W.value))})]}),s&&e.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-sm font-normal text-red-600",children:s})]})});Ce.displayName="MciSelect";function qe({columns:t,data:n=[],loading:r=!1,skeletonRows:l=5,noDataText:p="",sort:c,onSortChange:s,className:i,headerClassName:C,bodyClassName:y,rowKey:N="id",rowSelection:M}){const[L,I]=a.useState(null),x=c??L,u=a.useMemo(()=>Array.isArray(n)?n:[],[n]),d=a.useMemo(()=>!x||c?u:[...u].sort((h,E)=>{const j=h[x.key],B=E[x.key];return j==null?1:B==null?-1:j<B?x.direction==="asc"?-1:1:j>B?x.direction==="asc"?1:-1:0}),[u,x,c]),v=h=>{if(!h.sortable)return;let E=null;x?.key!==h.key?E={key:h.key,direction:"asc"}:x.direction==="asc"&&(E={key:h.key,direction:"desc"}),c!==void 0?s?.(E):I(E)};a.useEffect(()=>{c!==void 0&&I(null)},[c]);const w=r?[]:c?u:d,f=h=>{if(!M)return;const{onChange:E,getCheckboxProps:j}=M;if(h.target.checked){const _=w.filter(H=>!j?.(H)?.disabled).map(H=>H[N]);E(_)}else E([])},m=(h,E)=>{if(!M)return;const{selectedRowKeys:j,onChange:B}=M,U=h[N],_=E?[...j,U]:j.filter(H=>H!==U);B(_)},z=a.useMemo(()=>{if(!M||w.length===0)return!1;const h=w.filter(E=>!M.getCheckboxProps?.(E)?.disabled);return h.length===0?!1:h.every(E=>M.selectedRowKeys.includes(E[N]))},[M,w,N]),D=h=>h.sortable?!x||x.key!==h.key?e.jsx(T.SortVertical,{weight:"Linear",size:20,className:"text-slate-base"}):x.direction==="asc"?e.jsx(T.SortFromTopToBottom,{weight:"Linear",size:20,className:"text-slate-base"}):e.jsx(T.SortFromBottomToTop,{weight:"Linear",size:20,className:"text-slate-base"}):null,F=()=>e.jsxs("colgroup",{children:[M&&e.jsx("col",{style:{width:48}}),t.map(h=>e.jsx("col",{style:{width:h.width||"auto"}},h.key))]});return e.jsx("div",{className:o("w-full overflow-x-auto","pb-0.5","[&::-webkit-scrollbar]:h-1","[&::-webkit-scrollbar-track]:bg-transparent","[&::-webkit-scrollbar-thumb]:bg-slate-200","[&::-webkit-scrollbar-thumb]:rounded-full","[&::-webkit-scrollbar-thumb]:border","[&::-webkit-scrollbar-thumb]:border-transparent","[&::-webkit-scrollbar-thumb]:bg-clip-padding-box","hover:[&::-webkit-scrollbar-thumb]:bg-slate-300",i),children:e.jsxs("div",{className:"inline-block min-w-full align-middle",children:[e.jsx("div",{className:"overflow-hidden rounded-xl border border-slate-200 bg-slate-100",children:e.jsxs("table",{className:"w-full table-fixed",children:[F(),e.jsx("thead",{children:e.jsxs("tr",{children:[M&&e.jsx("th",{className:o("w-12 px-4 py-3",C),children:e.jsx("div",{className:"flex items-center justify-center",children:e.jsx(de,{checked:z,onChange:f,variant:"yellow",disabled:r||w.length===0})})}),t.map(h=>e.jsx("th",{onClick:()=>v(h),className:o("px-4 py-3 text-left text-sm font-medium text-slate-700 transition-colors",h.align==="center"&&"text-center",h.align==="right"&&"text-right",h.sortable&&"cursor-pointer hover:bg-slate-200",C),children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"min-w-0 flex-1 truncate",title:h.title,children:h.title}),D(h)]})},h.key))]})})]})}),e.jsx("div",{className:"rounded-xl border border-t-0 border-slate-200 bg-white overflow-hidden",children:e.jsxs("table",{className:"w-full table-fixed",children:[F(),e.jsx("tbody",{className:"divide-y divide-slate-200",children:r?Array.from({length:l}).map((h,E)=>e.jsxs("tr",{children:[M&&e.jsx("td",{className:"w-12 px-4 py-3",children:e.jsx(xe,{height:20,width:20,variant:"rounded"})}),t.map(j=>e.jsx("td",{className:"px-4 py-3",children:e.jsx(xe,{height:30,variant:"rounded"})},j.key))]},E)):w.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:t.length+(M?1:0),className:"py-20",children:e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx("div",{className:"relative mb-4",children:e.jsx(T.ConfoundedSquare,{weight:"Bold",size:64,className:"animate-float text-slate-400"})}),e.jsx("p",{className:"text-sm font-medium text-slate-400",children:p})]})})}):w.map((h,E)=>{const j=h[N],B=M?.selectedRowKeys.includes(j),U=M?.getCheckboxProps?.(h)?.disabled;return e.jsxs("tr",{className:o("group transition-colors hover:bg-slate-50"),children:[M&&e.jsx("td",{className:o("w-12 px-4 py-3 align-top",y),children:e.jsx("div",{className:"flex items-center justify-center pt-1",children:e.jsx(de,{checked:B,disabled:U,variant:"yellow",onChange:_=>m(h,_.target.checked)})})}),t.map(_=>{const H=h[_.key];return e.jsx("td",{className:o("align-top px-4 py-3 text-sm font-normal text-black",_.align==="center"&&"text-center",_.align==="right"&&"text-right",y,_.className),children:e.jsx("div",{className:"min-w-0 break-words whitespace-normal",style:{overflowWrap:"break-word"},children:_.render?_.render(H,h):String(H??"-")})},_.key)})]},E)})})]})})]})})}const Ze={uz:{dragAndDrop:"Faylni bu yerga torting",clickToUpload:"yoki bosib tanlang",or:"yoki",dropHereTitle:"Faylni shu yerga yuklang",fileRequirements:(t,n,r,l)=>`${t?`Maksimum ${n} ta fayl`:"1 ta fayl"} • ${r}MB gacha • ${l!=="*/*"?`Format: ${l}`:"Barcha formatlar"}`,selectedFiles:"Tanlangan fayllar",clearAll:"Barchasini o‘chirish",uploading:"Yuklanmoqda...",success:"Yuklandi",error:"Xatolik",preview:"Ko‘rish",download:"Yuklab olish",remove:"O‘chirish",maxFilesError:t=>`Maksimum ${t} ta fayl yuklash mumkin`,fileSizeError:(t,n)=>`"${t}" fayl hajmi ${n}MB dan kichik bo‘lishi kerak`,fileTypeError:t=>`"${t}" fayl turi qabul qilinmaydi`,uploadFailed:"Yuklash muvaffaqiyatsiz tugadi",file:"Fayl",image:"Rasm",video:"Video",audio:"Audio",document:"Hujjat"},ru:{dragAndDrop:"Перетащите файл сюда",clickToUpload:"или выберите нажатием",or:"или",dropHereTitle:"Загрузите свой файл сюда",fileRequirements:(t,n,r,l)=>`${t?`Максимум ${n} файлов`:"1 файл"} • До ${r}MB • ${l!=="*/*"?`Формат: ${l}`:"Все форматы"}`,selectedFiles:"Выбранные файлы",clearAll:"Очистить все",uploading:"Загружается...",success:"Загружено",error:"Ошибка",preview:"Просмотр",download:"Скачать",remove:"Удалить",maxFilesError:t=>`Можно загрузить максимум ${t} файлов`,fileSizeError:(t,n)=>`Размер файла "${t}" должен быть меньше ${n}MB`,fileTypeError:t=>`Тип файла "${t}" не поддерживается`,uploadFailed:"Не удалось загрузить файл",file:"Файл",image:"Изображение",video:"Видео",audio:"Аудио",document:"Документ"},en:{dragAndDrop:"Drag and drop a file here",clickToUpload:"or click to select",or:"or",dropHereTitle:"Upload your file here",fileRequirements:(t,n,r,l)=>`${t?`Up to ${n} files`:"1 file"} • Up to ${r}MB • ${l!=="*/*"?`Format: ${l}`:"All formats"}`,selectedFiles:"Selected files",clearAll:"Clear all",uploading:"Uploading...",success:"Uploaded",error:"Error",preview:"Preview",download:"Download",remove:"Remove",maxFilesError:t=>`You can upload up to ${t} files`,fileSizeError:(t,n)=>`File "${t}" must be smaller than ${n}MB`,fileTypeError:t=>`File type "${t}" is not supported`,uploadFailed:"Upload failed",file:"File",image:"Image",video:"Video",audio:"Audio",document:"Document"}},Ke=({multiple:t=!1,accept:n="*/*",maxSize:r=10,maxFiles:l=5,disabled:p=!1,label:c,required:s=!1,error:i,className:C,onFilesChange:y,onUpload:N,showPreview:M=!0,locale:L="uz",showFileTypeIcon:I=!0,variant:x="yellow",customValidator:u})=>{const[d,v]=a.useState([]),[w,f]=a.useState(!1),[m,z]=a.useState(!1),D=a.useRef(null),F=Ze[L],h=x==="blue"?{dropBorder:"border-blue-200 hover:border-blue-300",dropBg:"bg-blue-50/40 hover:bg-blue-50/60",dropActive:"border-blue-600 bg-blue-50",iconWrap:"text-blue-600",title:"text-blue-600",hint:"text-slate-500",progressFill:"bg-blue-600",fileIconImg:"bg-blue-50 text-blue-600",fileIconDoc:"bg-green-50 text-green-600"}:{dropBorder:"border-yellow-200 hover:border-yellow-300",dropBg:"bg-yellow-50/40 hover:bg-yellow-50/60",dropActive:"border-yellow-500 bg-yellow-50",iconWrap:"text-yellow-700",title:"text-yellow-700",hint:"text-slate-500",progressFill:"bg-yellow-600",fileIconImg:"bg-blue-50 text-blue-600",fileIconDoc:"bg-green-50 text-green-600"},E=k=>{switch(k.type.split("/")[0]){case"image":return e.jsx(T.Gallery,{className:"h-5 w-5 text-blue-500"});case"video":return e.jsx(T.VideoFramePlayHorizontal,{className:"h-5 w-5 text-purple-500"});case"audio":return e.jsx(T.MusicNote,{className:"h-5 w-5 text-green-500"});default:return k.type.includes("pdf")?e.jsx(T.FileText,{className:"h-5 w-5 text-red-500"}):k.type.includes("word")||k.type.includes("document")?e.jsx(T.FileText,{className:"h-5 w-5 text-blue-600"}):k.type.includes("excel")||k.type.includes("spreadsheet")?e.jsx(T.FileText,{className:"h-5 w-5 text-green-600"}):e.jsx(T.File,{className:"h-5 w-5 text-gray-500"})}},j=k=>{if(k===0)return"0 Bytes";const S=1024,$=["Bytes","KB","MB","GB"],P=Math.floor(Math.log(k)/Math.log(S));return parseFloat((k/Math.pow(S,P)).toFixed(2))+" "+$[P]},B=k=>{const S=r*1024*1024;return k.size<=S},U=k=>n==="*/*"?!0:n.split(",").map($=>$.trim()).some($=>{if($.endsWith("/*")){const P=$.replace("/*","");return k.type.startsWith(P)}return k.type===$||k.name.toLowerCase().endsWith($.replace("*.","."))}),_=k=>new Promise(S=>{if(k.type.startsWith("image/")){const $=new FileReader;$.onload=P=>S(P.target?.result),$.readAsDataURL(k)}else S("")}),H=a.useCallback(async k=>{const S=Array.from(k),$=[];for(const P of S){if(d.length+$.length>=l){alert(F.maxFilesError(l));break}if(!B(P)){alert(F.fileSizeError(P.name,r));continue}if(!U(P)){alert(F.fileTypeError(P.name));continue}if(u){const ie=u(P);if(ie){alert(ie);continue}}const q=await _(P),Z=N?"uploading":"success",J=N?0:100;$.push({id:Math.random().toString(36).substr(2,9),file:P,preview:q,progress:J,status:Z})}if($.length>0){const P=t?[...d,...$]:$;if(v(P),y?.(P.map(q=>q.file)),N){z(!0);try{const q=P.map((Z,J)=>({...Z,progress:Math.min(100,(J+1)/P.length*100)}));v(q),await N(q),v(Z=>Z.map(J=>({...J,status:"success",progress:100})))}catch(q){v(Z=>Z.map(J=>({...J,status:"error",error:q instanceof Error?q.message:F.uploadFailed})))}finally{z(!1)}}}},[d,l,B,U,u,F,r,t,y,N]),K=a.useCallback(k=>{k.preventDefault(),p||f(!0)},[p]),te=a.useCallback(k=>{k.preventDefault(),f(!1)},[]),ee=a.useCallback(k=>{if(k.preventDefault(),f(!1),p)return;const S=k.dataTransfer.files;S.length>0&&H(S)},[p,H]),X=a.useCallback(k=>{const S=k.target.files;S&&S.length>0&&(H(S),D.current&&(D.current.value=""))},[H]),re=a.useCallback(k=>{v(S=>{const $=S.filter(P=>P.id!==k);return y?.($.map(P=>P.file)),$})},[y]),le=a.useCallback(()=>{v([]),y?.([])},[y]),Q=a.useCallback(()=>{D.current?.click()},[]);return e.jsxs("div",{className:o("w-full",C),children:[c&&e.jsxs("label",{className:o("mb-2 block text-base font-medium",i?"text-red-600":"text-slate-700"),children:[c,s&&e.jsx("span",{className:"ml-1 text-extra-small text-red-600",children:"*"})]}),e.jsxs("div",{className:o("group relative flex min-h-[180px] w-full cursor-pointer items-center justify-center rounded-2xl border border-dashed p-6 text-center transition-all duration-300",h.dropBorder,h.dropBg,w&&h.dropActive,p&&"cursor-not-allowed opacity-60",i&&"border-red-600 bg-red-50/30"),onDragOver:K,onDragLeave:te,onDrop:ee,onClick:Q,children:[e.jsx("input",{ref:D,type:"file",multiple:t,accept:n,onChange:X,disabled:p,className:"hidden"}),e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[e.jsx("div",{className:o("flex h-12 w-12 items-center justify-center rounded-xl",h.iconWrap),children:e.jsx(T.Upload,{size:20})}),e.jsx("p",{className:o("text-base font-medium",h.title),children:F.dropHereTitle}),e.jsx("p",{className:o("text-sm font-normal",h.hint),children:F.fileRequirements(t,l,r,n)})]})]}),d.length>0&&e.jsxs("div",{className:"mt-4 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"text-sm font-medium text-slate-700",children:[F.selectedFiles," (",d.length,")"]}),d.length>1&&e.jsx("button",{type:"button",onClick:le,disabled:p||m,className:"text-sm font-medium text-red-600 disabled:opacity-50",children:F.clearAll})]}),e.jsx("div",{className:"space-y-3",children:d.map(k=>{const $=!!k.preview?h.fileIconImg:h.fileIconDoc;return e.jsxs("div",{className:o("flex items-center justify-between rounded-2xl border border-slate-200 p-4",k.status==="error"&&"border-red-600"),children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-4",children:[e.jsx("div",{className:o("flex h-14 w-14 items-center justify-center rounded-2xl",$),children:M&&k.preview?e.jsx("img",{src:k.preview,alt:k.file.name,className:"h-10 w-10 rounded-xl object-cover"}):I?E(k.file):e.jsx(T.File,{className:"h-6 w-6 text-slate-500"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate text-lg font-semibold text-primary",children:k.file.name}),e.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-2 text-sm text-slate-500",children:[e.jsx("span",{children:j(k.file.size)}),k.status==="uploading"&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"•"}),e.jsxs("span",{className:"inline-flex items-center",children:[e.jsx(T.Star2,{className:"mr-1 h-5 w-5 animate-spin"}),F.uploading]})]}),k.status==="success"&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"•"}),e.jsx("span",{className:"font-normal text-green-600",children:F.success})]})]}),k.status==="uploading"&&e.jsx("div",{className:o("mt-2 h-1.5 w-full rounded-full bg-slate-200"),children:e.jsx("div",{className:o("h-1.5 rounded-full transition-all duration-300",h.progressFill),style:{width:`${k.progress}%`}})}),k.status==="error"&&k.error&&e.jsx("p",{className:"mt-2 text-sm font-normal text-red-600",children:k.error})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("button",{type:"button",onClick:P=>P.stopPropagation(),className:"rounded-xl p-2 hover:bg-slate-100 hover:cursor-pointer",title:F.preview,children:e.jsx(T.Eye,{size:20,className:"text-slate-400"})}),e.jsx("button",{type:"button",onClick:P=>P.stopPropagation(),className:"rounded-xl p-2 hover:bg-slate-100 hover:cursor-pointer",title:F.download,children:e.jsx(T.Download,{size:20,className:"text-slate-400"})}),e.jsx("button",{type:"button",onClick:P=>{P.stopPropagation(),re(k.id)},disabled:p||m,className:"rounded-xl p-2 text-slate-base hover:bg-slate-100 disabled:opacity-50 hover:cursor-pointer",title:F.remove,children:e.jsx(ce,{className:"h-6 w-6"})})]})]},k.id)})})]}),i&&e.jsx("p",{className:"mt-2 text-sm font-normal text-red-600",children:i})]})};function Je({show:t,setShow:n,title:r,description:l,Header:p,Body:c,footer:s,handleClickOutside:i=!1}){const C=a.useRef(null),{handleEscape:y}=me(()=>n(!1));a.useEffect(()=>(t?(document.addEventListener("keydown",y),document.body.style.overflow="hidden"):document.body.style.overflow="unset",()=>document.removeEventListener("keydown",y)),[t,y]);const{handleClick:N}=he(C,()=>{i&&n(!1)});return a.useEffect(()=>(t&&i&&document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)),[t,N,i]),e.jsx("div",{className:o("bg-black/40 fixed inset-0 z-50 flex items-center justify-center transition-all duration-500 ease-in-out",t?"opacity-100":"pointer-events-none opacity-0"),children:e.jsxs("div",{ref:C,className:o("relative bg-white w-full max-w-[720px] rounded-2xl","transform transition-all duration-500 ease-out",t?"scale-100 opacity-100":"scale-90 opacity-0"),children:[(p||r||l)&&e.jsxs("div",{className:"border-b border-slate-200 flex items-start justify-between p-6 mb-4",children:[p||e.jsxs("div",{className:"block",children:[e.jsx("h2",{className:"text-h3 font-semibold text-black",children:r}),l&&e.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:l})]}),e.jsx("button",{onClick:()=>n(!1),className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group",children:e.jsx(ce,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),c&&e.jsx("div",{className:"scrollbar-thin scrollbar-thumb-slate-200 max-h-96 px-6 overflow-y-auto mb-2",children:c}),s&&e.jsx("div",{className:"flex items-center justify-end gap-3 border-t border-slate-200 p-6",children:s})]})})}function Ge({totalItems:t,currentPage:n,perPage:r,onPageChange:l,onPerPageChange:p,siblingCount:c=1,perPageOptions:s=[10,30,50,100],showPerPage:i=!0,variant:C="yellow",size:y="large",paginationClassName:N}){const M=Number.isFinite(t)&&t>0?t:0,L=Number.isFinite(r)&&r>0?r:10,I=Math.max(1,Number.isFinite(n)?n:1),x=Math.ceil(M/L);if(x<=1||M===0)return null;const d=(()=>{const f=[],m=c*2+5;if(x<=m)return Array.from({length:x},(F,h)=>h+1);const z=Math.max(I-c,2),D=Math.min(I+c,x-1);f.push(1),z>2&&f.push("...");for(let F=z;F<=D;F++)f.push(F);return D<x-1&&f.push("..."),x>1&&f.push(x),f})(),v={medium:"h-9 text-sm",large:"h-10 text-base"}[y],w={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"}}[C??"yellow"];return e.jsxs("div",{className:o("flex items-center justify-between gap-4 w-full",N),children:[i&&p&&e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"whitespace-nowrap text-extra-small text-slate-base font-normal",children:"Строк на странице:"}),e.jsxs("div",{className:"relative",children:[e.jsx("select",{value:L,onChange:f=>p(Number(f.target.value)),className:o("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",y==="large"?"h-10":"h-9"),"aria-label":"Количество строк на странице",children:s.map(f=>e.jsx("option",{value:f,children:f},f))}),e.jsx(T.AltArrowDown,{className:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-slate-400",weight:"Linear",size:20})]})]}),e.jsxs("nav",{"aria-label":"Пагинация",className:"flex items-center gap-1 shrink-0 whitespace-nowrap",children:[e.jsx("button",{onClick:()=>l(I-1),disabled:I===1,"aria-label":"Предыдущая страница",className:o("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",v,I===1?o("cursor-not-allowed opacity-50",w.disabled):o("hover:cursor-pointer",w.arrow,"border-slate-200")),children:e.jsx(T.AltArrowLeft,{weight:"Linear",size:20})}),e.jsx("div",{className:"flex items-center gap-1",children:d.map((f,m)=>{if(f==="...")return e.jsx("span",{className:o("flex items-center justify-center text-black font-medium min-w-10",v),"aria-hidden":"true",children:e.jsx(T.MenuDots,{weight:"Bold",size:20})},m);const z=f===I;return e.jsx("button",{onClick:()=>l(f),"aria-label":`Страница ${f}${z?", текущая":""}`,"aria-current":z?"page":void 0,className:o("flex items-center justify-center rounded-lg border font-medium transition-all hover:cursor-pointer min-w-10 px-2",v,z?w.active:w.inactive),children:f},m)})}),e.jsx("button",{onClick:()=>l(I+1),disabled:I===x,"aria-label":"Следующая страница",className:o("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",v,I===x?o("cursor-not-allowed opacity-50",w.disabled):o("hover:cursor-pointer",w.arrow,"border-slate-200")),children:e.jsx(T.AltArrowRight,{size:20,weight:"Linear"})})]})]})}function xe({className:t,variant:n="default",width:r="100%",height:l="1rem"}){return e.jsx("div",{className:o("relative overflow-hidden bg-slate-200","rounded-lg",n==="circle"&&"rounded-full",n==="rounded"&&"rounded-md",t),style:{width:typeof r=="number"?`${r}px`:r,height:typeof l=="number"?`${l}px`:l},children:e.jsx("div",{className:"shimmer-mask absolute inset-0"})})}function Xe({tabs:t,defaultTab:n,position:r="top",className:l,tabListClassName:p,contentClassName:c,extra:s,onChange:i}){const[C,y]=a.useState(n||t[0]?.id),[N,M]=a.useState({}),L=a.useRef([]),I=()=>{requestAnimationFrame(()=>{const w=t.findIndex(m=>m?.id===C),f=L.current[w];if(f){const{offsetLeft:m,offsetTop:z,offsetWidth:D,offsetHeight:F}=f;M({left:`${m}px`,top:`${z}px`,width:`${D}px`,height:`${F}px`,transition:"all 0.35s cubic-bezier(0.25, 1, 0.5, 1)"})}})};a.useEffect(()=>(I(),window.addEventListener("resize",I),"fonts"in document&&document.fonts.ready.then(I),()=>window.removeEventListener("resize",I)),[C,r,t]),a.useEffect(()=>{L.current=L.current.slice(0,t.length)},[t]);const x=r==="left"||r==="right",u={top:"flex-col",bottom:"flex-col-reverse",left:"flex-row",right:"flex-row-reverse"},d={top:"flex-row",bottom:"flex-row",left:"flex-col",right:"flex-col"},v={top:"mt-4",bottom:"mb-4",left:"ml-4",right:"mr-4"};return e.jsxs("div",{className:o("flex w-full",u[r],l),children:[e.jsxs("div",{className:o("flex w-full gap-4",x?"flex-col items-start":"flex-row flex-wrap items-center"),children:[e.jsx("div",{className:o("flex-1",x?"w-full":"min-w-[520px]"),children:e.jsxs("div",{className:o("relative flex rounded-xl bg-slate-100 p-1",d[r],!x&&"w-full overflow-x-auto overflow-y-hidden no-scrollbar scroll-smooth",x?"min-w-48":"",p),children:[e.jsx("div",{className:o("absolute rounded-lg bg-white",x?"w-full":"h-full"),style:N}),t?.map((w,f)=>{const m=C===w.id;return e.jsxs("button",{ref:z=>{L.current[f]=z},onClick:()=>{w.disabled||(y(w.id),i?.(w.id))},disabled:w.disabled,className:o("relative z-10 flex items-center justify-center whitespace-nowrap px-3 py-2 text-base font-normal text-black transition-colors duration-300",w.disabled&&"cursor-not-allowed opacity-50",x?"w-full justify-start":"flex-none"),children:[w.icon&&e.jsx("span",{className:o("shrink-0 transition-transform duration-200",m&&"scale-110"),children:w.icon}),e.jsx("span",{className:"relative z-10",title:w.label,children:w.label})]},w.id)})]})}),s&&e.jsx("div",{className:o("shrink-0 ml-auto",x?"w-full":"max-w-full"),children:e.jsx("div",{className:"flex flex-wrap items-center justify-end gap-2",children:s})})]}),e.jsx("div",{className:o("w-full flex-1 overflow-hidden",v[r],c),children:e.jsx("div",{className:"animate-fade-in w-full",style:{animationDuration:"0.35s"},children:t?.find(w=>w.id===C)?.content},C)})]})}const Qe={sm:"px-2 py-0.5",md:"px-2 py-1",lg:"px-3 py-2"},Me={sm:"w-3 h-3",md:"w-3 h-3",lg:"w-3 h-3"},Re={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 et({children:t,variant:n="success",size:r="lg",icon:l,iconPosition:p="left",className:c}){return e.jsxs("span",{className:o("inline-flex animate-[fadeIn_0.3s_ease-out] items-center rounded-lg text-extra-small font-medium",Qe[r],Re[n],l&&"gap-[2px]",c),children:[l&&p==="left"&&e.jsx("span",{className:`flex items-center ${o(Me[r])}`,children:l}),e.jsx("span",{children:t}),l&&p==="right"&&e.jsx("span",{className:`flex items-center ${o(Me[r])}`,children:l})]})}const Se=a.forwardRef(({label:t,placeholder:n,value:r="",onChange:l,required:p=!1,disabled:c=!1,error:s,className:i,rows:C=4,name:y},N)=>{const M=a.useMemo(()=>s?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[s]);return e.jsxs("div",{className:o("relative w-full",i),children:[t&&e.jsxs("label",{className:o("mb-2 block text-base font-medium",s?"text-red-600":"text-slate-700"),children:[t,p&&e.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),e.jsx("textarea",{ref:N,name:y,rows:C,value:r,onChange:L=>l?.(L.target.value),disabled:c,placeholder:n,className:o("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",M)}),s&&e.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-sm font-normal text-red-600",children:s})]})});Se.displayName="MciTextarea";const tt=(()=>{let t=document.getElementById("mci-toast-container");return t||(t=document.createElement("div"),t.id="mci-toast-container",t.className="fixed top-4 right-4 z-[9999] flex flex-col gap-3 pointer-events-none",document.body.appendChild(t)),t})();let ye=null,rt=0;const pe=[],De=()=>{ye||(ye=$e.createRoot(tt)),ye.render(e.jsx("div",{className:"flex flex-col gap-3",children:pe.map(({id:t,element:n})=>e.jsx("div",{className:"pointer-events-auto",children:n},t))}))};function at({title:t,description:n,type:r="info",duration:l=3e3,action:p,onClose:c}){const[s,i]=a.useState(100);a.useEffect(()=>{if(l===1/0){i(100);return}let N=null;const M=I=>{N||(N=I);const x=I-N,u=Math.max(0,(l-x)/l*100);i(u),u>0?requestAnimationFrame(M):c?.()},L=requestAnimationFrame(M);return()=>cancelAnimationFrame(L)},[l,c]);const C={success:e.jsx(T.CheckCircle,{weight:"Bold",className:"w-5 h-5"}),error:e.jsx(T.CloseCircle,{weight:"Bold",className:"w-5 h-5"}),warning:e.jsx(T.DangerCircle,{weight:"Bold",className:"w-5 h-5"}),info:e.jsx(T.InfoCircle,{weight:"Bold",className:"w-5 h-5"}),loading:e.jsx(T.Refresh,{weight:"Bold",className:"w-5 h-5 animate-spin"})},y={bg:{success:"bg-green-50",error:"bg-red-50",warning:"bg-orange-50",info:"bg-blue-50",loading:"bg-slate-50"},line:{success:"bg-green-600",error:"bg-red-600",warning:"bg-orange-600",info:"bg-blue-600",loading:"bg-slate-600"},text:{success:"text-green-600",error:"text-red-600",warning:"text-orange-600",info:"text-blue-600",loading:"text-slate-600"},action:{success:"text-green-600",error:"text-red-600",warning:"text-orange-600",info:"text-blue-600",loading:"text-slate-600"}};return e.jsxs("div",{className:o("relative w-[300px] max-w-full overflow-hidden shadow-md rounded-lg","animate-in fade-in slide-in-from-top-2 duration-300",y.bg[r]),children:[e.jsx("div",{className:o("absolute bottom-0 left-0 h-1",y.line[r]),style:{width:`${s}%`,transition:"none"}}),e.jsx("div",{className:"p-4",children:e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:o("flex-shrink-0",y.text[r]),children:C[r]}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("h4",{className:"text-base font-medium mb-1",children:t}),n&&e.jsx("p",{className:"text-sm text-[#82828C]",children:n}),p&&e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:o("underline font-medium text-sm",y.action[r]),children:p})})]}),e.jsx("button",{onClick:c,className:"flex-shrink-0 rounded-full transition cursor-pointer active:animate-spin",children:e.jsx(ce,{className:"w-6 h-6 text-slate-base"})})]})})]})}const ue=t=>{const n=rt++,r=()=>{const p=pe.findIndex(c=>c?.id===n);p!==-1&&(pe.splice(p,1),De())},l=e.jsx(at,{...t,onClose:r});return pe.push({id:n,element:l}),De(),t.duration!==1/0&&setTimeout(r,(t.duration||3e3)+300),{close:r}},ot={success:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"success",action:r}:{...t,type:"success"}),error:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"error",action:r}:{...t,type:"error"}),warning:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"warning",action:r}:{...t,type:"warning"}),info:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"info",action:r}:{...t,type:"info"}),loading:(t,n)=>ue(typeof t=="string"?{title:t,description:n,type:"loading",duration:1/0}:{...t,type:"loading",duration:1/0})};function lt({content:t,children:n,position:r="top",delay:l=200,className:p}){const c={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},s={top:"left-1/2 -translate-x-1/2 top-full",bottom:"left-1/2 -translate-x-1/2 bottom-full",left:"top-1/2 -translate-y-1/2 left-full",right:"top-1/2 -translate-y-1/2 right-full"};return e.jsxs("div",{className:"group relative inline-block",children:[n,e.jsxs("div",{className:o("absolute z-50 rounded-md bg-slate-400 px-2 py-1 text-xs whitespace-nowrap text-white shadow-md","scale-95 opacity-0 transition-all group-hover:scale-100 group-hover:opacity-100","duration-200 ease-out group-hover:delay-200",c[r],p),style:{transitionDelay:`${l}ms`},children:[t,e.jsx("span",{className:o("absolute h-2 w-2 rotate-45 bg-slate-400",s[r])})]})]})}function nt({checked:t=!1,onChange:n,disabled:r=!1,variant:l="yellow",label:p,supportText:c,className:s}){const i=()=>{r||n?.(!t)},C={blue:{active:"bg-blue-600",hover:"hover:bg-blue-600",focus:"focus:shadow-blue"},yellow:{active:"bg-yellow-500",hover:"hover:bg-yellow-500",focus:"focus:ring-2 focus:ring-yellow-200"}};return e.jsxs("div",{className:o("flex items-start gap-3 select-none",s),children:[e.jsx("button",{type:"button",disabled:r,className:o("relative h-6 w-11 rounded-xl transition-all duration-300 outline-none cursor-pointer",t?C[l].active:"bg-slate-200",!r&&C[l].hover,!r&&C[l].focus,r&&"bg-slate-100 cursor-not-allowed"),onClick:i,children:e.jsx("span",{className:o("absolute top-1/2 left-0.5 h-5 w-5 -translate-y-1/2 rounded-full transition-all duration-300 bg-white",t&&"translate-x-5")})}),(p||c)&&e.jsxs("div",{className:"flex flex-col leading-tight",children:[p&&e.jsx("span",{className:o("text-base font-medium text-black"),children:p}),c&&e.jsx("span",{className:"text-sm font-normal text-slate-500",children:c})]})]})}const st=t=>G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 177 177",fill:"none",...t},G.createElement("path",{opacity:.083334,d:"M94.5 48.5C94.5 41.8726 91.8137 36.5 88.5 36.5C85.1863 36.5 82.5 41.8726 82.5 48.5C82.5 55.1274 85.1863 60.5 88.5 60.5C91.8137 60.5 94.5 55.1274 94.5 48.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.166667,d:"M113.697 56.8591C117.011 51.1196 117.371 45.1237 114.501 43.4668C111.631 41.8099 106.618 45.1196 103.305 50.8591C99.991 56.5986 99.6311 62.5946 102.501 64.2514C105.371 65.9083 110.383 62.5986 113.697 56.8591Z",fill:"currentColor"}),G.createElement("path",{opacity:.25,d:"M126.141 73.696C131.88 70.3823 135.19 65.3696 133.533 62.4999C131.876 59.6301 125.88 59.99 120.141 63.3037C114.401 66.6174 111.092 71.6301 112.749 74.4999C114.405 77.3696 120.401 77.0097 126.141 73.696Z",fill:"currentColor"}),G.createElement("path",{opacity:.333334,d:"M128.5 94.5C135.127 94.5 140.5 91.8137 140.5 88.5C140.5 85.1863 135.127 82.5 128.5 82.5C121.873 82.5 116.5 85.1863 116.5 88.5C116.5 91.8137 121.873 94.5 128.5 94.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.416667,d:"M120.141 113.696C125.88 117.01 131.876 117.37 133.533 114.5C135.19 111.63 131.88 106.617 126.141 103.304C120.401 99.99 114.405 99.6301 112.749 102.5C111.092 105.37 114.401 110.382 120.141 113.696Z",fill:"currentColor"}),G.createElement("path",{opacity:.5,d:"M103.303 126.141C106.617 131.88 111.629 135.19 114.499 133.533C117.369 131.876 117.009 125.88 113.695 120.141C110.382 114.401 105.369 111.092 102.499 112.749C99.6294 114.405 99.9893 120.401 103.303 126.141Z",fill:"currentColor"}),G.createElement("path",{opacity:.583334,d:"M82.5 128.5C82.5 135.127 85.1863 140.5 88.5 140.5C91.8137 140.5 94.5 135.127 94.5 128.5C94.5 121.873 91.8137 116.5 88.5 116.5C85.1863 116.5 82.5 121.873 82.5 128.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.666667,d:"M63.303 120.141C59.9893 125.88 59.6294 131.876 62.4992 133.533C65.3689 135.19 70.3816 131.88 73.6953 126.141C77.009 120.401 77.3689 114.405 74.4992 112.749C71.6294 111.092 66.6167 114.401 63.303 120.141Z",fill:"currentColor"}),G.createElement("path",{opacity:.75,d:"M50.8591 103.304C45.1196 106.618 41.8099 111.63 43.4668 114.5C45.1237 117.37 51.1196 117.01 56.8591 113.696C62.5986 110.383 65.9083 105.37 64.2514 102.5C62.5946 99.6304 56.5986 99.9903 50.8591 103.304Z",fill:"currentColor"}),G.createElement("path",{opacity:.833334,d:"M48.5 82.5C41.8726 82.5 36.5 85.1863 36.5 88.5C36.5 91.8137 41.8726 94.5 48.5 94.5C55.1274 94.5 60.5 91.8137 60.5 88.5C60.5 85.1863 55.1274 82.5 48.5 82.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.916667,d:"M56.8591 63.304C51.1196 59.9903 45.1237 59.6304 43.4668 62.5001C41.8099 65.3699 45.1196 70.3826 50.8591 73.6963C56.5986 77.01 62.5946 77.3699 64.2514 74.5001C65.9083 71.6304 62.5986 66.6177 56.8591 63.304Z",fill:"currentColor"}),G.createElement("path",{d:"M73.697 50.8591C70.3833 45.1196 65.3706 41.8099 62.5008 43.4668C59.6311 45.1237 59.991 51.1196 63.3047 56.8591C66.6184 62.5986 71.6311 65.9083 74.5008 64.2514C77.3706 62.5946 77.0107 56.5986 73.697 50.8591Z",fill:"currentColor"}));function it({className:t,size:n=150,iconClassName:r,isLoading:l=!1,isFullPage:p=!0}){return l?e.jsx("div",{className:o("z-[99px] flex flex-col items-center justify-center transition-all duration-300",p?"fixed inset-0 backdrop-blur-[2px]":"absolute inset-0 w-full h-full rounded-[inherit]",t),children:e.jsx(st,{width:n,height:n,className:o("animate-spin",!r&&"text-yellow-500",r),style:{fill:"currentColor",stroke:"currentColor"}})}):null}const Ae=a.forwardRef(({label:t,placeholder:n="+998 (__) ___ __ __",size:r="base",error:l,disabled:p=!1,required:c=!1,value:s="",onChange:i,onFocus:C,onBlur:y,className:N,name:M,showIcon:L=!1},I)=>{const[x,u]=a.useState(!1),d=a.useCallback(F=>{let h=F.replace(/\D/g,"");h.startsWith("998")||(h="998"+h),h=h.substring(0,12);let E="+998";return h.length>3&&(E+=" ("+h.substring(3,5)),h.length>5&&(E+=") "+h.substring(5,8)),h.length>8&&(E+=" "+h.substring(8,10)),h.length>10&&(E+=" "+h.substring(10,12)),E},[]),v=F=>{const h=F.target.value;if(h.length<5){i?.("+998");return}const E=d(h);i?.(E)},w=()=>{u(!0),(!s||s==="")&&i?.("+998"),C?.()},f=()=>{u(!1),y?.()},m=a.useMemo(()=>({sm:{input:"h-9 text-sm",padding:L?"pl-8 pr-2":"px-2",iconSize:"w-4 h-4",iconLeft:"left-2",labelFont:"text-sm",iconWrapper:"h-4"},md:{input:"h-10 text-sm",padding:L?"pl-10 pr-4":"px-4",iconSize:"w-4 h-4",iconLeft:"left-3",labelFont:"text-base",iconWrapper:"h-4"},base:{input:"h-12 text-base",padding:L?"pl-11 pr-4":"px-4",iconSize:"w-5 h-5",iconLeft:"left-3",labelFont:"text-base",iconWrapper:"h-5"}}),[L]),z=a.useMemo(()=>l?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[l]),D=a.useMemo(()=>p?"text-slate-400":l?"text-red-600":x?"text-black":"text-slate-400",[l,x,p]);return e.jsxs("div",{className:o("w-full",N),children:[t&&e.jsxs("label",{className:o("mb-2 block font-medium transition-colors duration-200",l?"text-red-600":x?"text-blue-600":"text-slate-700",m[r].labelFont),children:[t,c&&e.jsx("span",{className:"text-red-600 ml-1",children:"*"})]}),e.jsxs("div",{className:"relative flex items-center",children:[L&&e.jsx("div",{className:o("absolute top-1/2 flex -translate-y-1/2 items-center justify-center transition-all duration-300",m[r].iconLeft,D),children:e.jsx("div",{className:o("flex items-center justify-center",m[r].iconWrapper),children:e.jsx(T.Phone,{className:o(m[r].iconSize),weight:"Linear"})})}),e.jsx("input",{ref:I,name:M,type:"tel",value:s,onChange:v,onFocus:w,onBlur:f,disabled:p,placeholder:n,className:o("w-full border bg-white font-normal transition-all duration-300 outline-none",r==="base"?"rounded-xl":"rounded-lg","disabled:bg-slate-100 disabled:text-slate-400 disabled:cursor-not-allowed",m[r].input,m[r].padding,z)})]}),l&&e.jsx("p",{className:"mt-2 animate-slide-up text-sm font-normal text-red-600",children:l})]})});Ae.displayName="MciPhone";const Ee=a.forwardRef(({mode:t,onChange:n,value:r,...l},p)=>{const[c,s]=a.useState(""),i=r!==void 0?r:c,C=x=>{const u=x.replace(/\s/g,"").toUpperCase();let d="";for(let v=0;v<u.length;v++){const w=u[v];if(d.length<2?/[A-Z]/.test(w)&&(d+=w):/[0-9]/.test(w)&&(d+=w),d.length>=9)break}return d.length>2?d.slice(0,2)+" "+d.slice(2):d},y=x=>x.replace(/\D/g,"").slice(0,14),N=x=>x.toUpperCase().replace(/[^A-Z0-9\-\s]/g,"").replace(/\s+/g," ").slice(0,15),M=a.useCallback(x=>{const u=x.target.value;let d="";t==="passport"?d=C(u):t==="pinfl"?d=y(u):t==="metirka"&&(d=N(u)),r===void 0&&s(d),x.target.value=d,n?.(d,x)},[t,n,r]),L=()=>{if(l.placeholder)return l.placeholder;switch(t){case"passport":return"AA 1234567";case"pinfl":return"12345678901234";case"metirka":return"I-TN 1234567";default:return""}},I=()=>{if(l.maxLength)return l.maxLength;switch(t){case"passport":return 10;case"pinfl":return 14;case"metirka":return 15;default:return 255}};return e.jsx(ge,{ref:p,...l,value:i,onChange:M,maxLength:I(),placeholder:L()})});Ee.displayName="MciIdentityInput";function ct({open:t,onClose:n,columns:r,hidden:l,onToggle:p,onMove:c}){const s=a.useRef(null),{handleClick:i}=he(s,n);a.useEffect(()=>{if(t)return document.addEventListener("mousedown",i),()=>document.removeEventListener("mousedown",i)},[t,i]);const C=a.useMemo(()=>new Set(l),[l]),y=a.useRef(null),N=a.useRef(null),M=a.useRef(!1),[L,I]=a.useState(null),[x,u]=a.useState(null),d=a.useRef(null),v=a.useCallback(z=>{N.current=z,d.current==null&&(d.current=requestAnimationFrame(()=>{d.current=null,I(N.current)}))},[]);a.useEffect(()=>()=>{d.current!=null&&cancelAnimationFrame(d.current)},[]);const w=a.useCallback(z=>{M.current=!0,y.current=z,u(r[z]?.key??null)},[r]),f=a.useCallback(()=>{M.current=!1},[]);a.useEffect(()=>{if(t)return document.addEventListener("mouseup",f),()=>document.removeEventListener("mouseup",f)},[t,f]);const m=a.useCallback(()=>{y.current=null,M.current=!1,u(null),v(null)},[v]);return t?e.jsxs("div",{ref:s,className:o("absolute right-0 top-full z-50 mt-2 w-[320px]","rounded-2xl p-4 bg-white","border border-slate-200"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("h4",{className:"text-slate-600 text-large font-normal",children:"Settings"}),e.jsx("button",{type:"button",onClick:n,className:"rounded-lg px-2 py-1 text-slate-500 hover:bg-slate-100","aria-label":"Close",children:"✕"})]}),e.jsx("div",{className:"my-4 h-px bg-slate-100"}),e.jsx("div",{className:o("max-h-[275px] overflow-auto","[&::-webkit-scrollbar]:w-1.5","[&::-webkit-scrollbar-track]:bg-transparent","[&::-webkit-scrollbar-thumb]:bg-slate-200","[&::-webkit-scrollbar-thumb]:rounded-full","hover:[&::-webkit-scrollbar-thumb]:bg-slate-300"),children:r.map((z,D)=>{const F=!C.has(z.key),h=L===D,E=x===z.key;return e.jsxs("div",{children:[e.jsxs("div",{draggable:!0,onDragStart:j=>{if(!M.current){j.preventDefault();return}j.dataTransfer.setData("text/plain",String(D)),j.dataTransfer.effectAllowed="move",u(z.key),v(null);const B=new Image;B.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",j.dataTransfer.setDragImage(B,0,0)},onDragOver:j=>{y.current!=null&&(j.preventDefault(),j.dataTransfer.dropEffect="move",v(D))},onDragLeave:()=>{N.current===D&&v(null)},onDrop:j=>{j.preventDefault();const B=y.current??Number(j.dataTransfer.getData("text/plain"));Number.isFinite(B)&&B!==D&&c(B,D),m()},onDragEnd:m,className:o("group flex items-center py-2 px-1 gap-4","rounded-md box-border overflow-visible","transition-[background,transform] duration-150",!E&&!h&&"hover:bg-slate-50",h&&!E&&"bg-slate-50 ",E&&"bg-slate-50 opacity-100 scale-[0.99] cursor-grabbing"),children:[e.jsx("button",{type:"button",onMouseDown:()=>w(D),className:o("shrink-0 text-slate-400","cursor-grab active:cursor-grabbing","rounded-lg p-1 hover:bg-slate-100",E&&"cursor-grabbing"),"aria-label":"Drag",children:e.jsx(T.TransferVertical,{weight:"Linear",size:20})}),e.jsx("div",{className:"shrink-0",children:e.jsx(de,{checked:F,onChange:()=>p(z.key),variant:"blue"})}),e.jsx("div",{className:"min-w-0 flex-1",children:e.jsx("h4",{className:"truncate text-slate-700 text-base font-medium",title:z.title,children:z.title})})]}),D!==r.length-1&&e.jsx("div",{className:"mx-2 h-px bg-slate-100"})]},z.key)})})]}):null}const Fe=t=>Array.isArray(t)&&t.every(n=>typeof n=="string"),dt=t=>{if(!t)return null;try{const n=JSON.parse(t);if(typeof n!="object"||n===null)return null;const r=n;return!Fe(r.order)||!Fe(r.hidden)?null:{order:r.order,hidden:r.hidden}}catch{return null}},oe=t=>{const n=new Set,r=[];for(const l of t)n.has(l)||(n.add(l),r.push(l));return r};function ut(t){const{storageKey:n,columns:r,defaultVisibleKeys:l,defaultOrder:p}=t,c=a.useMemo(()=>r.map(u=>String(u.key)),[r]),s=a.useMemo(()=>new Set(c),[c]),[i,C]=a.useState(()=>{if(typeof window>"u"){const D=p?.map(String)??c,F=l&&l.length?c.filter(h=>!new Set(l.map(String)).has(h)):[];return{order:oe(D),hidden:oe(F)}}const u=dt(window.localStorage.getItem(n)),d=p?.map(String)??c,v=oe(d),w=oe((u?.order??[]).filter(D=>s.has(D))),f=oe([...w,...v.filter(D=>!w.includes(D)),...c.filter(D=>!w.includes(D)&&!v.includes(D))]),m=oe((u?.hidden??[]).filter(D=>s.has(D))),z=m.length===0&&l&&l.length?c.filter(D=>!new Set(l.map(String)).has(D)):m;return{order:f,hidden:oe(z)}});a.useEffect(()=>{if(!(typeof window>"u"))try{window.localStorage.setItem(n,JSON.stringify(i))}catch{}},[n,i]),a.useEffect(()=>{C(u=>{const d=oe([...u.order.filter(m=>s.has(m)),...c.filter(m=>!u.order.includes(m))]),v=oe(u.hidden.filter(m=>s.has(m))),w=d.length===u.order.length&&d.every((m,z)=>m===u.order[z]),f=v.length===u.hidden.length&&v.every((m,z)=>m===u.hidden[z]);return w&&f?u:{order:d,hidden:v}})},[c,s]);const y=a.useMemo(()=>new Set(i.hidden),[i.hidden]),N=a.useMemo(()=>{const u=new Map;return i.order.forEach((v,w)=>u.set(v,w)),[...r.filter(v=>!y.has(String(v.key)))].sort((v,w)=>{const f=u.get(String(v.key))??Number.MAX_SAFE_INTEGER,m=u.get(String(w.key))??Number.MAX_SAFE_INTEGER;return f-m})},[r,y,i.order]),M=a.useMemo(()=>i.hidden.filter(u=>s.has(u)),[i.hidden,s]),L=a.useCallback(u=>{const d=String(u);C(v=>{const f=v.hidden.includes(d)?v.hidden.filter(m=>m!==d):[...v.hidden,d];return{...v,hidden:oe(f)}})},[]),I=a.useCallback((u,d)=>{C(v=>{const w=v.order.slice();if(u<0||d<0||u>=w.length||d>=w.length)return v;const[f]=w.splice(u,1);return w.splice(d,0,f),{...v,order:w}})},[]),x=a.useCallback(()=>{C(()=>{const u=oe(p?.map(String)??c),d=l&&l.length?oe(c.filter(v=>!new Set(l.map(String)).has(v))):[];return{order:u,hidden:d}})},[p,l,c]);return{orderedColumns:N,hiddenKeys:M,toggleColumn:L,moveColumn:I,reset:x}}O.MciBreadcrumb=Be,O.MciButton=We,O.MciCheck=de,O.MciCollapse=Ye,O.MciDrawer=Ve,O.MciIdentityInput=Ee,O.MciInput=ge,O.MciLoader=it,O.MciModal=Je,O.MciPagination=Ge,O.MciPhone=Ae,O.MciPicker=Ne,O.MciSelect=Ce,O.MciSkeleton=xe,O.MciTable=qe,O.MciTableColumnsPanel=ct,O.MciTabs=Xe,O.MciTag=et,O.MciTextarea=Se,O.MciToast=ot,O.MciToggle=nt,O.MciTooltip=lt,O.MciUpload=Ke,O.useTableColumnSettings=ut,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(O,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react/jsx-runtime"),require("@solar-icons/react"),require("clsx"),require("tailwind-merge"),require("react"),require("react-dom/client")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@solar-icons/react","clsx","tailwind-merge","react","react-dom/client"],e):(O=typeof globalThis<"u"?globalThis:O||self,e(O.MciUi={},O.React,O.SolarIcons,O.clsx,O.tailwindMerge,O.React,O.ReactDOM))})(this,(function(O,e,T,Le,Te,a,$e){"use strict";var ke=document.createElement("style");ke.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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--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-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-300:#8ec5ff;--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-slate-800:#1d293d;--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:14px;--text-sm--line-height:20px;--text-base:16px;--text-base--line-height:24px;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--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-h3--line-height:40px;--text-large:18px;--text-large--line-height:28px;--text-extra-small:12px;--text-extra-small--line-height:16px;--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}.invisible{visibility:hidden}.visible{visibility:visible}.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\\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-6{top:calc(var(--spacing)*6)}.top-\\[calc\\(100\\%\\+4px\\)\\]{top:calc(100% + 4px)}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.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-\\[99px\\]{z-index:99px}.z-\\[100\\]{z-index:100}.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)}.my-4{margin-block:calc(var(--spacing)*4)}.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)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-4{margin-right:calc(var(--spacing)*4)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.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-14{height:calc(var(--spacing)*14)}.h-full{height:100%}.h-px{height:1px}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\\[275px\\]{max-height:275px}.min-h-\\[180px\\]{min-height:180px}.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-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-\\[300px\\]{width:300px}.w-\\[320px\\]{width:320px}.w-full{width:100%}.max-w-\\[720px\\]{max-width:720px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-9{min-width:calc(var(--spacing)*9)}.min-w-10{min-width:calc(var(--spacing)*10)}.min-w-12{min-width:calc(var(--spacing)*12)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\\[520px\\]{min-width:520px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.origin-top{transform-origin:top}.origin-top-left{transform-origin:0 0}.origin-top-right{transform-origin:100% 0}.-translate-x-1\\/2{--tw-translate-x: -50% ;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-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)}.scale-\\[0\\.99\\]{scale:.99}.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-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.\\[appearance\\:textfield\\]{appearance:textfield}.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}.flex-wrap{flex-wrap:wrap}.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-1\\.5{gap:calc(var(--spacing)*1.5)}.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-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)}.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-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[inherit\\]{border-radius:inherit}.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)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.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-blue-200{border-color:var(--color-blue-200)}.border-blue-600{border-color:var(--color-blue-600)}.border-red-600{border-color:var(--color-red-600)}.border-slate-100{border-color:var(--color-slate-100)}.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-transparent{border-color:#0000}.border-yellow-200{border-color:var(--color-yellow-200)}.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-50\\/40{background-color:#eff6ff66}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/40{background-color:color-mix(in oklab,var(--color-blue-50)40%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-600\\/30{background-color:#155dfc4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-600\\/30{background-color:color-mix(in oklab,var(--color-blue-600)30%,transparent)}}.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-50\\/30{background-color:#fef2f24d}@supports (color:color-mix(in lab,red,red)){.bg-red-50\\/30{background-color:color-mix(in oklab,var(--color-red-50)30%,transparent)}}.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-50\\/40{background-color:#fefce866}@supports (color:color-mix(in lab,red,red)){.bg-yellow-50\\/40{background-color:color-mix(in oklab,var(--color-yellow-50)40%,transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-600{background-color:var(--color-yellow-600)}.bg-yellow-600\\/25{background-color:#d0870040}@supports (color:color-mix(in lab,red,red)){.bg-yellow-600\\/25{background-color:color-mix(in oklab,var(--color-yellow-600)25%,transparent)}}.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))}.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-1{padding-inline:calc(var(--spacing)*1)}.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-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-20{padding-block:calc(var(--spacing)*20)}.pt-1{padding-top:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-7{padding-right:calc(var(--spacing)*7)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pb-0\\.5{padding-bottom:calc(var(--spacing)*.5)}.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)}.pl-11{padding-left:calc(var(--spacing)*11)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-extra-small{font-size:var(--text-extra-small);line-height:var(--tw-leading,var(--text-extra-small--line-height))}.text-h3{font-size:var(--text-h3);line-height:var(--tw-leading,var(--text-h3--line-height))}.text-large{font-size:var(--text-large);line-height:var(--tw-leading,var(--text-large--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--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-\\[11px\\]{font-size:11px}.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-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.break-words{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.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-300{color:var(--color-slate-300)}.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-800{color:var(--color-slate-800)}.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)}.text-yellow-700{color:var(--color-yellow-700)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-blue-200{--tw-shadow-color:#bedbff}@supports (color:color-mix(in lab,red,red)){.shadow-blue-200{--tw-shadow-color:color-mix(in oklab,var(--color-blue-200)var(--tw-shadow-alpha),transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.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-\\[background\\,transform\\]{transition-property:background,transform;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-150{--tw-duration:.15s;transition-duration:.15s}.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-300:hover{border-color:var(--color-blue-300)}.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-300:hover{border-color:var(--color-yellow-300)}.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-50\\/60:hover{background-color:#eff6ff99}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-50\\/60:hover{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)}}.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-50\\/60:hover{background-color:#fefce899}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-yellow-50\\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-50)60%,transparent)}}.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-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\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:animate-spin:active{animation:var(--animate-spin)}.active\\:cursor-grabbing:active{cursor:grabbing}.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}}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button{appearance:none}.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{appearance:none}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:h-1::-webkit-scrollbar{height:calc(var(--spacing)*1)}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:w-1\\.5::-webkit-scrollbar{width:calc(var(--spacing)*1.5)}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:rounded-full::-webkit-scrollbar-thumb{border-radius:3.40282e38px}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:border::-webkit-scrollbar-thumb{border-style:var(--tw-border-style);border-width:1px}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:border-transparent::-webkit-scrollbar-thumb{border-color:#0000}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-slate-200::-webkit-scrollbar-thumb{background-color:var(--color-slate-200)}@media (hover:hover){.hover\\:\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-slate-300:hover::-webkit-scrollbar-thumb{background-color:var(--color-slate-300)}}.\\[\\&\\:\\:-webkit-scrollbar-track\\]\\:bg-transparent::-webkit-scrollbar-track{background-color:#0000}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.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 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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(ke);function Pe(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const G=Pe(a);function o(...t){return Te.twMerge(Le.clsx(t))}function me(t){return{handleEscape:r=>{r.key==="Escape"&&t()}}}function he(t,n){return{handleClick:l=>{t.current&&!t.current.contains(l.target)&&n()}}}function Be({items:t,variant:n="blue",className:r}){const l=n==="blue",p=l?"hover:text-blue-600":"hover:text-yellow-500",c=l?"text-blue-600":"text-yellow-500";return e.jsx("nav",{className:o("flex items-center",r),"aria-label":"Breadcrumb",children:t.map((s,i)=>{const C=i===t.length-1;return e.jsxs("div",{className:"flex items-center",children:[C?e.jsxs("span",{className:o("flex items-center gap-x-2 font-medium",c),children:[s.icon,e.jsx("span",{children:s.label})]}):e.jsxs("a",{href:s.href??"#",onClick:y=>{s.onClick&&(y.preventDefault(),s.onClick())},className:o("flex items-center gap-x-2 transition-all text-sm font-normal text-slate-500",p),children:[s.icon,e.jsx("span",{children:s.label})]}),!C&&e.jsx("span",{className:"mx-2 flex items-center",children:e.jsx(T.AltArrowRight,{weight:"Linear",size:20,className:"text-slate-500"})})]},i)})})}function We({children:t,text:n,icon:r,iconPosition:l="left",size:p="base",variant:c="primary",color:s="yellow",loading:i=!1,disabled:C=!1,onClick:y,className:N,type:M="button"}){const L=t??n,I={sm:"h-9 px-2 text-sm gap-1.5 rounded-lg leading-9 min-w-9",md:"h-10 px-2 text-base gap-2 rounded-lg leading-10 min-w-10",base:"h-12 px-4 text-base gap-2 rounded-xl leading-12 min-w-12"},d=c==="primary"||c==="secondary"||c==="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"}}[s][c]:{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"}[c],v=C||i,w=v?c==="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 e.jsxs("button",{type:M,onClick:y,disabled:v,className:o("inline-flex items-center justify-center font-medium transition-all duration-200 cursor-pointer",I[p],d,!v&&d,w,N),children:[r&&l==="left"&&!i&&e.jsx("span",{className:"flex items-center",children:r}),L&&e.jsx("span",{children:L}),r&&l==="right"&&!i&&e.jsx("span",{className:"flex items-center",children:r}),i&&e.jsx(T.Star2,{weight:"Linear",size:20,className:"animate-spin"})]})}const Oe=t=>G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:11,height:8,viewBox:"0 0 11 8",fill:"none",...t},G.createElement("path",{d:"M0.625 3.76944L3.76944 6.91389L10.0694 0.625",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),_e={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"}},de=a.memo(function({type:n="checkbox",label:r,supportText:l,checked:p,onChange:c,error:s,disabled:i=!1,required:C=!1,className:y,variant:N="yellow",name:M,value:L}){const[I,x]=a.useState(!1),u=n==="radio",d=a.useMemo(()=>p??I,[p,I]),v=a.useCallback(m=>{i||(p===void 0&&x(m.target.checked),c?.(m))},[p,c,i]),w=a.useMemo(()=>{if(i){const D="border-slate-200 bg-slate-100";return u?{container:D,dot:d?"bg-slate-300":"bg-transparent",check:"text-slate-400"}:{container:D,dot:"",check:d?"text-slate-400":"text-transparent"}}const m=_e[N];if(u){const D=o("border transition-all duration-200",d?m.border:"border-slate-400",!d&&m.hover,m.focus,d&&""),F=o("transition-all duration-200 rounded-full",d?m.bg:"bg-transparent");return{container:D,dot:F,check:""}}return{container:o("border transition-all duration-200",d?o(m.bg,m.border):"border-slate-400",!d&&m.hover,m.focus),dot:"",check:d?"text-white":"text-transparent"}},[u,d,i,N]),f=a.useMemo(()=>!r&&!l?null:e.jsxs("div",{className:"flex flex-col",children:[r&&e.jsxs("span",{className:o("text-base font-medium text-slate-700",s&&"text-red-600",i&&"text-slate-400"),children:[r,C&&e.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),l&&e.jsx("span",{className:o("text-slate-500 text-base font-normal",i&&"text-slate-400"),children:l})]}),[r,l,s,i,C]);return e.jsxs("div",{className:o("flex items-start",y),children:[e.jsxs("label",{className:o("flex items-start gap-2 select-none",i?"cursor-not-allowed":"cursor-pointer"),children:[e.jsx("input",{type:n,checked:d,onChange:v,disabled:i,required:C,className:"sr-only","aria-invalid":!!s,"aria-describedby":s?`${M}-error`:void 0,name:M,value:L}),e.jsx("div",{className:o("relative flex items-center justify-center",u?"w-5 h-5 rounded-full":"w-5 h-5 rounded",w.container),children:u?e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("span",{className:o("w-3 h-3 rounded-full transition-all duration-200",w.dot,d?"opacity-100 scale-100":"opacity-0 scale-50")})}):e.jsx(Oe,{className:o("w-4 h-4 stroke-[2.5px] transition-opacity duration-200",w.check,d?"opacity-100":"opacity-0")})}),f]}),s&&e.jsx("p",{id:`${M}-error`,className:"mt-1 text-extra-small text-red-600",children:s})]})});de.displayName="MciCheck";function Ye({title:t,children:n,defaultOpen:r=!1,icon:l,className:p,contentClassName:c}){const[s,i]=a.useState(r),[C,y]=a.useState(0),N=a.useRef(null);return a.useEffect(()=>{N.current&&y(s?N.current.scrollHeight:0)},[s]),e.jsxs("div",{className:o("overflow-hidden rounded-xl border border-slate-200",p),children:[e.jsxs("button",{onClick:()=>i(!s),className:o("flex w-full items-center justify-between p-5 transition-all duration-300 hover:cursor-pointer",s?"border-b border-slate-200":"border-b border-transparent"),children:[e.jsxs("div",{className:"flex items-center gap-2",children:[l&&e.jsx("span",{className:"shrink-0",children:l}),e.jsx("div",{className:o("text-base font-medium text-black"),children:t})]}),e.jsx(T.AltArrowDown,{weight:"Linear",size:20,className:o("shrink-0 transition-transform duration-300 text-slate-400",s&&"rotate-180")})]}),e.jsx("div",{className:o("overflow-hidden transition-all duration-300 ease-out"),style:{height:`${C}px`},children:e.jsx("div",{ref:N,className:o("p-5",c),children:n})})]})}const ce=t=>G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t},G.createElement("path",{d:"M7.75739 7.75735L16.2427 16.2426",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),G.createElement("path",{d:"M7.75733 16.2426L16.2426 7.75735",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));function Ve({isOpen:t,onClose:n,position:r="right",children:l,footer:p,title:c,description:s,showCloseButton:i=!0,drawerClassName:C,closeOnOverlayClick:y=!0,closeOnEscape:N=!0,width:M=572}){const L=a.useRef(null),I=a.useRef(null),x=a.useCallback(()=>{n()},[n]);a.useEffect(()=>{t?(I.current=document.activeElement,L.current?.focus()):I.current?.focus()},[t]),a.useEffect(()=>(t&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow="unset"}),[t]);const u=a.useMemo(()=>({width:typeof M=="number"?`${M}px`:M,transform:t?"translateX(0)":r==="right"?"translateX(calc(100% + 48px))":"translateX(calc(-100% - 48px))"}),[t,M,r]),d={left:"top-6 left-6 bottom-6",right:"top-6 right-6 bottom-6"};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:o("fixed inset-0 z-50 bg-black/40 transition-opacity duration-300",t?"opacity-100 visible cursor-pointer":"opacity-0 invisible pointer-events-none"),onClick:y?x:void 0,"aria-hidden":"true"}),e.jsxs("div",{ref:L,tabIndex:-1,style:u,className:o("fixed flex flex-col z-50 w-full rounded-2xl bg-white transition-transform duration-300 ease-in-out outline-none",d[r],C),role:"dialog","aria-modal":"true","aria-labelledby":c?"drawer-title":void 0,children:[(c||i||s)&&e.jsxs("div",{className:"flex items-start justify-between border-b border-slate-200 p-6 shrink-0",children:[c&&e.jsxs("div",{className:"block",children:[e.jsx("h2",{id:"drawer-title",className:"text-h3 font-semibold text-black",children:c}),s&&e.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:s})]}),i&&e.jsx("button",{type:"button",onClick:x,className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group active:scale-95",children:e.jsx(ce,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-slate-200 p-6",children:l}),p&&e.jsx("div",{className:"flex items-center justify-end border-t border-slate-200 p-6 shrink-0",children:p})]})]})}const ge=a.forwardRef(({label:t,placeholder:n,type:r="text",icon:l,rightIcon:p,iconPosition:c="left",size:s="base",error:i,disabled:C=!1,required:y=!1,value:N,onChange:M,onFocus:L,onBlur:I,className:x,name:u,maxLength:d=250,onClear:v,showClearButton:w=!1,step:f,autoComplete:m="off"},z)=>{const[D,F]=a.useState(!1),[h,E]=a.useState(""),[j,B]=a.useState(!1),U=N??h,_=r==="password",H=w&&!!U&&!C,K=l&&c==="left",te=l&&c==="right"||p||_,ee=te||H,X=()=>{F(!0),L?.()},re=()=>{F(!1),I?.()},le=q=>{let Z=q.target.value;r==="number"&&d&&Z.length>d&&(Z=Z.slice(0,d),q.target.value=Z),N===void 0&&E(Z),M?.(q)},Q=()=>B(q=>!q),k=()=>{N===void 0&&E(""),v?.()},S=a.useMemo(()=>({sm:{input:"h-9 text-sm",padding:K&&te?"pl-7 pr-7":K?"pl-7 pr-2":te?"pl-2 pr-7":"px-2",icon:"w-4 h-4",leftIcon:"left-2",rightIcon:"right-2",labelFont:"text-sm",iconWrapper:"h-4"},md:{input:"h-10 text-sm",padding:K&&te?"pl-8 pr-8":K?"pl-8 pr-2":te?"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:K&&te?"pl-9 pr-9":K?"pl-9 pr-3":te?"pl-3 pr-9":"px-4",icon:"w-5 h-5",leftIcon:"left-3",rightIcon:"right-3",labelFont:"text-base",iconWrapper:"h-5"}}),[K,te]),$=a.useMemo(()=>i?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[i]),P=a.useMemo(()=>C?"text-slate-400":i?"text-red-600":D?"text-black":"text-slate-400",[i,D,C]);return e.jsxs("div",{className:o("w-full",x),children:[t&&e.jsxs("label",{htmlFor:u,className:o("mb-2 block text-base font-medium",i?"text-red-600":"text-slate-700",S[s].labelFont),children:[t,y&&e.jsx("span",{className:"text-extra-small text-red-600 ml-1",children:"*"})]}),e.jsxs("div",{className:"relative flex items-center",children:[e.jsx("input",{ref:z,name:u,type:_&&j?"text":r,value:U,onChange:le,onFocus:X,onBlur:re,disabled:C,required:y,autoComplete:m,placeholder:n,step:f,className:o("w-full border bg-white font-normal transition-all duration-300 ease-in-out outline-none",s==="base"?"rounded-xl":"rounded-lg","disabled:cursor-not-allowed disabled:border-slate-200 disabled:bg-slate-100 disabled:text-slate-400","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",S[s].input,S[s].padding,$),maxLength:d}),K&&e.jsx("div",{className:o("absolute top-1/2 flex -translate-y-1/2 items-center justify-center","transition-all duration-300",S[s].leftIcon,P),children:e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon),children:l})})}),ee&&e.jsxs("div",{className:o("absolute top-1/2 flex -translate-y-1/2 items-center justify-center gap-2","transition-all duration-300",S[s].rightIcon),children:[H&&e.jsx("button",{type:"button",onClick:k,className:o("flex items-center justify-center",S[s].iconWrapper,"text-slate-base hover:text-black"),style:{cursor:"pointer"},children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon),children:e.jsx(ce,{className:o("h-full w-full")})})}),p&&!_&&e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon,P),children:p})}),_&&e.jsxs(e.Fragment,{children:[p&&e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon,P),children:p})}),e.jsx("button",{type:"button",onClick:Q,className:o("flex items-center justify-center",S[s].iconWrapper,P),children:e.jsx("span",{className:o("flex items-center justify-center cursor-pointer",S[s].icon),children:j?e.jsx(T.EyeClosed,{weight:"Linear",className:o("h-full w-full")}):e.jsx(T.Eye,{weight:"Linear",className:o("h-full w-full")})})})]}),l&&c==="right"&&!_&&e.jsx("div",{className:o("flex items-center justify-center",S[s].iconWrapper),children:e.jsx("span",{className:o("flex items-center justify-center",S[s].icon,P),children:l})})]})]}),i&&e.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-sm font-normal text-red-600",children:i})]})});ge.displayName="MciInput";const Ue={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"]}},Ne=a.forwardRef(({type:t="date",value:n,onChange:r,placeholder:l,label:p,disabled:c=!1,required:s=!1,className:i,format:C="DD.MM.YYYY",minDate:y,maxDate:N,error:M,showClear:L=!0,allowManualInput:I=!0,locale:x="uz",startView:u="day",iconPosition:d="left",align:v="auto"},w)=>{const[f,m]=a.useState(!1),[z,D]=a.useState(t==="range"?[null,null]:null),[F,h]=a.useState([null,null]),E=a.useCallback(g=>{if(!g)return null;const b=new Date(g);return isNaN(b.getTime())?null:b},[]),[j,B]=a.useState(new Date),[U,_]=a.useState(u),[H,K]=a.useState(0),[te,ee]=a.useState(""),[X,re]=a.useState(v),le=a.useRef(null),Q=a.useMemo(()=>{const g=n!==void 0?n:z;if(t==="date")return E(g);const b=g;return[E(b[0]),E(b[1])]},[n,z,t,E]),k=Ue[x],S=a.useCallback(g=>new Date(g.getFullYear(),g.getMonth(),g.getDate()),[]),$=a.useCallback(g=>{if(!g)return"";const b=g.getDate().toString().padStart(2,"0"),A=(g.getMonth()+1).toString().padStart(2,"0"),Y=g.getFullYear();return C.replace("DD",b).replace("MM",A).replace("YYYY",Y.toString())},[C]),P=a.useCallback(g=>{if(!g||g.length!==10)return null;const b=g.replace(/\D/g,"");if(b.length!==8)return null;const A=parseInt(b.slice(0,2),10),Y=parseInt(b.slice(2,4),10),V=parseInt(b.slice(4,8),10);if(V<1e3||Y<1||Y>12||A<1||A>31)return null;const R=new Date(V,Y-1,A);return R.getFullYear()!==V||R.getMonth()!==Y-1||R.getDate()!==A?null:R},[]),q=a.useCallback(g=>{const b=S(g);return!!(y&&b<S(y)||N&&b>S(N))},[y,N,S]),Z=a.useMemo(()=>{if(t==="date")return $(Q);const[g,b]=Q;return!g&&!b?"":g&&b?`${$(g)} - ${$(b)}`:g?`${$(g)} - ...`:"..."},[t,Q,$]);a.useEffect(()=>{f?te===""&&Z!==""&&ee(Z):ee(Z)},[Z,f]),a.useEffect(()=>{if(f)if(t==="range"){const g=Q;h(g),g[0]?B(g[0]):g[1]?B(g[1]):B(new Date)}else{const g=Q;B(g||new Date)}},[f]),a.useEffect(()=>{if(f&&v==="auto"&&le.current){const g=le.current.getBoundingClientRect(),b=window.innerWidth-g.right,A=g.left;b<300&&A>300?re("right"):re("left")}},[f,v]);const J=a.useCallback(()=>{m(!1),_(u),K(0),ee(Z)},[u,Z]),ie=a.useCallback(g=>{c||(g.preventDefault(),g.stopPropagation(),m(b=>!b))},[c]),{handleClick:W}=he(le,J),{handleEscape:ne}=me(J);a.useEffect(()=>{if(f)return document.addEventListener("mousedown",W),document.addEventListener("keydown",ne),()=>{document.removeEventListener("mousedown",W),document.removeEventListener("keydown",ne)}},[f,W,ne]);const ht=()=>{c||f||(t==="range"||!I)&&(m(!0),_(u))},gt=g=>{if(t!=="date")return;let A=g.target.value.replace(/\D/g,"");A.length>8&&(A=A.slice(0,8));let Y="";if(A.length>4?Y=`${A.slice(0,2)}.${A.slice(2,4)}.${A.slice(4)}`:A.length>2?Y=`${A.slice(0,2)}.${A.slice(2)}`:Y=A,ee(Y),Y.length===10){const V=P(Y);V&&!q(V)&&(D(V),r?.(V),B(V))}else Y===""&&(D(null),r?.(null))},pt=a.useCallback(()=>{const g=t==="range"?[null,null]:null;D(g),h([null,null]),r?.(g),ee("")},[t,r]),ft=a.useCallback(g=>{if(q(g))return;const b=S(g);if(t==="date")D(b),r?.(b),ee($(b)),J();else{const[A,Y]=F;if(!A&&!Y||A&&Y)h([b,null]),ee(`${$(b)} - ...`);else if(A&&!Y){const V=b<A?[b,A]:[A,b];h(V),D(V),r?.(V);const[R,se]=V;ee(`${$(R)} - ${$(se)}`),J()}}},[t,F,q,S,r,J,$]),bt=a.useCallback(g=>{const b=new Date(j.getFullYear(),g,1);B(b),u==="month"&&t==="date"?(D(b),r?.(b),ee($(b)),J()):_("day")},[j,u,r,J,t,$]),wt=a.useCallback(g=>{const b=new Date(g,j.getMonth(),1);B(b),u==="year"&&t==="date"?(D(b),r?.(b),ee($(b)),J()):_("month")},[j,u,r,J,t,$]),ze=g=>{B(b=>new Date(b.getFullYear(),b.getMonth()+g,1))},fe=g=>{B(b=>new Date(b.getFullYear()+g,b.getMonth(),1))},vt=a.useCallback(g=>{const b=g.getFullYear(),A=g.getMonth(),Y=new Date(b,A,1).getDay(),V=new Date(b,A+1,0).getDate(),R=[];for(let ae=Y;ae>0;ae--)R.push({date:new Date(b,A,1-ae),isCurrentMonth:!1});for(let ae=1;ae<=V;ae++)R.push({date:new Date(b,A,ae),isCurrentMonth:!0});const se=42-R.length;for(let ae=1;ae<=se;ae++)R.push({date:new Date(b,A+1,ae),isCurrentMonth:!1});return R},[]),be=a.useCallback((g,b)=>S(g).getTime()===S(b).getTime(),[S]),mt=g=>{const b=S(g);if(t==="date")return Q&&be(b,Q);const[A]=F[0]?F:Q;return E(A)&&be(b,E(A))},xt=g=>{if(t!=="range")return!1;const b=S(g),[,A]=F[1]?F:Q;return E(A)&&be(b,E(A))},yt=g=>{if(t!=="range")return!1;const b=S(g),[A,Y]=F[0]?F:Q,V=E(A),R=E(Y);return V&&!R?!1:V&&R&&b>S(V)&&b<S(R)},je=(g,b,A)=>{const Y=vt(g);return e.jsxs("div",{className:"w-[300px] p-2 select-none",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4 py-1",children:[e.jsx("div",{className:"flex gap-2 w-16",children:b&&e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:()=>fe(-1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.DoubleAltArrowLeft,{size:18})}),e.jsx("button",{onClick:()=>ze(-1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.AltArrowLeft,{size:18})})]})}),e.jsxs("div",{className:"flex gap-1 font-semibold text-slate-700 text-sm whitespace-nowrap",children:[e.jsx("span",{className:"cursor-pointer hover:text-blue-600 transition-colors p-1 rounded hover:bg-slate-50",onClick:()=>_("month"),children:k.months[g.getMonth()]}),e.jsx("span",{className:"cursor-pointer hover:text-blue-600 transition-colors p-1 rounded hover:bg-slate-50",onClick:()=>_("year"),children:g.getFullYear()})]}),e.jsx("div",{className:"flex gap-2 w-16 justify-end",children:A&&e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:()=>ze(1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.AltArrowRight,{size:18})}),e.jsx("button",{onClick:()=>fe(1),type:"button",className:"hover:bg-slate-100 p-1 rounded transition-colors text-slate-500",children:e.jsx(T.DoubleAltArrowRight,{size:18})})]})})]}),e.jsx("div",{className:"grid grid-cols-7 mb-1 text-center text-[11px] font-bold text-blue-600 uppercase",children:k.weekdaysShort.map(V=>e.jsx("div",{className:"py-1",children:V},V))}),e.jsx("div",{className:"grid grid-cols-7 gap-y-1 relative",children:Y.map((V,R)=>{const se=V.date,ae=q(se),we=mt(se),ve=xt(se),Ct=yt(se);return e.jsx("div",{className:o("h-10 flex items-center justify-center relative",Ct&&"bg-blue-50",we&&t==="range"&&ve?"bg-blue-50 rounded-full":we&&t==="range"?"bg-gradient-to-r from-transparent to-blue-50 rounded-l-full":"",ve&&t==="range"?"bg-gradient-to-l from-transparent to-blue-50 rounded-r-full":""),children:e.jsx("button",{type:"button",onClick:()=>ft(se),disabled:ae,className:o("w-9 h-9 cursor-pointer rounded-full flex items-center justify-center text-sm font-medium transition-all z-10",V.isCurrentMonth?"text-slate-700":"text-slate-300",ae&&"opacity-20 cursor-not-allowed",we||ve?"bg-blue-600 text-white shadow-md shadow-blue-200 hover:bg-blue-700":"hover:bg-blue-50",be(se,new Date)&&!we&&!ve&&"text-blue-600 border border-blue-600"),children:se.getDate()})},R)})})]})},kt=()=>e.jsxs("div",{className:"w-[300px] p-3",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4 px-2",children:[e.jsx("button",{type:"button",onClick:()=>fe(-1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowLeft,{size:20})}),e.jsx("span",{className:"font-bold text-slate-800",children:j.getFullYear()}),e.jsx("button",{type:"button",onClick:()=>fe(1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowRight,{size:20})})]}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:k.monthsShort.map((g,b)=>e.jsx("button",{type:"button",onClick:()=>bt(b),className:o("hover:cursor-pointer py-3 rounded-lg text-sm font-semibold transition-colors",j.getMonth()===b?"bg-blue-600 text-white":"hover:bg-blue-50 text-slate-600"),children:g},g))})]}),Nt=()=>{const g=Math.floor(j.getFullYear()/12)*12+H*12,b=Array.from({length:12},(A,Y)=>g+Y);return e.jsxs("div",{className:"w-[300px] p-3",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4 px-2",children:[e.jsx("button",{type:"button",onClick:()=>K(A=>A-1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowLeft,{size:20})}),e.jsxs("span",{className:"font-bold text-slate-800",children:[b[0]," - ",b[11]]}),e.jsx("button",{type:"button",onClick:()=>K(A=>A+1),className:"p-1 hover:bg-slate-100 rounded text-slate-500",children:e.jsx(T.AltArrowRight,{size:20})})]}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:b.map(A=>e.jsx("button",{type:"button",onClick:()=>wt(A),className:o("hover:cursor-pointer py-3 rounded-lg text-sm font-semibold transition-colors",j.getFullYear()===A?"bg-blue-600 text-white":"hover:bg-blue-50 text-slate-600"),children:A},A))})]})},Ie=e.jsx("div",{onClick:ie,className:o("cursor-pointer flex items-center justify-center p-1 rounded-md transition-colors",c?"pointer-events-none opacity-50":"hover:bg-slate-100 active:bg-slate-200"),children:e.jsx(T.Calendar,{weight:"Linear",size:20,className:"text-slate-400"})});return e.jsxs("div",{ref:le,className:o("relative w-full group",i),children:[e.jsx("div",{ref:w,children:e.jsx(ge,{label:p,placeholder:Array.isArray(l)?l[0]:l,value:te,onChange:gt,icon:d==="left"?Ie:void 0,rightIcon:d==="right"?Ie:void 0,disabled:c,required:s,error:M,maxLength:t==="date"?10:void 0,onFocus:ht,readOnly:!I||t==="range",showClearButton:L,onClear:pt})}),f&&e.jsx("div",{className:o("absolute top-[calc(100%+4px)] z-[100] bg-white rounded-xl shadow-xl border border-slate-200","flex flex-col md:flex-row overflow-hidden animate-in fade-in zoom-in-95 duration-200",X==="right"&&"right-0 origin-top-right",X==="left"&&"left-0 origin-top-left",X==="center"&&"left-1/2 -translate-x-1/2 origin-top"),style:{width:"max-content"},onMouseDown:g=>g.stopPropagation(),children:U==="day"?e.jsxs(e.Fragment,{children:[je(j,!0,t!=="range"),t==="range"&&e.jsx("div",{className:"hidden md:block border-l border-slate-100",children:je(new Date(j.getFullYear(),j.getMonth()+1,1),!1,!0)})]}):U==="month"?kt():Nt()})]})});Ne.displayName="MciPicker";const He={sm:{container:"h-9 text-sm",padding:"px-2",iconPaddingLeft:"pl-7",iconPaddingRight:"pr-7",iconSize:"w-4 h-4",iconWrapper:"left-2",rightIconWrapper:"right-2",label:"text-sm",dropdown:"text-sm"},md:{container:"h-10 text-sm",padding:"px-4",iconPaddingLeft:"pl-8",iconPaddingRight:"pr-8",iconSize:"w-5 h-5",iconWrapper:"left-3",rightIconWrapper:"right-3",label:"text-sm",dropdown:"text-sm"},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"}},Ce=a.forwardRef(({label:t,placeholder:n="Выберите...",options:r=[],icon:l,iconPosition:p="left",size:c="base",error:s,disabled:i=!1,required:C=!1,value:y,onChange:N,onFocus:M,onBlur:L,className:I,clearable:x=!1,searchable:u=!1,onSearch:d,name:v},w)=>{const[f,m]=a.useState(!1),[z,D]=a.useState(!1),[F,h]=a.useState(""),[E,j]=a.useState(""),[B,U]=a.useState(-1),_=a.useRef(null),H=a.useRef(null),K=y!==void 0?y:F,te=r.find(W=>W.value===K),ee=K!==""&&K!==void 0,X=He[c],re=a.useMemo(()=>{if(!u||d)return r;const W=E.toLowerCase();return r.filter(ne=>ne.label.toLowerCase().includes(W))},[r,E,u,d]),le=a.useCallback(()=>{m(!1),D(!1),j(""),U(-1),L?.()},[L]),{handleClick:Q}=he(_,le),{handleEscape:k}=me(le);a.useEffect(()=>{if(f)return document.addEventListener("mousedown",Q),document.addEventListener("keydown",k),()=>{document.removeEventListener("mousedown",Q),document.removeEventListener("keydown",k)}},[f,Q,k]),a.useEffect(()=>{f&&u&&H.current&&H.current.focus()},[f,u]);const S=a.useCallback(W=>{if(!i){if(!f&&(W.key==="ArrowDown"||W.key==="ArrowUp"||W.key==="Enter")){W.preventDefault(),m(!0);return}if(f)switch(W.key){case"ArrowDown":W.preventDefault(),U(ne=>ne<re.length-1?ne+1:0);break;case"ArrowUp":W.preventDefault(),U(ne=>ne>0?ne-1:re.length-1);break;case"Enter":W.preventDefault(),B>=0&&re[B]&&P(re[B].value);break}}},[f,re,B,i]),$=a.useCallback(()=>{i||(m(W=>!W),f?(j(""),U(-1)):(D(!0),M?.()))},[i,f,M]),P=a.useCallback(W=>{y===void 0&&h(W),N?.(W),m(!1),D(!1),j(""),U(-1),L?.()},[y,N,L]),q=a.useCallback(W=>{W.stopPropagation(),!i&&(y===void 0&&h(""),N?.(""),j(""),U(-1))},[y,N,i]),Z=a.useCallback(W=>{j(W),d?.(W),U(0)},[d]),J=a.useMemo(()=>i?"border-slate-200 bg-slate-100 text-slate-400 cursor-not-allowed":s?"border-red-600 focus:border-red-600 shadow-red bg-white":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600 bg-white",[s,i]),ie=a.useMemo(()=>i?"text-slate-400":s?"text-red-600":f||z?"text-black":"text-slate-400",[i,s,f,z]);return e.jsxs("div",{className:o("w-full",I),ref:w,children:[t&&e.jsxs("label",{htmlFor:v,className:o("mb-2 block text-base font-medium",s?"text-red-600":"text-slate-700",X.label),children:[t,C&&e.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),e.jsxs("div",{ref:_,className:"relative",onKeyDown:S,children:[e.jsxs("div",{role:"combobox","aria-expanded":f,"aria-haspopup":"listbox","aria-controls":`${v}-listbox`,"aria-disabled":i,tabIndex:i?-1:0,onClick:$,className:o("flex w-full items-center border font-normal transition-all duration-300 ease-in-out",c==="base"?"rounded-xl":"rounded-lg",X.container,l?p==="left"?X.iconPaddingLeft:X.iconPaddingRight:X.padding,J,!i&&z&&"shadow-blue border-blue-600"),children:[l&&e.jsx("div",{className:o("absolute top-1/2 -translate-y-1/2 pointer-events-none transition-colors duration-300",p==="left"?X.iconWrapper:X.rightIconWrapper,ie),children:l}),u&&f?e.jsx("input",{ref:H,type:"text",value:E,onChange:W=>Z(W.target.value),placeholder:n,className:"w-full bg-transparent outline-none",onClick:W=>W.stopPropagation()}):e.jsx("span",{className:o("block truncate select-none",!ee&&!i&&"text-slate-400"),children:te?.label||n}),x&&ee&&!i&&e.jsx("button",{type:"button",onClick:q,className:o("absolute top-1/2 -translate-y-1/2 text-slate-400 hover:text-black transition-colors cursor-pointer",l&&p==="left"?"right-8":"right-10"),"aria-label":"Очистить",children:e.jsx(ce,{className:X.iconSize})}),e.jsx("div",{className:o("absolute top-1/2 right-3 -translate-y-1/2 pointer-events-none transition-all duration-300",f&&"rotate-180",ie),children:e.jsx(T.AltArrowDown,{className:X.iconSize})})]}),f&&!i&&e.jsx("div",{id:`${v}-listbox`,role:"listbox",className:o("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",X.dropdown),children:re.length===0?e.jsx("div",{className:"px-3 py-2 text-center text-base font-normal text-slate-500",children:"Ничего не найдено"}):re.map(W=>e.jsx("div",{role:"option","aria-selected":K===W.value,onClick:()=>P(W.value),className:o("cursor-pointer px-3 py-2 font-normal transition-colors hover:bg-slate-100 rounded-sm",K===W.value?"bg-slate-100":""),children:W.label},W.value))})]}),s&&e.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-sm font-normal text-red-600",children:s})]})});Ce.displayName="MciSelect";function qe({columns:t,data:n=[],loading:r=!1,skeletonRows:l=5,noDataText:p="",sort:c,onSortChange:s,className:i,headerClassName:C,bodyClassName:y,rowKey:N="id",rowSelection:M}){const[L,I]=a.useState(null),x=c??L,u=a.useMemo(()=>Array.isArray(n)?n:[],[n]),d=a.useMemo(()=>!x||c?u:[...u].sort((h,E)=>{const j=h[x.key],B=E[x.key];return j==null?1:B==null?-1:j<B?x.direction==="asc"?-1:1:j>B?x.direction==="asc"?1:-1:0}),[u,x,c]),v=h=>{if(!h.sortable)return;let E=null;x?.key!==h.key?E={key:h.key,direction:"asc"}:x.direction==="asc"&&(E={key:h.key,direction:"desc"}),c!==void 0?s?.(E):I(E)};a.useEffect(()=>{c!==void 0&&I(null)},[c]);const w=r?[]:c?u:d,f=h=>{if(!M)return;const{onChange:E,getCheckboxProps:j}=M;if(h.target.checked){const _=w.filter(H=>!j?.(H)?.disabled).map(H=>H[N]);E(_)}else E([])},m=(h,E)=>{if(!M)return;const{selectedRowKeys:j,onChange:B}=M,U=h[N],_=E?[...j,U]:j.filter(H=>H!==U);B(_)},z=a.useMemo(()=>{if(!M||w.length===0)return!1;const h=w.filter(E=>!M.getCheckboxProps?.(E)?.disabled);return h.length===0?!1:h.every(E=>M.selectedRowKeys.includes(E[N]))},[M,w,N]),D=h=>h.sortable?!x||x.key!==h.key?e.jsx(T.SortVertical,{weight:"Linear",size:20,className:"text-slate-base"}):x.direction==="asc"?e.jsx(T.SortFromTopToBottom,{weight:"Linear",size:20,className:"text-slate-base"}):e.jsx(T.SortFromBottomToTop,{weight:"Linear",size:20,className:"text-slate-base"}):null,F=()=>e.jsxs("colgroup",{children:[M&&e.jsx("col",{style:{width:48}}),t.map(h=>e.jsx("col",{style:{width:h.width||"auto"}},h.key))]});return e.jsx("div",{className:o("w-full overflow-x-auto","pb-0.5","[&::-webkit-scrollbar]:h-1","[&::-webkit-scrollbar-track]:bg-transparent","[&::-webkit-scrollbar-thumb]:bg-slate-200","[&::-webkit-scrollbar-thumb]:rounded-full","[&::-webkit-scrollbar-thumb]:border","[&::-webkit-scrollbar-thumb]:border-transparent","[&::-webkit-scrollbar-thumb]:bg-clip-padding-box","hover:[&::-webkit-scrollbar-thumb]:bg-slate-300",i),children:e.jsxs("div",{className:"inline-block min-w-full align-middle",children:[e.jsx("div",{className:"overflow-hidden rounded-xl border border-slate-200 bg-slate-100",children:e.jsxs("table",{className:"w-full table-fixed",children:[F(),e.jsx("thead",{children:e.jsxs("tr",{children:[M&&e.jsx("th",{className:o("w-12 px-4 py-3",C),children:e.jsx("div",{className:"flex items-center justify-center",children:e.jsx(de,{checked:z,onChange:f,variant:"yellow",disabled:r||w.length===0})})}),t.map(h=>e.jsx("th",{onClick:()=>v(h),className:o("px-4 py-3 text-left text-sm font-medium text-slate-700 transition-colors",h.align==="center"&&"text-center",h.align==="right"&&"text-right",h.sortable&&"cursor-pointer hover:bg-slate-200",C),children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"min-w-0 flex-1 truncate",title:h.title,children:h.title}),D(h)]})},h.key))]})})]})}),e.jsx("div",{className:"rounded-xl border border-t-0 border-slate-200 bg-white overflow-hidden",children:e.jsxs("table",{className:"w-full table-fixed",children:[F(),e.jsx("tbody",{className:"divide-y divide-slate-200",children:r?Array.from({length:l}).map((h,E)=>e.jsxs("tr",{children:[M&&e.jsx("td",{className:"w-12 px-4 py-3",children:e.jsx(xe,{height:20,width:20,variant:"rounded"})}),t.map(j=>e.jsx("td",{className:"px-4 py-3",children:e.jsx(xe,{height:30,variant:"rounded"})},j.key))]},E)):w.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:t.length+(M?1:0),className:"py-20",children:e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx("div",{className:"relative mb-4",children:e.jsx(T.ConfoundedSquare,{weight:"Bold",size:64,className:"animate-float text-slate-400"})}),e.jsx("p",{className:"text-sm font-medium text-slate-400",children:p})]})})}):w.map((h,E)=>{const j=h[N],B=M?.selectedRowKeys.includes(j),U=M?.getCheckboxProps?.(h)?.disabled;return e.jsxs("tr",{className:o("group transition-colors hover:bg-slate-50"),children:[M&&e.jsx("td",{className:o("w-12 px-4 py-3 align-top",y),children:e.jsx("div",{className:"flex items-center justify-center pt-1",children:e.jsx(de,{checked:B,disabled:U,variant:"yellow",onChange:_=>m(h,_.target.checked)})})}),t.map(_=>{const H=h[_.key];return e.jsx("td",{className:o("align-top px-4 py-3 text-sm font-normal text-black",_.align==="center"&&"text-center",_.align==="right"&&"text-right",y,_.className),children:e.jsx("div",{className:"min-w-0 break-words whitespace-normal",style:{overflowWrap:"break-word"},children:_.render?_.render(H,h):String(H??"-")})},_.key)})]},E)})})]})})]})})}const Ze={uz:{dragAndDrop:"Faylni bu yerga torting",clickToUpload:"yoki bosib tanlang",or:"yoki",dropHereTitle:"Faylni shu yerga yuklang",fileRequirements:(t,n,r,l)=>`${t?`Maksimum ${n} ta fayl`:"1 ta fayl"} • ${r}MB gacha • ${l!=="*/*"?`Format: ${l}`:"Barcha formatlar"}`,selectedFiles:"Tanlangan fayllar",clearAll:"Barchasini o‘chirish",uploading:"Yuklanmoqda...",success:"Yuklandi",error:"Xatolik",preview:"Ko‘rish",download:"Yuklab olish",remove:"O‘chirish",maxFilesError:t=>`Maksimum ${t} ta fayl yuklash mumkin`,fileSizeError:(t,n)=>`"${t}" fayl hajmi ${n}MB dan kichik bo‘lishi kerak`,fileTypeError:t=>`"${t}" fayl turi qabul qilinmaydi`,uploadFailed:"Yuklash muvaffaqiyatsiz tugadi",file:"Fayl",image:"Rasm",video:"Video",audio:"Audio",document:"Hujjat"},ru:{dragAndDrop:"Перетащите файл сюда",clickToUpload:"или выберите нажатием",or:"или",dropHereTitle:"Загрузите свой файл сюда",fileRequirements:(t,n,r,l)=>`${t?`Максимум ${n} файлов`:"1 файл"} • До ${r}MB • ${l!=="*/*"?`Формат: ${l}`:"Все форматы"}`,selectedFiles:"Выбранные файлы",clearAll:"Очистить все",uploading:"Загружается...",success:"Загружено",error:"Ошибка",preview:"Просмотр",download:"Скачать",remove:"Удалить",maxFilesError:t=>`Можно загрузить максимум ${t} файлов`,fileSizeError:(t,n)=>`Размер файла "${t}" должен быть меньше ${n}MB`,fileTypeError:t=>`Тип файла "${t}" не поддерживается`,uploadFailed:"Не удалось загрузить файл",file:"Файл",image:"Изображение",video:"Видео",audio:"Аудио",document:"Документ"},en:{dragAndDrop:"Drag and drop a file here",clickToUpload:"or click to select",or:"or",dropHereTitle:"Upload your file here",fileRequirements:(t,n,r,l)=>`${t?`Up to ${n} files`:"1 file"} • Up to ${r}MB • ${l!=="*/*"?`Format: ${l}`:"All formats"}`,selectedFiles:"Selected files",clearAll:"Clear all",uploading:"Uploading...",success:"Uploaded",error:"Error",preview:"Preview",download:"Download",remove:"Remove",maxFilesError:t=>`You can upload up to ${t} files`,fileSizeError:(t,n)=>`File "${t}" must be smaller than ${n}MB`,fileTypeError:t=>`File type "${t}" is not supported`,uploadFailed:"Upload failed",file:"File",image:"Image",video:"Video",audio:"Audio",document:"Document"}},Ke=({multiple:t=!1,accept:n="*/*",maxSize:r=10,maxFiles:l=5,disabled:p=!1,label:c,required:s=!1,error:i,className:C,onFilesChange:y,onUpload:N,showPreview:M=!0,locale:L="uz",showFileTypeIcon:I=!0,variant:x="yellow",customValidator:u})=>{const[d,v]=a.useState([]),[w,f]=a.useState(!1),[m,z]=a.useState(!1),D=a.useRef(null),F=Ze[L],h=x==="blue"?{dropBorder:"border-blue-200 hover:border-blue-300",dropBg:"bg-blue-50/40 hover:bg-blue-50/60",dropActive:"border-blue-600 bg-blue-50",iconWrap:"text-blue-600",title:"text-blue-600",hint:"text-slate-500",progressFill:"bg-blue-600",fileIconImg:"bg-blue-50 text-blue-600",fileIconDoc:"bg-green-50 text-green-600"}:{dropBorder:"border-yellow-200 hover:border-yellow-300",dropBg:"bg-yellow-50/40 hover:bg-yellow-50/60",dropActive:"border-yellow-500 bg-yellow-50",iconWrap:"text-yellow-700",title:"text-yellow-700",hint:"text-slate-500",progressFill:"bg-yellow-600",fileIconImg:"bg-blue-50 text-blue-600",fileIconDoc:"bg-green-50 text-green-600"},E=k=>{switch(k.type.split("/")[0]){case"image":return e.jsx(T.Gallery,{className:"h-5 w-5 text-blue-500"});case"video":return e.jsx(T.VideoFramePlayHorizontal,{className:"h-5 w-5 text-purple-500"});case"audio":return e.jsx(T.MusicNote,{className:"h-5 w-5 text-green-500"});default:return k.type.includes("pdf")?e.jsx(T.FileText,{className:"h-5 w-5 text-red-500"}):k.type.includes("word")||k.type.includes("document")?e.jsx(T.FileText,{className:"h-5 w-5 text-blue-600"}):k.type.includes("excel")||k.type.includes("spreadsheet")?e.jsx(T.FileText,{className:"h-5 w-5 text-green-600"}):e.jsx(T.File,{className:"h-5 w-5 text-gray-500"})}},j=k=>{if(k===0)return"0 Bytes";const S=1024,$=["Bytes","KB","MB","GB"],P=Math.floor(Math.log(k)/Math.log(S));return parseFloat((k/Math.pow(S,P)).toFixed(2))+" "+$[P]},B=k=>{const S=r*1024*1024;return k.size<=S},U=k=>n==="*/*"?!0:n.split(",").map($=>$.trim()).some($=>{if($.endsWith("/*")){const P=$.replace("/*","");return k.type.startsWith(P)}return k.type===$||k.name.toLowerCase().endsWith($.replace("*.","."))}),_=k=>new Promise(S=>{if(k.type.startsWith("image/")){const $=new FileReader;$.onload=P=>S(P.target?.result),$.readAsDataURL(k)}else S("")}),H=a.useCallback(async k=>{const S=Array.from(k),$=[];for(const P of S){if(d.length+$.length>=l){alert(F.maxFilesError(l));break}if(!B(P)){alert(F.fileSizeError(P.name,r));continue}if(!U(P)){alert(F.fileTypeError(P.name));continue}if(u){const ie=u(P);if(ie){alert(ie);continue}}const q=await _(P),Z=N?"uploading":"success",J=N?0:100;$.push({id:Math.random().toString(36).substr(2,9),file:P,preview:q,progress:J,status:Z})}if($.length>0){const P=t?[...d,...$]:$;if(v(P),y?.(P.map(q=>q.file)),N){z(!0);try{const q=P.map((Z,J)=>({...Z,progress:Math.min(100,(J+1)/P.length*100)}));v(q),await N(q),v(Z=>Z.map(J=>({...J,status:"success",progress:100})))}catch(q){v(Z=>Z.map(J=>({...J,status:"error",error:q instanceof Error?q.message:F.uploadFailed})))}finally{z(!1)}}}},[d,l,B,U,u,F,r,t,y,N]),K=a.useCallback(k=>{k.preventDefault(),p||f(!0)},[p]),te=a.useCallback(k=>{k.preventDefault(),f(!1)},[]),ee=a.useCallback(k=>{if(k.preventDefault(),f(!1),p)return;const S=k.dataTransfer.files;S.length>0&&H(S)},[p,H]),X=a.useCallback(k=>{const S=k.target.files;S&&S.length>0&&(H(S),D.current&&(D.current.value=""))},[H]),re=a.useCallback(k=>{v(S=>{const $=S.filter(P=>P.id!==k);return y?.($.map(P=>P.file)),$})},[y]),le=a.useCallback(()=>{v([]),y?.([])},[y]),Q=a.useCallback(()=>{D.current?.click()},[]);return e.jsxs("div",{className:o("w-full",C),children:[c&&e.jsxs("label",{className:o("mb-2 block text-base font-medium",i?"text-red-600":"text-slate-700"),children:[c,s&&e.jsx("span",{className:"ml-1 text-extra-small text-red-600",children:"*"})]}),e.jsxs("div",{className:o("group relative flex min-h-[180px] w-full cursor-pointer items-center justify-center rounded-2xl border border-dashed p-6 text-center transition-all duration-300",h.dropBorder,h.dropBg,w&&h.dropActive,p&&"cursor-not-allowed opacity-60",i&&"border-red-600 bg-red-50/30"),onDragOver:K,onDragLeave:te,onDrop:ee,onClick:Q,children:[e.jsx("input",{ref:D,type:"file",multiple:t,accept:n,onChange:X,disabled:p,className:"hidden"}),e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[e.jsx("div",{className:o("flex h-12 w-12 items-center justify-center rounded-xl",h.iconWrap),children:e.jsx(T.Upload,{size:20})}),e.jsx("p",{className:o("text-base font-medium",h.title),children:F.dropHereTitle}),e.jsx("p",{className:o("text-sm font-normal",h.hint),children:F.fileRequirements(t,l,r,n)})]})]}),d.length>0&&e.jsxs("div",{className:"mt-4 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"text-sm font-medium text-slate-700",children:[F.selectedFiles," (",d.length,")"]}),d.length>1&&e.jsx("button",{type:"button",onClick:le,disabled:p||m,className:"text-sm font-medium text-red-600 disabled:opacity-50",children:F.clearAll})]}),e.jsx("div",{className:"space-y-3",children:d.map(k=>{const $=!!k.preview?h.fileIconImg:h.fileIconDoc;return e.jsxs("div",{className:o("flex items-center justify-between rounded-2xl border border-slate-200 p-4",k.status==="error"&&"border-red-600"),children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-4",children:[e.jsx("div",{className:o("flex h-14 w-14 items-center justify-center rounded-2xl",$),children:M&&k.preview?e.jsx("img",{src:k.preview,alt:k.file.name,className:"h-10 w-10 rounded-xl object-cover"}):I?E(k.file):e.jsx(T.File,{className:"h-6 w-6 text-slate-500"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate text-lg font-semibold text-primary",children:k.file.name}),e.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-2 text-sm text-slate-500",children:[e.jsx("span",{children:j(k.file.size)}),k.status==="uploading"&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"•"}),e.jsxs("span",{className:"inline-flex items-center",children:[e.jsx(T.Star2,{className:"mr-1 h-5 w-5 animate-spin"}),F.uploading]})]}),k.status==="success"&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"•"}),e.jsx("span",{className:"font-normal text-green-600",children:F.success})]})]}),k.status==="uploading"&&e.jsx("div",{className:o("mt-2 h-1.5 w-full rounded-full bg-slate-200"),children:e.jsx("div",{className:o("h-1.5 rounded-full transition-all duration-300",h.progressFill),style:{width:`${k.progress}%`}})}),k.status==="error"&&k.error&&e.jsx("p",{className:"mt-2 text-sm font-normal text-red-600",children:k.error})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("button",{type:"button",onClick:P=>P.stopPropagation(),className:"rounded-xl p-2 hover:bg-slate-100 hover:cursor-pointer",title:F.preview,children:e.jsx(T.Eye,{size:20,className:"text-slate-400"})}),e.jsx("button",{type:"button",onClick:P=>P.stopPropagation(),className:"rounded-xl p-2 hover:bg-slate-100 hover:cursor-pointer",title:F.download,children:e.jsx(T.Download,{size:20,className:"text-slate-400"})}),e.jsx("button",{type:"button",onClick:P=>{P.stopPropagation(),re(k.id)},disabled:p||m,className:"rounded-xl p-2 text-slate-base hover:bg-slate-100 disabled:opacity-50 hover:cursor-pointer",title:F.remove,children:e.jsx(ce,{className:"h-6 w-6"})})]})]},k.id)})})]}),i&&e.jsx("p",{className:"mt-2 text-sm font-normal text-red-600",children:i})]})};function Je({show:t,setShow:n,title:r,description:l,Header:p,Body:c,footer:s,handleClickOutside:i=!1}){const C=a.useRef(null),{handleEscape:y}=me(()=>n(!1));a.useEffect(()=>(t?(document.addEventListener("keydown",y),document.body.style.overflow="hidden"):document.body.style.overflow="unset",()=>document.removeEventListener("keydown",y)),[t,y]);const{handleClick:N}=he(C,()=>{i&&n(!1)});return a.useEffect(()=>(t&&i&&document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)),[t,N,i]),e.jsx("div",{className:o("bg-black/40 fixed inset-0 z-50 flex items-center justify-center transition-all duration-500 ease-in-out",t?"opacity-100":"pointer-events-none opacity-0"),children:e.jsxs("div",{ref:C,className:o("relative bg-white w-full max-w-[720px] rounded-2xl","transform transition-all duration-500 ease-out",t?"scale-100 opacity-100":"scale-90 opacity-0"),children:[(p||r||l)&&e.jsxs("div",{className:"border-b border-slate-200 flex items-start justify-between p-6 mb-4",children:[p||e.jsxs("div",{className:"block",children:[e.jsx("h2",{className:"text-h3 font-semibold text-black",children:r}),l&&e.jsx("p",{className:"text-base text-slate-base font-normal mt-2",children:l})]}),e.jsx("button",{onClick:()=>n(!1),className:"bg-slate-100 rounded-xl w-12 h-12 hover:cursor-pointer text-black transition flex items-center justify-center group",children:e.jsx(ce,{className:"h-6 w-6 transition-transform duration-300 group-hover:rotate-180"})})]}),c&&e.jsx("div",{className:"scrollbar-thin scrollbar-thumb-slate-200 max-h-96 px-6 overflow-y-auto mb-2",children:c}),s&&e.jsx("div",{className:"flex items-center justify-end gap-3 border-t border-slate-200 p-6",children:s})]})})}function Ge({totalItems:t,currentPage:n,perPage:r,onPageChange:l,onPerPageChange:p,siblingCount:c=1,perPageOptions:s=[10,30,50,100],showPerPage:i=!0,variant:C="yellow",size:y="large",paginationClassName:N}){const M=Number.isFinite(t)&&t>0?t:0,L=Number.isFinite(r)&&r>0?r:10,I=Math.max(1,Number.isFinite(n)?n:1),x=Math.ceil(M/L);if(x<=1||M===0)return null;const d=(()=>{const f=[],m=c*2+5;if(x<=m)return Array.from({length:x},(F,h)=>h+1);const z=Math.max(I-c,2),D=Math.min(I+c,x-1);f.push(1),z>2&&f.push("...");for(let F=z;F<=D;F++)f.push(F);return D<x-1&&f.push("..."),x>1&&f.push(x),f})(),v={medium:"h-9 text-sm",large:"h-10 text-base"}[y],w={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"}}[C??"yellow"];return e.jsxs("div",{className:o("flex items-center justify-between gap-4 w-full",N),children:[i&&p&&e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"whitespace-nowrap text-extra-small text-slate-base font-normal",children:"Строк на странице:"}),e.jsxs("div",{className:"relative",children:[e.jsx("select",{value:L,onChange:f=>p(Number(f.target.value)),className:o("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",y==="large"?"h-10":"h-9"),"aria-label":"Количество строк на странице",children:s.map(f=>e.jsx("option",{value:f,children:f},f))}),e.jsx(T.AltArrowDown,{className:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-slate-400",weight:"Linear",size:20})]})]}),e.jsxs("nav",{"aria-label":"Пагинация",className:"flex items-center gap-1 shrink-0 whitespace-nowrap",children:[e.jsx("button",{onClick:()=>l(I-1),disabled:I===1,"aria-label":"Предыдущая страница",className:o("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",v,I===1?o("cursor-not-allowed opacity-50",w.disabled):o("hover:cursor-pointer",w.arrow,"border-slate-200")),children:e.jsx(T.AltArrowLeft,{weight:"Linear",size:20})}),e.jsx("div",{className:"flex items-center gap-1",children:d.map((f,m)=>{if(f==="...")return e.jsx("span",{className:o("flex items-center justify-center text-black font-medium min-w-10",v),"aria-hidden":"true",children:e.jsx(T.MenuDots,{weight:"Bold",size:20})},m);const z=f===I;return e.jsx("button",{onClick:()=>l(f),"aria-label":`Страница ${f}${z?", текущая":""}`,"aria-current":z?"page":void 0,className:o("flex items-center justify-center rounded-lg border font-medium transition-all hover:cursor-pointer min-w-10 px-2",v,z?w.active:w.inactive),children:f},m)})}),e.jsx("button",{onClick:()=>l(I+1),disabled:I===x,"aria-label":"Следующая страница",className:o("flex items-center justify-center rounded-lg border transition-all bg-slate-100 min-w-10",v,I===x?o("cursor-not-allowed opacity-50",w.disabled):o("hover:cursor-pointer",w.arrow,"border-slate-200")),children:e.jsx(T.AltArrowRight,{size:20,weight:"Linear"})})]})]})}function xe({className:t,variant:n="default",width:r="100%",height:l="1rem"}){return e.jsx("div",{className:o("relative overflow-hidden bg-slate-200","rounded-lg",n==="circle"&&"rounded-full",n==="rounded"&&"rounded-md",t),style:{width:typeof r=="number"?`${r}px`:r,height:typeof l=="number"?`${l}px`:l},children:e.jsx("div",{className:"shimmer-mask absolute inset-0"})})}function Xe({tabs:t,defaultTab:n,position:r="top",className:l,tabListClassName:p,contentClassName:c,extra:s,onChange:i}){const[C,y]=a.useState(n||t[0]?.id),[N,M]=a.useState({}),L=a.useRef([]),I=()=>{requestAnimationFrame(()=>{const w=t.findIndex(m=>m?.id===C),f=L.current[w];if(f){const{offsetLeft:m,offsetTop:z,offsetWidth:D,offsetHeight:F}=f;M({left:`${m}px`,top:`${z}px`,width:`${D}px`,height:`${F}px`,transition:"all 0.35s cubic-bezier(0.25, 1, 0.5, 1)"})}})};a.useEffect(()=>(I(),window.addEventListener("resize",I),"fonts"in document&&document.fonts.ready.then(I),()=>window.removeEventListener("resize",I)),[C,r,t]),a.useEffect(()=>{L.current=L.current.slice(0,t.length)},[t]);const x=r==="left"||r==="right",u={top:"flex-col",bottom:"flex-col-reverse",left:"flex-row",right:"flex-row-reverse"},d={top:"flex-row",bottom:"flex-row",left:"flex-col",right:"flex-col"},v={top:"mt-4",bottom:"mb-4",left:"ml-4",right:"mr-4"};return e.jsxs("div",{className:o("flex w-full",u[r],l),children:[e.jsxs("div",{className:o("flex w-full gap-4",x?"flex-col items-start":"flex-row flex-wrap items-center"),children:[e.jsx("div",{className:o("flex-1",x?"w-full":"min-w-[520px]"),children:e.jsxs("div",{className:o("relative flex rounded-xl bg-slate-100 p-1",d[r],!x&&"w-full overflow-hidden",x?"min-w-48":"",p),children:[e.jsx("div",{className:o("absolute rounded-lg bg-white",x?"w-full":"h-full"),style:N}),t?.map((w,f)=>{const m=C===w.id;return e.jsxs("button",{ref:z=>{L.current[f]=z},onClick:()=>{w?.disabled||(y(w?.id),i?.(w?.id))},disabled:w?.disabled,className:o("relative z-10 flex items-center justify-center whitespace-nowrap px-3 py-2 text-base font-normal text-black transition-colors duration-300",w?.disabled&&"cursor-not-allowed opacity-50",x?"w-full justify-start":"flex-1 min-w-0"),children:[w?.icon&&e.jsx("span",{className:o("shrink-0 transition-transform duration-200",m&&"scale-110"),children:w?.icon}),e.jsx("span",{className:"relative z-10 truncate",title:w?.label,children:w?.label})]},w?.id)})]})}),s&&e.jsx("div",{className:o("shrink-0 ml-auto",x?"w-full":"max-w-full"),children:e.jsx("div",{className:"flex flex-wrap items-center justify-end gap-2",children:s})})]}),e.jsx("div",{className:o("w-full flex-1 overflow-hidden",v[r],c),children:e.jsx("div",{className:"animate-fade-in w-full",style:{animationDuration:"0.35s"},children:t?.find(w=>w.id===C)?.content},C)})]})}const Qe={sm:"px-2 py-0.5",md:"px-2 py-1",lg:"px-3 py-2"},Me={sm:"w-3 h-3",md:"w-3 h-3",lg:"w-3 h-3"},Re={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 et({children:t,variant:n="success",size:r="lg",icon:l,iconPosition:p="left",className:c}){return e.jsxs("span",{className:o("inline-flex animate-[fadeIn_0.3s_ease-out] items-center rounded-lg text-extra-small font-medium",Qe[r],Re[n],l&&"gap-[2px]",c),children:[l&&p==="left"&&e.jsx("span",{className:`flex items-center ${o(Me[r])}`,children:l}),e.jsx("span",{children:t}),l&&p==="right"&&e.jsx("span",{className:`flex items-center ${o(Me[r])}`,children:l})]})}const Se=a.forwardRef(({label:t,placeholder:n,value:r="",onChange:l,required:p=!1,disabled:c=!1,error:s,className:i,rows:C=4,name:y},N)=>{const M=a.useMemo(()=>s?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[s]);return e.jsxs("div",{className:o("relative w-full",i),children:[t&&e.jsxs("label",{className:o("mb-2 block text-base font-medium",s?"text-red-600":"text-slate-700"),children:[t,p&&e.jsx("span",{className:"ml-1 text-red-600",children:"*"})]}),e.jsx("textarea",{ref:N,name:y,rows:C,value:r,onChange:L=>l?.(L.target.value),disabled:c,placeholder:n,className:o("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",M)}),s&&e.jsx("p",{className:"mt-2 animate-[slideDown_0.3s_ease-out] text-sm font-normal text-red-600",children:s})]})});Se.displayName="MciTextarea";const tt=(()=>{let t=document.getElementById("mci-toast-container");return t||(t=document.createElement("div"),t.id="mci-toast-container",t.className="fixed top-4 right-4 z-[9999] flex flex-col gap-3 pointer-events-none",document.body.appendChild(t)),t})();let ye=null,rt=0;const pe=[],De=()=>{ye||(ye=$e.createRoot(tt)),ye.render(e.jsx("div",{className:"flex flex-col gap-3",children:pe.map(({id:t,element:n})=>e.jsx("div",{className:"pointer-events-auto",children:n},t))}))};function at({title:t,description:n,type:r="info",duration:l=3e3,action:p,onClose:c}){const[s,i]=a.useState(100);a.useEffect(()=>{if(l===1/0){i(100);return}let N=null;const M=I=>{N||(N=I);const x=I-N,u=Math.max(0,(l-x)/l*100);i(u),u>0?requestAnimationFrame(M):c?.()},L=requestAnimationFrame(M);return()=>cancelAnimationFrame(L)},[l,c]);const C={success:e.jsx(T.CheckCircle,{weight:"Bold",className:"w-5 h-5"}),error:e.jsx(T.CloseCircle,{weight:"Bold",className:"w-5 h-5"}),warning:e.jsx(T.DangerCircle,{weight:"Bold",className:"w-5 h-5"}),info:e.jsx(T.InfoCircle,{weight:"Bold",className:"w-5 h-5"}),loading:e.jsx(T.Refresh,{weight:"Bold",className:"w-5 h-5 animate-spin"})},y={bg:{success:"bg-green-50",error:"bg-red-50",warning:"bg-orange-50",info:"bg-blue-50",loading:"bg-slate-50"},line:{success:"bg-green-600",error:"bg-red-600",warning:"bg-orange-600",info:"bg-blue-600",loading:"bg-slate-600"},text:{success:"text-green-600",error:"text-red-600",warning:"text-orange-600",info:"text-blue-600",loading:"text-slate-600"},action:{success:"text-green-600",error:"text-red-600",warning:"text-orange-600",info:"text-blue-600",loading:"text-slate-600"}};return e.jsxs("div",{className:o("relative w-[300px] max-w-full overflow-hidden shadow-md rounded-lg","animate-in fade-in slide-in-from-top-2 duration-300",y.bg[r]),children:[e.jsx("div",{className:o("absolute bottom-0 left-0 h-1",y.line[r]),style:{width:`${s}%`,transition:"none"}}),e.jsx("div",{className:"p-4",children:e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:o("flex-shrink-0",y.text[r]),children:C[r]}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("h4",{className:"text-base font-medium mb-1",children:t}),n&&e.jsx("p",{className:"text-sm text-[#82828C]",children:n}),p&&e.jsx("div",{className:"mt-3",children:e.jsx("div",{className:o("underline font-medium text-sm",y.action[r]),children:p})})]}),e.jsx("button",{onClick:c,className:"flex-shrink-0 rounded-full transition cursor-pointer active:animate-spin",children:e.jsx(ce,{className:"w-6 h-6 text-slate-base"})})]})})]})}const ue=t=>{const n=rt++,r=()=>{const p=pe.findIndex(c=>c?.id===n);p!==-1&&(pe.splice(p,1),De())},l=e.jsx(at,{...t,onClose:r});return pe.push({id:n,element:l}),De(),t.duration!==1/0&&setTimeout(r,(t.duration||3e3)+300),{close:r}},ot={success:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"success",action:r}:{...t,type:"success"}),error:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"error",action:r}:{...t,type:"error"}),warning:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"warning",action:r}:{...t,type:"warning"}),info:(t,n,r)=>ue(typeof t=="string"?{title:t,description:n,type:"info",action:r}:{...t,type:"info"}),loading:(t,n)=>ue(typeof t=="string"?{title:t,description:n,type:"loading",duration:1/0}:{...t,type:"loading",duration:1/0})};function lt({content:t,children:n,position:r="top",delay:l=200,className:p}){const c={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},s={top:"left-1/2 -translate-x-1/2 top-full",bottom:"left-1/2 -translate-x-1/2 bottom-full",left:"top-1/2 -translate-y-1/2 left-full",right:"top-1/2 -translate-y-1/2 right-full"};return e.jsxs("div",{className:"group relative inline-block",children:[n,e.jsxs("div",{className:o("absolute z-50 rounded-md bg-slate-400 px-2 py-1 text-xs whitespace-nowrap text-white shadow-md","scale-95 opacity-0 transition-all group-hover:scale-100 group-hover:opacity-100","duration-200 ease-out group-hover:delay-200",c[r],p),style:{transitionDelay:`${l}ms`},children:[t,e.jsx("span",{className:o("absolute h-2 w-2 rotate-45 bg-slate-400",s[r])})]})]})}function nt({checked:t=!1,onChange:n,disabled:r=!1,variant:l="yellow",label:p,supportText:c,className:s}){const i=()=>{r||n?.(!t)},C={blue:{active:"bg-blue-600",hover:"hover:bg-blue-600",focus:"focus:shadow-blue"},yellow:{active:"bg-yellow-500",hover:"hover:bg-yellow-500",focus:"focus:ring-2 focus:ring-yellow-200"}};return e.jsxs("div",{className:o("flex items-start gap-3 select-none",s),children:[e.jsx("button",{type:"button",disabled:r,className:o("relative h-6 w-11 rounded-xl transition-all duration-300 outline-none cursor-pointer",t?C[l].active:"bg-slate-200",!r&&C[l].hover,!r&&C[l].focus,r&&"bg-slate-100 cursor-not-allowed"),onClick:i,children:e.jsx("span",{className:o("absolute top-1/2 left-0.5 h-5 w-5 -translate-y-1/2 rounded-full transition-all duration-300 bg-white",t&&"translate-x-5")})}),(p||c)&&e.jsxs("div",{className:"flex flex-col leading-tight",children:[p&&e.jsx("span",{className:o("text-base font-medium text-black"),children:p}),c&&e.jsx("span",{className:"text-sm font-normal text-slate-500",children:c})]})]})}const st=t=>G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 177 177",fill:"none",...t},G.createElement("path",{opacity:.083334,d:"M94.5 48.5C94.5 41.8726 91.8137 36.5 88.5 36.5C85.1863 36.5 82.5 41.8726 82.5 48.5C82.5 55.1274 85.1863 60.5 88.5 60.5C91.8137 60.5 94.5 55.1274 94.5 48.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.166667,d:"M113.697 56.8591C117.011 51.1196 117.371 45.1237 114.501 43.4668C111.631 41.8099 106.618 45.1196 103.305 50.8591C99.991 56.5986 99.6311 62.5946 102.501 64.2514C105.371 65.9083 110.383 62.5986 113.697 56.8591Z",fill:"currentColor"}),G.createElement("path",{opacity:.25,d:"M126.141 73.696C131.88 70.3823 135.19 65.3696 133.533 62.4999C131.876 59.6301 125.88 59.99 120.141 63.3037C114.401 66.6174 111.092 71.6301 112.749 74.4999C114.405 77.3696 120.401 77.0097 126.141 73.696Z",fill:"currentColor"}),G.createElement("path",{opacity:.333334,d:"M128.5 94.5C135.127 94.5 140.5 91.8137 140.5 88.5C140.5 85.1863 135.127 82.5 128.5 82.5C121.873 82.5 116.5 85.1863 116.5 88.5C116.5 91.8137 121.873 94.5 128.5 94.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.416667,d:"M120.141 113.696C125.88 117.01 131.876 117.37 133.533 114.5C135.19 111.63 131.88 106.617 126.141 103.304C120.401 99.99 114.405 99.6301 112.749 102.5C111.092 105.37 114.401 110.382 120.141 113.696Z",fill:"currentColor"}),G.createElement("path",{opacity:.5,d:"M103.303 126.141C106.617 131.88 111.629 135.19 114.499 133.533C117.369 131.876 117.009 125.88 113.695 120.141C110.382 114.401 105.369 111.092 102.499 112.749C99.6294 114.405 99.9893 120.401 103.303 126.141Z",fill:"currentColor"}),G.createElement("path",{opacity:.583334,d:"M82.5 128.5C82.5 135.127 85.1863 140.5 88.5 140.5C91.8137 140.5 94.5 135.127 94.5 128.5C94.5 121.873 91.8137 116.5 88.5 116.5C85.1863 116.5 82.5 121.873 82.5 128.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.666667,d:"M63.303 120.141C59.9893 125.88 59.6294 131.876 62.4992 133.533C65.3689 135.19 70.3816 131.88 73.6953 126.141C77.009 120.401 77.3689 114.405 74.4992 112.749C71.6294 111.092 66.6167 114.401 63.303 120.141Z",fill:"currentColor"}),G.createElement("path",{opacity:.75,d:"M50.8591 103.304C45.1196 106.618 41.8099 111.63 43.4668 114.5C45.1237 117.37 51.1196 117.01 56.8591 113.696C62.5986 110.383 65.9083 105.37 64.2514 102.5C62.5946 99.6304 56.5986 99.9903 50.8591 103.304Z",fill:"currentColor"}),G.createElement("path",{opacity:.833334,d:"M48.5 82.5C41.8726 82.5 36.5 85.1863 36.5 88.5C36.5 91.8137 41.8726 94.5 48.5 94.5C55.1274 94.5 60.5 91.8137 60.5 88.5C60.5 85.1863 55.1274 82.5 48.5 82.5Z",fill:"currentColor"}),G.createElement("path",{opacity:.916667,d:"M56.8591 63.304C51.1196 59.9903 45.1237 59.6304 43.4668 62.5001C41.8099 65.3699 45.1196 70.3826 50.8591 73.6963C56.5986 77.01 62.5946 77.3699 64.2514 74.5001C65.9083 71.6304 62.5986 66.6177 56.8591 63.304Z",fill:"currentColor"}),G.createElement("path",{d:"M73.697 50.8591C70.3833 45.1196 65.3706 41.8099 62.5008 43.4668C59.6311 45.1237 59.991 51.1196 63.3047 56.8591C66.6184 62.5986 71.6311 65.9083 74.5008 64.2514C77.3706 62.5946 77.0107 56.5986 73.697 50.8591Z",fill:"currentColor"}));function it({className:t,size:n=150,iconClassName:r,isLoading:l=!1,isFullPage:p=!0}){return l?e.jsx("div",{className:o("z-[99px] flex flex-col items-center justify-center transition-all duration-300",p?"fixed inset-0 backdrop-blur-[2px]":"absolute inset-0 w-full h-full rounded-[inherit]",t),children:e.jsx(st,{width:n,height:n,className:o("animate-spin",!r&&"text-yellow-500",r),style:{fill:"currentColor",stroke:"currentColor"}})}):null}const Ae=a.forwardRef(({label:t,placeholder:n="+998 (__) ___ __ __",size:r="base",error:l,disabled:p=!1,required:c=!1,value:s="",onChange:i,onFocus:C,onBlur:y,className:N,name:M,showIcon:L=!1},I)=>{const[x,u]=a.useState(!1),d=a.useCallback(F=>{let h=F.replace(/\D/g,"");h.startsWith("998")||(h="998"+h),h=h.substring(0,12);let E="+998";return h.length>3&&(E+=" ("+h.substring(3,5)),h.length>5&&(E+=") "+h.substring(5,8)),h.length>8&&(E+=" "+h.substring(8,10)),h.length>10&&(E+=" "+h.substring(10,12)),E},[]),v=F=>{const h=F.target.value;if(h.length<5){i?.("+998");return}const E=d(h);i?.(E)},w=()=>{u(!0),(!s||s==="")&&i?.("+998"),C?.()},f=()=>{u(!1),y?.()},m=a.useMemo(()=>({sm:{input:"h-9 text-sm",padding:L?"pl-8 pr-2":"px-2",iconSize:"w-4 h-4",iconLeft:"left-2",labelFont:"text-sm",iconWrapper:"h-4"},md:{input:"h-10 text-sm",padding:L?"pl-10 pr-4":"px-4",iconSize:"w-4 h-4",iconLeft:"left-3",labelFont:"text-base",iconWrapper:"h-4"},base:{input:"h-12 text-base",padding:L?"pl-11 pr-4":"px-4",iconSize:"w-5 h-5",iconLeft:"left-3",labelFont:"text-base",iconWrapper:"h-5"}}),[L]),z=a.useMemo(()=>l?"border-red-600 focus:border-red-600 shadow-red":"border-slate-200 hover:border-slate-400 focus:shadow-blue focus:border-blue-600",[l]),D=a.useMemo(()=>p?"text-slate-400":l?"text-red-600":x?"text-black":"text-slate-400",[l,x,p]);return e.jsxs("div",{className:o("w-full",N),children:[t&&e.jsxs("label",{className:o("mb-2 block font-medium transition-colors duration-200",l?"text-red-600":x?"text-blue-600":"text-slate-700",m[r].labelFont),children:[t,c&&e.jsx("span",{className:"text-red-600 ml-1",children:"*"})]}),e.jsxs("div",{className:"relative flex items-center",children:[L&&e.jsx("div",{className:o("absolute top-1/2 flex -translate-y-1/2 items-center justify-center transition-all duration-300",m[r].iconLeft,D),children:e.jsx("div",{className:o("flex items-center justify-center",m[r].iconWrapper),children:e.jsx(T.Phone,{className:o(m[r].iconSize),weight:"Linear"})})}),e.jsx("input",{ref:I,name:M,type:"tel",value:s,onChange:v,onFocus:w,onBlur:f,disabled:p,placeholder:n,className:o("w-full border bg-white font-normal transition-all duration-300 outline-none",r==="base"?"rounded-xl":"rounded-lg","disabled:bg-slate-100 disabled:text-slate-400 disabled:cursor-not-allowed",m[r].input,m[r].padding,z)})]}),l&&e.jsx("p",{className:"mt-2 animate-slide-up text-sm font-normal text-red-600",children:l})]})});Ae.displayName="MciPhone";const Ee=a.forwardRef(({mode:t,onChange:n,value:r,...l},p)=>{const[c,s]=a.useState(""),i=r!==void 0?r:c,C=x=>{const u=x.replace(/\s/g,"").toUpperCase();let d="";for(let v=0;v<u.length;v++){const w=u[v];if(d.length<2?/[A-Z]/.test(w)&&(d+=w):/[0-9]/.test(w)&&(d+=w),d.length>=9)break}return d.length>2?d.slice(0,2)+" "+d.slice(2):d},y=x=>x.replace(/\D/g,"").slice(0,14),N=x=>x.toUpperCase().replace(/[^A-Z0-9\-\s]/g,"").replace(/\s+/g," ").slice(0,15),M=a.useCallback(x=>{const u=x.target.value;let d="";t==="passport"?d=C(u):t==="pinfl"?d=y(u):t==="metirka"&&(d=N(u)),r===void 0&&s(d),x.target.value=d,n?.(d,x)},[t,n,r]),L=()=>{if(l.placeholder)return l.placeholder;switch(t){case"passport":return"AA 1234567";case"pinfl":return"12345678901234";case"metirka":return"I-TN 1234567";default:return""}},I=()=>{if(l.maxLength)return l.maxLength;switch(t){case"passport":return 10;case"pinfl":return 14;case"metirka":return 15;default:return 255}};return e.jsx(ge,{ref:p,...l,value:i,onChange:M,maxLength:I(),placeholder:L()})});Ee.displayName="MciIdentityInput";function ct({open:t,onClose:n,columns:r,hidden:l,onToggle:p,onMove:c}){const s=a.useRef(null),{handleClick:i}=he(s,n);a.useEffect(()=>{if(t)return document.addEventListener("mousedown",i),()=>document.removeEventListener("mousedown",i)},[t,i]);const C=a.useMemo(()=>new Set(l),[l]),y=a.useRef(null),N=a.useRef(null),M=a.useRef(!1),[L,I]=a.useState(null),[x,u]=a.useState(null),d=a.useRef(null),v=a.useCallback(z=>{N.current=z,d.current==null&&(d.current=requestAnimationFrame(()=>{d.current=null,I(N.current)}))},[]);a.useEffect(()=>()=>{d.current!=null&&cancelAnimationFrame(d.current)},[]);const w=a.useCallback(z=>{M.current=!0,y.current=z,u(r[z]?.key??null)},[r]),f=a.useCallback(()=>{M.current=!1},[]);a.useEffect(()=>{if(t)return document.addEventListener("mouseup",f),()=>document.removeEventListener("mouseup",f)},[t,f]);const m=a.useCallback(()=>{y.current=null,M.current=!1,u(null),v(null)},[v]);return t?e.jsxs("div",{ref:s,className:o("absolute right-0 top-full z-50 mt-2 w-[320px]","rounded-2xl p-4 bg-white","border border-slate-200"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("h4",{className:"text-slate-600 text-large font-normal",children:"Settings"}),e.jsx("button",{type:"button",onClick:n,className:"rounded-lg px-2 py-1 text-slate-500 hover:bg-slate-100","aria-label":"Close",children:"✕"})]}),e.jsx("div",{className:"my-4 h-px bg-slate-100"}),e.jsx("div",{className:o("max-h-[275px] overflow-auto","[&::-webkit-scrollbar]:w-1.5","[&::-webkit-scrollbar-track]:bg-transparent","[&::-webkit-scrollbar-thumb]:bg-slate-200","[&::-webkit-scrollbar-thumb]:rounded-full","hover:[&::-webkit-scrollbar-thumb]:bg-slate-300"),children:r.map((z,D)=>{const F=!C.has(z.key),h=L===D,E=x===z.key;return e.jsxs("div",{children:[e.jsxs("div",{draggable:!0,onDragStart:j=>{if(!M.current){j.preventDefault();return}j.dataTransfer.setData("text/plain",String(D)),j.dataTransfer.effectAllowed="move",u(z.key),v(null);const B=new Image;B.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",j.dataTransfer.setDragImage(B,0,0)},onDragOver:j=>{y.current!=null&&(j.preventDefault(),j.dataTransfer.dropEffect="move",v(D))},onDragLeave:()=>{N.current===D&&v(null)},onDrop:j=>{j.preventDefault();const B=y.current??Number(j.dataTransfer.getData("text/plain"));Number.isFinite(B)&&B!==D&&c(B,D),m()},onDragEnd:m,className:o("group flex items-center py-2 px-1 gap-4","rounded-md box-border overflow-visible","transition-[background,transform] duration-150",!E&&!h&&"hover:bg-slate-50",h&&!E&&"bg-slate-50 ",E&&"bg-slate-50 opacity-100 scale-[0.99] cursor-grabbing"),children:[e.jsx("button",{type:"button",onMouseDown:()=>w(D),className:o("shrink-0 text-slate-400","cursor-grab active:cursor-grabbing","rounded-lg p-1 hover:bg-slate-100",E&&"cursor-grabbing"),"aria-label":"Drag",children:e.jsx(T.TransferVertical,{weight:"Linear",size:20})}),e.jsx("div",{className:"shrink-0",children:e.jsx(de,{checked:F,onChange:()=>p(z.key),variant:"blue"})}),e.jsx("div",{className:"min-w-0 flex-1",children:e.jsx("h4",{className:"truncate text-slate-700 text-base font-medium",title:z.title,children:z.title})})]}),D!==r.length-1&&e.jsx("div",{className:"mx-2 h-px bg-slate-100"})]},z.key)})})]}):null}const Fe=t=>Array.isArray(t)&&t.every(n=>typeof n=="string"),dt=t=>{if(!t)return null;try{const n=JSON.parse(t);if(typeof n!="object"||n===null)return null;const r=n;return!Fe(r.order)||!Fe(r.hidden)?null:{order:r.order,hidden:r.hidden}}catch{return null}},oe=t=>{const n=new Set,r=[];for(const l of t)n.has(l)||(n.add(l),r.push(l));return r};function ut(t){const{storageKey:n,columns:r,defaultVisibleKeys:l,defaultOrder:p}=t,c=a.useMemo(()=>r.map(u=>String(u.key)),[r]),s=a.useMemo(()=>new Set(c),[c]),[i,C]=a.useState(()=>{if(typeof window>"u"){const D=p?.map(String)??c,F=l&&l.length?c.filter(h=>!new Set(l.map(String)).has(h)):[];return{order:oe(D),hidden:oe(F)}}const u=dt(window.localStorage.getItem(n)),d=p?.map(String)??c,v=oe(d),w=oe((u?.order??[]).filter(D=>s.has(D))),f=oe([...w,...v.filter(D=>!w.includes(D)),...c.filter(D=>!w.includes(D)&&!v.includes(D))]),m=oe((u?.hidden??[]).filter(D=>s.has(D))),z=m.length===0&&l&&l.length?c.filter(D=>!new Set(l.map(String)).has(D)):m;return{order:f,hidden:oe(z)}});a.useEffect(()=>{if(!(typeof window>"u"))try{window.localStorage.setItem(n,JSON.stringify(i))}catch{}},[n,i]),a.useEffect(()=>{C(u=>{const d=oe([...u.order.filter(m=>s.has(m)),...c.filter(m=>!u.order.includes(m))]),v=oe(u.hidden.filter(m=>s.has(m))),w=d.length===u.order.length&&d.every((m,z)=>m===u.order[z]),f=v.length===u.hidden.length&&v.every((m,z)=>m===u.hidden[z]);return w&&f?u:{order:d,hidden:v}})},[c,s]);const y=a.useMemo(()=>new Set(i.hidden),[i.hidden]),N=a.useMemo(()=>{const u=new Map;return i.order.forEach((v,w)=>u.set(v,w)),[...r.filter(v=>!y.has(String(v.key)))].sort((v,w)=>{const f=u.get(String(v.key))??Number.MAX_SAFE_INTEGER,m=u.get(String(w.key))??Number.MAX_SAFE_INTEGER;return f-m})},[r,y,i.order]),M=a.useMemo(()=>i.hidden.filter(u=>s.has(u)),[i.hidden,s]),L=a.useCallback(u=>{const d=String(u);C(v=>{const f=v.hidden.includes(d)?v.hidden.filter(m=>m!==d):[...v.hidden,d];return{...v,hidden:oe(f)}})},[]),I=a.useCallback((u,d)=>{C(v=>{const w=v.order.slice();if(u<0||d<0||u>=w.length||d>=w.length)return v;const[f]=w.splice(u,1);return w.splice(d,0,f),{...v,order:w}})},[]),x=a.useCallback(()=>{C(()=>{const u=oe(p?.map(String)??c),d=l&&l.length?oe(c.filter(v=>!new Set(l.map(String)).has(v))):[];return{order:u,hidden:d}})},[p,l,c]);return{orderedColumns:N,hiddenKeys:M,toggleColumn:L,moveColumn:I,reset:x}}O.MciBreadcrumb=Be,O.MciButton=We,O.MciCheck=de,O.MciCollapse=Ye,O.MciDrawer=Ve,O.MciIdentityInput=Ee,O.MciInput=ge,O.MciLoader=it,O.MciModal=Je,O.MciPagination=Ge,O.MciPhone=Ae,O.MciPicker=Ne,O.MciSelect=Ce,O.MciSkeleton=xe,O.MciTable=qe,O.MciTableColumnsPanel=ct,O.MciTabs=Xe,O.MciTag=et,O.MciTextarea=Se,O.MciToast=ot,O.MciToggle=nt,O.MciTooltip=lt,O.MciUpload=Ke,O.useTableColumnSettings=ut,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})}));
|