@voidly-io/design-system 1.0.57 → 1.0.58

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.
@@ -152,6 +152,7 @@ declare const IntlFiles: {
152
152
  "component.theme_toggle.auto_mode": string;
153
153
  "component.theme_toggle.light_mode": string;
154
154
  "component.theme_toggle.dark_mode": string;
155
+ "component.table.sort_header": string;
155
156
  };
156
157
  readonly de: {
157
158
  "component.vcode.copy_failed": string;
@@ -168,6 +169,7 @@ declare const IntlFiles: {
168
169
  "component.theme_toggle.auto_mode": string;
169
170
  "component.theme_toggle.light_mode": string;
170
171
  "component.theme_toggle.dark_mode": string;
172
+ "component.table.sort_header": string;
171
173
  };
172
174
  };
173
175
  type BuiltInMessageIDs = keyof typeof IntlFiles.en;
@@ -2011,4 +2013,41 @@ declare function showVToast(options: {
2011
2013
  };
2012
2014
  declare function VToast(): import("react/jsx-runtime").JSX.Element;
2013
2015
  //#endregion
2014
- export { VAlert, VCard, VChip, VCode, VErrorBox, VFlex, VGrid, VLoading, VLogo, type VLogoName, VLogoSources, VText, VTheme, type VThemeMode, type VThemePreference, VThemeToggle, VToast, createVIntl, showVToast, useVThemeContext };
2016
+ //#region src/components/VTable/VTable.d.ts
2017
+ interface VTableColumn<T = any> {
2018
+ accessor: Extract<keyof T, string>;
2019
+ label: React$1.ReactNode;
2020
+ sortable?: boolean;
2021
+ }
2022
+ interface VTableProps<T = any, TColumns extends readonly VTableColumn<T>[] = readonly VTableColumn<T>[]> {
2023
+ superHeader?: string;
2024
+ banner?: {
2025
+ color: string;
2026
+ message: string;
2027
+ };
2028
+ columns: TColumns;
2029
+ rows: T[];
2030
+ "aria-label": string;
2031
+ loading: boolean;
2032
+ noDataContent: {
2033
+ noDataText: string;
2034
+ noDataWithSearch?: {
2035
+ debouncedSearch: string;
2036
+ noDataWithSearchText: string;
2037
+ noDataWithSearchButtonText: string;
2038
+ onClearSearch(): void;
2039
+ };
2040
+ };
2041
+ sorting?: {
2042
+ orderBy: TColumns[number]["accessor"] | null;
2043
+ orderDir: "asc" | "desc" | null;
2044
+ onOrderByChange: (data: {
2045
+ orderBy: TColumns[number]["accessor"] | null;
2046
+ orderDir: "asc" | "desc" | null;
2047
+ }) => void;
2048
+ };
2049
+ onRowClick?(row: T): void;
2050
+ }
2051
+ declare const VTable: <T = any, TColumns extends readonly VTableColumn<T>[] = readonly VTableColumn<T>[]>(props: VTableProps<T, TColumns>) => import("react/jsx-runtime").JSX.Element;
2052
+ //#endregion
2053
+ export { VAlert, VCard, VChip, VCode, VErrorBox, VFlex, VGrid, VLoading, VLogo, type VLogoName, VLogoSources, VTable, VText, VTheme, type VThemeMode, type VThemePreference, VThemeToggle, VToast, createVIntl, showVToast, useVThemeContext };
@@ -1,7 +1,7 @@
1
1
  import '../style.css';
2
- import{a as e,i as t,n,o as r,r as i,t as a}from"../tokens-Cr59L2ch.js";import{i as o,t as s}from"../utils-oZQSEYYF.js";import{c}from"react/compiler-runtime";import{ArrowPathIcon as l,CheckIcon as u,ExclamationCircleIcon as d,ExclamationTriangleIcon as f}from"@heroicons/react/20/solid";import*as p from"@heroicons/react/24/outline";import{ArrowDownTrayIcon as m,ArrowTurnDownLeftIcon as h,ArrowTurnRightUpIcon as g,ChevronUpIcon as _,ClipboardDocumentIcon as v,DocumentIcon as y,InformationCircleIcon as b}from"@heroicons/react/24/outline";import{Alert as x,AlertTitle as S,Button as C,IconButton as w,ThemeProvider as T,Tooltip as E,alpha as D,createTheme as O,darken as k,lighten as A,styled as j,useMediaQuery as M,useTheme as N}from"@mui/material";import{Fragment as P,createContext as F,createElement as I,forwardRef as L,useContext as R,useEffect as ee,useLayoutEffect as te,useState as ne,useSyncExternalStore as re}from"react";import{Fragment as ie,jsx as z,jsxs as B}from"react/jsx-runtime";import{Toaster as ae,toast as V}from"sonner";import{GeistMono as H}from"geist/font/mono";import{GeistSans as U}from"geist/font/sans";import W from"@mui/material/CssBaseline";import{FormattedMessage as oe,IntlProvider as se,useIntl as G}from"react-intl";import{toJsxRuntime as K}from"hast-util-to-jsx-runtime";import{codeToHast as q}from"shiki/bundle/web";import*as J from"@heroicons/react/24/solid";const Y={width:18,height:18},X={success:z(u,{style:Y}),info:z(b,{style:Y}),warning:z(f,{style:Y}),error:z(d,{style:Y})};function ce(e){let t=c(8),n=e.hideIcon?!1:e.icon?e.icon:X[e.type],r;t[0]===e.title?r=t[1]:(r=e.title&&z(S,{children:e.title}),t[0]=e.title,t[1]=r);let i;return t[2]!==e.children||t[3]!==e.style||t[4]!==e.type||t[5]!==n||t[6]!==r?(i=B(x,{severity:e.type,icon:n,style:e.style,children:[r,e.children]}),t[2]=e.children,t[3]=e.style,t[4]=e.type,t[5]=n,t[6]=r,t[7]=i):i=t[7],i}const le=L(function(e,t){let n=c(15),i,o,s,l,u;n[0]===e?(i=n[1],o=n[2],s=n[3],l=n[4],u=n[5]):({selected:l,padding:o,style:u,children:i,...s}=e,n[0]=e,n[1]=i,n[2]=o,n[3]=s,n[4]=l,n[5]=u);let d=`1px solid ${l?r[`--v-blue-700`]:r[`--v-strokes`]}`,f=o??24,p;n[6]!==u||n[7]!==d||n[8]!==f?(p={borderRadius:a[`--v-border-radius`],border:d,display:`flex`,alignItems:`flex-start`,flexDirection:`column`,justifyContent:`space-between`,background:r[`--v-background-200`],gap:24,overflow:`hidden`,padding:f,...u},n[6]=u,n[7]=d,n[8]=f,n[9]=p):p=n[9];let m;return n[10]!==i||n[11]!==t||n[12]!==s||n[13]!==p?(m=z(`div`,{...s,ref:t,style:p,children:i}),n[10]=i,n[11]=t,n[12]=s,n[13]=p,n[14]=m):m=n[14],m}),ue=j(`div`)(e=>({"&:hover":e.$styleHover}));function de(e){let t=N(),n=M(t.breakpoints.down(`sm`)),r=M(t.breakpoints.down(`md`)),i=Object.fromEntries([[`padding`,e.padding],[`paddingTop`,e.paddingTop],[`paddingBottom`,e.paddingBottom],[`paddingLeft`,e.paddingLeft],[`paddingRight`,e.paddingRight]].filter(([,e])=>e!==void 0)),a=r&&e.gapMdDown?e.gapMdDown:e.gap;return z(ue,{style:{display:`flex`,flexDirection:n&&e.flexDirectionSmDown?e.flexDirectionSmDown:r&&e.flexDirectionMdDown?e.flexDirectionMdDown:e.flexDirection,margin:e.margin,marginTop:e.marginTop,marginBottom:e.marginBottom,marginLeft:e.marginLeft,marginRight:e.marginRight,...i,gap:a,rowGap:e.rowGap||a,columnGap:e.columnGap||a,alignItems:e.alignItems,justifyContent:e.justifyContent,flexWrap:e.flexWrap,flexGrow:e.flexGrow,flexShrink:e.flexShrink,flexBasis:e.flexBasis,width:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth,minHeight:e.minHeight,maxHeight:e.maxHeight,gridColumn:n&&e.gridColumnSpanSmDown?`span ${e.gridColumnSpanSmDown}`:r&&e.gridColumnSpanMdDown?`span ${e.gridColumnSpanMdDown}`:e.gridColumnSpan?`span ${e.gridColumnSpan}`:void 0,color:e.color?`var(${e.color})`:void 0,...e.style},$styleHover:e.styleHover,ref:e.containerRef,onClick:e.onClick,children:e.children})}function Z(){let t=`#2050ff`;t+``,t+``,t+``;let n=A(t,.2),o=`#e8e8e8`;return{...e.light,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#2050ff1a`,colorPrimary500Alpha15:`#2050ff26`,colorPrimary500Alpha20:`#2050ff33`,colorPrimary700:n,colorMarker:`rgb(244 125 27 / 39%) 4%, rgb(215 106 40 / 15%)`,borderRadius:`6px`,colorBlack:`#000000`,colorStrokes:o,colorStrokesLight:A(o,.5),linkColor:n,linkColorHover:A(n,.25),colorWhite:`#FFFFFF`,bodyColor:`#444`,bodyColorAlpha50:D(`#444`,.5),bodyColorStrong:`#000`,inputBackground:`#fff`,inputBackgroundDisabled:`rgb(250, 250, 250)`,inputColor:`#000`,inputColorDisabled:r[`--v-gray-100`],inputBorder:`#e8e8e8`,inputHoverBorder:k(`#e8e8e8`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px rgba(50, 132, 255, 0.1)`,buttonContainedPrimaryColor:`#fff`,buttonContainedPrimaryColorHover:`#fff`,buttonContainedPrimaryBackground:`#0a0a0a`,buttonContainedPrimaryBackgroundHover:A(`#0a0a0a`,.1),buttonContainedPrimaryBorder:A(`#0a0a0a`,.1),buttonContainedPrimaryBorderHover:A(`#0a0a0a`,.2),buttonContainedSecondaryColor:`#fff`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:A(`#0a0a0a`,.1),buttonContainedSecondaryBorder:`#0a0a0a`,buttonContainedSecondaryBorderHover:A(`#0a0a0a`,.1),buttonOutlinedColor:`rgba(0, 0, 0, 0.9)`,buttonOutlinedColorHover:`rgba(0, 0, 0, 1)`,buttonOutlinedBackground:`#fafafa`,buttonOutlinedBackgroundHover:`#fff`,buttonOutlinedBorder:`#e8e8e8`,buttonOutlinedBorderHover:k(`#e8e8e8`,.1),checkboxBackground:t,checkboxLabelColor:`rgba(0, 0, 0, 0.9)`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,success:`#11c12fff`,switchThumb:`#fff`,switchTrack:r[`--v-gray-300`],switchTrackChecked:t,iconButtonColor:A(`#05102b`,.4),iconButtonColorHover:`#05102b`,accentBackgroundColor:`#fff`,accentBackgroundColorStrong:k(`#fff`,.05),sidebarBackground:`#fff`,sidebarActiveColor:`#000`,sidebarActiveBackground:D(`#000`,.05),sidebarActiveBackgroundHover:D(n,.075),sidebarColor:e.light[`--v-gray-700`],sidebarLinkHoverBackground:`rgba(0, 0, 0, 0.05)`,sidebarLinkHoverColor:`rgba(0, 0, 0, 0.9)`,tableSortIconBackground:e.light[`--v-blue-200`],tableSortIconColor:e.light[`--v-blue-700`],tableBorderColor:`rgba(0, 0, 0, 0.1)`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:r[`--v-gray-300`],dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:`#2c5dbf0f`,dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:D(e.light[`--v-gray-900`],.5),selectionColor:`#fff`,selectionBackground:t,boxShadow:`0px 5px 5px -3px rgb(0 0 0 / 0%), 0px 8px 10px 1px rgb(0 0 0 / 2%), 0px 3px 14px 2px rgba(0,0,0,0.12)`,boxShadow2:`0 14px 20px -4px rgba(50,50,93,0.05), 0 8px 16px -8px rgba(0,0,0,0.05)`,boxShadow3:`0 14px 20px -4px rgba(229, 239, 250, 1)`,boxShadow4:`0 1px 2px 0 rgba(0,0,0,.05)`,boxShadowError:`0 14px 20px -4px rgba(255, 18, 18, 0.05), 0 8px 16px -8px rgba(255, 0, 0, 0.05)`,keystrokePreviewColor:r[`--v-gray-100`],keystrokePreviewBackground:`rgba(0, 0, 0, 0.03)`,dottedBackgroundDotsColor:`#00000016`,blockEditorSidebarGroupHeaderBackground:`#fafafa`,blockEditorSidebarGroupHeaderBackgroundHover:`#f2f2f2`,blockEditorSidebarGroupHeaderColor:`#000`,upgradeToProBannerBackground:`#0a0a0a`,upgradeToProBannerBackgroundHover:A(`#0a0a0a`,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid #0a0a0a`}}function Q(){let t=`#006eff`;t+``,t+``,t+``;let n=k(t,.4),o=A(t,.2),s=`#2a2a2a`;return{...e.dark,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#006eff1a`,colorPrimary500Alpha15:`#006eff26`,colorPrimary500Alpha20:`#006eff33`,colorPrimary700:o,colorMarker:`${D(t,.4)} 4%, ${D(t,.15)}`,borderRadius:`6px`,colorBlack:`#fff`,colorStrokes:s,colorStrokesLight:k(s,.5),linkColor:o,linkColorHover:A(o,.25),colorWhite:`#0e0e0e`,bodyColor:`#a1a1a1`,bodyColorAlpha50:D(`#fff`,.5),bodyColorStrong:`#fff`,inputBackground:`#0a0a0a`,inputBackgroundDisabled:`#ffffff14`,inputColor:`#fff`,inputColorDisabled:r[`--v-gray-900`],inputBorder:`#2a2a2a`,inputHoverBorder:A(`#2a2a2a`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px ${D(t,.2)}`,buttonContainedPrimaryColor:`#000`,buttonContainedPrimaryColorHover:`#000`,buttonContainedPrimaryBackground:`#fff`,buttonContainedPrimaryBackgroundHover:k(`#fff`,.1),buttonContainedPrimaryBorder:`#fff`,buttonContainedPrimaryBorderHover:k(`#fff`,.1),buttonContainedSecondaryColor:`#e3e3e3`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:A(`#0a0a0a`,.1),buttonContainedSecondaryBorder:s,buttonContainedSecondaryBorderHover:A(s,.1),buttonOutlinedColor:`#e3e3e3`,buttonOutlinedColorHover:`#fff`,buttonOutlinedBackground:`#0a0a0a`,buttonOutlinedBackgroundHover:A(`#0a0a0a`,.1),buttonOutlinedBorder:s,buttonOutlinedBorderHover:A(s,.1),checkboxBackground:t,checkboxLabelColor:`#fff`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,success:`#1ce853`,switchThumb:`#fff`,switchTrack:`#30363d`,switchTrackChecked:t,iconButtonColor:k(`#fff`,.2),iconButtonColorHover:`#fff`,accentBackgroundColor:`#0a0a0a`,accentBackgroundColorStrong:`#0e0e0e`,sidebarBackground:e.dark[`--v-background-200`],sidebarActiveColor:`#fff`,sidebarActiveBackground:D(`#fff`,.05),sidebarActiveBackgroundHover:D(o,.075),sidebarColor:e.dark[`--v-gray-700`],sidebarLinkHoverBackground:`rgba(255, 255, 255, 0.05)`,sidebarLinkHoverColor:`#fff`,tableSortIconBackground:e.dark[`--v-blue-200`],tableSortIconColor:e.dark[`--v-blue-700`],tableBorderColor:`#292d31`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:D(e.dark[`--v-gray-500`],.5),dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:D(e.dark[`--v-gray-500`],.05),dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:D(e.dark[`--v-gray-500`],.05),selectionColor:`#fff`,selectionBackground:n,boxShadow:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow2:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow3:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow4:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadowError:`0px 0px 60px 0px rgba(255, 0, 0, 0.15)`,keystrokePreviewColor:r[`--v-gray-900`],keystrokePreviewBackground:`rgba(255, 255, 255, 0.03)`,dottedBackgroundDotsColor:`#ffffff16`,blockEditorSidebarGroupHeaderBackground:`#1a1a1a`,blockEditorSidebarGroupHeaderBackgroundHover:`#262626`,blockEditorSidebarGroupHeaderColor:`#fff`,upgradeToProBannerBackground:t,upgradeToProBannerBackgroundHover:A(t,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid ${t}`}}function $(e){return{color:e.color,background:e.background,border:`1px solid ${e.borderColor}`,"&:hover":{color:e.colorHover,border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover,boxShadow:`0px 2px 4px -1px rgb(0 0 0 / 8%), 0px 4px 5px 0px rgb(0 0 0 / 7%), 0px 1px 10px 0px rgba(0,0,0,0.12)`},"&:active":{border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover},"&:disabled":{color:r[`--v-gray-100`],border:`1px solid ${r[`--v-gray-500`]}`,background:r[`--v-gray-500`]}}}const fe=t=>{let i=t===`light`?Z():Q();return O({breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536,header:1140,defaultScreenSize:1024}},typography:{fontFamily:[U.style?.fontFamily??`"Geist Sans"`,`Arial`].join(`, `)},palette:{error:{main:t===`light`?e.light[`--v-red-700`]:e.dark[`--v-red-700`]},primary:{main:i.colorPrimary500},secondary:{main:i.colorPrimary500},mode:t},components:{MuiChip:{styleOverrides:{root:{padding:`6px 14px`,borderRadius:9999,fontSize:10,fontWeight:700,lineHeight:`12px`,height:`auto`,borderWidth:1,borderStyle:`solid`,"&:active":{boxShadow:`none`},".MuiChip-label":{display:`flex`,alignItems:`center`,gap:4,padding:0},svg:{width:16,marginRight:4}},colorPrimary:{backgroundColor:r[`--v-alert-info-background`],borderColor:r[`--v-alert-info-border`],color:r[`--v-alert-info-text`],"&:hover:not(&.no-hover-effect)":{backgroundColor:r[`--v-alert-info-background-hover`]}},colorSuccess:{backgroundColor:r[`--v-alert-success-background`],borderColor:r[`--v-alert-success-border`],color:r[`--v-alert-success-text`],"&:hover":{backgroundColor:r[`--v-alert-success-background-hover`]}},colorError:{backgroundColor:r[`--v-alert-error-background`],borderColor:r[`--v-alert-error-border`],color:r[`--v-alert-error-text`],"&:hover":{backgroundColor:r[`--v-alert-error-background-hover`]}}}},MuiInputLabel:{styleOverrides:{root:{marginLeft:2}}},MuiSkeleton:{defaultProps:{variant:`rounded`,animation:`wave`},styleOverrides:{root:{borderRadius:i.borderRadius,backgroundColor:t===`light`?`rgba(0, 0, 0, 0.11)`:`rgba(255, 255, 255, 0.11)`,"&::after":{background:t===`light`?`linear-gradient(90deg, transparent, rgb(0, 0, 0, 0.04), transparent)`:`linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.04), transparent)`}}}},MuiMenu:{styleOverrides:{paper:{transition:`none !important`}}},MuiListItemText:{styleOverrides:{root:{fontSize:13,".MuiTypography-root":{fontSize:13}}}},MuiListItemIcon:{styleOverrides:{root:{minWidth:`0 !important`,width:16,marginRight:8}}},MuiMenuItem:{defaultProps:{disableRipple:!0},styleOverrides:{root:{fontSize:14,paddingLeft:20,paddingRight:20,color:i[`--v-gray-700`],svg:{height:16},"&:hover":{background:i[`--v-gray-200`],color:i[`--v-foreground`]},"&.Mui-selected":{background:`${i.sidebarActiveBackground} !important`,color:`${i.sidebarActiveColor} !important`,"&:hover":{background:`${i.sidebarActiveBackground} !important`,color:`${i.sidebarActiveColor} !important`}},"&.Mui-focusVisible":{background:`none`,"&:hover":{background:i.sidebarLinkHoverBackground,color:i.sidebarLinkHoverColor}}}}},MuiSelect:{styleOverrides:{root:{fontWeight:500}}},MuiSvgIcon:{styleOverrides:{root:{"&.MuiSelect-icon":{color:i.inputBorder},"&.MuiStepIcon-root.Mui-completed":{fill:i.success}}}},MuiCssBaseline:{styleOverrides:{html:{backgroundColor:r[`--v-background-100`],color:i.bodyColor},body:{backgroundColor:r[`--v-background-100`],color:i.bodyColor,fontSize:14}}},MuiAccordion:{defaultProps:{disableGutters:!0},styleOverrides:{root:{margin:`0`,background:`none`,boxShadow:`none`,color:i.bodyColor,border:`1px solid ${i.colorStrokes}`,borderRadius:i.borderRadius,":hover":{borderColor:i[`--v-blue-700`]},":first-of-type":{borderRadius:i.borderRadius},":last-of-type":{borderRadius:i.borderRadius},svg:{transition:`0.2s ease-out transform`},".MuiAccordionSummary-root":{fontWeight:500,borderRadius:i.borderRadius,padding:`12px 24px`,color:i.bodyColorStrong,minHeight:0,":hover":{background:i.accentBackgroundColor}},".MuiAccordionSummary-content":{margin:`6px 0px`},".MuiAccordionDetails-root":{padding:`8px 24px 24px`},"&:before":{opacity:0},"&.Mui-expanded":{".MuiAccordionSummary-root":{svg:{transform:`rotate(180deg)`}}}}}},MuiRadio:{styleOverrides:{root:{color:i.inputBorder}}},MuiTable:{styleOverrides:{root:{border:`1px solid ${i.colorStrokes}`,borderRadius:i.borderRadius,borderCollapse:`separate`,overflow:`hidden`,background:i.accentBackgroundColor,".MuiTableCell-root.MuiTableCell-head":{fontWeight:600,color:i[`--v-gray-1000`],background:i[`--v-gray-100`]},".MuiTableCell-root":{borderBottom:`1px solid ${i.colorStrokes}`,fontSize:13,color:i.bodyColor,padding:`8px 16px`,height:57}}}},MuiToggleButtonGroup:{styleOverrides:{root:{padding:`4px 0px`,borderRadius:`8px`,overflow:`hidden`,border:`1px solid ${i.colorStrokes}`,background:i[`--v-background`]}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:11,marginLeft:0,marginRight:0}}},MuiToggleButton:{styleOverrides:{root:{borderRadius:`6px !important`,fontSize:13,fontWeight:500,lineHeight:`18px`,textTransform:`none`,flexGrow:1,color:i[`--v-foreground`],padding:`8px 16px`,margin:`0 4px`,border:0,svg:{fontSize:16},"&:hover":{background:i[`--v-gray-200`]},"&.Mui-selected":{background:i[`--v-gray-200`],color:i[`--v-foreground`],"&:hover":{background:i[`--v-gray-200`]}}},sizeSmall:{padding:`5px 12px`,fontSize:13}}},MuiAlert:{styleOverrides:{root:{fontSize:`14px`,padding:`12px 24px`},icon:{padding:`8px 0`,marginRight:24,color:`inherit !important`},message:{padding:`6px 0`},standardSuccess:{background:r[`--v-alert-success-background`],border:`1px solid ${r[`--v-alert-success-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-success-text`]},standardWarning:{background:r[`--v-alert-warning-background`],border:`1px solid ${r[`--v-alert-warning-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-warning-text`]},standardError:{background:r[`--v-alert-error-background`],border:`1px solid ${r[`--v-alert-error-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-error-text`]},standardInfo:{background:r[`--v-alert-info-background`],border:`1px solid ${r[`--v-alert-info-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-info-text`]}}},MuiAlertTitle:{styleOverrides:{root:{marginTop:0}}},MuiFormLabel:{styleOverrides:{root:{color:i.checkboxLabelColor,marginLeft:i.checkboxLabelMargin,fontSize:i.checkboxLabelFontSize,fontWeight:400,"& a":{color:i.linkColor,fontWeight:500,"&:hover":{color:i.linkColorHover}}}}},MuiTableRow:{styleOverrides:{root:{"&:last-child > td":{borderBottom:0},"&.MuiTableRow-hover":{cursor:`pointer`,"&:hover":{background:t===`light`?`rgba(0, 0, 0, 0.01)`:`rgba(255, 255, 255, 0.03)`}}}}},MuiTableCell:{styleOverrides:{root:{borderBottom:`1px solid ${i.colorStrokes}`},head:{padding:`11.5px 16px`,whiteSpace:`nowrap`}}},MuiCheckbox:{styleOverrides:{colorPrimary:{"&.Mui-checked input + span":{background:i.checkboxBackground,borderColor:i.checkboxBackground},"&.MuiCheckbox-indeterminate input + span":{background:i.checkboxBackground,borderColor:i.checkboxBackground}}}},MuiSwitch:{styleOverrides:{track:({ownerState:e})=>({opacity:1,borderRadius:20,background:i.switchTrack,".Mui-checked.Mui-checked:not(.Mui-disabled) + &":{background:i.switchTrackChecked,opacity:1},...e.disabled&&{".Mui-checked.Mui-checked + &":{background:i.switchTrack,opacity:.4}},...e.color===`secondary`&&{opacity:.75,borderRadius:20,background:i.switchTrack,".Mui-checked.Mui-checked + &":{background:i.switchTrack,opacity:1}}}),thumb:({ownerState:e})=>({color:i.switchThumb,...e.color===`secondary`&&{color:i.colorPrimary700},...e.disabled&&{opacity:.8}}),disabled:()=>({".Mui-checked.Mui-checked + &":{background:i.colorPrimary700,opacity:.5}})}},MuiAutocomplete:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`},styleOverrides:{root:{background:i.inputBackground,color:i.inputColor,fieldset:{borderRadius:i.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiOutlinedInput-root":{padding:`10px 14px`},"& .MuiOutlinedInput-root .MuiAutocomplete-input":{padding:0,fontSize:13}},listbox:{"& .MuiAutocomplete-option":{fontSize:15}}}},MuiInputBase:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`,autoComplete:`off`},styleOverrides:{root:{background:i.inputBackground,color:i.inputColor,fieldset:{borderRadius:i.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiInputBase-input.Mui-disabled":{WebkitTextFillColor:i.inputColorDisabled},"& .MuiOutlinedInput-input":{fontSize:13},"&.MuiOutlinedInput-root":{paddingRight:`10px`,"& fieldset":{borderColor:i.inputBorder},"&:hover fieldset":{borderColor:i.inputHoverBorder},"&.Mui-focused fieldset":{borderColor:i.inputActiveBorder,borderWidth:1,boxShadow:i.inputActiveShadow},"&.Mui-disabled":{background:i.inputBackgroundDisabled,"& fieldset":{borderColor:i.colorStrokes}}}}}},MuiOutlinedInput:{styleOverrides:{input:{fontSize:14,padding:`10px 14px`},inputSizeSmall:{padding:`8px 14px`,fontSize:12}}},MuiIconButton:{styleOverrides:{root:{color:i.iconButtonColor,borderRadius:i.borderRadius,"&:hover":{color:i.iconButtonColorHover}}}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{boxShadow:`none`,borderRadius:0,"& .MuiButtonGroup-firstButton":{border:`1px solid ${i.buttonContainedPrimaryBorder}`},"& .MuiSvgIcon-root":{height:20}}}},MuiInputAdornment:{styleOverrides:{root:{color:i.iconButtonColor,".MuiTypography-root":{fontSize:13},marginRight:`0 !important`}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:{transition:`none !important`,".MuiChip-root":{background:i.colorPrimary500,color:t===`light`?i.colorWhite:i.colorBlack,"&:hover":{background:i.colorPrimary500}}}}},MuiButton:{defaultProps:{disableRipple:!0,disableElevation:!0},variants:[{props:{variant:`link`},style:{color:i.linkColor,padding:0,minWidth:`auto`,height:`fit-content`,"& .MuiTouchRipple-root":{display:`none`},"&:hover":{color:i.linkColorHover,background:`none`},"&:active":{color:i.linkColorHover,background:`none`},"&:disabled":{color:r[`--v-green-400`],background:`none`},"&.MuiButton-linkError":{color:r[`--v-red-700`],"&:hover":{color:r[`--v-red-700`]}}}}],styleOverrides:{root:{":hover, :focus":{boxShadow:`none !important`},textTransform:`unset`,padding:`10px 28px`,fontSize:14,lineHeight:`16px`,fontWeight:500,borderRadius:i.borderRadius,boxShadow:`none`,"svg:first-child":{width:16,flexShrink:0},whiteSpace:`nowrap`,display:`flex`,gap:8,"&.Mui-disabled":{background:`${r[`--v-gray-100`]} !important`,color:`${r[`--v-gray-300`]} !important`,border:`1px solid ${r[`--v-gray-300`]} !important`}},sizeSmall:{padding:`8px 16px`,fontSize:13},outlinedPrimary:$({theme:i,color:i.buttonOutlinedColor,colorHover:i.buttonOutlinedColorHover,background:i.buttonOutlinedBackground,backgroundHover:i.buttonOutlinedBackgroundHover,borderColor:i.buttonOutlinedBorder,borderColorHover:i.buttonOutlinedBorderHover}),containedInfo:$({theme:i,color:`#fff`,colorHover:`#fff`,background:i.colorPrimary500,backgroundHover:i.colorPrimary700,borderColor:i.colorPrimary500,borderColorHover:i.colorPrimary700}),containedPrimary:$({theme:i,color:i.buttonContainedPrimaryColor,colorHover:i.buttonContainedPrimaryColorHover,background:i.buttonContainedPrimaryBackground,backgroundHover:i.buttonContainedPrimaryBackgroundHover,borderColor:i.buttonContainedPrimaryBorder,borderColorHover:i.buttonContainedPrimaryBorderHover}),containedWarning:{"&:hover":{background:r[`--v-orange-200`]},"&:disabled":{color:r[`--v-gray-700`],background:i.colorWhite}},containedError:{"&:hover":{background:r[`--v-red-700`]},"&:disabled":{color:r[`--v-gray-700`],background:i.colorWhite}},containedSecondary:$({theme:i,color:i.buttonContainedSecondaryColor,colorHover:i.buttonContainedSecondaryColorHover,background:i.buttonContainedSecondaryBackground,backgroundHover:i.buttonContainedSecondaryBackgroundHover,borderColor:i.buttonContainedSecondaryBorder,borderColorHover:i.buttonContainedSecondaryBorderHover}),textPrimary:{color:i.buttonOutlinedColor,"&:hover":{color:i.buttonOutlinedColor},"&:active":{color:i.buttonOutlinedColor},"&:disabled":{color:r[`--v-gray-500`]}},textWarning:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-warning-text`]}},outlinedWarning:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-warning-text`]}},textError:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-error-text`]}},outlinedError:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-error-text`]}},startIcon:{marginRight:12,height:0,display:`flex`,alignItems:`center`},endIcon:{marginLeft:12,height:0,display:`flex`,alignItems:`center`},sizeLarge:{padding:`16px 32px !important`,fontSize:16}}},MuiSnackbarContent:{styleOverrides:{root:{minWidth:`auto !important`,padding:0,background:`none`,borderRadius:i.borderRadius,fontWeight:500,boxShadow:r[`--v-box-shadow-1`]},message:{padding:0}}},MuiPopover:{defaultProps:{disableScrollLock:!0},styleOverrides:{paper:{background:i.accentBackgroundColor,color:i.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiTooltip:{styleOverrides:{tooltip:{background:e.dark[`--v-gray-100`],border:`1px solid ${e.dark[`--v-strokes`]}`,color:e.dark[`--v-foreground`],boxShadow:r[`--v-box-shadow-1`],fontSize:13,lineHeight:`20px`,padding:`8px 16px`}}},MuiDialog:{defaultProps:{disableScrollLock:!0},styleOverrides:{root:{zIndex:100},paper:{background:i.accentBackgroundColor,color:i.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiStep:{styleOverrides:{root:{padding:`0px 20px`,"&.MuiStep-vertical":{padding:0},"&:first-child":{paddingLeft:0},"&:last-child":{paddingRight:0}}}},MuiStepLabel:{styleOverrides:{iconContainer:{paddingRight:12},label:{color:i.bodyColor,"&.Mui-active":{color:i.colorPrimary700},"&.Mui-completed":{color:i.success}}}},MuiStepIcon:{styleOverrides:{root:{fill:t===`dark`?r[`--v-gray-500`]:i.bodyColor,"&.Mui-active":{fill:i.colorPrimary500}}}},MuiTabs:{styleOverrides:{indicator:{display:`none`}}},MuiTab:{defaultProps:{disableRipple:!0},styleOverrides:{root:{flexGrow:1,textTransform:`none`,color:i.bodyColor,maxWidth:`none`,borderRight:`1px solid ${r[`--v-strokes`]}`,"&.Mui-selected":{color:i.bodyColor,borderBottom:`1px solid transparent`},"&:not(.Mui-selected)":{background:i.accentBackgroundColor,borderBottom:`1px solid ${r[`--v-strokes`]}`},"&:last-child":{borderRight:0}}}},MuiFormControlLabel:{defaultProps:{labelPlacement:`start`},styleOverrides:{label:{marginRight:8,fontSize:14}}},MuiTablePagination:{styleOverrides:{root:{color:i.bodyColor,"& .MuiIconButton-root":{color:`${i.bodyColor} !important`,"&.Mui-disabled":{opacity:.3}},"& .MuiTablePagination-select":{fontSize:`12px !important`},"& .MuiTablePagination-actions":{".MuiSvgIcon-root":{width:20}}},select:{color:`${i.bodyColor} !important`,fontWeight:`400 !important`},selectIcon:{color:`${i.bodyColor} !important`},displayedRows:{fontSize:12},selectLabel:{fontSize:12}}}}})};function pe(e){let t=c(8);if(!o())return null;let n;t[0]===e.theme?n=t[1]:(n=fe(e.theme),t[0]=e.theme,t[1]=n);let r;t[2]===e.isRootRegistry?r=t[3]:(r=e.isRootRegistry?z(W,{}):null,t[2]=e.isRootRegistry,t[3]=r);let i;return t[4]!==e.children||t[5]!==n||t[6]!==r?(i=B(T,{theme:n,children:[r,e.children]}),t[4]=e.children,t[5]=n,t[6]=r,t[7]=i):i=t[7],i}function me(e){let t=Z();return e===`dark`&&(t=Q()),t}function he(e){return`${e.startsWith(`--`)?``:`--`}${e.split(/(?=[A-Z])/).join(`-`).toLowerCase()}`}function ge(){return Object.entries(Te).map(([e,t])=>{let n=me(e);return`.${t} {\n${Object.entries(n).map(([e,t])=>`${he(e)}: ${t};`).join(`
2
+ import{a as e,i as t,n,o as r,r as i,t as a}from"../tokens-Cr59L2ch.js";import{a as o,i as s,o as c,t as l}from"../utils-oZQSEYYF.js";import{c as u}from"react/compiler-runtime";import{ArrowPathIcon as d,CheckIcon as f,ChevronDownIcon as p,ExclamationCircleIcon as m,ExclamationTriangleIcon as h}from"@heroicons/react/20/solid";import*as g from"@heroicons/react/24/outline";import{ArrowDownTrayIcon as _,ArrowTurnDownLeftIcon as v,ArrowTurnRightUpIcon as y,ChevronUpIcon as b,ClipboardDocumentIcon as x,DocumentIcon as ee,InformationCircleIcon as S,MagnifyingGlassIcon as C}from"@heroicons/react/24/outline";import{Alert as w,AlertTitle as T,Button as E,IconButton as D,Table as O,TableBody as k,TableCell as A,TableHead as j,TableRow as M,ThemeProvider as N,Tooltip as P,alpha as F,createTheme as I,darken as L,lighten as R,styled as te,useMediaQuery as z,useTheme as B}from"@mui/material";import V,{Fragment as H,createContext as U,createElement as ne,forwardRef as re,useContext as ie,useEffect as ae,useLayoutEffect as oe,useRef as W,useState as se,useSyncExternalStore as G}from"react";import{Fragment as K,jsx as q,jsxs as J}from"react/jsx-runtime";import{Toaster as Y,toast as X}from"sonner";import{GeistMono as ce}from"geist/font/mono";import{GeistSans as Z}from"geist/font/sans";import Q from"@mui/material/CssBaseline";import{FormattedMessage as le,IntlProvider as ue,useIntl as de}from"react-intl";import{toJsxRuntime as fe}from"hast-util-to-jsx-runtime";import{codeToHast as pe}from"shiki/bundle/web";import*as me from"@heroicons/react/24/solid";const $={width:18,height:18},he={success:q(f,{style:$}),info:q(S,{style:$}),warning:q(h,{style:$}),error:q(m,{style:$})};function ge(e){let t=u(8),n=e.hideIcon?!1:e.icon?e.icon:he[e.type],r;t[0]===e.title?r=t[1]:(r=e.title&&q(T,{children:e.title}),t[0]=e.title,t[1]=r);let i;return t[2]!==e.children||t[3]!==e.style||t[4]!==e.type||t[5]!==n||t[6]!==r?(i=J(w,{severity:e.type,icon:n,style:e.style,children:[r,e.children]}),t[2]=e.children,t[3]=e.style,t[4]=e.type,t[5]=n,t[6]=r,t[7]=i):i=t[7],i}const _e=re(function(e,t){let n=u(15),i,o,s,c,l;n[0]===e?(i=n[1],o=n[2],s=n[3],c=n[4],l=n[5]):({selected:c,padding:o,style:l,children:i,...s}=e,n[0]=e,n[1]=i,n[2]=o,n[3]=s,n[4]=c,n[5]=l);let d=`1px solid ${c?r[`--v-blue-700`]:r[`--v-strokes`]}`,f=o??24,p;n[6]!==l||n[7]!==d||n[8]!==f?(p={borderRadius:a[`--v-border-radius`],border:d,display:`flex`,alignItems:`flex-start`,flexDirection:`column`,justifyContent:`space-between`,background:r[`--v-background-200`],gap:24,overflow:`hidden`,padding:f,...l},n[6]=l,n[7]=d,n[8]=f,n[9]=p):p=n[9];let m;return n[10]!==i||n[11]!==t||n[12]!==s||n[13]!==p?(m=q(`div`,{...s,ref:t,style:p,children:i}),n[10]=i,n[11]=t,n[12]=s,n[13]=p,n[14]=m):m=n[14],m}),ve=te(`div`)(e=>({"&:hover":e.$styleHover}));function ye(e){let t=B(),n=z(t.breakpoints.down(`sm`)),r=z(t.breakpoints.down(`md`)),i=Object.fromEntries([[`padding`,e.padding],[`paddingTop`,e.paddingTop],[`paddingBottom`,e.paddingBottom],[`paddingLeft`,e.paddingLeft],[`paddingRight`,e.paddingRight]].filter(([,e])=>e!==void 0)),a=r&&e.gapMdDown?e.gapMdDown:e.gap;return q(ve,{style:{display:`flex`,flexDirection:n&&e.flexDirectionSmDown?e.flexDirectionSmDown:r&&e.flexDirectionMdDown?e.flexDirectionMdDown:e.flexDirection,margin:e.margin,marginTop:e.marginTop,marginBottom:e.marginBottom,marginLeft:e.marginLeft,marginRight:e.marginRight,...i,gap:a,rowGap:e.rowGap||a,columnGap:e.columnGap||a,alignItems:e.alignItems,justifyContent:e.justifyContent,flexWrap:e.flexWrap,flexGrow:e.flexGrow,flexShrink:e.flexShrink,flexBasis:e.flexBasis,width:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth,minHeight:e.minHeight,maxHeight:e.maxHeight,gridColumn:n&&e.gridColumnSpanSmDown?`span ${e.gridColumnSpanSmDown}`:r&&e.gridColumnSpanMdDown?`span ${e.gridColumnSpanMdDown}`:e.gridColumnSpan?`span ${e.gridColumnSpan}`:void 0,color:e.color?`var(${e.color})`:void 0,...e.style},$styleHover:e.styleHover,ref:e.containerRef,onClick:e.onClick,children:e.children})}function be(){let t=`#2050ff`;t+``,t+``,t+``;let n=R(t,.2),o=`#e8e8e8`;return{...e.light,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#2050ff1a`,colorPrimary500Alpha15:`#2050ff26`,colorPrimary500Alpha20:`#2050ff33`,colorPrimary700:n,colorMarker:`rgb(244 125 27 / 39%) 4%, rgb(215 106 40 / 15%)`,borderRadius:`6px`,colorBlack:`#000000`,colorStrokes:o,colorStrokesLight:R(o,.5),linkColor:n,linkColorHover:R(n,.25),colorWhite:`#FFFFFF`,bodyColor:`#444`,bodyColorAlpha50:F(`#444`,.5),bodyColorStrong:`#000`,inputBackground:`#fff`,inputBackgroundDisabled:`rgb(250, 250, 250)`,inputColor:`#000`,inputColorDisabled:r[`--v-gray-100`],inputBorder:`#e8e8e8`,inputHoverBorder:L(`#e8e8e8`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px rgba(50, 132, 255, 0.1)`,buttonContainedPrimaryColor:`#fff`,buttonContainedPrimaryColorHover:`#fff`,buttonContainedPrimaryBackground:`#0a0a0a`,buttonContainedPrimaryBackgroundHover:R(`#0a0a0a`,.1),buttonContainedPrimaryBorder:R(`#0a0a0a`,.1),buttonContainedPrimaryBorderHover:R(`#0a0a0a`,.2),buttonContainedSecondaryColor:`#fff`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:R(`#0a0a0a`,.1),buttonContainedSecondaryBorder:`#0a0a0a`,buttonContainedSecondaryBorderHover:R(`#0a0a0a`,.1),buttonOutlinedColor:`rgba(0, 0, 0, 0.9)`,buttonOutlinedColorHover:`rgba(0, 0, 0, 1)`,buttonOutlinedBackground:`#fafafa`,buttonOutlinedBackgroundHover:`#fff`,buttonOutlinedBorder:`#e8e8e8`,buttonOutlinedBorderHover:L(`#e8e8e8`,.1),checkboxBackground:t,checkboxLabelColor:`rgba(0, 0, 0, 0.9)`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,success:`#11c12fff`,switchThumb:`#fff`,switchTrack:r[`--v-gray-300`],switchTrackChecked:t,iconButtonColor:R(`#05102b`,.4),iconButtonColorHover:`#05102b`,accentBackgroundColor:`#fff`,accentBackgroundColorStrong:L(`#fff`,.05),sidebarBackground:`#fff`,sidebarActiveColor:`#000`,sidebarActiveBackground:F(`#000`,.05),sidebarActiveBackgroundHover:F(n,.075),sidebarColor:e.light[`--v-gray-700`],sidebarLinkHoverBackground:`rgba(0, 0, 0, 0.05)`,sidebarLinkHoverColor:`rgba(0, 0, 0, 0.9)`,tableSortIconBackground:e.light[`--v-blue-200`],tableSortIconColor:e.light[`--v-blue-700`],tableBorderColor:`rgba(0, 0, 0, 0.1)`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:r[`--v-gray-300`],dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:`#2c5dbf0f`,dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:F(e.light[`--v-gray-900`],.5),selectionColor:`#fff`,selectionBackground:t,boxShadow:`0px 5px 5px -3px rgb(0 0 0 / 0%), 0px 8px 10px 1px rgb(0 0 0 / 2%), 0px 3px 14px 2px rgba(0,0,0,0.12)`,boxShadow2:`0 14px 20px -4px rgba(50,50,93,0.05), 0 8px 16px -8px rgba(0,0,0,0.05)`,boxShadow3:`0 14px 20px -4px rgba(229, 239, 250, 1)`,boxShadow4:`0 1px 2px 0 rgba(0,0,0,.05)`,boxShadowError:`0 14px 20px -4px rgba(255, 18, 18, 0.05), 0 8px 16px -8px rgba(255, 0, 0, 0.05)`,keystrokePreviewColor:r[`--v-gray-100`],keystrokePreviewBackground:`rgba(0, 0, 0, 0.03)`,dottedBackgroundDotsColor:`#00000016`,blockEditorSidebarGroupHeaderBackground:`#fafafa`,blockEditorSidebarGroupHeaderBackgroundHover:`#f2f2f2`,blockEditorSidebarGroupHeaderColor:`#000`,upgradeToProBannerBackground:`#0a0a0a`,upgradeToProBannerBackgroundHover:R(`#0a0a0a`,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid #0a0a0a`}}function xe(){let t=`#006eff`;t+``,t+``,t+``;let n=L(t,.4),o=R(t,.2),s=`#2a2a2a`;return{...e.dark,...i,...a,colorPrimary500:t,colorPrimary500Alpha10:`#006eff1a`,colorPrimary500Alpha15:`#006eff26`,colorPrimary500Alpha20:`#006eff33`,colorPrimary700:o,colorMarker:`${F(t,.4)} 4%, ${F(t,.15)}`,borderRadius:`6px`,colorBlack:`#fff`,colorStrokes:s,colorStrokesLight:L(s,.5),linkColor:o,linkColorHover:R(o,.25),colorWhite:`#0e0e0e`,bodyColor:`#a1a1a1`,bodyColorAlpha50:F(`#fff`,.5),bodyColorStrong:`#fff`,inputBackground:`#0a0a0a`,inputBackgroundDisabled:`#ffffff14`,inputColor:`#fff`,inputColorDisabled:r[`--v-gray-900`],inputBorder:`#2a2a2a`,inputHoverBorder:R(`#2a2a2a`,.1),inputActiveBorder:t,inputActiveShadow:`0 0 0 4px ${F(t,.2)}`,buttonContainedPrimaryColor:`#000`,buttonContainedPrimaryColorHover:`#000`,buttonContainedPrimaryBackground:`#fff`,buttonContainedPrimaryBackgroundHover:L(`#fff`,.1),buttonContainedPrimaryBorder:`#fff`,buttonContainedPrimaryBorderHover:L(`#fff`,.1),buttonContainedSecondaryColor:`#e3e3e3`,buttonContainedSecondaryColorHover:`#fff`,buttonContainedSecondaryBackground:`#0a0a0a`,buttonContainedSecondaryBackgroundHover:R(`#0a0a0a`,.1),buttonContainedSecondaryBorder:s,buttonContainedSecondaryBorderHover:R(s,.1),buttonOutlinedColor:`#e3e3e3`,buttonOutlinedColorHover:`#fff`,buttonOutlinedBackground:`#0a0a0a`,buttonOutlinedBackgroundHover:R(`#0a0a0a`,.1),buttonOutlinedBorder:s,buttonOutlinedBorderHover:R(s,.1),checkboxBackground:t,checkboxLabelColor:`#fff`,checkboxLabelFontSize:13,checkboxLabelFontWeight:400,checkboxLabelMargin:16,success:`#1ce853`,switchThumb:`#fff`,switchTrack:`#30363d`,switchTrackChecked:t,iconButtonColor:L(`#fff`,.2),iconButtonColorHover:`#fff`,accentBackgroundColor:`#0a0a0a`,accentBackgroundColorStrong:`#0e0e0e`,sidebarBackground:e.dark[`--v-background-200`],sidebarActiveColor:`#fff`,sidebarActiveBackground:F(`#fff`,.05),sidebarActiveBackgroundHover:F(o,.075),sidebarColor:e.dark[`--v-gray-700`],sidebarLinkHoverBackground:`rgba(255, 255, 255, 0.05)`,sidebarLinkHoverColor:`#fff`,tableSortIconBackground:e.dark[`--v-blue-200`],tableSortIconColor:e.dark[`--v-blue-700`],tableBorderColor:`#292d31`,dragAndDropAreaColor:t,dragAndDropAreaColorDisabled:F(e.dark[`--v-gray-500`],.5),dragAndDropAreaBorder:`#2c5dbf0f`,dragAndDropAreaBorderDisabled:F(e.dark[`--v-gray-500`],.05),dragAndDropAreaBackground:`#2c5dbf0f`,dragAndDropAreaBackgroundHover:`#2c5dbf1a`,dragAndDropAreaBackgroundDisabled:F(e.dark[`--v-gray-500`],.05),selectionColor:`#fff`,selectionBackground:n,boxShadow:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow2:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow3:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadow4:`0px 0px 60px 0px rgb(0 0 0 / 35%)`,boxShadowError:`0px 0px 60px 0px rgba(255, 0, 0, 0.15)`,keystrokePreviewColor:r[`--v-gray-900`],keystrokePreviewBackground:`rgba(255, 255, 255, 0.03)`,dottedBackgroundDotsColor:`#ffffff16`,blockEditorSidebarGroupHeaderBackground:`#1a1a1a`,blockEditorSidebarGroupHeaderBackgroundHover:`#262626`,blockEditorSidebarGroupHeaderColor:`#fff`,upgradeToProBannerBackground:t,upgradeToProBannerBackgroundHover:R(t,.1),upgradeToProBannerColor:`#fff`,upgradeToProBannerBorder:`1px solid ${t}`}}function Se(e){return{color:e.color,background:e.background,border:`1px solid ${e.borderColor}`,"&:hover":{color:e.colorHover,border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover,boxShadow:`0px 2px 4px -1px rgb(0 0 0 / 8%), 0px 4px 5px 0px rgb(0 0 0 / 7%), 0px 1px 10px 0px rgba(0,0,0,0.12)`},"&:active":{border:`1px solid ${e.borderColorHover}`,background:e.backgroundHover},"&:disabled":{color:r[`--v-gray-100`],border:`1px solid ${r[`--v-gray-500`]}`,background:r[`--v-gray-500`]}}}const Ce=t=>{let i=t===`light`?be():xe();return I({breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536,header:1140,defaultScreenSize:1024}},typography:{fontFamily:[Z.style?.fontFamily??`"Geist Sans"`,`Arial`].join(`, `)},palette:{error:{main:t===`light`?e.light[`--v-red-700`]:e.dark[`--v-red-700`]},primary:{main:i.colorPrimary500},secondary:{main:i.colorPrimary500},mode:t},components:{MuiChip:{styleOverrides:{root:{padding:`6px 14px`,borderRadius:9999,fontSize:10,fontWeight:700,lineHeight:`12px`,height:`auto`,borderWidth:1,borderStyle:`solid`,"&:active":{boxShadow:`none`},".MuiChip-label":{display:`flex`,alignItems:`center`,gap:4,padding:0},svg:{width:16,marginRight:4}},colorPrimary:{backgroundColor:r[`--v-alert-info-background`],borderColor:r[`--v-alert-info-border`],color:r[`--v-alert-info-text`],"&:hover:not(&.no-hover-effect)":{backgroundColor:r[`--v-alert-info-background-hover`]}},colorSuccess:{backgroundColor:r[`--v-alert-success-background`],borderColor:r[`--v-alert-success-border`],color:r[`--v-alert-success-text`],"&:hover":{backgroundColor:r[`--v-alert-success-background-hover`]}},colorError:{backgroundColor:r[`--v-alert-error-background`],borderColor:r[`--v-alert-error-border`],color:r[`--v-alert-error-text`],"&:hover":{backgroundColor:r[`--v-alert-error-background-hover`]}}}},MuiInputLabel:{styleOverrides:{root:{marginLeft:2}}},MuiSkeleton:{defaultProps:{variant:`rounded`,animation:`wave`},styleOverrides:{root:{borderRadius:i.borderRadius,backgroundColor:t===`light`?`rgba(0, 0, 0, 0.11)`:`rgba(255, 255, 255, 0.11)`,"&::after":{background:t===`light`?`linear-gradient(90deg, transparent, rgb(0, 0, 0, 0.04), transparent)`:`linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.04), transparent)`}}}},MuiMenu:{styleOverrides:{paper:{transition:`none !important`}}},MuiListItemText:{styleOverrides:{root:{fontSize:13,".MuiTypography-root":{fontSize:13}}}},MuiListItemIcon:{styleOverrides:{root:{minWidth:`0 !important`,width:16,marginRight:8}}},MuiMenuItem:{defaultProps:{disableRipple:!0},styleOverrides:{root:{fontSize:14,paddingLeft:20,paddingRight:20,color:i[`--v-gray-700`],svg:{height:16},"&:hover":{background:i[`--v-gray-200`],color:i[`--v-foreground`]},"&.Mui-selected":{background:`${i.sidebarActiveBackground} !important`,color:`${i.sidebarActiveColor} !important`,"&:hover":{background:`${i.sidebarActiveBackground} !important`,color:`${i.sidebarActiveColor} !important`}},"&.Mui-focusVisible":{background:`none`,"&:hover":{background:i.sidebarLinkHoverBackground,color:i.sidebarLinkHoverColor}}}}},MuiSelect:{styleOverrides:{root:{fontWeight:500}}},MuiSvgIcon:{styleOverrides:{root:{"&.MuiSelect-icon":{color:i.inputBorder},"&.MuiStepIcon-root.Mui-completed":{fill:i.success}}}},MuiCssBaseline:{styleOverrides:{html:{backgroundColor:r[`--v-background-100`],color:i.bodyColor},body:{backgroundColor:r[`--v-background-100`],color:i.bodyColor,fontSize:14}}},MuiAccordion:{defaultProps:{disableGutters:!0},styleOverrides:{root:{margin:`0`,background:`none`,boxShadow:`none`,color:i.bodyColor,border:`1px solid ${i.colorStrokes}`,borderRadius:i.borderRadius,":hover":{borderColor:i[`--v-blue-700`]},":first-of-type":{borderRadius:i.borderRadius},":last-of-type":{borderRadius:i.borderRadius},svg:{transition:`0.2s ease-out transform`},".MuiAccordionSummary-root":{fontWeight:500,borderRadius:i.borderRadius,padding:`12px 24px`,color:i.bodyColorStrong,minHeight:0,":hover":{background:i.accentBackgroundColor}},".MuiAccordionSummary-content":{margin:`6px 0px`},".MuiAccordionDetails-root":{padding:`8px 24px 24px`},"&:before":{opacity:0},"&.Mui-expanded":{".MuiAccordionSummary-root":{svg:{transform:`rotate(180deg)`}}}}}},MuiRadio:{styleOverrides:{root:{color:i.inputBorder}}},MuiTable:{styleOverrides:{root:{border:`1px solid ${i.colorStrokes}`,borderRadius:i.borderRadius,borderCollapse:`separate`,overflow:`hidden`,background:i.accentBackgroundColor,".MuiTableCell-root.MuiTableCell-head":{fontWeight:600,color:i[`--v-gray-1000`],background:i[`--v-gray-100`]},".MuiTableCell-root":{borderBottom:`1px solid ${i.colorStrokes}`,fontSize:13,color:i.bodyColor,padding:`8px 16px`,height:57}}}},MuiToggleButtonGroup:{styleOverrides:{root:{padding:`4px 0px`,borderRadius:`8px`,overflow:`hidden`,border:`1px solid ${i.colorStrokes}`,background:i[`--v-background`]}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:11,marginLeft:0,marginRight:0}}},MuiToggleButton:{styleOverrides:{root:{borderRadius:`6px !important`,fontSize:13,fontWeight:500,lineHeight:`18px`,textTransform:`none`,flexGrow:1,color:i[`--v-foreground`],padding:`8px 16px`,margin:`0 4px`,border:0,svg:{fontSize:16},"&:hover":{background:i[`--v-gray-200`]},"&.Mui-selected":{background:i[`--v-gray-200`],color:i[`--v-foreground`],"&:hover":{background:i[`--v-gray-200`]}}},sizeSmall:{padding:`5px 12px`,fontSize:13}}},MuiAlert:{styleOverrides:{root:{fontSize:`14px`,padding:`12px 24px`},icon:{padding:`8px 0`,marginRight:24,color:`inherit !important`},message:{padding:`6px 0`},standardSuccess:{background:r[`--v-alert-success-background`],border:`1px solid ${r[`--v-alert-success-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-success-text`]},standardWarning:{background:r[`--v-alert-warning-background`],border:`1px solid ${r[`--v-alert-warning-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-warning-text`]},standardError:{background:r[`--v-alert-error-background`],border:`1px solid ${r[`--v-alert-error-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-error-text`]},standardInfo:{background:r[`--v-alert-info-background`],border:`1px solid ${r[`--v-alert-info-border`]}`,borderRadius:n[`--v-border-radius`],color:r[`--v-alert-info-text`]}}},MuiAlertTitle:{styleOverrides:{root:{marginTop:0}}},MuiFormLabel:{styleOverrides:{root:{color:i.checkboxLabelColor,marginLeft:i.checkboxLabelMargin,fontSize:i.checkboxLabelFontSize,fontWeight:400,"& a":{color:i.linkColor,fontWeight:500,"&:hover":{color:i.linkColorHover}}}}},MuiTableRow:{styleOverrides:{root:{"&:last-child > td":{borderBottom:0},"&.MuiTableRow-hover":{cursor:`pointer`,"&:hover":{background:t===`light`?`rgba(0, 0, 0, 0.01)`:`rgba(255, 255, 255, 0.03)`}}}}},MuiTableCell:{styleOverrides:{root:{borderBottom:`1px solid ${i.colorStrokes}`},head:{padding:`11.5px 16px`,whiteSpace:`nowrap`}}},MuiCheckbox:{styleOverrides:{colorPrimary:{"&.Mui-checked input + span":{background:i.checkboxBackground,borderColor:i.checkboxBackground},"&.MuiCheckbox-indeterminate input + span":{background:i.checkboxBackground,borderColor:i.checkboxBackground}}}},MuiSwitch:{styleOverrides:{track:({ownerState:e})=>({opacity:1,borderRadius:20,background:i.switchTrack,".Mui-checked.Mui-checked:not(.Mui-disabled) + &":{background:i.switchTrackChecked,opacity:1},...e.disabled&&{".Mui-checked.Mui-checked + &":{background:i.switchTrack,opacity:.4}},...e.color===`secondary`&&{opacity:.75,borderRadius:20,background:i.switchTrack,".Mui-checked.Mui-checked + &":{background:i.switchTrack,opacity:1}}}),thumb:({ownerState:e})=>({color:i.switchThumb,...e.color===`secondary`&&{color:i.colorPrimary700},...e.disabled&&{opacity:.8}}),disabled:()=>({".Mui-checked.Mui-checked + &":{background:i.colorPrimary700,opacity:.5}})}},MuiAutocomplete:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`},styleOverrides:{root:{background:i.inputBackground,color:i.inputColor,fieldset:{borderRadius:i.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiOutlinedInput-root":{padding:`10px 14px`},"& .MuiOutlinedInput-root .MuiAutocomplete-input":{padding:0,fontSize:13}},listbox:{"& .MuiAutocomplete-option":{fontSize:15}}}},MuiInputBase:{defaultProps:{autoCapitalize:`off`,autoCorrect:`off`,autoComplete:`off`},styleOverrides:{root:{background:i.inputBackground,color:i.inputColor,fieldset:{borderRadius:i.borderRadius,transition:`0.1s ease-out border-color`},"& .MuiInputBase-input.Mui-disabled":{WebkitTextFillColor:i.inputColorDisabled},"& .MuiOutlinedInput-input":{fontSize:13},"&.MuiOutlinedInput-root":{paddingRight:`10px`,"& fieldset":{borderColor:i.inputBorder},"&:hover fieldset":{borderColor:i.inputHoverBorder},"&.Mui-focused fieldset":{borderColor:i.inputActiveBorder,borderWidth:1,boxShadow:i.inputActiveShadow},"&.Mui-disabled":{background:i.inputBackgroundDisabled,"& fieldset":{borderColor:i.colorStrokes}}}}}},MuiOutlinedInput:{styleOverrides:{input:{fontSize:14,padding:`10px 14px`},inputSizeSmall:{padding:`8px 14px`,fontSize:12}}},MuiIconButton:{styleOverrides:{root:{color:i.iconButtonColor,borderRadius:i.borderRadius,"&:hover":{color:i.iconButtonColorHover}}}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{boxShadow:`none`,borderRadius:0,"& .MuiButtonGroup-firstButton":{border:`1px solid ${i.buttonContainedPrimaryBorder}`},"& .MuiSvgIcon-root":{height:20}}}},MuiInputAdornment:{styleOverrides:{root:{color:i.iconButtonColor,".MuiTypography-root":{fontSize:13},marginRight:`0 !important`}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:{transition:`none !important`,".MuiChip-root":{background:i.colorPrimary500,color:t===`light`?i.colorWhite:i.colorBlack,"&:hover":{background:i.colorPrimary500}}}}},MuiButton:{defaultProps:{disableRipple:!0,disableElevation:!0},variants:[{props:{variant:`link`},style:{color:i.linkColor,padding:0,minWidth:`auto`,height:`fit-content`,"& .MuiTouchRipple-root":{display:`none`},"&:hover":{color:i.linkColorHover,background:`none`},"&:active":{color:i.linkColorHover,background:`none`},"&:disabled":{color:r[`--v-green-400`],background:`none`},"&.MuiButton-linkError":{color:r[`--v-red-700`],"&:hover":{color:r[`--v-red-700`]}}}}],styleOverrides:{root:{":hover, :focus":{boxShadow:`none !important`},textTransform:`unset`,padding:`10px 28px`,fontSize:14,lineHeight:`16px`,fontWeight:500,borderRadius:i.borderRadius,boxShadow:`none`,"svg:first-child":{width:16,flexShrink:0},whiteSpace:`nowrap`,display:`flex`,gap:8,"&.Mui-disabled":{background:`${r[`--v-gray-100`]} !important`,color:`${r[`--v-gray-300`]} !important`,border:`1px solid ${r[`--v-gray-300`]} !important`}},sizeSmall:{padding:`8px 16px`,fontSize:13},outlinedPrimary:Se({theme:i,color:i.buttonOutlinedColor,colorHover:i.buttonOutlinedColorHover,background:i.buttonOutlinedBackground,backgroundHover:i.buttonOutlinedBackgroundHover,borderColor:i.buttonOutlinedBorder,borderColorHover:i.buttonOutlinedBorderHover}),containedInfo:Se({theme:i,color:`#fff`,colorHover:`#fff`,background:i.colorPrimary500,backgroundHover:i.colorPrimary700,borderColor:i.colorPrimary500,borderColorHover:i.colorPrimary700}),containedPrimary:Se({theme:i,color:i.buttonContainedPrimaryColor,colorHover:i.buttonContainedPrimaryColorHover,background:i.buttonContainedPrimaryBackground,backgroundHover:i.buttonContainedPrimaryBackgroundHover,borderColor:i.buttonContainedPrimaryBorder,borderColorHover:i.buttonContainedPrimaryBorderHover}),containedWarning:{"&:hover":{background:r[`--v-orange-200`]},"&:disabled":{color:r[`--v-gray-700`],background:i.colorWhite}},containedError:{"&:hover":{background:r[`--v-red-700`]},"&:disabled":{color:r[`--v-gray-700`],background:i.colorWhite}},containedSecondary:Se({theme:i,color:i.buttonContainedSecondaryColor,colorHover:i.buttonContainedSecondaryColorHover,background:i.buttonContainedSecondaryBackground,backgroundHover:i.buttonContainedSecondaryBackgroundHover,borderColor:i.buttonContainedSecondaryBorder,borderColorHover:i.buttonContainedSecondaryBorderHover}),textPrimary:{color:i.buttonOutlinedColor,"&:hover":{color:i.buttonOutlinedColor},"&:active":{color:i.buttonOutlinedColor},"&:disabled":{color:r[`--v-gray-500`]}},textWarning:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-warning-text`]}},outlinedWarning:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-warning-text`]}},textError:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-error-text`]}},outlinedError:{"& .MuiLoadingButton-loadingIndicator":{color:r[`--v-alert-error-text`]}},startIcon:{marginRight:12,height:0,display:`flex`,alignItems:`center`},endIcon:{marginLeft:12,height:0,display:`flex`,alignItems:`center`},sizeLarge:{padding:`16px 32px !important`,fontSize:16}}},MuiSnackbarContent:{styleOverrides:{root:{minWidth:`auto !important`,padding:0,background:`none`,borderRadius:i.borderRadius,fontWeight:500,boxShadow:r[`--v-box-shadow-1`]},message:{padding:0}}},MuiPopover:{defaultProps:{disableScrollLock:!0},styleOverrides:{paper:{background:i.accentBackgroundColor,color:i.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiTooltip:{styleOverrides:{tooltip:{background:e.dark[`--v-gray-100`],border:`1px solid ${e.dark[`--v-strokes`]}`,color:e.dark[`--v-foreground`],boxShadow:r[`--v-box-shadow-1`],fontSize:13,lineHeight:`20px`,padding:`8px 16px`}}},MuiDialog:{defaultProps:{disableScrollLock:!0},styleOverrides:{root:{zIndex:100},paper:{background:i.accentBackgroundColor,color:i.bodyColor,border:`1px solid ${r[`--v-strokes`]}`,boxShadow:r[`--v-box-shadow-1`]}}},MuiStep:{styleOverrides:{root:{padding:`0px 20px`,"&.MuiStep-vertical":{padding:0},"&:first-child":{paddingLeft:0},"&:last-child":{paddingRight:0}}}},MuiStepLabel:{styleOverrides:{iconContainer:{paddingRight:12},label:{color:i.bodyColor,"&.Mui-active":{color:i.colorPrimary700},"&.Mui-completed":{color:i.success}}}},MuiStepIcon:{styleOverrides:{root:{fill:t===`dark`?r[`--v-gray-500`]:i.bodyColor,"&.Mui-active":{fill:i.colorPrimary500}}}},MuiTabs:{styleOverrides:{indicator:{display:`none`}}},MuiTab:{defaultProps:{disableRipple:!0},styleOverrides:{root:{flexGrow:1,textTransform:`none`,color:i.bodyColor,maxWidth:`none`,borderRight:`1px solid ${r[`--v-strokes`]}`,"&.Mui-selected":{color:i.bodyColor,borderBottom:`1px solid transparent`},"&:not(.Mui-selected)":{background:i.accentBackgroundColor,borderBottom:`1px solid ${r[`--v-strokes`]}`},"&:last-child":{borderRight:0}}}},MuiFormControlLabel:{defaultProps:{labelPlacement:`start`},styleOverrides:{label:{marginRight:8,fontSize:14}}},MuiTablePagination:{styleOverrides:{root:{color:i.bodyColor,"& .MuiIconButton-root":{color:`${i.bodyColor} !important`,"&.Mui-disabled":{opacity:.3}},"& .MuiTablePagination-select":{fontSize:`12px !important`},"& .MuiTablePagination-actions":{".MuiSvgIcon-root":{width:20}}},select:{color:`${i.bodyColor} !important`,fontWeight:`400 !important`},selectIcon:{color:`${i.bodyColor} !important`},displayedRows:{fontSize:12},selectLabel:{fontSize:12}}}}})};function we(e){let t=u(8);if(!s())return null;let n;t[0]===e.theme?n=t[1]:(n=Ce(e.theme),t[0]=e.theme,t[1]=n);let r;t[2]===e.isRootRegistry?r=t[3]:(r=e.isRootRegistry?q(Q,{}):null,t[2]=e.isRootRegistry,t[3]=r);let i;return t[4]!==e.children||t[5]!==n||t[6]!==r?(i=J(N,{theme:n,children:[r,e.children]}),t[4]=e.children,t[5]=n,t[6]=r,t[7]=i):i=t[7],i}function Te(e){let t=be();return e===`dark`&&(t=xe()),t}function Ee(e){return`${e.startsWith(`--`)?``:`--`}${e.split(/(?=[A-Z])/).join(`-`).toLowerCase()}`}function De(){return Object.entries(Ie).map(([e,t])=>{let n=Te(e);return`.${t} {\n${Object.entries(n).map(([e,t])=>`${Ee(e)}: ${t};`).join(`
3
3
  `)}\n}`}).join(`
4
- `)}function _e(){let e=c(1),n;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=B(ie,{children:[z(`style`,{children:`
4
+ `)}function Oe(){let e=u(1),n;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=J(K,{children:[q(`style`,{children:`
5
5
  html,
6
6
  body {
7
7
  max-width: 100vw;
@@ -227,4 +227,4 @@ import{a as e,i as t,n,o as r,r as i,t as a}from"../tokens-Cr59L2ch.js";import{i
227
227
  input[type="search"]::-webkit-search-cancel-button,
228
228
  input[type="search"]::-webkit-search-results-button,
229
229
  input[type="search"]::-webkit-search-results-decoration { display: none; }
230
- `}),z(`style`,{children:ge()})]}),e[0]=n):n=e[0],n}const ve=`voidly.theme`;function ye(e){if(typeof window>`u`)return e;try{let e=window.localStorage.getItem(ve);if(e===`light`||e===`dark`||e===`auto`)return e}catch{}return e}function be(){return typeof window>`u`||typeof window.matchMedia!=`function`?`light`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function xe(e){if(typeof window>`u`||typeof window.matchMedia!=`function`)return()=>{};let t=window.matchMedia(`(prefers-color-scheme: dark)`);return typeof t.addEventListener==`function`?(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)}):(t.addListener(e),()=>{t.removeListener(e)})}function Se(){return re(xe,be,Ce)}function Ce(){return`light`}const we=F(null),Te={light:`voidly-light-theme`,dark:`voidly-dark-theme`};function Ee(){let e=R(we);if(!e)throw Error(`useVThemeContext must be used within a VTheme`);return e}function De(e){let t=c(30),n=e.persistThemePreference??!0,r;t[0]!==n||t[1]!==e.defaultTheme?(r=()=>n?ye(e.defaultTheme??`auto`):e.defaultTheme??`auto`,t[0]=n,t[1]=e.defaultTheme,t[2]=r):r=t[2];let[i,a]=ne(r),o=Se(),s,l;t[3]!==n||t[4]!==i?(s=()=>{if(n)try{window.localStorage.setItem(ve,i)}catch{}},l=[n,i],t[3]=n,t[4]=i,t[5]=s,t[6]=l):(s=t[5],l=t[6]),ee(s,l);let u=e.theme??(i===`auto`?o:i),d;t[7]===e.isRoot?d=t[8]:(d=e.isRoot?[U.className,U.variable,H.className,H.variable]:[],t[7]=e.isRoot,t[8]=d);let f=d,p;t[9]!==e.isRoot||t[10]!==u?(p=()=>(e.isRoot&&(document.body.classList.remove(...Object.values(Te)),document.body.classList.add(Te[u])),()=>{e.isRoot&&document.body.classList.remove(...Object.values(Te))}),t[9]=e.isRoot,t[10]=u,t[11]=p):p=t[11];let m;t[12]===u?m=t[13]:(m=[u],t[12]=u,t[13]=m),ee(p,m);let h;t[14]!==u||t[15]!==i?(h={theme:u,themePreference:i,setTheme:a},t[14]=u,t[15]=i,t[16]=h):h=t[16];let g;t[17]===e.isRoot?g=t[18]:(g=e.isRoot&&z(_e,{}),t[17]=e.isRoot,t[18]=g);let _=e.isRoot??!1,v=`${Te[u]} ${f.join(` `)}`,y;t[19]!==e.children||t[20]!==v?(y=z(`div`,{className:v,children:e.children}),t[19]=e.children,t[20]=v,t[21]=y):y=t[21];let b;t[22]!==y||t[23]!==_||t[24]!==u?(b=z(pe,{theme:u,isRootRegistry:_,children:y}),t[22]=y,t[23]=_,t[24]=u,t[25]=b):b=t[25];let x;return t[26]!==b||t[27]!==h||t[28]!==g?(x=B(we.Provider,{value:h,children:[g,b]}),t[26]=b,t[27]=h,t[28]=g,t[29]=x):x=t[29],x}function Oe(e){let t=e.durationInMs===`infinite`?9999999999:e.durationInMs||8e3,n,r={description:e.description,duration:t};return e.id&&(r.id=e.id),setTimeout(()=>{n=e.type===`info`?V.info(e.title,r):e.type===`success`?V.success(e.title,r):e.type===`warning`?V.warning(e.title,r):e.type===`error`?V.error(e.title,r):e.type===`loading`?V.loading(e.title,r):V.info(e.title,r)}),{dismiss:()=>{V.dismiss(n)}}}function ke(){let e=c(2),{theme:t}=Ee(),n;return e[0]===t?n=e[1]:(n=z(ae,{richColors:!0,theme:t,visibleToasts:4,position:`top-center`,closeButton:!0}),e[0]=t,e[1]=n),n}function Ae(){return function(){let e=G();return{locale:e.locale,t:function(...t){let[n,r]=t;return e.formatMessage({id:n},r)},tHtml:function(...e){let[t,n]=e;return z(oe,{id:t,values:{...n}},t)}}}}const je=Ae(),Me=j(`span`)(e=>({...e.$style,"&:hover":e.$styleHover})),Ne=`medium`,Pe=2e3;function Fe(e){let t=je(),[n,i]=ne(!1);ee(()=>{if(!n)return;let e=window.setTimeout(()=>i(!1),Pe);return()=>window.clearTimeout(e)},[n]);let a={color:r[`--v-blue-700`],border:r[`--v-blue-500`],background:r[`--v-blue-100`],backgroundHover:r[`--v-blue-200`]};`type`in e?e.type===`error`?(a.color=r[`--v-red-700`],a.border=r[`--v-red-500`],a.background=r[`--v-red-100`],a.backgroundHover=r[`--v-red-200`]):e.type===`success`&&(a.color=r[`--v-green-700`],a.border=r[`--v-green-500`],a.background=r[`--v-green-100`],a.backgroundHover=r[`--v-green-200`]):(a.color=e.color,a.border=e.border,a.background=e.background,a.backgroundHover=e.backgroundHover||e.background);let o={small:{padding:`3px 8px`,fontSize:10},medium:{padding:`6px 14px`,fontSize:11},large:{padding:`9px 20px`,fontSize:12}};return z(E,{title:e.tooltip??``,placement:e.tooltipPlacement??`top`,children:z(Me,{$style:{border:`1px solid ${a.border}`,color:a.color,background:a.background,padding:o[e.size??Ne].padding,borderRadius:9999,fontSize:o[e.size??Ne].fontSize,fontWeight:600,lineHeight:`12px`,display:`inline-block`,cursor:e.onClick?`pointer`:`default`,...e.style},onClick:t=>{t.stopPropagation(),e.onClick?.()},$styleHover:{background:a.backgroundHover},children:B(de,{gap:8,alignItems:`center`,children:[e.content,e.showCopyButton&&z(E,{title:n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),placement:`top`,children:z(w,{"aria-label":n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),onClick:async n=>{n.stopPropagation();let r=e.copyText?.trim();if(r)try{await s.copyToClipboard(r),i(!0),Oe({type:`success`,title:e.copyToastTitle??t.t(`component.vchip.copy_success`),durationInMs:Pe})}catch{Oe({type:`error`,title:t.t(`component.vchip.copy_failed`)})}},style:{border:`none`,background:`transparent`,padding:0,margin:0,display:`flex`,alignItems:`center`,color:a.color},children:z(n?u:v,{height:12,width:12})})})]})})})}const Ie={disabled:r[`--v-gray-100`],error:r[`--v-red-700`],strong:r[`--v-gray-1000`]},Le={300:300,400:400,500:500,600:600,700:700,800:800,900:900};function Re(e){let t=c(12),n=N(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=M(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=M(a),s=e.type?`v-text-${e.type}`:void 0,l=e.color?Ie[e.color]||`var(${e.color})`:void 0,u=e.weight?Le[e.weight]:void 0,d=e.component===`ul`?14:void 0,f=i&&e.textAlignSmDown?e.textAlignSmDown:o&&e.textAlignMdDown?e.textAlignMdDown:e.textAlign,p=e.breakWord?`break-word`:void 0,m;return t[4]!==e||t[5]!==s||t[6]!==l||t[7]!==u||t[8]!==d||t[9]!==f||t[10]!==p?(m=I(e.component,{className:s,style:{color:l,fontWeight:u,paddingLeft:d,textAlign:f,width:e.width,maxWidth:e.maxWidth,wordBreak:p,...e.noWrapEllipsis?{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}:{},...e.style},"data-testid":e[`data-testid`],onClick:e.onClick},e.children),t[4]=e,t[5]=s,t[6]=l,t[7]=u,t[8]=d,t[9]=f,t[10]=p,t[11]=m):m=t[11],m}const ze=r[`--v-gray-600`],Be=2e3;async function Ve(e){return K(await q(e.code,{lang:e.lang,theme:`github-dark-default`,transformers:[{code(e){let t=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${t}font-family: var(--font-geist-mono);`},line(e,t){let n=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${n}display:block;padding-left:3.5em;line-height:20px`,e.children.unshift({type:`element`,tagName:`span`,properties:{style:`margin-left:-3.5em;color:${r[`--v-gray-500`]};user-select:none;display:inline-block;width:2em;margin-right:1.5em;text-align:right`},children:[{type:`text`,value:String(t)}]})}}]}),{Fragment:P,jsx:z,jsxs:B,components:{pre:t=>z(`pre`,{...t,style:{...t.style,padding:`14px 16px`,fontSize:13,lineHeight:0,overflow:`auto`,whiteSpace:e.wrap?`pre-wrap`:`pre`,margin:0,background:r[`--v-gray-100`],borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`],maxHeight:e.maxHeight}})}})}function He(e){let t=c(93),i=je(),[a,o]=ne(null),[l,d]=ne(!1),[f,p]=ne(!1),[b,x]=ne(e.defaultCollapsed??!1),S=e.collapsed??b,T;t[0]===e?T=t[1]:(T=t=>{e.collapsed===void 0&&x(t),e.onCollapsedChange?.(t)},t[0]=e,t[1]=T);let D=T,O,k;t[2]!==e.content||t[3]!==e.lang||t[4]!==e.maxHeight||t[5]!==l?(O=()=>{Ve({code:e.content,lang:e.lang,wrap:l,maxHeight:e.maxHeight}).then(o)},k=[e.content,e.lang,e.maxHeight,l],t[2]=e.content,t[3]=e.lang,t[4]=e.maxHeight,t[5]=l,t[6]=O,t[7]=k):(O=t[6],k=t[7]),te(O,k);let A,j;t[8]===f?(A=t[9],j=t[10]):(A=()=>{if(!f)return;let e=window.setTimeout(()=>p(!1),Be);return()=>window.clearTimeout(e)},j=[f],t[8]=f,t[9]=A,t[10]=j),ee(A,j);let M;t[11]===e.style?M=t[12]:(M={position:`relative`,background:r[`--v-background`],borderRadius:n[`--v-border-radius`],...e.style},t[11]=e.style,t[12]=M);let N;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(N={color:ze,borderTopLeftRadius:n[`--v-border-radius`],borderTopRightRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-strokes`]}`},t[13]=N):N=t[13];let P;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(P=z(y,{height:16,width:16}),t[14]=P):P=t[14];let F;t[15]===e.title?F=t[16]:(F=B(de,{alignItems:`center`,gap:16,children:[P,z(Re,{component:`span`,type:`copy-13`,weight:`400`,children:e.title})]}),t[15]=e.title,t[16]=F);let I;t[17]!==S||t[18]!==D||t[19]!==i?(I=!S&&z(E,{title:i.t(`component.vcode.collapse_code`),placement:`top`,children:z(w,{"aria-label":i.t(`component.vcode.collapse_code`),"aria-expanded":!0,onClick:()=>D(!0),style:{border:`none`,margin:0,display:`flex`,alignItems:`center`,color:ze},children:z(_,{height:16,width:16})})}),t[17]=S,t[18]=D,t[19]=i,t[20]=I):I=t[20];let L;t[21]===i?L=t[22]:(L=i.t(`component.vcode.download_file`),t[21]=i,t[22]=L);let R;t[23]===i?R=t[24]:(R=i.t(`component.vcode.download_file`),t[23]=i,t[24]=R);let re;t[25]!==e.content||t[26]!==e.title?(re=()=>{let t=new Blob([e.content],{type:`text/plain`}),n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=e.title,r.click(),URL.revokeObjectURL(n)},t[25]=e.content,t[26]=e.title,t[27]=re):re=t[27];let ie,ae;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(ie={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:ze},ae=z(m,{height:16,width:16}),t[28]=ie,t[29]=ae):(ie=t[28],ae=t[29]);let V;t[30]!==R||t[31]!==re?(V=z(w,{"aria-label":R,onClick:re,style:ie,children:ae}),t[30]=R,t[31]=re,t[32]=V):V=t[32];let H;t[33]!==L||t[34]!==V?(H=z(E,{title:L,placement:`top`,children:V}),t[33]=L,t[34]=V,t[35]=H):H=t[35];let U;t[36]===i?U=t[37]:(U=i.t(`component.vcode.toggle_wrap`),t[36]=i,t[37]=U);let W;t[38]===i?W=t[39]:(W=i.t(`component.vcode.toggle_wrap`),t[38]=i,t[39]=W);let oe,se;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(oe=()=>d(Ue),se={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:ze},t[40]=oe,t[41]=se):(oe=t[40],se=t[41]);let G;t[42]===l?G=t[43]:(G=z(l?g:h,{height:16,width:16}),t[42]=l,t[43]=G);let K;t[44]!==W||t[45]!==G?(K=z(w,{"aria-label":W,onClick:oe,style:se,children:G}),t[44]=W,t[45]=G,t[46]=K):K=t[46];let q;t[47]!==U||t[48]!==K?(q=z(E,{title:U,placement:`top`,children:K}),t[47]=U,t[48]=K,t[49]=q):q=t[49];let J;t[50]!==f||t[51]!==i?(J=f?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[50]=f,t[51]=i,t[52]=J):J=t[52];let Y;t[53]!==f||t[54]!==i?(Y=f?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[53]=f,t[54]=i,t[55]=Y):Y=t[55];let X;t[56]!==e.content||t[57]!==i?(X=async t=>{t.stopPropagation();try{await s.copyToClipboard(e.content),p(!0),Oe({type:`success`,title:i.t(`component.vcode.copy_success`),durationInMs:Be})}catch{Oe({type:`error`,title:i.t(`component.vcode.copy_failed`)})}},t[56]=e.content,t[57]=i,t[58]=X):X=t[58];let ce;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(ce={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:ze},t[59]=ce):ce=t[59];let le;t[60]===f?le=t[61]:(le=f?z(u,{height:16,width:16,color:r[`--v-green-700`]}):z(v,{height:16,width:16}),t[60]=f,t[61]=le);let ue;t[62]!==Y||t[63]!==X||t[64]!==le?(ue=z(w,{"aria-label":Y,onClick:X,style:ce,children:le}),t[62]=Y,t[63]=X,t[64]=le,t[65]=ue):ue=t[65];let Z;t[66]!==J||t[67]!==ue?(Z=z(E,{title:J,placement:`top`,children:ue}),t[66]=J,t[67]=ue,t[68]=Z):Z=t[68];let Q;t[69]!==H||t[70]!==q||t[71]!==Z||t[72]!==I?(Q=B(de,{alignItems:`center`,gap:8,children:[I,H,q,Z]}),t[69]=H,t[70]=q,t[71]=Z,t[72]=I,t[73]=Q):Q=t[73];let $;t[74]!==Q||t[75]!==F?($=B(de,{style:N,gap:40,alignItems:`center`,justifyContent:`space-between`,padding:`6px 12px 6px 16px`,children:[F,Q]}),t[74]=Q,t[75]=F,t[76]=$):$=t[76];let fe=e.maxHeight??110,pe=S?110:void 0,me=S?`hidden`:void 0,he;t[77]!==fe||t[78]!==pe||t[79]!==me?(he={position:`relative`,minHeight:fe,maxHeight:pe,overflow:me,borderLeft:`1px solid ${r[`--v-strokes`]}`,borderBottom:`1px solid ${r[`--v-strokes`]}`,borderRight:`1px solid ${r[`--v-strokes`]}`,borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`]},t[77]=fe,t[78]=pe,t[79]=me,t[80]=he):he=t[80];let ge;t[81]!==S||t[82]!==D||t[83]!==i?(ge=S&&z(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9))`},children:z(C,{variant:`outlined`,size:`small`,"aria-expanded":!1,onClick:()=>D(!1),children:i.t(`component.vcode.view_code`)})}),t[81]=S,t[82]=D,t[83]=i,t[84]=ge):ge=t[84];let _e;t[85]!==a||t[86]!==he||t[87]!==ge?(_e=B(`div`,{style:he,children:[a,ge]}),t[85]=a,t[86]=he,t[87]=ge,t[88]=_e):_e=t[88];let ve;return t[89]!==$||t[90]!==_e||t[91]!==M?(ve=z(De,{theme:`dark`,children:B(de,{flexDirection:`column`,style:M,children:[$,_e]})}),t[89]=$,t[90]=_e,t[91]=M,t[92]=ve):ve=t[92],ve}function Ue(e){return!e}function We(e){let t=c(21),i=je(),a=e.onRetry,o=`14px ${a?20:28}px 14px 28px`,s;t[0]===e.singleLine?s=t[1]:(s=e.singleLine?{whiteSpace:`nowrap`,minWidth:0,flexGrow:1}:{},t[0]=e.singleLine,t[1]=s);let u;t[2]!==e.style||t[3]!==o||t[4]!==s?(u={color:r[`--v-alert-error-text`],background:r[`--v-alert-error-background`],borderRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-alert-error-border`]}`,padding:o,display:`flex`,alignItems:`center`,justifyContent:`space-between`,fontSize:13,fontWeight:400,lineHeight:`15px`,maxWidth:`100%`,...s,...e.style},t[2]=e.style,t[3]=o,t[4]=s,t[5]=u):u=t[5];let d=a?12:0,f;t[6]===d?f=t[7]:(f={marginRight:d,overflow:`hidden`,textOverflow:`ellipsis`},t[6]=d,t[7]=f);let p;t[8]!==e.children||t[9]!==f?(p=z(`div`,{style:f,children:e.children}),t[8]=e.children,t[9]=f,t[10]=p):p=t[10];let m;t[11]!==e||t[12]!==i?(m=e.onRetry&&z(E,{title:i.t(`component.verrorbox.retry`),placement:`bottom`,children:z(w,{onClick:t=>{t.stopPropagation(),e.onRetry?.()},style:{marginLeft:`auto`,color:r[`--v-alert-error-text`]},children:z(l,{style:{width:16}})})}),t[11]=e,t[12]=i,t[13]=m):m=t[13];let h;t[14]!==u||t[15]!==p||t[16]!==m?(h=B(`div`,{style:u,children:[p,m]}),t[14]=u,t[15]=p,t[16]=m,t[17]=h):h=t[17];let g;return t[18]!==e.tooltip||t[19]!==h?(g=z(E,{title:e.tooltip,placement:`top`,children:h}),t[18]=e.tooltip,t[19]=h,t[20]=g):g=t[20],g}function Ge(e){let t=c(22),n=N(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=M(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=M(a),s=i&&e.columnsSmDown?e.columnsSmDown:o&&e.columnsMdDown?e.columnsMdDown:e.columns,l=e.rowGap||e.gap,u=e.columnGap||e.gap,d=typeof e.padding==`number`?e.padding:e.padding?.top,f=typeof e.padding==`number`?e.padding:e.padding?.bottom,p=typeof e.padding==`number`?e.padding:e.padding?.left,m=typeof e.padding==`number`?e.padding:e.padding?.right,h=typeof e.margin==`number`?e.margin:e.margin?.top,g=typeof e.margin==`number`?e.margin:e.margin?.bottom,_=typeof e.margin==`number`?e.margin:e.margin?.left,v=typeof e.margin==`number`?e.margin:e.margin?.right,y;t[4]!==s||t[5]!==e.alignItems||t[6]!==e.gap||t[7]!==e.maxWidth||t[8]!==_||t[9]!==v||t[10]!==l||t[11]!==u||t[12]!==d||t[13]!==f||t[14]!==p||t[15]!==m||t[16]!==h||t[17]!==g?(y={display:`grid`,gridTemplateColumns:s,gap:e.gap,rowGap:l,columnGap:u,paddingTop:d,paddingBottom:f,paddingLeft:p,paddingRight:m,marginTop:h,marginBottom:g,marginLeft:_,marginRight:v,alignItems:e.alignItems,maxWidth:e.maxWidth},t[4]=s,t[5]=e.alignItems,t[6]=e.gap,t[7]=e.maxWidth,t[8]=_,t[9]=v,t[10]=l,t[11]=u,t[12]=d,t[13]=f,t[14]=p,t[15]=m,t[16]=h,t[17]=g,t[18]=y):y=t[18];let b;return t[19]!==e.children||t[20]!==y?(b=z(`div`,{style:y,children:e.children}),t[19]=e.children,t[20]=y,t[21]=b):b=t[21],b}const Ke={en:{"component.vcode.copy_failed":`Copy to clipboard failed.`,"component.vcode.copy_success":`Copied to clipboard.`,"component.vcode.copy_to_clipboard":`Copy to clipboard`,"component.vcode.toggle_wrap":`Toggle line wrap`,"component.vcode.download_file":`Download file`,"component.vcode.collapse_code":`Collapse code`,"component.vcode.view_code":`View Code`,"component.vchip.copy_failed":`Copy to clipboard failed.`,"component.vchip.copy_success":`Copied to clipboard`,"component.vchip.copy_to_clipboard":`Copy to clipboard`,"component.verrorbox.retry":`Retry`,"component.theme_toggle.auto_mode":`System theme`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`},de:{"component.vcode.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vcode.copy_success":`In die Zwischenablage kopiert.`,"component.vcode.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.vcode.toggle_wrap":`Zeilenumbruch umschalten`,"component.vcode.download_file":`Datei herunterladen`,"component.vcode.collapse_code":`Code einklappen`,"component.vcode.view_code":`Code anzeigen`,"component.vchip.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vchip.copy_success":`In die Zwischenablage kopiert`,"component.vchip.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.verrorbox.retry":`Erneut versuchen`,"component.theme_toggle.auto_mode":`System theme`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`}};function qe(e){let t=c(7),n=e.messages[e.locale]??e.messages.en,r=Ke[e.locale],i;t[0]!==n||t[1]!==r?(i={...r,...n},t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i,o;return t[3]!==a||t[4]!==e.children||t[5]!==e.locale?(o=z(se,{locale:e.locale,messages:a,children:e.children}),t[3]=a,t[4]=e.children,t[5]=e.locale,t[6]=o):o=t[6],o}function Je(e){let t=Ae();function n(t){let n=c(2),r;return n[0]===t?r=n[1]:(r=z(qe,{...t,messages:e}),n[0]=t,n[1]=r),r}return{VIntlProvider:n,useVIntl:t}}var Ye={container:`z7PbZq_container`,inner:`z7PbZq_inner`,wobble:`z7PbZq_wobble`};const Xe=e=>{let t=c(9),{size:n,color:r,speed:i,stroke:a,bgOpacity:o}=e,s=n===void 0?80:n,l=r===void 0?`black`:r,u=i===void 0?1.75:i,d=a===void 0?5:a,f=o===void 0?.1:o,p=s+`px`,m=u+`s`,h=d+`px`,g=f+``,_;t[0]!==l||t[1]!==p||t[2]!==m||t[3]!==h||t[4]!==g?(_={"--uib-size":p,"--uib-color":l,"--uib-speed":m,"--uib-stroke":h,"--uib-bg-opacity":g},t[0]=l,t[1]=p,t[2]=m,t[3]=h,t[4]=g,t[5]=_):_=t[5];let v=_,y;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(y=z(`div`,{className:Ye.inner}),t[6]=y):y=t[6];let b;return t[7]===v?b=t[8]:(b=z(`div`,{className:Ye.container,style:v,children:y}),t[7]=v,t[8]=b),b};var Ze={car:`_3zRF4q_car`,container:`_3zRF4q_container`,inner:`_3zRF4q_inner`,track:`_3zRF4q_track`,travel:`_3zRF4q_travel`};function Qe(e,t){return t.replace(/([-A-y])/g,`,$1`).split(`,`).filter(e=>e!==``).map(t=>{let n=t.match(/(\d+\.?\d*)/g)?.[0]??``,r=parseFloat(n)*e;return t.replace(n,r.toString())}).join(` `)}const $e=e=>{let t=c(21),{size:n,color:r,speed:i,stroke:a,strokeLength:o,bgOpacity:s}=e,l=n===void 0?37:n,u=r===void 0?`black`:r,d=i===void 0?.9:i,f=a===void 0?5:a,p=o===void 0?.15:o,m=s===void 0?.1:s,h=parseInt(l+``)/50,g;t[0]===h?g=t[1]:(g=Qe(h,`M0.5,25C0.5,7.8,7.8,0.5,25,0.5S49.5,7.8,49.5,25S42.2,49.5,25,49.5S0.5,42.2,0.5,25`),t[0]=h,t[1]=g);let _=g,v=l+`px`,y=d+`s`,b=String(parseFloat(p+``)*100),x=String(100-parseFloat(p+``)*100),S=m+``,C;t[2]!==u||t[3]!==y||t[4]!==b||t[5]!==x||t[6]!==S||t[7]!==v?(C={"--uib-size":v,"--uib-color":u,"--uib-speed":y,"--uib-dash":b,"--uib-gap":x,"--uib-bg-opacity":S},t[2]=u,t[3]=y,t[4]=b,t[5]=x,t[6]=S,t[7]=v,t[8]=C):C=t[8];let w=`0 0 ${l} ${l}`,T,E;t[9]!==_||t[10]!==f?(T=z(`path`,{className:Ze.track,strokeWidth:f,fill:`none`,pathLength:`100`,d:_}),E=z(`path`,{className:Ze.car,strokeWidth:f,fill:`none`,pathLength:`100`,d:_}),t[9]=_,t[10]=f,t[11]=T,t[12]=E):(T=t[11],E=t[12]);let D;t[13]!==l||t[14]!==w||t[15]!==T||t[16]!==E?(D=B(`svg`,{className:Ze.inner,x:`0px`,y:`0px`,viewBox:w,height:l,width:l,preserveAspectRatio:`xMidYMid meet`,children:[T,E]}),t[13]=l,t[14]=w,t[15]=T,t[16]=E,t[17]=D):D=t[17];let O;return t[18]!==C||t[19]!==D?(O=z(`div`,{className:Ze.container,style:C,children:D}),t[18]=C,t[19]=D,t[20]=O):O=t[20],O};function et(e){let t=c(7),i;t[0]===e.style?i=t[1]:(i={display:`flex`,justifyContent:`center`,alignItems:`center`,borderRadius:n[`--v-border-radius`],...e.style},t[0]=e.style,t[1]=i);let a;t[2]===e.type?a=t[3]:(a=e.type?.name===`square`?z($e,{color:r[`--v-gray-1000`],size:e.type.size??40,speed:`0.9`}):z(Xe,{color:r[`--v-gray-1000`],size:e.type?.width??104,speed:`1.75`}),t[2]=e.type,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=z(`div`,{style:i,children:a}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}const tt=new URL(`./logos/eu_icon.jpg`,import.meta.url).href,nt=new URL(`./logos/eu_text.svg`,import.meta.url).href,rt=new URL(`./logos/finanzonline_icon.png`,import.meta.url).href,it=new URL(`./logos/google_icon.png`,import.meta.url).href,at=new URL(`./logos/google_text.svg`,import.meta.url).href,ot=new URL(`./logos/microsoft_icon.svg`,import.meta.url).href,st=new URL(`./logos/secly_icon_rounded_black_on_white.svg`,import.meta.url).href,ct=new URL(`./logos/secly_icon_rounded_white_on_black.svg`,import.meta.url).href,lt=new URL(`./logos/secly_text_black.svg`,import.meta.url).href,ut=new URL(`./logos/secly_text_white.svg`,import.meta.url).href,dt=new URL(`./logos/sevdesk_icon.png`,import.meta.url).href,ft=new URL(`./logos/stripe_icon.svg`,import.meta.url).href,pt=new URL(`./logos/voidly_icon_rounded_black_on_white.svg`,import.meta.url).href,mt=new URL(`./logos/voidly_icon_rounded_white_on_black.svg`,import.meta.url).href,ht=new URL(`./logos/voidly_text_black.svg`,import.meta.url).href,gt=new URL(`./logos/voidly_text_white.svg`,import.meta.url).href,_t={euFlag:{src:tt,alt:`European Union Flag`,width:600,height:401},euFlagWithText:{src:nt,alt:`European Union Flag With Text`,width:172,height:48},finanzonline:{src:rt,alt:`Finanzonline Logo`,width:180,height:180},googleIcon:{src:it,alt:`Google Logo`,width:512,height:512},googleText:{src:at,alt:`Google Logo`,width:272,height:92},microsoftIcon:{src:ot,alt:`Microsoft Logo`,width:1528,height:1528},seclyIconRoundedBlackOnWhite:{src:st,alt:`Secly Logo`,width:200,height:200},seclyIconRoundedWhiteOnBlack:{src:ct,alt:`Secly Logo`,width:200,height:200},seclyTextBlack:{src:lt,alt:`Secly Logo`,width:157,height:62},seclyTextWhite:{src:ut,alt:`Secly Logo`,width:157,height:62},sevdesk:{src:dt,alt:`Sevdesk Logo`,width:256,height:256},stripe:{src:ft,alt:`Stripe Logo`,width:512,height:512},voidlyIconRoundedBlackOnWhite:{src:pt,alt:`Voidly Logo`,width:200,height:200},voidlyIconRoundedWhiteOnBlack:{src:mt,alt:`Voidly Logo`,width:200,height:200},voidlyTextBlack:{src:ht,alt:`Voidly Logo`,width:200,height:94},voidlyTextWhite:{src:gt,alt:`Voidly Logo`,width:200,height:94}};function vt(e){if(typeof e==`number`)return Number.isFinite(e)&&e>0?e:void 0;if(typeof e==`string`&&/^\d+(\.\d+)?$/.test(e.trim())){let t=Number(e);return Number.isFinite(t)&&t>0?t:void 0}}function yt(e,t,n){let r=_t[e],i=vt(t),a=vt(n),o=r.width/r.height;if(i&&a){let e=Math.min(i,a*o);return{width:Math.round(e),height:Math.round(e/o)}}return i?{width:Math.round(i),height:Math.round(i/o)}:a?{width:Math.round(a*o),height:Math.round(a)}:{width:r.width,height:r.height}}function bt(e){let t=c(6),n,r;if(t[0]!==e.height||t[1]!==e.name||t[2]!==e.renderImage||t[3]!==e.width){r=Symbol.for(`react.early_return_sentinel`);bb0:{let t=yt(e.name,e.width,e.height),i={src:_t[e.name].src,alt:_t[e.name].alt,width:t.width,height:t.height};if(e.renderImage){r=e.renderImage(i);break bb0}n=z(`img`,{...i})}t[0]=e.height,t[1]=e.name,t[2]=e.renderImage,t[3]=e.width,t[4]=n,t[5]=r}else n=t[4],r=t[5];return r===Symbol.for(`react.early_return_sentinel`)?n:r}const xt=`6px 6px`,St={auto:{solid:e=>z(J.ComputerDesktopIcon,{width:e.size,height:e.size}),outlined:e=>z(p.ComputerDesktopIcon,{width:e.size,height:e.size})},darkmode:{solid:e=>z(J.MoonIcon,{width:e.size,height:e.size}),outlined:e=>z(p.MoonIcon,{width:e.size,height:e.size})},lightmode:{solid:e=>z(J.SunIcon,{width:e.size,height:e.size}),outlined:e=>z(p.SunIcon,{width:e.size,height:e.size})}};function Ct(e){let t=c(9),n;t[0]===e.color?n=t[1]:(n={color:e.color,display:`flex`},t[0]=e.color,t[1]=n);let r;t[2]!==e.name||t[3]!==e.size||t[4]!==e.variant?(r=St[e.name][e.variant]?.({size:e.size}),t[2]=e.name,t[3]=e.size,t[4]=e.variant,t[5]=r):r=t[5];let i;return t[6]!==n||t[7]!==r?(i=z(`span`,{style:n,children:r}),t[6]=n,t[7]=r,t[8]=i):i=t[8],i}function wt(e){let t=c(55),{t:i}=je(),a=Ee(),o;t[0]===e.style?o=t[1]:(o={display:`flex`,alignItems:`center`,gap:8,fontSize:12,fontWeight:`600`,...e.style},t[0]=e.style,t[1]=o);let l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l={border:`1px solid ${r[`--v-strokes`]}`,borderRadius:n[`--v-border-radius`],overflow:`hidden`},t[2]=l):l=t[2];let u;t[3]===i?u=t[4]:(u=i(`component.theme_toggle.auto_mode`),t[3]=i,t[4]=u);let d=a.themePreference===`auto`?r[`--v-gray-100`]:r[`--v-gray-200`],f;t[5]===d?f=t[6]:(f={borderRadius:0,padding:xt,minWidth:`auto`,background:d},t[5]=d,t[6]=f);let p;t[7]===a?p=t[8]:(p=()=>{s.withoutCSSTransitions(()=>{a.setTheme(`auto`)})},t[7]=a,t[8]=p);let m=a.themePreference===`auto`?`solid`:`outlined`,h;t[9]===m?h=t[10]:(h=z(Ct,{name:`auto`,variant:m,size:12}),t[9]=m,t[10]=h);let g;t[11]!==f||t[12]!==p||t[13]!==h?(g=z(C,{style:f,onClick:p,children:h}),t[11]=f,t[12]=p,t[13]=h,t[14]=g):g=t[14];let _;t[15]!==u||t[16]!==g?(_=z(E,{title:u,children:g}),t[15]=u,t[16]=g,t[17]=_):_=t[17];let v;t[18]===i?v=t[19]:(v=i(`component.theme_toggle.light_mode`),t[18]=i,t[19]=v);let y=a.themePreference===`light`?r[`--v-gray-100`]:r[`--v-gray-200`],b;t[20]===y?b=t[21]:(b={borderRadius:0,padding:xt,minWidth:`auto`,background:y},t[20]=y,t[21]=b);let x;t[22]===a?x=t[23]:(x=()=>{s.withoutCSSTransitions(()=>{a.setTheme(`light`)})},t[22]=a,t[23]=x);let S=a.themePreference===`light`?`solid`:`outlined`,w;t[24]===S?w=t[25]:(w=z(Ct,{name:`lightmode`,variant:S,size:12}),t[24]=S,t[25]=w);let T;t[26]!==b||t[27]!==x||t[28]!==w?(T=z(C,{style:b,onClick:x,children:w}),t[26]=b,t[27]=x,t[28]=w,t[29]=T):T=t[29];let D;t[30]!==v||t[31]!==T?(D=z(E,{title:v,children:T}),t[30]=v,t[31]=T,t[32]=D):D=t[32];let O;t[33]===i?O=t[34]:(O=i(`component.theme_toggle.dark_mode`),t[33]=i,t[34]=O);let k=a.themePreference===`dark`?r[`--v-gray-100`]:r[`--v-gray-200`],A;t[35]===k?A=t[36]:(A={borderRadius:0,padding:xt,minWidth:`auto`,background:k},t[35]=k,t[36]=A);let j;t[37]===a?j=t[38]:(j=()=>{s.withoutCSSTransitions(()=>{a.setTheme(`dark`)})},t[37]=a,t[38]=j);let M=a.themePreference===`dark`?`solid`:`outlined`,N;t[39]===M?N=t[40]:(N=z(Ct,{name:`darkmode`,variant:M,size:12}),t[39]=M,t[40]=N);let P;t[41]!==A||t[42]!==j||t[43]!==N?(P=z(C,{style:A,onClick:j,children:N}),t[41]=A,t[42]=j,t[43]=N,t[44]=P):P=t[44];let F;t[45]!==O||t[46]!==P?(F=z(E,{title:O,children:P}),t[45]=O,t[46]=P,t[47]=F):F=t[47];let I;t[48]!==D||t[49]!==F||t[50]!==_?(I=z(`div`,{children:B(de,{style:l,children:[_,D,F]})}),t[48]=D,t[49]=F,t[50]=_,t[51]=I):I=t[51];let L;return t[52]!==o||t[53]!==I?(L=z(`div`,{style:o,children:I}),t[52]=o,t[53]=I,t[54]=L):L=t[54],L}export{ce as VAlert,le as VCard,Fe as VChip,He as VCode,We as VErrorBox,de as VFlex,Ge as VGrid,et as VLoading,bt as VLogo,_t as VLogoSources,Re as VText,De as VTheme,wt as VThemeToggle,ke as VToast,Je as createVIntl,Oe as showVToast,Ee as useVThemeContext};
230
+ `}),q(`style`,{children:De()})]}),e[0]=n):n=e[0],n}const ke=`voidly.theme`;function Ae(e){if(typeof window>`u`)return e;try{let e=window.localStorage.getItem(ke);if(e===`light`||e===`dark`||e===`auto`)return e}catch{}return e}function je(){return typeof window>`u`||typeof window.matchMedia!=`function`?`light`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function Me(e){if(typeof window>`u`||typeof window.matchMedia!=`function`)return()=>{};let t=window.matchMedia(`(prefers-color-scheme: dark)`);return typeof t.addEventListener==`function`?(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)}):(t.addListener(e),()=>{t.removeListener(e)})}function Ne(){return G(Me,je,Pe)}function Pe(){return`light`}const Fe=U(null),Ie={light:`voidly-light-theme`,dark:`voidly-dark-theme`};function Le(){let e=ie(Fe);if(!e)throw Error(`useVThemeContext must be used within a VTheme`);return e}function Re(e){let t=u(30),n=e.persistThemePreference??!0,r;t[0]!==n||t[1]!==e.defaultTheme?(r=()=>n?Ae(e.defaultTheme??`auto`):e.defaultTheme??`auto`,t[0]=n,t[1]=e.defaultTheme,t[2]=r):r=t[2];let[i,a]=se(r),o=Ne(),s,c;t[3]!==n||t[4]!==i?(s=()=>{if(n)try{window.localStorage.setItem(ke,i)}catch{}},c=[n,i],t[3]=n,t[4]=i,t[5]=s,t[6]=c):(s=t[5],c=t[6]),ae(s,c);let l=e.theme??(i===`auto`?o:i),d;t[7]===e.isRoot?d=t[8]:(d=e.isRoot?[Z.className,Z.variable,ce.className,ce.variable]:[],t[7]=e.isRoot,t[8]=d);let f=d,p;t[9]!==e.isRoot||t[10]!==l?(p=()=>(e.isRoot&&(document.body.classList.remove(...Object.values(Ie)),document.body.classList.add(Ie[l])),()=>{e.isRoot&&document.body.classList.remove(...Object.values(Ie))}),t[9]=e.isRoot,t[10]=l,t[11]=p):p=t[11];let m;t[12]===l?m=t[13]:(m=[l],t[12]=l,t[13]=m),ae(p,m);let h;t[14]!==l||t[15]!==i?(h={theme:l,themePreference:i,setTheme:a},t[14]=l,t[15]=i,t[16]=h):h=t[16];let g;t[17]===e.isRoot?g=t[18]:(g=e.isRoot&&q(Oe,{}),t[17]=e.isRoot,t[18]=g);let _=e.isRoot??!1,v=`${Ie[l]} ${f.join(` `)}`,y;t[19]!==e.children||t[20]!==v?(y=q(`div`,{className:v,children:e.children}),t[19]=e.children,t[20]=v,t[21]=y):y=t[21];let b;t[22]!==y||t[23]!==_||t[24]!==l?(b=q(we,{theme:l,isRootRegistry:_,children:y}),t[22]=y,t[23]=_,t[24]=l,t[25]=b):b=t[25];let x;return t[26]!==b||t[27]!==h||t[28]!==g?(x=J(Fe.Provider,{value:h,children:[g,b]}),t[26]=b,t[27]=h,t[28]=g,t[29]=x):x=t[29],x}function ze(e){let t=e.durationInMs===`infinite`?9999999999:e.durationInMs||8e3,n,r={description:e.description,duration:t};return e.id&&(r.id=e.id),setTimeout(()=>{n=e.type===`info`?X.info(e.title,r):e.type===`success`?X.success(e.title,r):e.type===`warning`?X.warning(e.title,r):e.type===`error`?X.error(e.title,r):e.type===`loading`?X.loading(e.title,r):X.info(e.title,r)}),{dismiss:()=>{X.dismiss(n)}}}function Be(){let e=u(2),{theme:t}=Le(),n;return e[0]===t?n=e[1]:(n=q(Y,{richColors:!0,theme:t,visibleToasts:4,position:`top-center`,closeButton:!0}),e[0]=t,e[1]=n),n}function Ve(){return function(){let e=de();return{locale:e.locale,t:function(...t){let[n,r]=t;return e.formatMessage({id:n},r)},tHtml:function(...e){let[t,n]=e;return q(le,{id:t,values:{...n}},t)}}}}const He=Ve(),Ue=te(`span`)(e=>({...e.$style,"&:hover":e.$styleHover})),We=`medium`,Ge=2e3;function Ke(e){let t=He(),[n,i]=se(!1);ae(()=>{if(!n)return;let e=window.setTimeout(()=>i(!1),Ge);return()=>window.clearTimeout(e)},[n]);let a={color:r[`--v-blue-700`],border:r[`--v-blue-500`],background:r[`--v-blue-100`],backgroundHover:r[`--v-blue-200`]};`type`in e?e.type===`error`?(a.color=r[`--v-red-700`],a.border=r[`--v-red-500`],a.background=r[`--v-red-100`],a.backgroundHover=r[`--v-red-200`]):e.type===`success`&&(a.color=r[`--v-green-700`],a.border=r[`--v-green-500`],a.background=r[`--v-green-100`],a.backgroundHover=r[`--v-green-200`]):(a.color=e.color,a.border=e.border,a.background=e.background,a.backgroundHover=e.backgroundHover||e.background);let o={small:{padding:`3px 8px`,fontSize:10},medium:{padding:`6px 14px`,fontSize:11},large:{padding:`9px 20px`,fontSize:12}};return q(P,{title:e.tooltip??``,placement:e.tooltipPlacement??`top`,children:q(Ue,{$style:{border:`1px solid ${a.border}`,color:a.color,background:a.background,padding:o[e.size??We].padding,borderRadius:9999,fontSize:o[e.size??We].fontSize,fontWeight:600,lineHeight:`12px`,display:`inline-block`,cursor:e.onClick?`pointer`:`default`,...e.style},onClick:t=>{t.stopPropagation(),e.onClick?.()},$styleHover:{background:a.backgroundHover},children:J(ye,{gap:8,alignItems:`center`,children:[e.content,e.showCopyButton&&q(P,{title:n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),placement:`top`,children:q(D,{"aria-label":n?t.t(`component.vchip.copy_success`):e.copyTooltip??t.t(`component.vchip.copy_to_clipboard`),onClick:async n=>{n.stopPropagation();let r=e.copyText?.trim();if(r)try{await l.copyToClipboard(r),i(!0),ze({type:`success`,title:e.copyToastTitle??t.t(`component.vchip.copy_success`),durationInMs:Ge})}catch{ze({type:`error`,title:t.t(`component.vchip.copy_failed`)})}},style:{border:`none`,background:`transparent`,padding:0,margin:0,display:`flex`,alignItems:`center`,color:a.color},children:q(n?f:x,{height:12,width:12})})})]})})})}const qe={disabled:r[`--v-gray-100`],error:r[`--v-red-700`],strong:r[`--v-gray-1000`]},Je={300:300,400:400,500:500,600:600,700:700,800:800,900:900};function Ye(e){let t=u(12),n=B(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=z(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=z(a),s=e.type?`v-text-${e.type}`:void 0,c=e.color?qe[e.color]||`var(${e.color})`:void 0,l=e.weight?Je[e.weight]:void 0,d=e.component===`ul`?14:void 0,f=i&&e.textAlignSmDown?e.textAlignSmDown:o&&e.textAlignMdDown?e.textAlignMdDown:e.textAlign,p=e.breakWord?`break-word`:void 0,m;return t[4]!==e||t[5]!==s||t[6]!==c||t[7]!==l||t[8]!==d||t[9]!==f||t[10]!==p?(m=ne(e.component,{className:s,style:{color:c,fontWeight:l,paddingLeft:d,textAlign:f,width:e.width,maxWidth:e.maxWidth,wordBreak:p,...e.noWrapEllipsis?{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`}:{},...e.style},"data-testid":e[`data-testid`],onClick:e.onClick},e.children),t[4]=e,t[5]=s,t[6]=c,t[7]=l,t[8]=d,t[9]=f,t[10]=p,t[11]=m):m=t[11],m}const Xe=r[`--v-gray-600`],Ze=2e3;async function Qe(e){return fe(await pe(e.code,{lang:e.lang,theme:`github-dark-default`,transformers:[{code(e){let t=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${t}font-family: var(--font-geist-mono);`},line(e,t){let n=typeof e.properties.style==`string`?e.properties.style+`;`:``;e.properties.style=`${n}display:block;padding-left:3.5em;line-height:20px`,e.children.unshift({type:`element`,tagName:`span`,properties:{style:`margin-left:-3.5em;color:${r[`--v-gray-500`]};user-select:none;display:inline-block;width:2em;margin-right:1.5em;text-align:right`},children:[{type:`text`,value:String(t)}]})}}]}),{Fragment:H,jsx:q,jsxs:J,components:{pre:t=>q(`pre`,{...t,style:{...t.style,padding:`14px 16px`,fontSize:13,lineHeight:0,overflow:`auto`,whiteSpace:e.wrap?`pre-wrap`:`pre`,margin:0,background:r[`--v-gray-100`],borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`],maxHeight:e.maxHeight}})}})}function $e(e){let t=u(93),i=He(),[a,o]=se(null),[s,c]=se(!1),[d,p]=se(!1),[m,h]=se(e.defaultCollapsed??!1),g=e.collapsed??m,S;t[0]===e?S=t[1]:(S=t=>{e.collapsed===void 0&&h(t),e.onCollapsedChange?.(t)},t[0]=e,t[1]=S);let C=S,w,T;t[2]!==e.content||t[3]!==e.lang||t[4]!==e.maxHeight||t[5]!==s?(w=()=>{Qe({code:e.content,lang:e.lang,wrap:s,maxHeight:e.maxHeight}).then(o)},T=[e.content,e.lang,e.maxHeight,s],t[2]=e.content,t[3]=e.lang,t[4]=e.maxHeight,t[5]=s,t[6]=w,t[7]=T):(w=t[6],T=t[7]),oe(w,T);let O,k;t[8]===d?(O=t[9],k=t[10]):(O=()=>{if(!d)return;let e=window.setTimeout(()=>p(!1),Ze);return()=>window.clearTimeout(e)},k=[d],t[8]=d,t[9]=O,t[10]=k),ae(O,k);let A;t[11]===e.style?A=t[12]:(A={position:`relative`,background:r[`--v-background`],borderRadius:n[`--v-border-radius`],...e.style},t[11]=e.style,t[12]=A);let j;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(j={color:Xe,borderTopLeftRadius:n[`--v-border-radius`],borderTopRightRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-strokes`]}`},t[13]=j):j=t[13];let M;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(M=q(ee,{height:16,width:16}),t[14]=M):M=t[14];let N;t[15]===e.title?N=t[16]:(N=J(ye,{alignItems:`center`,gap:16,children:[M,q(Ye,{component:`span`,type:`copy-13`,weight:`400`,children:e.title})]}),t[15]=e.title,t[16]=N);let F;t[17]!==g||t[18]!==C||t[19]!==i?(F=!g&&q(P,{title:i.t(`component.vcode.collapse_code`),placement:`top`,children:q(D,{"aria-label":i.t(`component.vcode.collapse_code`),"aria-expanded":!0,onClick:()=>C(!0),style:{border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Xe},children:q(b,{height:16,width:16})})}),t[17]=g,t[18]=C,t[19]=i,t[20]=F):F=t[20];let I;t[21]===i?I=t[22]:(I=i.t(`component.vcode.download_file`),t[21]=i,t[22]=I);let L;t[23]===i?L=t[24]:(L=i.t(`component.vcode.download_file`),t[23]=i,t[24]=L);let R;t[25]!==e.content||t[26]!==e.title?(R=()=>{let t=new Blob([e.content],{type:`text/plain`}),n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=e.title,r.click(),URL.revokeObjectURL(n)},t[25]=e.content,t[26]=e.title,t[27]=R):R=t[27];let te,z;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(te={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Xe},z=q(_,{height:16,width:16}),t[28]=te,t[29]=z):(te=t[28],z=t[29]);let B;t[30]!==L||t[31]!==R?(B=q(D,{"aria-label":L,onClick:R,style:te,children:z}),t[30]=L,t[31]=R,t[32]=B):B=t[32];let V;t[33]!==I||t[34]!==B?(V=q(P,{title:I,placement:`top`,children:B}),t[33]=I,t[34]=B,t[35]=V):V=t[35];let H;t[36]===i?H=t[37]:(H=i.t(`component.vcode.toggle_wrap`),t[36]=i,t[37]=H);let U;t[38]===i?U=t[39]:(U=i.t(`component.vcode.toggle_wrap`),t[38]=i,t[39]=U);let ne,re;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(ne=()=>c(et),re={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Xe},t[40]=ne,t[41]=re):(ne=t[40],re=t[41]);let ie;t[42]===s?ie=t[43]:(ie=q(s?y:v,{height:16,width:16}),t[42]=s,t[43]=ie);let W;t[44]!==U||t[45]!==ie?(W=q(D,{"aria-label":U,onClick:ne,style:re,children:ie}),t[44]=U,t[45]=ie,t[46]=W):W=t[46];let G;t[47]!==H||t[48]!==W?(G=q(P,{title:H,placement:`top`,children:W}),t[47]=H,t[48]=W,t[49]=G):G=t[49];let K;t[50]!==d||t[51]!==i?(K=d?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[50]=d,t[51]=i,t[52]=K):K=t[52];let Y;t[53]!==d||t[54]!==i?(Y=d?i.t(`component.vcode.copy_success`):i.t(`component.vcode.copy_to_clipboard`),t[53]=d,t[54]=i,t[55]=Y):Y=t[55];let X;t[56]!==e.content||t[57]!==i?(X=async t=>{t.stopPropagation();try{await l.copyToClipboard(e.content),p(!0),ze({type:`success`,title:i.t(`component.vcode.copy_success`),durationInMs:Ze})}catch{ze({type:`error`,title:i.t(`component.vcode.copy_failed`)})}},t[56]=e.content,t[57]=i,t[58]=X):X=t[58];let ce;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(ce={border:`none`,margin:0,display:`flex`,alignItems:`center`,color:Xe},t[59]=ce):ce=t[59];let Z;t[60]===d?Z=t[61]:(Z=d?q(f,{height:16,width:16,color:r[`--v-green-700`]}):q(x,{height:16,width:16}),t[60]=d,t[61]=Z);let Q;t[62]!==Y||t[63]!==X||t[64]!==Z?(Q=q(D,{"aria-label":Y,onClick:X,style:ce,children:Z}),t[62]=Y,t[63]=X,t[64]=Z,t[65]=Q):Q=t[65];let le;t[66]!==K||t[67]!==Q?(le=q(P,{title:K,placement:`top`,children:Q}),t[66]=K,t[67]=Q,t[68]=le):le=t[68];let ue;t[69]!==V||t[70]!==G||t[71]!==le||t[72]!==F?(ue=J(ye,{alignItems:`center`,gap:8,children:[F,V,G,le]}),t[69]=V,t[70]=G,t[71]=le,t[72]=F,t[73]=ue):ue=t[73];let de;t[74]!==ue||t[75]!==N?(de=J(ye,{style:j,gap:40,alignItems:`center`,justifyContent:`space-between`,padding:`6px 12px 6px 16px`,children:[N,ue]}),t[74]=ue,t[75]=N,t[76]=de):de=t[76];let fe=e.maxHeight??110,pe=g?110:void 0,me=g?`hidden`:void 0,$;t[77]!==fe||t[78]!==pe||t[79]!==me?($={position:`relative`,minHeight:fe,maxHeight:pe,overflow:me,borderLeft:`1px solid ${r[`--v-strokes`]}`,borderBottom:`1px solid ${r[`--v-strokes`]}`,borderRight:`1px solid ${r[`--v-strokes`]}`,borderBottomLeftRadius:n[`--v-border-radius`],borderBottomRightRadius:n[`--v-border-radius`]},t[77]=fe,t[78]=pe,t[79]=me,t[80]=$):$=t[80];let he;t[81]!==g||t[82]!==C||t[83]!==i?(he=g&&q(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9))`},children:q(E,{variant:`outlined`,size:`small`,"aria-expanded":!1,onClick:()=>C(!1),children:i.t(`component.vcode.view_code`)})}),t[81]=g,t[82]=C,t[83]=i,t[84]=he):he=t[84];let ge;t[85]!==a||t[86]!==$||t[87]!==he?(ge=J(`div`,{style:$,children:[a,he]}),t[85]=a,t[86]=$,t[87]=he,t[88]=ge):ge=t[88];let _e;return t[89]!==de||t[90]!==ge||t[91]!==A?(_e=q(Re,{theme:`dark`,children:J(ye,{flexDirection:`column`,style:A,children:[de,ge]})}),t[89]=de,t[90]=ge,t[91]=A,t[92]=_e):_e=t[92],_e}function et(e){return!e}function tt(e){let t=u(21),i=He(),a=e.onRetry,o=`14px ${a?20:28}px 14px 28px`,s;t[0]===e.singleLine?s=t[1]:(s=e.singleLine?{whiteSpace:`nowrap`,minWidth:0,flexGrow:1}:{},t[0]=e.singleLine,t[1]=s);let c;t[2]!==e.style||t[3]!==o||t[4]!==s?(c={color:r[`--v-alert-error-text`],background:r[`--v-alert-error-background`],borderRadius:n[`--v-border-radius`],border:`1px solid ${r[`--v-alert-error-border`]}`,padding:o,display:`flex`,alignItems:`center`,justifyContent:`space-between`,fontSize:13,fontWeight:400,lineHeight:`15px`,maxWidth:`100%`,...s,...e.style},t[2]=e.style,t[3]=o,t[4]=s,t[5]=c):c=t[5];let l=a?12:0,f;t[6]===l?f=t[7]:(f={marginRight:l,overflow:`hidden`,textOverflow:`ellipsis`},t[6]=l,t[7]=f);let p;t[8]!==e.children||t[9]!==f?(p=q(`div`,{style:f,children:e.children}),t[8]=e.children,t[9]=f,t[10]=p):p=t[10];let m;t[11]!==e||t[12]!==i?(m=e.onRetry&&q(P,{title:i.t(`component.verrorbox.retry`),placement:`bottom`,children:q(D,{onClick:t=>{t.stopPropagation(),e.onRetry?.()},style:{marginLeft:`auto`,color:r[`--v-alert-error-text`]},children:q(d,{style:{width:16}})})}),t[11]=e,t[12]=i,t[13]=m):m=t[13];let h;t[14]!==c||t[15]!==p||t[16]!==m?(h=J(`div`,{style:c,children:[p,m]}),t[14]=c,t[15]=p,t[16]=m,t[17]=h):h=t[17];let g;return t[18]!==e.tooltip||t[19]!==h?(g=q(P,{title:e.tooltip,placement:`top`,children:h}),t[18]=e.tooltip,t[19]=h,t[20]=g):g=t[20],g}function nt(e){let t=u(22),n=B(),r;t[0]===n.breakpoints?r=t[1]:(r=n.breakpoints.down(`sm`),t[0]=n.breakpoints,t[1]=r);let i=z(r),a;t[2]===n.breakpoints?a=t[3]:(a=n.breakpoints.down(`md`),t[2]=n.breakpoints,t[3]=a);let o=z(a),s=i&&e.columnsSmDown?e.columnsSmDown:o&&e.columnsMdDown?e.columnsMdDown:e.columns,c=e.rowGap||e.gap,l=e.columnGap||e.gap,d=typeof e.padding==`number`?e.padding:e.padding?.top,f=typeof e.padding==`number`?e.padding:e.padding?.bottom,p=typeof e.padding==`number`?e.padding:e.padding?.left,m=typeof e.padding==`number`?e.padding:e.padding?.right,h=typeof e.margin==`number`?e.margin:e.margin?.top,g=typeof e.margin==`number`?e.margin:e.margin?.bottom,_=typeof e.margin==`number`?e.margin:e.margin?.left,v=typeof e.margin==`number`?e.margin:e.margin?.right,y;t[4]!==s||t[5]!==e.alignItems||t[6]!==e.gap||t[7]!==e.maxWidth||t[8]!==_||t[9]!==v||t[10]!==c||t[11]!==l||t[12]!==d||t[13]!==f||t[14]!==p||t[15]!==m||t[16]!==h||t[17]!==g?(y={display:`grid`,gridTemplateColumns:s,gap:e.gap,rowGap:c,columnGap:l,paddingTop:d,paddingBottom:f,paddingLeft:p,paddingRight:m,marginTop:h,marginBottom:g,marginLeft:_,marginRight:v,alignItems:e.alignItems,maxWidth:e.maxWidth},t[4]=s,t[5]=e.alignItems,t[6]=e.gap,t[7]=e.maxWidth,t[8]=_,t[9]=v,t[10]=c,t[11]=l,t[12]=d,t[13]=f,t[14]=p,t[15]=m,t[16]=h,t[17]=g,t[18]=y):y=t[18];let b;return t[19]!==e.children||t[20]!==y?(b=q(`div`,{style:y,children:e.children}),t[19]=e.children,t[20]=y,t[21]=b):b=t[21],b}const rt={en:{"component.vcode.copy_failed":`Copy to clipboard failed.`,"component.vcode.copy_success":`Copied to clipboard.`,"component.vcode.copy_to_clipboard":`Copy to clipboard`,"component.vcode.toggle_wrap":`Toggle line wrap`,"component.vcode.download_file":`Download file`,"component.vcode.collapse_code":`Collapse code`,"component.vcode.view_code":`View Code`,"component.vchip.copy_failed":`Copy to clipboard failed.`,"component.vchip.copy_success":`Copied to clipboard`,"component.vchip.copy_to_clipboard":`Copy to clipboard`,"component.verrorbox.retry":`Retry`,"component.theme_toggle.auto_mode":`System theme`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`,"component.table.sort_header":`Click to sort column`},de:{"component.vcode.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vcode.copy_success":`In die Zwischenablage kopiert.`,"component.vcode.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.vcode.toggle_wrap":`Zeilenumbruch umschalten`,"component.vcode.download_file":`Datei herunterladen`,"component.vcode.collapse_code":`Code einklappen`,"component.vcode.view_code":`Code anzeigen`,"component.vchip.copy_failed":`Kopieren in die Zwischenablage fehlgeschlagen.`,"component.vchip.copy_success":`In die Zwischenablage kopiert`,"component.vchip.copy_to_clipboard":`In die Zwischenablage kopieren`,"component.verrorbox.retry":`Erneut versuchen`,"component.theme_toggle.auto_mode":`System theme`,"component.theme_toggle.light_mode":`Light mode`,"component.theme_toggle.dark_mode":`Dark mode`,"component.table.sort_header":`Klicken, um die Spalte zu sortieren`}};function it(e){let t=u(7),n=e.messages[e.locale]??e.messages.en,r=rt[e.locale],i;t[0]!==n||t[1]!==r?(i={...r,...n},t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i,o;return t[3]!==a||t[4]!==e.children||t[5]!==e.locale?(o=q(ue,{locale:e.locale,messages:a,children:e.children}),t[3]=a,t[4]=e.children,t[5]=e.locale,t[6]=o):o=t[6],o}function at(e){let t=Ve();function n(t){let n=u(2),r;return n[0]===t?r=n[1]:(r=q(it,{...t,messages:e}),n[0]=t,n[1]=r),r}return{VIntlProvider:n,useVIntl:t}}var ot={container:`z7PbZq_container`,inner:`z7PbZq_inner`,wobble:`z7PbZq_wobble`};const st=e=>{let t=u(9),{size:n,color:r,speed:i,stroke:a,bgOpacity:o}=e,s=n===void 0?80:n,c=r===void 0?`black`:r,l=i===void 0?1.75:i,d=a===void 0?5:a,f=o===void 0?.1:o,p=s+`px`,m=l+`s`,h=d+`px`,g=f+``,_;t[0]!==c||t[1]!==p||t[2]!==m||t[3]!==h||t[4]!==g?(_={"--uib-size":p,"--uib-color":c,"--uib-speed":m,"--uib-stroke":h,"--uib-bg-opacity":g},t[0]=c,t[1]=p,t[2]=m,t[3]=h,t[4]=g,t[5]=_):_=t[5];let v=_,y;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(y=q(`div`,{className:ot.inner}),t[6]=y):y=t[6];let b;return t[7]===v?b=t[8]:(b=q(`div`,{className:ot.container,style:v,children:y}),t[7]=v,t[8]=b),b};var ct={car:`_3zRF4q_car`,container:`_3zRF4q_container`,inner:`_3zRF4q_inner`,track:`_3zRF4q_track`,travel:`_3zRF4q_travel`};function lt(e,t){return t.replace(/([-A-y])/g,`,$1`).split(`,`).filter(e=>e!==``).map(t=>{let n=t.match(/(\d+\.?\d*)/g)?.[0]??``,r=parseFloat(n)*e;return t.replace(n,r.toString())}).join(` `)}const ut=e=>{let t=u(21),{size:n,color:r,speed:i,stroke:a,strokeLength:o,bgOpacity:s}=e,c=n===void 0?37:n,l=r===void 0?`black`:r,d=i===void 0?.9:i,f=a===void 0?5:a,p=o===void 0?.15:o,m=s===void 0?.1:s,h=parseInt(c+``)/50,g;t[0]===h?g=t[1]:(g=lt(h,`M0.5,25C0.5,7.8,7.8,0.5,25,0.5S49.5,7.8,49.5,25S42.2,49.5,25,49.5S0.5,42.2,0.5,25`),t[0]=h,t[1]=g);let _=g,v=c+`px`,y=d+`s`,b=String(parseFloat(p+``)*100),x=String(100-parseFloat(p+``)*100),ee=m+``,S;t[2]!==l||t[3]!==y||t[4]!==b||t[5]!==x||t[6]!==ee||t[7]!==v?(S={"--uib-size":v,"--uib-color":l,"--uib-speed":y,"--uib-dash":b,"--uib-gap":x,"--uib-bg-opacity":ee},t[2]=l,t[3]=y,t[4]=b,t[5]=x,t[6]=ee,t[7]=v,t[8]=S):S=t[8];let C=`0 0 ${c} ${c}`,w,T;t[9]!==_||t[10]!==f?(w=q(`path`,{className:ct.track,strokeWidth:f,fill:`none`,pathLength:`100`,d:_}),T=q(`path`,{className:ct.car,strokeWidth:f,fill:`none`,pathLength:`100`,d:_}),t[9]=_,t[10]=f,t[11]=w,t[12]=T):(w=t[11],T=t[12]);let E;t[13]!==c||t[14]!==C||t[15]!==w||t[16]!==T?(E=J(`svg`,{className:ct.inner,x:`0px`,y:`0px`,viewBox:C,height:c,width:c,preserveAspectRatio:`xMidYMid meet`,children:[w,T]}),t[13]=c,t[14]=C,t[15]=w,t[16]=T,t[17]=E):E=t[17];let D;return t[18]!==S||t[19]!==E?(D=q(`div`,{className:ct.container,style:S,children:E}),t[18]=S,t[19]=E,t[20]=D):D=t[20],D};function dt(e){let t=u(7),i;t[0]===e.style?i=t[1]:(i={display:`flex`,justifyContent:`center`,alignItems:`center`,borderRadius:n[`--v-border-radius`],...e.style},t[0]=e.style,t[1]=i);let a;t[2]===e.type?a=t[3]:(a=e.type?.name===`square`?q(ut,{color:r[`--v-gray-1000`],size:e.type.size??40,speed:`0.9`}):q(st,{color:r[`--v-gray-1000`],size:e.type?.width??104,speed:`1.75`}),t[2]=e.type,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=q(`div`,{style:i,children:a}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}const ft=new URL(`./logos/eu_icon.jpg`,import.meta.url).href,pt=new URL(`./logos/eu_text.svg`,import.meta.url).href,mt=new URL(`./logos/finanzonline_icon.png`,import.meta.url).href,ht=new URL(`./logos/google_icon.png`,import.meta.url).href,gt=new URL(`./logos/google_text.svg`,import.meta.url).href,_t=new URL(`./logos/microsoft_icon.svg`,import.meta.url).href,vt=new URL(`./logos/secly_icon_rounded_black_on_white.svg`,import.meta.url).href,yt=new URL(`./logos/secly_icon_rounded_white_on_black.svg`,import.meta.url).href,bt=new URL(`./logos/secly_text_black.svg`,import.meta.url).href,xt=new URL(`./logos/secly_text_white.svg`,import.meta.url).href,St=new URL(`./logos/sevdesk_icon.png`,import.meta.url).href,Ct=new URL(`./logos/stripe_icon.svg`,import.meta.url).href,wt=new URL(`./logos/voidly_icon_rounded_black_on_white.svg`,import.meta.url).href,Tt=new URL(`./logos/voidly_icon_rounded_white_on_black.svg`,import.meta.url).href,Et=new URL(`./logos/voidly_text_black.svg`,import.meta.url).href,Dt=new URL(`./logos/voidly_text_white.svg`,import.meta.url).href,Ot={euFlag:{src:ft,alt:`European Union Flag`,width:600,height:401},euFlagWithText:{src:pt,alt:`European Union Flag With Text`,width:172,height:48},finanzonline:{src:mt,alt:`Finanzonline Logo`,width:180,height:180},googleIcon:{src:ht,alt:`Google Logo`,width:512,height:512},googleText:{src:gt,alt:`Google Logo`,width:272,height:92},microsoftIcon:{src:_t,alt:`Microsoft Logo`,width:1528,height:1528},seclyIconRoundedBlackOnWhite:{src:vt,alt:`Secly Logo`,width:200,height:200},seclyIconRoundedWhiteOnBlack:{src:yt,alt:`Secly Logo`,width:200,height:200},seclyTextBlack:{src:bt,alt:`Secly Logo`,width:157,height:62},seclyTextWhite:{src:xt,alt:`Secly Logo`,width:157,height:62},sevdesk:{src:St,alt:`Sevdesk Logo`,width:256,height:256},stripe:{src:Ct,alt:`Stripe Logo`,width:512,height:512},voidlyIconRoundedBlackOnWhite:{src:wt,alt:`Voidly Logo`,width:200,height:200},voidlyIconRoundedWhiteOnBlack:{src:Tt,alt:`Voidly Logo`,width:200,height:200},voidlyTextBlack:{src:Et,alt:`Voidly Logo`,width:200,height:94},voidlyTextWhite:{src:Dt,alt:`Voidly Logo`,width:200,height:94}};function kt(e){if(typeof e==`number`)return Number.isFinite(e)&&e>0?e:void 0;if(typeof e==`string`&&/^\d+(\.\d+)?$/.test(e.trim())){let t=Number(e);return Number.isFinite(t)&&t>0?t:void 0}}function At(e,t,n){let r=Ot[e],i=kt(t),a=kt(n),o=r.width/r.height;if(i&&a){let e=Math.min(i,a*o);return{width:Math.round(e),height:Math.round(e/o)}}return i?{width:Math.round(i),height:Math.round(i/o)}:a?{width:Math.round(a*o),height:Math.round(a)}:{width:r.width,height:r.height}}function jt(e){let t=u(6),n,r;if(t[0]!==e.height||t[1]!==e.name||t[2]!==e.renderImage||t[3]!==e.width){r=Symbol.for(`react.early_return_sentinel`);bb0:{let t=At(e.name,e.width,e.height),i={src:Ot[e.name].src,alt:Ot[e.name].alt,width:t.width,height:t.height};if(e.renderImage){r=e.renderImage(i);break bb0}n=q(`img`,{...i})}t[0]=e.height,t[1]=e.name,t[2]=e.renderImage,t[3]=e.width,t[4]=n,t[5]=r}else n=t[4],r=t[5];return r===Symbol.for(`react.early_return_sentinel`)?n:r}const Mt=`6px 6px`,Nt={auto:{solid:e=>q(me.ComputerDesktopIcon,{width:e.size,height:e.size}),outlined:e=>q(g.ComputerDesktopIcon,{width:e.size,height:e.size})},darkmode:{solid:e=>q(me.MoonIcon,{width:e.size,height:e.size}),outlined:e=>q(g.MoonIcon,{width:e.size,height:e.size})},lightmode:{solid:e=>q(me.SunIcon,{width:e.size,height:e.size}),outlined:e=>q(g.SunIcon,{width:e.size,height:e.size})}};function Pt(e){let t=u(9),n;t[0]===e.color?n=t[1]:(n={color:e.color,display:`flex`},t[0]=e.color,t[1]=n);let r;t[2]!==e.name||t[3]!==e.size||t[4]!==e.variant?(r=Nt[e.name][e.variant]?.({size:e.size}),t[2]=e.name,t[3]=e.size,t[4]=e.variant,t[5]=r):r=t[5];let i;return t[6]!==n||t[7]!==r?(i=q(`span`,{style:n,children:r}),t[6]=n,t[7]=r,t[8]=i):i=t[8],i}function Ft(e){let t=u(55),{t:i}=He(),a=Le(),o;t[0]===e.style?o=t[1]:(o={display:`flex`,alignItems:`center`,gap:8,fontSize:12,fontWeight:`600`,...e.style},t[0]=e.style,t[1]=o);let s;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(s={border:`1px solid ${r[`--v-strokes`]}`,borderRadius:n[`--v-border-radius`],overflow:`hidden`},t[2]=s):s=t[2];let c;t[3]===i?c=t[4]:(c=i(`component.theme_toggle.auto_mode`),t[3]=i,t[4]=c);let d=a.themePreference===`auto`?r[`--v-gray-100`]:r[`--v-gray-200`],f;t[5]===d?f=t[6]:(f={borderRadius:0,padding:Mt,minWidth:`auto`,background:d},t[5]=d,t[6]=f);let p;t[7]===a?p=t[8]:(p=()=>{l.withoutCSSTransitions(()=>{a.setTheme(`auto`)})},t[7]=a,t[8]=p);let m=a.themePreference===`auto`?`solid`:`outlined`,h;t[9]===m?h=t[10]:(h=q(Pt,{name:`auto`,variant:m,size:12}),t[9]=m,t[10]=h);let g;t[11]!==f||t[12]!==p||t[13]!==h?(g=q(E,{style:f,onClick:p,children:h}),t[11]=f,t[12]=p,t[13]=h,t[14]=g):g=t[14];let _;t[15]!==c||t[16]!==g?(_=q(P,{title:c,children:g}),t[15]=c,t[16]=g,t[17]=_):_=t[17];let v;t[18]===i?v=t[19]:(v=i(`component.theme_toggle.light_mode`),t[18]=i,t[19]=v);let y=a.themePreference===`light`?r[`--v-gray-100`]:r[`--v-gray-200`],b;t[20]===y?b=t[21]:(b={borderRadius:0,padding:Mt,minWidth:`auto`,background:y},t[20]=y,t[21]=b);let x;t[22]===a?x=t[23]:(x=()=>{l.withoutCSSTransitions(()=>{a.setTheme(`light`)})},t[22]=a,t[23]=x);let ee=a.themePreference===`light`?`solid`:`outlined`,S;t[24]===ee?S=t[25]:(S=q(Pt,{name:`lightmode`,variant:ee,size:12}),t[24]=ee,t[25]=S);let C;t[26]!==b||t[27]!==x||t[28]!==S?(C=q(E,{style:b,onClick:x,children:S}),t[26]=b,t[27]=x,t[28]=S,t[29]=C):C=t[29];let w;t[30]!==v||t[31]!==C?(w=q(P,{title:v,children:C}),t[30]=v,t[31]=C,t[32]=w):w=t[32];let T;t[33]===i?T=t[34]:(T=i(`component.theme_toggle.dark_mode`),t[33]=i,t[34]=T);let D=a.themePreference===`dark`?r[`--v-gray-100`]:r[`--v-gray-200`],O;t[35]===D?O=t[36]:(O={borderRadius:0,padding:Mt,minWidth:`auto`,background:D},t[35]=D,t[36]=O);let k;t[37]===a?k=t[38]:(k=()=>{l.withoutCSSTransitions(()=>{a.setTheme(`dark`)})},t[37]=a,t[38]=k);let A=a.themePreference===`dark`?`solid`:`outlined`,j;t[39]===A?j=t[40]:(j=q(Pt,{name:`darkmode`,variant:A,size:12}),t[39]=A,t[40]=j);let M;t[41]!==O||t[42]!==k||t[43]!==j?(M=q(E,{style:O,onClick:k,children:j}),t[41]=O,t[42]=k,t[43]=j,t[44]=M):M=t[44];let N;t[45]!==T||t[46]!==M?(N=q(P,{title:T,children:M}),t[45]=T,t[46]=M,t[47]=N):N=t[47];let F;t[48]!==w||t[49]!==N||t[50]!==_?(F=q(`div`,{children:J(ye,{style:s,children:[_,w,N]})}),t[48]=w,t[49]=N,t[50]=_,t[51]=F):F=t[51];let I;return t[52]!==o||t[53]!==F?(I=q(`div`,{style:o,children:F}),t[52]=o,t[53]=F,t[54]=I):I=t[54],I}function It(e){let t=u(5),n=e.active&&e.orderDir===`asc`?`rotate(180deg)`:void 0,i=e.active?r[`--v-gray-200`]:void 0,a=e.active?r[`--v-gray-800`]:void 0,o=e.active?1:.25,s;return t[0]!==n||t[1]!==i||t[2]!==a||t[3]!==o?(s=q(p,{style:{width:20,marginLeft:8,transform:n,padding:2,borderRadius:3,background:i,color:a,opacity:o}}),t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s):s=t[4],s}function Lt(e){let t=u(24),{t:n}=He(),r=e.column.accessor,i=e.sorting!==void 0&&e.column.sortable,a;t[0]!==i||t[1]!==n?(a=i?n(`component.table.sort_header`):void 0,t[0]=i,t[1]=n,t[2]=a):a=t[2];let o;t[3]!==r||t[4]!==e.column.sortable||t[5]!==e.sorting?(o=()=>{if(!(!e.sorting||!e.column.sortable)){if(e.sorting.orderBy!==r){e.sorting.onOrderByChange({orderBy:r,orderDir:`asc`});return}e.sorting.orderDir===`asc`?e.sorting.onOrderByChange({orderBy:r,orderDir:`desc`}):e.sorting.orderDir===`desc`&&e.sorting.onOrderByChange({orderBy:null,orderDir:null})}},t[3]=r,t[4]=e.column.sortable,t[5]=e.sorting,t[6]=o):o=t[6];let s=i?`pointer`:void 0,c;t[7]===s?c=t[8]:(c={cursor:s,display:`flex`,alignItems:`center`,gap:4},t[7]=s,t[8]=c);let l;t[9]!==r||t[10]!==i||t[11]!==e.sorting?(l=i&&q(It,{active:e.sorting?.orderBy===r,...e.sorting?.orderDir?{orderDir:e.sorting.orderDir}:{}}),t[9]=r,t[10]=i,t[11]=e.sorting,t[12]=l):l=t[12];let d;t[13]!==e.column.label||t[14]!==c||t[15]!==l?(d=J(`div`,{style:c,children:[e.column.label,l]}),t[13]=e.column.label,t[14]=c,t[15]=l,t[16]=d):d=t[16];let f;t[17]!==o||t[18]!==d?(f=q(A,{onClick:o,children:d}),t[17]=o,t[18]=d,t[19]=f):f=t[19];let p;return t[20]!==e.column.accessor||t[21]!==a||t[22]!==f?(p=q(P,{title:a,placement:`top`,children:f},e.column.accessor),t[20]=e.column.accessor,t[21]=a,t[22]=f,t[23]=p):p=t[23],p}function Rt(e){let t=u(4),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,color:r[`--v-gray-400`]},t[0]=n):n=t[0];let i;return t[1]!==e.content.noDataText||t[2]!==e.content.noDataWithSearch?(i=q(`span`,{style:n,children:e.content.noDataWithSearch?.debouncedSearch?J(K,{children:[e.content.noDataWithSearch.noDataWithSearchText,q(E,{variant:`contained`,color:`secondary`,style:{marginTop:24},onClick:e.content.noDataWithSearch.onClearSearch,children:e.content.noDataWithSearch.noDataWithSearchButtonText})]}):J(K,{children:[q(C,{style:{width:40,marginBottom:24,opacity:.25,color:r[`--v-gray-1000`]}}),e.content.noDataText]})}),t[1]=e.content.noDataText,t[2]=e.content.noDataWithSearch,t[3]=i):i=t[3],i}function zt(e){let t=u(18),n;t[0]===e.noDataContent?n=t[1]:(n=q(Rt,{content:e.noDataContent}),t[0]=e.noDataContent,t[1]=n);let r=n;if(e.rows.length>0){let n;t[14]===e?n=t[15]:(n=e.rows.map((t,n)=>q(M,{hover:!!e.onRowClick,onClick:e.onRowClick?()=>e.onRowClick?.(t):void 0,style:{cursor:e.onRowClick?`pointer`:void 0},children:e.columns.map(e=>q(A,{children:t[e.accessor]},e.accessor))},n)),t[14]=e,t[15]=n);let r;return t[16]===n?r=t[17]:(r=q(K,{children:n}),t[16]=n,t[17]=r),r}else{let n=!!e.onRowClick,i=e.columns.length||1,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a={display:`flex`,justifyContent:`center`,padding:`32px 0`},t[2]=a):a=t[2];let o;t[3]!==r||t[4]!==e.loading?(o=!e.loading&&q(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`},children:r}),t[3]=r,t[4]=e.loading,t[5]=o):o=t[5];let s;t[6]===o?s=t[7]:(s=q(`div`,{style:a,children:o}),t[6]=o,t[7]=s);let c;t[8]!==i||t[9]!==s?(c=q(A,{colSpan:i,children:s}),t[8]=i,t[9]=s,t[10]=c):c=t[10];let l;return t[11]!==n||t[12]!==c?(l=q(M,{hover:n,children:c}),t[11]=n,t[12]=c,t[13]=l):l=t[13],l}}const Bt=function(e){let t=W(null),n=W(null),i=W(null),[a,s]=V.useState(!1);function l(){if(t.current&&n.current&&i.current)if(t.current.getBoundingClientRect().top<=0){n.current.style.top=`0px`,n.current.scrollLeft=i.current.parentElement?.scrollLeft||0,n.current.style.width=`${i.current.parentElement?.clientWidth||0}px`;let e=n.current.querySelectorAll(`th`);t.current.querySelectorAll(`th`).forEach((t,n)=>{e[n]&&(e[n].style.width=`${t.clientWidth}px`,e[n].style.minWidth=`${t.clientWidth}px`)}),i.current.parentElement!==null&&(n.current.scrollLeft=i.current.parentElement.scrollLeft),s(!0)}else s(!1)}let u=c();ae(()=>{setTimeout(()=>{l()})},[u.width,u.height]),o({element:document,onScroll:()=>{l()}}),o({element:i.current?.parentElement,onScroll:()=>{i.current?.parentElement&&n.current&&(n.current.scrollLeft=i.current.parentElement.scrollLeft)}});let d=e.superHeader?q(M,{children:q(A,{colSpan:e.columns.length||1,style:{padding:`8px 16px`,color:`var(--v-gray-900)`,fontSize:12},children:q(`div`,{style:{padding:`8px 0`,fontSize:13,lineHeight:1.4,whiteSpace:`normal`,overflowWrap:`anywhere`,wordBreak:`break-word`},children:e.superHeader})},`count`)}):null,f=e.banner?q(M,{children:q(A,{colSpan:e.columns.length||1,style:{padding:`8px 16px`,fontWeight:500},children:q(`div`,{style:{padding:`8px 0`,color:e.banner.color,fontSize:13,lineHeight:1.4,whiteSpace:`normal`,overflowWrap:`anywhere`,wordBreak:`break-word`,fontWeight:500},children:e.banner.message})})}):null;return J(`div`,{style:{position:`relative`,overflowX:e.loading?`hidden`:`auto`},children:[J(O,{"aria-label":e[`aria-label`],ref:i,children:[J(j,{style:{width:`100%`},ref:t,children:[d,q(M,{children:e.columns.map(t=>q(Lt,{column:t,sorting:e.sorting},t.accessor))}),f]}),J(j,{style:{zIndex:90,display:a?void 0:`none`,position:`fixed`,overflow:`hidden`},ref:n,children:[d,q(M,{children:e.columns.map(t=>e.sorting?q(Lt,{column:t,sorting:e.sorting},t.accessor):q(A,{children:t.label},t.accessor))}),f]}),q(k,{children:q(zt,{...e})})]}),e.loading&&J(K,{children:[q(dt,{style:{position:`absolute`,inset:0,opacity:.5,zIndex:91},type:{name:`square`}}),q(`div`,{style:{position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,opacity:.5,background:r[`--v-gray-200`],zIndex:89}})]})]})};export{ge as VAlert,_e as VCard,Ke as VChip,$e as VCode,tt as VErrorBox,ye as VFlex,nt as VGrid,dt as VLoading,jt as VLogo,Ot as VLogoSources,Bt as VTable,Ye as VText,Re as VTheme,Ft as VThemeToggle,Be as VToast,at as createVIntl,ze as showVToast,Le as useVThemeContext};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@voidly-io/design-system",
3
3
  "type": "module",
4
- "version": "1.0.57",
4
+ "version": "1.0.58",
5
5
  "description": "",
6
6
  "license": "Private",
7
7
  "engines": {