@jerry-fd/ui 0.2.0 → 0.3.0

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/chunk-W5W7SZNA.js DELETED
@@ -1,3 +0,0 @@
1
- import {b,c as c$1}from'./chunk-75LTHX75.js';import {DatePicker,Checkbox,Radio,ConfigProvider,Input,InputNumber}from'antd';import {extendTailwindMerge}from'tailwind-merge';import {createTV,cn}from'tailwind-variants';import N from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {Slot,Separator,Popover}from'radix-ui';import {Command}from'cmdk';import {m,AnimatePresence}from'motion/react';import to from'react-use-measure';function wt(t,{insertAt:e}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",e==="top"&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t));}wt(`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */:root:not(#\\#),:host:not(#\\#){--color-red-500: rgb(251, 44, 54);--color-orange-500: rgb(252, 113, 0);--color-green-500: rgb(0, 198, 90);--color-teal-500: rgb(0, 185, 166);--color-purple-300: rgb(216, 180, 255);--color-pink-500: rgb(246, 51, 154);--color-neutral-50: hsl(216deg, 33.33%, 97.06%);--color-neutral-200: hsl(220deg, 17.65%, 90%);--color-neutral-300: hsl(218.57deg, 15.22%, 81.96%);--color-neutral-400: hsl(220deg, 11.48%, 64.12%);--color-neutral-600: hsl(222deg, 10.87%, 36.08%);--color-neutral-800: hsl(227.14deg, 17.07%, 16.08%);--color-neutral-950: hsl(221.54deg, 31.71%, 8.04%);--color-white: #fff;--spacing: 1px;--container-2xs: 18rem;--container-lg: 32rem;--container-xl: 36rem;--tracking-tight: -.025em;--tracking-widest: .1em;--radius-sm: .25rem;--radius-lg: .5rem;--radius-xl: .75rem;--radius-2xl: 1rem;--ease-out: cubic-bezier(0, 0, .2, 1);--animate-spin: spin 1s linear infinite;--animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration: .15s;--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);--color-neutral-0: hsl(0deg, 0%, 100%);--color-bg-strong: var(--color-neutral-950);--color-bg-surface: var(--color-neutral-800);--color-bg-soft: var(--color-neutral-200);--color-bg-weak: var(--color-neutral-50);--color-bg-white: var(--color-neutral-0);--color-bg-antd: var(--antd-border-secondary);--color-text-strong: var(--color-neutral-950);--color-text-sub: var(--color-neutral-600);--color-text-soft: var(--color-neutral-400);--color-text-disabled: var(--color-neutral-300);--color-text-white: var(--color-neutral-0);--color-stroke-soft: var(--color-neutral-200);--color-stroke-antd: var(--antd-border-secondary);--text-title-h1: 5.6rem;--text-title-h1--line-height: 6.4rem;--text-title-h1--letter-spacing: -.01em;--text-title-h1--font-weight: 500;--text-title-h2: 4.8rem;--text-title-h2--line-height: 5.6rem;--text-title-h2--letter-spacing: -.01em;--text-title-h2--font-weight: 500;--text-title-h3: 4rem;--text-title-h3--line-height: 4.8rem;--text-title-h3--letter-spacing: -.01em;--text-title-h3--font-weight: 500;--text-title-h4: 3.2rem;--text-title-h4--line-height: 4rem;--text-title-h4--letter-spacing: -.005em;--text-title-h4--font-weight: 500;--text-title-h5: 2.4rem;--text-title-h5--line-height: 3.2rem;--text-title-h5--letter-spacing: 0em;--text-title-h5--font-weight: 500;--text-title-h6: 1.8rem;--text-title-h6--line-height: 2.6rem;--text-title-h6--letter-spacing: 0em;--text-title-h6--font-weight: 500;--text-label-xl: 2.4rem;--text-label-xl--line-height: 3.2rem;--text-label-xl--letter-spacing: -.015em;--text-label-xl--font-weight: 500;--text-label-lg: 1.8rem;--text-label-lg--line-height: 2.4rem;--text-label-lg--letter-spacing: -.015em;--text-label-lg--font-weight: 500;--text-label-md: 1.6rem;--text-label-md--line-height: 2.4rem;--text-label-md--letter-spacing: -.011em;--text-label-md--font-weight: 500;--text-label-sm: 1.4rem;--text-label-sm--line-height: 2rem;--text-label-sm--letter-spacing: -.006em;--text-label-sm--font-weight: 500;--text-label-xs: 1.2rem;--text-label-xs--line-height: 1.6rem;--text-label-xs--letter-spacing: 0em;--text-label-xs--font-weight: 500;--text-paragraph-xl: 2.4rem;--text-paragraph-xl--line-height: 3.2rem;--text-paragraph-xl--letter-spacing: -.015em;--text-paragraph-xl--font-weight: 400;--text-paragraph-lg: 1.8rem;--text-paragraph-lg--line-height: 2.4rem;--text-paragraph-lg--letter-spacing: -.015em;--text-paragraph-lg--font-weight: 400;--text-paragraph-md: 1.6rem;--text-paragraph-md--line-height: 2.4rem;--text-paragraph-md--letter-spacing: -.011em;--text-paragraph-md--font-weight: 400;--text-paragraph-sm: 1.4rem;--text-paragraph-sm--line-height: 2rem;--text-paragraph-sm--letter-spacing: -.006em;--text-paragraph-sm--font-weight: 400;--text-paragraph-xs: 1.2rem;--text-paragraph-xs--line-height: 1.6rem;--text-paragraph-xs--letter-spacing: 0em;--text-paragraph-xs--font-weight: 400;--text-subheading-md: 1.6rem;--text-subheading-md--line-height: 2.4rem;--text-subheading-md--letter-spacing: .06em;--text-subheading-md--font-weight: 500;--text-subheading-sm: 1.4rem;--text-subheading-sm--line-height: 2rem;--text-subheading-sm--letter-spacing: .06em;--text-subheading-sm--font-weight: 500;--text-subheading-xs: 1.2rem;--text-subheading-xs--line-height: 1.6rem;--text-subheading-xs--letter-spacing: .04em;--text-subheading-xs--font-weight: 500;--text-subheading-2xs: 1.1rem;--text-subheading-2xs--line-height: 1.2rem;--text-subheading-2xs--letter-spacing: .02em;--text-subheading-2xs--font-weight: 500;--root-font-size: 10px}@supports (color: color(display-p3 0 0 0%)){:root:not(#\\#),:host:not(#\\#){--color-orange-500: rgb(252, 113, 0);--color-green-500: rgb(0, 198, 90);--color-teal-500: rgb(0, 185, 166);--color-purple-300: rgb(216, 180, 255)}@media(color-gamut:p3){:root:not(#\\#),:host:not(#\\#){--color-orange-500: color(display-p3 .94659 .44979 .07573);--color-green-500: color(display-p3 .30873 .77475 .37431);--color-teal-500: color(display-p3 .26657 .72152 .65546);--color-purple-300: color(display-p3 .82939 .70374 .99608)}}}.pointer-events-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){pointer-events:none}.visible:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){visibility:visible}.sr-only:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border-width:0}.absolute:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){position:absolute}.relative:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){position:relative}.static:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){position:static}.inset-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(var(--spacing) * 0);right:calc(var(--spacing) * 0);bottom:calc(var(--spacing) * 0);left:calc(var(--spacing) * 0)}.top-16:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(var(--spacing) * 16)}.right-16:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){right:calc(var(--spacing) * 16)}.z-1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){z-index:1}.z-50:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){z-index:50}.container:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:100%}.m-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin:calc(var(--spacing) * 0)}.-mx-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-left:calc(var(--spacing) * -4);margin-right:calc(var(--spacing) * -4)}.-mx-12:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-left:calc(var(--spacing) * -12);margin-right:calc(var(--spacing) * -12)}.mx-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-left:calc(var(--spacing) * 4);margin-right:calc(var(--spacing) * 4)}.my-12:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(var(--spacing) * 12);margin-bottom:calc(var(--spacing) * 12)}.-mr-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-right:calc(var(--spacing) * -4)}.mr-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-right:calc(var(--spacing) * 4)}.-ml-2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-left:calc(var(--spacing) * -2)}.ml-auto:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-left:auto}.flex:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){display:flex}.grid:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){display:grid}.hidden:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){display:none}.inline:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){display:inline}.inline-flex:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){display:inline-flex}.table:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){display:table}.size-10:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-11:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-16:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.size-18:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 18);height:calc(var(--spacing) * 18)}.size-24:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 24);height:calc(var(--spacing) * 24)}.h-10:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 10)}.h-12:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 12)}.h-22:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 22)}.h-26:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 26)}.h-28:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 28)}.h-32:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 32)}.h-36:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 36)}.h-40:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 40)}.h-56:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing) * 56)}.h-\\[1px\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1px}.h-full:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:100%}.h-px:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1px}.h-screen:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:100vh}.max-h-256:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:calc(var(--spacing) * 256)}.max-h-300:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:calc(var(--spacing) * 300)}.max-h-fit:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:fit-content}.w-1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 1)}.w-24:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 24)}.w-28:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(var(--spacing) * 28)}.w-\\[1px\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:1px}.w-\\[20\\%\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:20%}.w-\\[60\\%\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:60%}.w-\\[calc\\(100\\%\\+24px\\)\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(100% + 24px)}.w-fit:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:fit-content}.w-full:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:100%}.w-max:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:max-content}.max-w-2xs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:var(--container-2xs)}.max-w-xl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:var(--container-xl)}.min-w-288:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:calc(var(--spacing) * 288)}.min-w-lg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--container-lg)}.flex-1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){flex:1}.shrink-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){flex-shrink:0}.-translate-x-1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-translate-x: calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-\\[calc\\(50\\%\\+1px\\)\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-translate-y: calc((50% + 1px)*-1) ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-45:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){rotate:-45deg}.transform:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation:none}.animate-pulse:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation:var(--animate-pulse)}.animate-spin:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation:var(--animate-spin)}.cursor-not-allowed:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){cursor:not-allowed}.scroll-py-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){scroll-padding-block:calc(var(--spacing) * 4)}.flex-col:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){flex-direction:column}.flex-wrap:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){flex-wrap:wrap}.items-center:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){align-items:center}.justify-between:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){justify-content:space-between}.justify-center:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){justify-content:center}.gap-2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){gap:calc(var(--spacing) * 2)}.gap-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){gap:calc(var(--spacing) * 4)}.gap-5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){gap:calc(var(--spacing) * 5)}.gap-6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){gap:calc(var(--spacing) * 6)}.gap-8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){gap:calc(var(--spacing) * 8)}.gap-12:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){gap:calc(var(--spacing) * 12)}.space-y-16:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){:where(&>:not(:last-child)):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-space-y-reverse: 0;margin-top:calc(calc(var(--spacing) * 16) * var(--tw-space-y-reverse));margin-bottom:calc(calc(var(--spacing) * 16) * calc(1 - var(--tw-space-y-reverse)))}}.space-y-30:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){:where(&>:not(:last-child)):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-space-y-reverse: 0;margin-top:calc(calc(var(--spacing) * 30) * var(--tw-space-y-reverse));margin-bottom:calc(calc(var(--spacing) * 30) * calc(1 - var(--tw-space-y-reverse)))}}.overflow-hidden:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow:hidden}.overflow-x-hidden:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-x:hidden}.overflow-y-auto:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-y:auto}.rounded-2xl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:var(--radius-2xl)}.rounded-\\[6px\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:6px}.rounded-\\[8px\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:8px}.rounded-full:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:calc(infinity * 1px)}.rounded-lg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:var(--radius-lg)}.rounded-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:0}.rounded-sm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:var(--radius-sm)}.rounded-xl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-radius:var(--radius-xl)}.rounded-r-full:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-right-radius:calc(infinity * 1px);border-bottom-right-radius:calc(infinity * 1px)}.rounded-bl-\\[3px\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-left-radius:3px}.border:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-style:var(--tw-border-style);border-width:1px}.border-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-style:var(--tw-border-style);border-width:0px}.border-t:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-style:var(--tw-border-style);border-top-width:1px}.border-b:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-border-style: none;border-style:none}.border-stroke-antd:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-color:var(--color-stroke-antd)}.border-stroke-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-color:var(--color-stroke-soft)}.border-transparent:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-color:transparent}.bg-\\[\\#f0f2f5\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:#f0f2f5}.bg-bg-antd:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-antd)}.bg-bg-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-soft)}.bg-bg-strong:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-strong)}.bg-bg-weak:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-weak)}.bg-bg-white:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-white)}.bg-green-500:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-green-500)}.bg-orange-500:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-orange-500)}.bg-pink-500:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-pink-500)}.bg-purple-300:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-purple-300)}.bg-red-500:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-red-500)}.bg-stroke-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-stroke-soft)}.bg-teal-500:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-teal-500)}.bg-transparent:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:transparent}.bg-transparent\\!:not(#\\#){background-color:transparent!important}.p-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding:calc(var(--spacing) * 0)}.p-0\\!:not(#\\#){padding:calc(var(--spacing) * 0)!important}.p-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding:calc(var(--spacing) * 4)}.p-6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding:calc(var(--spacing) * 6)}.p-12:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding:calc(var(--spacing) * 12)}.p-16:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding:calc(var(--spacing) * 16)}.p-20:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding:calc(var(--spacing) * 20)}.px-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 4);padding-right:calc(var(--spacing) * 4)}.px-6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 6);padding-right:calc(var(--spacing) * 6)}.px-8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 8);padding-right:calc(var(--spacing) * 8)}.px-10:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 10);padding-right:calc(var(--spacing) * 10)}.px-12:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 12);padding-right:calc(var(--spacing) * 12)}.px-14:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 14);padding-right:calc(var(--spacing) * 14)}.py-4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--spacing) * 4);padding-bottom:calc(var(--spacing) * 4)}.py-6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--spacing) * 6);padding-bottom:calc(var(--spacing) * 6)}.py-12:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--spacing) * 12);padding-bottom:calc(var(--spacing) * 12)}.py-16:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--spacing) * 16);padding-bottom:calc(var(--spacing) * 16)}.py-24:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--spacing) * 24);padding-bottom:calc(var(--spacing) * 24)}.ps-10:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 10)}.pe-6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-right:calc(var(--spacing) * 6)}.pt-6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--spacing) * 6)}.pb-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--spacing) * 0)}.pb-5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--spacing) * 5)}.pb-8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--spacing) * 8)}.text-center:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){text-align:center}.text-label-lg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-lg);line-height:var(--tw-leading, var(--text-label-lg--line-height));letter-spacing:var(--tw-tracking, var(--text-label-lg--letter-spacing));font-weight:var(--tw-font-weight, var(--text-label-lg--font-weight))}.text-label-md:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-md);line-height:var(--tw-leading, var(--text-label-md--line-height));letter-spacing:var(--tw-tracking, var(--text-label-md--letter-spacing));font-weight:var(--tw-font-weight, var(--text-label-md--font-weight))}.text-label-sm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-sm);line-height:var(--tw-leading, var(--text-label-sm--line-height));letter-spacing:var(--tw-tracking, var(--text-label-sm--letter-spacing));font-weight:var(--tw-font-weight, var(--text-label-sm--font-weight))}.text-label-xs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-xs);line-height:var(--tw-leading, var(--text-label-xs--line-height));letter-spacing:var(--tw-tracking, var(--text-label-xs--letter-spacing));font-weight:var(--tw-font-weight, var(--text-label-xs--font-weight))}.text-paragraph-sm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-paragraph-sm);line-height:var(--tw-leading, var(--text-paragraph-sm--line-height));letter-spacing:var(--tw-tracking, var(--text-paragraph-sm--letter-spacing));font-weight:var(--tw-font-weight, var(--text-paragraph-sm--font-weight))}.text-title-h1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-title-h1);line-height:var(--tw-leading, var(--text-title-h1--line-height));letter-spacing:var(--tw-tracking, var(--text-title-h1--letter-spacing));font-weight:var(--tw-font-weight, var(--text-title-h1--font-weight))}.text-\\[16px\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:16px}.leading-16:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-leading: calc(var(--spacing) * 16);line-height:calc(var(--spacing) * 16)}.tracking-tight:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-tracking: var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-widest:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-tracking: var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){white-space:nowrap}.text-\\(--focus-outline-color\\):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--focus-outline-color)}.text-text-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-soft)}.text-text-strong:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-strong)}.text-text-sub:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-sub)}.text-text-white:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-white)}.text-transparent:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:transparent}.tabular-nums:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-numeric-spacing: tabular-nums;font-feature-settings:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:0}.opacity-50:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:.5}.opacity-100:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:1}.shadow-regular-md:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-shadow: 0 16px 32px -12px var(--tw-shadow-color, #0e121b1a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + 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)}.ring-stroke-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-ring-color: var(--color-stroke-soft)}.ring-transparent:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-ring-color: transparent}.outline-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){outline-style:var(--tw-outline-style);outline-width:0px}.filter:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){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))}.duration-200:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-duration: .2s;transition-duration:.2s}.ease-out:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-ease: var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-outline-style: none;outline-style:none}.select-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){-webkit-user-select:none;user-select:none}.\\[clip-path\\:polygon\\(0_100\\%\\,0_0\\,100\\%_100\\%\\)\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){-webkit-clip-path:polygon(0 100%,0 0,100% 100%);clip-path:polygon(0 100%,0 0,100% 100%)}.group-aria-selected\\:text-text-sub:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){[aria-selected=true]:where(.group):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) *&{color:var(--color-text-sub)}}.group-data-\\[selected\\=true\\]\\:opacity-100:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){[data-selected=true]:where(.group):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) *&{opacity:1}}.first\\:border-l:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-left-style:var(--tw-border-style);border-left-width:1px}}.last\\:border-r:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:last-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-right-style:var(--tw-border-style);border-right-width:1px}}.hover\\:border-stroke-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:hover:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-color:var(--color-stroke-soft)}}.hover\\:bg-bg-surface:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:hover:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-surface)}}.hover\\:bg-bg-weak:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:hover:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-weak)}}.hover\\:text-text-strong:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:hover:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-strong)}}.hover\\:underline:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:hover:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){-webkit-text-decoration-line:underline;text-decoration-line:underline}}.focus-visible\\:bg-bg-white:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:focus-visible:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-white)}}.focus-visible\\:text-text-strong:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:focus-visible:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-strong)}}.focus-visible\\:outline-2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:focus-visible:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){outline-style:var(--tw-outline-style);outline-width:2px}}.focus-visible\\:outline-offset-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:focus-visible:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){outline-offset:0px}}.focus-visible\\:outline-offset-1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:focus-visible:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){outline-offset:1px}}.focus-visible\\:outline-\\(--focus-outline-color\\):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:focus-visible:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}}.active\\:scale-\\[0\\.98\\]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&.active:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){scale:.98}}.active\\:border-stroke-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&.active:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-color:var(--color-stroke-soft)}}.active\\:bg-bg-surface:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&.active:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-surface)}}.active\\:bg-bg-weak:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&.active:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-weak)}}.disabled\\:pointer-events-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:disabled:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){pointer-events:none}}.disabled\\:cursor-not-allowed:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:disabled:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){cursor:not-allowed}}.disabled\\:text-text-disabled:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:disabled:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-disabled)}}.disabled\\:opacity-50:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:disabled:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:.5}}.disabled\\:opacity-60:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:disabled:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:.6}}.disabled\\:ring-transparent:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:disabled:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-ring-color: transparent}}.data-disabled\\:pointer-events-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-disabled]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){pointer-events:none}}.data-disabled\\:opacity-60:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-disabled]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:.6}}.data-disabled\\:ring-transparent:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-disabled]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-ring-color: transparent}}.data-\\[disabled\\=true\\]\\:pointer-events-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-disabled=true]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){pointer-events:none}}.data-\\[disabled\\=true\\]\\:opacity-50:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-disabled=true]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:.5}}.data-\\[selected\\=true\\]\\:bg-bg-weak:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-selected=true]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-bg-weak)}}.data-\\[selected\\=true\\]\\:text-text-strong:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-selected=true]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-strong)}}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-side=bottom]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-enter-translate-y: calc(2*var(--spacing)*-1)}}.data-\\[side\\=left\\]\\:slide-in-from-right-2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-side=left]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-enter-translate-x: calc(2*var(--spacing))}}.data-\\[side\\=right\\]\\:slide-in-from-left-2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-side=right]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-enter-translate-x: calc(2*var(--spacing)*-1)}}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-side=top]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-enter-translate-y: calc(2*var(--spacing))}}.data-\\[state\\=checked\\]\\:opacity-100:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-state=checked]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:1}}.data-\\[state\\=closed\\]\\:animate-out:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-state=closed]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}}.data-\\[state\\=closed\\]\\:fade-out-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-state=closed]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-exit-opacity: 0 ;--tw-exit-opacity: 0}}.data-\\[state\\=closed\\]\\:zoom-out-95:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-state=closed]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-exit-scale: 95% ;--tw-exit-scale: .95}}.data-\\[state\\=open\\]\\:animate-in:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-state=open]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}}.data-\\[state\\=open\\]\\:fade-in-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-state=open]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-enter-opacity: 0 ;--tw-enter-opacity: 0}}.data-\\[state\\=open\\]\\:zoom-in-95:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&[data-state=open]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--tw-enter-scale: 95% ;--tw-enter-scale: .95}}.\\[\\&_\\.ant-pagination-total-text\\]\\:mr-auto:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) .ant-pagination-total-text{margin-right:auto}}.\\[\\&_\\.ant-picker-panel\\>\\*\\]\\:min-w-272:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) .ant-picker-panel>*{min-width:calc(var(--spacing) * 272)}}.\\[\\&_\\.ant-picker-panel\\>\\*\\]\\:min-w-288:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) .ant-picker-panel>*{min-width:calc(var(--spacing) * 288)}}.\\[\\&_\\.ant-picker-panel\\>\\*\\]\\:min-w-401:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) .ant-picker-panel>*{min-width:calc(var(--spacing) * 401)}}.\\[\\&_\\.ant-picker-panels\\]\\:gap-8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) .ant-picker-panels{gap:calc(var(--spacing) * 8)}}.\\[\\&_svg\\]\\:pointer-events-none:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) svg{pointer-events:none}}.\\[\\&_svg\\]\\:shrink-0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) svg{flex-shrink:0}}.\\*\\*\\:\\[\\[cmdk-group-heading\\]\\]\\:px-8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) *{&[cmdk-group-heading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-left:calc(var(--spacing) * 8);padding-right:calc(var(--spacing) * 8)}}}.\\*\\*\\:\\[\\[cmdk-group-heading\\]\\]\\:py-6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) *{&[cmdk-group-heading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--spacing) * 6);padding-bottom:calc(var(--spacing) * 6)}}}.\\*\\*\\:\\[\\[cmdk-group-heading\\]\\]\\:text-label-xs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) *{&[cmdk-group-heading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-xs);line-height:var(--tw-leading, var(--text-label-xs--line-height));letter-spacing:var(--tw-tracking, var(--text-label-xs--letter-spacing));font-weight:var(--tw-font-weight, var(--text-label-xs--font-weight))}}}.\\*\\*\\:\\[\\[cmdk-group-heading\\]\\]\\:text-text-soft:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) *{&[cmdk-group-heading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-soft)}}}@property --tw-animation-delay{syntax: "*"; inherits: false; initial-value: 0s;}@property --tw-animation-direction{syntax: "*"; inherits: false; initial-value: normal;}@property --tw-animation-duration{syntax: "*"; inherits: false;}@property --tw-animation-fill-mode{syntax: "*"; inherits: false; initial-value: none;}@property --tw-animation-iteration-count{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-enter-blur{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-enter-opacity{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-enter-rotate{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-enter-scale{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-enter-translate-x{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-enter-translate-y{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-exit-blur{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-exit-opacity{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-exit-rotate{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-exit-scale{syntax: "*"; inherits: false; initial-value: 1;}@property --tw-exit-translate-x{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-exit-translate-y{syntax: "*"; inherits: false; initial-value: 0;}:root:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){--focus-outline-color: var(--ui-focus-outline-color, #1890ff);--antd-border-secondary: var(--ant-color-border-secondary, #f0f0f0)}.text-title-h1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-title-h1);line-height:var(--text-title-h1--line-height);letter-spacing:var(--text-title-h1--letter-spacing);font-weight:var(--text-title-h1--font-weight)}.text-title-h2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-title-h2);line-height:var(--text-title-h2--line-height);letter-spacing:var(--text-title-h2--letter-spacing);font-weight:var(--text-title-h2--font-weight)}.text-title-h3:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-title-h3);line-height:var(--text-title-h3--line-height);letter-spacing:var(--text-title-h3--letter-spacing);font-weight:var(--text-title-h3--font-weight)}.text-title-h4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-title-h4);line-height:var(--text-title-h4--line-height);letter-spacing:var(--text-title-h4--letter-spacing);font-weight:var(--text-title-h4--font-weight)}.text-title-h5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-title-h5);line-height:var(--text-title-h5--line-height);letter-spacing:var(--text-title-h5--letter-spacing);font-weight:var(--text-title-h5--font-weight)}.text-title-h6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-title-h6);line-height:var(--text-title-h6--line-height);letter-spacing:var(--text-title-h6--letter-spacing);font-weight:var(--text-title-h6--font-weight)}.text-label-xl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-xl);line-height:var(--text-label-xl--line-height);letter-spacing:var(--text-label-xl--letter-spacing);font-weight:var(--text-label-xl--font-weight)}.text-label-lg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-lg);line-height:var(--text-label-lg--line-height);letter-spacing:var(--text-label-lg--letter-spacing);font-weight:var(--text-label-lg--font-weight)}.text-label-md:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-md);line-height:var(--text-label-md--line-height);letter-spacing:var(--text-label-md--letter-spacing);font-weight:var(--text-label-md--font-weight)}.text-label-sm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-sm);line-height:var(--text-label-sm--line-height);letter-spacing:var(--text-label-sm--letter-spacing);font-weight:var(--text-label-sm--font-weight)}.text-label-xs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-xs);line-height:var(--text-label-xs--line-height);letter-spacing:var(--text-label-xs--letter-spacing);font-weight:var(--text-label-xs--font-weight)}.text-paragraph-xl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-paragraph-xl);line-height:var(--text-paragraph-xl--line-height);letter-spacing:var(--text-paragraph-xl--letter-spacing);font-weight:var(--text-paragraph-xl--font-weight)}.text-paragraph-lg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-paragraph-lg);line-height:var(--text-paragraph-lg--line-height);letter-spacing:var(--text-paragraph-lg--letter-spacing);font-weight:var(--text-paragraph-lg--font-weight)}.text-paragraph-md:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-paragraph-md);line-height:var(--text-paragraph-md--line-height);letter-spacing:var(--text-paragraph-md--letter-spacing);font-weight:var(--text-paragraph-md--font-weight)}.text-paragraph-sm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-paragraph-sm);line-height:var(--text-paragraph-sm--line-height);letter-spacing:var(--text-paragraph-sm--letter-spacing);font-weight:var(--text-paragraph-sm--font-weight)}.text-paragraph-xs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-paragraph-xs);line-height:var(--text-paragraph-xs--line-height);letter-spacing:var(--text-paragraph-xs--letter-spacing);font-weight:var(--text-paragraph-xs--font-weight)}.text-subheading-md:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-subheading-md);line-height:var(--text-subheading-md--line-height);letter-spacing:var(--text-subheading-md--letter-spacing);font-weight:var(--text-subheading-md--font-weight)}.text-subheading-sm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-subheading-sm);line-height:var(--text-subheading-sm--line-height);letter-spacing:var(--text-subheading-sm--letter-spacing);font-weight:var(--text-subheading-sm--font-weight)}.text-subheading-xs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-subheading-xs);line-height:var(--text-subheading-xs--line-height);letter-spacing:var(--text-subheading-xs--letter-spacing);font-weight:var(--text-subheading-xs--font-weight)}.text-subheading-2xs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-subheading-2xs);line-height:var(--text-subheading-2xs--line-height);letter-spacing:var(--text-subheading-2xs--letter-spacing);font-weight:var(--text-subheading-2xs--font-weight)}*:not(#\\#):not(#\\#),:not(#\\#):not(#\\#):before,:not(#\\#):not(#\\#):after{box-sizing:border-box}button:not(#\\#):not(#\\#),input:not(#\\#):not(#\\#),optgroup:not(#\\#):not(#\\#),select:not(#\\#):not(#\\#),textarea:not(#\\#):not(#\\#){font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;letter-spacing:inherit;color:inherit}button:not(#\\#):not(#\\#),[role=button]:not(#\\#):not(#\\#){cursor:pointer}html:not(#\\#):not(#\\#),:root:not(#\\#):not(#\\#){font-size:var(--root-font-size);font-weight:400;font-family:system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Helvetica,Arial,sans-serif,"apple color emoji","segoe ui emoji",segoe ui symbol;line-height:1.5;font-feature-settings:normal;font-synthesis:none;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}.lucide:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){stroke-width:1.5;&:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#) *{vector-effect:non-scaling-stroke}}.data-filter:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin:0;font-size:1.4rem;font-weight:400;font-family:system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Helvetica,Arial,sans-serif,"apple color emoji","segoe ui emoji",segoe ui symbol;line-height:1.5;font-feature-settings:normal;font-synthesis:none;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;background-color:var(--color-white);color:var(--color-text-strong)}@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-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-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-leading{syntax: "*"; inherits: false;}@property --tw-tracking{syntax: "*"; inherits: false;}@property --tw-ordinal{syntax: "*"; inherits: false;}@property --tw-slashed-zero{syntax: "*"; inherits: false;}@property --tw-numeric-figure{syntax: "*"; inherits: false;}@property --tw-numeric-spacing{syntax: "*"; inherits: false;}@property --tw-numeric-fraction{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: 0px;}@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-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@property --tw-duration{syntax: "*"; inherits: false;}@property --tw-ease{syntax: "*"; inherits: false;}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}@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-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-border-style: solid;--tw-leading: initial;--tw-tracking: initial;--tw-ordinal: initial;--tw-slashed-zero: initial;--tw-numeric-figure: initial;--tw-numeric-spacing: initial;--tw-numeric-fraction: 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-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial;--tw-duration: initial;--tw-ease: initial;--tw-animation-delay: 0s;--tw-animation-direction: normal;--tw-animation-duration: initial;--tw-animation-fill-mode: none;--tw-animation-iteration-count: 1;--tw-enter-blur: 0;--tw-enter-opacity: 1;--tw-enter-rotate: 0;--tw-enter-scale: 1;--tw-enter-translate-x: 0;--tw-enter-translate-y: 0;--tw-exit-blur: 0;--tw-exit-opacity: 1;--tw-exit-rotate: 0;--tw-exit-scale: 1;--tw-exit-translate-x: 0;--tw-exit-translate-y: 0}}
2
- `);var je={title:["h1","h2","h3","h4","h5","h6"],label:["xl","lg","md","sm","xs"],paragraph:["xl","lg","md","sm","xs"],subheading:["md","sm","xs","2xs"]},We=Object.entries(je).flatMap(([t,e])=>e.map(n=>`${t}-${n}`)),Ht={extend:{classGroups:{"font-size":[{text:We}]}}},He=extendTailwindMerge(Ht),bt=createTV({twMergeConfig:Ht}),c=(...t)=>He(cn(...t));function U(t){let{as:e,size:n,className:o,...a}=t;if(N.isValidElement(e)){let s=e.props,l=s.className&&o?`${s.className} ${o}`:o??s.className,p=s.size??n,d={...s,...a,...p!==void 0?{size:p}:{},...l?{className:l}:{}};return N.cloneElement(e,d)}let i=e,r={...a,...n!==void 0?{size:n}:{},...o?{className:o}:{}};return jsx(i,{...r})}function Gt({stroke:t="2",className:e}){return jsx("svg",{className:e,width:"20",height:"20",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:t,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{children:[jsxs("circle",{cx:"12",cy:"12",r:"9.5",children:[jsx("animate",{attributeName:"stroke-dasharray",dur:"1.5s",calcMode:"spline",values:"0 150;42 150;42 150;42 150",keyTimes:"0;0.475;0.95;1",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1",repeatCount:"indefinite"}),jsx("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",calcMode:"spline",values:"0;-16;-59;-59",keyTimes:"0;0.475;0.95;1",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1",repeatCount:"indefinite"})]}),jsx("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",values:"0 12 12;360 12 12",repeatCount:"indefinite"})]})})}function Kt(){return N.useCallback(e=>(e.preventDefault(),false),[])}var yt=bt({base:["relative inline-flex items-center justify-center bg-transparent whitespace-nowrap outline-0 select-none","transition duration-200 ease-out","active:scale-[0.98]","focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-(--focus-outline-color)","disabled:pointer-events-none disabled:opacity-60 disabled:ring-transparent data-disabled:pointer-events-none data-disabled:opacity-60 data-disabled:ring-transparent"]}),qt=bt({slots:{root:[yt(),"group border border-transparent"],icon:"flex shrink-0 items-center justify-center",overlay:"absolute inset-0 flex items-center justify-center"},variants:{variant:{neutral:{}},mode:{filled:{},stroke:{},lighter:{},ghost:{}},loading:{true:{root:"pointer-events-none cursor-not-allowed"}},size:{large:{root:"h-40 gap-6 rounded-2xl px-14 text-label-lg",overlay:"rounded-2xl",icon:"size-18"},medium:{root:"h-36 gap-6 rounded-[8px] px-12 text-label-md",overlay:"rounded-[8px]",icon:"size-18"},small:{root:"h-32 gap-5 rounded-[6px] px-10 text-label-sm",overlay:"rounded-[6px]",icon:"size-16"},xsmall:{root:"h-28 gap-4 rounded-[6px] px-8 text-label-xs",overlay:"rounded-[6px]",icon:"size-14"}}},compoundVariants:[{variant:"neutral",mode:"filled",class:{root:["bg-bg-strong text-text-white","hover:bg-bg-surface","active:bg-bg-surface"],overlay:"text-text-white"}},{variant:"neutral",mode:"stroke",class:{root:["border-stroke-soft bg-bg-white text-text-strong","hover:bg-bg-weak","active:bg-bg-weak","focus-visible:text-text-strong"],overlay:"text-text-strong"}},{variant:"neutral",mode:"lighter",class:{root:["bg-bg-weak text-text-strong","hover:border-stroke-soft","active:border-stroke-soft"],overlay:"text-text-strong"}},{variant:"neutral",mode:"ghost",class:{root:["bg-transparent text-text-strong ring-transparent","hover:bg-bg-weak","active:bg-bg-weak","focus-visible:bg-bg-white"],overlay:"text-text-strong"}}],defaultVariants:{variant:"neutral",mode:"filled",size:"small"}}),y=N.forwardRef((t,e)=>{let{children:n,variant:o,mode:a,size:i,startContent:r,endContent:s,asChild:l=false,className:p,loading:d=false,disabled:u,...m}=t,f=Kt(),h=l?Slot.Root:"button",{root:C,icon:J,overlay:b}=qt({variant:o,mode:a,size:i,loading:d}),ze=!!r,Ie=!!s,jt=J(),O="none";d&&(ze?O="startContent":Ie?O="endContent":O="overlay");let xt=jsx(Gt,{className:jt}),Q=(Ae,Oe)=>jsx("span",{className:jt,children:Ae},Oe),Me=()=>O==="startContent"?Q(xt,"startContent"):r?Q(r,"startContent"):null,Be=()=>O==="endContent"?Q(xt,"endContent"):s?Q(s,"endContent"):null,Wt=u||d;return jsxs(h,{ref:e,onContextMenu:f,className:C({className:p}),disabled:l?void 0:Wt,"data-state":d?"loading":"idle","data-disabled":Wt?"":void 0,...m,children:[Me(),jsx(Slot.Slottable,{children:n&&jsx("span",{className:c("inline-flex justify-center",O==="overlay"&&"text-transparent"),children:n})}),Be(),O==="overlay"&&jsx("span",{className:b(),children:xt})]})});y.displayName="ButtonRoot";var j=({className:t,orientation:e="horizontal",decorative:n=true,...o})=>jsx(Separator.Root,{decorative:n,orientation:e,className:c("shrink-0 bg-stroke-soft",e==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...o});j.displayName=Separator.Root.displayName;function W({className:t,...e}){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-ellipsis-icon lucide-ellipsis",t),...e,children:[jsx("circle",{cx:"12",cy:"12",r:"1"}),jsx("circle",{cx:"19",cy:"12",r:"1"}),jsx("circle",{cx:"5",cy:"12",r:"1"})]})}function kt({className:t,...e}){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-x-icon lucide-x",t),...e,children:[jsx("path",{d:"M18 6 6 18"}),jsx("path",{d:"m6 6 12 12"})]})}function Dt({className:t,...e}){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-funnel-plus-icon lucide-funnel-plus",t),...e,children:[jsx("path",{d:"M13.354 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l1.218-1.348"}),jsx("path",{d:"M16 6h6"}),jsx("path",{d:"M19 3v6"})]})}function Tt({className:t,...e}){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-chevron-right-icon lucide-chevron-right",t),...e,children:jsx("path",{d:"m9 18 6-6-6-6"})})}function Ft({className:t,...e}){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-arrow-left-icon lucide-arrow-left",t),...e,children:[jsx("path",{d:"m12 19-7-7 7-7"}),jsx("path",{d:"M19 12H5"})]})}function Nt({className:t,...e}){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-search-icon lucide-search",t),...e,children:[jsx("path",{d:"m21 21-4.34-4.34"}),jsx("circle",{cx:"11",cy:"11",r:"8"})]})}function en({className:t,...e}){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-settings2-icon lucide-settings-2",t),...e,children:[jsx("path",{d:"M14 17H5"}),jsx("path",{d:"M19 7h-9"}),jsx("circle",{cx:"17",cy:"17",r:"3"}),jsx("circle",{cx:"7",cy:"7",r:"3"})]})}function on({className:t,...e}){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-refresh-cw-icon lucide-refresh-cw",t),...e,children:[jsx("path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"}),jsx("path",{d:"M21 3v5h-5"}),jsx("path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"}),jsx("path",{d:"M8 16H3v5"})]})}function rn({className:t,...e}){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:c("lucide lucide-loader-circle-icon lucide-loader-circle",t),...e,children:jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var ot=Popover.Root,at=Popover.Trigger,X=N.forwardRef(({children:t,className:e,align:n="center",sideOffset:o=4,collisionPadding:a=12,arrowPadding:i=12,arrow:r=true,unstyled:s,...l},p)=>jsx(Popover.Portal,{children:jsxs(Popover.Content,{ref:p,align:n,sideOffset:o,collisionPadding:a,arrowPadding:i,className:c([!s&&"w-max rounded-2xl bg-bg-white p-20 shadow-regular-md ring-1 ring-stroke-soft"],"z-50","data-[state=closed]:animate-out data-[state=open]:animate-in","data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...l,children:[jsx(Slot.Slottable,{children:t}),r&&jsx(Popover.Arrow,{asChild:true,children:jsx("div",{className:"size-11 -translate-y-[calc(50%+1px)] -rotate-45 rounded-bl-[3px] border border-stroke-soft bg-bg-white [clip-path:polygon(0_100%,0_0,100%_100%)]"})})]})}));X.displayName="PopoverContent";var sn=N.forwardRef(({className:t,unstyled:e,...n},o)=>jsx(Popover.Close,{ref:o,className:c([!e&&"absolute top-16 right-16"],t),...n}));sn.displayName="PopoverClose";function oe({title:t,onBack:e}){return jsxs("div",{className:"relative flex items-center justify-between border-b border-stroke-soft px-12 pt-6 pb-5",children:[jsx("button",{className:yt({className:"-ml-2 size-24 shrink-0 rounded-xl border-0 text-text-sub hover:bg-bg-weak hover:text-text-strong focus-visible:outline-offset-0 active:bg-bg-weak"}),onClick:e,children:jsx(Ft,{className:"size-16"})}),jsx("span",{className:"text-label-sm",children:t}),jsx("span",{className:"w-24 shrink-0"})]})}function D({className:t,...e}){return jsx(Command,{"data-slot":"command",className:c("flex h-full w-full flex-col overflow-hidden rounded-2xl bg-bg-white",t),...e})}function Y({className:t,...e}){return jsxs("div",{"data-slot":"command-input-wrapper",className:c("flex h-36 items-center gap-8 border-b border-stroke-soft px-12",t),children:[jsx(Nt,{className:"size-16 shrink-0 opacity-50"}),jsx(Command.Input,{"data-slot":"command-input",className:c("flex h-40 w-full rounded-2xl border-none bg-transparent py-12 text-label-sm outline-none disabled:cursor-not-allowed disabled:opacity-50"),...e})]})}function k({className:t,...e}){return jsx(Command.List,{"data-slot":"command-list",className:c("max-h-300 scroll-py-4 overflow-x-hidden overflow-y-auto outline-0",t),...e})}function it({...t}){return jsx(Command.Empty,{"data-slot":"command-empty",className:"py-24 text-center text-paragraph-sm",...t})}function v({className:t,...e}){return jsx(Command.Group,{"data-slot":"command-group",className:c("overflow-hidden p-4 text-text-sub **:[[cmdk-group-heading]]:px-8 **:[[cmdk-group-heading]]:py-6 **:[[cmdk-group-heading]]:text-label-xs **:[[cmdk-group-heading]]:text-text-soft",t),...e})}function lt({className:t,...e}){return jsx(Command.Separator,{"data-slot":"command-separator",className:c("-mx-4 h-px bg-bg-soft",t),...e})}function z({className:t,...e}){return jsx(Command.Item,{"data-slot":"command-item",className:c("relative flex items-center gap-8 rounded-lg px-8 py-6 outline-0 select-none","data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50","data-[selected=true]:bg-bg-weak data-[selected=true]:text-text-strong","text-label-sm [&_svg]:pointer-events-none [&_svg]:shrink-0",t),...e})}var ae={filter:"Add Filters",search_keywords:"Search...",no_results:"No results",to:"to",input_number:"Input Number",min:"Min",max:"Max",apply:"Apply Filter",clear:"Clear Filter",clear_all:"Clear All",pagination_total:"Total {total} items"};var re={filter:"\u6570\u636E\u7B5B\u9009",search_keywords:"\u641C\u7D22\u5173\u952E\u5B57...",no_results:"\u6CA1\u6709\u7ED3\u679C",to:"\u81F3",input_number:"\u8F93\u5165\u6570\u5B57",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",apply:"\u5E94\u7528\u7B5B\u9009",clear:"\u6E05\u7A7A\u7B5B\u9009",clear_all:"\u5168\u90E8\u6E05\u7A7A",pagination_total:"\u5171 {total} \u6761"};var hn={"zh-CN":re,"en-US":ae};function x(){let[t]=b();return N.useCallback(n=>hn[t][n]??n,[t])}function T({onClick:t,disabled:e}){let n=x();return jsxs(Fragment,{children:[jsx("div",{className:"h-px bg-bg-soft"}),jsx("div",{className:"p-4",children:jsx(y,{variant:"neutral",mode:"ghost",onClick:t,disabled:e,className:"w-full disabled:text-text-disabled",children:n("apply")})})]})}var vn=DatePicker._InternalPanelDoNotUseOrYouWillBeFired,wn=DatePicker._InternalRangePanelDoNotUseOrYouWillBeFired,se={popup:{root:{inset:"0 auto auto 0",padding:0},container:{userSelect:"none",boxShadow:"none"}}};function ce({actions:t,filter:e,column:n,onApply:o}){let a=N.useRef(e?.values),[i,r]=N.useState(()=>Array.isArray(e?.values)?e.values:n.mode==="single"?[null]:[null,null]),s=N.useCallback(d=>{d&&r(d);},[]),l=N.useCallback(()=>{a.current=i,t.setFilterValue(n,i),o?.();},[t,n,i,o]),p=N.useMemo(()=>{let d=i.filter(Boolean);if(!a.current)return n.mode==="single"?d.length===1:n.mode==="range"?d.length===2:false;let u=a.current.filter(Boolean);return n.mode==="range"&&d.length<2?false:d.length!==u.length?true:d.some((m,f)=>{let h=u[f];return h&&!h.isSame(m)})},[n.mode,i]);return jsxs(Fragment,{children:[jsx(D,{children:jsx(k,{className:"max-h-fit",children:jsxs(v,{className:"px-6 pt-6 pb-0",children:[n.mode==="single"&&jsx(bn,{value:i,onChange:s,column:n}),n.mode==="range"&&jsx(yn,{value:i,onChange:s,column:n})]})})}),jsx(T,{onClick:l,disabled:!p})]})}function bn({value:t,column:e,onChange:n}){let o=N.useCallback(r=>{r&&n([r]);},[n]),[a,i]=N.useState(true);return jsx(vn,{showToday:false,inputReadOnly:true,needConfirm:false,allowClear:false,showTime:e.showTime,value:t?.[0],onCalendarChange:o,onPanelChange:(r,s)=>{i(s==="date");},classNames:{root:"w-full",popup:{container:c("[&_.ant-picker-panels]:gap-8",!a&&!e.showTime&&"[&_.ant-picker-panel>*]:min-w-272",!a&&e.showTime&&"[&_.ant-picker-panel>*]:min-w-401"),body:"p-0!"}},styles:se})}function yn({value:t,column:e,onChange:n}){let[o,a]=t,i=N.useCallback(l=>{!l||l?.filter(Boolean).length!==2||n(l);},[n]),[r,s]=N.useState(true);return jsx(wn,{value:[o,a],onCalendarChange:i,classNames:{root:r?"w-full":"min-w-288",popup:{container:c("[&_.ant-picker-panels]:gap-8",!r&&!e.showTime&&"[&_.ant-picker-panel>*]:min-w-288",!r&&e.showTime&&"[&_.ant-picker-panel>*]:min-w-401"),body:"p-0!"}},onPanelChange:(l,p)=>{s(p.every(d=>d==="date"));},showTime:e.showTime,inputReadOnly:true,allowClear:false,needConfirm:false,previewValue:false,styles:se})}var St=N.memo(function({option:e,onToggle:n}){let{value:o,label:a,icon:i,selected:r}=e,s=N.useCallback(()=>{n(o,!r);},[n,o,r]);return jsxs(z,{onSelect:s,className:"group flex items-center gap-6",children:[jsx(Checkbox,{tabIndex:-1,checked:r,className:c("mr-4 opacity-0 group-data-[selected=true]:opacity-100 data-[state=checked]:opacity-100",r&&"opacity-100")}),i,jsx("span",{children:a})]})});function st({options:t,initialValues:e,pendingValues:n}){let o=N.useRef(e),{selectedOptions:a,unselectedOptions:i}=N.useMemo(()=>{let l=new Set(o.current),p=[],d=[];for(let u of t)l.has(u.value)?p.push(u):d.push(u);return {selectedOptions:p,unselectedOptions:d}},[t]),{selectedOptionsWithState:r,unselectedOptionsWithState:s}=N.useMemo(()=>{let l=new Set(Array.isArray(n)?n:[n]),p=a.map(u=>({...u,selected:l.has(u.value),initialSelected:true})),d=i.map(u=>({...u,selected:l.has(u.value),initialSelected:false}));return {selectedOptionsWithState:p,unselectedOptionsWithState:d}},[a,i,n]);return {selectedOptions:r,unselectedOptions:s}}function me({column:t,filter:e,actions:n,onApply:o}){let a=x(),[i,r]=N.useState(()=>e?.values??[]),{selectedOptions:s,unselectedOptions:l}=st({options:t.options,initialValues:e?.values??[],pendingValues:i}),p=N.useCallback((m,f)=>{r(h=>f?h.includes(m)?h:[...h,m]:h.filter(C=>C!==m));},[]),d=N.useCallback(()=>{n.setFilterValue(t,i),o?.();},[n,t,i,o]),u=N.useMemo(()=>{let m=new Set(e?.values??[]),f=new Set(i);if(m.size!==f.size)return true;for(let h of f)if(!m.has(h))return true;return false},[e?.values,i]);return jsxs(Fragment,{children:[jsxs(D,{children:[jsx(Y,{autoFocus:true,placeholder:"Search..."}),jsx(it,{children:a("no_results")}),jsxs(k,{className:"max-h-256",children:[jsx(v,{className:c(s.length===0&&"hidden"),children:s.map(m=>jsx(St,{option:m,onToggle:p},m.value))}),jsx(lt,{className:c((s.length===0||l.length===0)&&"hidden")}),jsx(v,{className:c(l.length===0&&"hidden"),children:l.map(m=>jsx(St,{option:m,onToggle:p},m.value))})]})]}),jsx(T,{onClick:d,disabled:!u})]})}function pt({onEnter:t,...e}){let n=N.useCallback(o=>{o.key==="Enter"&&(o.target instanceof HTMLInputElement||o.target instanceof HTMLButtonElement)&&(o.preventDefault(),t?.());},[t]);return jsx(D,{onKeyDown:n,...e})}function ge({actions:t,filter:e,column:n,onApply:o}){let a=N.useRef(e?.values),[i,r]=N.useState(()=>Array.isArray(e?.values)?e.values:n.mode==="single"?[null]:[null,null]),s=N.useCallback(()=>{ue(i)&&(a.current=i,t.setFilterValue(n,i),o?.());},[t,n,i,o]),l=N.useMemo(()=>{if(!ue(i))return false;let d=a.current;return !Array.isArray(d)||d.length!==i.length?true:d.some((u,m)=>u!==i[m])},[i]),p=n.mode==="range";return jsxs(Fragment,{children:[jsx(pt,{onEnter:s,className:c(p&&"min-w-lg"),children:jsx(k,{className:"max-h-fit",children:jsx(v,{children:jsx("div",{className:"p-6 pb-8",children:p?jsx(Rn,{value:i,column:n,onChange:r}):jsx(Nn,{column:n,value:i,onChange:r})})})})}),jsx(T,{onClick:s,disabled:!l})]})}function Nn({column:t,value:e,onChange:n,ref:o}){let a=x();return jsx(InputNumber,{ref:o,className:"w-full max-w-2xs",placeholder:a("input_number"),value:e[0],min:t.min,max:t.max,step:t.step,mode:"spinner",onChange:i=>{$(i)&&n([i]);},autoFocus:true})}function Rn({column:t,value:e,onChange:n}){let o=x(),a=N.useId(),i=N.useId(),r=N.useCallback(l=>{if(!$(l))return;let p=[l,e[1]];n?.(p);},[e,n]),s=N.useCallback(l=>{if(!$(l))return;let p=[e[0],l];n?.(p);},[e,n]);return jsxs("div",{className:"flex w-full max-w-xl gap-12",children:[jsxs("div",{className:"flex flex-col gap-6",children:[jsx("label",{className:"text-label-sm select-none",htmlFor:a,children:o("min")}),jsx(InputNumber,{id:a,mode:"spinner",placeholder:"min",autoFocus:true,value:e[0],min:t.min,max:$(e[1])?e[1]-1:t.max?t.max-1:void 0,step:t.step,onChange:r})]}),jsxs("div",{className:"flex flex-col gap-6",children:[jsx("label",{className:"text-label-sm select-none",htmlFor:i,children:o("max")}),jsx(InputNumber,{id:i,mode:"spinner",placeholder:"max",value:e[1],min:$(e[0])?e[0]+1:t.min?t.min+1:void 0,max:t.max,step:t.step,onChange:s})]})]})}function ue(t){return t.every($)}function $(t){return typeof t=="number"&&Number.isFinite(t)}var Mt=N.memo(function({option:e,onSelect:n}){let{value:o,label:a,icon:i,selected:r}=e,s=N.useCallback(()=>{n(o);},[n,o]);return jsxs(z,{value:o,onSelect:s,className:"group flex items-center gap-6",children:[jsx(Radio,{tabIndex:-1,className:c("mr-4 opacity-0 group-data-[selected=true]:opacity-100 data-[state=checked]:opacity-100",r&&"opacity-100"),checked:r,value:o,id:o}),i,jsx("span",{children:a})]})});function xe({column:t,filter:e,actions:n,onApply:o}){let a=x(),[i,r]=N.useState(()=>e?.values[0]??""),{selectedOptions:s,unselectedOptions:l}=st({options:t.options,initialValues:e?.values??[],pendingValues:i??""}),p=N.useCallback(m=>{r(m);},[]),d=N.useCallback(()=>{i&&(n.setFilterValue(t,[i]),o?.());},[n,t,i,o]),u=N.useMemo(()=>e?.values[0]!==i,[e?.values,i]);return jsxs(Fragment,{children:[jsxs(D,{children:[jsx(Y,{autoFocus:true,placeholder:"Search..."}),jsx(it,{children:a("no_results")}),jsxs(k,{className:"max-h-256",children:[jsx(v,{className:c(s.length===0&&"hidden"),children:s.map(m=>jsx(Mt,{option:m,onSelect:p},m.value))}),jsx(lt,{className:c((s.length===0||l.length===0)&&"hidden")}),jsx(v,{className:c(l.length===0&&"hidden"),children:l.map(m=>jsx(Mt,{option:m,onSelect:p},m.value))})]})]}),jsx(T,{onClick:d,disabled:!u})]})}function ut(t){let{value:e,defaultValue:n,onChange:o}=t,a=e!==void 0,[i,r]=N.useState(n),s=a?e:i,l=N.useRef({value:e,state:i,isControlled:a,onChange:o});l.current={value:e,state:i,isControlled:a,onChange:o};let p=N.useCallback((d,...u)=>{let{value:m,state:f,isControlled:h,onChange:C}=l.current,b=typeof d=="function"?d(h?m:f):d;h||r(b),C&&C(b,...u);},[]);return [s,p]}function we({actions:t,filter:e,column:n,onApply:o}){let a=x(),i=N.useRef(e?.values[0]??""),[r,s]=ut({defaultValue:i.current}),l=N.useCallback(()=>{t.setFilterValue(n,[r]),o?.();},[t,n,r,o]),p=i.current===r;return jsxs(Fragment,{children:[jsx(pt,{onEnter:l,children:jsx(k,{className:"max-h-fit",children:jsx(v,{children:jsx(z,{children:jsx(Input,{rootClassName:"w-full",placeholder:a("search_keywords"),autoFocus:true,value:r,onChange:d=>s(d.target.value)})})})})}),jsx(T,{onClick:l,disabled:p})]})}function gt({enableHeader:t,column:e,filter:n,actions:o,onApply:a,onBack:i}){let r=N.useMemo(()=>{switch(e.type){case "text":return jsx(we,{filter:n,actions:o,column:e,onApply:a});case "option":return jsx(xe,{filter:n,actions:o,column:e,onApply:a});case "multiOption":return jsx(me,{filter:n,actions:o,column:e,onApply:a});case "number":return jsx(ge,{filter:n,actions:o,column:e,onApply:a});case "date":return jsx(ce,{filter:n,actions:o,column:e,onApply:a});default:return null}},[o,e,n,a]);return jsxs(Fragment,{children:[t&&jsx(oe,{title:e.displayName,onBack:i}),r]})}function ye({column:t,filter:e,actions:n,enableAutoClose:o}){let[a,i]=N.useState(false),r=N.useCallback(()=>{o&&setTimeout(()=>{i(false);},120);},[o]);return jsxs(ot,{open:a,onOpenChange:i,children:[jsx(at,{asChild:true,children:jsx(y,{mode:"ghost",variant:"neutral",size:"xsmall",className:c("z-1 h-full w-fit rounded-none px-4 text-label-sm",a&&"active"),children:jsx(_n,{filter:e,column:t})})}),jsx(X,{align:"start",side:"bottom",arrow:false,className:"w-fit rounded-xl p-0",sideOffset:6,children:jsx(gt,{enableHeader:false,column:t,filter:e,actions:n,onApply:r})})]})}function _n({filter:t,column:e}){switch(e.type){case "text":return jsx(Wn,{filter:t});case "number":return jsx(Hn,{filter:t,mode:e.mode});case "date":return jsx(jn,{filter:t,column:e});case "option":return jsx(Yn,{filter:t,column:e});case "multiOption":return jsx($n,{filter:t,column:e});default:return null}}function jn({filter:t,column:e}){let[n]=b();if(!t)return null;if(t.values.length===0)return jsx(W,{className:"size-16"});let o=n.toLowerCase().includes("cn"),a=!!e.showTime,i=a?c$1.presets.dateSlash:o?"YYYY, M\u6708D\u65E5":"MMM D, YYYY",r=typeof e.showTime=="object"?e.showTime.format:a?c$1.presets.timeSecond:void 0,s=[i,r].filter(p=>!!p);if(t.values.length===1){let d=t.values[0].format(s.join(" "));return jsx("span",{children:d})}let l=Kn(t.values[0],t.values[1],o,a,s);return jsx("span",{children:l})}function Wn({filter:t}){if(!t)return null;if(t.values.length===0||t.values[0].trim()==="")return jsx(W,{className:"size-16"});let e=t.values[0];return jsx("span",{children:e})}function Hn({filter:t,mode:e}){let n=x();if(!t||!t.values||t.values.length===0)return jsx(W,{className:"size-16"});let[o,a]=t.values;return e&&e==="range"&&a!==void 0?jsxs("span",{className:"tracking-tight tabular-nums",children:[o," ",n("to")," ",a]}):jsx("span",{className:"tracking-tight tabular-nums",children:o})}function Yn({filter:t,column:e}){let n=e.options.filter(o=>t?.values.includes(o.value));if(n.length===1){let{label:o,icon:a}=n[0];return jsxs("span",{className:"inline-flex items-center gap-4",children:[a&&a,jsx("span",{children:o})]})}return null}function $n({filter:t,column:e}){let n=e.options.filter(l=>t?.values.includes(l.value));if(n.length===0)return jsx(W,{className:"size-16"});if(n.length===1){let{label:l,icon:p}=n[0];return jsxs("span",{className:"inline-flex items-center gap-4",children:[p&&p,jsx("span",{children:l})]})}let o=Gn(n,3),a=n.length-o.length;if(!o.some(l=>!!l.icon))return jsxs("div",{className:"inline-flex items-center gap-4",children:[jsx("span",{children:o.map(l=>l.label).join(", ")}),a>0&&jsxs("span",{className:"inline-flex items-center leading-16",style:{letterSpacing:"-1px"},children:["+ ",a," ..."]})]});let r=[],s=[];return o.forEach(({value:l,icon:p,label:d})=>{p?r.push(jsx("span",{className:"inline-flex shrink-0",children:p},l)):s.push(d);}),jsxs("div",{className:"inline-flex items-center gap-4",children:[jsxs("div",{className:"inline-flex items-center gap-2",children:[r,r.length>0&&s.length>0&&jsx(j,{orientation:"vertical",className:"mx-4 h-26 opacity-50"}),s.length>0&&jsx("span",{className:"text-text-sub",children:s.join(", ")})]}),a>0&&jsxs("span",{className:"inline-flex items-center leading-16",style:{letterSpacing:"-1px"},children:["+ ",a," ..."]})]})}function Gn(t,e){return t.slice(0,e)}function Kn(t,e,n,o,a){if(t.isSame(e,"year")&&!o){let r=n?"YYYY, M\u6708D\u65E5":"MMM D",s=n?"M\u6708D\u65E5":"MMM D, YYYY";return `${t.format(r)} - ${e.format(s)}`}return `${t.format(a.join(" "))} - ${e.format(a.join(" "))}`}function ht(t,e){let n=t.find(o=>o.columnId===e);if(!n)throw new Error(`Column with id ${e} not found`);return n}function Ce(t){return !t||t.length===0?[]:t.length===1?[t[0]]:t.length===2?qn(t):[t[0],t[1]]}function ke(t){if(!t||t.length===0)return [];if(t.length===1)return [t[0]];if(t.length===2)return Un(t);throw new Error("Cannot create date filter value from more than 2 values")}function Un(t){let[e,n]=t,[o,a]=e.isBefore(n)?[e,n]:[n,e];return [o,a]}function qn(t){let e=0,n=0;if(!t||t.length===0)return [e,n];t.length===1?e=t[0]:(e=t[0],n=t[1]);let[o,a]=e<n?[e,n]:[n,e];return [o,a]}function Pe(t){let e=new Map,n=[];for(let o of t){let a=Ot(o);if(e.has(a)){let i=e.get(a),r=false;for(let s of i)if(Lt(s,o)){r=true;break}r||(i.push(o),n.push(o));}else e.set(a,[o]),n.push(o);}return n}function Ot(t,e=new WeakMap){if(t===null)return "null";if(t===void 0)return "undefined";let n=typeof t;if(n==="number"||n==="boolean"||n==="string")return `${n}:${t.toString()}`;if(n==="function")return `function:${t.toString()}`;if(n==="object"){if(e.has(t))return e.get(t);let o;return Array.isArray(t)?o=`array:[${t.map(a=>Ot(a,e)).join(",")}]`:o=`object:{${Object.keys(t).sort().map(r=>`${r}:${Ot(t[r],e)}`).join(",")}}`,e.set(t,o),o}return `${n}:${t.toString()}`}function Lt(t,e){if(t===e)return true;if(typeof t!=typeof e||t===null||e===null||t===void 0||e===void 0)return false;if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return false;for(let n=0;n<t.length;n++)if(!Lt(t[n],e[n]))return false;return true}if(typeof t=="object"){if(typeof e!="object")return false;let n=Object.keys(t).sort(),o=Object.keys(e).sort();if(n.length!==o.length)return false;for(let a=0;a<n.length;a++)if(n[a]!==o[a]||!Lt(t[n[a]],e[o[a]]))return false;return true}return false}function De({columns:t,filters:e,actions:n,enableAutoClose:o}){let a=x();return jsxs(Fragment,{children:[e.map(i=>{let r=ht(t,i.columnId);return i.values?jsx(Xn,{filter:i,column:r,actions:n,enableAutoClose:o},`active-filter-${i.columnId}`):null}),e.length!==0&&jsx(y,{mode:"ghost",size:"xsmall",className:"bg-transparent! text-(--focus-outline-color) hover:underline",onClick:()=>n.removeAllFilters(),children:a("clear_all")})]})}function Xn({column:t,filter:e,actions:n,enableAutoClose:o}){return jsxs("div",{className:"flex h-28 items-center rounded-full border border-stroke-soft bg-bg-white shadow-regular-md",children:[jsx(Jn,{column:t}),jsx(j,{orientation:"vertical"}),jsx(ye,{column:t,filter:e,actions:n,enableAutoClose:o}),jsx(j,{orientation:"vertical"}),jsx(y,{className:"z-1 h-full w-28 rounded-none rounded-r-full",variant:"neutral",mode:"ghost",size:"xsmall",onClick:()=>n.removeFilter(e.columnId),children:jsx(kt,{className:"size-16 -translate-x-1"})})]})}function Jn({column:t}){return jsxs("span",{className:"flex h-full items-center gap-4 ps-10 pe-6 text-label-sm whitespace-nowrap text-text-sub select-none",children:[t.icon&&jsx(U,{size:16,as:t.icon}),jsx("span",{children:t.displayName})]})}var Ne={ease:[.26,.08,.25,1],duration:.27},eo={initial:{opacity:0},visible:{opacity:1},hidden:{opacity:0}};function Re({children:t,menuCount:e,activeType:n,onOpenChange:o,onEscapeKeyDown:a}){let i=x(),[r,{height:s,width:l}]=to(),[p,d]=N.useState(false),u=N.useCallback(C=>{d(C),o?.(C);},[o]),f=e*32+49,h=!n;return jsxs(ot,{open:p,onOpenChange:u,children:[jsx(at,{asChild:true,children:jsx(y,{className:c(p&&"active"),variant:"neutral",mode:"stroke",startContent:jsx(Dt,{}),size:"xsmall",children:i("filter")})}),jsx(X,{className:"w-fit p-0",side:"bottom",align:"start",sideOffset:6,arrow:false,onEscapeKeyDown:a,children:jsx(m.div,{initial:false,animate:{height:h?f:s,width:h?200:l},className:"overflow-hidden",transition:Ne,layout:"size",children:jsx("div",{ref:r,className:c(n?"w-fit":"w-full"),children:jsx(AnimatePresence,{mode:"popLayout",children:jsx(m.div,{initial:"hidden",animate:"visible",exit:"hidden",variants:eo,transition:Ne,layout:true,children:t})},n)})})})]})}function Se({columns:t,filters:e,actions:n,enableAutoBack:o}){let a=N.useRef(void 0),i=N.useRef(null),[r,s]=N.useState(void 0),l=r?ht(t,r):void 0,p=r?e.find(b=>b.columnId===r):void 0,d=N.useCallback(()=>{s(void 0);},[]),u=N.useCallback(()=>{o&&s(void 0);},[o]),m=N.useCallback(b=>{b||setTimeout(()=>{a.current=void 0,s(void 0);},180);},[]),f=N.useCallback(b=>{r!==void 0&&(b.preventDefault(),d(),setTimeout(()=>{i.current?.focus();},200));},[r,d]),h=N.useCallback(b=>{a.current=b,s(b);},[]),C=N.useCallback(()=>{n.removeAllFilters();},[n]),J=N.useMemo(()=>l&&r?jsx(gt,{enableHeader:true,column:l,filter:p,actions:n,onApply:u,onBack:d}):jsx(oo,{defaultValue:a.current,onSelect:h,onClean:C,disableClean:!e.length,columns:t,ref:i}),[l,r,p,n,u,d,h,C,e.length,t]);return jsx(Re,{activeType:r,menuCount:t.length,onOpenChange:m,onEscapeKeyDown:f,children:J})}function oo({defaultValue:t,columns:e,disableClean:n,onSelect:o,onClean:a,ref:i}){let r=x(),s=e.some(l=>!!l.icon);return jsxs(Fragment,{children:[jsxs(D,{loop:true,defaultValue:t,shouldFilter:false,children:[jsx(Y,{placeholder:"Search...",className:"sr-only",ref:i}),jsx(k,{className:"max-h-fit",children:jsx(v,{children:e.map(l=>jsx(z,{className:"group",value:l.columnId,keywords:[l.displayName],onSelect:o,children:jsxs("div",{className:"flex w-full items-center justify-between",children:[jsxs("div",{className:"inline-flex items-center gap-6",children:[l.icon&&jsx(U,{size:16,as:l.icon}),!l.icon&&s&&jsx("span",{className:"size-16"}),jsx("span",{className:"text-label-sm",children:l.displayName})]}),jsx(Tt,{className:"-mr-4 size-18 text-text-soft group-aria-selected:text-text-sub"})]})},l.columnId))})})]}),jsx("div",{className:"h-px bg-bg-soft"}),jsx("div",{className:"p-4",children:jsx(y,{variant:"neutral",mode:"ghost",onClick:a,disabled:n,className:"w-full disabled:text-text-disabled",children:r("clear")})})]})}function Ve({defaultFilters:t=[],filters:e,onFiltersChange:n}={}){let[o,a]=ut({value:e,defaultValue:t,onChange:n}),i=N.useMemo(()=>({setFilterValue:(r,s)=>{a(l=>{let p=l.find(f=>f.columnId===r.columnId),d=p&&p.values.length>0,u=r.type==="number"?Ce(s):r.type==="date"?ke(s):Pe(s);if(u.length===0)return l;if(!d)return [...l,{columnId:r.columnId,type:r.type,values:u}];let m={columnId:r.columnId,type:r.type,values:u};return l.map(f=>f.columnId===r.columnId?m:f)});},removeFilter:r=>{a(s=>s.filter(l=>l.columnId!==r));},removeAllFilters:()=>{a([]);}}),[a]);return [o,i]}var lo={components:{DatePicker:{activeBorderColor:"#d9d9d9",hoverBorderColor:"#d9d9d9",activeShadow:"none",cellHeight:24,cellWidth:28}}};function so({disabled:t,columns:e,filters:n,defaultFilters:o,className:a,onFiltersChange:i}){let[r,s]=Ve({filters:n,defaultFilters:o,onFiltersChange:i});return jsx(ConfigProvider,{theme:lo,children:jsxs("div",{className:c("data-filter flex flex-wrap items-center gap-6",t&&"pointer-events-none",a),children:[jsx(Se,{columns:e,filters:r,actions:s,enableAutoBack:true}),jsx(De,{columns:e,filters:r,actions:s,enableAutoClose:true})]})})}
3
- export{c as a,y as b,j as c,en as d,on as e,rn as f,ot as g,at as h,X as i,D as j,Y as k,k as l,it as m,v as n,z as o,x as p,so as q};