sodtrack-web-ui 0.61.1 → 0.61.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chip-form-complementary.d.mts +3 -3
- package/dist/chip-form-complementary.d.ts +3 -3
- package/dist/chip-form.d.mts +3 -3
- package/dist/chip-form.d.ts +3 -3
- package/dist/chip-status-complementary.d.mts +1 -1
- package/dist/chip-status-complementary.d.ts +1 -1
- package/dist/{chunk-KBCKNFAA.mjs → chunk-5MZNJAI4.mjs} +1 -1
- package/dist/{chunk-LBI4WRGE.mjs → chunk-6FW654CF.mjs} +1 -1
- package/dist/{chunk-CFQB4JDC.mjs → chunk-7OZLSN3F.mjs} +1 -1
- package/dist/{chunk-I2N3DVKO.mjs → chunk-VSILLNPF.mjs} +1 -1
- package/dist/data-table.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/list-item-arrow.mjs +1 -1
- package/dist/list-item-button.mjs +1 -1
- package/dist/list-item-checkbox.mjs +1 -1
- package/dist/list-item.mjs +1 -1
- package/dist/snackbar.d.mts +2 -2
- package/dist/snackbar.d.ts +2 -2
- package/dist/snackbar.js +2 -2
- package/dist/snackbar.mjs +1 -1
- package/dist/tab.d.mts +1 -1
- package/dist/tab.d.ts +1 -1
- package/dist/toast.d.mts +2 -2
- package/dist/toast.d.ts +2 -2
- package/dist/toast.js +2 -2
- package/dist/toast.mjs +1 -1
- package/dist/tooltip.d.mts +2 -2
- package/dist/tooltip.d.ts +2 -2
- package/dist/tooltip.js +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as Autocomplete,e as AutocompleteMultiple,b as ListItem,c as ListItemArrow,f as ListItemButton,d as ListItemCheckbox}from'./chunk-PGGV7VMC.mjs';export{b as Textarea,a as TextareaSizes}from'./chunk-ERINQS7G.mjs';export{a as TimePicker}from'./chunk-VY3HVT62.mjs';export{a as ToastTypes,c as Toaster,b as toast}from'./chunk-
|
|
1
|
+
export{a as Autocomplete,e as AutocompleteMultiple,b as ListItem,c as ListItemArrow,f as ListItemButton,d as ListItemCheckbox}from'./chunk-PGGV7VMC.mjs';export{b as Textarea,a as TextareaSizes}from'./chunk-ERINQS7G.mjs';export{a as TimePicker}from'./chunk-VY3HVT62.mjs';export{a as ToastTypes,c as Toaster,b as toast}from'./chunk-VSILLNPF.mjs';export{a as Toggle}from'./chunk-6T3T33NK.mjs';export{a as TooltipProvider_old,b as Tooltip_old}from'./chunk-HTBT6CLR.mjs';export{a as Skeleton}from'./chunk-UCMFW3WC.mjs';export{b as SnackbarProvider,a as snackbar}from'./chunk-7OZLSN3F.mjs';export{d as SnackbarAction_old,e as SnackbarClose_old,a as SnackbarProvider_old,f as SnackbarTitle_old,b as SnackbarViewport_old,c as Snackbar_old}from'./chunk-BNYSNYRJ.mjs';export{b as Switch,a as SwitchSizes}from'./chunk-PHSLH445.mjs';export{c as Tabs,f as TabsContent,d as TabsList,b as TabsSizes,e as TabsTrigger,a as TabsVariants}from'./chunk-S2GM3UL6.mjs';export{a as Popover,c as PopoverContent,b as PopoverTrigger}from'./chunk-25737XH2.mjs';export{c as PopoverContent_old,b as PopoverTrigger_old,a as Popover_old}from'./chunk-276X5SQG.mjs';export{c as RadioGroup,d as RadioGroupItem,b as RadioGroupOrientation,a as RadioGroupSize}from'./chunk-FNEOZERE.mjs';export{b as Rating,a as RatingSizes}from'./chunk-4ZDSU3A6.mjs';export{a as SearchBar}from'./chunk-UVBUJL4P.mjs';export{a as Select}from'./chunk-D7F6I4QH.mjs';export{a as FlagSelect}from'./chunk-GQSPOA7L.mjs';export{a as ChipStatusTable}from'./chunk-II3BRHAX.mjs';export{a as CountryEnum,b as CountryTextField}from'./chunk-EOB2KGVR.mjs';import'./chunk-E5G7444M.mjs';export{a as DataTable}from'./chunk-5MZNJAI4.mjs';export{b as Tooltip,a as TooltipSizes}from'./chunk-6FW654CF.mjs';export{b as Table,d as TableBody,e as TableBodyRow,i as TableCell,a as TableContainer,h as TableHead,c as TableHeader,g as TableHeaderRow,f as TableNoResults,j as TablePagination}from'./chunk-AVEZT73Y.mjs';export{a as DatePicker}from'./chunk-QBX2P5NO.mjs';import'./chunk-KTRSJBA4.mjs';export{a as TextField}from'./chunk-A7OUZRND.mjs';import'./chunk-SVUSHVWV.mjs';export{a as DrawerSticky,g as DrawerStickyBody,h as DrawerStickyCloseTrigger,d as DrawerStickyContent,f as DrawerStickyFooter,e as DrawerStickyHeader,c as DrawerStickySizes,b as DrawerStickyTrigger}from'./chunk-7LHI6XAQ.mjs';export{b as Drawer,e as DrawerClose,g as DrawerContent,k as DrawerDescription,i as DrawerFooter,h as DrawerHeader,f as DrawerOverlay,d as DrawerPortal,a as DrawerSizes,j as DrawerTitle,c as DrawerTrigger}from'./chunk-6N3NPMN2.mjs';export{c as Spinner,a as SpinnerSizes,b as SpinnerVariants}from'./chunk-7NJTMO4L.mjs';export{b as Dialog,l as DialogActionButton,i as DialogBody,m as DialogCloseButton,f as DialogContent,k as DialogDescription,n as DialogExtraButton,h as DialogFooter,g as DialogHeader,e as DialogOverlay,d as DialogPortal,a as DialogPrimitive,j as DialogTitle,c as DialogTrigger}from'./chunk-D6V735GZ.mjs';export{c as IconButton,a as IconButtonSizes,b as IconButtonVariants}from'./chunk-WS2F7JWJ.mjs';export{a as ScrollArea,b as ScrollBar}from'./chunk-QHBCNAWO.mjs';export{c as Checkbox,b as CheckboxCheckedStates,a as CheckboxSizes}from'./chunk-WB5ZPQ7L.mjs';export{a as CheckboxSizes_old,b as Checkbox_old}from'./chunk-HPADBBCW.mjs';export{d as ChipContext,c as ChipContextColors,b as ChipContextSizes,a as ChipContextVariants}from'./chunk-T74WGWVK.mjs';export{a as ChipExpandable}from'./chunk-ZZPJYT6F.mjs';export{c as ChipFormComplementary,a as ChipFormComplementaryVariants,b as ChipFormComplementaryVariantsClassNames}from'./chunk-4XAUEW6X.mjs';export{d as ChipForm,c as ChipFormSizes,b as ChipFormTypes,a as ChipFormVariants}from'./chunk-SRXC3HT5.mjs';export{d as ChipInput,a as ChipInputSizes,c as ChipInputTypes,b as ChipInputVariants}from'./chunk-GZ2UJSIO.mjs';export{c as ChipStatusComplementary,b as ChipStatusComplementarySizes,a as ChipStatusComplementaryVariants}from'./chunk-7OKG3XAA.mjs';export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'./chunk-XW42AHZV.mjs';export{c as Accordion,g as AccordionContent,d as AccordionItem,a as AccordionPrimitive,b as AccordionSizes,f as AccordionTrigger,e as AccordionTriggerEmpty}from'./chunk-JACMHBPD.mjs';export{d as ChipStatus,b as ChipStatusSizes,c as ChipStatusTypes,a as ChipStatusVariants}from'./chunk-FAMLJ6AJ.mjs';export{a as AlertDialog,f as AlertDialogActionButton,m as AlertDialogBody,g as AlertDialogCloseButton,e as AlertDialogContent,l as AlertDialogDescription,h as AlertDialogExtraButton,j as AlertDialogFooter,i as AlertDialogHeader,d as AlertDialogOverlay,c as AlertDialogPortal,k as AlertDialogTitle,b as AlertDialogTrigger}from'./chunk-W4WYNCLN.mjs';export{a as Separator}from'./chunk-WGMDH4XX.mjs';export{a as AlertMessage}from'./chunk-VEEYQFAH.mjs';export{b as Avatar,a as AvatarSizes}from'./chunk-HF2DUXOQ.mjs';export{a as Badge}from'./chunk-BVHU5ZT3.mjs';export{c as Button,a as ButtonSizes,b as ButtonVariants}from'./chunk-4DF3NXNT.mjs';export{a as Calendar}from'./chunk-TLIQP6K7.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/list-item-arrow.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as ListItemArrow}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-
|
|
1
|
+
export{c as ListItemArrow}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-VSILLNPF.mjs';import'./chunk-6T3T33NK.mjs';import'./chunk-HTBT6CLR.mjs';import'./chunk-UCMFW3WC.mjs';import'./chunk-7OZLSN3F.mjs';import'./chunk-BNYSNYRJ.mjs';import'./chunk-PHSLH445.mjs';import'./chunk-S2GM3UL6.mjs';import'./chunk-25737XH2.mjs';import'./chunk-276X5SQG.mjs';import'./chunk-FNEOZERE.mjs';import'./chunk-4ZDSU3A6.mjs';import'./chunk-UVBUJL4P.mjs';import'./chunk-D7F6I4QH.mjs';import'./chunk-GQSPOA7L.mjs';import'./chunk-II3BRHAX.mjs';import'./chunk-EOB2KGVR.mjs';import'./chunk-E5G7444M.mjs';import'./chunk-5MZNJAI4.mjs';import'./chunk-6FW654CF.mjs';import'./chunk-AVEZT73Y.mjs';import'./chunk-QBX2P5NO.mjs';import'./chunk-KTRSJBA4.mjs';import'./chunk-A7OUZRND.mjs';import'./chunk-SVUSHVWV.mjs';import'./chunk-7LHI6XAQ.mjs';import'./chunk-6N3NPMN2.mjs';import'./chunk-7NJTMO4L.mjs';import'./chunk-D6V735GZ.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-WB5ZPQ7L.mjs';import'./chunk-HPADBBCW.mjs';import'./chunk-T74WGWVK.mjs';import'./chunk-ZZPJYT6F.mjs';import'./chunk-4XAUEW6X.mjs';import'./chunk-SRXC3HT5.mjs';import'./chunk-GZ2UJSIO.mjs';import'./chunk-7OKG3XAA.mjs';import'./chunk-XW42AHZV.mjs';import'./chunk-JACMHBPD.mjs';import'./chunk-FAMLJ6AJ.mjs';import'./chunk-W4WYNCLN.mjs';import'./chunk-WGMDH4XX.mjs';import'./chunk-VEEYQFAH.mjs';import'./chunk-HF2DUXOQ.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-4DF3NXNT.mjs';import'./chunk-TLIQP6K7.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-2WINTZSS.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{f as ListItemButton}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-
|
|
1
|
+
export{f as ListItemButton}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-VSILLNPF.mjs';import'./chunk-6T3T33NK.mjs';import'./chunk-HTBT6CLR.mjs';import'./chunk-UCMFW3WC.mjs';import'./chunk-7OZLSN3F.mjs';import'./chunk-BNYSNYRJ.mjs';import'./chunk-PHSLH445.mjs';import'./chunk-S2GM3UL6.mjs';import'./chunk-25737XH2.mjs';import'./chunk-276X5SQG.mjs';import'./chunk-FNEOZERE.mjs';import'./chunk-4ZDSU3A6.mjs';import'./chunk-UVBUJL4P.mjs';import'./chunk-D7F6I4QH.mjs';import'./chunk-GQSPOA7L.mjs';import'./chunk-II3BRHAX.mjs';import'./chunk-EOB2KGVR.mjs';import'./chunk-E5G7444M.mjs';import'./chunk-5MZNJAI4.mjs';import'./chunk-6FW654CF.mjs';import'./chunk-AVEZT73Y.mjs';import'./chunk-QBX2P5NO.mjs';import'./chunk-KTRSJBA4.mjs';import'./chunk-A7OUZRND.mjs';import'./chunk-SVUSHVWV.mjs';import'./chunk-7LHI6XAQ.mjs';import'./chunk-6N3NPMN2.mjs';import'./chunk-7NJTMO4L.mjs';import'./chunk-D6V735GZ.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-WB5ZPQ7L.mjs';import'./chunk-HPADBBCW.mjs';import'./chunk-T74WGWVK.mjs';import'./chunk-ZZPJYT6F.mjs';import'./chunk-4XAUEW6X.mjs';import'./chunk-SRXC3HT5.mjs';import'./chunk-GZ2UJSIO.mjs';import'./chunk-7OKG3XAA.mjs';import'./chunk-XW42AHZV.mjs';import'./chunk-JACMHBPD.mjs';import'./chunk-FAMLJ6AJ.mjs';import'./chunk-W4WYNCLN.mjs';import'./chunk-WGMDH4XX.mjs';import'./chunk-VEEYQFAH.mjs';import'./chunk-HF2DUXOQ.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-4DF3NXNT.mjs';import'./chunk-TLIQP6K7.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-2WINTZSS.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as ListItemCheckbox}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-
|
|
1
|
+
export{d as ListItemCheckbox}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-VSILLNPF.mjs';import'./chunk-6T3T33NK.mjs';import'./chunk-HTBT6CLR.mjs';import'./chunk-UCMFW3WC.mjs';import'./chunk-7OZLSN3F.mjs';import'./chunk-BNYSNYRJ.mjs';import'./chunk-PHSLH445.mjs';import'./chunk-S2GM3UL6.mjs';import'./chunk-25737XH2.mjs';import'./chunk-276X5SQG.mjs';import'./chunk-FNEOZERE.mjs';import'./chunk-4ZDSU3A6.mjs';import'./chunk-UVBUJL4P.mjs';import'./chunk-D7F6I4QH.mjs';import'./chunk-GQSPOA7L.mjs';import'./chunk-II3BRHAX.mjs';import'./chunk-EOB2KGVR.mjs';import'./chunk-E5G7444M.mjs';import'./chunk-5MZNJAI4.mjs';import'./chunk-6FW654CF.mjs';import'./chunk-AVEZT73Y.mjs';import'./chunk-QBX2P5NO.mjs';import'./chunk-KTRSJBA4.mjs';import'./chunk-A7OUZRND.mjs';import'./chunk-SVUSHVWV.mjs';import'./chunk-7LHI6XAQ.mjs';import'./chunk-6N3NPMN2.mjs';import'./chunk-7NJTMO4L.mjs';import'./chunk-D6V735GZ.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-WB5ZPQ7L.mjs';import'./chunk-HPADBBCW.mjs';import'./chunk-T74WGWVK.mjs';import'./chunk-ZZPJYT6F.mjs';import'./chunk-4XAUEW6X.mjs';import'./chunk-SRXC3HT5.mjs';import'./chunk-GZ2UJSIO.mjs';import'./chunk-7OKG3XAA.mjs';import'./chunk-XW42AHZV.mjs';import'./chunk-JACMHBPD.mjs';import'./chunk-FAMLJ6AJ.mjs';import'./chunk-W4WYNCLN.mjs';import'./chunk-WGMDH4XX.mjs';import'./chunk-VEEYQFAH.mjs';import'./chunk-HF2DUXOQ.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-4DF3NXNT.mjs';import'./chunk-TLIQP6K7.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/list-item.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as ListItem}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-
|
|
1
|
+
export{b as ListItem}from'./chunk-PGGV7VMC.mjs';import'./chunk-ERINQS7G.mjs';import'./chunk-VY3HVT62.mjs';import'./chunk-VSILLNPF.mjs';import'./chunk-6T3T33NK.mjs';import'./chunk-HTBT6CLR.mjs';import'./chunk-UCMFW3WC.mjs';import'./chunk-7OZLSN3F.mjs';import'./chunk-BNYSNYRJ.mjs';import'./chunk-PHSLH445.mjs';import'./chunk-S2GM3UL6.mjs';import'./chunk-25737XH2.mjs';import'./chunk-276X5SQG.mjs';import'./chunk-FNEOZERE.mjs';import'./chunk-4ZDSU3A6.mjs';import'./chunk-UVBUJL4P.mjs';import'./chunk-D7F6I4QH.mjs';import'./chunk-GQSPOA7L.mjs';import'./chunk-II3BRHAX.mjs';import'./chunk-EOB2KGVR.mjs';import'./chunk-E5G7444M.mjs';import'./chunk-5MZNJAI4.mjs';import'./chunk-6FW654CF.mjs';import'./chunk-AVEZT73Y.mjs';import'./chunk-QBX2P5NO.mjs';import'./chunk-KTRSJBA4.mjs';import'./chunk-A7OUZRND.mjs';import'./chunk-SVUSHVWV.mjs';import'./chunk-7LHI6XAQ.mjs';import'./chunk-6N3NPMN2.mjs';import'./chunk-7NJTMO4L.mjs';import'./chunk-D6V735GZ.mjs';import'./chunk-WS2F7JWJ.mjs';import'./chunk-QHBCNAWO.mjs';import'./chunk-WB5ZPQ7L.mjs';import'./chunk-HPADBBCW.mjs';import'./chunk-T74WGWVK.mjs';import'./chunk-ZZPJYT6F.mjs';import'./chunk-4XAUEW6X.mjs';import'./chunk-SRXC3HT5.mjs';import'./chunk-GZ2UJSIO.mjs';import'./chunk-7OKG3XAA.mjs';import'./chunk-XW42AHZV.mjs';import'./chunk-JACMHBPD.mjs';import'./chunk-FAMLJ6AJ.mjs';import'./chunk-W4WYNCLN.mjs';import'./chunk-WGMDH4XX.mjs';import'./chunk-VEEYQFAH.mjs';import'./chunk-HF2DUXOQ.mjs';import'./chunk-BVHU5ZT3.mjs';import'./chunk-4DF3NXNT.mjs';import'./chunk-TLIQP6K7.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/snackbar.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ToasterProps,
|
|
2
|
+
import { ToasterProps, createToaster } from '@ark-ui/react/toast';
|
|
3
3
|
|
|
4
4
|
type SnackbarProps = Omit<Omit<ToasterProps, "children">, "toaster">;
|
|
5
5
|
type SnackbarActionOptions = {
|
|
@@ -12,7 +12,7 @@ type SnackbarStatusChangeDetails = {
|
|
|
12
12
|
status: SnackbarStatus;
|
|
13
13
|
src?: string | undefined;
|
|
14
14
|
};
|
|
15
|
-
declare const snackbar: Omit<
|
|
15
|
+
declare const snackbar: Omit<ReturnType<typeof createToaster>, "loading" | "error" | "success" | "warning" | "info">;
|
|
16
16
|
declare const SnackbarProvider: FC<SnackbarProps>;
|
|
17
17
|
|
|
18
18
|
export { type SnackbarActionOptions, type SnackbarPlacement, type SnackbarProps, SnackbarProvider, type SnackbarStatus, type SnackbarStatusChangeDetails, snackbar };
|
package/dist/snackbar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ToasterProps,
|
|
2
|
+
import { ToasterProps, createToaster } from '@ark-ui/react/toast';
|
|
3
3
|
|
|
4
4
|
type SnackbarProps = Omit<Omit<ToasterProps, "children">, "toaster">;
|
|
5
5
|
type SnackbarActionOptions = {
|
|
@@ -12,7 +12,7 @@ type SnackbarStatusChangeDetails = {
|
|
|
12
12
|
status: SnackbarStatus;
|
|
13
13
|
src?: string | undefined;
|
|
14
14
|
};
|
|
15
|
-
declare const snackbar: Omit<
|
|
15
|
+
declare const snackbar: Omit<ReturnType<typeof createToaster>, "loading" | "error" | "success" | "warning" | "info">;
|
|
16
16
|
declare const SnackbarProvider: FC<SnackbarProps>;
|
|
17
17
|
|
|
18
18
|
export { type SnackbarActionOptions, type SnackbarPlacement, type SnackbarProps, SnackbarProvider, type SnackbarStatus, type SnackbarStatusChangeDetails, snackbar };
|
package/dist/snackbar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var we=require('react'),toast=require('@ark-ui/react/toast'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var we__default=/*#__PURE__*/_interopDefault(we);var le=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ae=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,t,o)=>o?o.toUpperCase():t.toLowerCase()),K=e=>{let a=Ae(e);return a.charAt(0).toUpperCase()+a.slice(1)},G=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim(),de=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var re={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"};var fe=we.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:r,...d},i)=>we.createElement("svg",{ref:i,...re,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:G("lucide",l),...!u&&!de(d)&&{"aria-hidden":"true"},...d},[...r.map(([n,m])=>we.createElement(n,m)),...Array.isArray(u)?u:[u]]));var z=(e,a)=>{let t=we.forwardRef(({className:o,...l},u)=>we.createElement(fe,{ref:u,iconNode:a,className:G(`lucide-${le(K(e))}`,`lucide-${e}`,o),...l}));return t.displayName=K(e),t};var Fe=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],P=z("loader-circle",Fe);var De=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],R=z("x",De);var ie=P;var ce=R;function ne(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(a=0;a<l;a++)e[a]&&(t=ne(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function pe(){for(var e,a,t=0,o="",l=arguments.length;t<l;t++)(e=arguments[t])&&(a=ne(e))&&(o&&(o+=" "),o+=a);return o}var Q="-",Re=e=>{let a=ve(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:r=>{let d=r.split(Q);return d[0]===""&&d.length!==1&&d.shift(),Ie(d,a)||Te(r)},getConflictingClassGroupIds:(r,d)=>{let i=t[r]||[];return d&&o[r]?[...i,...o[r]]:i}}},Ie=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),l=o?Ie(e.slice(1),o):void 0;if(l)return l;if(a.validators.length===0)return;let u=e.join(Q);return a.validators.find(({validator:r})=>r(u))?.classGroupId},me=/^\[(.+)\]$/,Te=e=>{if(me.test(e)){let a=me.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},ve=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ue(Object.entries(e.classGroups),t).forEach(([u,r])=>{J(r,o,u,a);}),o},J=(e,a,t,o)=>{e.forEach(l=>{if(typeof l=="string"){let u=l===""?a:Le(a,l);u.classGroupId=t;return}if(typeof l=="function"){if(qe(l)){J(l(o),a,t,o);return}a.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([u,r])=>{J(r,Le(a,u),t,o);});});},Le=(e,a)=>{let t=e;return a.split(Q).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},qe=e=>e.isThemeGetter,Ue=(e,a)=>a?e.map(([t,o])=>{let l=o.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([r,d])=>[a+r,d])):u);return [t,l]}):e,Oe=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,l=(u,r)=>{t.set(u,r),a++,a>e&&(a=0,o=t,t=new Map);};return {get(u){let r=t.get(u);if(r!==void 0)return r;if((r=o.get(u))!==void 0)return l(u,r),r},set(u,r){t.has(u)?t.set(u,r):l(u,r);}}},xe="!",He=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,l=a[0],u=a.length,r=d=>{let i=[],n=0,m=0,C;for(let p=0;p<d.length;p++){let I=d[p];if(n===0){if(I===l&&(o||d.slice(p,p+u)===a)){i.push(d.slice(m,p)),m=p+u;continue}if(I==="/"){C=p;continue}}I==="["?n++:I==="]"&&n--;}let g=i.length===0?d:d.substring(m),S=g.startsWith(xe),x=S?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:i,hasImportantModifier:S,baseClassName:x,maybePostfixModifierPosition:L}};return t?d=>t({className:d,parseClassName:r}):r},Ge=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},ze=e=>({cache:Oe(e.cacheSize),parseClassName:He(e),...Re(e)}),Ve=/\s+/,Ee=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:l}=a,u=[],r=e.trim().split(Ve),d="";for(let i=r.length-1;i>=0;i-=1){let n=r[i],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:S}=t(n),x=!!S,L=o(x?g.substring(0,S):g);if(!L){if(!x){d=n+(d.length>0?" "+d:d);continue}if(L=o(g),!L){d=n+(d.length>0?" "+d:d);continue}x=false;}let p=Ge(m).join(":"),I=C?p+xe:p,h=I+L;if(u.includes(h))continue;u.push(h);let F=l(L,x);for(let B=0;B<F.length;++B){let U=F[B];u.push(I+U);}d=n+(d.length>0?" "+d:d);}return d};function We(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=Ce(a))&&(o&&(o+=" "),o+=t);return o}var Ce=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=Ce(e[o]))&&(t&&(t+=" "),t+=a);return t};function Xe(e,...a){let t,o,l,u=r;function r(i){let n=a.reduce((m,C)=>C(m),e());return t=ze(n),o=t.cache.get,l=t.cache.set,u=d,d(i)}function d(i){let n=o(i);if(n)return n;let m=Ee(i,t);return l(i,m),m}return function(){return u(We.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=true,a},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ne=/^\d+\/\d+$/,Ke=new Set(["px","full","screen"]),Ze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Je=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,je=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_e=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>y(e)||Ke.has(e)||Ne.test(e),b=e=>M(e,"length",la),y=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>M(e,"number",y),T=e=>!!e&&Number.isInteger(Number(e)),Ye=e=>e.endsWith("%")&&y(e.slice(0,-1)),s=e=>ge.test(e),A=e=>Ze.test(e),$e=new Set(["length","size","percentage"]),ea=e=>M(e,$e,he),aa=e=>M(e,"position",he),ta=new Set(["image","url"]),oa=e=>M(e,ta,ra),ua=e=>M(e,"",da),v=()=>true,M=(e,a,t)=>{let o=ge.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):false},la=e=>Je.test(e)&&!Qe.test(e),he=()=>false,da=e=>je.test(e),ra=e=>_e.test(e);var sa=()=>{let e=f("colors"),a=f("spacing"),t=f("blur"),o=f("brightness"),l=f("borderColor"),u=f("borderRadius"),r=f("borderSpacing"),d=f("borderWidth"),i=f("contrast"),n=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),S=f("gradientColorStops"),x=f("gradientColorStopPositions"),L=f("inset"),p=f("margin"),I=f("opacity"),h=f("padding"),F=f("saturate"),B=f("scale"),U=f("sepia"),Y=f("skew"),$=f("space"),ee=f("translate"),E=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",s,a],c=()=>[s,a],ae=()=>["",k,b],O=()=>["auto",y,s],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",s],ue=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>[y,s];return {cacheSize:500,separator:":",theme:{colors:[v],spacing:[k,b],blur:["none","",A,s],brightness:w(),borderColor:[e],borderRadius:["none","","full",A,s],borderSpacing:c(),borderWidth:ae(),contrast:w(),grayscale:D(),hueRotate:w(),invert:D(),gap:c(),gradientColorStops:[e],gradientColorStopPositions:[Ye,b],inset:X(),margin:X(),opacity:w(),padding:c(),saturate:w(),scale:w(),sepia:D(),skew:w(),space:c(),translate:c()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":ue()}],"break-before":[{"break-before":ue()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...te(),s]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,s]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",T,s]}],"grid-cols":[{"grid-cols":[v]}],"col-start-end":[{col:["auto",{span:["full",T,s]},s]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[v]}],"row-start-end":[{row:["auto",{span:[T,s]},s]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[s,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[s,a,"auto","min","max","fit"]}],"font-size":[{text:["base",A,b]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Z]}],"font-family":[{font:[v]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",s]}],"line-clamp":[{"line-clamp":["none",y,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,s]}],"list-image":[{"list-image":["none",s]}],"list-style-type":[{list:["none","disc","decimal",s]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,b]}],"underline-offset":[{"underline-offset":["auto",k,s]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:c()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),aa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ea]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oa]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:H()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[k,s]}],"outline-w":[{outline:[k,b]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[k,b]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,ua]}],"shadow-color":[{shadow:[v]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...oe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":oe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",A,s]}],grayscale:[{grayscale:[n]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[F]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[n]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[T,s]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[Y]}],"skew-y":[{"skew-y":[Y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",s]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":c()}],"scroll-mx":[{"scroll-mx":c()}],"scroll-my":[{"scroll-my":c()}],"scroll-ms":[{"scroll-ms":c()}],"scroll-me":[{"scroll-me":c()}],"scroll-mt":[{"scroll-mt":c()}],"scroll-mr":[{"scroll-mr":c()}],"scroll-mb":[{"scroll-mb":c()}],"scroll-ml":[{"scroll-ml":c()}],"scroll-p":[{"scroll-p":c()}],"scroll-px":[{"scroll-px":c()}],"scroll-py":[{"scroll-py":c()}],"scroll-ps":[{"scroll-ps":c()}],"scroll-pe":[{"scroll-pe":c()}],"scroll-pt":[{"scroll-pt":c()}],"scroll-pr":[{"scroll-pr":c()}],"scroll-pb":[{"scroll-pb":c()}],"scroll-pl":[{"scroll-pl":c()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,b,Z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Se=Xe(sa);function V(...e){return Se(pe(e))}var ca=tailwindVariants.tv({slots:{button:"flex flex-shrink-0 items-center justify-center gap-2 rounded-lg font-inter text-base font-semibold leading-[130%] transition-all ease-linear disabled:cursor-not-allowed disabled:ring-0",icon:"",loadingIcon:"absolute animate-spin text-neutral-400"},variants:{size:{lg:{button:"h-12 px-4",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},md:{button:"h-10 px-4 text-sm leading-[130%]",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},sm:{button:"h-8 gap-1 px-3 text-sm leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"},xs:{button:"h-6 gap-1 rounded-[6px] px-3 text-xs leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"}},variant:{contained:{button:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-primary-700 active:ring-0 disabled:bg-neutral-100 disabled:text-neutral-400"},secondary:{button:"text-primary-500 ring-[1.5px] ring-inset ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:ring-[3px] focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-primary-700 disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400"},outlined:{button:"leading-[130%] text-neutral-900 ring-[1.5px] ring-inset ring-neutral-900 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-primary-900 active:ring-[1.5px] disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400 [&:not([disabled])]:hover:bg-transparent-primary-20 [&:not([disabled])]:active:bg-transparent-primary-40"},ghost:{button:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},standard:{button:"text-neutral-900 hover:bg-transparent-primary-20 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},link:{button:"text-primary-500 underline underline-offset-2 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},white:{button:"bg-neutral-50 text-neutral-900"}},loading:{true:{button:"disabled:text-neutral-50 disabled:text-opacity-0"}}},defaultVariants:{variant:"contained",size:"md",loading:false,disabled:false}}),ke=we.forwardRef(({children:e,className:a,variant:t,size:o,startIcon:l,endIcon:u,loading:r,disabled:d,type:i="button",StartIcon:n,EndIcon:m,...C},g)=>{let{button:S,icon:x,loadingIcon:L}=ca({variant:t,size:o,loading:r});return jsxRuntime.jsxs("button",{...C,ref:g,disabled:r||d,className:V(S(),a),type:i,children:[r&&jsxRuntime.jsx(ie,{className:L()}),l&&we__default.default.cloneElement(l,{className:x()}),n&&jsxRuntime.jsx(n,{className:x()}),e,u&&we__default.default.cloneElement(u,{className:x()}),m&&jsxRuntime.jsx(m,{className:x()})]})});var Pe=toast.createToaster({placement:"top-end",overlap:false,gap:8,duration:8e3}),Ct=e=>{let[a,t]=we.useTransition();return jsxRuntime.jsx(toast.Toaster,{toaster:Pe,...e,children:({closable:o=true,...l})=>jsxRuntime.jsxs(toast.Toast.Root,{className:V("group z-[var(--z-index)] flex w-86 translate-x-[var(--x)] translate-y-[var(--y)] rounded-lg bg-neutral-900 p-4 opacity-[var(--opacity)] transition-all will-change-transform","flex items-center gap-2 data-[state=close]:animate-slide-up data-[state=open]:animate-slide-down"),children:[jsxRuntime.jsx(toast.Toast.Title,{className:"line-clamp-3 flex-1 font-inter text-sm leading-[130%] text-neutral-50",children:l.title}),jsxRuntime.jsxs("div",{className:"flex items-center empty:hidden",children:[l.action&&jsxRuntime.jsx(ke,{variant:"ghost",loading:a,size:"sm",onClick:()=>{t(async()=>{try{await l.action?.onClick();}catch{}finally{Pe.dismiss();}});},children:l.action.label}),o&&jsxRuntime.jsx(toast.Toast.CloseTrigger,{children:jsxRuntime.jsx(ce,{className:"h-6 w-6 text-neutral-50"})})]})]},l.id)})};/*! Bundled license information:
|
|
1
|
+
'use strict';var we=require('react'),toast=require('@ark-ui/react/toast'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var we__default=/*#__PURE__*/_interopDefault(we);var le=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ae=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,t,o)=>o?o.toUpperCase():t.toLowerCase()),K=e=>{let a=Ae(e);return a.charAt(0).toUpperCase()+a.slice(1)},G=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim(),de=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var re={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"};var fe=we.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:r,...d},i)=>we.createElement("svg",{ref:i,...re,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:G("lucide",l),...!u&&!de(d)&&{"aria-hidden":"true"},...d},[...r.map(([n,m])=>we.createElement(n,m)),...Array.isArray(u)?u:[u]]));var z=(e,a)=>{let t=we.forwardRef(({className:o,...l},u)=>we.createElement(fe,{ref:u,iconNode:a,className:G(`lucide-${le(K(e))}`,`lucide-${e}`,o),...l}));return t.displayName=K(e),t};var Fe=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],P=z("loader-circle",Fe);var De=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],R=z("x",De);var ie=P;var ce=R;function ne(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(a=0;a<l;a++)e[a]&&(t=ne(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function pe(){for(var e,a,t=0,o="",l=arguments.length;t<l;t++)(e=arguments[t])&&(a=ne(e))&&(o&&(o+=" "),o+=a);return o}var Q="-",Re=e=>{let a=ve(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:r=>{let d=r.split(Q);return d[0]===""&&d.length!==1&&d.shift(),Ie(d,a)||Te(r)},getConflictingClassGroupIds:(r,d)=>{let i=t[r]||[];return d&&o[r]?[...i,...o[r]]:i}}},Ie=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),l=o?Ie(e.slice(1),o):void 0;if(l)return l;if(a.validators.length===0)return;let u=e.join(Q);return a.validators.find(({validator:r})=>r(u))?.classGroupId},me=/^\[(.+)\]$/,Te=e=>{if(me.test(e)){let a=me.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},ve=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ue(Object.entries(e.classGroups),t).forEach(([u,r])=>{J(r,o,u,a);}),o},J=(e,a,t,o)=>{e.forEach(l=>{if(typeof l=="string"){let u=l===""?a:Le(a,l);u.classGroupId=t;return}if(typeof l=="function"){if(qe(l)){J(l(o),a,t,o);return}a.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([u,r])=>{J(r,Le(a,u),t,o);});});},Le=(e,a)=>{let t=e;return a.split(Q).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},qe=e=>e.isThemeGetter,Ue=(e,a)=>a?e.map(([t,o])=>{let l=o.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([r,d])=>[a+r,d])):u);return [t,l]}):e,Oe=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,l=(u,r)=>{t.set(u,r),a++,a>e&&(a=0,o=t,t=new Map);};return {get(u){let r=t.get(u);if(r!==void 0)return r;if((r=o.get(u))!==void 0)return l(u,r),r},set(u,r){t.has(u)?t.set(u,r):l(u,r);}}},xe="!",He=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,l=a[0],u=a.length,r=d=>{let i=[],n=0,m=0,C;for(let p=0;p<d.length;p++){let I=d[p];if(n===0){if(I===l&&(o||d.slice(p,p+u)===a)){i.push(d.slice(m,p)),m=p+u;continue}if(I==="/"){C=p;continue}}I==="["?n++:I==="]"&&n--;}let g=i.length===0?d:d.substring(m),S=g.startsWith(xe),x=S?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:i,hasImportantModifier:S,baseClassName:x,maybePostfixModifierPosition:L}};return t?d=>t({className:d,parseClassName:r}):r},Ge=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},ze=e=>({cache:Oe(e.cacheSize),parseClassName:He(e),...Re(e)}),Ve=/\s+/,Ee=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:l}=a,u=[],r=e.trim().split(Ve),d="";for(let i=r.length-1;i>=0;i-=1){let n=r[i],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:S}=t(n),x=!!S,L=o(x?g.substring(0,S):g);if(!L){if(!x){d=n+(d.length>0?" "+d:d);continue}if(L=o(g),!L){d=n+(d.length>0?" "+d:d);continue}x=false;}let p=Ge(m).join(":"),I=C?p+xe:p,h=I+L;if(u.includes(h))continue;u.push(h);let F=l(L,x);for(let B=0;B<F.length;++B){let U=F[B];u.push(I+U);}d=n+(d.length>0?" "+d:d);}return d};function We(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=Ce(a))&&(o&&(o+=" "),o+=t);return o}var Ce=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=Ce(e[o]))&&(t&&(t+=" "),t+=a);return t};function Xe(e,...a){let t,o,l,u=r;function r(i){let n=a.reduce((m,C)=>C(m),e());return t=ze(n),o=t.cache.get,l=t.cache.set,u=d,d(i)}function d(i){let n=o(i);if(n)return n;let m=Ee(i,t);return l(i,m),m}return function(){return u(We.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=true,a},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ne=/^\d+\/\d+$/,Ke=new Set(["px","full","screen"]),Ze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Je=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,je=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_e=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>y(e)||Ke.has(e)||Ne.test(e),b=e=>M(e,"length",la),y=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>M(e,"number",y),T=e=>!!e&&Number.isInteger(Number(e)),Ye=e=>e.endsWith("%")&&y(e.slice(0,-1)),s=e=>ge.test(e),A=e=>Ze.test(e),$e=new Set(["length","size","percentage"]),ea=e=>M(e,$e,he),aa=e=>M(e,"position",he),ta=new Set(["image","url"]),oa=e=>M(e,ta,ra),ua=e=>M(e,"",da),v=()=>true,M=(e,a,t)=>{let o=ge.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):false},la=e=>Je.test(e)&&!Qe.test(e),he=()=>false,da=e=>je.test(e),ra=e=>_e.test(e);var sa=()=>{let e=f("colors"),a=f("spacing"),t=f("blur"),o=f("brightness"),l=f("borderColor"),u=f("borderRadius"),r=f("borderSpacing"),d=f("borderWidth"),i=f("contrast"),n=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),S=f("gradientColorStops"),x=f("gradientColorStopPositions"),L=f("inset"),p=f("margin"),I=f("opacity"),h=f("padding"),F=f("saturate"),B=f("scale"),U=f("sepia"),Y=f("skew"),$=f("space"),ee=f("translate"),E=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",s,a],c=()=>[s,a],ae=()=>["",k,b],O=()=>["auto",y,s],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",s],ue=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>[y,s];return {cacheSize:500,separator:":",theme:{colors:[v],spacing:[k,b],blur:["none","",A,s],brightness:w(),borderColor:[e],borderRadius:["none","","full",A,s],borderSpacing:c(),borderWidth:ae(),contrast:w(),grayscale:D(),hueRotate:w(),invert:D(),gap:c(),gradientColorStops:[e],gradientColorStopPositions:[Ye,b],inset:X(),margin:X(),opacity:w(),padding:c(),saturate:w(),scale:w(),sepia:D(),skew:w(),space:c(),translate:c()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":ue()}],"break-before":[{"break-before":ue()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...te(),s]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,s]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",T,s]}],"grid-cols":[{"grid-cols":[v]}],"col-start-end":[{col:["auto",{span:["full",T,s]},s]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[v]}],"row-start-end":[{row:["auto",{span:[T,s]},s]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[s,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[s,a,"auto","min","max","fit"]}],"font-size":[{text:["base",A,b]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Z]}],"font-family":[{font:[v]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",s]}],"line-clamp":[{"line-clamp":["none",y,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,s]}],"list-image":[{"list-image":["none",s]}],"list-style-type":[{list:["none","disc","decimal",s]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,b]}],"underline-offset":[{"underline-offset":["auto",k,s]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:c()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),aa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ea]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oa]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:H()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[k,s]}],"outline-w":[{outline:[k,b]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[k,b]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,ua]}],"shadow-color":[{shadow:[v]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...oe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":oe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",A,s]}],grayscale:[{grayscale:[n]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[F]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[n]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[T,s]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[Y]}],"skew-y":[{"skew-y":[Y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",s]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":c()}],"scroll-mx":[{"scroll-mx":c()}],"scroll-my":[{"scroll-my":c()}],"scroll-ms":[{"scroll-ms":c()}],"scroll-me":[{"scroll-me":c()}],"scroll-mt":[{"scroll-mt":c()}],"scroll-mr":[{"scroll-mr":c()}],"scroll-mb":[{"scroll-mb":c()}],"scroll-ml":[{"scroll-ml":c()}],"scroll-p":[{"scroll-p":c()}],"scroll-px":[{"scroll-px":c()}],"scroll-py":[{"scroll-py":c()}],"scroll-ps":[{"scroll-ps":c()}],"scroll-pe":[{"scroll-pe":c()}],"scroll-pt":[{"scroll-pt":c()}],"scroll-pr":[{"scroll-pr":c()}],"scroll-pb":[{"scroll-pb":c()}],"scroll-pl":[{"scroll-pl":c()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,b,Z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Se=Xe(sa);function V(...e){return Se(pe(e))}var ca=tailwindVariants.tv({slots:{button:"flex flex-shrink-0 items-center justify-center gap-2 rounded-lg font-inter text-base font-semibold leading-[130%] transition-all ease-linear disabled:cursor-not-allowed disabled:ring-0",icon:"",loadingIcon:"absolute animate-spin text-neutral-400"},variants:{size:{lg:{button:"h-12 px-4",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},md:{button:"h-10 px-4 text-sm leading-[130%]",icon:"h-4.5 w-4.5",loadingIcon:"h-4.5 w-4.5"},sm:{button:"h-8 gap-1 px-3 text-sm leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"},xs:{button:"h-6 gap-1 rounded-[6px] px-3 text-xs leading-[130%]",icon:"h-3.5 w-3.5",loadingIcon:"h-3.5 w-3.5"}},variant:{contained:{button:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-primary-700 active:ring-0 disabled:bg-neutral-100 disabled:text-neutral-400"},secondary:{button:"text-primary-500 ring-[1.5px] ring-inset ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:ring-[3px] focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-primary-700 disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400"},outlined:{button:"leading-[130%] text-neutral-900 ring-[1.5px] ring-inset ring-neutral-900 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-primary-900 active:ring-[1.5px] disabled:bg-neutral-50/0 disabled:text-neutral-400 disabled:ring-[1.5px] disabled:ring-neutral-400 [&:not([disabled])]:hover:bg-transparent-primary-20 [&:not([disabled])]:active:bg-transparent-primary-40"},ghost:{button:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},standard:{button:"text-neutral-900 hover:bg-transparent-primary-20 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},link:{button:"text-primary-500 underline underline-offset-2 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0 disabled:bg-neutral-50 disabled:bg-opacity-0 disabled:text-neutral-400"},white:{button:"bg-neutral-50 text-neutral-900"}},loading:{true:{button:"disabled:text-neutral-50 disabled:text-opacity-0"}}},defaultVariants:{variant:"contained",size:"md",loading:false,disabled:false}}),ke=we.forwardRef(({children:e,className:a,variant:t,size:o,startIcon:l,endIcon:u,loading:r,disabled:d,type:i="button",StartIcon:n,EndIcon:m,...C},g)=>{let{button:S,icon:x,loadingIcon:L}=ca({variant:t,size:o,loading:r});return jsxRuntime.jsxs("button",{...C,ref:g,disabled:r||d,className:V(S(),a),type:i,children:[r&&jsxRuntime.jsx(ie,{className:L()}),l&&we__default.default.cloneElement(l,{className:x()}),n&&jsxRuntime.jsx(n,{className:x()}),e,u&&we__default.default.cloneElement(u,{className:x()}),m&&jsxRuntime.jsx(m,{className:x()})]})});var Pe=toast.createToaster({placement:"top-end",overlap:false,gap:8,duration:8e3}),xt=e=>{let[a,t]=we.useTransition();return jsxRuntime.jsx(toast.Toaster,{toaster:Pe,...e,children:({closable:o=true,...l})=>jsxRuntime.jsxs(toast.Toast.Root,{className:V("group z-[var(--z-index)] flex w-86 translate-x-[var(--x)] translate-y-[var(--y)] rounded-lg bg-neutral-900 p-4 opacity-[var(--opacity)] transition-all will-change-transform","flex items-center gap-2 data-[state=close]:animate-slide-up data-[state=open]:animate-slide-down"),children:[jsxRuntime.jsx(toast.Toast.Title,{className:"line-clamp-3 flex-1 font-inter text-sm leading-[130%] text-neutral-50",children:l.title}),jsxRuntime.jsxs("div",{className:"flex items-center empty:hidden",children:[l.action&&jsxRuntime.jsx(ke,{variant:"ghost",loading:a,size:"sm",onClick:()=>{t(async()=>{try{await l.action?.onClick();}catch{}finally{Pe.dismiss();}});},children:l.action.label}),o&&jsxRuntime.jsx(toast.Toast.CloseTrigger,{children:jsxRuntime.jsx(ce,{className:"h-6 w-6 text-neutral-50"})})]})]},l.id)})};/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
@@ -13,4 +13,4 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
13
13
|
* This source code is licensed under the ISC license.
|
|
14
14
|
* See the LICENSE file in the root directory of this source tree.
|
|
15
15
|
*)
|
|
16
|
-
*/exports.SnackbarProvider=
|
|
16
|
+
*/exports.SnackbarProvider=xt;exports.snackbar=Pe;
|
package/dist/snackbar.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as SnackbarProvider,a as snackbar}from'./chunk-
|
|
1
|
+
export{b as SnackbarProvider,a as snackbar}from'./chunk-7OZLSN3F.mjs';import'./chunk-4DF3NXNT.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/tab.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare const TabsSizes: readonly ["sm", "md"];
|
|
|
13
13
|
type TabsSizesType = "sm" | "md";
|
|
14
14
|
declare const tabTrigger: (props?: ({
|
|
15
15
|
variant?: "fill" | "ghost" | "fillWithCloseButton" | undefined;
|
|
16
|
-
size?: "
|
|
16
|
+
size?: "sm" | "md" | undefined;
|
|
17
17
|
} & ({
|
|
18
18
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
19
19
|
[x: string]: any;
|
package/dist/tab.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare const TabsSizes: readonly ["sm", "md"];
|
|
|
13
13
|
type TabsSizesType = "sm" | "md";
|
|
14
14
|
declare const tabTrigger: (props?: ({
|
|
15
15
|
variant?: "fill" | "ghost" | "fillWithCloseButton" | undefined;
|
|
16
|
-
size?: "
|
|
16
|
+
size?: "sm" | "md" | undefined;
|
|
17
17
|
} & ({
|
|
18
18
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
19
19
|
[x: string]: any;
|
package/dist/toast.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ToasterProps as ToasterProps$1,
|
|
2
|
+
import { ToasterProps as ToasterProps$1, createToaster } from '@ark-ui/react/toast';
|
|
3
3
|
|
|
4
4
|
type ToasterProps = Omit<Omit<ToasterProps$1, "children">, "toaster">;
|
|
5
5
|
type ToastActionOptions = {
|
|
@@ -14,7 +14,7 @@ type ToastStatusChangeDetails = {
|
|
|
14
14
|
status: ToastStatus;
|
|
15
15
|
src?: string | undefined;
|
|
16
16
|
};
|
|
17
|
-
declare const toast:
|
|
17
|
+
declare const toast: ReturnType<typeof createToaster>;
|
|
18
18
|
declare const Toaster: FC<ToasterProps>;
|
|
19
19
|
|
|
20
20
|
export { type ToastActionOptions, type ToastPlacement, type ToastStatus, type ToastStatusChangeDetails, type ToastType, ToastTypes, Toaster, type ToasterProps, toast };
|
package/dist/toast.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ToasterProps as ToasterProps$1,
|
|
2
|
+
import { ToasterProps as ToasterProps$1, createToaster } from '@ark-ui/react/toast';
|
|
3
3
|
|
|
4
4
|
type ToasterProps = Omit<Omit<ToasterProps$1, "children">, "toaster">;
|
|
5
5
|
type ToastActionOptions = {
|
|
@@ -14,7 +14,7 @@ type ToastStatusChangeDetails = {
|
|
|
14
14
|
status: ToastStatus;
|
|
15
15
|
src?: string | undefined;
|
|
16
16
|
};
|
|
17
|
-
declare const toast:
|
|
17
|
+
declare const toast: ReturnType<typeof createToaster>;
|
|
18
18
|
declare const Toaster: FC<ToasterProps>;
|
|
19
19
|
|
|
20
20
|
export { type ToastActionOptions, type ToastPlacement, type ToastStatus, type ToastStatusChangeDetails, type ToastType, ToastTypes, Toaster, type ToasterProps, toast };
|
package/dist/toast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var toast=require('@ark-ui/react/toast'),react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');var se=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,t,o)=>o?o.toUpperCase():t.toLowerCase()),_=e=>{let a=Fe(e);return a.charAt(0).toUpperCase()+a.slice(1)},X=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim(),fe=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var ie={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"};var ne=react.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:d="",children:u,iconNode:r,...l},c)=>react.createElement("svg",{ref:c,...ie,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:X("lucide",d),...!u&&!fe(l)&&{"aria-hidden":"true"},...l},[...r.map(([p,m])=>react.createElement(p,m)),...Array.isArray(u)?u:[u]]));var S=(e,a)=>{let t=react.forwardRef(({className:o,...d},u)=>react.createElement(ne,{ref:u,iconNode:a,className:X(`lucide-${se(_(e))}`,`lucide-${e}`,o),...d}));return t.displayName=_(e),t};var qe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],A=S("circle-check",qe);var ve=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],y=S("circle-x",ve);var Ue=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],O=S("info",Ue);var Oe=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],B=S("triangle-alert",Oe);var He=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],H=S("x",He);var pe=A,me=y,Le=H,Ie=O,xe=B;function Ce(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(a=0;a<d;a++)e[a]&&(t=Ce(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ge(){for(var e,a,t=0,o="",d=arguments.length;t<d;t++)(e=arguments[t])&&(a=Ce(e))&&(o&&(o+=" "),o+=a);return o}var $="-",Ge=e=>{let a=Ve(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:r=>{let l=r.split($);return l[0]===""&&l.length!==1&&l.shift(),we(l,a)||ze(r)},getConflictingClassGroupIds:(r,l)=>{let c=t[r]||[];return l&&o[r]?[...c,...o[r]]:c}}},we=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),d=o?we(e.slice(1),o):void 0;if(d)return d;if(a.validators.length===0)return;let u=e.join($);return a.validators.find(({validator:r})=>r(u))?.classGroupId},he=/^\[(.+)\]$/,ze=e=>{if(he.test(e)){let a=he.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Ve=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return We(Object.entries(e.classGroups),t).forEach(([u,r])=>{Y(r,o,u,a);}),o},Y=(e,a,t,o)=>{e.forEach(d=>{if(typeof d=="string"){let u=d===""?a:Se(a,d);u.classGroupId=t;return}if(typeof d=="function"){if(Ee(d)){Y(d(o),a,t,o);return}a.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([u,r])=>{Y(r,Se(a,u),t,o);});});},Se=(e,a)=>{let t=e;return a.split($).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},Ee=e=>e.isThemeGetter,We=(e,a)=>a?e.map(([t,o])=>{let d=o.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([r,l])=>[a+r,l])):u);return [t,d]}):e,Xe=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,d=(u,r)=>{t.set(u,r),a++,a>e&&(a=0,o=t,t=new Map);};return {get(u){let r=t.get(u);if(r!==void 0)return r;if((r=o.get(u))!==void 0)return d(u,r),r},set(u,r){t.has(u)?t.set(u,r):d(u,r);}}},ke="!",Ne=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,d=a[0],u=a.length,r=l=>{let c=[],p=0,m=0,C;for(let n=0;n<l.length;n++){let I=l[n];if(p===0){if(I===d&&(o||l.slice(n,n+u)===a)){c.push(l.slice(m,n)),m=n+u;continue}if(I==="/"){C=n;continue}}I==="["?p++:I==="]"&&p--;}let g=c.length===0?l:l.substring(m),w=g.startsWith(ke),h=w?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:c,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:L}};return t?l=>t({className:l,parseClassName:r}):r},Ke=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},Ze=e=>({cache:Xe(e.cacheSize),parseClassName:Ne(e),...Ge(e)}),Je=/\s+/,Qe=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:d}=a,u=[],r=e.trim().split(Je),l="";for(let c=r.length-1;c>=0;c-=1){let p=r[c],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:w}=t(p),h=!!w,L=o(h?g.substring(0,w):g);if(!L){if(!h){l=p+(l.length>0?" "+l:l);continue}if(L=o(g),!L){l=p+(l.length>0?" "+l:l);continue}h=false;}let n=Ke(m).join(":"),I=C?n+ke:n,x=I+L;if(u.includes(x))continue;u.push(x);let v=d(L,h);for(let D=0;D<v.length;++D){let V=v[D];u.push(I+V);}l=p+(l.length>0?" "+l:l);}return l};function _e(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=Pe(a))&&(o&&(o+=" "),o+=t);return o}var Pe=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=Pe(e[o]))&&(t&&(t+=" "),t+=a);return t};function je(e,...a){let t,o,d,u=r;function r(c){let p=a.reduce((m,C)=>C(m),e());return t=Ze(p),o=t.cache.get,d=t.cache.set,u=l,l(c)}function l(c){let p=o(c);if(p)return p;let m=Qe(c,t);return d(c,m),m}return function(){return u(_e.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=true,a},be=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ye=/^\d+\/\d+$/,$e=new Set(["px","full","screen"]),ea=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ta=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ua=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>R(e)||$e.has(e)||Ye.test(e),M=e=>T(e,"length",na),R=e=>!!e&&!Number.isNaN(Number(e)),j=e=>T(e,"number",R),G=e=>!!e&&Number.isInteger(Number(e)),la=e=>e.endsWith("%")&&R(e.slice(0,-1)),s=e=>be.test(e),F=e=>ea.test(e),da=new Set(["length","size","percentage"]),ra=e=>T(e,da,Ae),sa=e=>T(e,"position",Ae),fa=new Set(["image","url"]),ia=e=>T(e,fa,ma),ca=e=>T(e,"",pa),z=()=>true,T=(e,a,t)=>{let o=be.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):false},na=e=>aa.test(e)&&!ta.test(e),Ae=()=>false,pa=e=>oa.test(e),ma=e=>ua.test(e);var La=()=>{let e=f("colors"),a=f("spacing"),t=f("blur"),o=f("brightness"),d=f("borderColor"),u=f("borderRadius"),r=f("borderSpacing"),l=f("borderWidth"),c=f("contrast"),p=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),w=f("gradientColorStops"),h=f("gradientColorStopPositions"),L=f("inset"),n=f("margin"),I=f("opacity"),x=f("padding"),v=f("saturate"),D=f("scale"),V=f("sepia"),ae=f("skew"),te=f("space"),oe=f("translate"),K=()=>["auto","contain","none"],Z=()=>["auto","hidden","clip","visible","scroll"],J=()=>["auto",s,a],i=()=>[s,a],ue=()=>["",P,M],E=()=>["auto",R,s],le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],de=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",s],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[R,s];return {cacheSize:500,separator:":",theme:{colors:[z],spacing:[P,M],blur:["none","",F,s],brightness:k(),borderColor:[e],borderRadius:["none","","full",F,s],borderSpacing:i(),borderWidth:ue(),contrast:k(),grayscale:U(),hueRotate:k(),invert:U(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[la,M],inset:J(),margin:J(),opacity:k(),padding:i(),saturate:k(),scale:k(),sepia:U(),skew:k(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...le(),s]}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",G,s]}],basis:[{basis:J()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",G,s]}],"grid-cols":[{"grid-cols":[z]}],"col-start-end":[{col:["auto",{span:["full",G,s]},s]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[z]}],"row-start-end":[{row:["auto",{span:[G,s]},s]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[n]}],mx:[{mx:[n]}],my:[{my:[n]}],ms:[{ms:[n]}],me:[{me:[n]}],mt:[{mt:[n]}],mr:[{mr:[n]}],mb:[{mb:[n]}],ml:[{ml:[n]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[s,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[s,a,"auto","min","max","fit"]}],"font-size":[{text:["base",F,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",s]}],"line-clamp":[{"line-clamp":["none",R,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,s]}],"list-image":[{"list-image":["none",s]}],"list-style-type":[{list:["none","disc","decimal",s]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,M]}],"underline-offset":[{"underline-offset":["auto",P,s]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...le(),sa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ra]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ia]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:W()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[P,s]}],"outline-w":[{outline:[P,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[P,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,ca]}],"shadow-color":[{shadow:[z]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...de(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":de()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",F,s]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[v]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[G,s]}],"translate-x":[{"translate-x":[oe]}],"translate-y":[{"translate-y":[oe]}],"skew-x":[{"skew-x":[ae]}],"skew-y":[{"skew-y":[ae]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",s]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,M,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ye=je(La);function q(...e){return ye(ge(e))}var xa=tailwindVariants.tv({base:"animate-spin",slots:{ring:"",rotateElement:""},variants:{variant:{primary:{ring:"fill-transparent-primary-30",rotateElement:"fill-primary-600"},inverse:{ring:"fill-transparent-neutral-30",rotateElement:"fill-neutral-50"}},size:{xl:{base:"h-16 w-16"},lg:{base:"h-10 w-10"},md:{base:"h-6 w-6"},sm:{base:"h-4 w-4"}}},defaultVariants:{variant:"primary"}}),Me=({variant:e,className:a,size:t,...o})=>{let{base:d,ring:u,rotateElement:r}=xa({variant:e,size:t});return jsxRuntime.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:d({className:a}),...o,children:[jsxRuntime.jsx("path",{d:"M64 32C64 49.6731 49.6731 64 32 64C14.3269 64 0 49.6731 0 32C0 14.3269 14.3269 0 32 0C49.6731 0 64 14.3269 64 32ZM9.97814 32C9.97814 44.1623 19.8377 54.0219 32 54.0219C44.1623 54.0219 54.0219 44.1623 54.0219 32C54.0219 19.8377 44.1623 9.97814 32 9.97814C19.8377 9.97814 9.97814 19.8377 9.97814 32Z",className:u({variant:e})}),jsxRuntime.jsx("path",{d:"M59.0109 32.4839C61.7663 32.4839 64.0397 30.237 63.6119 27.515C63.2201 25.0227 62.5341 22.5797 61.5641 20.238C59.956 16.3556 57.5989 12.828 54.6274 9.85648C51.6559 6.885 48.1283 4.5279 44.2459 2.91975C41.9042 1.94982 39.4612 1.26379 36.9689 0.87203C34.247 0.44418 32 2.71758 32 5.47297C32 8.22836 34.2616 10.4059 36.9465 11.0248C38.1329 11.2983 39.2973 11.6703 40.4274 12.1384C43.0992 13.2451 45.5269 14.8672 47.5718 16.9121C49.6167 18.957 51.2388 21.3847 52.3455 24.0565C52.8136 25.1866 53.1857 26.351 53.4591 27.5374C54.078 30.2224 56.2555 32.4839 59.0109 32.4839Z",className:r({variant:e})})]})};var bt=["success","warning","error","info","loading"],Sa=toast.createToaster({placement:"top",overlap:false,gap:8,duration:5e3}),N="hidden h-6 w-6 animate-in fade-in-0 zoom-in duration-300",At=e=>jsxRuntime.jsx(toast.Toaster,{toaster:Sa,...e,children:a=>jsxRuntime.jsxs(toast.Toast.Root,{className:q("group z-[var(--z-index)] flex h-[var(--height)] min-w-70 max-w-100 translate-x-[var(--x)] translate-y-[var(--y)] items-center rounded-lg opacity-[var(--opacity)] transition-all will-change-transform","p-3 pr-2 ring-1 ring-inset data-[state=close]:animate-slide-up data-[state=open]:animate-slide-down","data-[type=success]:bg-success-100 data-[type=success]:ring-success-300","data-[type=info]:bg-info-100 data-[type=info]:ring-info-300","data-[type=warning]:bg-warning-100 data-[type=warning]:ring-warning-300","data-[type=error]:bg-error-100 data-[type=error]:ring-error-300","data-[type=loading]:bg-primary-200 data-[type=loading]:ring-primary-500"),children:[jsxRuntime.jsx(Me,{size:"md",className:"hidden group-data-[type=loading]:block"}),jsxRuntime.jsx(pe,{className:q(N,"text-success-500 group-data-[type=success]:block")}),jsxRuntime.jsx(Ie,{className:q(N,"text-info-500 group-data-[type=info]:block")}),jsxRuntime.jsx(xe,{className:q(N,"text-warning-700 group-data-[type=warning]:block")}),jsxRuntime.jsx(me,{className:q(N,"text-error-500 group-data-[type=error]:block")}),jsxRuntime.jsx(toast.Toast.Title,{className:"ml-3 mr-4.5 line-clamp-1 flex-1 font-inter text-sm font-medium leading-[140%] text-neutral-900",children:a.title}),jsxRuntime.jsx(toast.Toast.CloseTrigger,{className:"m-1.75",children:jsxRuntime.jsx(Le,{className:"h-4.5 w-4.5"})})]},a.id)});/*! Bundled license information:
|
|
1
|
+
'use strict';var toast=require('@ark-ui/react/toast'),react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');var se=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,t,o)=>o?o.toUpperCase():t.toLowerCase()),_=e=>{let a=Fe(e);return a.charAt(0).toUpperCase()+a.slice(1)},X=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim(),fe=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var ie={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"};var ne=react.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:d="",children:u,iconNode:r,...l},c)=>react.createElement("svg",{ref:c,...ie,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:X("lucide",d),...!u&&!fe(l)&&{"aria-hidden":"true"},...l},[...r.map(([p,m])=>react.createElement(p,m)),...Array.isArray(u)?u:[u]]));var S=(e,a)=>{let t=react.forwardRef(({className:o,...d},u)=>react.createElement(ne,{ref:u,iconNode:a,className:X(`lucide-${se(_(e))}`,`lucide-${e}`,o),...d}));return t.displayName=_(e),t};var qe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],A=S("circle-check",qe);var ve=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],y=S("circle-x",ve);var Ue=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],O=S("info",Ue);var Oe=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],B=S("triangle-alert",Oe);var He=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],H=S("x",He);var pe=A,me=y,Le=H,Ie=O,xe=B;function Ce(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var d=e.length;for(a=0;a<d;a++)e[a]&&(t=Ce(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ge(){for(var e,a,t=0,o="",d=arguments.length;t<d;t++)(e=arguments[t])&&(a=Ce(e))&&(o&&(o+=" "),o+=a);return o}var $="-",Ge=e=>{let a=Ve(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:r=>{let l=r.split($);return l[0]===""&&l.length!==1&&l.shift(),we(l,a)||ze(r)},getConflictingClassGroupIds:(r,l)=>{let c=t[r]||[];return l&&o[r]?[...c,...o[r]]:c}}},we=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),d=o?we(e.slice(1),o):void 0;if(d)return d;if(a.validators.length===0)return;let u=e.join($);return a.validators.find(({validator:r})=>r(u))?.classGroupId},he=/^\[(.+)\]$/,ze=e=>{if(he.test(e)){let a=he.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Ve=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return We(Object.entries(e.classGroups),t).forEach(([u,r])=>{Y(r,o,u,a);}),o},Y=(e,a,t,o)=>{e.forEach(d=>{if(typeof d=="string"){let u=d===""?a:Se(a,d);u.classGroupId=t;return}if(typeof d=="function"){if(Ee(d)){Y(d(o),a,t,o);return}a.validators.push({validator:d,classGroupId:t});return}Object.entries(d).forEach(([u,r])=>{Y(r,Se(a,u),t,o);});});},Se=(e,a)=>{let t=e;return a.split($).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},Ee=e=>e.isThemeGetter,We=(e,a)=>a?e.map(([t,o])=>{let d=o.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([r,l])=>[a+r,l])):u);return [t,d]}):e,Xe=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,d=(u,r)=>{t.set(u,r),a++,a>e&&(a=0,o=t,t=new Map);};return {get(u){let r=t.get(u);if(r!==void 0)return r;if((r=o.get(u))!==void 0)return d(u,r),r},set(u,r){t.has(u)?t.set(u,r):d(u,r);}}},ke="!",Ne=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,d=a[0],u=a.length,r=l=>{let c=[],p=0,m=0,C;for(let n=0;n<l.length;n++){let I=l[n];if(p===0){if(I===d&&(o||l.slice(n,n+u)===a)){c.push(l.slice(m,n)),m=n+u;continue}if(I==="/"){C=n;continue}}I==="["?p++:I==="]"&&p--;}let g=c.length===0?l:l.substring(m),w=g.startsWith(ke),h=w?g.substring(1):g,L=C&&C>m?C-m:void 0;return {modifiers:c,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:L}};return t?l=>t({className:l,parseClassName:r}):r},Ke=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},Ze=e=>({cache:Xe(e.cacheSize),parseClassName:Ne(e),...Ge(e)}),Je=/\s+/,Qe=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:d}=a,u=[],r=e.trim().split(Je),l="";for(let c=r.length-1;c>=0;c-=1){let p=r[c],{modifiers:m,hasImportantModifier:C,baseClassName:g,maybePostfixModifierPosition:w}=t(p),h=!!w,L=o(h?g.substring(0,w):g);if(!L){if(!h){l=p+(l.length>0?" "+l:l);continue}if(L=o(g),!L){l=p+(l.length>0?" "+l:l);continue}h=false;}let n=Ke(m).join(":"),I=C?n+ke:n,x=I+L;if(u.includes(x))continue;u.push(x);let v=d(L,h);for(let D=0;D<v.length;++D){let V=v[D];u.push(I+V);}l=p+(l.length>0?" "+l:l);}return l};function _e(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=Pe(a))&&(o&&(o+=" "),o+=t);return o}var Pe=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=Pe(e[o]))&&(t&&(t+=" "),t+=a);return t};function je(e,...a){let t,o,d,u=r;function r(c){let p=a.reduce((m,C)=>C(m),e());return t=Ze(p),o=t.cache.get,d=t.cache.set,u=l,l(c)}function l(c){let p=o(c);if(p)return p;let m=Qe(c,t);return d(c,m),m}return function(){return u(_e.apply(null,arguments))}}var f=e=>{let a=t=>t[e]||[];return a.isThemeGetter=true,a},be=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ye=/^\d+\/\d+$/,$e=new Set(["px","full","screen"]),ea=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ta=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ua=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>R(e)||$e.has(e)||Ye.test(e),M=e=>T(e,"length",na),R=e=>!!e&&!Number.isNaN(Number(e)),j=e=>T(e,"number",R),G=e=>!!e&&Number.isInteger(Number(e)),la=e=>e.endsWith("%")&&R(e.slice(0,-1)),s=e=>be.test(e),F=e=>ea.test(e),da=new Set(["length","size","percentage"]),ra=e=>T(e,da,Ae),sa=e=>T(e,"position",Ae),fa=new Set(["image","url"]),ia=e=>T(e,fa,ma),ca=e=>T(e,"",pa),z=()=>true,T=(e,a,t)=>{let o=be.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):false},na=e=>aa.test(e)&&!ta.test(e),Ae=()=>false,pa=e=>oa.test(e),ma=e=>ua.test(e);var La=()=>{let e=f("colors"),a=f("spacing"),t=f("blur"),o=f("brightness"),d=f("borderColor"),u=f("borderRadius"),r=f("borderSpacing"),l=f("borderWidth"),c=f("contrast"),p=f("grayscale"),m=f("hueRotate"),C=f("invert"),g=f("gap"),w=f("gradientColorStops"),h=f("gradientColorStopPositions"),L=f("inset"),n=f("margin"),I=f("opacity"),x=f("padding"),v=f("saturate"),D=f("scale"),V=f("sepia"),ae=f("skew"),te=f("space"),oe=f("translate"),K=()=>["auto","contain","none"],Z=()=>["auto","hidden","clip","visible","scroll"],J=()=>["auto",s,a],i=()=>[s,a],ue=()=>["",P,M],E=()=>["auto",R,s],le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],de=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",s],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[R,s];return {cacheSize:500,separator:":",theme:{colors:[z],spacing:[P,M],blur:["none","",F,s],brightness:k(),borderColor:[e],borderRadius:["none","","full",F,s],borderSpacing:i(),borderWidth:ue(),contrast:k(),grayscale:U(),hueRotate:k(),invert:U(),gap:i(),gradientColorStops:[e],gradientColorStopPositions:[la,M],inset:J(),margin:J(),opacity:k(),padding:i(),saturate:k(),scale:k(),sepia:U(),skew:k(),space:i(),translate:i()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...le(),s]}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:K()}],"overscroll-x":[{"overscroll-x":K()}],"overscroll-y":[{"overscroll-y":K()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[L]}],"inset-x":[{"inset-x":[L]}],"inset-y":[{"inset-y":[L]}],start:[{start:[L]}],end:[{end:[L]}],top:[{top:[L]}],right:[{right:[L]}],bottom:[{bottom:[L]}],left:[{left:[L]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",G,s]}],basis:[{basis:J()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",G,s]}],"grid-cols":[{"grid-cols":[z]}],"col-start-end":[{col:["auto",{span:["full",G,s]},s]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[z]}],"row-start-end":[{row:["auto",{span:[G,s]},s]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[n]}],mx:[{mx:[n]}],my:[{my:[n]}],ms:[{ms:[n]}],me:[{me:[n]}],mt:[{mt:[n]}],mr:[{mr:[n]}],mb:[{mb:[n]}],ml:[{ml:[n]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[s,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[s,a,"auto","min","max","fit"]}],"font-size":[{text:["base",F,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",s]}],"line-clamp":[{"line-clamp":["none",R,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,s]}],"list-image":[{"list-image":["none",s]}],"list-style-type":[{list:["none","disc","decimal",s]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,M]}],"underline-offset":[{"underline-offset":["auto",P,s]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...le(),sa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ra]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ia]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:W()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[P,s]}],"outline-w":[{outline:[P,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[P,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,ca]}],"shadow-color":[{shadow:[z]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...de(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":de()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",F,s]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[v]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[G,s]}],"translate-x":[{"translate-x":[oe]}],"translate-y":[{"translate-y":[oe]}],"skew-x":[{"skew-x":[ae]}],"skew-y":[{"skew-y":[ae]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",s]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,M,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ye=je(La);function q(...e){return ye(ge(e))}var xa=tailwindVariants.tv({base:"animate-spin",slots:{ring:"",rotateElement:""},variants:{variant:{primary:{ring:"fill-transparent-primary-30",rotateElement:"fill-primary-600"},inverse:{ring:"fill-transparent-neutral-30",rotateElement:"fill-neutral-50"}},size:{xl:{base:"h-16 w-16"},lg:{base:"h-10 w-10"},md:{base:"h-6 w-6"},sm:{base:"h-4 w-4"}}},defaultVariants:{variant:"primary"}}),Me=({variant:e,className:a,size:t,...o})=>{let{base:d,ring:u,rotateElement:r}=xa({variant:e,size:t});return jsxRuntime.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:d({className:a}),...o,children:[jsxRuntime.jsx("path",{d:"M64 32C64 49.6731 49.6731 64 32 64C14.3269 64 0 49.6731 0 32C0 14.3269 14.3269 0 32 0C49.6731 0 64 14.3269 64 32ZM9.97814 32C9.97814 44.1623 19.8377 54.0219 32 54.0219C44.1623 54.0219 54.0219 44.1623 54.0219 32C54.0219 19.8377 44.1623 9.97814 32 9.97814C19.8377 9.97814 9.97814 19.8377 9.97814 32Z",className:u({variant:e})}),jsxRuntime.jsx("path",{d:"M59.0109 32.4839C61.7663 32.4839 64.0397 30.237 63.6119 27.515C63.2201 25.0227 62.5341 22.5797 61.5641 20.238C59.956 16.3556 57.5989 12.828 54.6274 9.85648C51.6559 6.885 48.1283 4.5279 44.2459 2.91975C41.9042 1.94982 39.4612 1.26379 36.9689 0.87203C34.247 0.44418 32 2.71758 32 5.47297C32 8.22836 34.2616 10.4059 36.9465 11.0248C38.1329 11.2983 39.2973 11.6703 40.4274 12.1384C43.0992 13.2451 45.5269 14.8672 47.5718 16.9121C49.6167 18.957 51.2388 21.3847 52.3455 24.0565C52.8136 25.1866 53.1857 26.351 53.4591 27.5374C54.078 30.2224 56.2555 32.4839 59.0109 32.4839Z",className:r({variant:e})})]})};var Pt=["success","warning","error","info","loading"],Sa=toast.createToaster({placement:"top",overlap:false,gap:8,duration:5e3}),N="hidden h-6 w-6 animate-in fade-in-0 zoom-in duration-300",bt=e=>jsxRuntime.jsx(toast.Toaster,{toaster:Sa,...e,children:a=>jsxRuntime.jsxs(toast.Toast.Root,{className:q("group z-[var(--z-index)] flex h-[var(--height)] min-w-70 max-w-100 translate-x-[var(--x)] translate-y-[var(--y)] items-center rounded-lg opacity-[var(--opacity)] transition-all will-change-transform","p-3 pr-2 ring-1 ring-inset data-[state=close]:animate-slide-up data-[state=open]:animate-slide-down","data-[type=success]:bg-success-100 data-[type=success]:ring-success-300","data-[type=info]:bg-info-100 data-[type=info]:ring-info-300","data-[type=warning]:bg-warning-100 data-[type=warning]:ring-warning-300","data-[type=error]:bg-error-100 data-[type=error]:ring-error-300","data-[type=loading]:bg-primary-200 data-[type=loading]:ring-primary-500"),children:[jsxRuntime.jsx(Me,{size:"md",className:"hidden group-data-[type=loading]:block"}),jsxRuntime.jsx(pe,{className:q(N,"text-success-500 group-data-[type=success]:block")}),jsxRuntime.jsx(Ie,{className:q(N,"text-info-500 group-data-[type=info]:block")}),jsxRuntime.jsx(xe,{className:q(N,"text-warning-700 group-data-[type=warning]:block")}),jsxRuntime.jsx(me,{className:q(N,"text-error-500 group-data-[type=error]:block")}),jsxRuntime.jsx(toast.Toast.Title,{className:"ml-3 mr-4.5 line-clamp-1 flex-1 font-inter text-sm font-medium leading-[140%] text-neutral-900",children:a.title}),jsxRuntime.jsx(toast.Toast.CloseTrigger,{className:"m-1.75",children:jsxRuntime.jsx(Le,{className:"h-4.5 w-4.5"})})]},a.id)});/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
@@ -16,4 +16,4 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
16
16
|
* This source code is licensed under the ISC license.
|
|
17
17
|
* See the LICENSE file in the root directory of this source tree.
|
|
18
18
|
*)
|
|
19
|
-
*/exports.ToastTypes=
|
|
19
|
+
*/exports.ToastTypes=Pt;exports.Toaster=bt;exports.toast=Sa;
|
package/dist/toast.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as ToastTypes,c as Toaster,b as toast}from'./chunk-
|
|
1
|
+
export{a as ToastTypes,c as Toaster,b as toast}from'./chunk-VSILLNPF.mjs';import'./chunk-7NJTMO4L.mjs';import'./chunk-QWBSZY37.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/tooltip.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TooltipRootProps, TooltipTriggerProps, TooltipContentProps } from '@ark-ui/react/tooltip';
|
|
2
|
-
import {
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const TooltipSizes: readonly ["sm", "md"];
|
|
5
5
|
type TooltipProps = TooltipRootProps & {
|
|
6
6
|
size?: (typeof TooltipSizes)[number];
|
|
7
|
-
content: string
|
|
7
|
+
content: string;
|
|
8
8
|
asChild?: TooltipTriggerProps["asChild"];
|
|
9
9
|
contentClassName?: TooltipContentProps["className"];
|
|
10
10
|
className?: TooltipTriggerProps["className"];
|
package/dist/tooltip.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TooltipRootProps, TooltipTriggerProps, TooltipContentProps } from '@ark-ui/react/tooltip';
|
|
2
|
-
import {
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const TooltipSizes: readonly ["sm", "md"];
|
|
5
5
|
type TooltipProps = TooltipRootProps & {
|
|
6
6
|
size?: (typeof TooltipSizes)[number];
|
|
7
|
-
content: string
|
|
7
|
+
content: string;
|
|
8
8
|
asChild?: TooltipTriggerProps["asChild"];
|
|
9
9
|
contentClassName?: TooltipContentProps["className"];
|
|
10
10
|
className?: TooltipTriggerProps["className"];
|