@refy-design/mobile 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -21
- package/NOTICE +32 -0
- package/dist/index.js +1526 -761
- package/dist/types/_contracts/brand-logo.d.ts +4 -0
- package/dist/types/_contracts/content.d.ts +4 -0
- package/dist/types/_contracts/display.d.ts +159 -0
- package/dist/types/_contracts/index.d.ts +2 -0
- package/dist/types/_contracts/media-links.d.ts +99 -0
- package/dist/types/_tokens/index.d.ts +1 -0
- package/dist/types/components/Agenda.d.ts +7 -0
- package/dist/types/components/AudioPlayer.d.ts +26 -0
- package/dist/types/components/BrandLogo.d.ts +1 -1
- package/dist/types/components/Citation.d.ts +6 -0
- package/dist/types/components/ComparisonTable.d.ts +10 -0
- package/dist/types/components/EntityCard.d.ts +7 -0
- package/dist/types/components/FollowUp.d.ts +7 -0
- package/dist/types/components/ImageGallery.d.ts +7 -0
- package/dist/types/components/KeyValueList.d.ts +7 -0
- package/dist/types/components/LinkCard.d.ts +12 -0
- package/dist/types/components/PlanCard.d.ts +1 -1
- package/dist/types/components/Quote.d.ts +7 -0
- package/dist/types/components/Rating.d.ts +7 -0
- package/dist/types/components/Video.d.ts +13 -0
- package/dist/types/components/agendaDays.d.ts +19 -0
- package/dist/types/components/domain.d.ts +2 -0
- package/dist/types/components/videoSource.d.ts +19 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/messages/en.d.ts +642 -0
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -126,8 +126,8 @@ function themeOverlay(base, theme, mode) {
|
|
|
126
126
|
|
|
127
127
|
// .build/src/_tokens/index.js
|
|
128
128
|
var modes = ["light", "dark", "editorial"];
|
|
129
|
-
var raw = { "light": { "--font-brand": "Manrope, system-ui, sans-serif", "--font-heading": "Manrope, system-ui, sans-serif", "--font-headline": "Manrope, system-ui, sans-serif", "--font-body": '"Source Sans 3", system-ui, sans-serif', "--font-mono": '"Source Code Pro", ui-monospace, monospace', "--text-display": "52px", "--text-h1": "42px", "--text-h2": "34px", "--text-h3": "30px", "--text-h4": "20px", "--text-h5": "17px", "--text-base": "14px", "--text-sm": "13px", "--text-xs": "12px", "--text-2xs": "11px", "--text-eyebrow": "11px", "--tracking-normal": "0", "--leading-tight": "1.06", "--leading-snug": "1.4", "--leading-normal": "1.55", "--weight-regular": "400", "--weight-medium": "500", "--weight-semi": "600", "--weight-bold": "700", "--type-display-hero-size": "64px", "--type-display-hero-line": "72px", "--type-display-large-size": "56px", "--type-display-large-line": "64px", "--type-h1-size": "48px", "--type-h1-line": "56px", "--type-h2-size": "36px", "--type-h2-line": "44px", "--type-h3-size": "28px", "--type-h3-line": "36px", "--type-h4-size": "24px", "--type-h4-line": "32px", "--type-h5-size": "20px", "--type-h5-line": "28px", "--type-metric-large-size": "32px", "--type-metric-large-line": "40px", "--type-body-lead-size": "20px", "--type-body-lead-line": "30px", "--type-body-large-size": "18px", "--type-body-large-line": "28px", "--type-body-medium-size": "16px", "--type-body-medium-line": "24px", "--type-body-small-size": "14px", "--type-body-small-line": "20px", "--type-body-xsmall-size": "12px", "--type-body-xsmall-line": "18px", "--type-navigation-size": "14px", "--type-navigation-line": "20px", "--type-label-large-size": "16px", "--type-label-large-line": "20px", "--type-label-medium-size": "14px", "--type-label-medium-line": "18px", "--type-label-small-size": "12px", "--type-label-small-line": "16px", "--type-input-size": "16px", "--type-input-line": "24px", "--type-helper-size": "12px", "--type-helper-line": "16px", "--type-code-size": "13px", "--type-code-line": "20px", "--brand-wordmark-scale": "0.72", "--brand-lockup-gap-scale": "0.25", "--brand-divider-height-scale": "0.72", "--brand-divider-gap-scale": "0.2", "--brand-clear-space-scale": "0.5", "--brand-icon-site-16": "16px", "--brand-icon-site-32": "32px", "--brand-icon-site-48": "48px", "--brand-icon-site-64": "64px", "--brand-icon-site-96": "96px", "--brand-icon-site-128": "128px", "--brand-icon-mobile-120": "120px", "--brand-icon-mobile-152": "152px", "--brand-icon-mobile-167": "167px", "--brand-icon-mobile-180": "180px", "--brand-icon-mobile-192": "192px", "--brand-icon-mobile-512": "512px", "--brand-pride-red": "#e62418", "--brand-pride-orange": "#ff7a00", "--brand-pride-yellow": "#ffd400", "--brand-pride-green": "#008a3d", "--brand-pride-blue": "#0057b8", "--brand-pride-purple": "#7a1fa2", "--brand-pride-pink": "#f43f7a", "--brand-trans-blue": "#6ec6ea", "--brand-trans-pink": "#f7a8b8", "--brand-trans-white": "#fff8f5", "--brand-copa-yellow": "#f7d117", "--brand-copa-green": "#169b45", "--brand-copa-blue": "#0057b8", "--radius-xs": "0.125rem", "--radius-sm": "0.25rem", "--radius-md": "0.5rem", "--radius-lg": "0.75rem", "--radius-xl": "1rem", "--radius-pill": "9999px", "--space-1": "4px", "--space-2": "8px", "--space-3": "12px", "--space-4": "16px", "--space-5": "20px", "--space-6": "24px", "--space-8": "32px", "--space-10": "40px", "--space-12": "48px", "--space-16": "64px", "--space-20": "80px", "--space-24": "96px", "--sidebar-width-expanded": "248px", "--sidebar-width-rail": "72px", "--sidebar-width-compact": "56px", "--duration-progress": "650ms", "--z-dropdown": "1000", "--z-sticky": "1010", "--z-overlay": "1100", "--z-modal": "1200", "--z-popover": "1300", "--z-toast": "1400", "--z-tooltip": "1500", "--brand-primary": "#4edea3", "--brand-primary-container": "#10b981", "--brand-inverse-primary": "#006c49", "--brand-on-primary": "#003824", "--brand-on-primary-container": "#00422b", "--legacy-white": "#ffffff", "--legacy-line": "#d4d4d8", "--legacy-line-strong": "#b5b3b8", "--legacy-line-subtle": "#e8e8ea", "--legacy-line-faint": "#ececee", "--legacy-neutral-soft": "#f1f1f3", "--legacy-surface-hover": "#fafafa", "--legacy-surface-muted": "#f4f4f5", "--legacy-info-soft": "#dbeafe", "--legacy-warn-ink": "#92400e", "--legacy-danger-ink": "#b91c1c", "--legacy-ink-1": "#0e0e10", "--legacy-ink-2": "#3e3e44", "--legacy-ink-3": "#77767c", "--legacy-black": "#000000", "--legacy-danger-line": "#f1d6d4", "--legacy-danger-line-hover": "#ec9b96", "--legacy-brand-soft": "#ecfdf5", "--space-7": "28px", "--leading-relaxed": "1.65", "--radius-default": "7px", "--motion-feedback-duration": "120ms", "--motion-context-duration": "180ms", "--motion-context-exit-duration": "140ms", "--motion-orientation-duration": "260ms", "--motion-orientation-exit-duration": "200ms", "--motion-page-duration": "300ms", "--motion-context-x": "0px", "--motion-context-y": "6px", "--motion-pressed-scale": "0.97", "--motion-reduced": "0", "--motion-ease-enter": "cubic-bezier(0.2, 0.8, 0.2, 1)", "--motion-ease-exit": "cubic-bezier(0.4, 0, 1, 1)", "--tracking-display": "-0.03em", "--tracking-brand": "-0.035em", "--tracking-heading": "-0.02em", "--tracking-breadcrumb": "0.02em", "--tracking-h3": "-0.04em", "--tracking-eyebrow": "0.12em", "--tracking-uppercase": "0.16em", "--font-weight-regular": "var(--weight-regular)", "--font-weight-medium": "var(--weight-medium)", "--font-weight-semibold": "var(--weight-semi)", "--font-weight-bold": "var(--weight-bold)", "--brand-logo-symbol": "var(--brand-primary-container)", "--brand-logo-wordmark": "var(--ink-1)", "--brand-logo-mono": "var(--ink-1)", "--brand-logo-inverse": "var(--legacy-white)", "--brand-logo-orange": "var(--brand-primary-container)", "--brand-logo-line-theme": "var(--brand-logo-symbol)", "--brand-logo-line-black": "var(--brand-logo-mono)", "--brand-logo-line-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-start": "var(--primary-fixed)", "--brand-logo-solid-theme-end": "var(--brand-inverse-primary)", "--brand-logo-solid-wordmark": "var(--brand-logo-wordmark)", "--brand-logo-solid-black": "var(--brand-logo-mono)", "--brand-logo-solid-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme-bg": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-black-bg": "var(--brand-logo-mono)", "--brand-logo-solid-black-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-bg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-fg": "var(--brand-logo-mono)", "--elev-0": "none", "--elev-1": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)", "--elev-2": "0 2px 4px rgba(14, 14, 16, 0.04), 0 8px 24px rgba(14, 14, 16, 0.06)", "--elev-3": "0 4px 8px rgba(14, 14, 16, 0.05), 0 16px 36px rgba(14, 14, 16, 0.08)", "--elev-4": "0 8px 16px rgba(14, 14, 16, 0.06), 0 24px 56px rgba(14, 14, 16, 0.10)", "--elev-5": "0 16px 32px rgba(14, 14, 16, 0.08), 0 36px 80px rgba(14, 14, 16, 0.14)", "--elev-d-1": "0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 1px 2px rgba(0, 0, 0, 0.4)", "--elev-d-2": "0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 6px 16px rgba(0, 0, 0, 0.5)", "--elev-d-3": "0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px rgba(0, 0, 0, 0.55)", "--elev-d-4": "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 64px rgba(0, 0, 0, 0.6)", "--brand-gradient": "linear-gradient(135deg, var(--brand-primary-container), var(--brand-inverse-primary))", "--brand-glow": "0 0 8px rgba(16, 185, 129, 0.5)", "--legacy-button-shadow": "0 1px 0 rgba(0, 0, 0, 0.04)", "--legacy-critical-ring": "0 0 0 3px rgba(220, 38, 38, 0.14)", "--legacy-switch-shadow": "0 1px 3px rgba(0, 0, 0, 0.15)", "--legacy-ring": "rgba(16, 185, 129, 0.3)", "--legacy-brand-soft-hover": "rgba(16, 185, 129, 0.16)", "--legacy-brand-tint": "rgba(16, 185, 129, 0.14)", "--legacy-modal-scrim": "rgba(14, 14, 16, 0.55)", "--brand-soft": "var(--legacy-brand-soft)", "--duration-base": "var(--duration-mid)", "--duration-normal": "var(--duration-mid)", "--text-md": "var(--text-base)", "--brand": "var(--primary)", "--danger": "var(--critical)", "--shadow-1": "var(--elev-1)", "--shadow-2": "var(--elev-2)", "--focus-ring": "var(--shadow-focus-ring)", "--line-strong": "var(--outline)", "--weight-semibold": "var(--weight-semi)", "--control-border-width": "1px", "--control-border-style": "solid", "--control-radius": "var(--radius-default)", "--button-radius": "var(--control-radius)", "--button-border-width": "var(--control-border-width)", "--button-primary-background": "var(--primary)", "--button-primary-background-hover": "var(--primary-hover)", "--button-primary-background-active": "var(--primary-container)", "--button-primary-foreground": "var(--on-primary)", "--button-primary-foreground-hover": "var(--on-primary)", "--button-primary-foreground-active": "var(--on-primary-container)", "--button-primary-border": "transparent", "--button-primary-shadow": "var(--legacy-button-shadow)", "--button-secondary-background": "var(--surface)", "--button-secondary-background-hover": "var(--surface-2)", "--button-secondary-background-active": "color-mix(in srgb, var(--ink-1) 8%, var(--surface))", "--button-secondary-foreground": "var(--ink-1)", "--button-secondary-border": "var(--legacy-line)", "--button-secondary-border-hover": "var(--legacy-line-strong)", "--button-ghost-background": "transparent", "--button-ghost-background-hover": "var(--surface-2)", "--button-ghost-background-active": "color-mix(in srgb, var(--ink-1) 10%, transparent)", "--button-ghost-foreground": "var(--ink-2)", "--button-ghost-foreground-hover": "var(--ink-1)", "--button-danger-background": "var(--surface)", "--button-danger-background-hover": "var(--critical-soft)", "--button-danger-background-active": "color-mix(in srgb, var(--critical) 16%, var(--surface))", "--button-danger-foreground": "var(--critical)", "--button-danger-border": "var(--legacy-danger-line)", "--button-danger-border-hover": "var(--legacy-danger-line-hover)", "--field-border-width": "var(--control-border-width)", "--field-radius": "var(--control-radius)", "--field-background": "var(--surface)", "--field-shadow": "none", "--field-padding-inline": "12px", "--card-border-width": "var(--surface-border-width)", "--card-radius": "var(--radius-lg-token)", "--card-background": "var(--surface)", "--card-padding": "var(--space-5)", "--dialog-surface": "var(--surface)", "--dialog-border-width": "0px", "--dialog-border-color": "var(--line)", "--dialog-shadow": "var(--elev-5)", "--drawer-width": "320px", "--drawer-radius": "var(--radius-xl)", "--radius-lg-token": "var(--radius-md)", "--radius-xl-token": "var(--radius-lg)", "--radius-full-token": "var(--radius-pill)", "--surface-border-width": "1px", "--avatar-radius": "var(--radius-pill)", "--avatar-square-radius": "var(--radius-md)", "--control-group-radius": "var(--control-radius)", "--chip-radius": "var(--radius-pill)", "--dialog-radius": "var(--radius-xl)", "--checkbox-radius": "var(--radius-sm)", "--button-height-md": "34px", "--button-height-sm": "28px", "--field-height": "38px", "--field-border": "var(--outline)", "--field-label-font": "var(--font-mono)", "--interface-detail-font": "var(--font-mono)", "--field-label-transform": "uppercase", "--field-label-tracking": "0.14em", "--field-label-size": "var(--text-eyebrow)", "--navigation-link-radius": "var(--radius-md)", "--timeline-line": "var(--outline)", "--chart-primary": "oklch(0.54615 0.21521 262.881)", "--avatar-text": "var(--legacy-white)", "--chart-secondary": "oklch(0.56424 0.15410 41.861)", "--duration-instant": "var(--motion-feedback-duration)", "--duration-fast": "var(--motion-feedback-duration)", "--duration-mid": "var(--motion-context-duration)", "--duration-slow": "var(--motion-orientation-duration)", "--ease-out": "var(--motion-ease-enter)", "--ease-in": "var(--motion-ease-exit)", "--ease-emph": "var(--motion-ease-enter)", "--ease-spring": "var(--motion-ease-enter)", "--chart-tertiary": "oklch(0.57516 0.13034 63.772)", "--chart-quaternary": "oklch(0.54877 0.19892 358.788)", "--chart-quinary": "oklch(0.54134 0.24659 293.009)", "--chart-senary": "oklch(0.53613 0.09422 182.377)", "--chart-septenary": "oklch(0.45678 0.21458 277.023)", "--chart-octonary": "oklch(0.54919 0.09850 220.166)", "--auth-control-bg": "#fff", "--auth-control-text": "#1f1f1f", "--auth-control-border": "#747775", "--auth-control-hover": "#f8faff", "--auth-control-active": "#f0f4f9", "--bg": "#ffffff", "--surface": "#ffffff", "--surface-container-high": "#eceeef", "--surface-container-highest": "#e1e5e3", "--inverse-surface": "#202525", "--inverse-on-surface": "#f2f5f3", "--outline": "#707973", "--primary": "#087f5b", "--primary-container": "#054f39", "--primary-fixed": "#6ffbbe", "--primary-fixed-dim": "#4edea3", "--on-primary": "#ffffff", "--on-primary-container": "#ffffff", "--inverse-primary": "#4edea3", "--secondary": "#41556b", "--secondary-container": "#d4e4fa", "--secondary-fixed": "#d4e4fa", "--secondary-fixed-dim": "#b9c8de", "--on-secondary": "#ffffff", "--on-secondary-container": "#233143", "--tertiary": "#a23238", "--tertiary-container": "#ffdad7", "--tertiary-fixed": "#ffdad7", "--tertiary-fixed-dim": "#ffb3af", "--on-tertiary": "#ffffff", "--on-tertiary-container": "#650911", "--surface-2": "#f7f7f7", "--ink-1": "#0e0e10", "--ink-2": "#3e3e44", "--ink-3": "#68676d", "--ink-4": "#6f6d74", "--line": "#d9dedd", "--line-soft": "#e8ebea", "--critical": "#dc2626", "--weak": "#f59e0b", "--ok": "#84cc16", "--good": "#087f5b", "--info": "#0a66c4", "--primary-hover": "#066649", "--primary-soft": "#e7f8f0", "--primary-ink": "#065f46", "--critical-soft": "#fee7e5", "--weak-soft": "#fef3cc", "--ok-soft": "#ecfbca", "--good-soft": "#dcfce7", "--info-soft": "#dbeafe", "--on-critical": "#ffffff", "--critical-ink": "#991b1b", "--on-weak": "#3a2400", "--weak-ink": "#92400e", "--on-ok": "#1f2e02", "--ok-ink": "#3f6212", "--on-good": "#ffffff", "--good-ink": "#065f46", "--on-info": "#ffffff", "--info-ink": "#0a66c4", "--code-syntax-comment": "#586477", "--code-syntax-keyword": "#8541a1", "--code-syntax-string": "#17643c", "--code-syntax-number": "#8c471c", "--code-syntax-tag": "#164fa1", "--code-syntax-function": "#95501f", "--code-syntax-property": "#9b2942", "--code-syntax-punctuation": "#495568", "--surface-dim": "var(--bg)", "--surface-bright": "var(--surface)", "--surface-tint": "var(--primary)", "--surface-container-lowest": "var(--surface)", "--surface-container-low": "var(--surface-2)", "--surface-container": "var(--surface-2)", "--surface-variant": "var(--surface-container-highest)", "--on-surface": "var(--ink-1)", "--on-background": "var(--ink-1)", "--on-surface-variant": "var(--ink-3)", "--outline-variant": "var(--line)", "--error": "var(--critical)", "--error-container": "var(--critical-soft)", "--on-error": "var(--on-critical)", "--on-error-container": "var(--critical-ink)", "--border": "var(--line)", "--border-soft": "var(--line-soft)", "--shadow-card-dark": "var(--shadow-card-light)", "--shadow-glow-soft": "0 0 15px rgba(16, 185, 129, 0.10)", "--shadow-glow-hover": "0 0 25px rgba(16, 185, 129, 0.20)", "--shadow-glow-pulse": "0 0 18px rgba(16, 185, 129, 0.45)", "--shadow-focus-ring": "0 0 0 3px color-mix(in srgb, var(--primary) 24%, transparent)", "--shadow-focus-ring-soft": "0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent)", "--shadow-card-light": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)" }, "dark": { "--font-brand": "Manrope, system-ui, sans-serif", "--font-heading": "Manrope, system-ui, sans-serif", "--font-headline": "Manrope, system-ui, sans-serif", "--font-body": '"Source Sans 3", system-ui, sans-serif', "--font-mono": '"Source Code Pro", ui-monospace, monospace', "--text-display": "52px", "--text-h1": "42px", "--text-h2": "34px", "--text-h3": "30px", "--text-h4": "20px", "--text-h5": "17px", "--text-base": "14px", "--text-sm": "13px", "--text-xs": "12px", "--text-2xs": "11px", "--text-eyebrow": "11px", "--tracking-normal": "0", "--leading-tight": "1.06", "--leading-snug": "1.4", "--leading-normal": "1.55", "--weight-regular": "400", "--weight-medium": "500", "--weight-semi": "600", "--weight-bold": "700", "--type-display-hero-size": "64px", "--type-display-hero-line": "72px", "--type-display-large-size": "56px", "--type-display-large-line": "64px", "--type-h1-size": "48px", "--type-h1-line": "56px", "--type-h2-size": "36px", "--type-h2-line": "44px", "--type-h3-size": "28px", "--type-h3-line": "36px", "--type-h4-size": "24px", "--type-h4-line": "32px", "--type-h5-size": "20px", "--type-h5-line": "28px", "--type-metric-large-size": "32px", "--type-metric-large-line": "40px", "--type-body-lead-size": "20px", "--type-body-lead-line": "30px", "--type-body-large-size": "18px", "--type-body-large-line": "28px", "--type-body-medium-size": "16px", "--type-body-medium-line": "24px", "--type-body-small-size": "14px", "--type-body-small-line": "20px", "--type-body-xsmall-size": "12px", "--type-body-xsmall-line": "18px", "--type-navigation-size": "14px", "--type-navigation-line": "20px", "--type-label-large-size": "16px", "--type-label-large-line": "20px", "--type-label-medium-size": "14px", "--type-label-medium-line": "18px", "--type-label-small-size": "12px", "--type-label-small-line": "16px", "--type-input-size": "16px", "--type-input-line": "24px", "--type-helper-size": "12px", "--type-helper-line": "16px", "--type-code-size": "13px", "--type-code-line": "20px", "--brand-wordmark-scale": "0.72", "--brand-lockup-gap-scale": "0.25", "--brand-divider-height-scale": "0.72", "--brand-divider-gap-scale": "0.2", "--brand-clear-space-scale": "0.5", "--brand-icon-site-16": "16px", "--brand-icon-site-32": "32px", "--brand-icon-site-48": "48px", "--brand-icon-site-64": "64px", "--brand-icon-site-96": "96px", "--brand-icon-site-128": "128px", "--brand-icon-mobile-120": "120px", "--brand-icon-mobile-152": "152px", "--brand-icon-mobile-167": "167px", "--brand-icon-mobile-180": "180px", "--brand-icon-mobile-192": "192px", "--brand-icon-mobile-512": "512px", "--brand-pride-red": "#e62418", "--brand-pride-orange": "#ff7a00", "--brand-pride-yellow": "#ffd400", "--brand-pride-green": "#008a3d", "--brand-pride-blue": "#0057b8", "--brand-pride-purple": "#7a1fa2", "--brand-pride-pink": "#f43f7a", "--brand-trans-blue": "#6ec6ea", "--brand-trans-pink": "#f7a8b8", "--brand-trans-white": "#fff8f5", "--brand-copa-yellow": "#f7d117", "--brand-copa-green": "#169b45", "--brand-copa-blue": "#0057b8", "--radius-xs": "0.125rem", "--radius-sm": "0.25rem", "--radius-md": "0.5rem", "--radius-lg": "0.75rem", "--radius-xl": "1rem", "--radius-pill": "9999px", "--space-1": "4px", "--space-2": "8px", "--space-3": "12px", "--space-4": "16px", "--space-5": "20px", "--space-6": "24px", "--space-8": "32px", "--space-10": "40px", "--space-12": "48px", "--space-16": "64px", "--space-20": "80px", "--space-24": "96px", "--sidebar-width-expanded": "248px", "--sidebar-width-rail": "72px", "--sidebar-width-compact": "56px", "--duration-progress": "650ms", "--z-dropdown": "1000", "--z-sticky": "1010", "--z-overlay": "1100", "--z-modal": "1200", "--z-popover": "1300", "--z-toast": "1400", "--z-tooltip": "1500", "--brand-primary": "#4edea3", "--brand-primary-container": "#10b981", "--brand-inverse-primary": "#006c49", "--brand-on-primary": "#003824", "--brand-on-primary-container": "#00422b", "--legacy-white": "#ffffff", "--legacy-line": "var(--line)", "--legacy-line-strong": "var(--outline)", "--legacy-line-subtle": "var(--line-soft)", "--legacy-line-faint": "var(--line-soft)", "--legacy-neutral-soft": "var(--surface-2)", "--legacy-surface-hover": "var(--surface-container-high)", "--legacy-surface-muted": "var(--surface-container)", "--legacy-info-soft": "var(--info-soft)", "--legacy-warn-ink": "#92400e", "--legacy-danger-ink": "#b91c1c", "--legacy-ink-1": "#0e0e10", "--legacy-ink-2": "#3e3e44", "--legacy-ink-3": "#77767c", "--legacy-black": "#000000", "--legacy-danger-line": "var(--critical-soft)", "--legacy-danger-line-hover": "var(--critical-ink)", "--legacy-brand-soft": "var(--good-soft)", "--space-7": "28px", "--leading-relaxed": "1.65", "--radius-default": "7px", "--motion-feedback-duration": "120ms", "--motion-context-duration": "180ms", "--motion-context-exit-duration": "140ms", "--motion-orientation-duration": "260ms", "--motion-orientation-exit-duration": "200ms", "--motion-page-duration": "300ms", "--motion-context-x": "0px", "--motion-context-y": "6px", "--motion-pressed-scale": "0.97", "--motion-reduced": "0", "--motion-ease-enter": "cubic-bezier(0.2, 0.8, 0.2, 1)", "--motion-ease-exit": "cubic-bezier(0.4, 0, 1, 1)", "--tracking-display": "-0.03em", "--tracking-brand": "-0.035em", "--tracking-heading": "-0.02em", "--tracking-breadcrumb": "0.02em", "--tracking-h3": "-0.04em", "--tracking-eyebrow": "0.12em", "--tracking-uppercase": "0.16em", "--font-weight-regular": "var(--weight-regular)", "--font-weight-medium": "var(--weight-medium)", "--font-weight-semibold": "var(--weight-semi)", "--font-weight-bold": "var(--weight-bold)", "--brand-logo-symbol": "var(--brand-primary-container)", "--brand-logo-wordmark": "var(--ink-1)", "--brand-logo-mono": "var(--ink-1)", "--brand-logo-inverse": "var(--legacy-white)", "--brand-logo-orange": "var(--brand-primary-container)", "--brand-logo-line-theme": "var(--brand-logo-symbol)", "--brand-logo-line-black": "var(--brand-logo-mono)", "--brand-logo-line-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-start": "var(--primary-fixed)", "--brand-logo-solid-theme-end": "var(--brand-inverse-primary)", "--brand-logo-solid-wordmark": "var(--brand-logo-wordmark)", "--brand-logo-solid-black": "var(--brand-logo-mono)", "--brand-logo-solid-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme-bg": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-black-bg": "var(--brand-logo-mono)", "--brand-logo-solid-black-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-bg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-fg": "var(--brand-logo-mono)", "--elev-0": "none", "--elev-1": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)", "--elev-2": "0 2px 4px rgba(14, 14, 16, 0.04), 0 8px 24px rgba(14, 14, 16, 0.06)", "--elev-3": "0 4px 8px rgba(14, 14, 16, 0.05), 0 16px 36px rgba(14, 14, 16, 0.08)", "--elev-4": "0 8px 16px rgba(14, 14, 16, 0.06), 0 24px 56px rgba(14, 14, 16, 0.10)", "--elev-5": "0 16px 32px rgba(14, 14, 16, 0.08), 0 36px 80px rgba(14, 14, 16, 0.14)", "--elev-d-1": "0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 1px 2px rgba(0, 0, 0, 0.4)", "--elev-d-2": "0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 6px 16px rgba(0, 0, 0, 0.5)", "--elev-d-3": "0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px rgba(0, 0, 0, 0.55)", "--elev-d-4": "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 64px rgba(0, 0, 0, 0.6)", "--brand-gradient": "linear-gradient(135deg, var(--brand-primary-container), var(--brand-inverse-primary))", "--brand-glow": "0 0 8px rgba(16, 185, 129, 0.5)", "--legacy-button-shadow": "0 1px 0 rgba(0, 0, 0, 0.04)", "--legacy-critical-ring": "0 0 0 3px rgba(220, 38, 38, 0.14)", "--legacy-switch-shadow": "0 1px 3px rgba(0, 0, 0, 0.15)", "--legacy-ring": "rgba(16, 185, 129, 0.3)", "--legacy-brand-soft-hover": "rgba(16, 185, 129, 0.16)", "--legacy-brand-tint": "rgba(16, 185, 129, 0.14)", "--legacy-modal-scrim": "rgba(14, 14, 16, 0.55)", "--brand-soft": "var(--legacy-brand-soft)", "--duration-base": "var(--duration-mid)", "--duration-normal": "var(--duration-mid)", "--text-md": "var(--text-base)", "--brand": "var(--primary)", "--danger": "var(--critical)", "--shadow-1": "var(--elev-1)", "--shadow-2": "var(--elev-2)", "--focus-ring": "var(--shadow-focus-ring)", "--line-strong": "var(--outline)", "--weight-semibold": "var(--weight-semi)", "--control-border-width": "1px", "--control-border-style": "solid", "--control-radius": "var(--radius-default)", "--button-radius": "var(--control-radius)", "--button-border-width": "var(--control-border-width)", "--button-primary-background": "var(--primary)", "--button-primary-background-hover": "var(--primary-hover)", "--button-primary-background-active": "var(--primary-container)", "--button-primary-foreground": "var(--on-primary)", "--button-primary-foreground-hover": "var(--on-primary)", "--button-primary-foreground-active": "var(--on-primary-container)", "--button-primary-border": "transparent", "--button-primary-shadow": "var(--legacy-button-shadow)", "--button-secondary-background": "var(--surface)", "--button-secondary-background-hover": "var(--surface-2)", "--button-secondary-background-active": "color-mix(in srgb, var(--ink-1) 8%, var(--surface))", "--button-secondary-foreground": "var(--ink-1)", "--button-secondary-border": "var(--legacy-line)", "--button-secondary-border-hover": "var(--legacy-line-strong)", "--button-ghost-background": "transparent", "--button-ghost-background-hover": "var(--surface-2)", "--button-ghost-background-active": "color-mix(in srgb, var(--ink-1) 10%, transparent)", "--button-ghost-foreground": "var(--ink-2)", "--button-ghost-foreground-hover": "var(--ink-1)", "--button-danger-background": "var(--surface)", "--button-danger-background-hover": "var(--critical-soft)", "--button-danger-background-active": "color-mix(in srgb, var(--critical) 16%, var(--surface))", "--button-danger-foreground": "var(--critical)", "--button-danger-border": "var(--legacy-danger-line)", "--button-danger-border-hover": "var(--legacy-danger-line-hover)", "--field-border-width": "var(--control-border-width)", "--field-radius": "var(--control-radius)", "--field-background": "var(--surface)", "--field-shadow": "none", "--field-padding-inline": "12px", "--card-border-width": "var(--surface-border-width)", "--card-radius": "var(--radius-lg-token)", "--card-background": "var(--surface)", "--card-padding": "var(--space-5)", "--dialog-surface": "var(--surface)", "--dialog-border-width": "0px", "--dialog-border-color": "var(--line)", "--dialog-shadow": "var(--elev-5)", "--drawer-width": "320px", "--drawer-radius": "var(--radius-xl)", "--radius-lg-token": "var(--radius-md)", "--radius-xl-token": "var(--radius-lg)", "--radius-full-token": "var(--radius-pill)", "--surface-border-width": "1px", "--avatar-radius": "var(--radius-pill)", "--avatar-square-radius": "var(--radius-md)", "--control-group-radius": "var(--control-radius)", "--chip-radius": "var(--radius-pill)", "--dialog-radius": "var(--radius-xl)", "--checkbox-radius": "var(--radius-sm)", "--button-height-md": "34px", "--button-height-sm": "28px", "--field-height": "38px", "--field-border": "var(--outline)", "--field-label-font": "var(--font-mono)", "--interface-detail-font": "var(--font-mono)", "--field-label-transform": "uppercase", "--field-label-tracking": "0.14em", "--field-label-size": "var(--text-eyebrow)", "--navigation-link-radius": "var(--radius-md)", "--timeline-line": "var(--outline)", "--chart-primary": "oklch(0.71374 0.14338 254.624)", "--avatar-text": "var(--legacy-white)", "--chart-secondary": "oklch(0.75764 0.15904 55.934)", "--duration-instant": "var(--motion-feedback-duration)", "--duration-fast": "var(--motion-feedback-duration)", "--duration-mid": "var(--motion-context-duration)", "--duration-slow": "var(--motion-orientation-duration)", "--ease-out": "var(--motion-ease-enter)", "--ease-in": "var(--motion-ease-exit)", "--ease-emph": "var(--motion-ease-enter)", "--ease-spring": "var(--motion-ease-enter)", "--chart-tertiary": "oklch(0.83686 0.16442 84.429)", "--chart-quaternary": "oklch(0.72527 0.17523 349.761)", "--chart-quinary": "oklch(0.70897 0.15917 293.541)", "--chart-senary": "oklch(0.78452 0.13253 181.912)", "--chart-septenary": "oklch(0.78530 0.10413 274.713)", "--chart-octonary": "oklch(0.79712 0.13389 211.530)", "--auth-control-bg": "#fff", "--auth-control-text": "#1f1f1f", "--auth-control-border": "#747775", "--auth-control-hover": "#f8faff", "--auth-control-active": "#f0f4f9", "--bg": "#12161b", "--surface": "#1d242c", "--surface-dim": "#12161b", "--surface-bright": "#35404d", "--surface-tint": "#4edea3", "--surface-container-lowest": "#0d1116", "--surface-container-low": "#191f27", "--surface-container": "#252e38", "--surface-container-high": "#2e3844", "--surface-container-highest": "#394654", "--surface-variant": "#394654", "--on-surface": "#f2f5f8", "--on-background": "#e0e3e5", "--on-surface-variant": "#bbc8d4", "--inverse-surface": "#e0e3e5", "--inverse-on-surface": "#2d3133", "--outline": "#8897a6", "--outline-variant": "#566574", "--primary": "#087f5b", "--primary-container": "#054f39", "--primary-fixed": "#6ffbbe", "--primary-fixed-dim": "#4edea3", "--on-primary": "#ffffff", "--on-primary-container": "#ffffff", "--inverse-primary": "#006c49", "--secondary": "#b9c8de", "--secondary-container": "#39485a", "--secondary-fixed": "#d4e4fa", "--secondary-fixed-dim": "#b9c8de", "--on-secondary": "#233143", "--on-secondary-container": "#a7b6cc", "--tertiary": "#ffb3af", "--tertiary-container": "#fc7c78", "--tertiary-fixed": "#ffdad7", "--tertiary-fixed-dim": "#ffb3af", "--on-tertiary": "#650911", "--on-tertiary-container": "#711419", "--error": "#ffb4ab", "--error-container": "#93000a", "--on-error": "#690005", "--on-error-container": "#ffdad6", "--border-soft": "#43515f", "--ink-4": "#a1b1c1", "--primary-hover": "#066649", "--primary-soft": "#123c2d", "--primary-ink": "#6ffbbe", "--critical-soft": "#4b1714", "--weak-soft": "#443519", "--ok-soft": "#293f18", "--good-soft": "#123c2d", "--info-soft": "#20344c", "--on-critical": "#690005", "--critical-ink": "#ffb4ab", "--on-weak": "#392600", "--weak-ink": "#ffd58a", "--on-ok": "#1f2e02", "--ok-ink": "#b0db85", "--on-good": "#ffffff", "--good-ink": "#6ffbbe", "--on-info": "#162e49", "--info-ink": "#b9c8de", "--ink-2": "#c6d0da", "--ink-3": "#adbdcc", "--code-syntax-comment": "#a4afc1", "--code-syntax-keyword": "#d5a6f2", "--code-syntax-string": "#9bd6ad", "--code-syntax-number": "#efbc8a", "--code-syntax-tag": "#9ec8ff", "--code-syntax-function": "#f4c28f", "--code-syntax-property": "#f3a4b7", "--code-syntax-punctuation": "#c7d0de", "--border": "var(--line)", "--surface-2": "var(--surface-container)", "--ink-1": "var(--on-surface)", "--line": "var(--outline-variant)", "--line-soft": "var(--border-soft)", "--critical": "var(--error)", "--weak": "var(--tertiary-container)", "--ok": "var(--primary)", "--good": "#087f5b", "--info": "var(--secondary)", "--shadow-card-dark": "0 24px 64px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.03)", "--shadow-glow-soft": "0 0 15px rgba(16, 185, 129, 0.10)", "--shadow-glow-hover": "0 0 25px rgba(16, 185, 129, 0.20)", "--shadow-glow-pulse": "0 0 18px rgba(16, 185, 129, 0.45)", "--shadow-focus-ring": "0 0 0 3px color-mix(in srgb, var(--primary) 45%, transparent)", "--shadow-focus-ring-soft": "0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent)", "--shadow-card-light": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)" }, "editorial": { "--font-brand": "Manrope, system-ui, sans-serif", "--font-heading": "Manrope, system-ui, sans-serif", "--font-headline": "Manrope, system-ui, sans-serif", "--font-body": '"Source Sans 3", system-ui, sans-serif', "--font-mono": '"Source Code Pro", ui-monospace, monospace', "--text-display": "52px", "--text-h1": "42px", "--text-h2": "34px", "--text-h3": "30px", "--text-h4": "20px", "--text-h5": "17px", "--text-base": "14px", "--text-sm": "13px", "--text-xs": "12px", "--text-2xs": "11px", "--text-eyebrow": "11px", "--tracking-normal": "0", "--leading-tight": "1.06", "--leading-snug": "1.4", "--leading-normal": "1.55", "--weight-regular": "400", "--weight-medium": "500", "--weight-semi": "600", "--weight-bold": "700", "--type-display-hero-size": "64px", "--type-display-hero-line": "72px", "--type-display-large-size": "56px", "--type-display-large-line": "64px", "--type-h1-size": "48px", "--type-h1-line": "56px", "--type-h2-size": "36px", "--type-h2-line": "44px", "--type-h3-size": "28px", "--type-h3-line": "36px", "--type-h4-size": "24px", "--type-h4-line": "32px", "--type-h5-size": "20px", "--type-h5-line": "28px", "--type-metric-large-size": "32px", "--type-metric-large-line": "40px", "--type-body-lead-size": "20px", "--type-body-lead-line": "30px", "--type-body-large-size": "18px", "--type-body-large-line": "28px", "--type-body-medium-size": "16px", "--type-body-medium-line": "24px", "--type-body-small-size": "14px", "--type-body-small-line": "20px", "--type-body-xsmall-size": "12px", "--type-body-xsmall-line": "18px", "--type-navigation-size": "14px", "--type-navigation-line": "20px", "--type-label-large-size": "16px", "--type-label-large-line": "20px", "--type-label-medium-size": "14px", "--type-label-medium-line": "18px", "--type-label-small-size": "12px", "--type-label-small-line": "16px", "--type-input-size": "16px", "--type-input-line": "24px", "--type-helper-size": "12px", "--type-helper-line": "16px", "--type-code-size": "13px", "--type-code-line": "20px", "--brand-wordmark-scale": "0.72", "--brand-lockup-gap-scale": "0.25", "--brand-divider-height-scale": "0.72", "--brand-divider-gap-scale": "0.2", "--brand-clear-space-scale": "0.5", "--brand-icon-site-16": "16px", "--brand-icon-site-32": "32px", "--brand-icon-site-48": "48px", "--brand-icon-site-64": "64px", "--brand-icon-site-96": "96px", "--brand-icon-site-128": "128px", "--brand-icon-mobile-120": "120px", "--brand-icon-mobile-152": "152px", "--brand-icon-mobile-167": "167px", "--brand-icon-mobile-180": "180px", "--brand-icon-mobile-192": "192px", "--brand-icon-mobile-512": "512px", "--brand-pride-red": "#e62418", "--brand-pride-orange": "#ff7a00", "--brand-pride-yellow": "#ffd400", "--brand-pride-green": "#008a3d", "--brand-pride-blue": "#0057b8", "--brand-pride-purple": "#7a1fa2", "--brand-pride-pink": "#f43f7a", "--brand-trans-blue": "#6ec6ea", "--brand-trans-pink": "#f7a8b8", "--brand-trans-white": "#fff8f5", "--brand-copa-yellow": "#f7d117", "--brand-copa-green": "#169b45", "--brand-copa-blue": "#0057b8", "--radius-xs": "0.125rem", "--radius-sm": "0.25rem", "--radius-md": "0.5rem", "--radius-lg": "0.75rem", "--radius-xl": "1rem", "--radius-pill": "9999px", "--space-1": "4px", "--space-2": "8px", "--space-3": "12px", "--space-4": "16px", "--space-5": "20px", "--space-6": "24px", "--space-8": "32px", "--space-10": "40px", "--space-12": "48px", "--space-16": "64px", "--space-20": "80px", "--space-24": "96px", "--sidebar-width-expanded": "248px", "--sidebar-width-rail": "72px", "--sidebar-width-compact": "56px", "--duration-progress": "650ms", "--z-dropdown": "1000", "--z-sticky": "1010", "--z-overlay": "1100", "--z-modal": "1200", "--z-popover": "1300", "--z-toast": "1400", "--z-tooltip": "1500", "--brand-primary": "#4edea3", "--brand-primary-container": "#10b981", "--brand-inverse-primary": "#006c49", "--brand-on-primary": "#003824", "--brand-on-primary-container": "#00422b", "--legacy-white": "#ffffff", "--legacy-line": "#d4d4d8", "--legacy-line-strong": "#b5b3b8", "--legacy-line-subtle": "#e8e8ea", "--legacy-line-faint": "#ececee", "--legacy-neutral-soft": "#f1f1f3", "--legacy-surface-hover": "#fafafa", "--legacy-surface-muted": "#f4f4f5", "--legacy-info-soft": "#dbeafe", "--legacy-warn-ink": "#92400e", "--legacy-danger-ink": "#b91c1c", "--legacy-ink-1": "#0e0e10", "--legacy-ink-2": "#3e3e44", "--legacy-ink-3": "#77767c", "--legacy-black": "#000000", "--legacy-danger-line": "#f1d6d4", "--legacy-danger-line-hover": "#ec9b96", "--legacy-brand-soft": "#ecfdf5", "--space-7": "28px", "--leading-relaxed": "1.65", "--radius-default": "7px", "--motion-feedback-duration": "120ms", "--motion-context-duration": "180ms", "--motion-context-exit-duration": "140ms", "--motion-orientation-duration": "260ms", "--motion-orientation-exit-duration": "200ms", "--motion-page-duration": "300ms", "--motion-context-x": "0px", "--motion-context-y": "6px", "--motion-pressed-scale": "0.97", "--motion-reduced": "0", "--motion-ease-enter": "cubic-bezier(0.2, 0.8, 0.2, 1)", "--motion-ease-exit": "cubic-bezier(0.4, 0, 1, 1)", "--tracking-display": "-0.03em", "--tracking-brand": "-0.035em", "--tracking-heading": "-0.02em", "--tracking-breadcrumb": "0.02em", "--tracking-h3": "-0.04em", "--tracking-eyebrow": "0.12em", "--tracking-uppercase": "0.16em", "--font-weight-regular": "var(--weight-regular)", "--font-weight-medium": "var(--weight-medium)", "--font-weight-semibold": "var(--weight-semi)", "--font-weight-bold": "var(--weight-bold)", "--brand-logo-symbol": "var(--brand-primary-container)", "--brand-logo-wordmark": "var(--ink-1)", "--brand-logo-mono": "var(--ink-1)", "--brand-logo-inverse": "var(--legacy-white)", "--brand-logo-orange": "var(--brand-primary-container)", "--brand-logo-line-theme": "var(--brand-logo-symbol)", "--brand-logo-line-black": "var(--brand-logo-mono)", "--brand-logo-line-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-start": "var(--primary-fixed)", "--brand-logo-solid-theme-end": "var(--brand-inverse-primary)", "--brand-logo-solid-wordmark": "var(--brand-logo-wordmark)", "--brand-logo-solid-black": "var(--brand-logo-mono)", "--brand-logo-solid-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme-bg": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-black-bg": "var(--brand-logo-mono)", "--brand-logo-solid-black-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-bg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-fg": "var(--brand-logo-mono)", "--elev-0": "none", "--elev-1": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)", "--elev-2": "0 2px 4px rgba(14, 14, 16, 0.04), 0 8px 24px rgba(14, 14, 16, 0.06)", "--elev-3": "0 4px 8px rgba(14, 14, 16, 0.05), 0 16px 36px rgba(14, 14, 16, 0.08)", "--elev-4": "0 8px 16px rgba(14, 14, 16, 0.06), 0 24px 56px rgba(14, 14, 16, 0.10)", "--elev-5": "0 16px 32px rgba(14, 14, 16, 0.08), 0 36px 80px rgba(14, 14, 16, 0.14)", "--elev-d-1": "0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 1px 2px rgba(0, 0, 0, 0.4)", "--elev-d-2": "0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 6px 16px rgba(0, 0, 0, 0.5)", "--elev-d-3": "0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px rgba(0, 0, 0, 0.55)", "--elev-d-4": "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 64px rgba(0, 0, 0, 0.6)", "--brand-gradient": "linear-gradient(135deg, var(--brand-primary-container), var(--brand-inverse-primary))", "--brand-glow": "0 0 8px rgba(16, 185, 129, 0.5)", "--legacy-button-shadow": "0 1px 0 rgba(0, 0, 0, 0.04)", "--legacy-critical-ring": "0 0 0 3px rgba(220, 38, 38, 0.14)", "--legacy-switch-shadow": "0 1px 3px rgba(0, 0, 0, 0.15)", "--legacy-ring": "rgba(16, 185, 129, 0.3)", "--legacy-brand-soft-hover": "rgba(16, 185, 129, 0.16)", "--legacy-brand-tint": "rgba(16, 185, 129, 0.14)", "--legacy-modal-scrim": "rgba(14, 14, 16, 0.55)", "--brand-soft": "var(--legacy-brand-soft)", "--duration-base": "var(--duration-mid)", "--duration-normal": "var(--duration-mid)", "--text-md": "var(--text-base)", "--brand": "var(--primary)", "--danger": "var(--critical)", "--shadow-1": "var(--elev-1)", "--shadow-2": "var(--elev-2)", "--focus-ring": "var(--shadow-focus-ring)", "--line-strong": "var(--outline)", "--weight-semibold": "var(--weight-semi)", "--control-border-width": "1px", "--control-border-style": "solid", "--control-radius": "var(--radius-default)", "--button-radius": "var(--control-radius)", "--button-border-width": "var(--control-border-width)", "--button-primary-background": "var(--primary)", "--button-primary-background-hover": "var(--primary-hover)", "--button-primary-background-active": "var(--primary-container)", "--button-primary-foreground": "var(--on-primary)", "--button-primary-foreground-hover": "var(--on-primary)", "--button-primary-foreground-active": "var(--on-primary-container)", "--button-primary-border": "transparent", "--button-primary-shadow": "var(--legacy-button-shadow)", "--button-secondary-background": "var(--surface)", "--button-secondary-background-hover": "var(--surface-2)", "--button-secondary-background-active": "color-mix(in srgb, var(--ink-1) 8%, var(--surface))", "--button-secondary-foreground": "var(--ink-1)", "--button-secondary-border": "var(--legacy-line)", "--button-secondary-border-hover": "var(--legacy-line-strong)", "--button-ghost-background": "transparent", "--button-ghost-background-hover": "var(--surface-2)", "--button-ghost-background-active": "color-mix(in srgb, var(--ink-1) 10%, transparent)", "--button-ghost-foreground": "var(--ink-2)", "--button-ghost-foreground-hover": "var(--ink-1)", "--button-danger-background": "var(--surface)", "--button-danger-background-hover": "var(--critical-soft)", "--button-danger-background-active": "color-mix(in srgb, var(--critical) 16%, var(--surface))", "--button-danger-foreground": "var(--critical)", "--button-danger-border": "var(--legacy-danger-line)", "--button-danger-border-hover": "var(--legacy-danger-line-hover)", "--field-border-width": "var(--control-border-width)", "--field-radius": "var(--control-radius)", "--field-background": "var(--surface)", "--field-shadow": "none", "--field-padding-inline": "12px", "--card-border-width": "var(--surface-border-width)", "--card-radius": "var(--radius-lg-token)", "--card-background": "var(--surface)", "--card-padding": "var(--space-5)", "--dialog-surface": "var(--surface)", "--dialog-border-width": "0px", "--dialog-border-color": "var(--line)", "--dialog-shadow": "var(--elev-5)", "--drawer-width": "320px", "--drawer-radius": "var(--radius-xl)", "--radius-lg-token": "var(--radius-md)", "--radius-xl-token": "var(--radius-lg)", "--radius-full-token": "var(--radius-pill)", "--surface-border-width": "1px", "--avatar-radius": "var(--radius-pill)", "--avatar-square-radius": "var(--radius-md)", "--control-group-radius": "var(--control-radius)", "--chip-radius": "var(--radius-pill)", "--dialog-radius": "var(--radius-xl)", "--checkbox-radius": "var(--radius-sm)", "--button-height-md": "34px", "--button-height-sm": "28px", "--field-height": "38px", "--field-border": "var(--outline)", "--field-label-font": "var(--font-mono)", "--interface-detail-font": "var(--font-mono)", "--field-label-transform": "uppercase", "--field-label-tracking": "0.14em", "--field-label-size": "var(--text-eyebrow)", "--navigation-link-radius": "var(--radius-md)", "--timeline-line": "var(--outline)", "--chart-primary": "oklch(0.54615 0.21521 262.881)", "--avatar-text": "var(--legacy-white)", "--chart-secondary": "oklch(0.56424 0.15410 41.861)", "--duration-instant": "var(--motion-feedback-duration)", "--duration-fast": "var(--motion-feedback-duration)", "--duration-mid": "var(--motion-context-duration)", "--duration-slow": "var(--motion-orientation-duration)", "--ease-out": "var(--motion-ease-enter)", "--ease-in": "var(--motion-ease-exit)", "--ease-emph": "var(--motion-ease-enter)", "--ease-spring": "var(--motion-ease-enter)", "--chart-tertiary": "oklch(0.57516 0.13034 63.772)", "--chart-quaternary": "oklch(0.54877 0.19892 358.788)", "--chart-quinary": "oklch(0.54134 0.24659 293.009)", "--chart-senary": "oklch(0.53613 0.09422 182.377)", "--chart-septenary": "oklch(0.45678 0.21458 277.023)", "--chart-octonary": "oklch(0.54919 0.09850 220.166)", "--auth-control-bg": "#fff", "--auth-control-text": "#1f1f1f", "--auth-control-border": "#747775", "--auth-control-hover": "#f8faff", "--auth-control-active": "#f0f4f9", "--bg": "#f7f3ea", "--surface": "#fffdf8", "--surface-container-high": "#eceeef", "--surface-container-highest": "#e1e5e3", "--inverse-surface": "#202525", "--inverse-on-surface": "#f2f5f3", "--outline": "#707973", "--primary": "#087f5b", "--primary-container": "#054f39", "--primary-fixed": "#6ffbbe", "--primary-fixed-dim": "#4edea3", "--on-primary": "#ffffff", "--on-primary-container": "#ffffff", "--inverse-primary": "#4edea3", "--secondary": "#41556b", "--secondary-container": "#d4e4fa", "--secondary-fixed": "#d4e4fa", "--secondary-fixed-dim": "#b9c8de", "--on-secondary": "#ffffff", "--on-secondary-container": "#233143", "--tertiary": "#a23238", "--tertiary-container": "#ffdad7", "--tertiary-fixed": "#ffdad7", "--tertiary-fixed-dim": "#ffb3af", "--on-tertiary": "#ffffff", "--on-tertiary-container": "#650911", "--surface-2": "#f0ebe1", "--ink-1": "#111113", "--ink-2": "#3d3d42", "--ink-3": "#67645e", "--ink-4": "#706b62", "--line": "#e3dbcf", "--line-soft": "#eee7dc", "--critical": "#c73a2b", "--weak": "#c98211", "--ok": "#7aa51b", "--good": "#087f5b", "--info": "#2563eb", "--primary-hover": "#066649", "--primary-soft": "#e6f6ef", "--primary-ink": "#064e3b", "--critical-soft": "#fee7e5", "--weak-soft": "#fef3cc", "--ok-soft": "#ecfbca", "--good-soft": "#dcfce7", "--info-soft": "#dbeafe", "--on-critical": "#ffffff", "--critical-ink": "#991b1b", "--on-weak": "#3a2400", "--weak-ink": "#92400e", "--on-ok": "#1f2e02", "--ok-ink": "#3f6212", "--on-good": "#ffffff", "--good-ink": "#065f46", "--on-info": "#ffffff", "--info-ink": "#0a66c4", "--code-syntax-comment": "#586477", "--code-syntax-keyword": "#8541a1", "--code-syntax-string": "#17643c", "--code-syntax-number": "#8c471c", "--code-syntax-tag": "#164fa1", "--code-syntax-function": "#95501f", "--code-syntax-property": "#9b2942", "--code-syntax-punctuation": "#495568", "--surface-dim": "var(--bg)", "--surface-bright": "var(--surface)", "--surface-tint": "var(--primary)", "--surface-container-lowest": "var(--surface)", "--surface-container-low": "var(--surface-2)", "--surface-container": "var(--surface-2)", "--surface-variant": "var(--surface-container-highest)", "--on-surface": "var(--ink-1)", "--on-background": "var(--ink-1)", "--on-surface-variant": "var(--ink-3)", "--outline-variant": "var(--line)", "--error": "var(--critical)", "--error-container": "var(--critical-soft)", "--on-error": "var(--on-critical)", "--on-error-container": "var(--critical-ink)", "--border": "var(--line)", "--border-soft": "var(--line-soft)", "--shadow-card-dark": "var(--shadow-card-light)", "--shadow-glow-soft": "0 0 15px rgba(16, 185, 129, 0.10)", "--shadow-glow-hover": "0 0 25px rgba(16, 185, 129, 0.20)", "--shadow-glow-pulse": "0 0 18px rgba(16, 185, 129, 0.45)", "--shadow-focus-ring": "0 0 0 3px color-mix(in srgb, var(--primary) 24%, transparent)", "--shadow-focus-ring-soft": "0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent)", "--shadow-card-light": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)" } };
|
|
130
|
-
var componentHooks = ["--accordion-border-width", "--accordion-content-padding", "--accordion-content-size", "--accordion-divider-width", "--accordion-gap", "--accordion-item-border-width", "--accordion-item-radius", "--accordion-joined-open-background", "--accordion-lead-gap", "--accordion-open-background", "--accordion-sm-content-padding", "--accordion-sm-content-size", "--accordion-sm-leading", "--accordion-sm-trigger-padding", "--accordion-sm-trigger-size", "--accordion-surface", "--accordion-trigger-font", "--accordion-trigger-leading", "--accordion-trigger-padding", "--accordion-trigger-size", "--app-shell-body-padding", "--auth-control-font", "--avatar-background", "--avatar-custom-text", "--avatar-group-overlap-lg", "--avatar-group-overlap-md", "--avatar-group-overlap-sm", "--avatar-group-ring", "--avatar-size-md", "--brand-dot-background", "--brand-dot-radius", "--brand-dot-shadow", "--brand-logo-font", "--brand-logo-gap", "--brand-mark", "--brand-wordmark", "--breadcrumb-item-max", "--breadcrumb-wrap", "--button-field-background", "--button-field-border", "--button-field-border-hover", "--button-field-foreground", "--button-field-weight", "--button-height-lg", "--button-padding-lg", "--button-padding-md", "--button-padding-sm", "--calendar-border-width", "--calendar-control-radius", "--calendar-day-aspect", "--calendar-day-radius", "--calendar-day-size", "--calendar-label-align", "--calendar-label-order", "--calendar-max-width", "--calendar-month-size", "--calendar-month-width", "--calendar-nav-border-width", "--calendar-nav-size", "--calendar-padding", "--calendar-weekday-font", "--calendar-weekday-size", "--calendar-wrap", "--callout-description-gap", "--callout-description-size", "--callout-gap", "--callout-icon-size", "--callout-note-background", "--callout-note-icon-background", "--callout-note-icon-color", "--callout-padding", "--callout-radius", "--callout-success-background", "--callout-success-border", "--callout-success-icon-background", "--callout-success-icon-color", "--card-description-gap", "--card-description-leading", "--card-description-size", "--card-header-align", "--card-header-gap", "--card-header-margin-bottom", "--card-icon-background", "--card-icon-color", "--card-icon-glyph-size", "--card-icon-radius", "--card-icon-size", "--card-sm-description-size", "--card-sm-icon-glyph-size", "--card-sm-icon-size", "--card-sm-title-size", "--card-title-leading", "--card-title-size", "--card-title-weight", "--card-title-white-space", "--chip-height", "--choice-align", "--choice-hit-height", "--code-accent", "--code-action-hover", "--code-action-text", "--code-body-padding", "--code-border", "--code-border-width", "--code-font-size", "--code-header-background", "--code-header-padding", "--code-line-height", "--code-radius", "--code-surface", "--code-syntax-text", "--code-text", "--combobox-input-height", "--command-description-color", "--command-description-gap", "--command-description-size", "--composer-border-width", "--composer-divider-width", "--composer-focus-shadow", "--composer-input-height", "--composer-input-min-height", "--composer-input-padding", "--composer-label-display", "--composer-resize", "--composer-shadow", "--composer-toolbar-height", "--composer-toolbar-padding", "--control-disabled-opacity", "--control-disabled-shadow", "--control-focus-offset", "--control-focus-outline", "--control-font-size", "--control-font-size-sm", "--control-font-weight", "--control-hover-border", "--control-icon-size-sm", "--control-line-height", "--control-pressed-shadow", "--control-pressed-transform", "--control-shadow", "--control-transform-duration", "--control-transform-ease", "--coverflow-angle", "--coverflow-gap", "--coverflow-item-padding", "--coverflow-item-width", "--coverflow-perspective", "--device-frame-bezel", "--device-frame-bezel-color", "--device-frame-phone-radius", "--device-frame-radius", "--dialog-align", "--dialog-enter-transform", "--dialog-max-height", "--dialog-scrim-padding", "--dismiss-control-size", "--drawer-body-padding", "--drawer-surface", "--embedded-action-radius", "--embedded-action-size", "--embedded-caret-size", "--embedded-clear-size", "--fab-extended-radius", "--fab-hover-shadow", "--fab-radius", "--fab-shadow", "--fab-surface", "--field-font-size", "--field-label-gap", "--field-label-weight", "--hero-accent", "--hero-actions-justify", "--hero-actions-margin", "--hero-align", "--hero-areas", "--hero-column-gap", "--hero-columns", "--hero-lead-color", "--hero-lead-margin", "--hero-lead-size", "--hero-lead-tracking", "--hero-lead-weight", "--hero-media-gap", "--hero-padding", "--hero-title-case", "--hero-title-color", "--hero-title-descender", "--hero-title-fill", "--hero-title-leading", "--hero-title-margin", "--hero-title-size", "--hero-title-tracking", "--hero-title-weight", "--icon-button-lg", "--icon-button-md", "--icon-button-sm", "--input-affix-icon-size", "--input-icon-prefix-background", "--input-icon-prefix-border", "--input-icon-prefix-gap", "--interface-label-tracking", "--interface-label-transform", "--item-description-gap", "--item-description-size", "--item-gap", "--item-media-color", "--item-media-size", "--item-title-leading", "--item-title-size", "--item-title-weight", "--matrix-point-size", "--multiselect-input-min-width", "--navigation-active-indicator-width", "--navigation-hit-height", "--navigation-menu-active-color", "--navigation-menu-active-weight", "--navigation-menu-font-size", "--navigation-menu-gap", "--navigation-menu-height", "--navigation-menu-indicator-inset", "--navigation-menu-indicator-size", "--navigation-menu-item-color", "--navigation-menu-item-height", "--navigation-menu-item-padding-inline", "--navigation-menu-item-radius", "--navigation-menu-item-weight", "--navigation-surface", "--navigation-toggle-size", "--notification-action-color", "--notification-danger-color", "--otp-cell-width", "--pagination-size", "--phone-input-height", "--prose-caption-color", "--prose-caption-gap", "--prose-caption-size", "--prose-flow", "--prose-font-body", "--prose-font-heading", "--prose-font-mono", "--prose-h1-margin-bottom", "--prose-h1-size", "--prose-h2-margin-block", "--prose-h2-size", "--prose-heading-leading", "--prose-heading-text-wrap", "--prose-heading-tracking", "--prose-heading-weight", "--prose-leading", "--prose-measure", "--prose-quote-accent", "--prose-quote-accent-width", "--prose-quote-background", "--prose-quote-border-width", "--prose-quote-color", "--prose-quote-padding", "--prose-quote-size", "--prose-size", "--section-columns", "--section-columns-gap", "--section-gap", "--section-order-1", "--section-order-2", "--section-order-3", "--section-order-4", "--section-stacked-gap", "--segment-active-background", "--segment-active-color", "--segment-active-weight", "--segment-height", "--segment-icon-height", "--segment-icon-width", "--segment-padding", "--segmented-border-width", "--segmented-height", "--selection-chip-height", "--selection-chip-radius", "--selection-hover-bg", "--selection-hover-text", "--selection-on-primary", "--site-footer-gap", "--site-footer-padding", "--split-control-size", "--subnav-active-background", "--subnav-active-color", "--subnav-active-shadow", "--subnav-active-weight", "--subnav-group-gap", "--subnav-heading-tracking", "--subnav-heading-transform", "--subnav-icon-gap", "--subnav-icon-size", "--subnav-indicator-color", "--subnav-indicator-width", "--subnav-item-align", "--subnav-item-gap", "--subnav-item-padding", "--switch-control-height", "--switch-control-icon-size", "--switch-control-padding", "--switch-height", "--switch-thumb-color", "--switch-thumb-off-color", "--switch-thumb-size", "--switch-travel", "--switch-width", "--table-cell-padding", "--table-heading-padding", "--tabs-active-foreground", "--tabs-active-weight", "--tabs-font-size", "--tabs-panel-gap", "--tabs-pill-active-background", "--tabs-pill-align", "--tabs-pill-flex", "--tabs-tab-padding", "--text-lg", "--toc-item-padding", "--toc-item-size", "--toc-label-color", "--toc-label-font", "--toc-label-size", "--toc-label-tracking", "--toc-label-weight", "--toggle-height", "--toggle-padding"];
|
|
129
|
+
var raw = { "light": { "--font-brand": "Manrope, system-ui, sans-serif", "--font-heading": "Manrope, system-ui, sans-serif", "--font-headline": "Manrope, system-ui, sans-serif", "--font-body": '"Source Sans 3", system-ui, sans-serif', "--font-mono": '"Source Code Pro", ui-monospace, monospace', "--text-display": "52px", "--text-h1": "42px", "--text-h2": "34px", "--text-h3": "30px", "--text-h4": "20px", "--text-h5": "17px", "--text-base": "14px", "--text-sm": "13px", "--text-xs": "12px", "--text-2xs": "11px", "--text-eyebrow": "11px", "--tracking-normal": "0", "--leading-tight": "1.06", "--leading-snug": "1.4", "--leading-normal": "1.55", "--weight-regular": "400", "--weight-medium": "500", "--weight-semi": "600", "--weight-bold": "700", "--type-display-hero-size": "64px", "--type-display-hero-line": "72px", "--type-display-large-size": "56px", "--type-display-large-line": "64px", "--type-h1-size": "48px", "--type-h1-line": "56px", "--type-h2-size": "36px", "--type-h2-line": "44px", "--type-h3-size": "28px", "--type-h3-line": "36px", "--type-h4-size": "24px", "--type-h4-line": "32px", "--type-h5-size": "20px", "--type-h5-line": "28px", "--type-metric-large-size": "32px", "--type-metric-large-line": "40px", "--type-body-lead-size": "20px", "--type-body-lead-line": "30px", "--type-body-large-size": "18px", "--type-body-large-line": "28px", "--type-body-medium-size": "16px", "--type-body-medium-line": "24px", "--type-body-small-size": "14px", "--type-body-small-line": "20px", "--type-body-xsmall-size": "12px", "--type-body-xsmall-line": "18px", "--type-navigation-size": "14px", "--type-navigation-line": "20px", "--type-label-large-size": "16px", "--type-label-large-line": "20px", "--type-label-medium-size": "14px", "--type-label-medium-line": "18px", "--type-label-small-size": "12px", "--type-label-small-line": "16px", "--type-input-size": "16px", "--type-input-line": "24px", "--type-helper-size": "12px", "--type-helper-line": "16px", "--type-code-size": "13px", "--type-code-line": "20px", "--brand-wordmark-scale": "0.72", "--brand-lockup-gap-scale": "0.25", "--brand-divider-height-scale": "0.72", "--brand-divider-gap-scale": "0.2", "--brand-clear-space-scale": "0.5", "--brand-icon-site-16": "16px", "--brand-icon-site-32": "32px", "--brand-icon-site-48": "48px", "--brand-icon-site-64": "64px", "--brand-icon-site-96": "96px", "--brand-icon-site-128": "128px", "--brand-icon-mobile-120": "120px", "--brand-icon-mobile-152": "152px", "--brand-icon-mobile-167": "167px", "--brand-icon-mobile-180": "180px", "--brand-icon-mobile-192": "192px", "--brand-icon-mobile-512": "512px", "--brand-pride-red": "#e62418", "--brand-pride-orange": "#ff7a00", "--brand-pride-yellow": "#ffd400", "--brand-pride-green": "#008a3d", "--brand-pride-blue": "#0057b8", "--brand-pride-purple": "#7a1fa2", "--brand-pride-pink": "#f43f7a", "--brand-trans-blue": "#6ec6ea", "--brand-trans-pink": "#f7a8b8", "--brand-trans-white": "#fff8f5", "--brand-copa-yellow": "#f7d117", "--brand-copa-green": "#169b45", "--brand-copa-blue": "#0057b8", "--radius-xs": "0.125rem", "--radius-sm": "0.25rem", "--radius-md": "0.5rem", "--radius-lg": "0.75rem", "--radius-xl": "1rem", "--radius-pill": "9999px", "--space-1": "4px", "--space-2": "8px", "--space-3": "12px", "--space-4": "16px", "--space-5": "20px", "--space-6": "24px", "--space-8": "32px", "--space-10": "40px", "--space-12": "48px", "--space-16": "64px", "--space-20": "80px", "--space-24": "96px", "--sidebar-width-expanded": "248px", "--sidebar-width-rail": "72px", "--sidebar-width-compact": "56px", "--duration-progress": "650ms", "--z-dropdown": "1000", "--z-sticky": "1010", "--z-overlay": "1100", "--z-modal": "1200", "--z-popover": "1300", "--z-toast": "1400", "--z-tooltip": "1500", "--brand-primary": "#4edea3", "--brand-primary-container": "#10b981", "--brand-inverse-primary": "#006c49", "--brand-on-primary": "#003824", "--brand-on-primary-container": "#00422b", "--legacy-white": "#ffffff", "--legacy-line": "#d4d4d8", "--legacy-line-strong": "#b5b3b8", "--legacy-line-subtle": "#e8e8ea", "--legacy-line-faint": "#ececee", "--legacy-neutral-soft": "#f1f1f3", "--legacy-surface-hover": "#fafafa", "--legacy-surface-muted": "#f4f4f5", "--legacy-info-soft": "#dbeafe", "--legacy-warn-ink": "#92400e", "--legacy-danger-ink": "#b91c1c", "--legacy-ink-1": "#0e0e10", "--legacy-ink-2": "#3e3e44", "--legacy-ink-3": "#77767c", "--legacy-black": "#000000", "--legacy-danger-line": "#f1d6d4", "--legacy-danger-line-hover": "#ec9b96", "--legacy-brand-soft": "#ecfdf5", "--space-7": "28px", "--leading-relaxed": "1.65", "--radius-default": "7px", "--motion-feedback-duration": "120ms", "--motion-context-duration": "180ms", "--motion-context-exit-duration": "140ms", "--motion-orientation-duration": "260ms", "--motion-orientation-exit-duration": "200ms", "--motion-page-duration": "300ms", "--motion-context-x": "0px", "--motion-context-y": "6px", "--motion-pressed-scale": "0.97", "--motion-reduced": "0", "--motion-ease-enter": "cubic-bezier(0.2, 0.8, 0.2, 1)", "--motion-ease-exit": "cubic-bezier(0.4, 0, 1, 1)", "--tracking-display": "-0.03em", "--tracking-brand": "-0.035em", "--tracking-heading": "-0.02em", "--tracking-breadcrumb": "0.02em", "--tracking-h3": "-0.04em", "--tracking-eyebrow": "0.12em", "--tracking-uppercase": "0.16em", "--font-weight-regular": "var(--weight-regular)", "--font-weight-medium": "var(--weight-medium)", "--font-weight-semibold": "var(--weight-semi)", "--font-weight-bold": "var(--weight-bold)", "--brand-logo-symbol": "var(--brand-primary-container)", "--brand-logo-wordmark": "var(--ink-1)", "--brand-logo-mono": "var(--ink-1)", "--brand-logo-inverse": "var(--legacy-white)", "--brand-logo-orange": "var(--brand-primary-container)", "--brand-logo-line-theme": "var(--brand-logo-symbol)", "--brand-logo-line-black": "var(--brand-logo-mono)", "--brand-logo-line-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-start": "var(--primary-fixed)", "--brand-logo-solid-theme-end": "var(--brand-inverse-primary)", "--brand-logo-solid-wordmark": "var(--brand-logo-wordmark)", "--brand-logo-solid-black": "var(--brand-logo-mono)", "--brand-logo-solid-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme-bg": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-black-bg": "var(--brand-logo-mono)", "--brand-logo-solid-black-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-bg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-fg": "var(--brand-logo-mono)", "--elev-0": "none", "--elev-1": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)", "--elev-2": "0 2px 4px rgba(14, 14, 16, 0.04), 0 8px 24px rgba(14, 14, 16, 0.06)", "--elev-3": "0 4px 8px rgba(14, 14, 16, 0.05), 0 16px 36px rgba(14, 14, 16, 0.08)", "--elev-4": "0 8px 16px rgba(14, 14, 16, 0.06), 0 24px 56px rgba(14, 14, 16, 0.10)", "--elev-5": "0 16px 32px rgba(14, 14, 16, 0.08), 0 36px 80px rgba(14, 14, 16, 0.14)", "--elev-d-1": "0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 1px 2px rgba(0, 0, 0, 0.4)", "--elev-d-2": "0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 6px 16px rgba(0, 0, 0, 0.5)", "--elev-d-3": "0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px rgba(0, 0, 0, 0.55)", "--elev-d-4": "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 64px rgba(0, 0, 0, 0.6)", "--brand-gradient": "linear-gradient(135deg, var(--brand-primary-container), var(--brand-inverse-primary))", "--brand-glow": "0 0 8px rgba(16, 185, 129, 0.5)", "--legacy-button-shadow": "0 1px 0 rgba(0, 0, 0, 0.04)", "--legacy-critical-ring": "0 0 0 3px rgba(220, 38, 38, 0.14)", "--legacy-switch-shadow": "0 1px 3px rgba(0, 0, 0, 0.15)", "--legacy-ring": "rgba(16, 185, 129, 0.3)", "--legacy-brand-soft-hover": "rgba(16, 185, 129, 0.16)", "--legacy-brand-tint": "rgba(16, 185, 129, 0.14)", "--legacy-modal-scrim": "rgba(14, 14, 16, 0.55)", "--brand-soft": "var(--legacy-brand-soft)", "--duration-base": "var(--duration-mid)", "--duration-normal": "var(--duration-mid)", "--text-md": "var(--text-base)", "--brand": "var(--primary)", "--danger": "var(--critical)", "--shadow-1": "var(--elev-1)", "--shadow-2": "var(--elev-2)", "--focus-ring": "var(--shadow-focus-ring)", "--line-strong": "var(--outline)", "--weight-semibold": "var(--weight-semi)", "--control-border-width": "1px", "--control-border-style": "solid", "--control-radius": "var(--radius-default)", "--button-radius": "var(--control-radius)", "--button-border-width": "var(--control-border-width)", "--button-primary-background": "var(--primary)", "--button-primary-background-hover": "var(--primary-hover)", "--button-primary-background-active": "var(--primary-container)", "--button-primary-foreground": "var(--on-primary)", "--button-primary-foreground-hover": "var(--on-primary)", "--button-primary-foreground-active": "var(--on-primary-container)", "--button-primary-border": "transparent", "--button-primary-shadow": "var(--legacy-button-shadow)", "--button-secondary-background": "var(--surface)", "--button-secondary-background-hover": "var(--surface-2)", "--button-secondary-background-active": "color-mix(in srgb, var(--ink-1) 8%, var(--surface))", "--button-secondary-foreground": "var(--ink-1)", "--button-secondary-border": "var(--legacy-line)", "--button-secondary-border-hover": "var(--legacy-line-strong)", "--button-ghost-background": "transparent", "--button-ghost-background-hover": "var(--surface-2)", "--button-ghost-background-active": "color-mix(in srgb, var(--ink-1) 10%, transparent)", "--button-ghost-foreground": "var(--ink-2)", "--button-ghost-foreground-hover": "var(--ink-1)", "--button-danger-background": "var(--surface)", "--button-danger-background-hover": "var(--critical-soft)", "--button-danger-background-active": "color-mix(in srgb, var(--critical) 16%, var(--surface))", "--button-danger-foreground": "var(--critical)", "--button-danger-border": "var(--legacy-danger-line)", "--button-danger-border-hover": "var(--legacy-danger-line-hover)", "--field-border-width": "var(--control-border-width)", "--field-radius": "var(--control-radius)", "--field-background": "var(--surface)", "--field-shadow": "none", "--field-padding-inline": "12px", "--card-border-width": "var(--surface-border-width)", "--card-radius": "var(--radius-lg-token)", "--card-background": "var(--surface)", "--card-padding": "var(--space-5)", "--dialog-surface": "var(--surface)", "--dialog-border-width": "0px", "--dialog-border-color": "var(--line)", "--dialog-shadow": "var(--elev-5)", "--drawer-width": "320px", "--drawer-radius": "var(--radius-xl)", "--radius-lg-token": "var(--radius-md)", "--radius-xl-token": "var(--radius-lg)", "--radius-full-token": "var(--radius-pill)", "--surface-border-width": "1px", "--avatar-radius": "var(--radius-pill)", "--avatar-square-radius": "var(--radius-md)", "--control-group-radius": "var(--control-radius)", "--chip-radius": "var(--radius-pill)", "--dialog-radius": "var(--radius-xl)", "--checkbox-radius": "var(--radius-sm)", "--button-height-md": "34px", "--button-height-sm": "28px", "--field-height": "38px", "--field-border": "var(--outline)", "--field-label-font": "var(--font-mono)", "--interface-detail-font": "var(--font-mono)", "--field-label-transform": "uppercase", "--field-label-tracking": "0.14em", "--field-label-size": "var(--text-eyebrow)", "--navigation-link-radius": "var(--radius-md)", "--timeline-line": "var(--outline)", "--chart-primary": "oklch(0.54615 0.21521 262.881)", "--avatar-text": "var(--legacy-white)", "--chart-secondary": "oklch(0.56424 0.15410 41.861)", "--duration-instant": "var(--motion-feedback-duration)", "--duration-fast": "var(--motion-feedback-duration)", "--duration-mid": "var(--motion-context-duration)", "--duration-slow": "var(--motion-orientation-duration)", "--ease-out": "var(--motion-ease-enter)", "--ease-in": "var(--motion-ease-exit)", "--ease-emph": "var(--motion-ease-enter)", "--ease-spring": "var(--motion-ease-enter)", "--chart-tertiary": "oklch(0.57516 0.13034 63.772)", "--chart-quaternary": "oklch(0.54877 0.19892 358.788)", "--chart-quinary": "oklch(0.54134 0.24659 293.009)", "--chart-senary": "oklch(0.53613 0.09422 182.377)", "--chart-septenary": "oklch(0.45678 0.21458 277.023)", "--chart-octonary": "oklch(0.54919 0.09850 220.166)", "--auth-control-bg": "#fff", "--auth-control-text": "#1f1f1f", "--auth-control-border": "#747775", "--auth-control-hover": "#f8faff", "--auth-control-active": "#f0f4f9", "--scope-overflow-wrap": "normal", "--bg": "#ffffff", "--surface": "#ffffff", "--surface-container-high": "#eceeef", "--surface-container-highest": "#e1e5e3", "--inverse-surface": "#202525", "--inverse-on-surface": "#f2f5f3", "--outline": "#707973", "--primary": "#087f5b", "--primary-container": "#054f39", "--primary-fixed": "#6ffbbe", "--primary-fixed-dim": "#4edea3", "--on-primary": "#ffffff", "--on-primary-container": "#ffffff", "--inverse-primary": "#4edea3", "--secondary": "#41556b", "--secondary-container": "#d4e4fa", "--secondary-fixed": "#d4e4fa", "--secondary-fixed-dim": "#b9c8de", "--on-secondary": "#ffffff", "--on-secondary-container": "#233143", "--tertiary": "#a23238", "--tertiary-container": "#ffdad7", "--tertiary-fixed": "#ffdad7", "--tertiary-fixed-dim": "#ffb3af", "--on-tertiary": "#ffffff", "--on-tertiary-container": "#650911", "--surface-2": "#f7f7f7", "--ink-1": "#0e0e10", "--ink-2": "#3e3e44", "--ink-3": "#68676d", "--ink-4": "#6f6d74", "--line": "#d9dedd", "--line-soft": "#e8ebea", "--critical": "#dc2626", "--weak": "#f59e0b", "--ok": "#84cc16", "--good": "#087f5b", "--info": "#0a66c4", "--primary-hover": "#066649", "--primary-soft": "#e7f8f0", "--primary-ink": "#065f46", "--critical-soft": "#fee7e5", "--weak-soft": "#fef3cc", "--ok-soft": "#ecfbca", "--good-soft": "#dcfce7", "--info-soft": "#dbeafe", "--on-critical": "#ffffff", "--critical-ink": "#991b1b", "--on-weak": "#3a2400", "--weak-ink": "#92400e", "--on-ok": "#1f2e02", "--ok-ink": "#3f6212", "--on-good": "#ffffff", "--good-ink": "#065f46", "--on-info": "#ffffff", "--info-ink": "#0a66c4", "--code-syntax-comment": "#586477", "--code-syntax-keyword": "#8541a1", "--code-syntax-string": "#17643c", "--code-syntax-number": "#8c471c", "--code-syntax-tag": "#164fa1", "--code-syntax-function": "#95501f", "--code-syntax-property": "#9b2942", "--code-syntax-punctuation": "#495568", "--surface-dim": "var(--bg)", "--surface-bright": "var(--surface)", "--surface-tint": "var(--primary)", "--surface-container-lowest": "var(--surface)", "--surface-container-low": "var(--surface-2)", "--surface-container": "var(--surface-2)", "--surface-variant": "var(--surface-container-highest)", "--on-surface": "var(--ink-1)", "--on-background": "var(--ink-1)", "--on-surface-variant": "var(--ink-3)", "--outline-variant": "var(--line)", "--error": "var(--critical)", "--error-container": "var(--critical-soft)", "--on-error": "var(--on-critical)", "--on-error-container": "var(--critical-ink)", "--border": "var(--line)", "--border-soft": "var(--line-soft)", "--shadow-card-dark": "var(--shadow-card-light)", "--shadow-glow-soft": "0 0 15px rgba(16, 185, 129, 0.10)", "--shadow-glow-hover": "0 0 25px rgba(16, 185, 129, 0.20)", "--shadow-glow-pulse": "0 0 18px rgba(16, 185, 129, 0.45)", "--shadow-focus-ring": "0 0 0 3px color-mix(in srgb, var(--primary) 24%, transparent)", "--shadow-focus-ring-soft": "0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent)", "--shadow-card-light": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)" }, "dark": { "--font-brand": "Manrope, system-ui, sans-serif", "--font-heading": "Manrope, system-ui, sans-serif", "--font-headline": "Manrope, system-ui, sans-serif", "--font-body": '"Source Sans 3", system-ui, sans-serif', "--font-mono": '"Source Code Pro", ui-monospace, monospace', "--text-display": "52px", "--text-h1": "42px", "--text-h2": "34px", "--text-h3": "30px", "--text-h4": "20px", "--text-h5": "17px", "--text-base": "14px", "--text-sm": "13px", "--text-xs": "12px", "--text-2xs": "11px", "--text-eyebrow": "11px", "--tracking-normal": "0", "--leading-tight": "1.06", "--leading-snug": "1.4", "--leading-normal": "1.55", "--weight-regular": "400", "--weight-medium": "500", "--weight-semi": "600", "--weight-bold": "700", "--type-display-hero-size": "64px", "--type-display-hero-line": "72px", "--type-display-large-size": "56px", "--type-display-large-line": "64px", "--type-h1-size": "48px", "--type-h1-line": "56px", "--type-h2-size": "36px", "--type-h2-line": "44px", "--type-h3-size": "28px", "--type-h3-line": "36px", "--type-h4-size": "24px", "--type-h4-line": "32px", "--type-h5-size": "20px", "--type-h5-line": "28px", "--type-metric-large-size": "32px", "--type-metric-large-line": "40px", "--type-body-lead-size": "20px", "--type-body-lead-line": "30px", "--type-body-large-size": "18px", "--type-body-large-line": "28px", "--type-body-medium-size": "16px", "--type-body-medium-line": "24px", "--type-body-small-size": "14px", "--type-body-small-line": "20px", "--type-body-xsmall-size": "12px", "--type-body-xsmall-line": "18px", "--type-navigation-size": "14px", "--type-navigation-line": "20px", "--type-label-large-size": "16px", "--type-label-large-line": "20px", "--type-label-medium-size": "14px", "--type-label-medium-line": "18px", "--type-label-small-size": "12px", "--type-label-small-line": "16px", "--type-input-size": "16px", "--type-input-line": "24px", "--type-helper-size": "12px", "--type-helper-line": "16px", "--type-code-size": "13px", "--type-code-line": "20px", "--brand-wordmark-scale": "0.72", "--brand-lockup-gap-scale": "0.25", "--brand-divider-height-scale": "0.72", "--brand-divider-gap-scale": "0.2", "--brand-clear-space-scale": "0.5", "--brand-icon-site-16": "16px", "--brand-icon-site-32": "32px", "--brand-icon-site-48": "48px", "--brand-icon-site-64": "64px", "--brand-icon-site-96": "96px", "--brand-icon-site-128": "128px", "--brand-icon-mobile-120": "120px", "--brand-icon-mobile-152": "152px", "--brand-icon-mobile-167": "167px", "--brand-icon-mobile-180": "180px", "--brand-icon-mobile-192": "192px", "--brand-icon-mobile-512": "512px", "--brand-pride-red": "#e62418", "--brand-pride-orange": "#ff7a00", "--brand-pride-yellow": "#ffd400", "--brand-pride-green": "#008a3d", "--brand-pride-blue": "#0057b8", "--brand-pride-purple": "#7a1fa2", "--brand-pride-pink": "#f43f7a", "--brand-trans-blue": "#6ec6ea", "--brand-trans-pink": "#f7a8b8", "--brand-trans-white": "#fff8f5", "--brand-copa-yellow": "#f7d117", "--brand-copa-green": "#169b45", "--brand-copa-blue": "#0057b8", "--radius-xs": "0.125rem", "--radius-sm": "0.25rem", "--radius-md": "0.5rem", "--radius-lg": "0.75rem", "--radius-xl": "1rem", "--radius-pill": "9999px", "--space-1": "4px", "--space-2": "8px", "--space-3": "12px", "--space-4": "16px", "--space-5": "20px", "--space-6": "24px", "--space-8": "32px", "--space-10": "40px", "--space-12": "48px", "--space-16": "64px", "--space-20": "80px", "--space-24": "96px", "--sidebar-width-expanded": "248px", "--sidebar-width-rail": "72px", "--sidebar-width-compact": "56px", "--duration-progress": "650ms", "--z-dropdown": "1000", "--z-sticky": "1010", "--z-overlay": "1100", "--z-modal": "1200", "--z-popover": "1300", "--z-toast": "1400", "--z-tooltip": "1500", "--brand-primary": "#4edea3", "--brand-primary-container": "#10b981", "--brand-inverse-primary": "#006c49", "--brand-on-primary": "#003824", "--brand-on-primary-container": "#00422b", "--legacy-white": "#ffffff", "--legacy-line": "var(--line)", "--legacy-line-strong": "var(--outline)", "--legacy-line-subtle": "var(--line-soft)", "--legacy-line-faint": "var(--line-soft)", "--legacy-neutral-soft": "var(--surface-2)", "--legacy-surface-hover": "var(--surface-container-high)", "--legacy-surface-muted": "var(--surface-container)", "--legacy-info-soft": "var(--info-soft)", "--legacy-warn-ink": "#92400e", "--legacy-danger-ink": "#b91c1c", "--legacy-ink-1": "#0e0e10", "--legacy-ink-2": "#3e3e44", "--legacy-ink-3": "#77767c", "--legacy-black": "#000000", "--legacy-danger-line": "var(--critical-soft)", "--legacy-danger-line-hover": "var(--critical-ink)", "--legacy-brand-soft": "var(--good-soft)", "--space-7": "28px", "--leading-relaxed": "1.65", "--radius-default": "7px", "--motion-feedback-duration": "120ms", "--motion-context-duration": "180ms", "--motion-context-exit-duration": "140ms", "--motion-orientation-duration": "260ms", "--motion-orientation-exit-duration": "200ms", "--motion-page-duration": "300ms", "--motion-context-x": "0px", "--motion-context-y": "6px", "--motion-pressed-scale": "0.97", "--motion-reduced": "0", "--motion-ease-enter": "cubic-bezier(0.2, 0.8, 0.2, 1)", "--motion-ease-exit": "cubic-bezier(0.4, 0, 1, 1)", "--tracking-display": "-0.03em", "--tracking-brand": "-0.035em", "--tracking-heading": "-0.02em", "--tracking-breadcrumb": "0.02em", "--tracking-h3": "-0.04em", "--tracking-eyebrow": "0.12em", "--tracking-uppercase": "0.16em", "--font-weight-regular": "var(--weight-regular)", "--font-weight-medium": "var(--weight-medium)", "--font-weight-semibold": "var(--weight-semi)", "--font-weight-bold": "var(--weight-bold)", "--brand-logo-symbol": "var(--brand-primary-container)", "--brand-logo-wordmark": "var(--ink-1)", "--brand-logo-mono": "var(--ink-1)", "--brand-logo-inverse": "var(--legacy-white)", "--brand-logo-orange": "var(--brand-primary-container)", "--brand-logo-line-theme": "var(--brand-logo-symbol)", "--brand-logo-line-black": "var(--brand-logo-mono)", "--brand-logo-line-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-start": "var(--primary-fixed)", "--brand-logo-solid-theme-end": "var(--brand-inverse-primary)", "--brand-logo-solid-wordmark": "var(--brand-logo-wordmark)", "--brand-logo-solid-black": "var(--brand-logo-mono)", "--brand-logo-solid-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme-bg": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-black-bg": "var(--brand-logo-mono)", "--brand-logo-solid-black-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-bg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-fg": "var(--brand-logo-mono)", "--elev-0": "none", "--elev-1": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)", "--elev-2": "0 2px 4px rgba(14, 14, 16, 0.04), 0 8px 24px rgba(14, 14, 16, 0.06)", "--elev-3": "0 4px 8px rgba(14, 14, 16, 0.05), 0 16px 36px rgba(14, 14, 16, 0.08)", "--elev-4": "0 8px 16px rgba(14, 14, 16, 0.06), 0 24px 56px rgba(14, 14, 16, 0.10)", "--elev-5": "0 16px 32px rgba(14, 14, 16, 0.08), 0 36px 80px rgba(14, 14, 16, 0.14)", "--elev-d-1": "0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 1px 2px rgba(0, 0, 0, 0.4)", "--elev-d-2": "0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 6px 16px rgba(0, 0, 0, 0.5)", "--elev-d-3": "0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px rgba(0, 0, 0, 0.55)", "--elev-d-4": "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 64px rgba(0, 0, 0, 0.6)", "--brand-gradient": "linear-gradient(135deg, var(--brand-primary-container), var(--brand-inverse-primary))", "--brand-glow": "0 0 8px rgba(16, 185, 129, 0.5)", "--legacy-button-shadow": "0 1px 0 rgba(0, 0, 0, 0.04)", "--legacy-critical-ring": "0 0 0 3px rgba(220, 38, 38, 0.14)", "--legacy-switch-shadow": "0 1px 3px rgba(0, 0, 0, 0.15)", "--legacy-ring": "rgba(16, 185, 129, 0.3)", "--legacy-brand-soft-hover": "rgba(16, 185, 129, 0.16)", "--legacy-brand-tint": "rgba(16, 185, 129, 0.14)", "--legacy-modal-scrim": "rgba(14, 14, 16, 0.55)", "--brand-soft": "var(--legacy-brand-soft)", "--duration-base": "var(--duration-mid)", "--duration-normal": "var(--duration-mid)", "--text-md": "var(--text-base)", "--brand": "var(--primary)", "--danger": "var(--critical)", "--shadow-1": "var(--elev-1)", "--shadow-2": "var(--elev-2)", "--focus-ring": "var(--shadow-focus-ring)", "--line-strong": "var(--outline)", "--weight-semibold": "var(--weight-semi)", "--control-border-width": "1px", "--control-border-style": "solid", "--control-radius": "var(--radius-default)", "--button-radius": "var(--control-radius)", "--button-border-width": "var(--control-border-width)", "--button-primary-background": "var(--primary)", "--button-primary-background-hover": "var(--primary-hover)", "--button-primary-background-active": "var(--primary-container)", "--button-primary-foreground": "var(--on-primary)", "--button-primary-foreground-hover": "var(--on-primary)", "--button-primary-foreground-active": "var(--on-primary-container)", "--button-primary-border": "transparent", "--button-primary-shadow": "var(--legacy-button-shadow)", "--button-secondary-background": "var(--surface)", "--button-secondary-background-hover": "var(--surface-2)", "--button-secondary-background-active": "color-mix(in srgb, var(--ink-1) 8%, var(--surface))", "--button-secondary-foreground": "var(--ink-1)", "--button-secondary-border": "var(--legacy-line)", "--button-secondary-border-hover": "var(--legacy-line-strong)", "--button-ghost-background": "transparent", "--button-ghost-background-hover": "var(--surface-2)", "--button-ghost-background-active": "color-mix(in srgb, var(--ink-1) 10%, transparent)", "--button-ghost-foreground": "var(--ink-2)", "--button-ghost-foreground-hover": "var(--ink-1)", "--button-danger-background": "var(--surface)", "--button-danger-background-hover": "var(--critical-soft)", "--button-danger-background-active": "color-mix(in srgb, var(--critical) 16%, var(--surface))", "--button-danger-foreground": "var(--critical)", "--button-danger-border": "var(--legacy-danger-line)", "--button-danger-border-hover": "var(--legacy-danger-line-hover)", "--field-border-width": "var(--control-border-width)", "--field-radius": "var(--control-radius)", "--field-background": "var(--surface)", "--field-shadow": "none", "--field-padding-inline": "12px", "--card-border-width": "var(--surface-border-width)", "--card-radius": "var(--radius-lg-token)", "--card-background": "var(--surface)", "--card-padding": "var(--space-5)", "--dialog-surface": "var(--surface)", "--dialog-border-width": "0px", "--dialog-border-color": "var(--line)", "--dialog-shadow": "var(--elev-5)", "--drawer-width": "320px", "--drawer-radius": "var(--radius-xl)", "--radius-lg-token": "var(--radius-md)", "--radius-xl-token": "var(--radius-lg)", "--radius-full-token": "var(--radius-pill)", "--surface-border-width": "1px", "--avatar-radius": "var(--radius-pill)", "--avatar-square-radius": "var(--radius-md)", "--control-group-radius": "var(--control-radius)", "--chip-radius": "var(--radius-pill)", "--dialog-radius": "var(--radius-xl)", "--checkbox-radius": "var(--radius-sm)", "--button-height-md": "34px", "--button-height-sm": "28px", "--field-height": "38px", "--field-border": "var(--outline)", "--field-label-font": "var(--font-mono)", "--interface-detail-font": "var(--font-mono)", "--field-label-transform": "uppercase", "--field-label-tracking": "0.14em", "--field-label-size": "var(--text-eyebrow)", "--navigation-link-radius": "var(--radius-md)", "--timeline-line": "var(--outline)", "--chart-primary": "oklch(0.71374 0.14338 254.624)", "--avatar-text": "var(--legacy-white)", "--chart-secondary": "oklch(0.75764 0.15904 55.934)", "--duration-instant": "var(--motion-feedback-duration)", "--duration-fast": "var(--motion-feedback-duration)", "--duration-mid": "var(--motion-context-duration)", "--duration-slow": "var(--motion-orientation-duration)", "--ease-out": "var(--motion-ease-enter)", "--ease-in": "var(--motion-ease-exit)", "--ease-emph": "var(--motion-ease-enter)", "--ease-spring": "var(--motion-ease-enter)", "--chart-tertiary": "oklch(0.83686 0.16442 84.429)", "--chart-quaternary": "oklch(0.72527 0.17523 349.761)", "--chart-quinary": "oklch(0.70897 0.15917 293.541)", "--chart-senary": "oklch(0.78452 0.13253 181.912)", "--chart-septenary": "oklch(0.78530 0.10413 274.713)", "--chart-octonary": "oklch(0.79712 0.13389 211.530)", "--auth-control-bg": "#fff", "--auth-control-text": "#1f1f1f", "--auth-control-border": "#747775", "--auth-control-hover": "#f8faff", "--auth-control-active": "#f0f4f9", "--scope-overflow-wrap": "normal", "--bg": "#12161b", "--surface": "#1d242c", "--surface-dim": "#12161b", "--surface-bright": "#35404d", "--surface-tint": "#4edea3", "--surface-container-lowest": "#0d1116", "--surface-container-low": "#191f27", "--surface-container": "#252e38", "--surface-container-high": "#2e3844", "--surface-container-highest": "#394654", "--surface-variant": "#394654", "--on-surface": "#f2f5f8", "--on-background": "#e0e3e5", "--on-surface-variant": "#bbc8d4", "--inverse-surface": "#e0e3e5", "--inverse-on-surface": "#2d3133", "--outline": "#8897a6", "--outline-variant": "#566574", "--primary": "#087f5b", "--primary-container": "#054f39", "--primary-fixed": "#6ffbbe", "--primary-fixed-dim": "#4edea3", "--on-primary": "#ffffff", "--on-primary-container": "#ffffff", "--inverse-primary": "#006c49", "--secondary": "#b9c8de", "--secondary-container": "#39485a", "--secondary-fixed": "#d4e4fa", "--secondary-fixed-dim": "#b9c8de", "--on-secondary": "#233143", "--on-secondary-container": "#a7b6cc", "--tertiary": "#ffb3af", "--tertiary-container": "#fc7c78", "--tertiary-fixed": "#ffdad7", "--tertiary-fixed-dim": "#ffb3af", "--on-tertiary": "#650911", "--on-tertiary-container": "#711419", "--error": "#ffb4ab", "--error-container": "#93000a", "--on-error": "#690005", "--on-error-container": "#ffdad6", "--border-soft": "#43515f", "--ink-4": "#a1b1c1", "--primary-hover": "#066649", "--primary-soft": "#123c2d", "--primary-ink": "#6ffbbe", "--critical-soft": "#4b1714", "--weak-soft": "#443519", "--ok-soft": "#293f18", "--good-soft": "#123c2d", "--info-soft": "#20344c", "--on-critical": "#690005", "--critical-ink": "#ffb4ab", "--on-weak": "#392600", "--weak-ink": "#ffd58a", "--on-ok": "#1f2e02", "--ok-ink": "#b0db85", "--on-good": "#ffffff", "--good-ink": "#6ffbbe", "--on-info": "#162e49", "--info-ink": "#b9c8de", "--ink-2": "#c6d0da", "--ink-3": "#adbdcc", "--code-syntax-comment": "#a4afc1", "--code-syntax-keyword": "#d5a6f2", "--code-syntax-string": "#9bd6ad", "--code-syntax-number": "#efbc8a", "--code-syntax-tag": "#9ec8ff", "--code-syntax-function": "#f4c28f", "--code-syntax-property": "#f3a4b7", "--code-syntax-punctuation": "#c7d0de", "--border": "var(--line)", "--surface-2": "var(--surface-container)", "--ink-1": "var(--on-surface)", "--line": "var(--outline-variant)", "--line-soft": "var(--border-soft)", "--critical": "var(--error)", "--weak": "var(--tertiary-container)", "--ok": "var(--primary)", "--good": "#087f5b", "--info": "var(--secondary)", "--shadow-card-dark": "0 24px 64px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.03)", "--shadow-glow-soft": "0 0 15px rgba(16, 185, 129, 0.10)", "--shadow-glow-hover": "0 0 25px rgba(16, 185, 129, 0.20)", "--shadow-glow-pulse": "0 0 18px rgba(16, 185, 129, 0.45)", "--shadow-focus-ring": "0 0 0 3px color-mix(in srgb, var(--primary) 45%, transparent)", "--shadow-focus-ring-soft": "0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent)", "--shadow-card-light": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)" }, "editorial": { "--font-brand": "Manrope, system-ui, sans-serif", "--font-heading": "Manrope, system-ui, sans-serif", "--font-headline": "Manrope, system-ui, sans-serif", "--font-body": '"Source Sans 3", system-ui, sans-serif', "--font-mono": '"Source Code Pro", ui-monospace, monospace', "--text-display": "52px", "--text-h1": "42px", "--text-h2": "34px", "--text-h3": "30px", "--text-h4": "20px", "--text-h5": "17px", "--text-base": "14px", "--text-sm": "13px", "--text-xs": "12px", "--text-2xs": "11px", "--text-eyebrow": "11px", "--tracking-normal": "0", "--leading-tight": "1.06", "--leading-snug": "1.4", "--leading-normal": "1.55", "--weight-regular": "400", "--weight-medium": "500", "--weight-semi": "600", "--weight-bold": "700", "--type-display-hero-size": "64px", "--type-display-hero-line": "72px", "--type-display-large-size": "56px", "--type-display-large-line": "64px", "--type-h1-size": "48px", "--type-h1-line": "56px", "--type-h2-size": "36px", "--type-h2-line": "44px", "--type-h3-size": "28px", "--type-h3-line": "36px", "--type-h4-size": "24px", "--type-h4-line": "32px", "--type-h5-size": "20px", "--type-h5-line": "28px", "--type-metric-large-size": "32px", "--type-metric-large-line": "40px", "--type-body-lead-size": "20px", "--type-body-lead-line": "30px", "--type-body-large-size": "18px", "--type-body-large-line": "28px", "--type-body-medium-size": "16px", "--type-body-medium-line": "24px", "--type-body-small-size": "14px", "--type-body-small-line": "20px", "--type-body-xsmall-size": "12px", "--type-body-xsmall-line": "18px", "--type-navigation-size": "14px", "--type-navigation-line": "20px", "--type-label-large-size": "16px", "--type-label-large-line": "20px", "--type-label-medium-size": "14px", "--type-label-medium-line": "18px", "--type-label-small-size": "12px", "--type-label-small-line": "16px", "--type-input-size": "16px", "--type-input-line": "24px", "--type-helper-size": "12px", "--type-helper-line": "16px", "--type-code-size": "13px", "--type-code-line": "20px", "--brand-wordmark-scale": "0.72", "--brand-lockup-gap-scale": "0.25", "--brand-divider-height-scale": "0.72", "--brand-divider-gap-scale": "0.2", "--brand-clear-space-scale": "0.5", "--brand-icon-site-16": "16px", "--brand-icon-site-32": "32px", "--brand-icon-site-48": "48px", "--brand-icon-site-64": "64px", "--brand-icon-site-96": "96px", "--brand-icon-site-128": "128px", "--brand-icon-mobile-120": "120px", "--brand-icon-mobile-152": "152px", "--brand-icon-mobile-167": "167px", "--brand-icon-mobile-180": "180px", "--brand-icon-mobile-192": "192px", "--brand-icon-mobile-512": "512px", "--brand-pride-red": "#e62418", "--brand-pride-orange": "#ff7a00", "--brand-pride-yellow": "#ffd400", "--brand-pride-green": "#008a3d", "--brand-pride-blue": "#0057b8", "--brand-pride-purple": "#7a1fa2", "--brand-pride-pink": "#f43f7a", "--brand-trans-blue": "#6ec6ea", "--brand-trans-pink": "#f7a8b8", "--brand-trans-white": "#fff8f5", "--brand-copa-yellow": "#f7d117", "--brand-copa-green": "#169b45", "--brand-copa-blue": "#0057b8", "--radius-xs": "0.125rem", "--radius-sm": "0.25rem", "--radius-md": "0.5rem", "--radius-lg": "0.75rem", "--radius-xl": "1rem", "--radius-pill": "9999px", "--space-1": "4px", "--space-2": "8px", "--space-3": "12px", "--space-4": "16px", "--space-5": "20px", "--space-6": "24px", "--space-8": "32px", "--space-10": "40px", "--space-12": "48px", "--space-16": "64px", "--space-20": "80px", "--space-24": "96px", "--sidebar-width-expanded": "248px", "--sidebar-width-rail": "72px", "--sidebar-width-compact": "56px", "--duration-progress": "650ms", "--z-dropdown": "1000", "--z-sticky": "1010", "--z-overlay": "1100", "--z-modal": "1200", "--z-popover": "1300", "--z-toast": "1400", "--z-tooltip": "1500", "--brand-primary": "#4edea3", "--brand-primary-container": "#10b981", "--brand-inverse-primary": "#006c49", "--brand-on-primary": "#003824", "--brand-on-primary-container": "#00422b", "--legacy-white": "#ffffff", "--legacy-line": "#d4d4d8", "--legacy-line-strong": "#b5b3b8", "--legacy-line-subtle": "#e8e8ea", "--legacy-line-faint": "#ececee", "--legacy-neutral-soft": "#f1f1f3", "--legacy-surface-hover": "#fafafa", "--legacy-surface-muted": "#f4f4f5", "--legacy-info-soft": "#dbeafe", "--legacy-warn-ink": "#92400e", "--legacy-danger-ink": "#b91c1c", "--legacy-ink-1": "#0e0e10", "--legacy-ink-2": "#3e3e44", "--legacy-ink-3": "#77767c", "--legacy-black": "#000000", "--legacy-danger-line": "#f1d6d4", "--legacy-danger-line-hover": "#ec9b96", "--legacy-brand-soft": "#ecfdf5", "--space-7": "28px", "--leading-relaxed": "1.65", "--radius-default": "7px", "--motion-feedback-duration": "120ms", "--motion-context-duration": "180ms", "--motion-context-exit-duration": "140ms", "--motion-orientation-duration": "260ms", "--motion-orientation-exit-duration": "200ms", "--motion-page-duration": "300ms", "--motion-context-x": "0px", "--motion-context-y": "6px", "--motion-pressed-scale": "0.97", "--motion-reduced": "0", "--motion-ease-enter": "cubic-bezier(0.2, 0.8, 0.2, 1)", "--motion-ease-exit": "cubic-bezier(0.4, 0, 1, 1)", "--tracking-display": "-0.03em", "--tracking-brand": "-0.035em", "--tracking-heading": "-0.02em", "--tracking-breadcrumb": "0.02em", "--tracking-h3": "-0.04em", "--tracking-eyebrow": "0.12em", "--tracking-uppercase": "0.16em", "--font-weight-regular": "var(--weight-regular)", "--font-weight-medium": "var(--weight-medium)", "--font-weight-semibold": "var(--weight-semi)", "--font-weight-bold": "var(--weight-bold)", "--brand-logo-symbol": "var(--brand-primary-container)", "--brand-logo-wordmark": "var(--ink-1)", "--brand-logo-mono": "var(--ink-1)", "--brand-logo-inverse": "var(--legacy-white)", "--brand-logo-orange": "var(--brand-primary-container)", "--brand-logo-line-theme": "var(--brand-logo-symbol)", "--brand-logo-line-black": "var(--brand-logo-mono)", "--brand-logo-line-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-start": "var(--primary-fixed)", "--brand-logo-solid-theme-end": "var(--brand-inverse-primary)", "--brand-logo-solid-wordmark": "var(--brand-logo-wordmark)", "--brand-logo-solid-black": "var(--brand-logo-mono)", "--brand-logo-solid-white": "var(--brand-logo-inverse)", "--brand-logo-solid-theme-bg": "var(--brand-logo-symbol)", "--brand-logo-solid-theme-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-black-bg": "var(--brand-logo-mono)", "--brand-logo-solid-black-fg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-bg": "var(--brand-logo-inverse)", "--brand-logo-solid-white-fg": "var(--brand-logo-mono)", "--elev-0": "none", "--elev-1": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)", "--elev-2": "0 2px 4px rgba(14, 14, 16, 0.04), 0 8px 24px rgba(14, 14, 16, 0.06)", "--elev-3": "0 4px 8px rgba(14, 14, 16, 0.05), 0 16px 36px rgba(14, 14, 16, 0.08)", "--elev-4": "0 8px 16px rgba(14, 14, 16, 0.06), 0 24px 56px rgba(14, 14, 16, 0.10)", "--elev-5": "0 16px 32px rgba(14, 14, 16, 0.08), 0 36px 80px rgba(14, 14, 16, 0.14)", "--elev-d-1": "0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 1px 2px rgba(0, 0, 0, 0.4)", "--elev-d-2": "0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 6px 16px rgba(0, 0, 0, 0.5)", "--elev-d-3": "0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px rgba(0, 0, 0, 0.55)", "--elev-d-4": "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 64px rgba(0, 0, 0, 0.6)", "--brand-gradient": "linear-gradient(135deg, var(--brand-primary-container), var(--brand-inverse-primary))", "--brand-glow": "0 0 8px rgba(16, 185, 129, 0.5)", "--legacy-button-shadow": "0 1px 0 rgba(0, 0, 0, 0.04)", "--legacy-critical-ring": "0 0 0 3px rgba(220, 38, 38, 0.14)", "--legacy-switch-shadow": "0 1px 3px rgba(0, 0, 0, 0.15)", "--legacy-ring": "rgba(16, 185, 129, 0.3)", "--legacy-brand-soft-hover": "rgba(16, 185, 129, 0.16)", "--legacy-brand-tint": "rgba(16, 185, 129, 0.14)", "--legacy-modal-scrim": "rgba(14, 14, 16, 0.55)", "--brand-soft": "var(--legacy-brand-soft)", "--duration-base": "var(--duration-mid)", "--duration-normal": "var(--duration-mid)", "--text-md": "var(--text-base)", "--brand": "var(--primary)", "--danger": "var(--critical)", "--shadow-1": "var(--elev-1)", "--shadow-2": "var(--elev-2)", "--focus-ring": "var(--shadow-focus-ring)", "--line-strong": "var(--outline)", "--weight-semibold": "var(--weight-semi)", "--control-border-width": "1px", "--control-border-style": "solid", "--control-radius": "var(--radius-default)", "--button-radius": "var(--control-radius)", "--button-border-width": "var(--control-border-width)", "--button-primary-background": "var(--primary)", "--button-primary-background-hover": "var(--primary-hover)", "--button-primary-background-active": "var(--primary-container)", "--button-primary-foreground": "var(--on-primary)", "--button-primary-foreground-hover": "var(--on-primary)", "--button-primary-foreground-active": "var(--on-primary-container)", "--button-primary-border": "transparent", "--button-primary-shadow": "var(--legacy-button-shadow)", "--button-secondary-background": "var(--surface)", "--button-secondary-background-hover": "var(--surface-2)", "--button-secondary-background-active": "color-mix(in srgb, var(--ink-1) 8%, var(--surface))", "--button-secondary-foreground": "var(--ink-1)", "--button-secondary-border": "var(--legacy-line)", "--button-secondary-border-hover": "var(--legacy-line-strong)", "--button-ghost-background": "transparent", "--button-ghost-background-hover": "var(--surface-2)", "--button-ghost-background-active": "color-mix(in srgb, var(--ink-1) 10%, transparent)", "--button-ghost-foreground": "var(--ink-2)", "--button-ghost-foreground-hover": "var(--ink-1)", "--button-danger-background": "var(--surface)", "--button-danger-background-hover": "var(--critical-soft)", "--button-danger-background-active": "color-mix(in srgb, var(--critical) 16%, var(--surface))", "--button-danger-foreground": "var(--critical)", "--button-danger-border": "var(--legacy-danger-line)", "--button-danger-border-hover": "var(--legacy-danger-line-hover)", "--field-border-width": "var(--control-border-width)", "--field-radius": "var(--control-radius)", "--field-background": "var(--surface)", "--field-shadow": "none", "--field-padding-inline": "12px", "--card-border-width": "var(--surface-border-width)", "--card-radius": "var(--radius-lg-token)", "--card-background": "var(--surface)", "--card-padding": "var(--space-5)", "--dialog-surface": "var(--surface)", "--dialog-border-width": "0px", "--dialog-border-color": "var(--line)", "--dialog-shadow": "var(--elev-5)", "--drawer-width": "320px", "--drawer-radius": "var(--radius-xl)", "--radius-lg-token": "var(--radius-md)", "--radius-xl-token": "var(--radius-lg)", "--radius-full-token": "var(--radius-pill)", "--surface-border-width": "1px", "--avatar-radius": "var(--radius-pill)", "--avatar-square-radius": "var(--radius-md)", "--control-group-radius": "var(--control-radius)", "--chip-radius": "var(--radius-pill)", "--dialog-radius": "var(--radius-xl)", "--checkbox-radius": "var(--radius-sm)", "--button-height-md": "34px", "--button-height-sm": "28px", "--field-height": "38px", "--field-border": "var(--outline)", "--field-label-font": "var(--font-mono)", "--interface-detail-font": "var(--font-mono)", "--field-label-transform": "uppercase", "--field-label-tracking": "0.14em", "--field-label-size": "var(--text-eyebrow)", "--navigation-link-radius": "var(--radius-md)", "--timeline-line": "var(--outline)", "--chart-primary": "oklch(0.54615 0.21521 262.881)", "--avatar-text": "var(--legacy-white)", "--chart-secondary": "oklch(0.56424 0.15410 41.861)", "--duration-instant": "var(--motion-feedback-duration)", "--duration-fast": "var(--motion-feedback-duration)", "--duration-mid": "var(--motion-context-duration)", "--duration-slow": "var(--motion-orientation-duration)", "--ease-out": "var(--motion-ease-enter)", "--ease-in": "var(--motion-ease-exit)", "--ease-emph": "var(--motion-ease-enter)", "--ease-spring": "var(--motion-ease-enter)", "--chart-tertiary": "oklch(0.57516 0.13034 63.772)", "--chart-quaternary": "oklch(0.54877 0.19892 358.788)", "--chart-quinary": "oklch(0.54134 0.24659 293.009)", "--chart-senary": "oklch(0.53613 0.09422 182.377)", "--chart-septenary": "oklch(0.45678 0.21458 277.023)", "--chart-octonary": "oklch(0.54919 0.09850 220.166)", "--auth-control-bg": "#fff", "--auth-control-text": "#1f1f1f", "--auth-control-border": "#747775", "--auth-control-hover": "#f8faff", "--auth-control-active": "#f0f4f9", "--scope-overflow-wrap": "normal", "--bg": "#f7f3ea", "--surface": "#fffdf8", "--surface-container-high": "#eceeef", "--surface-container-highest": "#e1e5e3", "--inverse-surface": "#202525", "--inverse-on-surface": "#f2f5f3", "--outline": "#707973", "--primary": "#087f5b", "--primary-container": "#054f39", "--primary-fixed": "#6ffbbe", "--primary-fixed-dim": "#4edea3", "--on-primary": "#ffffff", "--on-primary-container": "#ffffff", "--inverse-primary": "#4edea3", "--secondary": "#41556b", "--secondary-container": "#d4e4fa", "--secondary-fixed": "#d4e4fa", "--secondary-fixed-dim": "#b9c8de", "--on-secondary": "#ffffff", "--on-secondary-container": "#233143", "--tertiary": "#a23238", "--tertiary-container": "#ffdad7", "--tertiary-fixed": "#ffdad7", "--tertiary-fixed-dim": "#ffb3af", "--on-tertiary": "#ffffff", "--on-tertiary-container": "#650911", "--surface-2": "#f0ebe1", "--ink-1": "#111113", "--ink-2": "#3d3d42", "--ink-3": "#67645e", "--ink-4": "#706b62", "--line": "#e3dbcf", "--line-soft": "#eee7dc", "--critical": "#c73a2b", "--weak": "#c98211", "--ok": "#7aa51b", "--good": "#087f5b", "--info": "#2563eb", "--primary-hover": "#066649", "--primary-soft": "#e6f6ef", "--primary-ink": "#064e3b", "--critical-soft": "#fee7e5", "--weak-soft": "#fef3cc", "--ok-soft": "#ecfbca", "--good-soft": "#dcfce7", "--info-soft": "#dbeafe", "--on-critical": "#ffffff", "--critical-ink": "#991b1b", "--on-weak": "#3a2400", "--weak-ink": "#92400e", "--on-ok": "#1f2e02", "--ok-ink": "#3f6212", "--on-good": "#ffffff", "--good-ink": "#065f46", "--on-info": "#ffffff", "--info-ink": "#0a66c4", "--code-syntax-comment": "#586477", "--code-syntax-keyword": "#8541a1", "--code-syntax-string": "#17643c", "--code-syntax-number": "#8c471c", "--code-syntax-tag": "#164fa1", "--code-syntax-function": "#95501f", "--code-syntax-property": "#9b2942", "--code-syntax-punctuation": "#495568", "--surface-dim": "var(--bg)", "--surface-bright": "var(--surface)", "--surface-tint": "var(--primary)", "--surface-container-lowest": "var(--surface)", "--surface-container-low": "var(--surface-2)", "--surface-container": "var(--surface-2)", "--surface-variant": "var(--surface-container-highest)", "--on-surface": "var(--ink-1)", "--on-background": "var(--ink-1)", "--on-surface-variant": "var(--ink-3)", "--outline-variant": "var(--line)", "--error": "var(--critical)", "--error-container": "var(--critical-soft)", "--on-error": "var(--on-critical)", "--on-error-container": "var(--critical-ink)", "--border": "var(--line)", "--border-soft": "var(--line-soft)", "--shadow-card-dark": "var(--shadow-card-light)", "--shadow-glow-soft": "0 0 15px rgba(16, 185, 129, 0.10)", "--shadow-glow-hover": "0 0 25px rgba(16, 185, 129, 0.20)", "--shadow-glow-pulse": "0 0 18px rgba(16, 185, 129, 0.45)", "--shadow-focus-ring": "0 0 0 3px color-mix(in srgb, var(--primary) 24%, transparent)", "--shadow-focus-ring-soft": "0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent)", "--shadow-card-light": "0 1px 0 rgba(14, 14, 16, 0.04), 0 4px 12px rgba(14, 14, 16, 0.04)" } };
|
|
130
|
+
var componentHooks = ["--accordion-border-width", "--accordion-content-padding", "--accordion-content-size", "--accordion-divider-width", "--accordion-gap", "--accordion-item-border-width", "--accordion-item-radius", "--accordion-joined-open-background", "--accordion-lead-gap", "--accordion-open-background", "--accordion-sm-content-padding", "--accordion-sm-content-size", "--accordion-sm-leading", "--accordion-sm-trigger-padding", "--accordion-sm-trigger-size", "--accordion-surface", "--accordion-trigger-font", "--accordion-trigger-leading", "--accordion-trigger-padding", "--accordion-trigger-size", "--app-shell-body-padding", "--auth-control-font", "--avatar-background", "--avatar-custom-text", "--avatar-group-overlap-lg", "--avatar-group-overlap-md", "--avatar-group-overlap-sm", "--avatar-group-ring", "--avatar-size-md", "--badge-height", "--badge-padding-inline", "--badge-radius", "--brand-dot-background", "--brand-dot-radius", "--brand-dot-shadow", "--brand-logo-font", "--brand-logo-gap", "--brand-mark", "--brand-wordmark", "--breadcrumb-item-max", "--breadcrumb-wrap", "--bubble-end-border-width", "--bubble-max-width", "--bubble-padding", "--bubble-radius", "--bubble-tail-radius", "--button-danger-border-width", "--button-field-background", "--button-field-border", "--button-field-border-hover", "--button-field-foreground", "--button-field-weight", "--button-ghost-border-width", "--button-height-lg", "--button-padding-lg", "--button-padding-md", "--button-padding-sm", "--button-primary-border-width", "--button-secondary-border-width", "--button-white-space", "--calendar-border-width", "--calendar-control-radius", "--calendar-day-aspect", "--calendar-day-radius", "--calendar-day-size", "--calendar-label-align", "--calendar-label-order", "--calendar-max-width", "--calendar-month-size", "--calendar-month-width", "--calendar-nav-border-width", "--calendar-nav-size", "--calendar-padding", "--calendar-weekday-font", "--calendar-weekday-size", "--calendar-wrap", "--callout-description-gap", "--callout-description-size", "--callout-gap", "--callout-icon-size", "--callout-note-background", "--callout-note-icon-background", "--callout-note-icon-color", "--callout-padding", "--callout-radius", "--callout-success-background", "--callout-success-border", "--callout-success-icon-background", "--callout-success-icon-color", "--card-description-gap", "--card-description-leading", "--card-description-size", "--card-header-align", "--card-header-gap", "--card-header-margin-bottom", "--card-icon-background", "--card-icon-color", "--card-icon-glyph-size", "--card-icon-radius", "--card-icon-size", "--card-sm-description-size", "--card-sm-icon-glyph-size", "--card-sm-icon-size", "--card-sm-title-size", "--card-title-leading", "--card-title-size", "--card-title-weight", "--card-title-white-space", "--chip-gap", "--chip-height", "--chip-icon-size", "--chip-padding-inline", "--choice-align", "--choice-hit-height", "--code-accent", "--code-action-hover", "--code-action-text", "--code-body-padding", "--code-border", "--code-border-width", "--code-font-size", "--code-header-background", "--code-header-padding", "--code-line-height", "--code-radius", "--code-surface", "--code-syntax-text", "--code-text", "--combobox-input-height", "--command-description-color", "--command-description-gap", "--command-description-size", "--composer-border-width", "--composer-divider-width", "--composer-focus-shadow", "--composer-input-height", "--composer-input-min-height", "--composer-input-padding", "--composer-label-display", "--composer-resize", "--composer-shadow", "--composer-toolbar-height", "--composer-toolbar-padding", "--control-disabled-opacity", "--control-disabled-shadow", "--control-focus-offset", "--control-focus-outline", "--control-font-size", "--control-font-size-sm", "--control-font-weight", "--control-hover-border", "--control-icon-size-sm", "--control-line-height", "--control-pressed-shadow", "--control-pressed-transform", "--control-shadow", "--control-transform-duration", "--control-transform-ease", "--coverflow-angle", "--coverflow-gap", "--coverflow-item-padding", "--coverflow-item-width", "--coverflow-perspective", "--device-frame-bezel", "--device-frame-bezel-color", "--device-frame-phone-radius", "--device-frame-radius", "--dialog-align", "--dialog-enter-transform", "--dialog-max-height", "--dialog-scrim-padding", "--dismiss-control-size", "--drawer-body-padding", "--drawer-surface", "--embedded-action-radius", "--embedded-action-size", "--embedded-caret-size", "--embedded-clear-size", "--fab-extended-radius", "--fab-hover-shadow", "--fab-radius", "--fab-shadow", "--fab-surface", "--field-font-family", "--field-font-size", "--field-label-gap", "--field-label-weight", "--hero-accent", "--hero-actions-justify", "--hero-actions-margin", "--hero-align", "--hero-areas", "--hero-column-gap", "--hero-columns", "--hero-lead-color", "--hero-lead-leading", "--hero-lead-margin", "--hero-lead-size", "--hero-lead-tracking", "--hero-lead-weight", "--hero-media-gap", "--hero-padding", "--hero-title-case", "--hero-title-color", "--hero-title-descender", "--hero-title-fill", "--hero-title-leading", "--hero-title-margin", "--hero-title-size", "--hero-title-tracking", "--hero-title-weight", "--icon-button-icon-lg", "--icon-button-icon-md", "--icon-button-lg", "--icon-button-md", "--icon-button-sm", "--input-affix-icon-size", "--input-icon-prefix-background", "--input-icon-prefix-border", "--input-icon-prefix-gap", "--input-prefix-color", "--interface-label-tracking", "--interface-label-transform", "--item-description-gap", "--item-description-size", "--item-gap", "--item-media-color", "--item-media-size", "--item-title-leading", "--item-title-size", "--item-title-weight", "--matrix-point-size", "--multiselect-input-min-width", "--navigation-active-indicator-width", "--navigation-hit-height", "--navigation-menu-active-color", "--navigation-menu-active-weight", "--navigation-menu-font-size", "--navigation-menu-gap", "--navigation-menu-height", "--navigation-menu-indicator-inset", "--navigation-menu-indicator-size", "--navigation-menu-item-color", "--navigation-menu-item-height", "--navigation-menu-item-padding-inline", "--navigation-menu-item-radius", "--navigation-menu-item-weight", "--navigation-surface", "--navigation-toggle-size", "--notification-action-color", "--notification-danger-color", "--otp-cell-width", "--pagination-size", "--phone-input-height", "--plan-card-tag-inset-inline", "--prose-caption-color", "--prose-caption-gap", "--prose-caption-size", "--prose-flow", "--prose-font-body", "--prose-font-heading", "--prose-font-mono", "--prose-h1-margin-bottom", "--prose-h1-size", "--prose-h2-margin-block", "--prose-h2-size", "--prose-heading-leading", "--prose-heading-text-wrap", "--prose-heading-tracking", "--prose-heading-weight", "--prose-leading", "--prose-measure", "--prose-quote-accent", "--prose-quote-accent-width", "--prose-quote-background", "--prose-quote-border-width", "--prose-quote-color", "--prose-quote-padding", "--prose-quote-size", "--prose-size", "--section-columns", "--section-columns-gap", "--section-gap", "--section-order-1", "--section-order-2", "--section-order-3", "--section-order-4", "--section-stacked-gap", "--segment-active-background", "--segment-active-color", "--segment-active-weight", "--segment-height", "--segment-icon-height", "--segment-icon-width", "--segment-padding", "--segmented-border-width", "--segmented-height", "--selection-chip-height", "--selection-chip-radius", "--selection-hover-bg", "--selection-hover-text", "--selection-on-primary", "--site-footer-column-count", "--site-footer-columns", "--site-footer-gap", "--site-footer-heading-weight", "--site-footer-link-gap", "--site-footer-padding", "--split-control-size", "--subnav-active-background", "--subnav-active-color", "--subnav-active-shadow", "--subnav-active-weight", "--subnav-group-gap", "--subnav-heading-tracking", "--subnav-heading-transform", "--subnav-icon-gap", "--subnav-icon-size", "--subnav-indicator-color", "--subnav-indicator-width", "--subnav-item-align", "--subnav-item-gap", "--subnav-item-padding", "--switch-control-height", "--switch-control-icon-size", "--switch-control-padding", "--switch-height", "--switch-thumb-color", "--switch-thumb-inset", "--switch-thumb-off-color", "--switch-thumb-size", "--switch-track-off", "--switch-travel", "--switch-width", "--table-cell-padding", "--table-heading-padding", "--tabs-active-foreground", "--tabs-active-weight", "--tabs-font-size", "--tabs-panel-gap", "--tabs-pill-active-background", "--tabs-pill-align", "--tabs-pill-flex", "--tabs-tab-padding", "--text-lg", "--toc-item-padding", "--toc-item-size", "--toc-label-color", "--toc-label-font", "--toc-label-size", "--toc-label-tracking", "--toc-label-weight", "--toggle-height", "--toggle-padding"];
|
|
131
131
|
var known = /* @__PURE__ */ new Set([...Object.keys(raw.light), ...componentHooks]);
|
|
132
132
|
function createNativeTheme(theme, mode = "light") {
|
|
133
133
|
if (!modes.includes(mode)) throw new Error("Modo inv\xE1lido: " + mode);
|
|
@@ -200,7 +200,7 @@ function useRefy() {
|
|
|
200
200
|
|
|
201
201
|
// .build/src/primitives.tsx
|
|
202
202
|
import { Children, isValidElement } from "react";
|
|
203
|
-
import { Text } from "react-native";
|
|
203
|
+
import { Platform, Text } from "react-native";
|
|
204
204
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
205
205
|
function renderText(children, style, props = {}) {
|
|
206
206
|
const items = Children.toArray(children);
|
|
@@ -238,7 +238,10 @@ function paddingFrom(t, name2, fallback) {
|
|
|
238
238
|
return { paddingTop: top, paddingRight: right, paddingBottom: bottom, paddingLeft: left };
|
|
239
239
|
}
|
|
240
240
|
function fill(value) {
|
|
241
|
-
if (value && /^(repeating-)?linear-gradient\(/.test(value.trim()))
|
|
241
|
+
if (value && /^(repeating-)?linear-gradient\(/.test(value.trim())) {
|
|
242
|
+
if (Platform.OS === "web") return { backgroundImage: value };
|
|
243
|
+
return { experimental_backgroundImage: value };
|
|
244
|
+
}
|
|
242
245
|
return { backgroundColor: value };
|
|
243
246
|
}
|
|
244
247
|
|
|
@@ -308,7 +311,10 @@ function Badge({ tone = "neutral", dot = false, children, style, ...rest }) {
|
|
|
308
311
|
// .build/src/components/BrandLogo.tsx
|
|
309
312
|
import { useEffect as useEffect2, useRef } from "react";
|
|
310
313
|
import { Animated, Easing, Text as Text2, View as View2 } from "react-native";
|
|
314
|
+
import Svg, { Path } from "react-native-svg";
|
|
311
315
|
import { Fragment, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
316
|
+
var SYMBOL_EM = 1.22;
|
|
317
|
+
var MONOGRAM_EM = 1.75;
|
|
312
318
|
var sizes = {
|
|
313
319
|
xs: [16, 4, 2],
|
|
314
320
|
sm: [22, 5, 3],
|
|
@@ -316,10 +322,14 @@ var sizes = {
|
|
|
316
322
|
lg: [48, 10, 7],
|
|
317
323
|
xl: [72, 14, 11]
|
|
318
324
|
};
|
|
319
|
-
function BrandLogo({ brand = "refy", size = "sm", tone = "default", animated = false, markOnly = false, children, style, ...rest }) {
|
|
325
|
+
function BrandLogo({ brand = "refy", size = "sm", tone = "default", animated = false, markOnly = false, symbol = false, height, children, style, ...rest }) {
|
|
320
326
|
const t = useRefy();
|
|
321
327
|
const reduced = useReducedMotion(t.pick("--motion-reduced", 0) === 1);
|
|
322
|
-
const [
|
|
328
|
+
const [baseSize, dot, dotBottom] = sizes[size];
|
|
329
|
+
const withSymbol = symbol && !children;
|
|
330
|
+
const monogram = markOnly && !withSymbol && !children;
|
|
331
|
+
const fontSize = height ? height / (withSymbol ? SYMBOL_EM : monogram ? MONOGRAM_EM : 1) : baseSize;
|
|
332
|
+
const fixed = withSymbol || height !== void 0;
|
|
323
333
|
const pulse = useRef(new Animated.Value(1)).current;
|
|
324
334
|
const live = animated && !reduced && !markOnly;
|
|
325
335
|
useEffect2(() => {
|
|
@@ -335,9 +345,20 @@ function BrandLogo({ brand = "refy", size = "sm", tone = "default", animated = f
|
|
|
335
345
|
const color = tone === "inverse" ? t.pick("--legacy-white") : t.pick("--ink-1");
|
|
336
346
|
const word = { color, fontSize, lineHeight: fontSize, letterSpacing: 0, ...t.font(["--brand-logo-font", "--font-mono"], "--weight-bold") };
|
|
337
347
|
const primaryContainer = t.pick("--primary-container");
|
|
338
|
-
const markSide = t.size("--brand-mark-size",
|
|
339
|
-
|
|
340
|
-
|
|
348
|
+
const markSide = height && monogram ? height : t.size("--brand-mark-size", MONOGRAM_EM * fontSize, fontSize);
|
|
349
|
+
if (withSymbol) {
|
|
350
|
+
const markHeight = SYMBOL_EM * fontSize;
|
|
351
|
+
const wordColor = tone === "inverse" ? t.pick("--legacy-white") : t.pick("--brand-wordmark", "--ink-1");
|
|
352
|
+
return /* @__PURE__ */ jsxs2(View2, { accessible: true, accessibilityRole: "image", accessibilityLabel: brand, ...rest, style: [{ flexDirection: "row", alignItems: "center", alignSelf: "flex-start", gap: markOnly ? 0 : t.size("--brand-logo-gap", 0.18 * fontSize, fontSize) }, height ? { height } : null, style], children: [
|
|
353
|
+
/* @__PURE__ */ jsxs2(Svg, { width: 26 / 36 * markHeight, height: markHeight, viewBox: "0 0 26 36", fill: t.pick("--brand-mark", "--brand-primary-container", "--primary-container"), children: [
|
|
354
|
+
/* @__PURE__ */ jsx4(Path, { d: "M0 12A12 12 0 0 1 12 0h14a12 12 0 0 1-12 12H0Z" }),
|
|
355
|
+
/* @__PURE__ */ jsx4(Path, { d: "M0 15h12v9A12 12 0 0 1 0 36V15Z" })
|
|
356
|
+
] }),
|
|
357
|
+
!markOnly && /* @__PURE__ */ jsx4(Text2, { allowFontScaling: false, style: { color: wordColor, fontSize, lineHeight: fontSize, letterSpacing: -0.06 * fontSize, ...t.fonts("Manrope", 800) }, children: "refy" })
|
|
358
|
+
] });
|
|
359
|
+
}
|
|
360
|
+
return /* @__PURE__ */ jsx4(View2, { accessible: true, accessibilityRole: "image", accessibilityLabel: brand, ...rest, style: [{ flexDirection: "row", alignItems: "flex-end", alignSelf: "flex-start", gap: markOnly ? 0 : t.size("--brand-logo-gap", 0.27 * fontSize, fontSize) }, height ? { height } : null, style], children: children ?? (markOnly ? /* @__PURE__ */ jsx4(View2, { style: { width: markSide, height: markSide, borderRadius: t.pick("--radius-default", 4), backgroundColor: t.pick("--primary"), alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsx4(Text2, { allowFontScaling: !fixed, style: { color: t.pick("--on-primary"), fontSize: 0.72 * fontSize, letterSpacing: 0, ...t.font("--font-headline", "--weight-bold") }, children: "r" }) }) : /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
361
|
+
/* @__PURE__ */ jsx4(Text2, { allowFontScaling: !fixed, style: word, children: "refy" }),
|
|
341
362
|
/* @__PURE__ */ jsx4(
|
|
342
363
|
Animated.View,
|
|
343
364
|
{
|
|
@@ -482,7 +503,7 @@ var Button = forwardRef(function Button2({ variant = "secondary", interactionSta
|
|
|
482
503
|
|
|
483
504
|
// .build/src/components/Card.tsx
|
|
484
505
|
import { View as View4 } from "react-native";
|
|
485
|
-
import
|
|
506
|
+
import Svg2, { Defs, RadialGradient, Rect, Stop, LinearGradient } from "react-native-svg";
|
|
486
507
|
import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
487
508
|
function invertedTokens(white, mix) {
|
|
488
509
|
return {
|
|
@@ -522,7 +543,7 @@ function Card({ elevation = 0, padding = "md", tone = "default", children, style
|
|
|
522
543
|
style
|
|
523
544
|
],
|
|
524
545
|
children: [
|
|
525
|
-
inverted && /* @__PURE__ */ jsxs4(
|
|
546
|
+
inverted && /* @__PURE__ */ jsxs4(Svg2, { pointerEvents: "none", style: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0 }, width: "100%", height: "100%", preserveAspectRatio: "none", children: [
|
|
526
547
|
/* @__PURE__ */ jsxs4(Defs, { children: [
|
|
527
548
|
/* @__PURE__ */ jsxs4(LinearGradient, { id: "refy-card-base", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
|
528
549
|
/* @__PURE__ */ jsx6(Stop, { offset: "0", stopColor: ink }),
|
|
@@ -690,7 +711,7 @@ function ConnectorCard({ logo, name: name2, status, description, meta, actions,
|
|
|
690
711
|
// .build/src/components/EmptyState.tsx
|
|
691
712
|
import { View as View7 } from "react-native";
|
|
692
713
|
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
693
|
-
function EmptyState({ icon, title, message, action, bordered = true, style, ...rest }) {
|
|
714
|
+
function EmptyState({ icon, title, message: message2, action, bordered = true, style, ...rest }) {
|
|
694
715
|
const t = useRefy();
|
|
695
716
|
const line4 = t.pick("--line", "--surface-container-high");
|
|
696
717
|
const width = t.pick("--surface-border-width", 1);
|
|
@@ -706,7 +727,7 @@ function EmptyState({ icon, title, message, action, bordered = true, style, ...r
|
|
|
706
727
|
children: [
|
|
707
728
|
icon != null && /* @__PURE__ */ jsx9(View7, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: { width: 56, height: 56, alignItems: "center", justifyContent: "center", backgroundColor: t.pick("--surface-2", "--surface-container-low"), borderWidth: width, borderColor: line4, borderRadius: t.pick("--radius-lg") }, children: icon }),
|
|
708
729
|
/* @__PURE__ */ jsx9(View7, { accessibilityRole: "header", children: renderText(title, { ...baseText(t, { size: 18, color: "--ink-1", family: "--font-headline", weight: "--weight-semi" }), textAlign: "center" }) }),
|
|
709
|
-
|
|
730
|
+
message2 != null && /* @__PURE__ */ jsx9(View7, { style: { maxWidth: 36 * 7 }, children: renderText(message2, { ...baseText(t, { size: t.pick("--text-sm"), color: "--ink-3" }), textAlign: "center" }) }),
|
|
710
731
|
action != null && /* @__PURE__ */ jsx9(View7, { style: { marginTop: t.pick("--space-1") }, children: action })
|
|
711
732
|
]
|
|
712
733
|
}
|
|
@@ -833,7 +854,7 @@ function Item({ title, description, media, actions, onClick, selected = false, v
|
|
|
833
854
|
// .build/src/components/Modal.tsx
|
|
834
855
|
import { useEffect as useEffect4, useRef as useRef3, useState as useState4 } from "react";
|
|
835
856
|
import { AccessibilityInfo as AccessibilityInfo2, Animated as Animated3, Easing as Easing3, Modal as RNModal, Pressable as Pressable4, ScrollView, View as View11, useWindowDimensions } from "react-native";
|
|
836
|
-
import
|
|
857
|
+
import Svg3, { Path as Path2 } from "react-native-svg";
|
|
837
858
|
import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
838
859
|
function Modal({ role = "dialog", hideCloseButton = false, closeOnBackdrop = true, ariaDescribedBy, open, onClose, title, ariaLabel = "Janela modal", footer, width = 520, children, style, ...rest }) {
|
|
839
860
|
const t = useRefy();
|
|
@@ -897,7 +918,7 @@ function Modal({ role = "dialog", hideCloseButton = false, closeOnBackdrop = tru
|
|
|
897
918
|
children: [
|
|
898
919
|
title != null && /* @__PURE__ */ jsxs11(View11, { style: { flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: 16, paddingTop: 18, paddingBottom: 18, paddingRight: 20, paddingLeft: 24, borderBottomWidth: 1, borderBottomColor: line4 }, children: [
|
|
899
920
|
/* @__PURE__ */ jsx13(View11, { accessibilityRole: "header", style: { flexShrink: 1 }, children: renderText(title, { color: t.pick("--ink-1"), fontSize: h5, letterSpacing: -0.01 * h5, ...t.font("--font-headline", "--weight-semi") }) }),
|
|
900
|
-
!hideCloseButton && /* @__PURE__ */ jsx13(Pressable4, { accessibilityRole: "button", accessibilityLabel: "Fechar", onPress: onClose, hitSlop: 6, style: ({ pressed }) => ({ width: t.size("--icon-button-md", 32), height: t.size("--icon-button-md", 32), alignItems: "center", justifyContent: "center", borderRadius: t.pick("--control-radius", "--radius-default", 6), backgroundColor: pressed ? t.mix(t.pick("--ink-1"), 9, "transparent") : "transparent" }), children: /* @__PURE__ */ jsx13(
|
|
921
|
+
!hideCloseButton && /* @__PURE__ */ jsx13(Pressable4, { accessibilityRole: "button", accessibilityLabel: "Fechar", onPress: onClose, hitSlop: 6, style: ({ pressed }) => ({ width: t.size("--icon-button-md", 32), height: t.size("--icon-button-md", 32), alignItems: "center", justifyContent: "center", borderRadius: t.pick("--control-radius", "--radius-default", 6), backgroundColor: pressed ? t.mix(t.pick("--ink-1"), 9, "transparent") : "transparent" }), children: /* @__PURE__ */ jsx13(Svg3, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-1"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx13(Path2, { d: "M18 6 6 18M6 6l12 12" }) }) })
|
|
901
922
|
] }),
|
|
902
923
|
/* @__PURE__ */ jsx13(ScrollView, { style: { flexGrow: 0 }, contentContainerStyle: { padding: 24 }, children: renderText(children, { color: t.pick("--ink-2"), fontSize: bodySize, lineHeight: Math.round(bodySize * 1.55), ...t.font("--font-body", "--weight-regular") }) }),
|
|
903
924
|
footer != null && /* @__PURE__ */ jsx13(View11, { style: { flexDirection: "row", alignItems: "center", justifyContent: "flex-end", gap: 10, paddingVertical: 16, paddingHorizontal: 24, borderTopWidth: 1, borderTopColor: line4, backgroundColor: t.pick("--surface-2") }, children: footer })
|
|
@@ -910,7 +931,7 @@ function Modal({ role = "dialog", hideCloseButton = false, closeOnBackdrop = tru
|
|
|
910
931
|
|
|
911
932
|
// .build/src/components/OAuthButton.tsx
|
|
912
933
|
import { forwardRef as forwardRef3 } from "react";
|
|
913
|
-
import
|
|
934
|
+
import Svg4, { Path as Path3 } from "react-native-svg";
|
|
914
935
|
|
|
915
936
|
// .build/src/components/providerIcons.ts
|
|
916
937
|
var providerIcons = {
|
|
@@ -927,11 +948,11 @@ var providerIcons = {
|
|
|
927
948
|
import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
928
949
|
var names = { google: "Google", facebook: "Facebook", linkedin: "LinkedIn", spotify: "Spotify", github: "GitHub", x: "X", apple: "Apple", microsoft: "Microsoft" };
|
|
929
950
|
function GoogleIcon() {
|
|
930
|
-
return /* @__PURE__ */ jsxs12(
|
|
931
|
-
/* @__PURE__ */ jsx14(
|
|
932
|
-
/* @__PURE__ */ jsx14(
|
|
933
|
-
/* @__PURE__ */ jsx14(
|
|
934
|
-
/* @__PURE__ */ jsx14(
|
|
951
|
+
return /* @__PURE__ */ jsxs12(Svg4, { width: 18, height: 18, viewBox: "0 0 18 18", children: [
|
|
952
|
+
/* @__PURE__ */ jsx14(Path3, { fill: "#4285F4", d: "M17.64 9.2c0-.64-.06-1.25-.16-1.84H9v3.48h4.84a4.14 4.14 0 0 1-1.8 2.72v2.26h2.92c1.71-1.57 2.68-3.89 2.68-6.62Z" }),
|
|
953
|
+
/* @__PURE__ */ jsx14(Path3, { fill: "#34A853", d: "M9 18c2.43 0 4.47-.8 5.96-2.18l-2.92-2.26c-.8.54-1.84.86-3.04.86-2.34 0-4.32-1.58-5.03-3.71H.96v2.33A9 9 0 0 0 9 18Z" }),
|
|
954
|
+
/* @__PURE__ */ jsx14(Path3, { fill: "#FBBC05", d: "M3.97 10.71a5.4 5.4 0 0 1 0-3.42V4.96H.96a9 9 0 0 0 0 8.08l3.01-2.33Z" }),
|
|
955
|
+
/* @__PURE__ */ jsx14(Path3, { fill: "#EA4335", d: "M9 3.58c1.32 0 2.5.45 3.44 1.35l2.58-2.59C13.46.89 11.43 0 9 0A9 9 0 0 0 .96 4.96l3.01 2.33C4.68 5.16 6.66 3.58 9 3.58Z" })
|
|
935
956
|
] });
|
|
936
957
|
}
|
|
937
958
|
var OAuthButton = forwardRef3(function OAuthButton2({ provider, children, ...props }, ref) {
|
|
@@ -964,7 +985,7 @@ var OAuthButton = forwardRef3(function OAuthButton2({ provider, children, ...pro
|
|
|
964
985
|
...props,
|
|
965
986
|
ref,
|
|
966
987
|
variant: "secondary",
|
|
967
|
-
leadingIcon: /* @__PURE__ */ jsx14(
|
|
988
|
+
leadingIcon: /* @__PURE__ */ jsx14(Svg4, { width: 18, height: 18, viewBox: "0 0 24 24", fill: t.pick("--button-secondary-foreground", "--ink-1"), children: /* @__PURE__ */ jsx14(Path3, { d: providerIcons[provider] }) }),
|
|
968
989
|
children: label
|
|
969
990
|
}
|
|
970
991
|
);
|
|
@@ -973,12 +994,12 @@ var OAuthButton = forwardRef3(function OAuthButton2({ provider, children, ...pro
|
|
|
973
994
|
// .build/src/components/PageHeader.tsx
|
|
974
995
|
import { View as View12 } from "react-native";
|
|
975
996
|
import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
976
|
-
function PageHeader({ eyebrow, title, lead, actions, breadcrumb, style, ...rest }) {
|
|
997
|
+
function PageHeader({ eyebrow, title, lead, actions, breadcrumb: breadcrumb2, style, ...rest }) {
|
|
977
998
|
const t = useRefy();
|
|
978
999
|
const eyebrowSize = t.pick("--text-eyebrow", 11);
|
|
979
1000
|
const titleSize = t.pick("--text-h3", 30);
|
|
980
1001
|
return /* @__PURE__ */ jsxs13(View12, { ...rest, style: [{ marginBottom: t.pick("--space-8") }, style], children: [
|
|
981
|
-
|
|
1002
|
+
breadcrumb2 != null && /* @__PURE__ */ jsx15(View12, { style: { marginBottom: t.pick("--space-4") }, children: breadcrumb2 }),
|
|
982
1003
|
/* @__PURE__ */ jsxs13(View12, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "flex-end", justifyContent: "space-between", gap: t.pick("--space-6") }, children: [
|
|
983
1004
|
/* @__PURE__ */ jsxs13(View12, { style: { minWidth: 0, flexShrink: 1 }, children: [
|
|
984
1005
|
eyebrow != null && /* @__PURE__ */ jsx15(View12, { style: { flexDirection: "row", alignItems: "center", gap: t.pick("--space-2"), marginBottom: t.pick("--space-2") }, children: renderText(eyebrow, {
|
|
@@ -1151,7 +1172,7 @@ function Segmented({ options, value, defaultValue, onChange, label, disabled = f
|
|
|
1151
1172
|
// .build/src/components/Select.tsx
|
|
1152
1173
|
import { useId as useId2, useState as useState7 } from "react";
|
|
1153
1174
|
import { FlatList, Modal as Modal2, Pressable as Pressable6, Text as Text6, View as View15 } from "react-native";
|
|
1154
|
-
import
|
|
1175
|
+
import Svg5, { Path as Path4 } from "react-native-svg";
|
|
1155
1176
|
import { jsx as jsx19, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1156
1177
|
function Select({ label, hint, error, block = true, options, value, onValueChange, placeholder = "Selecione", disabled = false, style, ...rest }) {
|
|
1157
1178
|
const t = useRefy();
|
|
@@ -1175,7 +1196,7 @@ function Select({ label, hint, error, block = true, options, value, onValueChang
|
|
|
1175
1196
|
style: [surfaceStyle(t, { focused: open, error: Boolean(error), disabled }), { height, flexDirection: "row", alignItems: "center", paddingLeft: t.pick("--field-padding-inline", 12), paddingRight: 34 }, style],
|
|
1176
1197
|
children: [
|
|
1177
1198
|
/* @__PURE__ */ jsx19(Text6, { numberOfLines: 1, style: { flex: 1, fontSize, color: t.pick(selected ? "--ink-1" : "--ink-4"), ...t.font("--font-body", "--weight-regular") }, children: selected?.label ?? placeholder }),
|
|
1178
|
-
/* @__PURE__ */ jsx19(
|
|
1199
|
+
/* @__PURE__ */ jsx19(Svg5, { style: { position: "absolute", right: 11 }, width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-3"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx19(Path4, { d: "m6 9 6 6 6-6" }) })
|
|
1179
1200
|
]
|
|
1180
1201
|
}
|
|
1181
1202
|
),
|
|
@@ -1215,7 +1236,7 @@ function Select({ label, hint, error, block = true, options, value, onValueChang
|
|
|
1215
1236
|
// .build/src/components/SettingRow.tsx
|
|
1216
1237
|
import { Children as Children3, Fragment as Fragment4, useId as useId3 } from "react";
|
|
1217
1238
|
import { Pressable as Pressable7, Switch, View as View16 } from "react-native";
|
|
1218
|
-
import
|
|
1239
|
+
import Svg6, { Path as Path5 } from "react-native-svg";
|
|
1219
1240
|
import { Fragment as Fragment5, jsx as jsx20, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1220
1241
|
function SettingRow({ title, description, meta, leading, leadingFrame = false, actions, disabled = false, showChevron = true, onPress, switchProps, style, ...rest }) {
|
|
1221
1242
|
const t = useRefy();
|
|
@@ -1242,7 +1263,7 @@ function SettingRow({ title, description, meta, leading, leadingFrame = false, a
|
|
|
1242
1263
|
...switchProps
|
|
1243
1264
|
}
|
|
1244
1265
|
),
|
|
1245
|
-
clickable && showChevron && /* @__PURE__ */ jsx20(
|
|
1266
|
+
clickable && showChevron && /* @__PURE__ */ jsx20(Svg6, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: t.pick(pressed && !disabled ? "--primary-ink" : "--ink-4"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx20(Path5, { d: "m9 18 6-6-6-6" }) })
|
|
1246
1267
|
] });
|
|
1247
1268
|
const rowStyle = { flexDirection: "row", alignItems: "center", gap: t.pick("--space-4"), paddingVertical: t.pick("--space-3"), minHeight: clickable ? MIN_TOUCH : void 0, opacity: disabled ? 0.55 : 1 };
|
|
1248
1269
|
if (clickable) {
|
|
@@ -1270,7 +1291,7 @@ function SettingRowGroup({ children, "aria-label": label, style, ...rest }) {
|
|
|
1270
1291
|
|
|
1271
1292
|
// .build/src/components/Stat.tsx
|
|
1272
1293
|
import { Text as Text7, View as View17 } from "react-native";
|
|
1273
|
-
import
|
|
1294
|
+
import Svg7, { Path as Path6 } from "react-native-svg";
|
|
1274
1295
|
import { jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1275
1296
|
var trendPath = { up: "M7 17 17 7M8 7h9v9", down: "M7 7l10 10M17 8v9H8" };
|
|
1276
1297
|
var sizeToken = { sm: "--text-h4", md: "--text-h3", lg: "--text-h2" };
|
|
@@ -1293,7 +1314,7 @@ function Stat({ label, value, unit, description, delta, chart, size = "md", styl
|
|
|
1293
1314
|
] })
|
|
1294
1315
|
] }),
|
|
1295
1316
|
delta && /* @__PURE__ */ jsxs17(View17, { style: { flexDirection: "row", alignItems: "center", gap: 2 }, children: [
|
|
1296
|
-
/* @__PURE__ */ jsx21(
|
|
1317
|
+
/* @__PURE__ */ jsx21(Svg7, { width: t.pick("--space-3"), height: t.pick("--space-3"), viewBox: "0 0 24 24", fill: "none", stroke: deltaColor, strokeWidth: 2.4, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx21(Path6, { d: trendPath[delta.trend] }) }),
|
|
1297
1318
|
renderText(delta.value, { ...baseText(t, { size: t.pick("--text-xs"), color: "--ink-3", family: ["--interface-detail-font", "--font-mono"], weight: "--weight-semi" }), color: deltaColor, fontVariant: ["tabular-nums"] })
|
|
1298
1319
|
] })
|
|
1299
1320
|
] }),
|
|
@@ -1310,12 +1331,12 @@ function StatGroup({ children, minTileWidth = 180, style, ...rest }) {
|
|
|
1310
1331
|
// .build/src/components/Tabs.tsx
|
|
1311
1332
|
import { useEffect as useEffect7, useRef as useRef6, useState as useState8 } from "react";
|
|
1312
1333
|
import { Animated as Animated6, Easing as Easing6, Pressable as Pressable8, ScrollView as ScrollView4, Text as Text8, View as View18 } from "react-native";
|
|
1313
|
-
import
|
|
1334
|
+
import Svg8, { Path as Path7 } from "react-native-svg";
|
|
1314
1335
|
import { Fragment as Fragment6, jsx as jsx22, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1315
1336
|
function StatusIcon({ status, color }) {
|
|
1316
|
-
return /* @__PURE__ */ jsx22(
|
|
1317
|
-
/* @__PURE__ */ jsx22(
|
|
1318
|
-
/* @__PURE__ */ jsx22(
|
|
1337
|
+
return /* @__PURE__ */ jsx22(Svg8, { width: 13, height: 13, viewBox: "0 0 16 16", fill: "none", stroke: color, strokeWidth: status === "complete" ? 2 : 1.7, strokeLinecap: "round", strokeLinejoin: "round", children: status === "complete" ? /* @__PURE__ */ jsx22(Path7, { d: "m3 8 3 3 7-7" }) : /* @__PURE__ */ jsxs18(Fragment6, { children: [
|
|
1338
|
+
/* @__PURE__ */ jsx22(Path7, { d: "M8 2 14 13H2L8 2Z" }),
|
|
1339
|
+
/* @__PURE__ */ jsx22(Path7, { d: "M8 6v3M8 11.5h.01" })
|
|
1319
1340
|
] }) });
|
|
1320
1341
|
}
|
|
1321
1342
|
function Indicator({ on, vertical }) {
|
|
@@ -1345,7 +1366,7 @@ function Tabs({ items, value, defaultValue, onChange, variant = "underline", ori
|
|
|
1345
1366
|
const fontSize = t.size("--tabs-font-size", t.size("--text-sm", 13));
|
|
1346
1367
|
const hit = Math.max(MIN_TOUCH, t.size("--navigation-hit-height", 0));
|
|
1347
1368
|
const activeItem = items.find((item) => item.id === active);
|
|
1348
|
-
const
|
|
1369
|
+
const tabs2 = items.map((item) => {
|
|
1349
1370
|
const on = item.id === active;
|
|
1350
1371
|
const color = on ? t.pick(vertical ? "--ink-1" : "--tabs-active-foreground", "--ink-1") : t.pick("--ink-3");
|
|
1351
1372
|
const weight = on ? vertical ? "--weight-semi" : t.pick("--tabs-active-weight", "--weight-medium") : "--weight-medium";
|
|
@@ -1385,7 +1406,7 @@ function Tabs({ items, value, defaultValue, onChange, variant = "underline", ori
|
|
|
1385
1406
|
});
|
|
1386
1407
|
const listStyle = vertical ? { flexDirection: "column", alignItems: "stretch", borderLeftWidth: 1, borderLeftColor: line4 } : pill ? { flexDirection: "row", gap: 2, padding: 3, borderRadius: t.pick("--radius-lg", 12), backgroundColor: t.pick("--surface-2"), alignSelf: t.pick("--tabs-pill-align", "flex-start") } : { flexDirection: "row", gap: 20, borderBottomWidth: 1, borderBottomColor: line4 };
|
|
1387
1408
|
return /* @__PURE__ */ jsxs18(View18, { ...rest, style: [{ flexDirection: vertical ? "row" : "column", alignItems: vertical ? "flex-start" : "stretch", gap: vertical ? t.size("--space-5", 24) : t.size("--tabs-panel-gap", 20) }, style], children: [
|
|
1388
|
-
vertical || wrap ? /* @__PURE__ */ jsx22(View18, { accessibilityRole: "tablist", style: [listStyle, wrap && !vertical ? { flexWrap: "wrap" } : null], children:
|
|
1409
|
+
vertical || wrap ? /* @__PURE__ */ jsx22(View18, { accessibilityRole: "tablist", style: [listStyle, wrap && !vertical ? { flexWrap: "wrap" } : null], children: tabs2 }) : /* @__PURE__ */ jsx22(ScrollView4, { horizontal: true, showsHorizontalScrollIndicator: false, accessibilityRole: "tablist", style: { flexGrow: 0, alignSelf: pill ? listStyle.alignSelf : "stretch" }, contentContainerStyle: listStyle, children: tabs2 }),
|
|
1389
1410
|
activeItem?.content != null && /* @__PURE__ */ jsx22(View18, { style: { minWidth: 0, flex: vertical ? 1 : void 0, paddingTop: vertical ? t.size("--space-2", 8) : 0 }, children: activeItem.content })
|
|
1390
1411
|
] });
|
|
1391
1412
|
}
|
|
@@ -1428,10 +1449,10 @@ var Textarea = forwardRef5(function Textarea2({ label, hint, error, block = true
|
|
|
1428
1449
|
// .build/src/components/Toast.tsx
|
|
1429
1450
|
import { useEffect as useEffect8, useRef as useRef7, useState as useState10 } from "react";
|
|
1430
1451
|
import { AccessibilityInfo as AccessibilityInfo3, Animated as Animated7, Easing as Easing7, Pressable as Pressable9, Text as Text9, View as View19, useWindowDimensions as useWindowDimensions2 } from "react-native";
|
|
1431
|
-
import
|
|
1452
|
+
import Svg9, { Circle, Line, Polyline } from "react-native-svg";
|
|
1432
1453
|
import { Fragment as Fragment7, jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1433
1454
|
function ToneIcon({ tone, color }) {
|
|
1434
|
-
return /* @__PURE__ */ jsxs19(
|
|
1455
|
+
return /* @__PURE__ */ jsxs19(Svg9, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2.4, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
1435
1456
|
/* @__PURE__ */ jsx24(Circle, { cx: 12, cy: 12, r: 10 }),
|
|
1436
1457
|
tone === "success" ? /* @__PURE__ */ jsx24(Polyline, { points: "8.5 12.5 11 15 15.5 9.5" }) : /* @__PURE__ */ jsxs19(Fragment7, { children: [
|
|
1437
1458
|
/* @__PURE__ */ jsx24(Line, { x1: 12, y1: 7.5, x2: 12, y2: 13 }),
|
|
@@ -1528,7 +1549,7 @@ function Toast({ id, title, description, tone = "default", action, duration = 5e
|
|
|
1528
1549
|
action.onClick();
|
|
1529
1550
|
requestDismiss();
|
|
1530
1551
|
}, hitSlop: { ...hitSlopFor(actionHeight), left: 8, right: 8 }, style: { alignSelf: "center", height: actionHeight, justifyContent: "center" }, children: /* @__PURE__ */ jsx24(Text9, { style: { color: actionColor, fontSize: sm, lineHeight: Math.round(sm * 1.4), ...t.font("--font-body", "--weight-semi") }, children: action.label }) }),
|
|
1531
|
-
onDismiss && /* @__PURE__ */ jsx24(Pressable9, { accessibilityRole: "button", accessibilityLabel: "Fechar", onPress: requestDismiss, hitSlop: hitSlopFor(dismissSize, dismissSize), style: ({ pressed }) => ({ alignSelf: "center", width: dismissSize, height: dismissSize, alignItems: "center", justifyContent: "center", borderRadius: t.pick("--control-group-radius", "--radius-pill"), opacity: pressed ? 1 : 0.55 }), children: /* @__PURE__ */ jsxs19(
|
|
1552
|
+
onDismiss && /* @__PURE__ */ jsx24(Pressable9, { accessibilityRole: "button", accessibilityLabel: "Fechar", onPress: requestDismiss, hitSlop: hitSlopFor(dismissSize, dismissSize), style: ({ pressed }) => ({ alignSelf: "center", width: dismissSize, height: dismissSize, alignItems: "center", justifyContent: "center", borderRadius: t.pick("--control-group-radius", "--radius-pill"), opacity: pressed ? 1 : 0.55 }), children: /* @__PURE__ */ jsxs19(Svg9, { width: 11, height: 11, viewBox: "0 0 24 24", fill: "none", stroke: surface, strokeWidth: 2.4, strokeLinecap: "round", children: [
|
|
1532
1553
|
/* @__PURE__ */ jsx24(Line, { x1: 6, y1: 6, x2: 18, y2: 18 }),
|
|
1533
1554
|
/* @__PURE__ */ jsx24(Line, { x1: 18, y1: 6, x2: 6, y2: 18 })
|
|
1534
1555
|
] }) })
|
|
@@ -1547,7 +1568,7 @@ function ToastRegion({ toasts, onDismiss, position = "bottom-right", style, ...r
|
|
|
1547
1568
|
// .build/src/components/WizardStepper.tsx
|
|
1548
1569
|
import { useEffect as useEffect9, useRef as useRef8, useState as useState11 } from "react";
|
|
1549
1570
|
import { Animated as Animated8, Easing as Easing8, Pressable as Pressable10, Text as Text10, View as View20 } from "react-native";
|
|
1550
|
-
import
|
|
1571
|
+
import Svg10, { Path as Path8 } from "react-native-svg";
|
|
1551
1572
|
import { jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1552
1573
|
var COMPACT_BELOW = 620;
|
|
1553
1574
|
function WizardStepper({ steps, current, label = "Progresso", variant = "auto", allowFutureNavigation = false, onStepChange, onBack, backLabel = "Voltar \xE0 etapa anterior", style, onLayout, ...rest }) {
|
|
@@ -1581,7 +1602,7 @@ function WizardStepper({ steps, current, label = "Progresso", variant = "auto",
|
|
|
1581
1602
|
onPress: onBack,
|
|
1582
1603
|
hitSlop: 8,
|
|
1583
1604
|
style: ({ pressed }) => ({ width: t.size("--icon-button-sm", 28), height: t.size("--icon-button-sm", 28), alignItems: "center", justifyContent: "center", borderRadius: t.pick("--control-radius", "--radius-sm", 6), opacity: currentIndex === 0 ? 0.45 : 1, backgroundColor: pressed ? t.mix(t.pick("--ink-1"), 9, "transparent") : "transparent" }),
|
|
1584
|
-
children: /* @__PURE__ */ jsx25(
|
|
1605
|
+
children: /* @__PURE__ */ jsx25(Svg10, { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-1"), strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx25(Path8, { d: "m15 18-6-6 6-6" }) })
|
|
1585
1606
|
}
|
|
1586
1607
|
) : null;
|
|
1587
1608
|
return /* @__PURE__ */ jsxs20(
|
|
@@ -1626,7 +1647,7 @@ function WizardStepper({ steps, current, label = "Progresso", variant = "auto",
|
|
|
1626
1647
|
onPress: () => onStepChange?.(step.id),
|
|
1627
1648
|
style: { flex: 1, minWidth: 0, minHeight: MIN_TOUCH, alignItems: "center", gap: 7, paddingHorizontal: t.size("--space-1", 4), opacity: step.disabled ? 0.55 : 1 },
|
|
1628
1649
|
children: [
|
|
1629
|
-
/* @__PURE__ */ jsx25(View20, { style: [{ width: 34, height: 34, borderWidth: 2, borderRadius: 17, alignItems: "center", justifyContent: "center" }, markerStyle], children: state === "complete" ? /* @__PURE__ */ jsx25(
|
|
1650
|
+
/* @__PURE__ */ jsx25(View20, { style: [{ width: 34, height: 34, borderWidth: 2, borderRadius: 17, alignItems: "center", justifyContent: "center" }, markerStyle], children: state === "complete" ? /* @__PURE__ */ jsx25(Svg10, { width: 15, height: 15, viewBox: "0 0 24 24", fill: "none", stroke: markerColor, strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx25(Path8, { d: "m20 6-11 11-5-5" }) }) : /* @__PURE__ */ jsx25(Text10, { style: { color: markerColor, fontSize: xs, ...mono2 }, children: index + 1 }) }),
|
|
1630
1651
|
/* @__PURE__ */ jsx25(Text10, { numberOfLines: 1, style: { maxWidth: "100%", color: state === "future" ? t.pick("--ink-3") : t.pick("--ink-1"), fontSize: xs, ...t.font("--font-body", "--weight-medium") }, children: step.label })
|
|
1631
1652
|
]
|
|
1632
1653
|
},
|
|
@@ -1642,7 +1663,7 @@ function WizardStepper({ steps, current, label = "Progresso", variant = "auto",
|
|
|
1642
1663
|
// .build/src/chart/D3Chart.tsx
|
|
1643
1664
|
import { useMemo as useMemo5, useState as useState17 } from "react";
|
|
1644
1665
|
import { Pressable as Pressable16, Text as Text16, View as View29 } from "react-native";
|
|
1645
|
-
import
|
|
1666
|
+
import Svg16, { Circle as Circle6, G as G4, Line as Line5, Path as Path13, Text as SvgText2 } from "react-native-svg";
|
|
1646
1667
|
|
|
1647
1668
|
// .build/src/chart/scales.ts
|
|
1648
1669
|
import { scaleBand, scaleLinear, scaleLog, scaleSqrt, scaleSymlog, scaleTime } from "d3-scale";
|
|
@@ -1673,27 +1694,27 @@ var curves = {
|
|
|
1673
1694
|
bump: curveBumpX
|
|
1674
1695
|
};
|
|
1675
1696
|
var resolveCurve = (curve = "natural") => typeof curve === "function" ? curve : curves[curve];
|
|
1676
|
-
function numericScale(domain,
|
|
1697
|
+
function numericScale(domain, range2, axis) {
|
|
1677
1698
|
const input = axis?.domain?.map(Number);
|
|
1678
1699
|
const d = input ?? domain;
|
|
1679
1700
|
if (!d.every(Number.isFinite) || d[0] >= d[1]) throw Error("O dom\xEDnio deve ter dois limites finitos em ordem crescente.");
|
|
1680
1701
|
if (axis?.scale === "log" && d[0] <= 0) throw Error("A escala logar\xEDtmica exige valores e limites maiores que zero.");
|
|
1681
1702
|
const scale = axis?.createScale ? axis.createScale() : axis?.scale === "log" ? scaleLog() : axis?.scale === "symlog" ? scaleSymlog() : axis?.scale === "sqrt" ? scaleSqrt() : scaleLinear();
|
|
1682
|
-
scale.domain(d).range(
|
|
1703
|
+
scale.domain(d).range(range2);
|
|
1683
1704
|
if (axis?.nice !== false && !input) scale.nice(axis?.tickCount ?? 4);
|
|
1684
1705
|
if (![scale(scale.domain()[0]), scale(scale.domain()[1])].every(Number.isFinite)) throw Error("A escala configurada n\xE3o representa este dom\xEDnio.");
|
|
1685
1706
|
return scale;
|
|
1686
1707
|
}
|
|
1687
|
-
function xCoordinates(values,
|
|
1708
|
+
function xCoordinates(values, range2, axis, viewport) {
|
|
1688
1709
|
const unique = [...new Map(values.map((value) => [keyX(value), value])).values()];
|
|
1689
1710
|
const k = viewport?.k ?? 1, offset = viewport?.x ?? 0;
|
|
1690
1711
|
const numeric = unique.every((value) => typeof value === "number" || value instanceof Date);
|
|
1691
|
-
const visible = (value, at2) => at2(value) >=
|
|
1712
|
+
const visible = (value, at2) => at2(value) >= range2[0] - 1 && at2(value) <= range2[1] + 1;
|
|
1692
1713
|
if (!numeric) {
|
|
1693
|
-
const band = scaleBand().domain(unique.map(keyX)).range(
|
|
1694
|
-
const at2 = (value) => (band(keyX(value)) ??
|
|
1714
|
+
const band = scaleBand().domain(unique.map(keyX)).range(range2.map((v) => v * k + offset)).padding(0.2);
|
|
1715
|
+
const at2 = (value) => (band(keyX(value)) ?? range2[0]) + band.bandwidth() / 2;
|
|
1695
1716
|
const candidates = (axis?.tickValues ?? unique).filter((v) => visible(v, at2));
|
|
1696
|
-
const step = Math.max(1, Math.ceil(candidates.length / Math.max(2, Math.min(axis?.tickCount ?? Infinity, (
|
|
1717
|
+
const step = Math.max(1, Math.ceil(candidates.length / Math.max(2, Math.min(axis?.tickCount ?? Infinity, (range2[1] - range2[0]) / 50))));
|
|
1697
1718
|
return {
|
|
1698
1719
|
at: at2,
|
|
1699
1720
|
ticks: candidates.filter((_, i) => i % step === 0),
|
|
@@ -1705,22 +1726,22 @@ function xCoordinates(values, range, axis, viewport) {
|
|
|
1705
1726
|
if (axis?.scale === "log" && lo <= 0) throw Error("A escala logar\xEDtmica exige valores maiores que zero.");
|
|
1706
1727
|
if (unique[0] instanceof Date || axis?.scale === "time") {
|
|
1707
1728
|
const d = axis?.domain ?? [new Date(lo), new Date(hi === lo ? lo + 864e5 : hi)];
|
|
1708
|
-
const base2 = scaleTime().domain(d.map((v) => new Date(v))).range(
|
|
1709
|
-
const scale2 = base2.copy().domain(
|
|
1729
|
+
const base2 = scaleTime().domain(d.map((v) => new Date(v))).range(range2);
|
|
1730
|
+
const scale2 = base2.copy().domain(range2.map((v) => base2.invert((v - offset) / k)));
|
|
1710
1731
|
const at2 = (v) => scale2(new Date(v));
|
|
1711
1732
|
return {
|
|
1712
1733
|
at: at2,
|
|
1713
1734
|
ticks: (axis?.tickValues ?? scale2.ticks(axis?.tickCount ?? 5)).filter((v) => visible(v, at2)),
|
|
1714
|
-
bandwidth: (
|
|
1735
|
+
bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
|
|
1715
1736
|
invert: (pixel) => scale2.invert(pixel)
|
|
1716
1737
|
};
|
|
1717
1738
|
}
|
|
1718
|
-
const base = numericScale([lo, hi === lo ? lo + 1 : hi],
|
|
1739
|
+
const base = numericScale([lo, hi === lo ? lo + 1 : hi], range2, axis), scale = base.copy().domain(range2.map((v) => base.invert((v - offset) / k)));
|
|
1719
1740
|
const at = (v) => scale(Number(v));
|
|
1720
1741
|
return {
|
|
1721
1742
|
at,
|
|
1722
1743
|
ticks: (axis?.tickValues ?? scale.ticks(axis?.tickCount ?? 5)).filter((v) => visible(v, at)),
|
|
1723
|
-
bandwidth: (
|
|
1744
|
+
bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
|
|
1724
1745
|
invert: (pixel) => scale.invert(pixel)
|
|
1725
1746
|
};
|
|
1726
1747
|
}
|
|
@@ -1732,528 +1753,588 @@ function uniqueIds(items) {
|
|
|
1732
1753
|
}
|
|
1733
1754
|
|
|
1734
1755
|
// .build/src/messages/en.ts
|
|
1735
|
-
var
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
}
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
},
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
},
|
|
2188
|
-
usageMeter: {
|
|
2189
|
-
of: "of"
|
|
2190
|
-
},
|
|
2191
|
-
userMenu: {
|
|
2192
|
-
profile: "Profile",
|
|
2193
|
-
settings: "Settings",
|
|
2194
|
-
logout: "Sign out",
|
|
2195
|
-
account: (name2) => `${name2}'s account`
|
|
2196
|
-
},
|
|
2197
|
-
visitSchedulePicker: {
|
|
2198
|
-
label: "Choose availability for a visit",
|
|
2199
|
-
chooseDays: "Choose the days",
|
|
2200
|
-
chooseDaysHint: "Click more than one date to build your options.",
|
|
2201
|
-
selectedDays: "Selected days",
|
|
2202
|
-
selectedDaysHint: "Switch the day to set different times.",
|
|
2203
|
-
editingDay: "Day being edited",
|
|
2204
|
-
times: "Available times",
|
|
2205
|
-
timesHint: "From 8 a.m. to 7 p.m., in 30-minute slots.",
|
|
2206
|
-
summary: "Your availability",
|
|
2207
|
-
summaryHint: "Select the time ranges available for booking.",
|
|
2208
|
-
pickTimes: "Choose the times",
|
|
2209
|
-
days: (n) => `${n} day${n === 1 ? "" : "s"}`,
|
|
2210
|
-
slots: (n) => `${n} time${n === 1 ? "" : "s"}`,
|
|
2211
|
-
timezone: (tz) => `time zone ${tz}`,
|
|
2212
|
-
timesOf: (date) => `Times on ${date}`,
|
|
2213
|
-
withTime: (n) => `${n} with times`,
|
|
2214
|
-
shownIn: (tz) => `Times shown in ${tz}.`
|
|
2215
|
-
},
|
|
2216
|
-
voiceRecorder: {
|
|
2217
|
-
error: "Check the browser permission or continue with the keyboard.",
|
|
2218
|
-
errorTitle: "We could not access the microphone",
|
|
2219
|
-
retry: "Try again",
|
|
2220
|
-
useDictation: "Use dictation",
|
|
2221
|
-
fallbackTitle: "Use your phone's dictation",
|
|
2222
|
-
gotIt: "Got it",
|
|
2223
|
-
fallbackHint: "Tap the microphone on the keyboard. The text shows up in the field and stays editable before you send it.",
|
|
2224
|
-
start: "Start voice recording",
|
|
2225
|
-
prefer: "Rather speak?",
|
|
2226
|
-
preferHint: "Say it your way. You review the text before continuing.",
|
|
2227
|
-
panel: "Voice recording",
|
|
2228
|
-
listening: "Listening to you",
|
|
2229
|
-
paused: "Recording paused",
|
|
2230
|
-
listeningHint: "Speak normally. The text appears as you talk.",
|
|
2231
|
-
pausedHint: "Resume when you are ready.",
|
|
2232
|
-
micPaused: "Microphone paused",
|
|
2233
|
-
cancel: "Cancel",
|
|
2234
|
-
pause: "Pause recording",
|
|
2235
|
-
resume: "Resume recording",
|
|
2236
|
-
finish: "Done",
|
|
2237
|
-
level: (n) => `Microphone level: ${n}%`
|
|
2238
|
-
},
|
|
2239
|
-
wizardStepper: {
|
|
2240
|
-
label: "Progress",
|
|
2241
|
-
back: "Back to previous step",
|
|
2242
|
-
step: "Step",
|
|
2243
|
-
complete: "done",
|
|
2244
|
-
current: "current step",
|
|
2245
|
-
notStarted: "not started",
|
|
2246
|
-
position: (label, i, n) => `${label}: step ${i} of ${n}`,
|
|
2247
|
-
count: (i, n) => `${i} of ${n}`
|
|
2248
|
-
},
|
|
2249
|
-
workspaceSwitcher: {
|
|
2250
|
-
search: "Search workspace",
|
|
2251
|
-
searchPlaceholder: "Search workspace\u2026",
|
|
2252
|
-
list: "Workspaces",
|
|
2253
|
-
empty: "No workspace",
|
|
2254
|
-
current: (name2) => `Current workspace: ${name2}. Switch workspace`
|
|
2255
|
-
}
|
|
1756
|
+
var activityTimeline = {
|
|
1757
|
+
title: "Activity",
|
|
1758
|
+
emptyTitle: "No activity yet",
|
|
1759
|
+
emptyMessage: "Activity will show up here as it happens.",
|
|
1760
|
+
loadError: "Could not load the history",
|
|
1761
|
+
retry: "Try again",
|
|
1762
|
+
label: "Activity history"
|
|
1763
|
+
};
|
|
1764
|
+
var alertDialog = {
|
|
1765
|
+
confirm: "Confirm",
|
|
1766
|
+
cancel: "Cancel"
|
|
1767
|
+
};
|
|
1768
|
+
var appShell = {
|
|
1769
|
+
openNavigation: "Open navigation",
|
|
1770
|
+
navigation: "Navigation"
|
|
1771
|
+
};
|
|
1772
|
+
var approvalWorkbench = {
|
|
1773
|
+
label: "Review items",
|
|
1774
|
+
notStarted: "Not started",
|
|
1775
|
+
inProgress: "In review",
|
|
1776
|
+
complete: "Done",
|
|
1777
|
+
summary: (done, total) => `${done} of ${total} done`,
|
|
1778
|
+
progress: (done, total) => `Review progress: ${done} of ${total} items done`
|
|
1779
|
+
};
|
|
1780
|
+
var avatarGroup = {
|
|
1781
|
+
more: (n) => `${n} more ${n === 1 ? "person" : "people"}`,
|
|
1782
|
+
people: (n) => `${n} people`
|
|
1783
|
+
};
|
|
1784
|
+
var billingCard = {
|
|
1785
|
+
nextCharge: "Next charge"
|
|
1786
|
+
};
|
|
1787
|
+
var breadcrumb = {
|
|
1788
|
+
label: "Breadcrumb",
|
|
1789
|
+
home: "Home",
|
|
1790
|
+
showHidden: "Show hidden path"
|
|
1791
|
+
};
|
|
1792
|
+
var calendar = {
|
|
1793
|
+
previousMonth: "Previous month",
|
|
1794
|
+
nextMonth: "Next month"
|
|
1795
|
+
};
|
|
1796
|
+
var callout = {
|
|
1797
|
+
dismiss: "Dismiss notice"
|
|
1798
|
+
};
|
|
1799
|
+
var carousel = {
|
|
1800
|
+
label: "Featured content",
|
|
1801
|
+
slide: (n, total, label) => `${n} of ${total}: ${label}`,
|
|
1802
|
+
empty: "No content available.",
|
|
1803
|
+
previous: "Previous item",
|
|
1804
|
+
next: "Next item",
|
|
1805
|
+
position: (n, total) => `${n} of ${total}`
|
|
1806
|
+
};
|
|
1807
|
+
var charts = {
|
|
1808
|
+
keyboardHelp: "Use the arrows to explore points, Home and End for start and end. The data is also available as a table.",
|
|
1809
|
+
noData: "No data for this period.",
|
|
1810
|
+
selectSeries: "Select a series in the legend.",
|
|
1811
|
+
reference: "Reference",
|
|
1812
|
+
values: "Values",
|
|
1813
|
+
legend: (title) => `Legend for ${title}`,
|
|
1814
|
+
series: (n) => `Series ${n}`,
|
|
1815
|
+
viewData: (title) => `View data for ${title}`,
|
|
1816
|
+
dataOf: (title) => `Data for ${title}`
|
|
1817
|
+
};
|
|
1818
|
+
var codeBlock = {
|
|
1819
|
+
copy: "Copy code",
|
|
1820
|
+
copied: "Copied",
|
|
1821
|
+
reveal: "Reveal value",
|
|
1822
|
+
hide: "Hide value"
|
|
1823
|
+
};
|
|
1824
|
+
var combobox = {
|
|
1825
|
+
empty: "No results",
|
|
1826
|
+
placeholder: "Search\u2026",
|
|
1827
|
+
clear: "Clear"
|
|
1828
|
+
};
|
|
1829
|
+
var command = {
|
|
1830
|
+
placeholder: "Search commands\u2026",
|
|
1831
|
+
empty: "No results",
|
|
1832
|
+
label: "Command palette",
|
|
1833
|
+
results: "Results"
|
|
1834
|
+
};
|
|
1835
|
+
var common = {
|
|
1836
|
+
close: "Close",
|
|
1837
|
+
panel: "Panel"
|
|
1838
|
+
};
|
|
1839
|
+
var contextMenu = {
|
|
1840
|
+
label: "Context menu"
|
|
1841
|
+
};
|
|
1842
|
+
var colorField = {
|
|
1843
|
+
hex: "in hexadecimal",
|
|
1844
|
+
invalid: "Use a hexadecimal color such as #2163AD.",
|
|
1845
|
+
hue: "Hue",
|
|
1846
|
+
saturation: "Saturation",
|
|
1847
|
+
lightness: "Lightness",
|
|
1848
|
+
presets: "Theme colors",
|
|
1849
|
+
picker: (label) => `${label}: color picker`,
|
|
1850
|
+
open: (label, hex) => `${label}: ${hex}. Open the color picker`
|
|
1851
|
+
};
|
|
1852
|
+
var coverflow = {
|
|
1853
|
+
label: "Browse content",
|
|
1854
|
+
empty: "No content available.",
|
|
1855
|
+
pause: "Pause automatic advance"
|
|
1856
|
+
};
|
|
1857
|
+
var d3Chart = {
|
|
1858
|
+
cyclicSankey: "Sankey does not accept cycles in links.",
|
|
1859
|
+
cannotRender: "These data cannot be drawn.",
|
|
1860
|
+
zoomIn: "Zoom in",
|
|
1861
|
+
zoomOut: "Zoom out",
|
|
1862
|
+
previous: "Previous",
|
|
1863
|
+
next: "Next",
|
|
1864
|
+
resetView: "Reset view",
|
|
1865
|
+
brushHint: "Drag to select a range",
|
|
1866
|
+
visibleRange: "Visible range",
|
|
1867
|
+
clearRange: "Clear range",
|
|
1868
|
+
keyboardHelp: "Use arrows, Home and End to explore. Enter or Space select; Escape clears. Data is available in the table.",
|
|
1869
|
+
reactivate: "Turn a series back on in the legend to see its data.",
|
|
1870
|
+
nothingToDraw: "No data to draw.",
|
|
1871
|
+
navigate: (title) => `Navigate ${title}`,
|
|
1872
|
+
rangeOf: (title) => `Range of ${title}`,
|
|
1873
|
+
frequency: "Frequency",
|
|
1874
|
+
region: (n) => `Region ${n}`,
|
|
1875
|
+
value: "Value",
|
|
1876
|
+
series: "Series",
|
|
1877
|
+
size: "Size",
|
|
1878
|
+
level: "Level",
|
|
1879
|
+
minimum: "Minimum",
|
|
1880
|
+
median: "Median",
|
|
1881
|
+
maximum: "Maximum",
|
|
1882
|
+
outliers: "Outliers",
|
|
1883
|
+
none: "None",
|
|
1884
|
+
open: "Open",
|
|
1885
|
+
close: "Close",
|
|
1886
|
+
low: "Low",
|
|
1887
|
+
high: "High",
|
|
1888
|
+
percent: "Percent",
|
|
1889
|
+
flow: "Flow",
|
|
1890
|
+
connections: "Connections",
|
|
1891
|
+
item: "Item",
|
|
1892
|
+
data: "Data"
|
|
1893
|
+
};
|
|
1894
|
+
var datePicker = {
|
|
1895
|
+
calendar: (label) => `Calendar: ${label}`,
|
|
1896
|
+
clear: "Clear date",
|
|
1897
|
+
choose: "Choose date"
|
|
1898
|
+
};
|
|
1899
|
+
var deviceFrame = {
|
|
1900
|
+
page: "Page"
|
|
1901
|
+
};
|
|
1902
|
+
var fabMenu = {
|
|
1903
|
+
open: "Open actions",
|
|
1904
|
+
close: "Close actions"
|
|
1905
|
+
};
|
|
1906
|
+
var fileUpload = {
|
|
1907
|
+
label: "Add files",
|
|
1908
|
+
hint: "Drag files here or choose them from your device.",
|
|
1909
|
+
notAdded: "File not added",
|
|
1910
|
+
sent: "Uploaded",
|
|
1911
|
+
done: "Upload complete.",
|
|
1912
|
+
tooLarge: (name2, limit) => `${name2} is over the ${limit} MB limit.`,
|
|
1913
|
+
uploadOf: (name2) => `Upload of ${name2}`,
|
|
1914
|
+
remove: (name2) => `Remove ${name2}`,
|
|
1915
|
+
sending: (n) => `Uploading ${n} ${n === 1 ? "file" : "files"}.`,
|
|
1916
|
+
sendingProgress: (n, percent) => `Uploading ${n} ${n === 1 ? "file" : "files"}: ${percent}%.`,
|
|
1917
|
+
selected: (n) => `${n} ${n === 1 ? "file" : "files"} selected.`,
|
|
1918
|
+
fileType: "FILE",
|
|
1919
|
+
choose: (multiple) => multiple ? "Choose files" : "Choose file",
|
|
1920
|
+
selectedList: "Selected files"
|
|
1921
|
+
};
|
|
1922
|
+
var geoAreaPicker = {
|
|
1923
|
+
mapLabel: "Search area map",
|
|
1924
|
+
label: "Search area selection",
|
|
1925
|
+
mapError: "Could not update the map",
|
|
1926
|
+
mapUnavailable: "Map unavailable",
|
|
1927
|
+
mapFallback: "You can finish the whole selection with the lists beside it.",
|
|
1928
|
+
mainArea: "main area",
|
|
1929
|
+
nearbyIncluded: "Nearby neighborhoods included",
|
|
1930
|
+
addReached: "Add a neighborhood in range\u2026",
|
|
1931
|
+
explanation: "The radius only suggests neighbors. Only the neighborhoods in \u201CIn your search\u201D count for the ranking.",
|
|
1932
|
+
inSearch: "In your search",
|
|
1933
|
+
inSearchHint: "The search only considers the selected areas.",
|
|
1934
|
+
includedLabel: "Included neighborhoods",
|
|
1935
|
+
mainNeighborhood: "Main neighborhood",
|
|
1936
|
+
main: "Main",
|
|
1937
|
+
included: "Included",
|
|
1938
|
+
outside: "Outside the search",
|
|
1939
|
+
outsideHint: "In range, but not used for the ranking.",
|
|
1940
|
+
excludedLabel: "Excluded neighborhoods",
|
|
1941
|
+
allIncluded: "Every neighborhood in range is in the search.",
|
|
1942
|
+
none: "no neighborhood",
|
|
1943
|
+
surroundings: (area4) => `Around ${area4}`,
|
|
1944
|
+
inRadius: (n) => `${n} ${n === 1 ? "neighborhood" : "neighborhoods"} in the current radius`,
|
|
1945
|
+
distance: (km2) => `${km2} km from the main neighborhood`,
|
|
1946
|
+
isMain: (name2) => `${name2} is the main neighborhood`,
|
|
1947
|
+
removeFrom: (name2) => `Remove ${name2} from the search`,
|
|
1948
|
+
addTo: (name2) => `Add ${name2} to the search`,
|
|
1949
|
+
summary: (areas, left) => `Searching in ${areas}; ${left} left out.`,
|
|
1950
|
+
include: "Include"
|
|
1951
|
+
};
|
|
1952
|
+
var guidedTour = {
|
|
1953
|
+
close: "Close tour",
|
|
1954
|
+
back: "Back",
|
|
1955
|
+
finish: "Finish",
|
|
1956
|
+
next: "Next",
|
|
1957
|
+
position: (n, total) => `${n} of ${total}`,
|
|
1958
|
+
step: (n, total) => `Step ${n} of ${total}`
|
|
1959
|
+
};
|
|
1960
|
+
var helpField = {
|
|
1961
|
+
help: (label) => `Help: ${label}`,
|
|
1962
|
+
learnMore: "Learn more"
|
|
1963
|
+
};
|
|
1964
|
+
var helpMenu = {
|
|
1965
|
+
label: "Help",
|
|
1966
|
+
docs: "Documentation",
|
|
1967
|
+
shortcuts: "Keyboard shortcuts",
|
|
1968
|
+
support: "Contact support"
|
|
1969
|
+
};
|
|
1970
|
+
var intentComposer = {
|
|
1971
|
+
label: "Tell us what you are looking for",
|
|
1972
|
+
placeholder: "E.g. organize a collection of references and documents to share with my team\u2026",
|
|
1973
|
+
submit: "Continue",
|
|
1974
|
+
error: "We could not understand part of the request. Adjust the text and try again.",
|
|
1975
|
+
composer: "Request composer",
|
|
1976
|
+
needContext: "We need a bit more context",
|
|
1977
|
+
examples: "Request examples",
|
|
1978
|
+
tryThis: "Try:",
|
|
1979
|
+
voice: "Describe by voice",
|
|
1980
|
+
organizing: "Organizing what you told us",
|
|
1981
|
+
organizingHint: "We are turning the text into criteria you can review.",
|
|
1982
|
+
selectGroup: (group) => `Select ${group}\u2026`,
|
|
1983
|
+
initialFilters: "Initial filters",
|
|
1984
|
+
understood: "Here is what I understood",
|
|
1985
|
+
reviewDetails: "Review details",
|
|
1986
|
+
understanding: "Understanding\u2026",
|
|
1987
|
+
editRequest: "Edit request",
|
|
1988
|
+
processing: "Processing the request"
|
|
1989
|
+
};
|
|
1990
|
+
var kanbanBoard = {
|
|
1991
|
+
label: "Kanban board",
|
|
1992
|
+
unavailable: "Stage unavailable.",
|
|
1993
|
+
notAllowed: "Move not allowed from this stage.",
|
|
1994
|
+
staleCancel: "Move cancelled: the card changed outside this gesture.",
|
|
1995
|
+
cancelled: "Move cancelled.",
|
|
1996
|
+
picked: "Card picked. Use the arrows to choose the stage, Enter to drop and Escape to cancel.",
|
|
1997
|
+
instructions: "Drag by the handle. With the keyboard, press Enter to pick up, \u2190 \u2192 to choose the stage and Enter to drop. Escape cancels.",
|
|
1998
|
+
stageActions: "Stage actions",
|
|
1999
|
+
addCard: "Add card",
|
|
2000
|
+
dragTitle: "Drag card; Enter lets you move it with the keyboard",
|
|
2001
|
+
cardActions: "Card actions",
|
|
2002
|
+
openDetails: "Open details",
|
|
2003
|
+
moveFirst: "Move to the start of this stage",
|
|
2004
|
+
moveLast: "Move to the end of this stage",
|
|
2005
|
+
emptyFilter: "No card for this filter.",
|
|
2006
|
+
emptyStage: "No card in this stage.",
|
|
2007
|
+
noDescription: "No description.",
|
|
2008
|
+
card: "Card",
|
|
2009
|
+
chosenStage: "the chosen stage",
|
|
2010
|
+
thisStage: "this stage",
|
|
2011
|
+
stage: "stage",
|
|
2012
|
+
wipReached: (limit) => `WIP limit of ${limit} reached.`,
|
|
2013
|
+
moved: (card, stage) => `${card} moved to ${stage}.`,
|
|
2014
|
+
dropTo: (stage) => `Drop to move to ${stage}.`,
|
|
2015
|
+
target: (stage) => `Target: ${stage}. Press Enter to confirm.`,
|
|
2016
|
+
count: (n, limit) => `${n} cards${limit === void 0 ? "" : `, WIP limit ${limit}`}`,
|
|
2017
|
+
stageActionsOf: (stage) => `Actions for stage ${stage}`,
|
|
2018
|
+
addCardTo: (stage) => `Add card to ${stage}`,
|
|
2019
|
+
drag: (card) => `Drag ${card}`,
|
|
2020
|
+
moveTo: "Move to",
|
|
2021
|
+
actionsOf: (card) => `Actions for ${card}`
|
|
2022
|
+
};
|
|
2023
|
+
var matrix2x2 = {
|
|
2024
|
+
xLabel: "Effort \u2192",
|
|
2025
|
+
yLabel: "Impact \u2192",
|
|
2026
|
+
high: "High priority",
|
|
2027
|
+
low: "Low priority",
|
|
2028
|
+
aria: (y, x, n) => `Matrix of ${y} by ${x}: ${n} items`
|
|
2029
|
+
};
|
|
2030
|
+
var menu = {
|
|
2031
|
+
label: "Actions"
|
|
2032
|
+
};
|
|
2033
|
+
var menubar = {
|
|
2034
|
+
label: "Menu bar"
|
|
2035
|
+
};
|
|
2036
|
+
var message = {
|
|
2037
|
+
from: (author) => `Message from ${author}`
|
|
2038
|
+
};
|
|
2039
|
+
var messageScroller = {
|
|
2040
|
+
label: "Message history",
|
|
2041
|
+
latest: "Jump to recent messages"
|
|
2042
|
+
};
|
|
2043
|
+
var modal = {
|
|
2044
|
+
label: "Modal window"
|
|
2045
|
+
};
|
|
2046
|
+
var multiselect = {
|
|
2047
|
+
empty: "No options",
|
|
2048
|
+
placeholder: "Add\u2026",
|
|
2049
|
+
close: "Close options",
|
|
2050
|
+
open: "Open options",
|
|
2051
|
+
remove: (label) => `Remove ${label}`,
|
|
2052
|
+
hidden: (n) => `${n} more options selected. Open options`
|
|
2053
|
+
};
|
|
2054
|
+
var navigationMenu = {
|
|
2055
|
+
label: "Main navigation"
|
|
2056
|
+
};
|
|
2057
|
+
var notificationBell = {
|
|
2058
|
+
title: "Notifications",
|
|
2059
|
+
empty: "No notifications",
|
|
2060
|
+
markAll: "Mark all as read",
|
|
2061
|
+
unread: (n) => `Notifications: ${n} unread`
|
|
2062
|
+
};
|
|
2063
|
+
var oauthButton = {
|
|
2064
|
+
continueWith: (provider) => `Continue with ${provider}`
|
|
2065
|
+
};
|
|
2066
|
+
var otp = {
|
|
2067
|
+
label: "Verification code",
|
|
2068
|
+
digit: (i, n) => `Digit ${i} of ${n}`
|
|
2069
|
+
};
|
|
2070
|
+
var pagination = {
|
|
2071
|
+
label: "Pagination",
|
|
2072
|
+
prev: "Previous page",
|
|
2073
|
+
next: "Next page",
|
|
2074
|
+
page: (p) => `Page ${p}`
|
|
2075
|
+
};
|
|
2076
|
+
var phoneInput = {
|
|
2077
|
+
country: "Country and calling code"
|
|
2078
|
+
};
|
|
2079
|
+
var planCard = {
|
|
2080
|
+
current: "Current plan",
|
|
2081
|
+
recommended: "Recommended"
|
|
2082
|
+
};
|
|
2083
|
+
var postalCodeInput = {
|
|
2084
|
+
invalid: "Enter a postal code with 8 digits.",
|
|
2085
|
+
searching: "Looking up the address.",
|
|
2086
|
+
notFound: "Postal code not found. Check the digits and try again.",
|
|
2087
|
+
failed: "Could not look up the postal code. Try again.",
|
|
2088
|
+
loading: "Searching",
|
|
2089
|
+
search: "Look up",
|
|
2090
|
+
found: (city, state) => `Address found in ${city}, ${state}.`
|
|
2091
|
+
};
|
|
2092
|
+
var propertyActionGroup = {
|
|
2093
|
+
reject: "Discard",
|
|
2094
|
+
save: "Save",
|
|
2095
|
+
visit: "Select",
|
|
2096
|
+
unavailable: "Actions for this item are unavailable.",
|
|
2097
|
+
idle: "Choose what to do with this item.",
|
|
2098
|
+
group: "Decisions about the item",
|
|
2099
|
+
processing: (action) => `${action}: processing\u2026`,
|
|
2100
|
+
completed: (action) => `${action}: done.`
|
|
2101
|
+
};
|
|
2102
|
+
var propertyCard = {
|
|
2103
|
+
badges: "Content highlights",
|
|
2104
|
+
compatShort: "match",
|
|
2105
|
+
compatibility: "match",
|
|
2106
|
+
compatAria: (n) => `Match score: ${n}%`
|
|
2107
|
+
};
|
|
2108
|
+
var propertyMedia = {
|
|
2109
|
+
label: "Media gallery",
|
|
2110
|
+
carousel: "carousel",
|
|
2111
|
+
loading: "Loading photo",
|
|
2112
|
+
unavailable: "Photo unavailable",
|
|
2113
|
+
error: "This image could not be loaded.",
|
|
2114
|
+
prev: "Previous photo",
|
|
2115
|
+
next: "Next photo",
|
|
2116
|
+
choose: "Choose photo",
|
|
2117
|
+
retry: "Try again",
|
|
2118
|
+
show: (i, n) => `Show photo ${i} of ${n}`,
|
|
2119
|
+
position: (i, n) => `Photo ${i} of ${n}`
|
|
2120
|
+
};
|
|
2121
|
+
var questionnaire = {
|
|
2122
|
+
empty: "No question available.",
|
|
2123
|
+
sent: "Answers sent.",
|
|
2124
|
+
review: "Review answers",
|
|
2125
|
+
required: "Answer to continue.",
|
|
2126
|
+
progress: "Questionnaire progress",
|
|
2127
|
+
back: "Back",
|
|
2128
|
+
submit: "Send answers",
|
|
2129
|
+
next: "Continue",
|
|
2130
|
+
step: (i, n) => `Question ${i} of ${n}`
|
|
2131
|
+
};
|
|
2132
|
+
var range = {
|
|
2133
|
+
value: "value",
|
|
2134
|
+
min: "minimum",
|
|
2135
|
+
max: "maximum"
|
|
2136
|
+
};
|
|
2137
|
+
var resizable = {
|
|
2138
|
+
label: "Size of the first panel"
|
|
2139
|
+
};
|
|
2140
|
+
var settingsSubnav = {
|
|
2141
|
+
label: "Settings"
|
|
2142
|
+
};
|
|
2143
|
+
var sidebar = {
|
|
2144
|
+
expand: "Expand menu",
|
|
2145
|
+
collapse: "Collapse menu",
|
|
2146
|
+
switchWorkspace: "Switch workspace",
|
|
2147
|
+
currentWorkspace: "Current workspace",
|
|
2148
|
+
account: (name2) => `${name2}'s account`
|
|
2149
|
+
};
|
|
2150
|
+
var spinner = {
|
|
2151
|
+
loading: "Loading"
|
|
2152
|
+
};
|
|
2153
|
+
var splitButton = {
|
|
2154
|
+
loading: "Processing\u2026",
|
|
2155
|
+
more: "More options"
|
|
2156
|
+
};
|
|
2157
|
+
var stat = {
|
|
2158
|
+
up: " (trending up)",
|
|
2159
|
+
down: " (trending down)"
|
|
2160
|
+
};
|
|
2161
|
+
var swipeDeck = {
|
|
2162
|
+
title: "Review content",
|
|
2163
|
+
doneTitle: "All items reviewed",
|
|
2164
|
+
doneMessage: "You reached the end of the queue. Start over to try the decisions again.",
|
|
2165
|
+
restart: "Restart queue",
|
|
2166
|
+
queue: "Review queue",
|
|
2167
|
+
photosHint: "Photos: use the arrows on the image.",
|
|
2168
|
+
gestureHint: "Decisions: drag the card left (discard) or right (select), or use the buttons below.",
|
|
2169
|
+
buttonsHint: "Decisions: use the buttons below.",
|
|
2170
|
+
recording: "Recording decision\u2026",
|
|
2171
|
+
keyboardHint: "With the card focused: \u2190 discards, \u2192 selects. To save, use the Save button.",
|
|
2172
|
+
rejected: "Discarded",
|
|
2173
|
+
saved: "Saved",
|
|
2174
|
+
selected: "Selected",
|
|
2175
|
+
remaining: (n) => `${n} after this one`,
|
|
2176
|
+
item: (i, n) => `Item ${i} of ${n}`,
|
|
2177
|
+
decision: (action, i, n) => `${action}: item ${i} of ${n}.`
|
|
2178
|
+
};
|
|
2179
|
+
var table = {
|
|
2180
|
+
search: "Search\u2026",
|
|
2181
|
+
of: "of",
|
|
2182
|
+
filters: "Filters",
|
|
2183
|
+
clear: "Clear",
|
|
2184
|
+
clearFilters: "Clear filters",
|
|
2185
|
+
noMatch: "Nothing matches the current filters.",
|
|
2186
|
+
empty: "Nothing here yet.",
|
|
2187
|
+
perPage: "Per page",
|
|
2188
|
+
perPageLabel: "Rows per page",
|
|
2189
|
+
filterBy: (label) => `Filter by ${label}`
|
|
2190
|
+
};
|
|
2191
|
+
var tableOfContents = {
|
|
2192
|
+
label: "On this page"
|
|
2193
|
+
};
|
|
2194
|
+
var tabs = {
|
|
2195
|
+
completeAria: "Status: complete",
|
|
2196
|
+
attentionAria: "Status: needs attention",
|
|
2197
|
+
complete: "Complete",
|
|
2198
|
+
attention: "Needs attention"
|
|
2199
|
+
};
|
|
2200
|
+
var timeline = {
|
|
2201
|
+
empty: "Add the key milestones of this journey.",
|
|
2202
|
+
emptyTitle: "No milestones yet",
|
|
2203
|
+
label: "Journey milestones",
|
|
2204
|
+
scroll: "Milestones, scroll to see the sequence",
|
|
2205
|
+
completed: "Done",
|
|
2206
|
+
current: "In progress",
|
|
2207
|
+
planned: "Planned"
|
|
2256
2208
|
};
|
|
2209
|
+
var topbar = {
|
|
2210
|
+
search: "Search projects, people, files\u2026",
|
|
2211
|
+
viewMode: "View mode"
|
|
2212
|
+
};
|
|
2213
|
+
var trace = {
|
|
2214
|
+
label: "Run steps",
|
|
2215
|
+
pending: "Waiting",
|
|
2216
|
+
running: "Running",
|
|
2217
|
+
complete: "Done",
|
|
2218
|
+
error: "Error"
|
|
2219
|
+
};
|
|
2220
|
+
var usageMeter = {
|
|
2221
|
+
of: "of"
|
|
2222
|
+
};
|
|
2223
|
+
var userMenu = {
|
|
2224
|
+
profile: "Profile",
|
|
2225
|
+
settings: "Settings",
|
|
2226
|
+
logout: "Sign out",
|
|
2227
|
+
account: (name2) => `${name2}'s account`
|
|
2228
|
+
};
|
|
2229
|
+
var visitSchedulePicker = {
|
|
2230
|
+
label: "Choose availability for a visit",
|
|
2231
|
+
chooseDays: "Choose the days",
|
|
2232
|
+
chooseDaysHint: "Click more than one date to build your options.",
|
|
2233
|
+
selectedDays: "Selected days",
|
|
2234
|
+
selectedDaysHint: "Switch the day to set different times.",
|
|
2235
|
+
editingDay: "Day being edited",
|
|
2236
|
+
times: "Available times",
|
|
2237
|
+
timesHint: "From 8 a.m. to 7 p.m., in 30-minute slots.",
|
|
2238
|
+
summary: "Your availability",
|
|
2239
|
+
summaryHint: "Select the time ranges available for booking.",
|
|
2240
|
+
pickTimes: "Choose the times",
|
|
2241
|
+
days: (n) => `${n} day${n === 1 ? "" : "s"}`,
|
|
2242
|
+
slots: (n) => `${n} time${n === 1 ? "" : "s"}`,
|
|
2243
|
+
timezone: (tz) => `time zone ${tz}`,
|
|
2244
|
+
timesOf: (date) => `Times on ${date}`,
|
|
2245
|
+
withTime: (n) => `${n} with times`,
|
|
2246
|
+
shownIn: (tz) => `Times shown in ${tz}.`
|
|
2247
|
+
};
|
|
2248
|
+
var voiceRecorder = {
|
|
2249
|
+
error: "Check the browser permission or continue with the keyboard.",
|
|
2250
|
+
errorTitle: "We could not access the microphone",
|
|
2251
|
+
retry: "Try again",
|
|
2252
|
+
useDictation: "Use dictation",
|
|
2253
|
+
fallbackTitle: "Use your phone's dictation",
|
|
2254
|
+
gotIt: "Got it",
|
|
2255
|
+
fallbackHint: "Tap the microphone on the keyboard. The text shows up in the field and stays editable before you send it.",
|
|
2256
|
+
start: "Start voice recording",
|
|
2257
|
+
prefer: "Rather speak?",
|
|
2258
|
+
preferHint: "Say it your way. You review the text before continuing.",
|
|
2259
|
+
panel: "Voice recording",
|
|
2260
|
+
listening: "Listening to you",
|
|
2261
|
+
paused: "Recording paused",
|
|
2262
|
+
listeningHint: "Speak normally. The text appears as you talk.",
|
|
2263
|
+
pausedHint: "Resume when you are ready.",
|
|
2264
|
+
micPaused: "Microphone paused",
|
|
2265
|
+
cancel: "Cancel",
|
|
2266
|
+
pause: "Pause recording",
|
|
2267
|
+
resume: "Resume recording",
|
|
2268
|
+
finish: "Done",
|
|
2269
|
+
level: (n) => `Microphone level: ${n}%`
|
|
2270
|
+
};
|
|
2271
|
+
var wizardStepper = {
|
|
2272
|
+
label: "Progress",
|
|
2273
|
+
back: "Back to previous step",
|
|
2274
|
+
step: "Step",
|
|
2275
|
+
complete: "done",
|
|
2276
|
+
current: "current step",
|
|
2277
|
+
notStarted: "not started",
|
|
2278
|
+
position: (label, i, n) => `${label}: step ${i} of ${n}`,
|
|
2279
|
+
count: (i, n) => `${i} of ${n}`
|
|
2280
|
+
};
|
|
2281
|
+
var workspaceSwitcher = {
|
|
2282
|
+
search: "Search workspace",
|
|
2283
|
+
searchPlaceholder: "Search workspace\u2026",
|
|
2284
|
+
list: "Workspaces",
|
|
2285
|
+
empty: "No workspace",
|
|
2286
|
+
current: (name2) => `Current workspace: ${name2}. Switch workspace`
|
|
2287
|
+
};
|
|
2288
|
+
var rating = {
|
|
2289
|
+
value: (value, max) => `${value} out of ${max}`,
|
|
2290
|
+
star: (n, max) => `${n} out of ${max} ${max === 1 ? "star" : "stars"}`,
|
|
2291
|
+
reviews: (n, formatted) => `${formatted} ${n === 1 ? "review" : "reviews"}`
|
|
2292
|
+
};
|
|
2293
|
+
var comparisonTable = {
|
|
2294
|
+
recommended: "Recommended",
|
|
2295
|
+
feature: "Feature",
|
|
2296
|
+
yes: "Yes",
|
|
2297
|
+
no: "No"
|
|
2298
|
+
};
|
|
2299
|
+
var agenda = {
|
|
2300
|
+
label: "Agenda",
|
|
2301
|
+
empty: "Nothing scheduled.",
|
|
2302
|
+
allDay: "All day",
|
|
2303
|
+
nothing: "Nothing scheduled",
|
|
2304
|
+
range: (start, end) => `${start} to ${end}`
|
|
2305
|
+
};
|
|
2306
|
+
var entityCard = {
|
|
2307
|
+
rating: "Rating"
|
|
2308
|
+
};
|
|
2309
|
+
var imageGallery = {
|
|
2310
|
+
open: (alt, n, total) => `Open photo ${n} of ${total}: ${alt}`,
|
|
2311
|
+
viewer: (label) => `${label}, enlarged photo`,
|
|
2312
|
+
counter: (n, total) => `${n} of ${total}`,
|
|
2313
|
+
previous: "Previous photo",
|
|
2314
|
+
next: "Next photo"
|
|
2315
|
+
};
|
|
2316
|
+
var video = {
|
|
2317
|
+
play: (title) => `Play video: ${title}`
|
|
2318
|
+
};
|
|
2319
|
+
var audioPlayer = {
|
|
2320
|
+
play: (title) => `Play ${title}`,
|
|
2321
|
+
pause: (title) => `Pause ${title}`,
|
|
2322
|
+
back: (s) => `Back ${s} seconds`,
|
|
2323
|
+
forward: (s) => `Forward ${s} seconds`,
|
|
2324
|
+
position: "Position",
|
|
2325
|
+
positionText: (time, total) => `${time} of ${total}`
|
|
2326
|
+
};
|
|
2327
|
+
var linkCard = {
|
|
2328
|
+
newTab: "(opens in a new tab)"
|
|
2329
|
+
};
|
|
2330
|
+
var citation = {
|
|
2331
|
+
source: (n, title) => `Source ${n}: ${title}`,
|
|
2332
|
+
open: "Open source"
|
|
2333
|
+
};
|
|
2334
|
+
var followUp = {
|
|
2335
|
+
label: "Suggestions"
|
|
2336
|
+
};
|
|
2337
|
+
var en = { activityTimeline, alertDialog, appShell, approvalWorkbench, avatarGroup, billingCard, breadcrumb, calendar, callout, carousel, charts, codeBlock, colorField, combobox, command, common, contextMenu, coverflow, d3Chart, datePicker, deviceFrame, fabMenu, fileUpload, geoAreaPicker, guidedTour, helpField, helpMenu, intentComposer, kanbanBoard, matrix2x2, menu, menubar, message, messageScroller, modal, multiselect, navigationMenu, notificationBell, oauthButton, otp, pagination, phoneInput, planCard, postalCodeInput, propertyActionGroup, propertyCard, propertyMedia, questionnaire, range, resizable, settingsSubnav, sidebar, spinner, splitButton, stat, swipeDeck, table, tableOfContents, tabs, timeline, topbar, trace, usageMeter, userMenu, visitSchedulePicker, voiceRecorder, wizardStepper, workspaceSwitcher, rating, comparisonTable, agenda, entityCard, imageGallery, video, audioPlayer, linkCard, citation, followUp };
|
|
2257
2338
|
|
|
2258
2339
|
// .build/src/chart/scene.ts
|
|
2259
2340
|
import { area, line, stack, stackOffsetDiverging, stackOffsetExpand } from "d3-shape";
|
|
@@ -2319,7 +2400,7 @@ function lineScene(props, layout, hidden, viewport) {
|
|
|
2319
2400
|
// .build/src/chart/SceneChart.tsx
|
|
2320
2401
|
import { useMemo as useMemo4, useState as useState16 } from "react";
|
|
2321
2402
|
import { Text as Text15, View as View28 } from "react-native";
|
|
2322
|
-
import
|
|
2403
|
+
import Svg15, { Circle as Circle5, ClipPath as ClipPath2, Defs as Defs5, G as G3, Rect as Rect5 } from "react-native-svg";
|
|
2323
2404
|
|
|
2324
2405
|
// .build/src/components/Collapsible.tsx
|
|
2325
2406
|
import { View as View22 } from "react-native";
|
|
@@ -2327,7 +2408,7 @@ import { View as View22 } from "react-native";
|
|
|
2327
2408
|
// .build/src/components/Accordion.tsx
|
|
2328
2409
|
import { useEffect as useEffect10, useRef as useRef9 } from "react";
|
|
2329
2410
|
import { Animated as Animated9, LayoutAnimation, Pressable as Pressable11, View as View21 } from "react-native";
|
|
2330
|
-
import
|
|
2411
|
+
import Svg11, { Path as Path9 } from "react-native-svg";
|
|
2331
2412
|
import { jsx as jsx26, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2332
2413
|
function animateDisclosure(t, reduced) {
|
|
2333
2414
|
if (reduced) return;
|
|
@@ -2342,7 +2423,7 @@ function Chevron({ open, color, size, path, to, reduced }) {
|
|
|
2342
2423
|
return () => anim.stop();
|
|
2343
2424
|
}, [open, reduced, t, turn]);
|
|
2344
2425
|
const rotate = turn.interpolate({ inputRange: [0, 1], outputRange: ["0deg", to] });
|
|
2345
|
-
return /* @__PURE__ */ jsx26(Animated9.View, { style: { transform: [{ rotate }] }, children: /* @__PURE__ */ jsx26(
|
|
2426
|
+
return /* @__PURE__ */ jsx26(Animated9.View, { style: { transform: [{ rotate }] }, children: /* @__PURE__ */ jsx26(Svg11, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx26(Path9, { d: path }) }) });
|
|
2346
2427
|
}
|
|
2347
2428
|
function Accordion({ items, type = "single", value, defaultValue = [], onChange, variant = "default", size = "default", leadingIndicator = false, indentContent = false, style, ...rest }) {
|
|
2348
2429
|
const t = useRefy();
|
|
@@ -2457,7 +2538,7 @@ function Collapsible({ title, children, open, defaultOpen = false, onOpenChange,
|
|
|
2457
2538
|
// .build/src/components/Table.tsx
|
|
2458
2539
|
import { useMemo as useMemo3, useRef as useRef12, useState as useState14 } from "react";
|
|
2459
2540
|
import { Pressable as Pressable14, ScrollView as ScrollView5, Text as Text12, TextInput as TextInput3, View as View26 } from "react-native";
|
|
2460
|
-
import
|
|
2541
|
+
import Svg13, { Circle as Circle2, Line as Line2, Path as Path10, Polyline as Polyline2 } from "react-native-svg";
|
|
2461
2542
|
|
|
2462
2543
|
// .build/src/overlay.tsx
|
|
2463
2544
|
import { useEffect as useEffect11, useRef as useRef10, useState as useState12 } from "react";
|
|
@@ -2627,7 +2708,7 @@ function Pagination({ page, pageCount, onPageChange, siblingCount = 1, style, ..
|
|
|
2627
2708
|
// .build/src/components/Skeleton.tsx
|
|
2628
2709
|
import { useEffect as useEffect12, useRef as useRef11, useState as useState13 } from "react";
|
|
2629
2710
|
import { Animated as Animated11, Easing as Easing10, View as View25 } from "react-native";
|
|
2630
|
-
import
|
|
2711
|
+
import Svg12, { Defs as Defs2, LinearGradient as LinearGradient2, Rect as Rect2, Stop as Stop2 } from "react-native-svg";
|
|
2631
2712
|
import { jsx as jsx30, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
2632
2713
|
function Skeleton({ width = "100%", height = 14, circle, style, ...rest }) {
|
|
2633
2714
|
const t = useRefy();
|
|
@@ -2658,7 +2739,7 @@ function Skeleton({ width = "100%", height = 14, circle, style, ...rest }) {
|
|
|
2658
2739
|
borderRadius: circle ? t.pick("--radius-pill", 999) : t.pick("--radius-sm", 4),
|
|
2659
2740
|
backgroundColor: base
|
|
2660
2741
|
}, style],
|
|
2661
|
-
children: w > 0 && /* @__PURE__ */ jsx30(Animated11.View, { style: { position: "absolute", top: 0, bottom: 0, width: 2 * w, transform: [{ translateX: reduced ? -w / 2 : translateX }] }, children: /* @__PURE__ */ jsxs25(
|
|
2742
|
+
children: w > 0 && /* @__PURE__ */ jsx30(Animated11.View, { style: { position: "absolute", top: 0, bottom: 0, width: 2 * w, transform: [{ translateX: reduced ? -w / 2 : translateX }] }, children: /* @__PURE__ */ jsxs25(Svg12, { width: "100%", height: "100%", children: [
|
|
2662
2743
|
/* @__PURE__ */ jsx30(Defs2, { children: /* @__PURE__ */ jsxs25(LinearGradient2, { id: "refy-skel", x1: "0", y1: "0", x2: "1", y2: "0", children: [
|
|
2663
2744
|
/* @__PURE__ */ jsx30(Stop2, { offset: "0", stopColor: base }),
|
|
2664
2745
|
/* @__PURE__ */ jsx30(Stop2, { offset: "0.5", stopColor: shine }),
|
|
@@ -2700,26 +2781,26 @@ function tableRows(rows, columns, o) {
|
|
|
2700
2781
|
}
|
|
2701
2782
|
return out;
|
|
2702
2783
|
}
|
|
2703
|
-
function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, searchable, searchPlaceholder = "Buscar\u2026", searchMatch = defaultSearchMatch, loading = false, error, pagination, minTableWidth, style }) {
|
|
2784
|
+
function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, searchable, searchPlaceholder = "Buscar\u2026", searchMatch = defaultSearchMatch, loading = false, error, pagination: pagination2, minTableWidth, style }) {
|
|
2704
2785
|
const t = useRefy();
|
|
2705
2786
|
const [query, setQuery] = useState14("");
|
|
2706
2787
|
const [sortKey, setSortKey] = useState14(null);
|
|
2707
2788
|
const [sortDir, setSortDir] = useState14("asc");
|
|
2708
2789
|
const [filters, setFilters] = useState14({});
|
|
2709
2790
|
const [openFacet, setOpenFacet] = useState14(null);
|
|
2710
|
-
const [internalPage, setInternalPage] = useState14(
|
|
2711
|
-
const [internalPageSize, setInternalPageSize] = useState14(
|
|
2791
|
+
const [internalPage, setInternalPage] = useState14(pagination2?.defaultPage ?? 1);
|
|
2792
|
+
const [internalPageSize, setInternalPageSize] = useState14(pagination2?.pageSize ?? 1);
|
|
2712
2793
|
const anchors = useRef12({});
|
|
2713
2794
|
const facetRef = useRef12(null);
|
|
2714
2795
|
const filterCols = columns.filter((c) => c.filterable);
|
|
2715
2796
|
const visible = useMemo3(() => tableRows(rows, columns, { query: searchable ? query : "", searchMatch, filters, sortKey, sortDir }), [rows, columns, searchable, query, searchMatch, filters, sortKey, sortDir]);
|
|
2716
|
-
const pageSize =
|
|
2797
|
+
const pageSize = pagination2 ? internalPageSize : Math.max(visible.length, 1);
|
|
2717
2798
|
const pageCount = Math.max(1, Math.ceil(visible.length / pageSize));
|
|
2718
|
-
const currentPage = Math.min(Math.max(
|
|
2719
|
-
const displayed =
|
|
2799
|
+
const currentPage = Math.min(Math.max(pagination2?.page ?? internalPage, 1), pageCount);
|
|
2800
|
+
const displayed = pagination2 ? visible.slice((currentPage - 1) * pageSize, currentPage * pageSize) : visible;
|
|
2720
2801
|
const changePage = (n) => {
|
|
2721
|
-
if (
|
|
2722
|
-
|
|
2802
|
+
if (pagination2?.page == null) setInternalPage(n);
|
|
2803
|
+
pagination2?.onPageChange?.(n);
|
|
2723
2804
|
};
|
|
2724
2805
|
const resetPage = () => changePage(1);
|
|
2725
2806
|
const toggleSort = (c) => {
|
|
@@ -2774,12 +2855,12 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
|
|
|
2774
2855
|
style: { minHeight: 24, flexDirection: "row", alignItems: "center", gap: t.size("--space-1", 4) },
|
|
2775
2856
|
children: [
|
|
2776
2857
|
head,
|
|
2777
|
-
/* @__PURE__ */ jsx31(
|
|
2858
|
+
/* @__PURE__ */ jsx31(Svg13, { width: 11, height: 11, viewBox: "0 0 24 24", fill: "none", stroke: sorted ? ink1 : ink3, strokeWidth: 2.4, strokeLinecap: "round", strokeLinejoin: "round", style: sorted && sortDir === "desc" ? { transform: [{ rotate: "180deg" }] } : void 0, children: /* @__PURE__ */ jsx31(Path10, { d: sorted ? "m18 15-6-6-6 6" : "M8 9l4-4 4 4M8 15l4 4 4-4" }) })
|
|
2778
2859
|
]
|
|
2779
2860
|
}
|
|
2780
2861
|
) : head }, c.key);
|
|
2781
2862
|
}) }),
|
|
2782
|
-
loading ? Array.from({ length: Math.min(
|
|
2863
|
+
loading ? Array.from({ length: Math.min(pagination2?.pageSize ?? 5, 5) }, (_, r) => /* @__PURE__ */ jsx31(View26, { style: { flexDirection: "row", borderBottomWidth: r === 4 ? 0 : 1, borderBottomColor: lineSoft }, children: columns.map((c, ci) => /* @__PURE__ */ jsx31(View26, { style: [cellBox(c), { padding: 14 }], children: /* @__PURE__ */ jsx31(Skeleton, { width: ci === 0 ? "72%" : ci % 2 ? "54%" : "64%" }) }, c.key)) }, r)) : error != null ? /* @__PURE__ */ jsx31(View26, { accessibilityRole: "alert", style: { paddingVertical: 32, paddingHorizontal: 14, backgroundColor: t.mix(t.pick("--critical"), 5, t.pick("--surface")) }, children: renderText(error, { textAlign: "center", color: t.pick("--critical"), fontSize: sm, ...t.font("--font-body", "--weight-medium") }) }) : visible.length === 0 ? /* @__PURE__ */ jsx31(View26, { style: { paddingVertical: 40, paddingHorizontal: 14 }, children: renderText(query || Object.values(filters).some((v) => v.length) ? "Nada encontrado com os filtros atuais." : empty ?? "Nada por aqui ainda.", { textAlign: "center", color: ink3, fontSize: sm, ...t.font("--font-body", "--weight-regular") }) }) : displayed.map((row3, i) => {
|
|
2783
2864
|
const cells = columns.map((c) => /* @__PURE__ */ jsx31(View26, { style: [cellBox(c), { padding: 14, alignItems: right(c) ? "flex-end" : "flex-start", justifyContent: "center" }], children: renderText(c.cell(row3), c.align === "num" ? { color: ink1, fontSize: sm, fontVariant: ["tabular-nums"], ...mono2("--weight-regular") } : { color: ink2, fontSize: sm, ...t.font("--font-body", "--weight-regular") }) }, c.key));
|
|
2784
2865
|
const rowStyle = { flexDirection: "row", minHeight: 44, borderBottomWidth: i === displayed.length - 1 ? 0 : 1, borderBottomColor: lineSoft };
|
|
2785
2866
|
return onRowClick ? /* @__PURE__ */ jsx31(Pressable14, { accessibilityRole: "button", accessibilityLabel: rowLabel?.(row3), onPress: () => onRowClick(row3), style: ({ pressed }) => [rowStyle, pressed ? { backgroundColor: t.pick("--surface-2") } : null], children: cells }, rowKey(row3, i)) : /* @__PURE__ */ jsx31(View26, { style: rowStyle, children: cells }, rowKey(row3, i));
|
|
@@ -2787,7 +2868,7 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
|
|
|
2787
2868
|
] });
|
|
2788
2869
|
return /* @__PURE__ */ jsxs26(View26, { style: [{ minWidth: 0, maxWidth: "100%", borderWidth: t.pick("--surface-border-width", 1), borderColor: line4, borderRadius: radius, backgroundColor: t.pick("--surface"), overflow: "hidden" }, style], children: [
|
|
2789
2870
|
searchable && /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", alignItems: "center", gap: t.size("--space-2", 8), paddingVertical: t.size("--space-2", 8), paddingHorizontal: 14, borderBottomWidth: 1, borderBottomColor: line4 }, children: [
|
|
2790
|
-
/* @__PURE__ */ jsxs26(
|
|
2871
|
+
/* @__PURE__ */ jsxs26(Svg13, { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
2791
2872
|
/* @__PURE__ */ jsx31(Circle2, { cx: 11, cy: 11, r: 7 }),
|
|
2792
2873
|
/* @__PURE__ */ jsx31(Line2, { x1: 21, y1: 21, x2: 16.65, y2: 16.65 })
|
|
2793
2874
|
] }),
|
|
@@ -2824,7 +2905,7 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
|
|
|
2824
2905
|
children: [
|
|
2825
2906
|
/* @__PURE__ */ jsx31(Text12, { style: { color: active ? ink1 : ink2, fontSize: t.size("--text-xs", 12), ...t.font("--font-body", "--weight-medium") }, children: name2 }),
|
|
2826
2907
|
sel.length > 0 && /* @__PURE__ */ jsx31(View26, { style: { minWidth: 16, height: 16, paddingHorizontal: 4, borderRadius: 999, alignItems: "center", justifyContent: "center", backgroundColor: primary }, children: /* @__PURE__ */ jsx31(Text12, { style: { color: t.pick("--on-primary", "--surface"), fontSize: eyebrow, ...mono2("--weight-regular") }, children: sel.length }) }),
|
|
2827
|
-
/* @__PURE__ */ jsx31(
|
|
2908
|
+
/* @__PURE__ */ jsx31(Svg13, { width: 12, height: 12, viewBox: "0 0 24 24", fill: "none", stroke: ink2, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round", opacity: 0.6, children: /* @__PURE__ */ jsx31(Polyline2, { points: "6 9 12 15 18 9" }) })
|
|
2828
2909
|
]
|
|
2829
2910
|
}
|
|
2830
2911
|
) }, c.key);
|
|
@@ -2835,7 +2916,7 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
|
|
|
2835
2916
|
}, style: { minHeight: 24, justifyContent: "center" }, children: /* @__PURE__ */ jsx31(Text12, { style: { color: t.pick("--primary-ink", "--primary"), fontSize: t.size("--text-xs", 12), ...t.font("--font-body", "--weight-semi") }, children: "Limpar filtros" }) })
|
|
2836
2917
|
] }),
|
|
2837
2918
|
minTableWidth ? /* @__PURE__ */ jsx31(ScrollView5, { horizontal: true, style: { flexGrow: 0 }, contentContainerStyle: { flexGrow: 1 }, showsHorizontalScrollIndicator: true, children: grid }) : grid,
|
|
2838
|
-
|
|
2919
|
+
pagination2 && !loading && error == null && visible.length > 0 && /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "space-between", gap: t.size("--space-3", 12), paddingVertical: t.size("--space-3", 12), paddingHorizontal: 14, borderTopWidth: 1, borderTopColor: line4 }, children: [
|
|
2839
2920
|
/* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: t.size("--space-4", 16) }, children: [
|
|
2840
2921
|
/* @__PURE__ */ jsxs26(Text12, { accessibilityLiveRegion: "polite", style: { color: ink3, fontSize: xs2, fontVariant: ["tabular-nums"], ...mono2("--weight-regular") }, children: [
|
|
2841
2922
|
Math.min((currentPage - 1) * pageSize + 1, visible.length),
|
|
@@ -2844,12 +2925,12 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
|
|
|
2844
2925
|
" de ",
|
|
2845
2926
|
visible.length
|
|
2846
2927
|
] }),
|
|
2847
|
-
|
|
2928
|
+
pagination2.pageSizeOptions?.length ? /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", alignItems: "center", gap: t.size("--space-2", 8) }, children: [
|
|
2848
2929
|
/* @__PURE__ */ jsx31(Text12, { style: { color: ink3, fontSize: t.size("--text-xs", 12), ...t.font("--font-body", "--weight-regular") }, children: "Por p\xE1gina" }),
|
|
2849
2930
|
/* @__PURE__ */ jsx31(Select, { block: false, accessibilityLabel: "Registros por p\xE1gina", value: String(pageSize), onValueChange: (v) => {
|
|
2850
2931
|
setInternalPageSize(Number(v));
|
|
2851
2932
|
resetPage();
|
|
2852
|
-
}, options: Array.from(/* @__PURE__ */ new Set([
|
|
2933
|
+
}, options: Array.from(/* @__PURE__ */ new Set([pagination2.pageSize, ...pagination2.pageSizeOptions])).map((n) => ({ value: String(n), label: String(n) })) })
|
|
2853
2934
|
] }) : null
|
|
2854
2935
|
] }),
|
|
2855
2936
|
/* @__PURE__ */ jsx31(Pagination, { page: currentPage, pageCount, onPageChange: changePage })
|
|
@@ -2858,7 +2939,7 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
|
|
|
2858
2939
|
Array.from(facetCounts(facetOpen)).map(([value, count]) => {
|
|
2859
2940
|
const on = (filters[facetOpen.key] ?? []).includes(value);
|
|
2860
2941
|
return /* @__PURE__ */ jsxs26(Pressable14, { accessibilityRole: "checkbox", accessibilityLabel: `${value}, ${count}`, accessibilityState: { checked: on }, onPress: () => toggleFilter(facetOpen.key, value), style: ({ pressed }) => ({ minHeight: 44, flexDirection: "row", alignItems: "center", gap: 10, paddingVertical: 8, paddingHorizontal: 10, borderRadius: t.pick("--radius-md", 8), backgroundColor: pressed ? t.pick("--surface-2") : "transparent" }), children: [
|
|
2861
|
-
/* @__PURE__ */ jsx31(View26, { style: { width: 16, height: 16, borderRadius: t.pick("--radius-sm", 4), borderWidth: 1.5, borderColor: on ? primary : t.pick("--border"), backgroundColor: on ? primary : "transparent", alignItems: "center", justifyContent: "center" }, children: on && /* @__PURE__ */ jsx31(
|
|
2942
|
+
/* @__PURE__ */ jsx31(View26, { style: { width: 16, height: 16, borderRadius: t.pick("--radius-sm", 4), borderWidth: 1.5, borderColor: on ? primary : t.pick("--border"), backgroundColor: on ? primary : "transparent", alignItems: "center", justifyContent: "center" }, children: on && /* @__PURE__ */ jsx31(Svg13, { width: 11, height: 11, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--on-primary", "--surface"), strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx31(Polyline2, { points: "20 6 9 17 4 12" }) }) }),
|
|
2862
2943
|
/* @__PURE__ */ jsx31(Text12, { style: { flex: 1, color: ink1, fontSize: sm, ...t.font("--font-body", "--weight-regular") }, children: value }),
|
|
2863
2944
|
/* @__PURE__ */ jsx31(Text12, { style: { color: ink3, fontSize: xs2, ...mono2("--weight-regular") }, children: count })
|
|
2864
2945
|
] }, value);
|
|
@@ -2871,7 +2952,7 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
|
|
|
2871
2952
|
// .build/src/chart/Charts.tsx
|
|
2872
2953
|
import { useState as useState15 } from "react";
|
|
2873
2954
|
import { Pressable as Pressable15, Text as Text13, View as View27 } from "react-native";
|
|
2874
|
-
import
|
|
2955
|
+
import Svg14, { Circle as Circle3, Defs as Defs3, G, Line as Line3, LinearGradient as LinearGradient3, Path as Path11, Rect as Rect3, Stop as Stop3, Text as SvgText } from "react-native-svg";
|
|
2875
2956
|
import { scaleLinear as scaleLinear2 } from "d3-scale";
|
|
2876
2957
|
import { arc, area as area2, curveLinear as curveLinear2, curveMonotoneX as curveMonotoneX2, curveStep as curveStep2, line as line2 } from "d3-shape";
|
|
2877
2958
|
import { jsx as jsx32, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
@@ -2957,14 +3038,14 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
|
|
|
2957
3038
|
const [hover, setHover] = useState15(null);
|
|
2958
3039
|
const [hidden, setHidden] = useState15([]);
|
|
2959
3040
|
const g = lineChartGeometry({ data, series: seriesProp, label, max, stacked, curve, xLabels }, W || 320, hidden);
|
|
2960
|
-
const
|
|
3041
|
+
const fmt3 = formatY ?? defaultFormat;
|
|
2961
3042
|
const axis = t.pick("--line");
|
|
2962
3043
|
const tickStroke = t.pick("--ink-4", "--ink-3");
|
|
2963
3044
|
const surface = t.pick("--surface");
|
|
2964
3045
|
const primary = chartToneColor(t, "primary");
|
|
2965
3046
|
const at = (px) => Math.max(0, Math.min(g.pointCount - 1, Math.round(g.x.invert(px))));
|
|
2966
3047
|
const name2 = (i) => pointName(i, g.pointCount, pointLabels, xLabels);
|
|
2967
|
-
const valueText = hover === null ? void 0 : `${name2(hover)}: ${g.series.map((s) => `${s.name} ${s.data[hover] === void 0 ? "sem valor" :
|
|
3048
|
+
const valueText = hover === null ? void 0 : `${name2(hover)}: ${g.series.map((s) => `${s.name} ${s.data[hover] === void 0 ? "sem valor" : fmt3(s.data[hover])}`).join(", ")}`;
|
|
2968
3049
|
const legendOn = showLegend ?? g.allSeries.length > 1;
|
|
2969
3050
|
return /* @__PURE__ */ jsxs27(View27, { style: [{ gap: t.size("--space-2", 8), width: "100%" }, style], children: [
|
|
2970
3051
|
showTitle && /* @__PURE__ */ jsx32(Text13, { accessibilityRole: "header", style: text.title, children: title }),
|
|
@@ -2991,7 +3072,7 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
|
|
|
2991
3072
|
onResponderRelease: () => setHover(null),
|
|
2992
3073
|
onResponderTerminate: () => setHover(null),
|
|
2993
3074
|
style: { height: H, width: "100%" },
|
|
2994
|
-
children: W > 0 && /* @__PURE__ */ jsxs27(
|
|
3075
|
+
children: W > 0 && /* @__PURE__ */ jsxs27(Svg14, { width: W, height: H, pointerEvents: "none", children: [
|
|
2995
3076
|
/* @__PURE__ */ jsx32(Defs3, { children: /* @__PURE__ */ jsxs27(LinearGradient3, { id: "refyLineArea", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
2996
3077
|
/* @__PURE__ */ jsx32(Stop3, { offset: "0%", stopColor: primary, stopOpacity: 0.28 }),
|
|
2997
3078
|
/* @__PURE__ */ jsx32(Stop3, { offset: "100%", stopColor: primary, stopOpacity: 0 })
|
|
@@ -3000,7 +3081,7 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
|
|
|
3000
3081
|
g.yTicks.map((v) => /* @__PURE__ */ jsxs27(G, { children: [
|
|
3001
3082
|
v > 0 && /* @__PURE__ */ jsx32(Line3, { x1: PAD.left, y1: g.y(v), x2: W - PAD.right, y2: g.y(v), stroke: axis, strokeWidth: 1, opacity: 0.55 }),
|
|
3002
3083
|
/* @__PURE__ */ jsx32(Line3, { x1: PAD.left - 4, y1: g.y(v), x2: PAD.left, y2: g.y(v), stroke: tickStroke, strokeWidth: 1 }),
|
|
3003
|
-
/* @__PURE__ */ jsx32(SvgText, { ...text.tick, x: PAD.left - 8, y: g.y(v) + 3.5, textAnchor: "end", children:
|
|
3084
|
+
/* @__PURE__ */ jsx32(SvgText, { ...text.tick, x: PAD.left - 8, y: g.y(v) + 3.5, textAnchor: "end", children: fmt3(v) })
|
|
3004
3085
|
] }, v)),
|
|
3005
3086
|
yTitle ? /* @__PURE__ */ jsx32(SvgText, { ...text.axisTitle, x: 6, y: PAD.top - 10, children: yTitle.toUpperCase() }) : null,
|
|
3006
3087
|
/* @__PURE__ */ jsx32(Line3, { x1: PAD.left, y1: H - PAD.bottom, x2: W - PAD.right, y2: H - PAD.bottom, stroke: axis, strokeWidth: 1 }),
|
|
@@ -3009,9 +3090,9 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
|
|
|
3009
3090
|
/* @__PURE__ */ jsx32(SvgText, { ...text.tick, x: tick.at, y: H - PAD.bottom + 16, textAnchor: "middle", children: tick.text })
|
|
3010
3091
|
] }, `${tick.text}-${i}`)),
|
|
3011
3092
|
xTitle ? /* @__PURE__ */ jsx32(SvgText, { ...text.axisTitle, x: (PAD.left + W - PAD.right) / 2, y: H - 6, textAnchor: "middle", children: xTitle.toUpperCase() }) : null,
|
|
3012
|
-
showArea && g.areas.map((d, i) => /* @__PURE__ */ jsx32(
|
|
3093
|
+
showArea && g.areas.map((d, i) => /* @__PURE__ */ jsx32(Path11, { d, fill: g.plotData.length === 1 ? "url(#refyLineArea)" : chartToneColor(t, g.plotData[i].tone), fillOpacity: g.plotData.length === 1 ? 1 : 0.13 }, `a${g.plotData[i].name}`)),
|
|
3013
3094
|
g.plotData.map((s, i) => /* @__PURE__ */ jsxs27(G, { children: [
|
|
3014
|
-
/* @__PURE__ */ jsx32(
|
|
3095
|
+
/* @__PURE__ */ jsx32(Path11, { d: g.lines[i], fill: "none", stroke: chartToneColor(t, s.tone), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
3015
3096
|
s.data.length > 0 && /* @__PURE__ */ jsx32(Circle3, { cx: g.x(s.data.length - 1), cy: g.y(s.data[s.data.length - 1]), r: 4.5, fill: chartToneColor(t, s.tone), stroke: surface, strokeWidth: 2 })
|
|
3016
3097
|
] }, s.name)),
|
|
3017
3098
|
hover !== null && /* @__PURE__ */ jsxs27(G, { children: [
|
|
@@ -3026,14 +3107,14 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
|
|
|
3026
3107
|
g.series.map((s) => /* @__PURE__ */ jsxs27(View27, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
|
|
3027
3108
|
/* @__PURE__ */ jsx32(View27, { style: { width: 10, height: 10, borderRadius: t.pick("--radius-xs", 2), backgroundColor: chartToneColor(t, s.tone) } }),
|
|
3028
3109
|
/* @__PURE__ */ jsx32(Text13, { style: { flexShrink: 1, color: t.pick("--ink-1"), fontSize: t.pick("--text-sm", 14), ...t.font("--font-body", "--weight-regular") }, children: s.name }),
|
|
3029
|
-
/* @__PURE__ */ jsx32(Text13, { style: { marginLeft: "auto", color: t.pick("--ink-1"), fontSize: t.pick("--text-sm", 14), ...t.font("--font-mono", "--weight-bold") }, children: s.data[hover] === void 0 ? "\u2014" :
|
|
3110
|
+
/* @__PURE__ */ jsx32(Text13, { style: { marginLeft: "auto", color: t.pick("--ink-1"), fontSize: t.pick("--text-sm", 14), ...t.font("--font-mono", "--weight-bold") }, children: s.data[hover] === void 0 ? "\u2014" : fmt3(s.data[hover]) })
|
|
3030
3111
|
] }, s.name))
|
|
3031
3112
|
] })
|
|
3032
3113
|
] }),
|
|
3033
3114
|
!g.pointCount && /* @__PURE__ */ jsx32(Text13, { accessibilityLiveRegion: "polite", style: text.status, children: "Sem dados para este per\xEDodo." }),
|
|
3034
3115
|
g.pointCount > 0 && !g.series.length && /* @__PURE__ */ jsx32(Text13, { accessibilityLiveRegion: "polite", style: text.status, children: "Selecione uma s\xE9rie na legenda." }),
|
|
3035
3116
|
legendOn && /* @__PURE__ */ jsx32(ChartLegend, { label: `Legenda de ${title}`, items: g.allSeries.map((s) => ({ id: s.name, label: s.name, color: chartToneColor(t, s.tone) })), hidden, onToggle: (id) => setHidden((c) => c.includes(id) ? c.filter((n) => n !== id) : [...c, id]) }),
|
|
3036
|
-
/* @__PURE__ */ jsx32(ChartData, { label: title, rows: Array.from({ length: g.pointCount }, (_, index) => ({ index, label: name2(index), values: g.allSeries.map((s) => `${s.name}: ${s.data[index] === void 0 ? "\u2014" :
|
|
3117
|
+
/* @__PURE__ */ jsx32(ChartData, { label: title, rows: Array.from({ length: g.pointCount }, (_, index) => ({ index, label: name2(index), values: g.allSeries.map((s) => `${s.name}: ${s.data[index] === void 0 ? "\u2014" : fmt3(s.data[index])}`).join(" \xB7 ") })) })
|
|
3037
3118
|
] });
|
|
3038
3119
|
}
|
|
3039
3120
|
function AreaChart(props) {
|
|
@@ -3067,7 +3148,7 @@ function BarChart({ title, showTitle = true, items, formatValue = (v) => String(
|
|
|
3067
3148
|
const summary = items.map((item) => `${item.label} ${formatValue(item.value)}`).join(", ");
|
|
3068
3149
|
return /* @__PURE__ */ jsxs27(View27, { style: [{ gap: t.size("--space-2", 8), width: "100%" }, style], children: [
|
|
3069
3150
|
showTitle && /* @__PURE__ */ jsx32(Text13, { accessibilityRole: "header", style: text.title, children: title }),
|
|
3070
|
-
/* @__PURE__ */ jsx32(View27, { accessible: true, accessibilityRole: "image", accessibilityLabel: summary ? `${label}: ${summary}` : label, onLayout: (e) => setW(Math.round(e.nativeEvent.layout.width)), style: { height: H, width: "100%" }, children: W > 0 && /* @__PURE__ */ jsxs27(
|
|
3151
|
+
/* @__PURE__ */ jsx32(View27, { accessible: true, accessibilityRole: "image", accessibilityLabel: summary ? `${label}: ${summary}` : label, onLayout: (e) => setW(Math.round(e.nativeEvent.layout.width)), style: { height: H, width: "100%" }, children: W > 0 && /* @__PURE__ */ jsxs27(Svg14, { width: W, height: H, children: [
|
|
3071
3152
|
g.ticks.map((v) => /* @__PURE__ */ jsxs27(G, { children: [
|
|
3072
3153
|
/* @__PURE__ */ jsx32(Line3, { x1: g.barX + g.scale(v), y1: PAD.top, x2: g.barX + g.scale(v), y2: g.axisY, stroke: axis, strokeWidth: 1, opacity: 0.55 }),
|
|
3073
3154
|
/* @__PURE__ */ jsx32(Line3, { x1: g.barX + g.scale(v), y1: g.axisY, x2: g.barX + g.scale(v), y2: g.axisY + 4, stroke: tickStroke, strokeWidth: 1 }),
|
|
@@ -3114,10 +3195,10 @@ function DonutChart({ value, segments, centerLabel, caption, showLegend, formatV
|
|
|
3114
3195
|
const legendOn = showLegend ?? Boolean(segments);
|
|
3115
3196
|
const summary = segments ? segments.map((s, i) => `${s.label ?? `S\xE9rie ${i + 1}`} ${formatValue(s.value)}`).join(", ") : `${filled}%`;
|
|
3116
3197
|
return /* @__PURE__ */ jsxs27(View27, { style: [{ flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: t.size("--space-6", 24) }, style], children: [
|
|
3117
|
-
/* @__PURE__ */ jsx32(View27, { accessible: true, accessibilityRole: "image", accessibilityLabel: `${label}: ${summary}`, children: /* @__PURE__ */ jsxs27(
|
|
3198
|
+
/* @__PURE__ */ jsx32(View27, { accessible: true, accessibilityRole: "image", accessibilityLabel: `${label}: ${summary}`, children: /* @__PURE__ */ jsxs27(Svg14, { width: size, height: size, viewBox: "0 0 220 220", children: [
|
|
3118
3199
|
/* @__PURE__ */ jsxs27(G, { transform: "translate(110 110)", children: [
|
|
3119
|
-
/* @__PURE__ */ jsx32(
|
|
3120
|
-
paths2.map((p, i) => /* @__PURE__ */ jsx32(
|
|
3200
|
+
/* @__PURE__ */ jsx32(Path11, { d: track, fill: t.pick("--line-soft", "--line") }),
|
|
3201
|
+
paths2.map((p, i) => /* @__PURE__ */ jsx32(Path11, { d: p.d, fill: chartToneColor(t, p.tone) }, i))
|
|
3121
3202
|
] }),
|
|
3122
3203
|
center ? /* @__PURE__ */ jsx32(SvgText, { x: 110, y: 108, textAnchor: "middle", fill: t.pick("--ink-1"), fontSize: 34, fontWeight: "700", letterSpacing: -0.7, fontFamily: t.font(["--font-headline", "--font-display", "--font-body"], "--weight-bold").fontFamily, children: center }) : null,
|
|
3123
3204
|
caption ? /* @__PURE__ */ jsx32(SvgText, { x: 110, y: 132, textAnchor: "middle", fill: t.pick("--ink-3"), fontSize: 10, letterSpacing: 1.4, fontFamily: t.font(["--interface-detail-font", "--font-mono"], "--weight-regular").fontFamily, children: caption.toUpperCase() }) : null
|
|
@@ -3131,7 +3212,7 @@ function Sparkline({ data, tone = "good", width = 100, height = 28, label, style
|
|
|
3131
3212
|
const lo = Math.min(...data), hi = Math.max(...data);
|
|
3132
3213
|
const y = scaleLinear2().domain([lo, hi === lo ? lo + 1 : hi]).range([height - 4, 4]);
|
|
3133
3214
|
const d = line2().x((_, i) => x(i)).y((v) => y(v)).curve(curveMonotoneX2)(data) ?? "";
|
|
3134
|
-
return /* @__PURE__ */ jsx32(View27, { accessible: true, accessibilityRole: "image", accessibilityLabel: label, style, children: /* @__PURE__ */ jsx32(
|
|
3215
|
+
return /* @__PURE__ */ jsx32(View27, { accessible: true, accessibilityRole: "image", accessibilityLabel: label, style, children: /* @__PURE__ */ jsx32(Svg14, { width, height, children: /* @__PURE__ */ jsx32(Path11, { d, fill: "none", stroke: chartToneColor(t, tone === "bad" ? "critical" : "primary"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }) }) });
|
|
3135
3216
|
}
|
|
3136
3217
|
|
|
3137
3218
|
// .build/src/chart/d3/cartesian.tsx
|
|
@@ -3192,7 +3273,7 @@ var palette2 = [
|
|
|
3192
3273
|
var colorAt2 = (index, colors4) => (colors4?.length ? colors4 : palette2)[index % (colors4?.length || palette2.length)];
|
|
3193
3274
|
var keyX2 = (value) => value instanceof Date ? value.toISOString() : String(value);
|
|
3194
3275
|
var formatX2 = (value, locale = "en") => value instanceof Date ? value.toLocaleDateString(locale) : typeof value === "number" ? value.toLocaleString(locale, { maximumFractionDigits: 2 }) : value;
|
|
3195
|
-
function numericScale2(domain,
|
|
3276
|
+
function numericScale2(domain, range2, axis) {
|
|
3196
3277
|
const input = axis?.domain?.map(Number);
|
|
3197
3278
|
const d = input ?? domain;
|
|
3198
3279
|
if (!d.every(Number.isFinite) || d[0] >= d[1])
|
|
@@ -3202,13 +3283,13 @@ function numericScale2(domain, range, axis) {
|
|
|
3202
3283
|
"A logarithmic scale requires values and bounds greater than zero."
|
|
3203
3284
|
);
|
|
3204
3285
|
const scale = axis?.createScale ? axis.createScale() : axis?.scale === "log" ? scaleLog2() : axis?.scale === "symlog" ? scaleSymlog2() : axis?.scale === "sqrt" ? scaleSqrt2() : scaleLinear3();
|
|
3205
|
-
scale.domain(d).range(
|
|
3286
|
+
scale.domain(d).range(range2);
|
|
3206
3287
|
if (axis?.nice !== false && !input) scale.nice(axis?.tickCount ?? 4);
|
|
3207
3288
|
if (![scale(scale.domain()[0]), scale(scale.domain()[1])].every(Number.isFinite))
|
|
3208
3289
|
throw Error("The configured scale cannot represent this domain.");
|
|
3209
3290
|
return scale;
|
|
3210
3291
|
}
|
|
3211
|
-
function xCoordinates2(values,
|
|
3292
|
+
function xCoordinates2(values, range2, axis, viewport) {
|
|
3212
3293
|
const unique = [
|
|
3213
3294
|
...new Map(values.map((value) => [keyX2(value), value])).values()
|
|
3214
3295
|
];
|
|
@@ -3216,10 +3297,10 @@ function xCoordinates2(values, range, axis, viewport) {
|
|
|
3216
3297
|
const numeric = unique.every(
|
|
3217
3298
|
(value) => typeof value === "number" || value instanceof Date
|
|
3218
3299
|
);
|
|
3219
|
-
const visible = (value, at2) => at2(value) >=
|
|
3300
|
+
const visible = (value, at2) => at2(value) >= range2[0] - 1 && at2(value) <= range2[1] + 1;
|
|
3220
3301
|
if (!numeric) {
|
|
3221
|
-
const band = scaleBand2().domain(unique.map(keyX2)).range(
|
|
3222
|
-
const at2 = (value) => (band(keyX2(value)) ??
|
|
3302
|
+
const band = scaleBand2().domain(unique.map(keyX2)).range(range2.map((v) => v * k + offset)).padding(0.2);
|
|
3303
|
+
const at2 = (value) => (band(keyX2(value)) ?? range2[0]) + band.bandwidth() / 2;
|
|
3223
3304
|
const candidates = (axis?.tickValues ?? unique).filter(
|
|
3224
3305
|
(v) => visible(v, at2)
|
|
3225
3306
|
);
|
|
@@ -3228,7 +3309,7 @@ function xCoordinates2(values, range, axis, viewport) {
|
|
|
3228
3309
|
Math.ceil(
|
|
3229
3310
|
candidates.length / Math.max(
|
|
3230
3311
|
2,
|
|
3231
|
-
Math.min(axis?.tickCount ?? Infinity, (
|
|
3312
|
+
Math.min(axis?.tickCount ?? Infinity, (range2[1] - range2[0]) / 50)
|
|
3232
3313
|
)
|
|
3233
3314
|
)
|
|
3234
3315
|
);
|
|
@@ -3250,26 +3331,26 @@ function xCoordinates2(values, range, axis, viewport) {
|
|
|
3250
3331
|
new Date(lo),
|
|
3251
3332
|
new Date(hi === lo ? lo + 864e5 : hi)
|
|
3252
3333
|
];
|
|
3253
|
-
const base2 = scaleTime2().domain(d.map((v) => new Date(v))).range(
|
|
3254
|
-
const scale2 = base2.copy().domain(
|
|
3334
|
+
const base2 = scaleTime2().domain(d.map((v) => new Date(v))).range(range2);
|
|
3335
|
+
const scale2 = base2.copy().domain(range2.map((v) => base2.invert((v - offset) / k)));
|
|
3255
3336
|
const at2 = (v) => scale2(new Date(v));
|
|
3256
3337
|
return {
|
|
3257
3338
|
at: at2,
|
|
3258
3339
|
ticks: (axis?.tickValues ?? scale2.ticks(axis?.tickCount ?? 5)).filter(
|
|
3259
3340
|
(v) => visible(v, at2)
|
|
3260
3341
|
),
|
|
3261
|
-
bandwidth: (
|
|
3342
|
+
bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
|
|
3262
3343
|
invert: (pixel) => scale2.invert(pixel)
|
|
3263
3344
|
};
|
|
3264
3345
|
}
|
|
3265
|
-
const base = numericScale2([lo, hi === lo ? lo + 1 : hi],
|
|
3346
|
+
const base = numericScale2([lo, hi === lo ? lo + 1 : hi], range2, axis), scale = base.copy().domain(range2.map((v) => base.invert((v - offset) / k)));
|
|
3266
3347
|
const at = (v) => scale(Number(v));
|
|
3267
3348
|
return {
|
|
3268
3349
|
at,
|
|
3269
3350
|
ticks: (axis?.tickValues ?? scale.ticks(axis?.tickCount ?? 5)).filter(
|
|
3270
3351
|
(v) => visible(v, at)
|
|
3271
3352
|
),
|
|
3272
|
-
bandwidth: (
|
|
3353
|
+
bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
|
|
3273
3354
|
invert: (pixel) => scale.invert(pixel)
|
|
3274
3355
|
};
|
|
3275
3356
|
}
|
|
@@ -3350,7 +3431,7 @@ var curves2 = {
|
|
|
3350
3431
|
};
|
|
3351
3432
|
var resolveCurve2 = (curve = "natural") => typeof curve === "function" ? curve : curves2[curve];
|
|
3352
3433
|
var row2 = (id, label, values, seriesId) => ({ id, label, values, seriesId });
|
|
3353
|
-
function cartesianScene(props, layout, hidden, viewport, text =
|
|
3434
|
+
function cartesianScene(props, layout, hidden, viewport, text = d3Chart) {
|
|
3354
3435
|
const { width: w, height: h, top: t, right: r, bottom: b } = layout;
|
|
3355
3436
|
let l = layout.left;
|
|
3356
3437
|
if (props.type === "heatmap") {
|
|
@@ -3798,7 +3879,7 @@ function cartesianScene(props, layout, hidden, viewport, text = en.d3Chart) {
|
|
|
3798
3879
|
import { arc as arc2, pie, lineRadial, curveLinearClosed } from "d3-shape";
|
|
3799
3880
|
import { scaleLinear as scaleLinear4 } from "d3-scale";
|
|
3800
3881
|
import { Fragment as Fragment8, jsx as jsx35, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
3801
|
-
function radialScene(props, layout, hidden, text =
|
|
3882
|
+
function radialScene(props, layout, hidden, text = d3Chart) {
|
|
3802
3883
|
const { width: w, height: h, top: t, bottom: b, left: l, right: r } = layout;
|
|
3803
3884
|
const cx = (l + w - r) / 2, cy = (t + h - b) / 2, R = Math.max(8, Math.min(w - l - r, h - t - b) / 2 - 22);
|
|
3804
3885
|
if (props.type === "radar") {
|
|
@@ -4066,7 +4147,7 @@ import {
|
|
|
4066
4147
|
import { arc as arc3, linkHorizontal } from "d3-shape";
|
|
4067
4148
|
import { jsx as jsx36, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4068
4149
|
var fitLabel = (text, max) => text.length <= max ? text : max < 2 ? "" : `${text.slice(0, max - 1)}\u2026`;
|
|
4069
|
-
function hierarchyScene(props, layout, hidden, text =
|
|
4150
|
+
function hierarchyScene(props, layout, hidden, text = d3Chart) {
|
|
4070
4151
|
if (!("root" in props)) return { marks: [] };
|
|
4071
4152
|
const { width: w, height: h, top: t, bottom: b, left: l, right: r } = layout, W = w - l - r, H2 = h - t - b;
|
|
4072
4153
|
const input = hierarchy(props.root);
|
|
@@ -4279,7 +4360,7 @@ import { arc as arc4 } from "d3-shape";
|
|
|
4279
4360
|
import { sankey, sankeyLinkHorizontal } from "d3-sankey";
|
|
4280
4361
|
import { geoMercator, geoEqualEarth, geoOrthographic, geoPath } from "d3-geo";
|
|
4281
4362
|
import { jsx as jsx37, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4282
|
-
function relationScene(props, layout, hidden, text =
|
|
4363
|
+
function relationScene(props, layout, hidden, text = d3Chart) {
|
|
4283
4364
|
const { width: w, height: h, left: l, right: r, top: t, bottom: b } = layout, W = w - l - r, H2 = h - t - b;
|
|
4284
4365
|
if (props.type === "geo") {
|
|
4285
4366
|
let checkCoordinates2 = function(value) {
|
|
@@ -4582,11 +4663,11 @@ function relationScene(props, layout, hidden, text = en.d3Chart) {
|
|
|
4582
4663
|
|
|
4583
4664
|
// .build/src/chart/d3/svg.tsx
|
|
4584
4665
|
import { Children as Children4, Fragment as Fragment9, isValidElement as isValidElement2 } from "react";
|
|
4585
|
-
import { Circle as Circle4, ClipPath, Defs as Defs4, Ellipse, G as G2, Line as Line4, LinearGradient as LinearGradient4, Path as
|
|
4666
|
+
import { Circle as Circle4, ClipPath, Defs as Defs4, Ellipse, G as G2, Line as Line4, LinearGradient as LinearGradient4, Path as Path12, Polygon, Polyline as Polyline3, Rect as Rect4, Stop as Stop4, Text as Text14, TSpan } from "react-native-svg";
|
|
4586
4667
|
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
4587
4668
|
var tags = {
|
|
4588
4669
|
g: G2,
|
|
4589
|
-
path:
|
|
4670
|
+
path: Path12,
|
|
4590
4671
|
rect: Rect4,
|
|
4591
4672
|
circle: Circle4,
|
|
4592
4673
|
line: Line4,
|
|
@@ -4753,7 +4834,7 @@ function SceneChart(input) {
|
|
|
4753
4834
|
if (m) props.onSelect?.(m.datum);
|
|
4754
4835
|
},
|
|
4755
4836
|
style: { height, width: "100%" },
|
|
4756
|
-
children: width > 0 && /* @__PURE__ */ jsxs33(
|
|
4837
|
+
children: width > 0 && /* @__PURE__ */ jsxs33(Svg15, { width, height, pointerEvents: "none", children: [
|
|
4757
4838
|
/* @__PURE__ */ jsx39(Defs5, { children: /* @__PURE__ */ jsx39(ClipPath2, { id: "refyScenePlot", children: /* @__PURE__ */ jsx39(Rect5, { x: layout.left, y: layout.top, width: width - layout.left - layout.right, height: height - layout.top - layout.bottom }) }) }),
|
|
4758
4839
|
toNativeSvg(scene.decorations, t, ink3),
|
|
4759
4840
|
/* @__PURE__ */ jsxs33(G3, { clipPath: cartesian ? "url(#refyScenePlot)" : void 0, children: [
|
|
@@ -4911,7 +4992,7 @@ function LineAreaChart(input) {
|
|
|
4911
4992
|
if (mark) props.onSelect?.(mark.datum);
|
|
4912
4993
|
},
|
|
4913
4994
|
style: { height, width: "100%" },
|
|
4914
|
-
children: width > 0 && /* @__PURE__ */ jsxs34(
|
|
4995
|
+
children: width > 0 && /* @__PURE__ */ jsxs34(Svg16, { width, height, pointerEvents: "none", children: [
|
|
4915
4996
|
/* @__PURE__ */ jsxs34(G4, { children: [
|
|
4916
4997
|
(grid === true || grid === "y" || grid === "both") && scene.yTicks.map((tick) => /* @__PURE__ */ jsx40(Line5, { x1: l, x2: w - r, y1: tick.at, y2: tick.at, stroke: line4, strokeWidth: 1, opacity: 0.4 }, `gy${tick.value}`)),
|
|
4917
4998
|
(grid === "x" || grid === "both") && scene.xTicks.map((tick, i) => /* @__PURE__ */ jsx40(Line5, { x1: tick.at, x2: tick.at, y1: tp, y2: h - b, stroke: line4, strokeWidth: 1, opacity: 0.4 }, `gx${i}`)),
|
|
@@ -4928,7 +5009,7 @@ function LineAreaChart(input) {
|
|
|
4928
5009
|
] }),
|
|
4929
5010
|
scene.paths.map((path) => {
|
|
4930
5011
|
const color = resolveColor2(t, path.color);
|
|
4931
|
-
return path.kind === "area" ? /* @__PURE__ */ jsx40(
|
|
5012
|
+
return path.kind === "area" ? /* @__PURE__ */ jsx40(Path13, { d: path.d, fill: color, fillOpacity: props.fillOpacity ?? 0.18 }, path.id) : /* @__PURE__ */ jsx40(Path13, { d: path.d, fill: "none", stroke: color, strokeWidth: props.strokeWidth ?? 2, strokeLinecap: "round", strokeLinejoin: "round" }, path.id);
|
|
4932
5013
|
}),
|
|
4933
5014
|
scene.marks.map((mark) => /* @__PURE__ */ jsx40(Circle6, { cx: mark.x, cy: mark.y, r: props.dots ? 4 : 3, fill: resolveColor2(t, mark.color), fillOpacity: props.dots ? 1 : 0, opacity: active && active.datum.seriesId !== mark.datum.seriesId ? 0.35 : 1 }, mark.id)),
|
|
4934
5015
|
active && /* @__PURE__ */ jsx40(Circle6, { cx: active.x, cy: active.y, r: 8, fill: "none", stroke: t.pick("--ink-1"), strokeWidth: 1.5 })
|
|
@@ -4977,7 +5058,7 @@ function IconSlot({ size, color, children }) {
|
|
|
4977
5058
|
|
|
4978
5059
|
// .build/src/components/Avatar.tsx
|
|
4979
5060
|
import { Image, Text as Text17, View as View31 } from "react-native";
|
|
4980
|
-
import
|
|
5061
|
+
import Svg17, { Defs as Defs6, LinearGradient as LinearGradient5, Rect as Rect6, Stop as Stop5 } from "react-native-svg";
|
|
4981
5062
|
import { jsx as jsx42, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4982
5063
|
var sizes2 = { xs: [20, 9], sm: [24, 10], md: [32, 12], lg: [44, 15], xl: [72, 24] };
|
|
4983
5064
|
function gradientIndex(seed) {
|
|
@@ -5009,7 +5090,7 @@ function Avatar({ initials, src, source, alt = "", size = "md", shape = "circle"
|
|
|
5009
5090
|
...rest,
|
|
5010
5091
|
style: [{ width: box, height: box, borderRadius: radius, overflow: "hidden", alignItems: "center", justifyContent: "center", backgroundColor: !image && color ? color : void 0 }, style],
|
|
5011
5092
|
children: [
|
|
5012
|
-
stops && /* @__PURE__ */ jsxs35(
|
|
5093
|
+
stops && /* @__PURE__ */ jsxs35(Svg17, { pointerEvents: "none", style: { position: "absolute", top: 0, left: 0 }, width: box, height: box, children: [
|
|
5013
5094
|
/* @__PURE__ */ jsx42(Defs6, { children: /* @__PURE__ */ jsxs35(LinearGradient5, { id: "refy-avatar", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
|
5014
5095
|
/* @__PURE__ */ jsx42(Stop5, { offset: "0", stopColor: stops[0] }),
|
|
5015
5096
|
/* @__PURE__ */ jsx42(Stop5, { offset: "1", stopColor: stops[1] })
|
|
@@ -5025,7 +5106,7 @@ function Avatar({ initials, src, source, alt = "", size = "md", shape = "circle"
|
|
|
5025
5106
|
// .build/src/components/Chip.tsx
|
|
5026
5107
|
import { forwardRef as forwardRef6 } from "react";
|
|
5027
5108
|
import { Pressable as Pressable17, Text as Text18, View as View32 } from "react-native";
|
|
5028
|
-
import
|
|
5109
|
+
import Svg18, { Path as Path14, Polyline as Polyline4 } from "react-native-svg";
|
|
5029
5110
|
import { Fragment as Fragment12, jsx as jsx43, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
5030
5111
|
var toneInk = {
|
|
5031
5112
|
critical: ["--critical-ink", "--critical-soft"],
|
|
@@ -5090,7 +5171,7 @@ var Chip = forwardRef6(function Chip2({ variant = "filter", selected = false, co
|
|
|
5090
5171
|
children: (state) => {
|
|
5091
5172
|
const c = colors2(t, tone, selected, selection, !disabled && state.pressed);
|
|
5092
5173
|
return /* @__PURE__ */ jsxs36(Fragment12, { children: [
|
|
5093
|
-
showCheck && selected && /* @__PURE__ */ jsx43(
|
|
5174
|
+
showCheck && selected && /* @__PURE__ */ jsx43(Svg18, { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: c.fg, strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx43(Polyline4, { points: "20 6 9 17 4 12" }) }),
|
|
5094
5175
|
leadingIcon && /* @__PURE__ */ jsx43(IconSlot, { size: 14, color: c.fg, children: leadingIcon }),
|
|
5095
5176
|
tone !== "neutral" && !selection && /* @__PURE__ */ jsx43(View32, { style: { width: 6, height: 6, borderRadius: 3, backgroundColor: c.fg } }),
|
|
5096
5177
|
renderText(children, { color: c.fg, fontSize, ...t.font("--font-body", "--weight-medium") }, { numberOfLines: 1 }),
|
|
@@ -5104,7 +5185,7 @@ var Chip = forwardRef6(function Chip2({ variant = "filter", selected = false, co
|
|
|
5104
5185
|
fontSize: t.pick("--text-2xs", 11),
|
|
5105
5186
|
...t.font(["--interface-detail-font", "--font-mono"], "--weight-semi")
|
|
5106
5187
|
}, children: count }),
|
|
5107
|
-
removable && /* @__PURE__ */ jsx43(View32, { style: { width: selection ? 18 : 16, height: selection ? 18 : 16, alignItems: "center", justifyContent: "center", opacity: selection ? 0.65 : 1, marginRight: selection ? 0 : -2 }, children: /* @__PURE__ */ jsx43(
|
|
5188
|
+
removable && /* @__PURE__ */ jsx43(View32, { style: { width: selection ? 18 : 16, height: selection ? 18 : 16, alignItems: "center", justifyContent: "center", opacity: selection ? 0.65 : 1, marginRight: selection ? 0 : -2 }, children: /* @__PURE__ */ jsx43(Svg18, { width: selection ? 10 : 12, height: selection ? 10 : 12, viewBox: "0 0 24 24", fill: "none", stroke: c.fg, strokeWidth: 2.4, strokeLinecap: "round", children: /* @__PURE__ */ jsx43(Path14, { d: "M18 6 6 18M6 6l12 12" }) }) })
|
|
5108
5189
|
] });
|
|
5109
5190
|
}
|
|
5110
5191
|
}
|
|
@@ -5223,7 +5304,7 @@ var IconButton = forwardRef8(function IconButton2({ icon, variant = "ghost", siz
|
|
|
5223
5304
|
// .build/src/components/Checkbox.tsx
|
|
5224
5305
|
import { forwardRef as forwardRef9 } from "react";
|
|
5225
5306
|
import { Pressable as Pressable20, Text as Text20, View as View33 } from "react-native";
|
|
5226
|
-
import
|
|
5307
|
+
import Svg19, { Polyline as Polyline5 } from "react-native-svg";
|
|
5227
5308
|
import { Fragment as Fragment14, jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
5228
5309
|
var Checkbox = forwardRef9(function Checkbox2({ label, description, tag, meta, boxed = false, checked, defaultChecked = false, disabled, onCheckedChange, onPress, style, accessibilityLabel, ...rest }, ref) {
|
|
5229
5310
|
const t = useRefy();
|
|
@@ -5285,7 +5366,7 @@ var Checkbox = forwardRef9(function Checkbox2({ label, description, tag, meta, b
|
|
|
5285
5366
|
borderColor: on ? filled : pressed ? t.pick("--ink-3") : t.pick("--line", "--surface-container-high"),
|
|
5286
5367
|
backgroundColor: filled,
|
|
5287
5368
|
transform: [{ scale: pressed ? 0.92 : 1 }]
|
|
5288
|
-
}, children: on && /* @__PURE__ */ jsx46(
|
|
5369
|
+
}, children: on && /* @__PURE__ */ jsx46(Svg19, { width: 11, height: 11, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--selection-on-primary", "--on-primary"), strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx46(Polyline5, { points: "20 6 9 17 4 12" }) }) }),
|
|
5289
5370
|
(label || description) && /* @__PURE__ */ jsxs38(View33, { style: { flex: 1, minWidth: 0, gap: 2 }, children: [
|
|
5290
5371
|
label && /* @__PURE__ */ jsxs38(View33, { style: { flexDirection: "row", alignItems: "center", flexWrap: "wrap", gap: t.pick("--space-2", 8) }, children: [
|
|
5291
5372
|
renderText(label, { fontSize: labelSize, lineHeight: lineHeight(labelSize, snug), color: t.pick("--ink-1"), ...t.font("--font-body", "--weight-regular") }),
|
|
@@ -5593,14 +5674,14 @@ function Bubble({ side = "start", children, style, ...rest }) {
|
|
|
5593
5674
|
|
|
5594
5675
|
// .build/src/components/GoogleButton.tsx
|
|
5595
5676
|
import { forwardRef as forwardRef11 } from "react";
|
|
5596
|
-
import
|
|
5677
|
+
import Svg20, { Path as Path15 } from "react-native-svg";
|
|
5597
5678
|
import { jsx as jsx54, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
5598
5679
|
function GoogleIcon2() {
|
|
5599
|
-
return /* @__PURE__ */ jsxs43(
|
|
5600
|
-
/* @__PURE__ */ jsx54(
|
|
5601
|
-
/* @__PURE__ */ jsx54(
|
|
5602
|
-
/* @__PURE__ */ jsx54(
|
|
5603
|
-
/* @__PURE__ */ jsx54(
|
|
5680
|
+
return /* @__PURE__ */ jsxs43(Svg20, { width: 18, height: 18, viewBox: "0 0 18 18", accessibilityElementsHidden: true, importantForAccessibility: "no", children: [
|
|
5681
|
+
/* @__PURE__ */ jsx54(Path15, { fill: "#4285F4", d: "M17.64 9.2c0-.64-.06-1.25-.16-1.84H9v3.48h4.84a4.14 4.14 0 0 1-1.8 2.72v2.26h2.92c1.71-1.57 2.68-3.89 2.68-6.62Z" }),
|
|
5682
|
+
/* @__PURE__ */ jsx54(Path15, { fill: "#34A853", d: "M9 18c2.43 0 4.47-.8 5.96-2.18l-2.92-2.26c-.8.54-1.84.86-3.04.86-2.34 0-4.32-1.58-5.03-3.71H.96v2.33A9 9 0 0 0 9 18Z" }),
|
|
5683
|
+
/* @__PURE__ */ jsx54(Path15, { fill: "#FBBC05", d: "M3.97 10.71a5.4 5.4 0 0 1 0-3.42V4.96H.96a9 9 0 0 0 0 8.08l3.01-2.33Z" }),
|
|
5684
|
+
/* @__PURE__ */ jsx54(Path15, { fill: "#EA4335", d: "M9 3.58c1.32 0 2.5.45 3.44 1.35l2.58-2.59C13.46.89 11.43 0 9 0A9 9 0 0 0 .96 4.96l3.01 2.33C4.68 5.16 6.66 3.58 9 3.58Z" })
|
|
5604
5685
|
] });
|
|
5605
5686
|
}
|
|
5606
5687
|
var GoogleButton = forwardRef11(function GoogleButton2({ children = "Continuar com Google", style, labelStyle, status = "idle", loading, ...rest }, ref) {
|
|
@@ -6081,7 +6162,7 @@ function ButtonGroup({ orientation = "horizontal", label, defaultActiveIndex = 0
|
|
|
6081
6162
|
// .build/src/components/Callout.tsx
|
|
6082
6163
|
import { useEffect as useEffect16, useRef as useRef18, useState as useState23 } from "react";
|
|
6083
6164
|
import { Animated as Animated15, Text as Text27, View as View47 } from "react-native";
|
|
6084
|
-
import
|
|
6165
|
+
import Svg21, { Defs as Defs7, LinearGradient as LinearGradient6, Path as Path16, Rect as Rect7, Stop as Stop6 } from "react-native-svg";
|
|
6085
6166
|
import { jsx as jsx63, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
6086
6167
|
function palette3(t, tone) {
|
|
6087
6168
|
const p = (...c) => t.pick(...c);
|
|
@@ -6107,7 +6188,7 @@ function palette3(t, tone) {
|
|
|
6107
6188
|
}
|
|
6108
6189
|
function Close() {
|
|
6109
6190
|
const { size, color } = useIconStyle();
|
|
6110
|
-
return /* @__PURE__ */ jsx63(
|
|
6191
|
+
return /* @__PURE__ */ jsx63(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", children: /* @__PURE__ */ jsx63(Path16, { d: "M18 6 6 18M6 6l12 12" }) });
|
|
6111
6192
|
}
|
|
6112
6193
|
function Callout({ tone = "info", icon, title, children, action, dismissible = false, onDismiss, dismissLabel = "Dispensar aviso", style, ...rest }) {
|
|
6113
6194
|
const t = useRefy();
|
|
@@ -6148,7 +6229,7 @@ function Callout({ tone = "info", icon, title, children, action, dismissible = f
|
|
|
6148
6229
|
transform: [{ translateY: exit.interpolate({ inputRange: [0, 1], outputRange: [0, -t.pick("--space-1", 4)] }) }]
|
|
6149
6230
|
}, style],
|
|
6150
6231
|
children: [
|
|
6151
|
-
c.gradient && box.w > 0 && /* @__PURE__ */ jsxs50(
|
|
6232
|
+
c.gradient && box.w > 0 && /* @__PURE__ */ jsxs50(Svg21, { pointerEvents: "none", width: box.w, height: box.h, style: { position: "absolute", top: 0, left: 0 }, children: [
|
|
6152
6233
|
/* @__PURE__ */ jsx63(Defs7, { children: /* @__PURE__ */ jsxs50(LinearGradient6, { id: "refy-callout", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
|
6153
6234
|
/* @__PURE__ */ jsx63(Stop6, { offset: "0", stopColor: c.gradient[0] }),
|
|
6154
6235
|
/* @__PURE__ */ jsx63(Stop6, { offset: "1", stopColor: c.gradient[1] })
|
|
@@ -6244,7 +6325,7 @@ function ActivityItem({ title, actor, timestamp, description, badge, status, met
|
|
|
6244
6325
|
// .build/src/components/NavCard.tsx
|
|
6245
6326
|
import { forwardRef as forwardRef13 } from "react";
|
|
6246
6327
|
import { Pressable as Pressable25, View as View50 } from "react-native";
|
|
6247
|
-
import
|
|
6328
|
+
import Svg22, { Path as Path17 } from "react-native-svg";
|
|
6248
6329
|
import { Fragment as Fragment18, jsx as jsx66, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
6249
6330
|
var NavCard = forwardRef13(function NavCard2({ title, description, meta, leading, disabled = false, current = false, variant = "solid", showChevron = true, style, accessibilityLabel, ...rest }, ref) {
|
|
6250
6331
|
const t = useRefy();
|
|
@@ -6292,7 +6373,7 @@ var NavCard = forwardRef13(function NavCard2({ title, description, meta, leading
|
|
|
6292
6373
|
description != null && renderText(description, { fontSize: xs, lineHeight: lineHeight(xs, snug), color: t.pick("--ink-3"), ...t.font("--font-body", "--weight-regular") })
|
|
6293
6374
|
] }),
|
|
6294
6375
|
meta != null && /* @__PURE__ */ jsx66(View50, { style: { flexDirection: "row", alignItems: "center", gap: t.pick("--space-2", 8) }, children: renderText(meta, { fontSize: t.pick("--text-2xs", 11), color: t.pick("--ink-3"), ...t.font("--font-body", "--weight-regular") }) }),
|
|
6295
|
-
showChevron && /* @__PURE__ */ jsx66(
|
|
6376
|
+
showChevron && /* @__PURE__ */ jsx66(Svg22, { width: 20, height: 20, viewBox: "0 0 24 24", fill: "none", stroke: pressed ? t.pick("--primary-ink") : t.pick("--ink-4"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx66(Path17, { d: "m9 18 6-6-6-6" }) })
|
|
6296
6377
|
] });
|
|
6297
6378
|
}
|
|
6298
6379
|
}
|
|
@@ -6322,7 +6403,7 @@ function PersonCell({ avatar, name: name2, tag, secondary, size = "md", style, .
|
|
|
6322
6403
|
// .build/src/components/ScoreGauge.tsx
|
|
6323
6404
|
import { useEffect as useEffect17, useRef as useRef19, useState as useState24 } from "react";
|
|
6324
6405
|
import { Animated as Animated16, Easing as Easing12, Text as Text29, View as View52 } from "react-native";
|
|
6325
|
-
import
|
|
6406
|
+
import Svg23, { Circle as Circle7 } from "react-native-svg";
|
|
6326
6407
|
import { jsx as jsx68, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
6327
6408
|
var RADIUS = 28;
|
|
6328
6409
|
var CIRCUMFERENCE = 2 * Math.PI * RADIUS;
|
|
@@ -6362,7 +6443,7 @@ function ScoreGauge({ value, label, size = "md", okAt = 70, warnAt = 40, formatV
|
|
|
6362
6443
|
...rest,
|
|
6363
6444
|
style: [{ width: box, height: box, alignItems: "center", justifyContent: "center" }, style],
|
|
6364
6445
|
children: [
|
|
6365
|
-
/* @__PURE__ */ jsxs55(
|
|
6446
|
+
/* @__PURE__ */ jsxs55(Svg23, { width: box, height: box, viewBox: "0 0 64 64", style: { position: "absolute", transform: [{ rotate: "-90deg" }] }, children: [
|
|
6366
6447
|
/* @__PURE__ */ jsx68(Circle7, { cx: 32, cy: 32, r: RADIUS, fill: "none", strokeWidth: width, stroke: t.mix(t.pick("--ink-1"), 8, "transparent") }),
|
|
6367
6448
|
/* @__PURE__ */ jsx68(AnimatedCircle, { cx: 32, cy: 32, r: RADIUS, fill: "none", strokeWidth: width, stroke, strokeLinecap: "round", strokeDasharray: `${CIRCUMFERENCE}`, strokeDashoffset: mounted && reduced ? 0 : offset })
|
|
6368
6449
|
] }),
|
|
@@ -6730,7 +6811,7 @@ function Snackbar({ children, action, style, ...rest }) {
|
|
|
6730
6811
|
// .build/src/components/SplitButton.tsx
|
|
6731
6812
|
import { useEffect as useEffect19, useRef as useRef24, useState as useState26 } from "react";
|
|
6732
6813
|
import { Animated as Animated18, Easing as Easing13, View as View59 } from "react-native";
|
|
6733
|
-
import
|
|
6814
|
+
import Svg24, { Polyline as Polyline6 } from "react-native-svg";
|
|
6734
6815
|
import { jsx as jsx76, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
6735
6816
|
var optionId = (option, index) => option.id ?? `${index}-${option.label}`;
|
|
6736
6817
|
function SplitButton({ label, variant = "secondary", menuAlign = "end", leadingIcon, onClick, onSelect, options, size = "md", disabled = false, loading = false, loadingLabel = "Processando\u2026", open, defaultOpen = false, onOpenChange, defaultOptionId, style }) {
|
|
@@ -6791,7 +6872,7 @@ function SplitButton({ label, variant = "secondary", menuAlign = "end", leadingI
|
|
|
6791
6872
|
hitSlop: hitSlopFor(height, caretWidth),
|
|
6792
6873
|
style: { width: caretWidth, paddingHorizontal: 0, borderTopLeftRadius: 0, borderBottomLeftRadius: 0, marginLeft: -t.pick("--button-border-width", 1) },
|
|
6793
6874
|
onPress: () => setOpen(!isOpen),
|
|
6794
|
-
children: /* @__PURE__ */ jsx76(Animated18.View, { style: { transform: [{ rotate: turn.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "180deg"] }) }] }, children: /* @__PURE__ */ jsx76(
|
|
6875
|
+
children: /* @__PURE__ */ jsx76(Animated18.View, { style: { transform: [{ rotate: turn.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "180deg"] }) }] }, children: /* @__PURE__ */ jsx76(Svg24, { width: 12, height: 12, viewBox: "0 0 24 24", fill: "none", stroke: fg, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx76(Polyline6, { points: "6 9 12 15 18 9" }) }) })
|
|
6795
6876
|
}
|
|
6796
6877
|
)
|
|
6797
6878
|
] })
|
|
@@ -6802,7 +6883,7 @@ function SplitButton({ label, variant = "secondary", menuAlign = "end", leadingI
|
|
|
6802
6883
|
// .build/src/components/FabMenu.tsx
|
|
6803
6884
|
import { useEffect as useEffect20, useRef as useRef25 } from "react";
|
|
6804
6885
|
import { Animated as Animated19, Easing as Easing14 } from "react-native";
|
|
6805
|
-
import
|
|
6886
|
+
import Svg25, { Path as Path18 } from "react-native-svg";
|
|
6806
6887
|
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6807
6888
|
function FabMenu({ actions, label = "Abrir a\xE7\xF5es", open, defaultOpen = false, onOpenChange, onSelect, align = "end", style }) {
|
|
6808
6889
|
const t = useRefy();
|
|
@@ -6822,7 +6903,7 @@ function FabMenu({ actions, label = "Abrir a\xE7\xF5es", open, defaultOpen = fal
|
|
|
6822
6903
|
label: isOpen ? "Fechar a\xE7\xF5es" : label,
|
|
6823
6904
|
accessibilityState: { expanded: isOpen },
|
|
6824
6905
|
onPress: () => setOpen(!isOpen),
|
|
6825
|
-
icon: /* @__PURE__ */ jsx77(Animated19.View, { style: { transform: [{ rotate: turn.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "135deg"] }) }] }, children: /* @__PURE__ */ jsx77(
|
|
6906
|
+
icon: /* @__PURE__ */ jsx77(Animated19.View, { style: { transform: [{ rotate: turn.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "135deg"] }) }] }, children: /* @__PURE__ */ jsx77(Svg25, { width: 22, height: 22, viewBox: "0 0 24 24", fill: "none", stroke: fg, strokeWidth: 2, strokeLinecap: "round", children: /* @__PURE__ */ jsx77(Path18, { d: "M12 5v14M5 12h14" }) }) })
|
|
6826
6907
|
}
|
|
6827
6908
|
) });
|
|
6828
6909
|
}
|
|
@@ -6830,7 +6911,7 @@ function FabMenu({ actions, label = "Abrir a\xE7\xF5es", open, defaultOpen = fal
|
|
|
6830
6911
|
// .build/src/components/Calendar.tsx
|
|
6831
6912
|
import { useMemo as useMemo7, useState as useState27 } from "react";
|
|
6832
6913
|
import { Pressable as Pressable29, Text as Text34, View as View60 } from "react-native";
|
|
6833
|
-
import
|
|
6914
|
+
import Svg26, { Path as Path19 } from "react-native-svg";
|
|
6834
6915
|
import { Fragment as Fragment22, jsx as jsx78, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
6835
6916
|
var startOfDay = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate());
|
|
6836
6917
|
var firstOfMonth = (d) => new Date(d.getFullYear(), d.getMonth(), 1);
|
|
@@ -6855,19 +6936,19 @@ function calendarCells(base, weekStartsOn, fixedWeeks) {
|
|
|
6855
6936
|
return d;
|
|
6856
6937
|
});
|
|
6857
6938
|
}
|
|
6858
|
-
function nextRange(
|
|
6859
|
-
if (!
|
|
6860
|
-
if (day <
|
|
6861
|
-
return { start:
|
|
6939
|
+
function nextRange(range2, day) {
|
|
6940
|
+
if (!range2.start || range2.end) return { start: day, end: null };
|
|
6941
|
+
if (day < range2.start) return { start: day, end: null };
|
|
6942
|
+
return { start: range2.start, end: day };
|
|
6862
6943
|
}
|
|
6863
|
-
var Chevron2 = ({ d, color }) => /* @__PURE__ */ jsx78(
|
|
6944
|
+
var Chevron2 = ({ d, color }) => /* @__PURE__ */ jsx78(Svg26, { width: 15, height: 15, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx78(Path19, { d }) });
|
|
6864
6945
|
function Calendar({ mode = "single", value, defaultValue, onChange, numberOfMonths = 1, fixedWeeks = true, month, defaultMonth, onMonthChange, min, max, weekStartsOn = 0, locale = "pt-BR", monthLabelStyle = "long", style }) {
|
|
6865
6946
|
const t = useRefy();
|
|
6866
6947
|
const [singleInternal, setSingleInternal] = useState27(mode === "single" && defaultValue instanceof Date ? defaultValue : null);
|
|
6867
6948
|
const [rangeInternal, setRangeInternal] = useState27(mode === "range" && isRange(defaultValue) ? defaultValue : { start: null, end: null });
|
|
6868
6949
|
const single = value !== void 0 && value instanceof Date ? value : value === null ? null : singleInternal;
|
|
6869
|
-
const
|
|
6870
|
-
const anchor = mode === "range" ?
|
|
6950
|
+
const range2 = value !== void 0 && isRange(value) ? value : rangeInternal;
|
|
6951
|
+
const anchor = mode === "range" ? range2.start : single;
|
|
6871
6952
|
const [viewInternal, setViewInternal] = useState27(firstOfMonth(defaultMonth ?? anchor ?? /* @__PURE__ */ new Date()));
|
|
6872
6953
|
const view = month ? firstOfMonth(month) : viewInternal;
|
|
6873
6954
|
const today = startOfDay(/* @__PURE__ */ new Date());
|
|
@@ -6895,16 +6976,16 @@ function Calendar({ mode = "single", value, defaultValue, onChange, numberOfMont
|
|
|
6895
6976
|
onChange?.(day);
|
|
6896
6977
|
return;
|
|
6897
6978
|
}
|
|
6898
|
-
const next = nextRange(
|
|
6979
|
+
const next = nextRange(range2, day);
|
|
6899
6980
|
if (value === void 0) setRangeInternal(next);
|
|
6900
6981
|
onChange?.(next);
|
|
6901
6982
|
};
|
|
6902
6983
|
const dayState = (d) => {
|
|
6903
6984
|
if (mode === "single") return { isSel: sameDay(d, single), isStart: false, isEnd: false, inBand: false };
|
|
6904
|
-
const isStart = sameDay(d,
|
|
6905
|
-
const isEnd = sameDay(d,
|
|
6906
|
-
const inBand = !!
|
|
6907
|
-
return { isSel: isStart || isEnd, isStart, isEnd: isEnd && !!
|
|
6985
|
+
const isStart = sameDay(d, range2.start);
|
|
6986
|
+
const isEnd = sameDay(d, range2.end);
|
|
6987
|
+
const inBand = !!range2.start && !!range2.end && d > startOfDay(range2.start) && d < startOfDay(range2.end);
|
|
6988
|
+
return { isSel: isStart || isEnd, isStart, isEnd: isEnd && !!range2.end, inBand };
|
|
6908
6989
|
};
|
|
6909
6990
|
const ink1 = t.pick("--ink-1");
|
|
6910
6991
|
const navSize = t.pick("--calendar-nav-size", 30);
|
|
@@ -6960,7 +7041,7 @@ function Calendar({ mode = "single", value, defaultValue, onChange, numberOfMont
|
|
|
6960
7041
|
onPress: () => select(d),
|
|
6961
7042
|
style: { width: `${100 / 7}%`, height: cell, alignItems: "center", justifyContent: "center" },
|
|
6962
7043
|
children: ({ pressed }) => /* @__PURE__ */ jsxs63(Fragment22, { children: [
|
|
6963
|
-
(inBand || isStart && !!
|
|
7044
|
+
(inBand || isStart && !!range2.end || isEnd) && !(isStart && isEnd) && /* @__PURE__ */ jsx78(View60, { style: { position: "absolute", top: (cell - daySize) / 2, bottom: (cell - daySize) / 2, left: isStart ? "50%" : 0, right: isEnd ? "50%" : 0, backgroundColor: soft } }),
|
|
6964
7045
|
/* @__PURE__ */ jsx78(View60, { style: {
|
|
6965
7046
|
width: daySize,
|
|
6966
7047
|
height: daySize,
|
|
@@ -7056,7 +7137,7 @@ function formatBrazilianPhone(value) {
|
|
|
7056
7137
|
var PhoneInput = forwardRef14(function PhoneInput2({ label, hint, error, country = "BR", countries = phoneCountries, onCountryChange, disabled = false, value, onChangeText, onFocus, onBlur, style, accessibilityLabel, maxLength, ...rest }, ref) {
|
|
7057
7138
|
const t = useRefy();
|
|
7058
7139
|
const [focused, setFocused] = useState29(false);
|
|
7059
|
-
const [
|
|
7140
|
+
const [menu2, setMenu] = useState29(false);
|
|
7060
7141
|
const labelId = useId6();
|
|
7061
7142
|
const selected = countries.find((item) => item.code === country) ?? countries[0];
|
|
7062
7143
|
const height = t.pick("--phone-input-height", "--field-height", 38);
|
|
@@ -7065,7 +7146,7 @@ var PhoneInput = forwardRef14(function PhoneInput2({ label, hint, error, country
|
|
|
7065
7146
|
/* @__PURE__ */ jsx80(
|
|
7066
7147
|
Menu,
|
|
7067
7148
|
{
|
|
7068
|
-
open:
|
|
7149
|
+
open: menu2,
|
|
7069
7150
|
onOpenChange: setMenu,
|
|
7070
7151
|
ariaLabel: "Pa\xEDs e c\xF3digo internacional",
|
|
7071
7152
|
entries: countries.map((item) => ({ id: item.code, label: `${item.name} \xB7 ${item.callingCode}`, icon: /* @__PURE__ */ jsx80(Text35, { children: item.flag }) })),
|
|
@@ -7079,7 +7160,7 @@ var PhoneInput = forwardRef14(function PhoneInput2({ label, hint, error, country
|
|
|
7079
7160
|
{
|
|
7080
7161
|
accessibilityRole: "button",
|
|
7081
7162
|
accessibilityLabel: `Pa\xEDs: ${selected.name} ${selected.callingCode}`,
|
|
7082
|
-
accessibilityState: { disabled, expanded:
|
|
7163
|
+
accessibilityState: { disabled, expanded: menu2 },
|
|
7083
7164
|
disabled,
|
|
7084
7165
|
onPress: () => setMenu(true),
|
|
7085
7166
|
hitSlop: hitSlopFor(height),
|
|
@@ -7133,7 +7214,7 @@ function PostalCodeInput({ value, onChangeText, lookup, onAddressFound, error, d
|
|
|
7133
7214
|
const { width } = useWindowDimensions6();
|
|
7134
7215
|
const stacked = width <= 480;
|
|
7135
7216
|
const [status, setStatus] = useState30("idle");
|
|
7136
|
-
const [
|
|
7217
|
+
const [message2, setMessage] = useState30("");
|
|
7137
7218
|
const searching = useRef26(null);
|
|
7138
7219
|
const lastFound = useRef26(null);
|
|
7139
7220
|
async function search(raw2 = value) {
|
|
@@ -7205,14 +7286,14 @@ function PostalCodeInput({ value, onChangeText, lookup, onAddressFound, error, d
|
|
|
7205
7286
|
}
|
|
7206
7287
|
)
|
|
7207
7288
|
] }),
|
|
7208
|
-
|
|
7289
|
+
message2 && !error ? /* @__PURE__ */ jsx81(Text36, { accessibilityLiveRegion: "polite", role: "status", style: baseText(t, { size: t.pick("--text-xs", 12), color: status === "error" ? "--critical" : "--ink-3", leading: "--leading-snug" }), children: message2 }) : null
|
|
7209
7290
|
] });
|
|
7210
7291
|
}
|
|
7211
7292
|
|
|
7212
7293
|
// .build/src/components/HelpField.tsx
|
|
7213
7294
|
import { cloneElement as cloneElement4, isValidElement as isValidElement6, useState as useState31 } from "react";
|
|
7214
7295
|
import { Pressable as Pressable31, Text as Text37, View as View64 } from "react-native";
|
|
7215
|
-
import
|
|
7296
|
+
import Svg27, { Circle as Circle8, Line as Line6, Path as Path20 } from "react-native-svg";
|
|
7216
7297
|
import { jsx as jsx82, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
7217
7298
|
function HelpField({ label, helpText, children, onLearnMore, learnMoreLabel = "Saber mais", side = "top", style }) {
|
|
7218
7299
|
const t = useRefy();
|
|
@@ -7244,9 +7325,9 @@ function HelpField({ label, helpText, children, onLearnMore, learnMoreLabel = "S
|
|
|
7244
7325
|
size: "sm",
|
|
7245
7326
|
accessibilityLabel: `Ajuda: ${label}`,
|
|
7246
7327
|
onPress: () => setOpen(!open),
|
|
7247
|
-
icon: /* @__PURE__ */ jsxs67(
|
|
7328
|
+
icon: /* @__PURE__ */ jsxs67(Svg27, { viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
7248
7329
|
/* @__PURE__ */ jsx82(Circle8, { cx: 12, cy: 12, r: 9 }),
|
|
7249
|
-
/* @__PURE__ */ jsx82(
|
|
7330
|
+
/* @__PURE__ */ jsx82(Path20, { d: "M9.2 9a2.9 2.9 0 0 1 5.6 1c0 1.8-2.8 2.2-2.8 3.6" }),
|
|
7250
7331
|
/* @__PURE__ */ jsx82(Line6, { x1: 12, y1: 17, x2: 12, y2: 17.01 })
|
|
7251
7332
|
] })
|
|
7252
7333
|
}
|
|
@@ -7261,7 +7342,7 @@ function HelpField({ label, helpText, children, onLearnMore, learnMoreLabel = "S
|
|
|
7261
7342
|
// .build/src/components/Combobox.tsx
|
|
7262
7343
|
import { forwardRef as forwardRef15, useId as useId7, useMemo as useMemo8, useState as useState32 } from "react";
|
|
7263
7344
|
import { Pressable as Pressable32, ScrollView as ScrollView7, Text as Text38, TextInput as TextInput6, View as View65 } from "react-native";
|
|
7264
|
-
import
|
|
7345
|
+
import Svg28, { Circle as Circle9, Line as Line7 } from "react-native-svg";
|
|
7265
7346
|
import { Fragment as Fragment23, jsx as jsx83, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
7266
7347
|
var defaultFilter = (option, query) => option.label.toLowerCase().includes(query.toLowerCase());
|
|
7267
7348
|
function comboboxSections(options, query, filter = true) {
|
|
@@ -7331,7 +7412,7 @@ var Combobox = forwardRef15(function Combobox2({ options, value, defaultValue =
|
|
|
7331
7412
|
};
|
|
7332
7413
|
return /* @__PURE__ */ jsx83(FieldShell, { label, labelId, hint, error, block: true, children: /* @__PURE__ */ jsxs68(View65, { style: [surfaceStyle(t, { focused, error: Boolean(error), disabled }), { overflow: "hidden" }], children: [
|
|
7333
7414
|
/* @__PURE__ */ jsxs68(View65, { style: { flexDirection: "row", alignItems: "center", gap: t.pick("--space-2", 8), height, paddingHorizontal: t.pick("--space-3", 12) }, children: [
|
|
7334
|
-
selectedOption?.avatar && text === selectedOption.label ? /* @__PURE__ */ jsx83(OptionAvatar, { avatar: selectedOption.avatar }) : /* @__PURE__ */ jsx83(IconSlot, { size: 16, color: ink3, children: icon ?? /* @__PURE__ */ jsxs68(
|
|
7415
|
+
selectedOption?.avatar && text === selectedOption.label ? /* @__PURE__ */ jsx83(OptionAvatar, { avatar: selectedOption.avatar }) : /* @__PURE__ */ jsx83(IconSlot, { size: 16, color: ink3, children: icon ?? /* @__PURE__ */ jsxs68(Svg28, { viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
7335
7416
|
/* @__PURE__ */ jsx83(Circle9, { cx: 11, cy: 11, r: 7 }),
|
|
7336
7417
|
/* @__PURE__ */ jsx83(Line7, { x1: 21, y1: 21, x2: 16.65, y2: 16.65 })
|
|
7337
7418
|
] }) }),
|
|
@@ -7377,7 +7458,7 @@ var Combobox = forwardRef15(function Combobox2({ options, value, defaultValue =
|
|
|
7377
7458
|
onPress: clear,
|
|
7378
7459
|
hitSlop: hitSlopFor(clearSize, clearSize),
|
|
7379
7460
|
style: ({ pressed }) => ({ width: clearSize, height: clearSize, alignItems: "center", justifyContent: "center", borderRadius: t.pick("--embedded-action-radius", "--radius-pill"), backgroundColor: pressed ? t.pick("--surface-2", "--surface-container-high") : "transparent" }),
|
|
7380
|
-
children: /* @__PURE__ */ jsxs68(
|
|
7461
|
+
children: /* @__PURE__ */ jsxs68(Svg28, { width: 11, height: 11, viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2.4, strokeLinecap: "round", children: [
|
|
7381
7462
|
/* @__PURE__ */ jsx83(Line7, { x1: 6, y1: 6, x2: 18, y2: 18 }),
|
|
7382
7463
|
/* @__PURE__ */ jsx83(Line7, { x1: 18, y1: 6, x2: 6, y2: 18 })
|
|
7383
7464
|
] })
|
|
@@ -7413,7 +7494,7 @@ var Combobox = forwardRef15(function Combobox2({ options, value, defaultValue =
|
|
|
7413
7494
|
// .build/src/components/Multiselect.tsx
|
|
7414
7495
|
import { forwardRef as forwardRef16, useImperativeHandle, useId as useId8, useMemo as useMemo9, useRef as useRef27, useState as useState33 } from "react";
|
|
7415
7496
|
import { Pressable as Pressable33, ScrollView as ScrollView8, Text as Text39, TextInput as TextInput7, View as View66 } from "react-native";
|
|
7416
|
-
import
|
|
7497
|
+
import Svg29, { Polyline as Polyline7 } from "react-native-svg";
|
|
7417
7498
|
import { jsx as jsx84, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
7418
7499
|
function visibleChipCount(widths, gap, area4, counter, max) {
|
|
7419
7500
|
const total = widths.length;
|
|
@@ -7486,7 +7567,7 @@ var Multiselect = forwardRef16(function Multiselect2({ options, value, defaultVa
|
|
|
7486
7567
|
backgroundColor: isSelected ? t.mix(primary, pressed ? 12 : 6, "transparent") : pressed && !option.disabled ? t.pick("--surface-2", "--surface-container-high") : "transparent"
|
|
7487
7568
|
}),
|
|
7488
7569
|
children: [
|
|
7489
|
-
/* @__PURE__ */ jsx84(View66, { style: { width: 16, height: 16, borderRadius: t.pick("--radius-sm", 4), borderWidth: t.pick("--control-border-width", 1.5), borderColor: isSelected ? primary : t.pick("--border", "--line"), backgroundColor: isSelected ? primary : t.pick("--field-background", "--surface"), alignItems: "center", justifyContent: "center" }, children: isSelected && /* @__PURE__ */ jsx84(
|
|
7570
|
+
/* @__PURE__ */ jsx84(View66, { style: { width: 16, height: 16, borderRadius: t.pick("--radius-sm", 4), borderWidth: t.pick("--control-border-width", 1.5), borderColor: isSelected ? primary : t.pick("--border", "--line"), backgroundColor: isSelected ? primary : t.pick("--field-background", "--surface"), alignItems: "center", justifyContent: "center" }, children: isSelected && /* @__PURE__ */ jsx84(Svg29, { width: 11, height: 11, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--on-primary", "--surface"), strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx84(Polyline7, { points: "20 6 9 17 4 12" }) }) }),
|
|
7490
7571
|
/* @__PURE__ */ jsx84(Text39, { style: { flex: 1, color: ink1, fontSize, ...t.font("--font-body", "--weight-medium") }, children: option.label })
|
|
7491
7572
|
]
|
|
7492
7573
|
},
|
|
@@ -7552,7 +7633,7 @@ var Multiselect = forwardRef16(function Multiselect2({ options, value, defaultVa
|
|
|
7552
7633
|
onPress: () => open ? setOpen(false) : openList(),
|
|
7553
7634
|
hitSlop: hitSlopFor(28, caretW),
|
|
7554
7635
|
style: ({ pressed }) => ({ width: caretW, height: 28, alignItems: "center", justifyContent: "center", borderRadius: t.pick("--radius-md", 8), backgroundColor: pressed ? t.pick("--surface-2", "--surface-container-high") : "transparent", transform: open ? [{ rotate: "180deg" }] : void 0 }),
|
|
7555
|
-
children: /* @__PURE__ */ jsx84(
|
|
7636
|
+
children: /* @__PURE__ */ jsx84(Svg29, { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx84(Polyline7, { points: "6 9 12 15 18 9" }) })
|
|
7556
7637
|
}
|
|
7557
7638
|
)
|
|
7558
7639
|
] }),
|
|
@@ -7577,7 +7658,7 @@ var Multiselect = forwardRef16(function Multiselect2({ options, value, defaultVa
|
|
|
7577
7658
|
// .build/src/components/Carousel.tsx
|
|
7578
7659
|
import { useEffect as useEffect21, useRef as useRef28, useState as useState34 } from "react";
|
|
7579
7660
|
import { Animated as Animated20, Easing as Easing15, PanResponder as PanResponder2, Text as Text40, View as View67 } from "react-native";
|
|
7580
|
-
import
|
|
7661
|
+
import Svg30, { Path as Path21 } from "react-native-svg";
|
|
7581
7662
|
import { jsx as jsx85, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
7582
7663
|
function Carousel({ items, label = "Conte\xFAdos em destaque", index, defaultIndex = 0, onIndexChange, style }) {
|
|
7583
7664
|
const t = useRefy();
|
|
@@ -7606,7 +7687,7 @@ function Carousel({ items, label = "Conte\xFAdos em destaque", index, defaultInd
|
|
|
7606
7687
|
})).current;
|
|
7607
7688
|
const currentRef = useRef28(current);
|
|
7608
7689
|
currentRef.current = current;
|
|
7609
|
-
const arrow = (left) => /* @__PURE__ */ jsx85(
|
|
7690
|
+
const arrow = (left) => /* @__PURE__ */ jsx85(Svg30, { viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-2"), strokeWidth: 2, children: /* @__PURE__ */ jsx85(Path21, { d: left ? "m15 18-6-6 6-6" : "m9 18 6-6-6-6" }) });
|
|
7610
7691
|
return /* @__PURE__ */ jsxs70(
|
|
7611
7692
|
View67,
|
|
7612
7693
|
{
|
|
@@ -7704,7 +7785,7 @@ function MessageScroller({ children, label = "Hist\xF3rico de mensagens", maxHei
|
|
|
7704
7785
|
// .build/src/components/CodeBlock.tsx
|
|
7705
7786
|
import { useEffect as useEffect23, useRef as useRef30, useState as useState36 } from "react";
|
|
7706
7787
|
import { ScrollView as ScrollView9, Text as Text42, View as View69 } from "react-native";
|
|
7707
|
-
import
|
|
7788
|
+
import Svg31, { Circle as Circle10, Line as Line8, Path as Path22, Rect as Rect8 } from "react-native-svg";
|
|
7708
7789
|
import { Fragment as Fragment24, jsx as jsx87, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
7709
7790
|
function maskSecret(code, visibleChars) {
|
|
7710
7791
|
const bullets = "\u2022".repeat(16);
|
|
@@ -7758,7 +7839,7 @@ function CodeBlock({ code, children, label, language, secret = false, visibleCha
|
|
|
7758
7839
|
clearTimeout(timer.current);
|
|
7759
7840
|
timer.current = setTimeout(() => setCopied(false), 2e3);
|
|
7760
7841
|
};
|
|
7761
|
-
const icon = (paths2, color = action, sw = 1.7) => /* @__PURE__ */ jsx87(
|
|
7842
|
+
const icon = (paths2, color = action, sw = 1.7) => /* @__PURE__ */ jsx87(Svg31, { viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: sw, strokeLinecap: "round", strokeLinejoin: "round", children: paths2 });
|
|
7762
7843
|
const actions = /* @__PURE__ */ jsxs72(View69, { style: { flexDirection: "row", alignItems: "center", gap: t.pick("--space-1", 4) }, children: [
|
|
7763
7844
|
/* @__PURE__ */ jsx87(Text42, { accessibilityLiveRegion: "polite", role: "status", style: { color: accent, fontSize: t.pick("--text-2xs", 11), ...mono2 }, children: copied ? copiedLabel : "" }),
|
|
7764
7845
|
secret && /* @__PURE__ */ jsx87(
|
|
@@ -7769,12 +7850,12 @@ function CodeBlock({ code, children, label, language, secret = false, visibleCha
|
|
|
7769
7850
|
accessibilityState: { selected: revealed },
|
|
7770
7851
|
onPress: () => setRevealed((r) => !r),
|
|
7771
7852
|
icon: revealed ? icon(/* @__PURE__ */ jsxs72(Fragment24, { children: [
|
|
7772
|
-
/* @__PURE__ */ jsx87(
|
|
7773
|
-
/* @__PURE__ */ jsx87(
|
|
7774
|
-
/* @__PURE__ */ jsx87(
|
|
7853
|
+
/* @__PURE__ */ jsx87(Path22, { d: "M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
|
|
7854
|
+
/* @__PURE__ */ jsx87(Path22, { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
|
|
7855
|
+
/* @__PURE__ */ jsx87(Path22, { d: "M14.12 14.12a3 3 0 1 1-4.24-4.24" }),
|
|
7775
7856
|
/* @__PURE__ */ jsx87(Line8, { x1: 2, y1: 2, x2: 22, y2: 22 })
|
|
7776
7857
|
] })) : icon(/* @__PURE__ */ jsxs72(Fragment24, { children: [
|
|
7777
|
-
/* @__PURE__ */ jsx87(
|
|
7858
|
+
/* @__PURE__ */ jsx87(Path22, { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z" }),
|
|
7778
7859
|
/* @__PURE__ */ jsx87(Circle10, { cx: 12, cy: 12, r: 3 })
|
|
7779
7860
|
] }))
|
|
7780
7861
|
}
|
|
@@ -7785,9 +7866,9 @@ function CodeBlock({ code, children, label, language, secret = false, visibleCha
|
|
|
7785
7866
|
size: "sm",
|
|
7786
7867
|
accessibilityLabel: copyLabel,
|
|
7787
7868
|
onPress: () => void copy(),
|
|
7788
|
-
icon: copied ? icon(/* @__PURE__ */ jsx87(
|
|
7869
|
+
icon: copied ? icon(/* @__PURE__ */ jsx87(Path22, { d: "m5 12 5 5L20 7" }), accent, 2.2) : icon(/* @__PURE__ */ jsxs72(Fragment24, { children: [
|
|
7789
7870
|
/* @__PURE__ */ jsx87(Rect8, { x: 9, y: 9, width: 13, height: 13, rx: 2 }),
|
|
7790
|
-
/* @__PURE__ */ jsx87(
|
|
7871
|
+
/* @__PURE__ */ jsx87(Path22, { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
7791
7872
|
] }))
|
|
7792
7873
|
}
|
|
7793
7874
|
)
|
|
@@ -7850,9 +7931,9 @@ function BillingCard({ brandIcon, methodLabel, lastDigits, methodMeta, status, n
|
|
|
7850
7931
|
|
|
7851
7932
|
// .build/src/components/PlanCard.tsx
|
|
7852
7933
|
import { Text as Text44, View as View71 } from "react-native";
|
|
7853
|
-
import
|
|
7934
|
+
import Svg32, { Defs as Defs8, LinearGradient as LinearGradient7, Path as Path23, Rect as Rect9, Stop as Stop7 } from "react-native-svg";
|
|
7854
7935
|
import { jsx as jsx89, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
7855
|
-
function PlanCard({ name: name2, price, period, priceNote, features, checkIcon, cta, current = false, currentLabel = "Plano atual", highlighted = false, highlightLabel = "Recomendado", style, ...rest }) {
|
|
7936
|
+
function PlanCard({ name: name2, description, price, period, priceNote, features, checkIcon, cta, ctaPosition = "top", current = false, currentLabel = "Plano atual", highlighted = false, highlightLabel = "Recomendado", style, ...rest }) {
|
|
7856
7937
|
const t = useRefy();
|
|
7857
7938
|
const tag = current ? currentLabel : highlighted ? highlightLabel : null;
|
|
7858
7939
|
const neutralTag = current && !highlighted;
|
|
@@ -7864,6 +7945,7 @@ function PlanCard({ name: name2, price, period, priceNote, features, checkIcon,
|
|
|
7864
7945
|
const eyebrow = t.pick("--text-eyebrow", 11);
|
|
7865
7946
|
const s5 = t.pick("--space-5", 20);
|
|
7866
7947
|
const radius = t.pick("--radius-lg-token", 8);
|
|
7948
|
+
const action = (current || cta != null) && /* @__PURE__ */ jsx89(View71, { style: ctaPosition === "bottom" ? { marginTop: "auto", paddingTop: s5 } : { marginBottom: t.pick("--space-4", 16) }, children: current ? /* @__PURE__ */ jsx89(Button, { variant: "secondary", block: true, disabled: true, children: currentLabel }) : cta });
|
|
7867
7949
|
return /* @__PURE__ */ jsxs74(
|
|
7868
7950
|
View71,
|
|
7869
7951
|
{
|
|
@@ -7878,7 +7960,7 @@ function PlanCard({ name: name2, price, period, priceNote, features, checkIcon,
|
|
|
7878
7960
|
paddingBottom: t.pick("--space-6", 24)
|
|
7879
7961
|
}, style],
|
|
7880
7962
|
children: [
|
|
7881
|
-
highlighted && /* @__PURE__ */ jsxs74(
|
|
7963
|
+
highlighted && /* @__PURE__ */ jsxs74(Svg32, { pointerEvents: "none", style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, borderRadius: radius }, width: "100%", height: "100%", children: [
|
|
7882
7964
|
/* @__PURE__ */ jsx89(Defs8, { children: /* @__PURE__ */ jsxs74(LinearGradient7, { id: "plan", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
7883
7965
|
/* @__PURE__ */ jsx89(Stop7, { offset: "0", stopColor: t.mix(primary, 7, surface) }),
|
|
7884
7966
|
/* @__PURE__ */ jsx89(Stop7, { offset: "0.18", stopColor: surface })
|
|
@@ -7887,16 +7969,18 @@ function PlanCard({ name: name2, price, period, priceNote, features, checkIcon,
|
|
|
7887
7969
|
] }),
|
|
7888
7970
|
tag && /* @__PURE__ */ jsx89(View71, { style: { position: "absolute", top: -10, left: s5 - (highlighted ? 2 : 1), paddingVertical: t.pick("--space-1", 4), paddingHorizontal: t.pick("--space-2", 8), borderRadius: t.pick("--radius-pill", 999), backgroundColor: neutralTag ? t.pick("--surface-2") : primary, borderWidth: neutralTag ? t.pick("--surface-border-width", 1) : 0, borderColor: t.pick("--border", "--line") }, children: /* @__PURE__ */ jsx89(Text44, { style: { color: neutralTag ? t.pick("--ink-3") : t.pick("--on-primary"), fontSize: eyebrow, letterSpacing: 0.12 * eyebrow, textTransform: t.pick("--interface-label-transform", "uppercase"), ...t.font(["--interface-detail-font", "--font-mono"], "--weight-bold") }, children: tag }) }),
|
|
7889
7971
|
/* @__PURE__ */ jsx89(View71, { accessibilityRole: "header", style: { marginBottom: t.pick("--space-3", 12) }, children: renderText(name2, { color: ink1, fontSize: h5, letterSpacing: -0.015 * h5, ...t.font("--font-headline", "--weight-semi") }) }),
|
|
7972
|
+
description != null && /* @__PURE__ */ jsx89(View71, { style: { marginTop: -t.pick("--space-2", 8), marginBottom: t.pick("--space-3", 12) }, children: renderText(description, { color: t.pick("--ink-3"), fontSize: t.pick("--text-sm", 13), lineHeight: Math.round(t.pick("--text-sm", 13) * t.pick("--leading-snug", 1.35)), ...t.font("--font-body", "--weight-regular") }) }),
|
|
7890
7973
|
/* @__PURE__ */ jsxs74(View71, { style: { flexDirection: "row", alignItems: "baseline", gap: t.pick("--space-1", 4), marginBottom: t.pick("--space-1", 4) }, children: [
|
|
7891
7974
|
renderText(price, { color: ink1, fontSize: h3, letterSpacing: -0.025 * h3, fontVariant: ["tabular-nums"], ...t.font("--font-headline", "--weight-semi") }),
|
|
7892
7975
|
period != null && renderText(period, { color: t.pick("--ink-3"), fontSize: t.pick("--text-sm", 13), ...t.font("--font-body", "--weight-regular") })
|
|
7893
7976
|
] }),
|
|
7894
7977
|
/* @__PURE__ */ jsx89(View71, { style: { minHeight: 16, marginBottom: t.pick("--space-4", 16) }, children: priceNote != null && renderText(priceNote, { color: t.pick("--primary-ink"), fontSize: t.pick("--text-2xs", 11), ...t.font(["--interface-detail-font", "--font-mono"], "--weight-regular") }) }),
|
|
7895
|
-
|
|
7978
|
+
ctaPosition === "top" && action,
|
|
7896
7979
|
features && features.length > 0 && /* @__PURE__ */ jsx89(View71, { style: { gap: t.pick("--space-2", 8) }, children: features.map((feature, i) => /* @__PURE__ */ jsxs74(View71, { style: { flexDirection: "row", alignItems: "flex-start", gap: t.pick("--space-2", 8) }, children: [
|
|
7897
|
-
/* @__PURE__ */ jsx89(View71, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: { marginTop: 3 }, children: /* @__PURE__ */ jsx89(IconSlot, { size: 13, color: t.pick("--primary-ink"), children: checkIcon ?? /* @__PURE__ */ jsx89(
|
|
7980
|
+
/* @__PURE__ */ jsx89(View71, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: { marginTop: 3 }, children: /* @__PURE__ */ jsx89(IconSlot, { size: 13, color: t.pick("--primary-ink"), children: checkIcon ?? /* @__PURE__ */ jsx89(Svg32, { viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--primary-ink"), strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx89(Path23, { d: "m5 12 5 5L20 7" }) }) }) }),
|
|
7898
7981
|
/* @__PURE__ */ jsx89(View71, { style: { flex: 1, minWidth: 0 }, children: renderText(feature, { color: t.pick("--ink-2"), fontSize: t.pick("--text-sm", 13), lineHeight: Math.round(13 * 1.35), ...t.font("--font-body", "--weight-regular") }) })
|
|
7899
|
-
] }, i)) })
|
|
7982
|
+
] }, i)) }),
|
|
7983
|
+
ctaPosition === "bottom" && action
|
|
7900
7984
|
]
|
|
7901
7985
|
}
|
|
7902
7986
|
);
|
|
@@ -7940,24 +8024,24 @@ function DangerZoneRow({ title, description, actionLabel, onConfirm, disabled =
|
|
|
7940
8024
|
// .build/src/components/UserMenu.tsx
|
|
7941
8025
|
import { useState as useState37 } from "react";
|
|
7942
8026
|
import { Pressable as Pressable34, Text as Text45, View as View73 } from "react-native";
|
|
7943
|
-
import
|
|
8027
|
+
import Svg33, { Circle as Circle11, Line as Line9, Path as Path24, Polyline as Polyline8 } from "react-native-svg";
|
|
7944
8028
|
import { jsx as jsx91, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
7945
8029
|
function Glyph({ children, strokeWidth = 2 }) {
|
|
7946
8030
|
const { size, color } = useIconStyle();
|
|
7947
|
-
return /* @__PURE__ */ jsx91(
|
|
8031
|
+
return /* @__PURE__ */ jsx91(Svg33, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", children });
|
|
7948
8032
|
}
|
|
7949
8033
|
var DEFAULT_ENTRIES = [
|
|
7950
8034
|
{ id: "profile", label: "Perfil", icon: /* @__PURE__ */ jsxs76(Glyph, { children: [
|
|
7951
8035
|
/* @__PURE__ */ jsx91(Circle11, { cx: 12, cy: 7, r: 4 }),
|
|
7952
|
-
/* @__PURE__ */ jsx91(
|
|
8036
|
+
/* @__PURE__ */ jsx91(Path24, { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" })
|
|
7953
8037
|
] }) },
|
|
7954
8038
|
{ id: "settings", label: "Configura\xE7\xF5es", icon: /* @__PURE__ */ jsxs76(Glyph, { children: [
|
|
7955
8039
|
/* @__PURE__ */ jsx91(Circle11, { cx: 12, cy: 12, r: 3 }),
|
|
7956
|
-
/* @__PURE__ */ jsx91(
|
|
8040
|
+
/* @__PURE__ */ jsx91(Path24, { d: "M12 1v4m0 14v4M4.2 4.2l2.8 2.8m10 10 2.8 2.8M1 12h4m14 0h4M4.2 19.8 7 17m10-10 2.8-2.8" })
|
|
7957
8041
|
] }) },
|
|
7958
8042
|
{ type: "separator" },
|
|
7959
8043
|
{ id: "logout", label: "Sair", danger: true, icon: /* @__PURE__ */ jsxs76(Glyph, { children: [
|
|
7960
|
-
/* @__PURE__ */ jsx91(
|
|
8044
|
+
/* @__PURE__ */ jsx91(Path24, { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
|
|
7961
8045
|
/* @__PURE__ */ jsx91(Polyline8, { points: "16 17 21 12 16 7" }),
|
|
7962
8046
|
/* @__PURE__ */ jsx91(Line9, { x1: 21, y1: 12, x2: 9, y2: 12 })
|
|
7963
8047
|
] }) }
|
|
@@ -8003,7 +8087,7 @@ function UserMenu({ user, entries = DEFAULT_ENTRIES, onSelect, compact, side = "
|
|
|
8003
8087
|
/* @__PURE__ */ jsx91(Text45, { numberOfLines: 1, style: { color: t.pick("--ink-1", "--on-surface"), fontSize: t.pick("--text-sm", 13), ...t.font("--font-body", "--weight-semi") }, children: user.name }),
|
|
8004
8088
|
user.email ? /* @__PURE__ */ jsx91(Text45, { numberOfLines: 1, style: { color: ink3, fontSize: t.pick("--text-2xs", 11), ...t.font("--font-body", "--weight-regular") }, children: user.email }) : null
|
|
8005
8089
|
] }),
|
|
8006
|
-
!compact && /* @__PURE__ */ jsx91(
|
|
8090
|
+
!compact && /* @__PURE__ */ jsx91(Svg33, { width: 13, height: 13, viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx91(Polyline8, { points: "6 9 12 15 18 9" }) })
|
|
8007
8091
|
]
|
|
8008
8092
|
}
|
|
8009
8093
|
)
|
|
@@ -8013,7 +8097,7 @@ function UserMenu({ user, entries = DEFAULT_ENTRIES, onSelect, compact, side = "
|
|
|
8013
8097
|
|
|
8014
8098
|
// .build/src/components/HelpMenu.tsx
|
|
8015
8099
|
import { useState as useState38 } from "react";
|
|
8016
|
-
import
|
|
8100
|
+
import Svg34, { Circle as Circle12, Line as Line10, Path as Path25 } from "react-native-svg";
|
|
8017
8101
|
import { jsx as jsx92, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
8018
8102
|
var DEFAULT_ENTRIES2 = [
|
|
8019
8103
|
{ id: "docs", label: "Documenta\xE7\xE3o" },
|
|
@@ -8023,9 +8107,9 @@ var DEFAULT_ENTRIES2 = [
|
|
|
8023
8107
|
];
|
|
8024
8108
|
function HelpGlyph() {
|
|
8025
8109
|
const { size, color } = useIconStyle();
|
|
8026
|
-
return /* @__PURE__ */ jsxs77(
|
|
8110
|
+
return /* @__PURE__ */ jsxs77(Svg34, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8027
8111
|
/* @__PURE__ */ jsx92(Circle12, { cx: 12, cy: 12, r: 10 }),
|
|
8028
|
-
/* @__PURE__ */ jsx92(
|
|
8112
|
+
/* @__PURE__ */ jsx92(Path25, { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
|
8029
8113
|
/* @__PURE__ */ jsx92(Line10, { x1: 12, y1: 17, x2: 12.01, y2: 17 })
|
|
8030
8114
|
] });
|
|
8031
8115
|
}
|
|
@@ -8048,13 +8132,13 @@ function HelpMenu({ entries = DEFAULT_ENTRIES2, onSelect, label = "Ajuda", style
|
|
|
8048
8132
|
// .build/src/components/NotificationBell.tsx
|
|
8049
8133
|
import { useRef as useRef31, useState as useState39 } from "react";
|
|
8050
8134
|
import { Pressable as Pressable35, ScrollView as ScrollView10, Text as Text46, View as View74, useWindowDimensions as useWindowDimensions7 } from "react-native";
|
|
8051
|
-
import
|
|
8135
|
+
import Svg35, { Path as Path26 } from "react-native-svg";
|
|
8052
8136
|
import { jsx as jsx93, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
8053
8137
|
function BellGlyph() {
|
|
8054
8138
|
const { size, color } = useIconStyle();
|
|
8055
|
-
return /* @__PURE__ */ jsxs78(
|
|
8056
|
-
/* @__PURE__ */ jsx93(
|
|
8057
|
-
/* @__PURE__ */ jsx93(
|
|
8139
|
+
return /* @__PURE__ */ jsxs78(Svg35, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8140
|
+
/* @__PURE__ */ jsx93(Path26, { d: "M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" }),
|
|
8141
|
+
/* @__PURE__ */ jsx93(Path26, { d: "M13.73 21a2 2 0 0 1-3.46 0" })
|
|
8058
8142
|
] });
|
|
8059
8143
|
}
|
|
8060
8144
|
function NotificationBell({ items, onItemClick, onMarkAllRead, title = "Notifica\xE7\xF5es", emptyMessage = "Nenhuma notifica\xE7\xE3o", style }) {
|
|
@@ -8131,7 +8215,7 @@ function NotificationBell({ items, onItemClick, onMarkAllRead, title = "Notifica
|
|
|
8131
8215
|
// .build/src/components/WorkspaceSwitcher.tsx
|
|
8132
8216
|
import { useEffect as useEffect24, useMemo as useMemo10, useRef as useRef32, useState as useState40 } from "react";
|
|
8133
8217
|
import { Pressable as Pressable36, ScrollView as ScrollView11, Text as Text47, TextInput as TextInput8, View as View75 } from "react-native";
|
|
8134
|
-
import
|
|
8218
|
+
import Svg36, { Circle as Circle13, Line as Line11, Path as Path27, Polyline as Polyline9 } from "react-native-svg";
|
|
8135
8219
|
import { jsx as jsx94, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
8136
8220
|
function WorkspaceSwitcher({ workspaces, value, defaultValue, onChange, compact, style }) {
|
|
8137
8221
|
const t = useRefy();
|
|
@@ -8192,7 +8276,7 @@ function WorkspaceSwitcher({ workspaces, value, defaultValue, onChange, compact,
|
|
|
8192
8276
|
/* @__PURE__ */ jsx94(Text47, { numberOfLines: 1, style: { color: ink1, fontSize: sm, ...t.font("--font-body", "--weight-semi") }, children: current.name }),
|
|
8193
8277
|
current.role ? /* @__PURE__ */ jsx94(Text47, { numberOfLines: 1, style: roleStyle, children: current.role }) : null
|
|
8194
8278
|
] }),
|
|
8195
|
-
!compact && /* @__PURE__ */ jsx94(
|
|
8279
|
+
!compact && /* @__PURE__ */ jsx94(Svg36, { width: 13, height: 13, viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx94(Path27, { d: "m7 15 5 5 5-5M7 9l5-5 5 5" }) })
|
|
8196
8280
|
]
|
|
8197
8281
|
}
|
|
8198
8282
|
) }),
|
|
@@ -8207,7 +8291,7 @@ function WorkspaceSwitcher({ workspaces, value, defaultValue, onChange, compact,
|
|
|
8207
8291
|
panelStyle: [panelSurface(t), { width: 280, borderWidth: t.pick("--control-border-width", 1), overflow: "hidden", boxShadow: t.pick("--elev-4", "") || void 0 }],
|
|
8208
8292
|
children: [
|
|
8209
8293
|
searchable && /* @__PURE__ */ jsxs79(View75, { style: { flexDirection: "row", alignItems: "center", gap: space2, paddingVertical: 10, paddingHorizontal: 12, borderBottomWidth: 1, borderBottomColor: lineSoft }, children: [
|
|
8210
|
-
/* @__PURE__ */ jsxs79(
|
|
8294
|
+
/* @__PURE__ */ jsxs79(Svg36, { width: 13, height: 13, viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8211
8295
|
/* @__PURE__ */ jsx94(Circle13, { cx: 11, cy: 11, r: 7 }),
|
|
8212
8296
|
/* @__PURE__ */ jsx94(Line11, { x1: 21, y1: 21, x2: 16.65, y2: 16.65 })
|
|
8213
8297
|
] }),
|
|
@@ -8242,7 +8326,7 @@ function WorkspaceSwitcher({ workspaces, value, defaultValue, onChange, compact,
|
|
|
8242
8326
|
/* @__PURE__ */ jsx94(Text47, { numberOfLines: 1, style: { color: ink1, fontSize: sm, ...t.font("--font-body", "--weight-medium") }, children: workspace.name }),
|
|
8243
8327
|
workspace.role ? /* @__PURE__ */ jsx94(Text47, { numberOfLines: 1, style: roleStyle, children: workspace.role }) : null
|
|
8244
8328
|
] }),
|
|
8245
|
-
isCurrent && /* @__PURE__ */ jsx94(
|
|
8329
|
+
isCurrent && /* @__PURE__ */ jsx94(Svg36, { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--primary-ink", "--primary"), strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx94(Polyline9, { points: "20 6 9 17 4 12" }) })
|
|
8246
8330
|
]
|
|
8247
8331
|
},
|
|
8248
8332
|
workspace.id
|
|
@@ -8347,7 +8431,7 @@ function KanbanCard({ item, onOpen, dragHandle, actions, elevation = 1, ...rest
|
|
|
8347
8431
|
// .build/src/components/PropertyActionGroup.tsx
|
|
8348
8432
|
import { useState as useState41 } from "react";
|
|
8349
8433
|
import { View as View78 } from "react-native";
|
|
8350
|
-
import
|
|
8434
|
+
import Svg37, { Path as Path28 } from "react-native-svg";
|
|
8351
8435
|
import { jsx as jsx97, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
8352
8436
|
var decisionLabels = { reject: "Descartar", save: "Salvar", visit: "Selecionar" };
|
|
8353
8437
|
var paths = { reject: "M18 6 6 18M6 6l12 12", save: "M6 3h12a1 1 0 0 1 1 1v17l-7-4-7 4V4a1 1 0 0 1 1-1Z", visit: "m5 12 4 4L19 6" };
|
|
@@ -8367,7 +8451,7 @@ function PropertyActionGroup({ state = "idle", activeAction, onAction, orientati
|
|
|
8367
8451
|
const gap = t.size("--space-2", 8);
|
|
8368
8452
|
const status = (action) => activeAction !== action ? "idle" : state === "processing" ? "loading" : state === "completed" ? "success" : "idle";
|
|
8369
8453
|
const xs = t.pick("--text-xs", 12);
|
|
8370
|
-
const
|
|
8454
|
+
const message2 = statusMessage ?? propertyActionMessage(state, activeAction, labels2);
|
|
8371
8455
|
return /* @__PURE__ */ jsxs82(View78, { onLayout: (e) => setWidth(e.nativeEvent.layout.width), style: [{ width: "100%", gap }, style], children: [
|
|
8372
8456
|
/* @__PURE__ */ jsx97(View78, { role: "group", accessibilityLabel: "Decis\xF5es sobre o item", style: { flexDirection: vertical ? "column" : "row", gap }, children: actions.map((action) => {
|
|
8373
8457
|
const isActive = action === activeAction;
|
|
@@ -8380,7 +8464,7 @@ function PropertyActionGroup({ state = "idle", activeAction, onAction, orientati
|
|
|
8380
8464
|
status: status(action),
|
|
8381
8465
|
interactionState: isActive && state === "idle" ? "pressed" : void 0,
|
|
8382
8466
|
loadingLabel: labels2[action],
|
|
8383
|
-
leadingIcon: /* @__PURE__ */ jsx97(
|
|
8467
|
+
leadingIcon: /* @__PURE__ */ jsx97(Svg37, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: fg, strokeWidth: 1.9, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx97(Path28, { d: paths[action] }) }),
|
|
8384
8468
|
disabled: unavailable || disabledActions.includes(action) || state !== "idle" && !isActive,
|
|
8385
8469
|
"aria-selected": isActive,
|
|
8386
8470
|
onPress: () => onAction?.(action),
|
|
@@ -8388,18 +8472,18 @@ function PropertyActionGroup({ state = "idle", activeAction, onAction, orientati
|
|
|
8388
8472
|
}
|
|
8389
8473
|
) }, action);
|
|
8390
8474
|
}) }),
|
|
8391
|
-
/* @__PURE__ */ jsx97(View78, { role: "status", accessibilityLiveRegion: "polite", children: renderText(
|
|
8475
|
+
/* @__PURE__ */ jsx97(View78, { role: "status", accessibilityLiveRegion: "polite", children: renderText(message2, { color: t.pick("--ink-3"), fontSize: xs, lineHeight: Math.round(xs * 1.5), textAlign: "center", ...t.font("--font-body", "--weight-regular") }) })
|
|
8392
8476
|
] });
|
|
8393
8477
|
}
|
|
8394
8478
|
|
|
8395
8479
|
// .build/src/components/PropertyMedia.tsx
|
|
8396
8480
|
import { useEffect as useEffect25, useRef as useRef33, useState as useState42 } from "react";
|
|
8397
8481
|
import { Animated as Animated22, Easing as Easing16, Image as Image2, Pressable as Pressable39, Text as Text49, View as View79 } from "react-native";
|
|
8398
|
-
import
|
|
8482
|
+
import Svg38, { Path as Path29 } from "react-native-svg";
|
|
8399
8483
|
import { Fragment as Fragment26, jsx as jsx98, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
8400
8484
|
function Chevron3({ d }) {
|
|
8401
8485
|
const { size, color } = useIconStyle();
|
|
8402
|
-
return /* @__PURE__ */ jsx98(
|
|
8486
|
+
return /* @__PURE__ */ jsx98(Svg38, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx98(Path29, { d }) });
|
|
8403
8487
|
}
|
|
8404
8488
|
function wrapIndex(next, length) {
|
|
8405
8489
|
return length === 0 ? 0 : (next + length) % length;
|
|
@@ -8509,11 +8593,11 @@ function PropertyMedia({ items, index, defaultIndex = 0, onIndexChange, aspectRa
|
|
|
8509
8593
|
// .build/src/components/FileUpload.tsx
|
|
8510
8594
|
import { useState as useState43 } from "react";
|
|
8511
8595
|
import { Image as Image3, Text as Text50, View as View80, useWindowDimensions as useWindowDimensions8 } from "react-native";
|
|
8512
|
-
import
|
|
8596
|
+
import Svg39, { Path as Path30 } from "react-native-svg";
|
|
8513
8597
|
import { Fragment as Fragment27, jsx as jsx99, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
8514
8598
|
function Glyph2({ d, strokeWidth = 2 }) {
|
|
8515
8599
|
const { size, color } = useIconStyle();
|
|
8516
|
-
return /* @__PURE__ */ jsx99(
|
|
8600
|
+
return /* @__PURE__ */ jsx99(Svg39, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", children: d.map((p) => /* @__PURE__ */ jsx99(Path30, { d: p }, p)) });
|
|
8517
8601
|
}
|
|
8518
8602
|
function fileKind(name2) {
|
|
8519
8603
|
const extension = name2.includes(".") ? name2.split(".").pop().toLocaleLowerCase("pt-BR") : "";
|
|
@@ -8573,7 +8657,7 @@ function FileUpload({ files, defaultFiles = [], onFilesChange, pickFiles, accept
|
|
|
8573
8657
|
backgroundColor: t.pick("--surface"),
|
|
8574
8658
|
opacity: disabled ? 0.58 : 1
|
|
8575
8659
|
}, children: [
|
|
8576
|
-
/* @__PURE__ */ jsx99(View80, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: { width: 44, height: 44, alignItems: "center", justifyContent: "center", borderRadius: t.pick("--radius-default", 6), backgroundColor: t.pick("--surface-2") }, children: /* @__PURE__ */ jsx99(
|
|
8660
|
+
/* @__PURE__ */ jsx99(View80, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: { width: 44, height: 44, alignItems: "center", justifyContent: "center", borderRadius: t.pick("--radius-default", 6), backgroundColor: t.pick("--surface-2") }, children: /* @__PURE__ */ jsx99(Svg39, { width: 22, height: 22, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-2"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx99(Path30, { d: "M12 16V4m0 0L7 9m5-5 5 5M5 15v4h14v-4" }) }) }),
|
|
8577
8661
|
/* @__PURE__ */ jsxs84(View80, { style: { flex: stacked ? void 0 : 1, alignSelf: stacked ? "stretch" : void 0, minWidth: 0, gap: t.size("--space-1", 4) }, children: [
|
|
8578
8662
|
/* @__PURE__ */ jsx99(Text50, { style: { color: ink1, fontSize: sm, ...t.font("--font-body", "--weight-semi") }, children: label }),
|
|
8579
8663
|
/* @__PURE__ */ jsx99(Text50, { style: { color: ink3, fontSize: sm, ...t.font("--font-body", "--weight-regular") }, children: hint })
|
|
@@ -8590,9 +8674,9 @@ function FileUpload({ files, defaultFiles = [], onFilesChange, pickFiles, accept
|
|
|
8590
8674
|
preview ? /* @__PURE__ */ jsxs84(Fragment27, { children: [
|
|
8591
8675
|
/* @__PURE__ */ jsx99(Image3, { source: { uri: preview }, style: { width: "100%", height: "100%" }, resizeMode: "cover" }),
|
|
8592
8676
|
/* @__PURE__ */ jsx99(Text50, { style: { position: "absolute", right: 3, bottom: 3, paddingHorizontal: 3, paddingVertical: 1, borderRadius: t.pick("--radius-xs", 2), backgroundColor: t.pick("--surface"), color: t.pick("--ink-2"), fontSize: t.pick("--text-2xs", 11), ...mono2 }, children: type.label })
|
|
8593
|
-
] }) : /* @__PURE__ */ jsx99(Fragment27, { children: /* @__PURE__ */ jsxs84(
|
|
8594
|
-
/* @__PURE__ */ jsx99(
|
|
8595
|
-
/* @__PURE__ */ jsx99(
|
|
8677
|
+
] }) : /* @__PURE__ */ jsx99(Fragment27, { children: /* @__PURE__ */ jsxs84(Svg39, { width: 20, height: 20, viewBox: "0 0 24 24", fill: "none", stroke: doc ? t.pick("--info-ink", "--info") : ink3, strokeWidth: 1.7, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8678
|
+
/* @__PURE__ */ jsx99(Path30, { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
8679
|
+
/* @__PURE__ */ jsx99(Path30, { d: doc ? "M14 3v5h5M9 12h6M9 16h6" : "M14 3v5h5" })
|
|
8596
8680
|
] }) }),
|
|
8597
8681
|
!preview && /* @__PURE__ */ jsx99(Text50, { style: { color: doc ? t.pick("--info-ink", "--info") : ink3, fontSize: t.pick("--text-2xs", 11), ...mono2 }, children: type.label })
|
|
8598
8682
|
] }),
|
|
@@ -8617,27 +8701,27 @@ function FileUpload({ files, defaultFiles = [], onFilesChange, pickFiles, accept
|
|
|
8617
8701
|
// .build/src/components/VoiceRecorder.tsx
|
|
8618
8702
|
import { useEffect as useEffect26, useRef as useRef34 } from "react";
|
|
8619
8703
|
import { Animated as Animated23, Easing as Easing17, Text as Text51, View as View81 } from "react-native";
|
|
8620
|
-
import
|
|
8704
|
+
import Svg40, { Path as Path31, Rect as Rect10 } from "react-native-svg";
|
|
8621
8705
|
import { jsx as jsx100, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
8622
8706
|
function Mic({ size: forced, color: forcedColor }) {
|
|
8623
8707
|
const icon = useIconStyle();
|
|
8624
8708
|
const size = forced ?? icon.size;
|
|
8625
8709
|
const color = forcedColor ?? icon.color;
|
|
8626
|
-
return /* @__PURE__ */ jsxs85(
|
|
8710
|
+
return /* @__PURE__ */ jsxs85(Svg40, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8627
8711
|
/* @__PURE__ */ jsx100(Rect10, { x: 9, y: 2, width: 6, height: 12, rx: 3 }),
|
|
8628
|
-
/* @__PURE__ */ jsx100(
|
|
8712
|
+
/* @__PURE__ */ jsx100(Path31, { d: "M5 10a7 7 0 0 0 14 0M12 17v4M8 21h8" })
|
|
8629
8713
|
] });
|
|
8630
8714
|
}
|
|
8631
8715
|
function Pause() {
|
|
8632
8716
|
const { size, color } = useIconStyle();
|
|
8633
|
-
return /* @__PURE__ */ jsxs85(
|
|
8717
|
+
return /* @__PURE__ */ jsxs85(Svg40, { width: size, height: size, viewBox: "0 0 24 24", fill: color, children: [
|
|
8634
8718
|
/* @__PURE__ */ jsx100(Rect10, { x: 6, y: 5, width: 4, height: 14, rx: 1 }),
|
|
8635
8719
|
/* @__PURE__ */ jsx100(Rect10, { x: 14, y: 5, width: 4, height: 14, rx: 1 })
|
|
8636
8720
|
] });
|
|
8637
8721
|
}
|
|
8638
8722
|
function Play() {
|
|
8639
8723
|
const { size, color } = useIconStyle();
|
|
8640
|
-
return /* @__PURE__ */ jsx100(
|
|
8724
|
+
return /* @__PURE__ */ jsx100(Svg40, { width: size, height: size, viewBox: "0 0 24 24", fill: color, children: /* @__PURE__ */ jsx100(Path31, { d: "m8 5 11 7-11 7z" }) });
|
|
8641
8725
|
}
|
|
8642
8726
|
function formatDuration(seconds) {
|
|
8643
8727
|
const safe = Math.max(0, Math.floor(seconds));
|
|
@@ -8763,16 +8847,16 @@ function AlertDialog({ open, onOpenChange, title, children, onConfirm, confirmLa
|
|
|
8763
8847
|
// .build/src/components/Drawer.tsx
|
|
8764
8848
|
import { useEffect as useEffect27, useRef as useRef35, useState as useState44 } from "react";
|
|
8765
8849
|
import { AccessibilityInfo as AccessibilityInfo4, Animated as Animated24, Easing as Easing18, Modal as RNModal3, PanResponder as PanResponder3, Pressable as Pressable40, ScrollView as ScrollView12, View as View82, useWindowDimensions as useWindowDimensions9 } from "react-native";
|
|
8766
|
-
import
|
|
8850
|
+
import Svg41, { Line as Line12 } from "react-native-svg";
|
|
8767
8851
|
import { jsx as jsx102, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
8768
8852
|
function Close2() {
|
|
8769
8853
|
const { size, color } = useIconStyle();
|
|
8770
|
-
return /* @__PURE__ */ jsxs87(
|
|
8854
|
+
return /* @__PURE__ */ jsxs87(Svg41, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", children: [
|
|
8771
8855
|
/* @__PURE__ */ jsx102(Line12, { x1: 6, y1: 6, x2: 18, y2: 18 }),
|
|
8772
8856
|
/* @__PURE__ */ jsx102(Line12, { x1: 18, y1: 6, x2: 6, y2: 18 })
|
|
8773
8857
|
] });
|
|
8774
8858
|
}
|
|
8775
|
-
function Drawer({ open, modal = true, onOpenChange, side = "right", title, footer, width, children, hideClose, insets = {}, style }) {
|
|
8859
|
+
function Drawer({ open, modal: modal2 = true, onOpenChange, side = "right", title, footer, width, children, hideClose, insets = {}, style }) {
|
|
8776
8860
|
const t = useRefy();
|
|
8777
8861
|
const reduced = useReducedMotion(t.pick("--motion-reduced", 0) === 1);
|
|
8778
8862
|
const screen = useWindowDimensions9();
|
|
@@ -8821,11 +8905,11 @@ function Drawer({ open, modal = true, onOpenChange, side = "right", title, foote
|
|
|
8821
8905
|
const travel = lateral ? side === "left" ? -panelW : panelW : bottom ? screen.height : t.size("--space-3", 12);
|
|
8822
8906
|
const transform = lateral ? [{ translateX: progress.interpolate({ inputRange: [0, 1], outputRange: [travel, 0] }) }] : [{ translateY: Animated24.add(progress.interpolate({ inputRange: [0, 1], outputRange: [travel, 0] }), drag) }];
|
|
8823
8907
|
return /* @__PURE__ */ jsxs87(RNModal3, { transparent: true, visible: true, animationType: "none", statusBarTranslucent: true, onRequestClose: close, children: [
|
|
8824
|
-
|
|
8908
|
+
modal2 ? /* @__PURE__ */ jsx102(Animated24.View, { style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, opacity: progress }, children: /* @__PURE__ */ jsx102(Pressable40, { accessible: false, importantForAccessibility: "no", onPress: open ? close : void 0, style: { flex: 1, backgroundColor: t.pick("--legacy-modal-scrim") } }) }) : null,
|
|
8825
8909
|
/* @__PURE__ */ jsxs87(
|
|
8826
8910
|
Animated24.View,
|
|
8827
8911
|
{
|
|
8828
|
-
accessibilityViewIsModal:
|
|
8912
|
+
accessibilityViewIsModal: modal2,
|
|
8829
8913
|
accessibilityLabel: typeof title === "string" ? title : title ? void 0 : "Painel",
|
|
8830
8914
|
onAccessibilityEscape: close,
|
|
8831
8915
|
pointerEvents: open ? "auto" : "none",
|
|
@@ -9054,7 +9138,7 @@ function PropertyCard({ title, subtitle, value, valueSuffix, address, price, pri
|
|
|
9054
9138
|
// .build/src/components/Matrix2x2.tsx
|
|
9055
9139
|
import { useState as useState46 } from "react";
|
|
9056
9140
|
import { Pressable as Pressable41, Text as Text55, View as View86 } from "react-native";
|
|
9057
|
-
import
|
|
9141
|
+
import Svg42, { Circle as Circle14, Defs as Defs9, LinearGradient as LinearGradient8, Pattern, Rect as Rect11, Stop as Stop8 } from "react-native-svg";
|
|
9058
9142
|
import { jsx as jsx106, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
9059
9143
|
function priorityMix(index, count) {
|
|
9060
9144
|
const t = count <= 1 ? 0 : index / (count - 1);
|
|
@@ -9085,7 +9169,7 @@ function Matrix2x2({ points, xLabel = "Esfor\xE7o \u2192", yLabel = "Impacto \u2
|
|
|
9085
9169
|
const quad = (node, pos, right) => node == null ? null : /* @__PURE__ */ jsx106(View86, { style: [{ position: "absolute", zIndex: 1, maxWidth: "44%" }, pos], children: renderText(node, { ...qStyle, textAlign: right ? "right" : "left" }) });
|
|
9086
9170
|
return /* @__PURE__ */ jsxs91(View86, { style: [{ width: "100%" }, style], children: [
|
|
9087
9171
|
/* @__PURE__ */ jsxs91(View86, { accessibilityLabel: `Matriz ${yLabel} por ${xLabel}: ${points.length} itens`, style: { height, overflow: "hidden", borderRadius: t.pick("--card-radius", "--radius-lg-token", 12), borderWidth: t.pick("--surface-border-width", 1), borderColor: t.pick("--line", "--surface-container-high"), backgroundColor: surface }, children: [
|
|
9088
|
-
/* @__PURE__ */ jsxs91(
|
|
9172
|
+
/* @__PURE__ */ jsxs91(Svg42, { style: { position: "absolute", left: 0, top: 0 }, width: "100%", height: "100%", children: [
|
|
9089
9173
|
/* @__PURE__ */ jsx106(Defs9, { children: /* @__PURE__ */ jsx106(Pattern, { id: "dots", x: 0, y: 0, width: 24, height: 24, patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx106(Circle14, { cx: 18, cy: 18, r: 1, fill: t.mix(t.pick("--primary"), 11, "transparent") }) }) }),
|
|
9090
9174
|
/* @__PURE__ */ jsx106(Rect11, { width: "100%", height: "100%", fill: "url(#dots)" })
|
|
9091
9175
|
] }),
|
|
@@ -9132,7 +9216,7 @@ function Matrix2x2({ points, xLabel = "Esfor\xE7o \u2192", yLabel = "Impacto \u2
|
|
|
9132
9216
|
] }),
|
|
9133
9217
|
/* @__PURE__ */ jsxs91(View86, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: { flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: 14, marginTop: t.size("--space-3", 12) }, children: [
|
|
9134
9218
|
/* @__PURE__ */ jsx106(Text55, { style: [axisStyle, { fontSize: t.size("--text-2xs", 11), ...mono2("--weight-regular") }], children: legend[0] }),
|
|
9135
|
-
/* @__PURE__ */ jsxs91(
|
|
9219
|
+
/* @__PURE__ */ jsxs91(Svg42, { style: { flex: 1 }, height: 6, children: [
|
|
9136
9220
|
/* @__PURE__ */ jsx106(Defs9, { children: /* @__PURE__ */ jsxs91(LinearGradient8, { id: "ramp", x1: "0", y1: "0", x2: "1", y2: "0", children: [
|
|
9137
9221
|
/* @__PURE__ */ jsx106(Stop8, { offset: "0", stopColor: critical }),
|
|
9138
9222
|
/* @__PURE__ */ jsx106(Stop8, { offset: "0.5", stopColor: t.mix(critical, 50, info) }),
|
|
@@ -9148,7 +9232,7 @@ function Matrix2x2({ points, xLabel = "Esfor\xE7o \u2192", yLabel = "Impacto \u2
|
|
|
9148
9232
|
// .build/src/components/KanbanBoard.tsx
|
|
9149
9233
|
import { useState as useState47 } from "react";
|
|
9150
9234
|
import { ScrollView as ScrollView14, Text as Text56, View as View87 } from "react-native";
|
|
9151
|
-
import
|
|
9235
|
+
import Svg43, { Circle as Circle15, Path as Path32 } from "react-native-svg";
|
|
9152
9236
|
import { jsx as jsx107, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
9153
9237
|
var name = (value, fallback) => typeof value === "string" ? value : fallback;
|
|
9154
9238
|
function kanbanBlocked(columns, from, to, wipLimit, allowed) {
|
|
@@ -9177,7 +9261,7 @@ function laneColor(t, color) {
|
|
|
9177
9261
|
}
|
|
9178
9262
|
function Dots() {
|
|
9179
9263
|
const { size, color } = useIconStyle();
|
|
9180
|
-
return /* @__PURE__ */ jsxs92(
|
|
9264
|
+
return /* @__PURE__ */ jsxs92(Svg43, { width: size, height: size, viewBox: "0 0 24 24", fill: color, children: [
|
|
9181
9265
|
/* @__PURE__ */ jsx107(Circle15, { cx: 5, cy: 12, r: 1.5 }),
|
|
9182
9266
|
/* @__PURE__ */ jsx107(Circle15, { cx: 12, cy: 12, r: 1.5 }),
|
|
9183
9267
|
/* @__PURE__ */ jsx107(Circle15, { cx: 19, cy: 12, r: 1.5 })
|
|
@@ -9185,14 +9269,14 @@ function Dots() {
|
|
|
9185
9269
|
}
|
|
9186
9270
|
function Plus() {
|
|
9187
9271
|
const { size, color } = useIconStyle();
|
|
9188
|
-
return /* @__PURE__ */ jsx107(
|
|
9272
|
+
return /* @__PURE__ */ jsx107(Svg43, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 1.8, children: /* @__PURE__ */ jsx107(Path32, { d: "M12 5v14M5 12h14" }) });
|
|
9189
9273
|
}
|
|
9190
9274
|
function KanbanBoard({ columns, onColumnsChange, onCardClick, wipLimit, allowedTransitions, toolbar, filter, onAddCard, columnActions, ariaLabel = "Quadro Kanban", instructions = "visible", style }) {
|
|
9191
9275
|
const t = useRefy();
|
|
9192
9276
|
const [local, setLocal] = useState47({ source: columns, value: columns });
|
|
9193
9277
|
if (local.source !== columns) setLocal({ source: columns, value: columns });
|
|
9194
9278
|
const current = onColumnsChange ? columns : local.value;
|
|
9195
|
-
const [
|
|
9279
|
+
const [menu2, setMenu] = useState47(null);
|
|
9196
9280
|
const [opened, setOpened] = useState47(null);
|
|
9197
9281
|
const [announcement, setAnnouncement] = useState47("");
|
|
9198
9282
|
const blocked = (from, to) => kanbanBlocked(current, from, to, wipLimit, allowedTransitions);
|
|
@@ -9239,7 +9323,7 @@ function KanbanBoard({ columns, onColumnsChange, onCardClick, wipLimit, allowedT
|
|
|
9239
9323
|
column.description != null && /* @__PURE__ */ jsx107(View87, { style: { marginTop: s("--space-1", 4) }, children: renderText(column.description, { color: ink3, fontSize: xs, lineHeight: Math.round(xs * 1.5), ...t.font("--font-body", "--weight-regular") }) })
|
|
9240
9324
|
] }),
|
|
9241
9325
|
/* @__PURE__ */ jsx107(View87, { accessible: true, accessibilityLabel: `${column.items.length} cards${limit === void 0 ? "" : `, limite WIP ${limit}`}`, children: /* @__PURE__ */ jsx107(Badge, { tone: full ? "warn" : "neutral", children: `${column.items.length}${limit === void 0 ? "" : ` / ${limit}`}` }) }),
|
|
9242
|
-
entries.length > 0 && /* @__PURE__ */ jsx107(Menu, { open:
|
|
9326
|
+
entries.length > 0 && /* @__PURE__ */ jsx107(Menu, { open: menu2 === `lane:${column.id}`, onOpenChange: (o) => setMenu(o ? `lane:${column.id}` : null), ariaLabel: "A\xE7\xF5es da etapa", align: "end", entries, children: /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `A\xE7\xF5es da etapa ${title}`, icon: /* @__PURE__ */ jsx107(Dots, {}), onPress: () => setMenu(`lane:${column.id}`) }) }),
|
|
9243
9327
|
onAddCard && /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `Adicionar card em ${title}`, accessibilityHint: full ? `Limite WIP de ${limit} atingido.` : void 0, disabled: full, icon: /* @__PURE__ */ jsx107(Plus, {}), onPress: () => onAddCard(column) })
|
|
9244
9328
|
] }),
|
|
9245
9329
|
/* @__PURE__ */ jsxs92(View87, { style: { gap: s("--space-3", 12) }, children: [
|
|
@@ -9264,7 +9348,7 @@ function KanbanBoard({ columns, onColumnsChange, onCardClick, wipLimit, allowedT
|
|
|
9264
9348
|
const id = e.nativeEvent.actionName.replace(/^move:/, "");
|
|
9265
9349
|
move(item.id, column.id, id);
|
|
9266
9350
|
},
|
|
9267
|
-
actions: /* @__PURE__ */ jsx107(Menu, { open:
|
|
9351
|
+
actions: /* @__PURE__ */ jsx107(Menu, { open: menu2 === item.id, onOpenChange: (o) => setMenu(o ? item.id : null), ariaLabel: "A\xE7\xF5es do card", align: "end", entries: entries2, children: /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `A\xE7\xF5es de ${name(item.title, item.id)}`, icon: /* @__PURE__ */ jsx107(Dots, {}), onPress: () => setMenu(item.id) }) })
|
|
9268
9352
|
},
|
|
9269
9353
|
item.id
|
|
9270
9354
|
);
|
|
@@ -9485,7 +9569,7 @@ function Questionnaire({ questions, onSubmit, style }) {
|
|
|
9485
9569
|
// .build/src/components/GuidedTour.tsx
|
|
9486
9570
|
import { createContext as createContext4, useContext as useContext4, useMemo as useMemo12, useRef as useRef37, useState as useState50 } from "react";
|
|
9487
9571
|
import { Text as Text59, View as View90 } from "react-native";
|
|
9488
|
-
import
|
|
9572
|
+
import Svg44, { Path as Path33 } from "react-native-svg";
|
|
9489
9573
|
import { Fragment as Fragment31, jsx as jsx110, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
9490
9574
|
var Context2 = createContext4(null);
|
|
9491
9575
|
function GuidedTour({ steps, open, defaultOpen = false, onOpenChange, currentStep, defaultStep, onStepChange, onComplete, children }) {
|
|
@@ -9527,7 +9611,7 @@ function GuidedTour({ steps, open, defaultOpen = false, onOpenChange, currentSte
|
|
|
9527
9611
|
}
|
|
9528
9612
|
function Close3() {
|
|
9529
9613
|
const { size, color } = useIconStyle();
|
|
9530
|
-
return /* @__PURE__ */ jsx110(
|
|
9614
|
+
return /* @__PURE__ */ jsx110(Svg44, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", children: /* @__PURE__ */ jsx110(Path33, { d: "M18 6 6 18M6 6l12 12" }) });
|
|
9531
9615
|
}
|
|
9532
9616
|
function TourCard({ step, index, context }) {
|
|
9533
9617
|
const t = useRefy();
|
|
@@ -9589,7 +9673,7 @@ function GuidedTourAnchor({ stepId, children, block = false, style }) {
|
|
|
9589
9673
|
// .build/src/components/Coverflow.tsx
|
|
9590
9674
|
import { useEffect as useEffect29, useRef as useRef38, useState as useState51 } from "react";
|
|
9591
9675
|
import { Animated as Animated26, Easing as Easing20, PanResponder as PanResponder5, Pressable as Pressable42, Text as Text60, View as View91 } from "react-native";
|
|
9592
|
-
import
|
|
9676
|
+
import Svg45, { Path as Path34 } from "react-native-svg";
|
|
9593
9677
|
import { Fragment as Fragment32, jsx as jsx111, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
9594
9678
|
function coverflowTarget(index, dx, stride, count) {
|
|
9595
9679
|
if (!stride || !count) return index;
|
|
@@ -9597,7 +9681,7 @@ function coverflowTarget(index, dx, stride, count) {
|
|
|
9597
9681
|
}
|
|
9598
9682
|
function Arrow({ left }) {
|
|
9599
9683
|
const { size, color } = useIconStyle();
|
|
9600
|
-
return /* @__PURE__ */ jsx111(
|
|
9684
|
+
return /* @__PURE__ */ jsx111(Svg45, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, children: /* @__PURE__ */ jsx111(Path34, { d: left ? "m15 18-6-6 6-6" : "m9 18 6-6-6-6" }) });
|
|
9601
9685
|
}
|
|
9602
9686
|
function Coverflow({ items, renderItem, selectedId, defaultSelectedId, onSelectionChange, onActivate, label = "Explorar conte\xFAdos", disabled = false, emptyContent = "Nenhum conte\xFAdo dispon\xEDvel.", itemWidth = 256, style }) {
|
|
9603
9687
|
const t = useRefy();
|
|
@@ -9895,7 +9979,7 @@ var SchedulePicker = VisitSchedulePicker;
|
|
|
9895
9979
|
// .build/src/components/GeoAreaPicker.tsx
|
|
9896
9980
|
import { useMemo as useMemo14, useState as useState53 } from "react";
|
|
9897
9981
|
import { Text as Text64, View as View95, useWindowDimensions as useWindowDimensions13 } from "react-native";
|
|
9898
|
-
import
|
|
9982
|
+
import Svg46, { Path as Path35 } from "react-native-svg";
|
|
9899
9983
|
import { jsx as jsx115, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
9900
9984
|
var km = (value) => `${value.toLocaleString("pt-BR")} km`;
|
|
9901
9985
|
function geoAreaLists(neighborhoods, baseId, radius, includedIds) {
|
|
@@ -9946,9 +10030,9 @@ function GeoAreaPicker({ neighborhoods, baseId, radius, defaultRadius = 2, minRa
|
|
|
9946
10030
|
error ? /* @__PURE__ */ jsx115(Callout, { tone: "danger", title: "N\xE3o foi poss\xEDvel atualizar o mapa", children: error }) : null,
|
|
9947
10031
|
/* @__PURE__ */ jsxs100(View95, { style: { flexDirection: wide ? "row" : "column", gap: s("--space-4", 16) }, children: [
|
|
9948
10032
|
/* @__PURE__ */ jsx115(View95, { accessibilityLabel: mapLabel, style: { flex: wide ? 1.3 : void 0, minHeight: wide ? 300 : 240, overflow: "hidden", borderWidth: border, borderColor: line4, borderRadius: radiusXl, backgroundColor: t.pick("--surface-2") }, children: map ?? /* @__PURE__ */ jsxs100(View95, { style: { flex: 1, alignItems: "center", justifyContent: "center", gap: s("--space-2", 8), padding: s("--space-6", 24) }, children: [
|
|
9949
|
-
/* @__PURE__ */ jsxs100(
|
|
9950
|
-
/* @__PURE__ */ jsx115(
|
|
9951
|
-
/* @__PURE__ */ jsx115(
|
|
10033
|
+
/* @__PURE__ */ jsxs100(Svg46, { width: 40, height: 40, viewBox: "0 0 24 24", fill: "none", stroke: ink3, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
10034
|
+
/* @__PURE__ */ jsx115(Path35, { d: "m9 18-6 3V6l6-3 6 3 6-3v15l-6 3-6-3Z" }),
|
|
10035
|
+
/* @__PURE__ */ jsx115(Path35, { d: "M9 3v15M15 6v15" })
|
|
9952
10036
|
] }),
|
|
9953
10037
|
/* @__PURE__ */ jsx115(Text64, { style: { color: ink1, fontSize: sm, ...t.font("--font-body", "--weight-semi") }, children: "Mapa indispon\xEDvel" }),
|
|
9954
10038
|
/* @__PURE__ */ jsx115(Text64, { style: { maxWidth: 260, textAlign: "center", color: ink3, fontSize: xs, lineHeight: Math.round(xs * 1.5), ...t.font("--font-body", "--weight-regular") }, children: `Voc\xEA pode concluir toda a sele\xE7\xE3o pelas listas ${wide ? "ao lado" : "abaixo"}.` })
|
|
@@ -9994,7 +10078,7 @@ function GeoAreaPicker({ neighborhoods, baseId, radius, defaultRadius = 2, minRa
|
|
|
9994
10078
|
// .build/src/components/IntentComposer.tsx
|
|
9995
10079
|
import { useId as useId9, useState as useState54 } from "react";
|
|
9996
10080
|
import { ScrollView as ScrollView16, Text as Text65, View as View96 } from "react-native";
|
|
9997
|
-
import
|
|
10081
|
+
import Svg47, { Defs as Defs10, LinearGradient as LinearGradient9, Path as Path36, Rect as Rect12, Stop as Stop9 } from "react-native-svg";
|
|
9998
10082
|
import { Fragment as Fragment33, jsx as jsx116, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
9999
10083
|
function nextIntentFilters(values, group, option) {
|
|
10000
10084
|
const current = values[group.id] ?? [];
|
|
@@ -10002,9 +10086,9 @@ function nextIntentFilters(values, group, option) {
|
|
|
10002
10086
|
}
|
|
10003
10087
|
function Mic2() {
|
|
10004
10088
|
const { size, color } = useIconStyle();
|
|
10005
|
-
return /* @__PURE__ */ jsxs101(
|
|
10089
|
+
return /* @__PURE__ */ jsxs101(Svg47, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
10006
10090
|
/* @__PURE__ */ jsx116(Rect12, { x: 9, y: 2, width: 6, height: 12, rx: 3 }),
|
|
10007
|
-
/* @__PURE__ */ jsx116(
|
|
10091
|
+
/* @__PURE__ */ jsx116(Path36, { d: "M5 10a7 7 0 0 0 14 0M12 17v4M8 21h8" })
|
|
10008
10092
|
] });
|
|
10009
10093
|
}
|
|
10010
10094
|
function IntentComposer({
|
|
@@ -10101,7 +10185,7 @@ function IntentComposer({
|
|
|
10101
10185
|
leadingActions != null && /* @__PURE__ */ jsx116(View96, { style: { flexDirection: "row", alignItems: "center", gap: s("--space-2", 8) }, children: leadingActions }),
|
|
10102
10186
|
/* @__PURE__ */ jsxs101(View96, { style: { flex: 1, minWidth: 0 }, children: [
|
|
10103
10187
|
/* @__PURE__ */ jsx116(ScrollView16, { horizontal: true, accessibilityLabel: "Exemplos de pedido", showsHorizontalScrollIndicator: false, style: { flexGrow: 0 }, contentContainerStyle: { alignItems: "center", gap: s("--space-2", 8), paddingVertical: 4, paddingRight: 24 }, children: examples.map((example) => /* @__PURE__ */ jsx116(Chip, { disabled: readOnly, onPress: () => changeText(example), children: example }, example)) }),
|
|
10104
|
-
/* @__PURE__ */ jsxs101(
|
|
10188
|
+
/* @__PURE__ */ jsxs101(Svg47, { pointerEvents: "none", width: 28, height: "100%", style: { position: "absolute", right: 0, top: 0, bottom: 0 }, children: [
|
|
10105
10189
|
/* @__PURE__ */ jsx116(Defs10, { children: /* @__PURE__ */ jsxs101(LinearGradient9, { id: fadeId, x1: "0", y1: "0", x2: "1", y2: "0", children: [
|
|
10106
10190
|
/* @__PURE__ */ jsx116(Stop9, { offset: "0", stopColor: t.pick("--surface"), stopOpacity: 0 }),
|
|
10107
10191
|
/* @__PURE__ */ jsx116(Stop9, { offset: "1", stopColor: t.pick("--surface"), stopOpacity: 1 })
|
|
@@ -10126,15 +10210,684 @@ function IntentComposer({
|
|
|
10126
10210
|
}
|
|
10127
10211
|
);
|
|
10128
10212
|
}
|
|
10213
|
+
|
|
10214
|
+
// .build/src/components/Rating.tsx
|
|
10215
|
+
import { useState as useState55 } from "react";
|
|
10216
|
+
import { Pressable as Pressable44, Text as Text66, View as View97 } from "react-native";
|
|
10217
|
+
import Svg48, { ClipPath as ClipPath3, Defs as Defs11, Path as Path37, Rect as Rect13 } from "react-native-svg";
|
|
10218
|
+
import { Fragment as Fragment34, jsx as jsx117, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
10219
|
+
var STAR = "M12 2.8l2.84 5.76 6.36.92-4.6 4.49 1.08 6.33L12 17.3l-5.68 3 1.08-6.33-4.6-4.49 6.36-.92z";
|
|
10220
|
+
var SIZES = { sm: 14, md: 18, lg: 24 };
|
|
10221
|
+
var clamp3 = (value, max) => Math.min(max, Math.max(0, value));
|
|
10222
|
+
var clipCount = 0;
|
|
10223
|
+
function Star({ size, fill: fill2, empty, full }) {
|
|
10224
|
+
const [id] = useState55(() => `refy-star-${++clipCount}`);
|
|
10225
|
+
return /* @__PURE__ */ jsxs102(Svg48, { width: size, height: size, viewBox: "0 0 24 24", children: [
|
|
10226
|
+
/* @__PURE__ */ jsx117(Path37, { d: STAR, fill: empty }),
|
|
10227
|
+
fill2 > 0 && /* @__PURE__ */ jsxs102(Fragment34, { children: [
|
|
10228
|
+
/* @__PURE__ */ jsx117(Defs11, { children: /* @__PURE__ */ jsx117(ClipPath3, { id, children: /* @__PURE__ */ jsx117(Rect13, { x: "0", y: "0", width: 24 * fill2, height: "24" }) }) }),
|
|
10229
|
+
/* @__PURE__ */ jsx117(Path37, { d: STAR, fill: full, clipPath: `url(#${id})` })
|
|
10230
|
+
] })
|
|
10231
|
+
] });
|
|
10232
|
+
}
|
|
10233
|
+
var fmt2 = (n) => String(Math.round(n * 10) / 10).replace(".", ",");
|
|
10234
|
+
function Rating({ label, value: valueProp, defaultValue = 0, onChange, max = 5, readOnly = false, count, showValue, size = "md", disabled = false, showLabel = false, style, ...rest }) {
|
|
10235
|
+
const t = useRefy();
|
|
10236
|
+
const [inner, setInner] = useState55(defaultValue);
|
|
10237
|
+
const value = clamp3(valueProp ?? inner, max);
|
|
10238
|
+
const px = SIZES[size];
|
|
10239
|
+
const empty = t.pick("--surface-container-high", "--line");
|
|
10240
|
+
const full = t.pick("--weak");
|
|
10241
|
+
const text = baseText(t, { size: t.pick(size === "sm" ? "--text-xs" : size === "lg" ? "--text-base" : "--text-sm"), color: "--ink-3" });
|
|
10242
|
+
const shownValue = showValue ?? readOnly;
|
|
10243
|
+
const reviews = count != null ? `(${count} ${count === 1 ? "avalia\xE7\xE3o" : "avalia\xE7\xF5es"})` : null;
|
|
10244
|
+
const meta = (shownValue || reviews) && /* @__PURE__ */ jsxs102(Text66, { style: text, children: [
|
|
10245
|
+
shownValue && /* @__PURE__ */ jsxs102(Text66, { style: { color: t.pick("--ink-1"), ...t.font("--font-body", "--weight-semi") }, children: [
|
|
10246
|
+
fmt2(value),
|
|
10247
|
+
" "
|
|
10248
|
+
] }),
|
|
10249
|
+
reviews
|
|
10250
|
+
] });
|
|
10251
|
+
const stars = Array.from({ length: max }, (_, i) => i + 1);
|
|
10252
|
+
const withLabel = (node) => showLabel ? /* @__PURE__ */ jsxs102(View97, { style: { gap: 4 }, children: [
|
|
10253
|
+
/* @__PURE__ */ jsx117(Text66, { importantForAccessibility: "no", accessibilityElementsHidden: true, style: baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-2", weight: "--weight-medium" }), children: label }),
|
|
10254
|
+
node
|
|
10255
|
+
] }) : node;
|
|
10256
|
+
if (readOnly) {
|
|
10257
|
+
return withLabel(
|
|
10258
|
+
/* @__PURE__ */ jsxs102(View97, { accessible: true, accessibilityRole: "image", accessibilityLabel: `${label}: ${fmt2(value)} de ${max}${reviews ? `, ${count} avalia\xE7\xF5es` : ""}`, ...rest, style: [{ flexDirection: "row", alignItems: "center", gap: 8 }, style], children: [
|
|
10259
|
+
/* @__PURE__ */ jsx117(View97, { style: { flexDirection: "row", gap: 2 }, children: stars.map((n) => /* @__PURE__ */ jsx117(Star, { size: px, fill: clamp3(value - (n - 1), 1), empty, full }, n)) }),
|
|
10260
|
+
meta
|
|
10261
|
+
] })
|
|
10262
|
+
);
|
|
10263
|
+
}
|
|
10264
|
+
const selected = Math.round(value);
|
|
10265
|
+
const choose = (n) => {
|
|
10266
|
+
if (disabled) return;
|
|
10267
|
+
const next = selected === n ? 0 : n;
|
|
10268
|
+
if (valueProp === void 0) setInner(next);
|
|
10269
|
+
onChange?.(next);
|
|
10270
|
+
};
|
|
10271
|
+
return withLabel(
|
|
10272
|
+
/* @__PURE__ */ jsxs102(View97, { accessibilityRole: "radiogroup", accessibilityLabel: label, ...rest, style: [{ flexDirection: "row", alignItems: "center", gap: 8, opacity: disabled ? t.pick("--control-disabled-opacity", 0.5) : 1 }, style], children: [
|
|
10273
|
+
/* @__PURE__ */ jsx117(View97, { style: { flexDirection: "row", gap: 2 }, children: stars.map((n) => /* @__PURE__ */ jsx117(
|
|
10274
|
+
Pressable44,
|
|
10275
|
+
{
|
|
10276
|
+
accessibilityRole: "radio",
|
|
10277
|
+
accessibilityLabel: `${n} de ${max} ${max === 1 ? "estrela" : "estrelas"}`,
|
|
10278
|
+
accessibilityState: { checked: selected === n, disabled },
|
|
10279
|
+
disabled,
|
|
10280
|
+
onPress: () => choose(n),
|
|
10281
|
+
hitSlop: hitSlopFor(px + 4, px + 4),
|
|
10282
|
+
style: { padding: 2, width: px + 4, height: px + 4 },
|
|
10283
|
+
children: /* @__PURE__ */ jsx117(Star, { size: px, fill: n <= selected ? 1 : 0, empty, full })
|
|
10284
|
+
},
|
|
10285
|
+
n
|
|
10286
|
+
)) }),
|
|
10287
|
+
meta
|
|
10288
|
+
] })
|
|
10289
|
+
);
|
|
10290
|
+
}
|
|
10291
|
+
|
|
10292
|
+
// .build/src/components/Quote.tsx
|
|
10293
|
+
import { View as View98 } from "react-native";
|
|
10294
|
+
import Svg49, { Path as Path38 } from "react-native-svg";
|
|
10295
|
+
import { jsx as jsx118, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
10296
|
+
function initialsOf2(author) {
|
|
10297
|
+
if (typeof author !== "string") return void 0;
|
|
10298
|
+
return author.trim().split(/\s+/).filter(Boolean).slice(0, 2).map((part) => part[0]).join("").toUpperCase() || void 0;
|
|
10299
|
+
}
|
|
10300
|
+
function Quote({ children, author, source, avatar, variant = "block", style, ...rest }) {
|
|
10301
|
+
const t = useRefy();
|
|
10302
|
+
const pull = variant === "pull";
|
|
10303
|
+
const initials = initialsOf2(author);
|
|
10304
|
+
const quoteText = pull ? { ...baseText(t, { size: t.pick("--text-h4", 20), color: "--ink-1", family: "--font-headline", leading: "--leading-snug" }) } : baseText(t, { size: t.pick("--text-md", 16), color: "--ink-1", leading: "--leading-relaxed" });
|
|
10305
|
+
const sm = t.pick("--text-sm", 13);
|
|
10306
|
+
return /* @__PURE__ */ jsxs103(
|
|
10307
|
+
View98,
|
|
10308
|
+
{
|
|
10309
|
+
...rest,
|
|
10310
|
+
style: [
|
|
10311
|
+
{ gap: 12, minWidth: 0 },
|
|
10312
|
+
pull ? { padding: t.pick("--space-6", 24), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--surface-2", "--surface-container-low") } : { paddingLeft: t.pick("--space-4", 16), borderLeftWidth: 3, borderLeftColor: t.pick("--primary") },
|
|
10313
|
+
style
|
|
10314
|
+
],
|
|
10315
|
+
children: [
|
|
10316
|
+
pull && /* @__PURE__ */ jsx118(Svg49, { width: 28, height: 21, viewBox: "0 0 32 24", accessibilityElementsHidden: true, importantForAccessibility: "no", children: /* @__PURE__ */ jsx118(Path38, { fill: t.pick("--primary"), d: "M0 24V14.4C0 6.1 4.4 1.3 12.2 0l1.4 3.4C9 4.6 6.9 7.3 6.7 11H13v13H0zm18.4 0V14.4C18.4 6.1 22.8 1.3 30.6 0L32 3.4c-4.6 1.2-6.7 3.9-6.9 7.6h6.3v13h-13z" }) }),
|
|
10317
|
+
renderText(children, quoteText),
|
|
10318
|
+
(author != null || source != null) && /* @__PURE__ */ jsxs103(View98, { style: { flexDirection: "row", alignItems: "center", gap: 12 }, children: [
|
|
10319
|
+
pull && (avatar || initials) && /* @__PURE__ */ jsx118(Avatar, { size: "sm", src: avatar, initials, seed: typeof author === "string" ? author : void 0 }),
|
|
10320
|
+
/* @__PURE__ */ jsxs103(View98, { style: { flexShrink: 1 }, children: [
|
|
10321
|
+
author != null && renderText(author, { ...baseText(t, { size: sm, color: "--ink-1", weight: "--weight-semi" }) }),
|
|
10322
|
+
source != null && renderText(source, baseText(t, { size: sm, color: "--ink-3" }))
|
|
10323
|
+
] })
|
|
10324
|
+
] })
|
|
10325
|
+
]
|
|
10326
|
+
}
|
|
10327
|
+
);
|
|
10328
|
+
}
|
|
10329
|
+
|
|
10330
|
+
// .build/src/components/KeyValueList.tsx
|
|
10331
|
+
import { useState as useState56 } from "react";
|
|
10332
|
+
import { View as View99 } from "react-native";
|
|
10333
|
+
import { jsx as jsx119, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
10334
|
+
function KeyValueList({ items, layout = "rows", dividers, title, style, ...rest }) {
|
|
10335
|
+
const t = useRefy();
|
|
10336
|
+
const [width, setWidth] = useState56(0);
|
|
10337
|
+
const lines = dividers ?? layout === "rows";
|
|
10338
|
+
const line4 = t.pick("--line-soft");
|
|
10339
|
+
const sm = t.pick("--text-sm", 13);
|
|
10340
|
+
const label = baseText(t, { size: sm, color: "--ink-3" });
|
|
10341
|
+
const value = { ...baseText(t, { size: sm, color: "--ink-1", weight: "--weight-medium" }), fontVariant: ["tabular-nums"] };
|
|
10342
|
+
const hint = baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" });
|
|
10343
|
+
const heading = title != null && /* @__PURE__ */ jsx119(View99, { accessibilityRole: "header", accessible: true, style: { marginBottom: 4 }, children: renderText(title, baseText(t, { size: sm, color: "--ink-1", family: "--font-headline", weight: "--weight-semi" })) });
|
|
10344
|
+
if (layout === "columns") {
|
|
10345
|
+
const gap = t.pick("--space-5", 20);
|
|
10346
|
+
const columns = Math.max(1, Math.floor((width + gap) / (150 + gap)));
|
|
10347
|
+
const cell = width ? (width - gap * (columns - 1)) / columns : 150;
|
|
10348
|
+
const eyebrow = t.pick("--text-eyebrow", 11);
|
|
10349
|
+
return /* @__PURE__ */ jsxs104(View99, { ...rest, style, children: [
|
|
10350
|
+
heading,
|
|
10351
|
+
/* @__PURE__ */ jsx119(View99, { onLayout: (e) => setWidth(e.nativeEvent.layout.width), style: { flexDirection: "row", flexWrap: "wrap", columnGap: gap, rowGap: t.pick("--space-4", 16) }, children: items.map((item, index) => /* @__PURE__ */ jsxs104(View99, { accessible: true, style: { width: cell, gap: 2, paddingTop: lines ? 12 : 0, borderTopWidth: lines ? 1 : 0, borderTopColor: line4 }, children: [
|
|
10352
|
+
renderText(item.label, { ...baseText(t, { size: eyebrow, color: "--ink-3", family: ["--interface-detail-font", "--font-mono"] }), textTransform: "uppercase", letterSpacing: 0.16 * eyebrow }),
|
|
10353
|
+
renderText(item.value, value),
|
|
10354
|
+
item.hint != null && renderText(item.hint, hint)
|
|
10355
|
+
] }, item.id ?? index)) })
|
|
10356
|
+
] });
|
|
10357
|
+
}
|
|
10358
|
+
return /* @__PURE__ */ jsxs104(View99, { ...rest, style: [{ minWidth: 0 }, style], children: [
|
|
10359
|
+
heading,
|
|
10360
|
+
items.map((item, index) => /* @__PURE__ */ jsxs104(View99, { accessible: true, style: { flexDirection: "row", justifyContent: "space-between", alignItems: "baseline", gap: 16, paddingVertical: 8, borderTopWidth: lines && index > 0 ? 1 : 0, borderTopColor: line4 }, children: [
|
|
10361
|
+
/* @__PURE__ */ jsx119(View99, { style: { flexShrink: 1 }, children: renderText(item.label, label) }),
|
|
10362
|
+
/* @__PURE__ */ jsxs104(View99, { style: { flexShrink: 1, alignItems: "flex-end" }, children: [
|
|
10363
|
+
renderText(item.value, { ...value, textAlign: "right" }),
|
|
10364
|
+
item.hint != null && renderText(item.hint, { ...hint, textAlign: "right" })
|
|
10365
|
+
] })
|
|
10366
|
+
] }, item.id ?? index))
|
|
10367
|
+
] });
|
|
10368
|
+
}
|
|
10369
|
+
|
|
10370
|
+
// .build/src/components/ComparisonTable.tsx
|
|
10371
|
+
import { ScrollView as ScrollView17, Text as Text67, View as View100 } from "react-native";
|
|
10372
|
+
import Svg50, { Path as Path39 } from "react-native-svg";
|
|
10373
|
+
import { jsx as jsx120, jsxs as jsxs105 } from "react/jsx-runtime";
|
|
10374
|
+
var FEATURE = 140;
|
|
10375
|
+
var OPTION = 110;
|
|
10376
|
+
function ComparisonTable({ options, rows, highlight, highlightLabel = "Recomendado", caption, style, ...rest }) {
|
|
10377
|
+
const t = useRefy();
|
|
10378
|
+
const line4 = t.pick("--line-soft");
|
|
10379
|
+
const soft = t.pick("--primary-soft");
|
|
10380
|
+
const sm = t.pick("--text-sm", 13);
|
|
10381
|
+
const cellText = { ...baseText(t, { size: sm, color: "--ink-2" }), textAlign: "center", fontVariant: ["tabular-nums"] };
|
|
10382
|
+
const mark = (value) => {
|
|
10383
|
+
if (value === true)
|
|
10384
|
+
return /* @__PURE__ */ jsx120(Svg50, { width: 20, height: 20, viewBox: "0 0 24 24", accessibilityLabel: "Sim", children: /* @__PURE__ */ jsx120(Path39, { d: "M5 12.5l4.5 4.5L19 7.5", stroke: t.pick("--good-ink"), strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
10385
|
+
if (value === false || value == null)
|
|
10386
|
+
return /* @__PURE__ */ jsx120(Svg50, { width: 20, height: 20, viewBox: "0 0 24 24", accessibilityLabel: "N\xE3o", children: /* @__PURE__ */ jsx120(Path39, { d: "M7 12h10", stroke: t.pick("--ink-4", "--ink-3"), strokeWidth: 2.4, fill: "none", strokeLinecap: "round" }) });
|
|
10387
|
+
return renderText(value, cellText);
|
|
10388
|
+
};
|
|
10389
|
+
const cell = (index) => ({ width: OPTION, paddingVertical: 12, paddingHorizontal: 12, alignItems: "center", justifyContent: "center", backgroundColor: index === highlight ? soft : void 0 });
|
|
10390
|
+
return /* @__PURE__ */ jsx120(
|
|
10391
|
+
View100,
|
|
10392
|
+
{
|
|
10393
|
+
accessibilityLabel: caption,
|
|
10394
|
+
...rest,
|
|
10395
|
+
style: [{ borderWidth: 1, borderColor: line4, borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface"), overflow: "hidden" }, style],
|
|
10396
|
+
children: /* @__PURE__ */ jsx120(ScrollView17, { horizontal: true, showsHorizontalScrollIndicator: false, style: { flexGrow: 0 }, children: /* @__PURE__ */ jsxs105(View100, { children: [
|
|
10397
|
+
/* @__PURE__ */ jsxs105(View100, { style: { flexDirection: "row", borderBottomWidth: 1, borderBottomColor: line4 }, children: [
|
|
10398
|
+
/* @__PURE__ */ jsx120(View100, { style: { width: FEATURE } }),
|
|
10399
|
+
options.map((option, index) => /* @__PURE__ */ jsxs105(View100, { accessibilityRole: "header", style: [cell(index), { justifyContent: "flex-end", gap: 4 }], children: [
|
|
10400
|
+
index === highlight && /* @__PURE__ */ jsx120(View100, { style: { paddingHorizontal: 8, paddingVertical: 2, borderRadius: 999, backgroundColor: t.pick("--primary") }, children: /* @__PURE__ */ jsx120(Text67, { style: { color: t.pick("--on-primary"), fontSize: t.pick("--text-2xs", 10), ...t.font(["--interface-detail-font", "--font-mono"], "--weight-semi"), textTransform: "uppercase" }, children: highlightLabel }) }),
|
|
10401
|
+
/* @__PURE__ */ jsx120(Text67, { style: { ...baseText(t, { size: t.pick("--text-base", 14), color: "--ink-1", family: "--font-headline", weight: "--weight-semi" }), textAlign: "center" }, children: option })
|
|
10402
|
+
] }, option))
|
|
10403
|
+
] }),
|
|
10404
|
+
rows.map((row3, r) => /* @__PURE__ */ jsxs105(View100, { accessible: true, accessibilityLabel: void 0, style: { flexDirection: "row", borderBottomWidth: r < rows.length - 1 ? 1 : 0, borderBottomColor: line4 }, children: [
|
|
10405
|
+
/* @__PURE__ */ jsxs105(View100, { style: { width: FEATURE, paddingVertical: 12, paddingHorizontal: 16, justifyContent: "center" }, children: [
|
|
10406
|
+
renderText(row3.feature, baseText(t, { size: sm, color: "--ink-1", weight: "--weight-medium" })),
|
|
10407
|
+
row3.hint != null && renderText(row3.hint, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" }))
|
|
10408
|
+
] }),
|
|
10409
|
+
options.map((option, index) => /* @__PURE__ */ jsx120(View100, { style: cell(index), children: mark(row3.values[index]) }, option))
|
|
10410
|
+
] }, row3.id ?? r))
|
|
10411
|
+
] }) })
|
|
10412
|
+
}
|
|
10413
|
+
);
|
|
10414
|
+
}
|
|
10415
|
+
|
|
10416
|
+
// .build/src/components/Agenda.tsx
|
|
10417
|
+
import { Pressable as Pressable45, Text as Text68, View as View101 } from "react-native";
|
|
10418
|
+
|
|
10419
|
+
// .build/src/components/agendaDays.ts
|
|
10420
|
+
var DATE_ONLY = /^\d{4}-\d{2}-\d{2}$/;
|
|
10421
|
+
function dayKey(date, timeZone) {
|
|
10422
|
+
const parts = new Intl.DateTimeFormat("en-CA", { timeZone, year: "numeric", month: "2-digit", day: "2-digit" }).formatToParts(date);
|
|
10423
|
+
const get = (type) => parts.find((part) => part.type === type)?.value ?? "";
|
|
10424
|
+
return `${get("year")}-${get("month")}-${get("day")}`;
|
|
10425
|
+
}
|
|
10426
|
+
function groupAgenda(events, timeZone, from, to) {
|
|
10427
|
+
const days = /* @__PURE__ */ new Map();
|
|
10428
|
+
if (from && to && DATE_ONLY.test(from) && DATE_ONLY.test(to)) {
|
|
10429
|
+
const cursor = /* @__PURE__ */ new Date(`${from}T12:00:00Z`);
|
|
10430
|
+
const last = (/* @__PURE__ */ new Date(`${to}T12:00:00Z`)).getTime();
|
|
10431
|
+
for (let n = 0; n < 62 && cursor.getTime() <= last; n++) {
|
|
10432
|
+
const key = cursor.toISOString().slice(0, 10);
|
|
10433
|
+
days.set(key, { key, date: new Date(cursor), events: [] });
|
|
10434
|
+
cursor.setUTCDate(cursor.getUTCDate() + 1);
|
|
10435
|
+
}
|
|
10436
|
+
}
|
|
10437
|
+
for (const event of events) {
|
|
10438
|
+
const dateOnly = typeof event.start === "string" && DATE_ONLY.test(event.start);
|
|
10439
|
+
const start = dateOnly ? /* @__PURE__ */ new Date(`${event.start}T12:00:00Z`) : new Date(event.start);
|
|
10440
|
+
if (Number.isNaN(start.getTime())) continue;
|
|
10441
|
+
const key = dateOnly ? event.start : dayKey(start, timeZone);
|
|
10442
|
+
const end = event.end === void 0 ? void 0 : new Date(event.end);
|
|
10443
|
+
const day = days.get(key) ?? { key, date: /* @__PURE__ */ new Date(`${key}T12:00:00Z`), events: [] };
|
|
10444
|
+
day.events.push({ event, allDay: dateOnly || Boolean(event.allDay), start, end: end && !Number.isNaN(end.getTime()) ? end : void 0 });
|
|
10445
|
+
days.set(key, day);
|
|
10446
|
+
}
|
|
10447
|
+
return [...days.values()].sort((a, b) => a.key.localeCompare(b.key)).map((day) => ({
|
|
10448
|
+
...day,
|
|
10449
|
+
events: day.events.sort((a, b) => Number(b.allDay) - Number(a.allDay) || a.start.getTime() - b.start.getTime())
|
|
10450
|
+
}));
|
|
10451
|
+
}
|
|
10452
|
+
|
|
10453
|
+
// .build/src/components/Agenda.tsx
|
|
10454
|
+
import { Fragment as Fragment35, jsx as jsx121, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
10455
|
+
var TONE = {
|
|
10456
|
+
primary: ["--primary"],
|
|
10457
|
+
info: ["--info"],
|
|
10458
|
+
good: ["--good"],
|
|
10459
|
+
warn: ["--weak"],
|
|
10460
|
+
critical: ["--critical"],
|
|
10461
|
+
neutral: ["--line-strong", "--ink-3"]
|
|
10462
|
+
};
|
|
10463
|
+
function Agenda({ events, label, locale = "pt-BR", timezone, onEventClick, emptyMessage = "Nada marcado.", title, from, to, style, ...rest }) {
|
|
10464
|
+
const t = useRefy();
|
|
10465
|
+
const days = groupAgenda(events, timezone, from, to);
|
|
10466
|
+
const dayLabel = new Intl.DateTimeFormat(locale, { weekday: "long", day: "numeric", month: "long", timeZone: "UTC" });
|
|
10467
|
+
const weekday = new Intl.DateTimeFormat(locale, { weekday: "short", timeZone: "UTC" });
|
|
10468
|
+
const month = new Intl.DateTimeFormat(locale, { month: "short", timeZone: "UTC" });
|
|
10469
|
+
const time = new Intl.DateTimeFormat(locale, { hour: "2-digit", minute: "2-digit", timeZone: timezone });
|
|
10470
|
+
const xs = t.pick("--text-xs", 12);
|
|
10471
|
+
const xxs = t.pick("--text-2xs", 10);
|
|
10472
|
+
const sm = t.pick("--text-sm", 13);
|
|
10473
|
+
const line4 = t.pick("--line-soft");
|
|
10474
|
+
const name2 = label ?? (typeof title === "string" ? title : "Agenda");
|
|
10475
|
+
const small = (text) => /* @__PURE__ */ jsx121(Text68, { style: baseText(t, { size: xxs, color: "--ink-3" }), children: text.replace(/\.$/, "") });
|
|
10476
|
+
return /* @__PURE__ */ jsxs106(View101, { accessibilityLabel: name2, ...rest, style: [{ overflow: "hidden", borderWidth: 1, borderColor: line4, borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface") }, style], children: [
|
|
10477
|
+
title != null && /* @__PURE__ */ jsx121(View101, { accessibilityRole: "header", accessible: true, style: { paddingHorizontal: 16, paddingVertical: 12, borderBottomWidth: 1, borderBottomColor: line4 }, children: renderText(title, baseText(t, { size: sm, color: "--ink-1", family: "--font-headline", weight: "--weight-semi" })) }),
|
|
10478
|
+
!days.length && /* @__PURE__ */ jsx121(View101, { style: { padding: 16 }, children: renderText(emptyMessage, baseText(t, { size: sm, color: "--ink-3" })) }),
|
|
10479
|
+
days.map((day, dayIndex) => /* @__PURE__ */ jsxs106(View101, { style: { flexDirection: "row", gap: 12, paddingHorizontal: 16, paddingVertical: 12, borderTopWidth: dayIndex > 0 ? 1 : 0, borderTopColor: line4 }, children: [
|
|
10480
|
+
/* @__PURE__ */ jsxs106(View101, { accessibilityRole: "header", accessible: true, accessibilityLabel: dayLabel.format(day.date), style: { width: 40, alignItems: "center" }, children: [
|
|
10481
|
+
small(weekday.format(day.date)),
|
|
10482
|
+
/* @__PURE__ */ jsx121(Text68, { style: { ...baseText(t, { size: t.pick("--text-h4", 20), color: "--ink-1", family: "--font-headline", weight: "--weight-semi", leading: "--leading-tight" }), fontVariant: ["tabular-nums"] }, children: String(day.date.getUTCDate()) }),
|
|
10483
|
+
small(month.format(day.date))
|
|
10484
|
+
] }),
|
|
10485
|
+
/* @__PURE__ */ jsxs106(View101, { style: { flex: 1, gap: 8, justifyContent: day.events.length ? "flex-start" : "center" }, children: [
|
|
10486
|
+
day.events.length === 0 && renderText("Nada marcado", baseText(t, { size: sm, color: "--ink-3" })),
|
|
10487
|
+
day.events.map(({ event, allDay, start, end }) => {
|
|
10488
|
+
const spoken = allDay ? "Dia todo" : end ? `${time.format(start)} \xE0s ${time.format(end)}` : time.format(start);
|
|
10489
|
+
const body = /* @__PURE__ */ jsxs106(Fragment35, { children: [
|
|
10490
|
+
/* @__PURE__ */ jsx121(View101, { style: { width: 3, alignSelf: "stretch", borderRadius: 2, backgroundColor: t.pick(...TONE[event.tone ?? "primary"]) } }),
|
|
10491
|
+
/* @__PURE__ */ jsxs106(View101, { style: { minWidth: 56 }, children: [
|
|
10492
|
+
/* @__PURE__ */ jsx121(Text68, { style: { ...baseText(t, { size: xs, color: "--ink-2" }), fontVariant: ["tabular-nums"] }, children: allDay ? "Dia todo" : time.format(start) }),
|
|
10493
|
+
!allDay && end && /* @__PURE__ */ jsx121(Text68, { style: { ...baseText(t, { size: xxs, color: "--ink-3" }), fontVariant: ["tabular-nums"] }, children: time.format(end) })
|
|
10494
|
+
] }),
|
|
10495
|
+
/* @__PURE__ */ jsxs106(View101, { style: { flex: 1, gap: 2 }, children: [
|
|
10496
|
+
renderText(event.title, baseText(t, { size: sm, color: "--ink-1", weight: "--weight-semi" })),
|
|
10497
|
+
event.location != null && renderText(event.location, baseText(t, { size: xs, color: "--ink-3" })),
|
|
10498
|
+
event.description != null && renderText(event.description, baseText(t, { size: xs, color: "--ink-3" }))
|
|
10499
|
+
] })
|
|
10500
|
+
] });
|
|
10501
|
+
const frame = { flexDirection: "row", gap: 10, minHeight: 44, paddingHorizontal: 12, paddingVertical: 8, borderWidth: 1, borderColor: line4, borderRadius: t.pick("--radius-md", 10), backgroundColor: t.pick("--surface-2", "--surface-container-low") };
|
|
10502
|
+
return onEventClick ? /* @__PURE__ */ jsx121(Pressable45, { accessibilityRole: "button", accessibilityLabel: typeof event.title === "string" ? [event.title, spoken, ...typeof event.location === "string" ? [event.location] : []].join(", ") : void 0, onPress: () => onEventClick(event), style: ({ pressed }) => [frame, pressed && { backgroundColor: t.pick("--surface-container", "--surface-2") }], children: body }, event.id) : /* @__PURE__ */ jsx121(View101, { accessible: true, accessibilityLabel: typeof event.title === "string" ? [event.title, spoken, ...typeof event.location === "string" ? [event.location] : []].join(", ") : void 0, style: frame, children: body }, event.id);
|
|
10503
|
+
})
|
|
10504
|
+
] })
|
|
10505
|
+
] }, day.key))
|
|
10506
|
+
] });
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10509
|
+
// .build/src/components/EntityCard.tsx
|
|
10510
|
+
import { Image as Image4, Linking, Text as Text69, View as View102 } from "react-native";
|
|
10511
|
+
import { jsx as jsx122, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
10512
|
+
function EntityCard({ title, subtitle, category, description, image, imageAlt = "", price, meta, badge, badgeTone = "neutral", rating: rating2, actions = [], layout = "vertical", style, ...rest }) {
|
|
10513
|
+
const t = useRefy();
|
|
10514
|
+
const row3 = layout === "horizontal";
|
|
10515
|
+
const compact = !image;
|
|
10516
|
+
const sm = t.pick("--text-sm", 13);
|
|
10517
|
+
const pad = t.pick("--card-padding", "--space-4");
|
|
10518
|
+
const press = (action) => () => {
|
|
10519
|
+
if (action.onClick) action.onClick();
|
|
10520
|
+
else if (action.href) void Linking.openURL(action.href);
|
|
10521
|
+
};
|
|
10522
|
+
return /* @__PURE__ */ jsxs107(
|
|
10523
|
+
View102,
|
|
10524
|
+
{
|
|
10525
|
+
...rest,
|
|
10526
|
+
style: [{ flexDirection: row3 ? "row" : "column", overflow: "hidden", borderWidth: 1, borderColor: t.pick("--line-soft"), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface") }, style],
|
|
10527
|
+
children: [
|
|
10528
|
+
image && /* @__PURE__ */ jsxs107(View102, { style: row3 ? { width: "38%", maxWidth: 220, minHeight: 140 } : { aspectRatio: 4 / 3 }, children: [
|
|
10529
|
+
/* @__PURE__ */ jsx122(Image4, { source: { uri: image }, accessibilityLabel: imageAlt || void 0, accessibilityIgnoresInvertColors: true, style: { width: "100%", height: "100%", backgroundColor: t.pick("--surface-2", "--surface-container-low") }, resizeMode: "cover" }),
|
|
10530
|
+
badge && /* @__PURE__ */ jsx122(Badge, { tone: badgeTone, style: { position: "absolute", top: 12, left: 12 }, children: badge })
|
|
10531
|
+
] }),
|
|
10532
|
+
/* @__PURE__ */ jsxs107(View102, { style: { flex: row3 ? 1 : void 0, gap: compact ? 4 : 8, padding: compact ? 12 : pad, paddingHorizontal: pad, minWidth: 0 }, children: [
|
|
10533
|
+
(category != null || !image && badge) && /* @__PURE__ */ jsxs107(View102, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: 8 }, children: [
|
|
10534
|
+
category != null && renderText(category, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" })),
|
|
10535
|
+
!image && badge && /* @__PURE__ */ jsx122(Badge, { tone: badgeTone, children: badge })
|
|
10536
|
+
] }),
|
|
10537
|
+
renderText(title, { ...baseText(t, { size: compact ? t.pick("--text-base", 14) : t.pick("--card-title-size", "--text-md"), color: "--ink-1", family: "--font-headline", weight: "--weight-semi", leading: "--leading-snug" }) }),
|
|
10538
|
+
subtitle != null && renderText(subtitle, baseText(t, { size: sm, color: "--ink-3" })),
|
|
10539
|
+
rating2 && /* @__PURE__ */ jsx122(Rating, { readOnly: true, size: "sm", label: "Nota", value: rating2.value, count: rating2.count }),
|
|
10540
|
+
description != null && renderText(description, baseText(t, { size: sm, color: "--ink-2" })),
|
|
10541
|
+
(price != null || meta != null) && /* @__PURE__ */ jsxs107(View102, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "baseline", columnGap: 12, rowGap: 4 }, children: [
|
|
10542
|
+
price != null && /* @__PURE__ */ jsx122(Text69, { style: { ...baseText(t, { size: compact ? sm : t.pick("--text-lg", 18), color: "--ink-1", family: "--font-headline", weight: "--weight-semi" }), fontVariant: ["tabular-nums"] }, children: price }),
|
|
10543
|
+
meta != null && renderText(meta, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" }))
|
|
10544
|
+
] }),
|
|
10545
|
+
actions.length > 0 && /* @__PURE__ */ jsx122(View102, { style: { flexDirection: "row", flexWrap: "wrap", gap: 8, paddingTop: 8 }, children: actions.slice(0, 3).map((action, index) => /* @__PURE__ */ jsx122(Button, { size: "sm", variant: index === 0 ? "primary" : index === 1 ? "secondary" : "ghost", onPress: press(action), children: action.label }, action.label)) })
|
|
10546
|
+
] })
|
|
10547
|
+
]
|
|
10548
|
+
}
|
|
10549
|
+
);
|
|
10550
|
+
}
|
|
10551
|
+
|
|
10552
|
+
// .build/src/components/ImageGallery.tsx
|
|
10553
|
+
import { useRef as useRef39, useState as useState57 } from "react";
|
|
10554
|
+
import { Image as Image5, Modal as RNModal4, Pressable as Pressable46, ScrollView as ScrollView18, Text as Text70, View as View103, useWindowDimensions as useWindowDimensions14 } from "react-native";
|
|
10555
|
+
import Svg51, { Path as Path40 } from "react-native-svg";
|
|
10556
|
+
import { jsx as jsx123, jsxs as jsxs108 } from "react/jsx-runtime";
|
|
10557
|
+
function Glyph3({ d }) {
|
|
10558
|
+
const { size, color } = useIconStyle();
|
|
10559
|
+
return /* @__PURE__ */ jsx123(Svg51, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx123(Path40, { d }) });
|
|
10560
|
+
}
|
|
10561
|
+
function ImageGallery({ images, label, columns = 3, aspectRatio = 4 / 3, viewer = true, layout = "grid", style, ...rest }) {
|
|
10562
|
+
const t = useRefy();
|
|
10563
|
+
const [width, setWidth] = useState57(0);
|
|
10564
|
+
const [open, setOpen] = useState57(null);
|
|
10565
|
+
const screen = useWindowDimensions14();
|
|
10566
|
+
const pager = useRef39(null);
|
|
10567
|
+
const gap = t.pick("--space-3", 12);
|
|
10568
|
+
const cols = width && width < 560 ? Math.min(2, columns) : columns;
|
|
10569
|
+
const cell = width ? (width - gap * (cols - 1)) / cols : 0;
|
|
10570
|
+
const radius = t.pick("--radius-md", 10);
|
|
10571
|
+
const caption = baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3", leading: "--leading-snug" });
|
|
10572
|
+
const total = images.length;
|
|
10573
|
+
const featuredGap = t.pick("--space-2", 8);
|
|
10574
|
+
const featuredCell = width ? (width - featuredGap * 2) / 3 : 0;
|
|
10575
|
+
const tile = (image, index, w, h) => {
|
|
10576
|
+
const thumb = /* @__PURE__ */ jsx123(Image5, { source: { uri: image.src }, accessibilityIgnoresInvertColors: true, style: { width: w, height: h, borderRadius: radius, backgroundColor: t.pick("--surface-2", "--surface-container-low") }, resizeMode: "cover" });
|
|
10577
|
+
return viewer ? /* @__PURE__ */ jsx123(Pressable46, { accessibilityRole: "imagebutton", accessibilityLabel: `Abrir foto ${index + 1} de ${total}: ${image.alt}`, onPress: () => setOpen(index), children: thumb }) : /* @__PURE__ */ jsx123(View103, { accessible: true, accessibilityRole: "image", accessibilityLabel: image.alt, children: thumb });
|
|
10578
|
+
};
|
|
10579
|
+
const overlay = (image, index, size) => /* @__PURE__ */ jsxs108(View103, { style: { width: size, height: size }, children: [
|
|
10580
|
+
tile(image, index, size, size),
|
|
10581
|
+
image.caption != null && /* @__PURE__ */ jsxs108(View103, { pointerEvents: "none", style: { position: "absolute", left: 0, right: 0, bottom: 0, paddingHorizontal: 8, paddingVertical: 6 }, children: [
|
|
10582
|
+
/* @__PURE__ */ jsx123(View103, { style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, borderBottomLeftRadius: radius, borderBottomRightRadius: radius, backgroundColor: t.pick("--ink-1"), opacity: 0.55 } }),
|
|
10583
|
+
renderText(image.caption, baseText(t, { size: t.pick("--text-2xs", 10), color: "--bg", weight: "--weight-semi" }), { numberOfLines: 1 })
|
|
10584
|
+
] })
|
|
10585
|
+
] }, `${image.src}${index}`);
|
|
10586
|
+
const go = (index) => {
|
|
10587
|
+
const next = (index + total) % total;
|
|
10588
|
+
setOpen(next);
|
|
10589
|
+
pager.current?.scrollTo({ x: next * screen.width, animated: true });
|
|
10590
|
+
};
|
|
10591
|
+
return /* @__PURE__ */ jsxs108(View103, { accessibilityLabel: label, ...rest, onLayout: (e) => setWidth(e.nativeEvent.layout.width), style: [{ flexDirection: "row", flexWrap: "wrap", gap }, style], children: [
|
|
10592
|
+
cell > 0 && layout !== "featured" && images.map((image, index) => /* @__PURE__ */ jsxs108(View103, { style: { width: cell, gap: 4 }, children: [
|
|
10593
|
+
tile(image, index, cell, cell / aspectRatio),
|
|
10594
|
+
image.caption != null && renderText(image.caption, caption)
|
|
10595
|
+
] }, `${image.src}${index}`)),
|
|
10596
|
+
featuredCell > 0 && layout === "featured" && // Destaque: três colunas, fotos quadradas, a primeira em dois por dois com as duas
|
|
10597
|
+
// seguintes ao lado; o resto segue a grade. Legendas sobre as fotos, como na web.
|
|
10598
|
+
/* @__PURE__ */ jsxs108(View103, { style: { width, gap: featuredGap }, children: [
|
|
10599
|
+
/* @__PURE__ */ jsxs108(View103, { style: { flexDirection: "row", gap: featuredGap }, children: [
|
|
10600
|
+
images[0] && overlay(images[0], 0, featuredCell * 2 + featuredGap),
|
|
10601
|
+
/* @__PURE__ */ jsx123(View103, { style: { gap: featuredGap }, children: images.slice(1, 3).map((image, i) => overlay(image, i + 1, featuredCell)) })
|
|
10602
|
+
] }),
|
|
10603
|
+
/* @__PURE__ */ jsx123(View103, { style: { flexDirection: "row", flexWrap: "wrap", gap: featuredGap }, children: images.slice(3).map((image, i) => overlay(image, i + 3, featuredCell)) })
|
|
10604
|
+
] }),
|
|
10605
|
+
viewer && open !== null && /* @__PURE__ */ jsx123(RNModal4, { visible: true, animationType: "fade", onRequestClose: () => setOpen(null), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs108(View103, { accessibilityViewIsModal: true, style: { flex: 1, backgroundColor: t.pick("--bg", "--surface"), paddingTop: 48, paddingBottom: 32 }, children: [
|
|
10606
|
+
/* @__PURE__ */ jsxs108(View103, { style: { flexDirection: "row", alignItems: "center", justifyContent: "space-between", paddingHorizontal: 16, marginBottom: 12 }, children: [
|
|
10607
|
+
/* @__PURE__ */ jsx123(Text70, { accessibilityLiveRegion: "polite", style: { ...baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3", family: ["--interface-detail-font", "--font-mono"] }), fontVariant: ["tabular-nums"] }, children: `${open + 1} de ${total}` }),
|
|
10608
|
+
/* @__PURE__ */ jsx123(IconButton, { variant: "ghost", accessibilityLabel: "Fechar", onPress: () => setOpen(null), icon: /* @__PURE__ */ jsx123(Glyph3, { d: "M18 6 6 18M6 6l12 12" }) })
|
|
10609
|
+
] }),
|
|
10610
|
+
/* @__PURE__ */ jsx123(
|
|
10611
|
+
ScrollView18,
|
|
10612
|
+
{
|
|
10613
|
+
ref: pager,
|
|
10614
|
+
horizontal: true,
|
|
10615
|
+
pagingEnabled: true,
|
|
10616
|
+
showsHorizontalScrollIndicator: false,
|
|
10617
|
+
contentOffset: { x: open * screen.width, y: 0 },
|
|
10618
|
+
onMomentumScrollEnd: (e) => setOpen(Math.round(e.nativeEvent.contentOffset.x / screen.width)),
|
|
10619
|
+
style: { flex: 1 },
|
|
10620
|
+
children: images.map((image, index) => /* @__PURE__ */ jsxs108(View103, { style: { width: screen.width, paddingHorizontal: 16, gap: 12, justifyContent: "center" }, children: [
|
|
10621
|
+
/* @__PURE__ */ jsx123(Image5, { source: { uri: image.src }, accessibilityLabel: image.alt, accessibilityIgnoresInvertColors: true, style: { width: "100%", flex: 1, borderRadius: radius }, resizeMode: "contain" }),
|
|
10622
|
+
image.caption != null && renderText(image.caption, baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-2" }))
|
|
10623
|
+
] }, `${image.src}${index}`))
|
|
10624
|
+
}
|
|
10625
|
+
),
|
|
10626
|
+
total > 1 && /* @__PURE__ */ jsxs108(View103, { style: { flexDirection: "row", justifyContent: "flex-end", gap: 8, paddingHorizontal: 16, paddingTop: 12 }, children: [
|
|
10627
|
+
/* @__PURE__ */ jsx123(IconButton, { variant: "outline", accessibilityLabel: "Foto anterior", onPress: () => go(open - 1), icon: /* @__PURE__ */ jsx123(Glyph3, { d: "M15 18l-6-6 6-6" }) }),
|
|
10628
|
+
/* @__PURE__ */ jsx123(IconButton, { variant: "outline", accessibilityLabel: "Pr\xF3xima foto", onPress: () => go(open + 1), icon: /* @__PURE__ */ jsx123(Glyph3, { d: "M9 18l6-6-6-6" }) })
|
|
10629
|
+
] })
|
|
10630
|
+
] }) })
|
|
10631
|
+
] });
|
|
10632
|
+
}
|
|
10633
|
+
|
|
10634
|
+
// .build/src/components/Video.tsx
|
|
10635
|
+
import { useMemo as useMemo15 } from "react";
|
|
10636
|
+
import { Image as Image6, Linking as Linking2, Pressable as Pressable47, Text as Text71, View as View104 } from "react-native";
|
|
10637
|
+
import Svg52, { Path as Path41 } from "react-native-svg";
|
|
10638
|
+
|
|
10639
|
+
// .build/src/components/videoSource.ts
|
|
10640
|
+
function parseVideoSource(src) {
|
|
10641
|
+
let url;
|
|
10642
|
+
try {
|
|
10643
|
+
url = new URL(src);
|
|
10644
|
+
} catch {
|
|
10645
|
+
return { kind: "file", url: src };
|
|
10646
|
+
}
|
|
10647
|
+
const host = url.hostname.replace(/^www\.|^m\./, "");
|
|
10648
|
+
let youtube;
|
|
10649
|
+
if (host === "youtu.be") youtube = url.pathname.slice(1).split("/")[0];
|
|
10650
|
+
else if (host === "youtube.com" || host === "youtube-nocookie.com") {
|
|
10651
|
+
youtube = url.searchParams.get("v") ?? /^\/(?:embed|shorts|live)\/([^/?#]+)/.exec(url.pathname)?.[1];
|
|
10652
|
+
}
|
|
10653
|
+
if (youtube && /^[\w-]{6,}$/.test(youtube)) {
|
|
10654
|
+
return {
|
|
10655
|
+
kind: "youtube",
|
|
10656
|
+
id: youtube,
|
|
10657
|
+
embed: `https://www.youtube-nocookie.com/embed/${youtube}?autoplay=1&rel=0`,
|
|
10658
|
+
poster: `https://i.ytimg.com/vi/${youtube}/hqdefault.jpg`
|
|
10659
|
+
};
|
|
10660
|
+
}
|
|
10661
|
+
if (host === "vimeo.com" || host === "player.vimeo.com") {
|
|
10662
|
+
const id = /(\d{5,})/.exec(url.pathname)?.[1];
|
|
10663
|
+
if (id) return { kind: "vimeo", id, embed: `https://player.vimeo.com/video/${id}?autoplay=1&dnt=1` };
|
|
10664
|
+
}
|
|
10665
|
+
return { kind: "file", url: src };
|
|
10666
|
+
}
|
|
10667
|
+
|
|
10668
|
+
// .build/src/components/Video.tsx
|
|
10669
|
+
import { jsx as jsx124, jsxs as jsxs109 } from "react/jsx-runtime";
|
|
10670
|
+
function Video({ src, title, poster, aspectRatio = 16 / 9, description, onPlay, style, ...rest }) {
|
|
10671
|
+
const t = useRefy();
|
|
10672
|
+
const source = useMemo15(() => parseVideoSource(src), [src]);
|
|
10673
|
+
const cover = poster ?? (source.kind === "youtube" ? source.poster : void 0);
|
|
10674
|
+
const play = () => onPlay ? onPlay(source) : void Linking2.openURL(src);
|
|
10675
|
+
return /* @__PURE__ */ jsxs109(View104, { ...rest, style: [{ gap: 8 }, style], children: [
|
|
10676
|
+
/* @__PURE__ */ jsxs109(
|
|
10677
|
+
Pressable47,
|
|
10678
|
+
{
|
|
10679
|
+
accessibilityRole: "button",
|
|
10680
|
+
accessibilityLabel: `Tocar v\xEDdeo: ${title}`,
|
|
10681
|
+
onPress: play,
|
|
10682
|
+
style: { aspectRatio, minHeight: 120, overflow: "hidden", borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--ink-1") },
|
|
10683
|
+
children: [
|
|
10684
|
+
cover ? /* @__PURE__ */ jsx124(Image6, { source: { uri: cover }, accessibilityIgnoresInvertColors: true, style: { position: "absolute", width: "100%", height: "100%" }, resizeMode: "cover" }) : null,
|
|
10685
|
+
/* @__PURE__ */ jsx124(View104, { style: { position: "absolute", top: "50%", left: "50%", width: 64, height: 64, marginLeft: -32, marginTop: -32, borderRadius: 32, alignItems: "center", justifyContent: "center", backgroundColor: t.pick("--primary"), boxShadow: t.pick("--shadow-2", "") || void 0 }, children: /* @__PURE__ */ jsx124(Svg52, { width: 28, height: 28, viewBox: "0 0 24 24", style: { marginLeft: 3 }, children: /* @__PURE__ */ jsx124(Path41, { d: "M8 5.5v13l11-6.5z", fill: t.pick("--on-primary") }) }) }),
|
|
10686
|
+
/* @__PURE__ */ jsx124(View104, { style: { position: "absolute", left: 0, right: 0, bottom: 0, paddingHorizontal: 16, paddingTop: 24, paddingBottom: 12, experimental_backgroundImage: `linear-gradient(to top, ${t.mix(t.pick("--ink-1"), 70, "transparent")}, transparent)` }, children: /* @__PURE__ */ jsx124(Text71, { numberOfLines: 2, style: { color: t.pick("--bg", "--surface"), fontSize: t.pick("--text-sm", 13), ...t.font("--font-body", "--weight-semi") }, children: title }) })
|
|
10687
|
+
]
|
|
10688
|
+
}
|
|
10689
|
+
),
|
|
10690
|
+
description != null && renderText(description, baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-3" }))
|
|
10691
|
+
] });
|
|
10692
|
+
}
|
|
10693
|
+
|
|
10694
|
+
// .build/src/components/AudioPlayer.tsx
|
|
10695
|
+
import { useEffect as useEffect30, useState as useState58 } from "react";
|
|
10696
|
+
import { Image as Image7, Linking as Linking3, Pressable as Pressable48, Text as Text72, View as View105 } from "react-native";
|
|
10697
|
+
import Svg53, { Path as Path42 } from "react-native-svg";
|
|
10698
|
+
import { jsx as jsx125, jsxs as jsxs110 } from "react/jsx-runtime";
|
|
10699
|
+
function formatClock(seconds) {
|
|
10700
|
+
const total = Math.max(0, Math.floor(Number.isFinite(seconds) ? seconds : 0));
|
|
10701
|
+
const h = Math.floor(total / 3600);
|
|
10702
|
+
const m = Math.floor(total % 3600 / 60);
|
|
10703
|
+
const s = String(total % 60).padStart(2, "0");
|
|
10704
|
+
return h ? `${h}:${String(m).padStart(2, "0")}:${s}` : `${m}:${s}`;
|
|
10705
|
+
}
|
|
10706
|
+
function AudioPlayer({ src, title, description, artwork, duration: durationProp, controller, style, ...rest }) {
|
|
10707
|
+
const t = useRefy();
|
|
10708
|
+
const [state, setState] = useState58({ playing: false, position: 0, duration: durationProp });
|
|
10709
|
+
const [track, setTrack] = useState58(0);
|
|
10710
|
+
useEffect30(() => controller?.subscribe((next) => setState((prev) => ({ ...prev, ...next, duration: next.duration ?? prev.duration }))), [controller]);
|
|
10711
|
+
const duration = state.duration ?? durationProp ?? 0;
|
|
10712
|
+
const progress = duration ? Math.min(1, state.position / duration) : 0;
|
|
10713
|
+
const toggle = () => {
|
|
10714
|
+
if (!controller) return void Linking3.openURL(src);
|
|
10715
|
+
if (state.playing) controller.pause();
|
|
10716
|
+
else controller.play();
|
|
10717
|
+
};
|
|
10718
|
+
const seek = (seconds) => controller?.seek(Math.min(Math.max(0, seconds), duration || seconds));
|
|
10719
|
+
const primary = t.pick("--primary");
|
|
10720
|
+
const mono2 = { ...baseText(t, { size: t.pick("--text-2xs", 10), color: "--ink-3", family: ["--interface-detail-font", "--font-mono"] }), fontVariant: ["tabular-nums"] };
|
|
10721
|
+
const skip = (back) => /* @__PURE__ */ jsx125(Pressable48, { accessibilityRole: "button", accessibilityLabel: back ? "Voltar 15 segundos" : "Avan\xE7ar 15 segundos", disabled: !controller, onPress: () => seek(state.position + (back ? -15 : 15)), hitSlop: hitSlopFor(32, 32), style: { width: 32, height: 32, alignItems: "center", justifyContent: "center", opacity: controller ? 1 : 0.4 }, children: /* @__PURE__ */ jsx125(Svg53, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-2"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx125(Path42, { d: back ? "M11 7 6 12l5 5M18 7l-5 5 5 5" : "M13 7l5 5-5 5M6 7l5 5-5 5" }) }) });
|
|
10722
|
+
return /* @__PURE__ */ jsxs110(View105, { ...rest, style: [{ flexDirection: "row", alignItems: "center", gap: 16, padding: 16, borderWidth: 1, borderColor: t.pick("--line-soft"), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface") }, style], children: [
|
|
10723
|
+
artwork && /* @__PURE__ */ jsx125(Image7, { source: { uri: artwork }, accessibilityIgnoresInvertColors: true, style: { width: 56, height: 56, borderRadius: t.pick("--radius-md", 10) } }),
|
|
10724
|
+
/* @__PURE__ */ jsxs110(View105, { style: { flex: 1, gap: 8, minWidth: 0 }, children: [
|
|
10725
|
+
/* @__PURE__ */ jsxs110(View105, { children: [
|
|
10726
|
+
/* @__PURE__ */ jsx125(Text72, { numberOfLines: 1, style: baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1", weight: "--weight-semi" }), children: title }),
|
|
10727
|
+
description != null && renderText(description, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" }))
|
|
10728
|
+
] }),
|
|
10729
|
+
/* @__PURE__ */ jsxs110(View105, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
|
|
10730
|
+
/* @__PURE__ */ jsx125(Pressable48, { accessibilityRole: "button", accessibilityLabel: state.playing ? `Pausar ${title}` : `Tocar ${title}`, onPress: toggle, hitSlop: hitSlopFor(40, 40), style: { width: 40, height: 40, borderRadius: 20, alignItems: "center", justifyContent: "center", backgroundColor: primary }, children: /* @__PURE__ */ jsx125(Svg53, { width: 18, height: 18, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx125(Path42, { fill: t.pick("--on-primary"), d: state.playing ? "M7 5h3.5v14H7zM13.5 5H17v14h-3.5z" : "M8 5.5v13l11-6.5z" }) }) }),
|
|
10731
|
+
skip(true),
|
|
10732
|
+
/* @__PURE__ */ jsx125(Text72, { style: mono2, children: formatClock(state.position) }),
|
|
10733
|
+
/* @__PURE__ */ jsx125(
|
|
10734
|
+
Pressable48,
|
|
10735
|
+
{
|
|
10736
|
+
accessibilityRole: "adjustable",
|
|
10737
|
+
accessibilityLabel: "Posi\xE7\xE3o",
|
|
10738
|
+
accessibilityValue: { text: `${formatClock(state.position)} de ${formatClock(duration)}` },
|
|
10739
|
+
accessibilityActions: [{ name: "increment" }, { name: "decrement" }],
|
|
10740
|
+
onAccessibilityAction: (e) => seek(state.position + (e.nativeEvent.actionName === "increment" ? 15 : -15)),
|
|
10741
|
+
onLayout: (e) => setTrack(e.nativeEvent.layout.width),
|
|
10742
|
+
onPress: (e) => track && duration && seek(e.nativeEvent.locationX / track * duration),
|
|
10743
|
+
hitSlop: { top: 20, bottom: 20 },
|
|
10744
|
+
style: { flex: 1, height: 4, borderRadius: 2, backgroundColor: t.pick("--surface-container-high", "--line"), justifyContent: "center" },
|
|
10745
|
+
children: /* @__PURE__ */ jsx125(View105, { style: { width: `${progress * 100}%`, height: 4, borderRadius: 2, backgroundColor: primary } })
|
|
10746
|
+
}
|
|
10747
|
+
),
|
|
10748
|
+
/* @__PURE__ */ jsx125(Text72, { style: mono2, children: duration ? formatClock(duration) : "--:--" }),
|
|
10749
|
+
skip(false)
|
|
10750
|
+
] })
|
|
10751
|
+
] })
|
|
10752
|
+
] });
|
|
10753
|
+
}
|
|
10754
|
+
|
|
10755
|
+
// .build/src/components/LinkCard.tsx
|
|
10756
|
+
import { Image as Image8, Linking as Linking4, Pressable as Pressable49, Text as Text73, View as View106 } from "react-native";
|
|
10757
|
+
|
|
10758
|
+
// .build/src/components/domain.ts
|
|
10759
|
+
function domainOf(href) {
|
|
10760
|
+
try {
|
|
10761
|
+
return new URL(href).hostname.replace(/^www\./, "");
|
|
10762
|
+
} catch {
|
|
10763
|
+
return href;
|
|
10764
|
+
}
|
|
10765
|
+
}
|
|
10766
|
+
|
|
10767
|
+
// .build/src/components/LinkCard.tsx
|
|
10768
|
+
import { jsx as jsx126, jsxs as jsxs111 } from "react/jsx-runtime";
|
|
10769
|
+
function SiteMark({ favicon, site }) {
|
|
10770
|
+
const t = useRefy();
|
|
10771
|
+
return favicon ? /* @__PURE__ */ jsx126(Image8, { source: { uri: favicon }, style: { width: 16, height: 16, borderRadius: 3 } }) : /* @__PURE__ */ jsx126(View106, { style: { width: 16, height: 16, borderRadius: 3, alignItems: "center", justifyContent: "center", backgroundColor: t.pick("--primary-soft") }, children: /* @__PURE__ */ jsx126(Text73, { style: { color: t.pick("--primary-ink"), fontSize: 10, ...t.font("--font-body", "--weight-bold") }, children: site.charAt(0).toUpperCase() }) });
|
|
10772
|
+
}
|
|
10773
|
+
function LinkCard({ href, title, description, image, favicon, siteName, layout = "horizontal", onPress, style, ...rest }) {
|
|
10774
|
+
const t = useRefy();
|
|
10775
|
+
const site = siteName ?? domainOf(href);
|
|
10776
|
+
const vertical = layout === "vertical";
|
|
10777
|
+
const xs = t.pick("--text-xs", 12);
|
|
10778
|
+
return /* @__PURE__ */ jsxs111(
|
|
10779
|
+
Pressable49,
|
|
10780
|
+
{
|
|
10781
|
+
accessibilityRole: "link",
|
|
10782
|
+
accessibilityLabel: typeof title === "string" ? `${title}, ${site}` : void 0,
|
|
10783
|
+
accessibilityHint: "Abre no navegador",
|
|
10784
|
+
onPress: (e) => onPress ? onPress(e) : void Linking4.openURL(href),
|
|
10785
|
+
...rest,
|
|
10786
|
+
style: (state) => [
|
|
10787
|
+
{ flexDirection: vertical ? "column" : "row-reverse", minHeight: 72, overflow: "hidden", borderWidth: 1, borderColor: t.pick(state.pressed ? "--line" : "--line-soft"), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick(state.pressed ? "--surface-2" : "--card-background", "--surface") },
|
|
10788
|
+
typeof style === "function" ? style(state) : style
|
|
10789
|
+
],
|
|
10790
|
+
children: [
|
|
10791
|
+
image && /* @__PURE__ */ jsx126(Image8, { source: { uri: image }, accessibilityIgnoresInvertColors: true, style: vertical ? { width: "100%", aspectRatio: 1.91 } : { width: 96, alignSelf: "stretch", minHeight: 88 }, resizeMode: "cover" }),
|
|
10792
|
+
/* @__PURE__ */ jsxs111(View106, { style: { flex: 1, gap: 4, paddingVertical: 12, paddingHorizontal: 16, minWidth: 0 }, children: [
|
|
10793
|
+
/* @__PURE__ */ jsxs111(View106, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
|
|
10794
|
+
/* @__PURE__ */ jsx126(SiteMark, { favicon, site }),
|
|
10795
|
+
/* @__PURE__ */ jsx126(Text73, { numberOfLines: 1, style: baseText(t, { size: xs, color: "--ink-3" }), children: site })
|
|
10796
|
+
] }),
|
|
10797
|
+
renderText(title, baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1", weight: "--weight-semi", leading: "--leading-snug" }), { numberOfLines: 2 }),
|
|
10798
|
+
description != null && renderText(description, baseText(t, { size: xs, color: "--ink-3", leading: "--leading-snug" }), { numberOfLines: 2 })
|
|
10799
|
+
] })
|
|
10800
|
+
]
|
|
10801
|
+
}
|
|
10802
|
+
);
|
|
10803
|
+
}
|
|
10804
|
+
|
|
10805
|
+
// .build/src/components/Citation.tsx
|
|
10806
|
+
import { useState as useState59 } from "react";
|
|
10807
|
+
import { Linking as Linking5, Pressable as Pressable50, Text as Text74, View as View107 } from "react-native";
|
|
10808
|
+
import { jsx as jsx127, jsxs as jsxs112 } from "react/jsx-runtime";
|
|
10809
|
+
function Citation({ index, source }) {
|
|
10810
|
+
const t = useRefy();
|
|
10811
|
+
const [open, setOpen] = useState59(false);
|
|
10812
|
+
const site = source.siteName ?? (source.href ? domainOf(source.href) : "");
|
|
10813
|
+
const xs = t.pick("--text-xs", 12);
|
|
10814
|
+
const content = /* @__PURE__ */ jsxs112(View107, { style: { gap: 4, maxWidth: 280 }, children: [
|
|
10815
|
+
site ? /* @__PURE__ */ jsxs112(View107, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
|
|
10816
|
+
/* @__PURE__ */ jsx127(SiteMark, { favicon: source.favicon, site }),
|
|
10817
|
+
/* @__PURE__ */ jsx127(Text74, { style: baseText(t, { size: xs, color: "--ink-3" }), children: site })
|
|
10818
|
+
] }) : null,
|
|
10819
|
+
/* @__PURE__ */ jsx127(Text74, { style: baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1", weight: "--weight-semi", leading: "--leading-snug" }), children: source.title }),
|
|
10820
|
+
source.snippet != null && renderText(source.snippet, baseText(t, { size: xs, color: "--ink-2" })),
|
|
10821
|
+
source.href && /* @__PURE__ */ jsx127(Pressable50, { accessibilityRole: "link", onPress: () => void Linking5.openURL(source.href), hitSlop: 8, children: /* @__PURE__ */ jsx127(Text74, { style: { color: t.pick("--primary-ink"), fontSize: xs, ...t.font("--font-body", "--weight-semi") }, children: "Abrir fonte" }) })
|
|
10822
|
+
] });
|
|
10823
|
+
return /* @__PURE__ */ jsx127(Popover, { open, onOpenChange: setOpen, content, side: "top", label: `Fonte ${index}: ${source.title}`, children: /* @__PURE__ */ jsx127(
|
|
10824
|
+
Pressable50,
|
|
10825
|
+
{
|
|
10826
|
+
accessibilityRole: "button",
|
|
10827
|
+
accessibilityLabel: `Fonte ${index}: ${source.title}`,
|
|
10828
|
+
onPress: () => setOpen(!open),
|
|
10829
|
+
hitSlop: hitSlopFor(18, 18),
|
|
10830
|
+
style: { minWidth: 18, height: 18, paddingHorizontal: 5, borderRadius: 9, alignItems: "center", justifyContent: "center", backgroundColor: t.pick(open ? "--primary" : "--surface-container-high", "--surface-2") },
|
|
10831
|
+
children: /* @__PURE__ */ jsx127(Text74, { style: { color: t.pick(open ? "--on-primary" : "--ink-2"), fontSize: t.pick("--text-2xs", 10), ...t.font(["--interface-detail-font", "--font-mono"], "--weight-semi"), fontVariant: ["tabular-nums"] }, children: index })
|
|
10832
|
+
}
|
|
10833
|
+
) });
|
|
10834
|
+
}
|
|
10835
|
+
|
|
10836
|
+
// .build/src/components/FollowUp.tsx
|
|
10837
|
+
import { Pressable as Pressable51, Text as Text75, View as View108 } from "react-native";
|
|
10838
|
+
import Svg54, { Path as Path43 } from "react-native-svg";
|
|
10839
|
+
import { jsx as jsx128, jsxs as jsxs113 } from "react/jsx-runtime";
|
|
10840
|
+
function FollowUp({ suggestions, onSelect, label = "Sugest\xF5es", layout = "wrap", disabled = false, style, ...rest }) {
|
|
10841
|
+
const t = useRefy();
|
|
10842
|
+
const items = suggestions.map((item, index) => {
|
|
10843
|
+
const s = typeof item === "string" ? { label: item } : item;
|
|
10844
|
+
return { key: s.id ?? `${index}-${s.label}`, label: s.label, message: s.message ?? s.label };
|
|
10845
|
+
});
|
|
10846
|
+
if (!items.length) return null;
|
|
10847
|
+
const stack3 = layout === "stack";
|
|
10848
|
+
return /* @__PURE__ */ jsx128(View108, { accessibilityLabel: label, ...rest, style: [{ flexDirection: stack3 ? "column" : "row", flexWrap: stack3 ? "nowrap" : "wrap", gap: 8 }, style], children: items.map((item) => /* @__PURE__ */ jsxs113(
|
|
10849
|
+
Pressable51,
|
|
10850
|
+
{
|
|
10851
|
+
accessibilityRole: "button",
|
|
10852
|
+
accessibilityState: { disabled },
|
|
10853
|
+
disabled,
|
|
10854
|
+
onPress: () => onSelect(item.message),
|
|
10855
|
+
hitSlop: hitSlopFor(40),
|
|
10856
|
+
style: ({ pressed }) => ({
|
|
10857
|
+
flexDirection: "row",
|
|
10858
|
+
alignItems: "center",
|
|
10859
|
+
justifyContent: stack3 ? "space-between" : "flex-start",
|
|
10860
|
+
gap: 8,
|
|
10861
|
+
minHeight: 40,
|
|
10862
|
+
paddingVertical: 8,
|
|
10863
|
+
paddingLeft: 16,
|
|
10864
|
+
paddingRight: 12,
|
|
10865
|
+
borderWidth: 1,
|
|
10866
|
+
borderColor: t.pick(pressed ? "--primary" : "--line"),
|
|
10867
|
+
borderRadius: stack3 ? t.pick("--radius-md", 10) : 999,
|
|
10868
|
+
backgroundColor: t.pick(pressed ? "--primary-soft" : "--surface"),
|
|
10869
|
+
opacity: disabled ? t.pick("--control-disabled-opacity", 0.5) : 1,
|
|
10870
|
+
alignSelf: stack3 ? "stretch" : "flex-start"
|
|
10871
|
+
}),
|
|
10872
|
+
children: [
|
|
10873
|
+
/* @__PURE__ */ jsx128(Text75, { style: [baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1" }), { flexShrink: 1 }], children: item.label }),
|
|
10874
|
+
/* @__PURE__ */ jsx128(Svg54, { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-3"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx128(Path43, { d: "M7 17 17 7M9 7h8v8" }) })
|
|
10875
|
+
]
|
|
10876
|
+
},
|
|
10877
|
+
item.key
|
|
10878
|
+
)) });
|
|
10879
|
+
}
|
|
10129
10880
|
export {
|
|
10130
10881
|
Accordion,
|
|
10131
10882
|
ActivityItem,
|
|
10132
10883
|
EventTimeline as ActivityTimeline,
|
|
10884
|
+
Agenda,
|
|
10133
10885
|
AlertDialog,
|
|
10134
10886
|
AnchoredLayer,
|
|
10135
10887
|
ApprovalWorkbench,
|
|
10136
10888
|
AreaChart,
|
|
10137
10889
|
AspectRatio,
|
|
10890
|
+
AudioPlayer,
|
|
10138
10891
|
Avatar,
|
|
10139
10892
|
AvatarGroup,
|
|
10140
10893
|
Badge,
|
|
@@ -10154,9 +10907,11 @@ export {
|
|
|
10154
10907
|
Chip,
|
|
10155
10908
|
ChoiceCard,
|
|
10156
10909
|
ChoiceCardGroup,
|
|
10910
|
+
Citation,
|
|
10157
10911
|
CodeBlock,
|
|
10158
10912
|
Collapsible,
|
|
10159
10913
|
Combobox,
|
|
10914
|
+
ComparisonTable,
|
|
10160
10915
|
ConnectorCard,
|
|
10161
10916
|
ContextMenu,
|
|
10162
10917
|
Coverflow,
|
|
@@ -10169,10 +10924,12 @@ export {
|
|
|
10169
10924
|
Drawer,
|
|
10170
10925
|
EmptyRow,
|
|
10171
10926
|
EmptyState,
|
|
10927
|
+
EntityCard,
|
|
10172
10928
|
EventTimeline,
|
|
10173
10929
|
Fab,
|
|
10174
10930
|
FabMenu,
|
|
10175
10931
|
FileUpload,
|
|
10932
|
+
FollowUp,
|
|
10176
10933
|
GeoAreaPicker,
|
|
10177
10934
|
GoogleButton,
|
|
10178
10935
|
GuidedTour,
|
|
@@ -10181,13 +10938,16 @@ export {
|
|
|
10181
10938
|
HelpMenu,
|
|
10182
10939
|
IconButton,
|
|
10183
10940
|
IconSlot,
|
|
10941
|
+
ImageGallery,
|
|
10184
10942
|
Input,
|
|
10185
10943
|
IntentComposer,
|
|
10186
10944
|
Item,
|
|
10187
10945
|
KanbanBoard,
|
|
10188
10946
|
KanbanCard,
|
|
10947
|
+
KeyValueList,
|
|
10189
10948
|
FieldLabel as Label,
|
|
10190
10949
|
LineChart,
|
|
10950
|
+
LinkCard,
|
|
10191
10951
|
MIN_TOUCH,
|
|
10192
10952
|
Marker,
|
|
10193
10953
|
Matrix2x2,
|
|
@@ -10212,8 +10972,10 @@ export {
|
|
|
10212
10972
|
PropertyCard,
|
|
10213
10973
|
PropertyMedia,
|
|
10214
10974
|
Questionnaire,
|
|
10975
|
+
Quote,
|
|
10215
10976
|
RadioGroup,
|
|
10216
10977
|
Range,
|
|
10978
|
+
Rating,
|
|
10217
10979
|
RefyProvider,
|
|
10218
10980
|
RefyScope,
|
|
10219
10981
|
SchedulePicker,
|
|
@@ -10225,6 +10987,7 @@ export {
|
|
|
10225
10987
|
SettingRow,
|
|
10226
10988
|
SettingRowGroup,
|
|
10227
10989
|
SettingsSubnav,
|
|
10990
|
+
SiteMark,
|
|
10228
10991
|
Skeleton,
|
|
10229
10992
|
Slider,
|
|
10230
10993
|
Snackbar,
|
|
@@ -10250,6 +11013,7 @@ export {
|
|
|
10250
11013
|
UsageMeter,
|
|
10251
11014
|
UsageMeterGroup,
|
|
10252
11015
|
UserMenu,
|
|
11016
|
+
Video,
|
|
10253
11017
|
VisitSchedulePicker,
|
|
10254
11018
|
VoiceRecorder,
|
|
10255
11019
|
WizardStepper,
|
|
@@ -10267,6 +11031,7 @@ export {
|
|
|
10267
11031
|
fileUploadStatus,
|
|
10268
11032
|
floatingPosition,
|
|
10269
11033
|
formatBrazilianPhone,
|
|
11034
|
+
formatClock,
|
|
10270
11035
|
formatDuration,
|
|
10271
11036
|
geoAreaLists,
|
|
10272
11037
|
groupEvents,
|