diff --git a/assets/css/app.css b/assets/css/app.css index a4d8138..4dc80b3 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -313,17 +313,18 @@ } .home-workflow-step { - background: - linear-gradient(180deg, color-mix(in oklab, var(--color-primary) 4%, transparent), transparent 100%), - color-mix(in oklab, var(--color-card) 92%, transparent); - box-shadow: 0 18px 60px -48px rgba(15, 23, 42, 0.42); + background: color-mix(in oklab, var(--color-card) 96%, var(--color-background) 4%); + box-shadow: 0 14px 44px -42px rgba(15, 23, 42, 0.28); } .home-workflow-output { - background: - linear-gradient(180deg, color-mix(in oklab, var(--color-primary) 5%, transparent), transparent 100%), - color-mix(in oklab, var(--color-card) 94%, transparent); - box-shadow: 0 20px 64px -52px rgba(15, 23, 42, 0.42); + background: color-mix(in oklab, var(--color-card) 97%, var(--color-background) 3%); + box-shadow: 0 14px 44px -42px rgba(15, 23, 42, 0.24); + } + + .home-workflow-panel { + background: color-mix(in oklab, var(--color-card) 97%, var(--color-background) 3%); + box-shadow: 0 18px 54px -48px rgba(15, 23, 42, 0.28); } .home-media-stack { @@ -496,7 +497,7 @@ } .step-indicator { - @apply flex size-12 shrink-0 items-center justify-center rounded-2xl bg-primary/10 text-lg font-bold text-primary; + @apply flex size-9 shrink-0 items-center justify-center rounded-full border border-border/70 bg-background text-sm font-semibold text-foreground/68; } .product-3d-loader { diff --git a/assets/js/main.ts b/assets/js/main.ts index b067033..ff9f712 100644 --- a/assets/js/main.ts +++ b/assets/js/main.ts @@ -12,6 +12,7 @@ window.htmx = htmx; const initializedResponsiveTables = new WeakSet(); let responsiveTableListenersBound = false; +let productSectionNavBound = false; // Initialize animations after DOM ready document.addEventListener("DOMContentLoaded", () => { @@ -67,7 +68,7 @@ document.addEventListener("click", (event) => { function initProductSectionNav() { const sections = Array.from(document.querySelectorAll("[data-product-section]")); const links = Array.from(document.querySelectorAll("[data-product-section-link]")); - if (sections.length === 0 || links.length === 0 || !("IntersectionObserver" in window)) { + if (sections.length === 0 || links.length === 0) { return; } @@ -83,33 +84,45 @@ function initProductSectionNav() { }); }; - const visible = new Map(); - const observer = new IntersectionObserver( - (entries) => { - entries.forEach((entry) => { - const section = entry.target as HTMLElement; - if (!section.id) { - return; - } - if (entry.isIntersecting) { - visible.set(section.id, entry.intersectionRatio); - } else { - visible.delete(section.id); - } - }); + const stickyNav = document.querySelector(".product-detail-sticky-nav"); + let ticking = false; + + const getActivationOffset = () => { + const navBottom = stickyNav ? stickyNav.getBoundingClientRect().bottom : 0; + return navBottom + 24; + }; - const [activeId] = Array.from(visible.entries()).sort((a, b) => b[1] - a[1])[0] || []; - if (activeId) { - setActive(activeId); + const syncActiveSection = () => { + ticking = false; + + const activationOffset = getActivationOffset(); + let activeSection = sections[0]; + + sections.forEach((section) => { + if (section.getBoundingClientRect().top <= activationOffset) { + activeSection = section; } - }, - { - rootMargin: "-30% 0px -55% 0px", - threshold: [0.08, 0.2, 0.4, 0.6], - }, - ); + }); - sections.forEach((section) => observer.observe(section)); + if (activeSection?.id) { + setActive(activeSection.id); + } + }; + + const scheduleSync = () => { + if (ticking) { + return; + } + ticking = true; + window.requestAnimationFrame(syncActiveSection); + }; + + if (!productSectionNavBound) { + productSectionNavBound = true; + window.addEventListener("scroll", scheduleSync, { passive: true }); + window.addEventListener("resize", scheduleSync); + window.addEventListener("hashchange", scheduleSync); + } const hash = window.location.hash.replace("#", ""); if (hash && sections.some((section) => section.id === hash)) { @@ -117,6 +130,8 @@ function initProductSectionNav() { } else { setActive(sections[0].id); } + + scheduleSync(); } function initResponsiveTables() { diff --git a/components/badge/badge.templ b/components/badge/badge.templ index 2cedc4b..c679859 100644 --- a/components/badge/badge.templ +++ b/components/badge/badge.templ @@ -1,6 +1,10 @@ package badge -import "github.com/vestavision/btkcommerce/utils" +import ( + "strings" + + "github.com/vestavision/btkcommerce/utils" +) type Variant string @@ -34,6 +38,7 @@ templ Badge(props ...Props) { "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", "transition-[color,box-shadow] overflow-hidden", p.variantClasses(), + p.darkBorderClasses(), p.Class, ), } @@ -48,10 +53,26 @@ func (p Props) variantClasses() string { case VariantDestructive: return "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60" case VariantOutline: - return "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground" + return "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground dark:border-border/70" case VariantSecondary: return "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90" default: return "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90" } } + +func (p Props) darkBorderClasses() string { + if strings.Contains(p.Class, "dark:border-") { + return "" + } + + if !strings.Contains(p.Class, "border-") { + return "" + } + + if strings.Contains(p.Class, "border-transparent") { + return "" + } + + return "dark:border-current/35" +} diff --git a/components/badge/badge_templ.go b/components/badge/badge_templ.go index 7a259ce..4a04d0e 100644 --- a/components/badge/badge_templ.go +++ b/components/badge/badge_templ.go @@ -8,7 +8,11 @@ package badge import "github.com/a-h/templ" import templruntime "github.com/a-h/templ/runtime" -import "github.com/vestavision/btkcommerce/utils" +import ( + "strings" + + "github.com/vestavision/btkcommerce/utils" +) type Variant string @@ -57,6 +61,7 @@ func Badge(props ...Props) templ.Component { "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", "transition-[color,box-shadow] overflow-hidden", p.variantClasses(), + p.darkBorderClasses(), p.Class, ), } @@ -76,7 +81,7 @@ func Badge(props ...Props) templ.Component { var templ_7745c5c3_Var3 string templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(p.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/badge/badge.templ`, Line: 28, Col: 12} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/badge/badge.templ`, Line: 32, Col: 12} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) if templ_7745c5c3_Err != nil { @@ -129,7 +134,7 @@ func (p Props) variantClasses() string { case VariantDestructive: return "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60" case VariantOutline: - return "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground" + return "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground dark:border-border/70" case VariantSecondary: return "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90" default: @@ -137,4 +142,20 @@ func (p Props) variantClasses() string { } } +func (p Props) darkBorderClasses() string { + if strings.Contains(p.Class, "dark:border-") { + return "" + } + + if !strings.Contains(p.Class, "border-") { + return "" + } + + if strings.Contains(p.Class, "border-transparent") { + return "" + } + + return "dark:border-current/35" +} + var _ = templruntime.GeneratedTemplate diff --git a/internal/domain/admin/service.go b/internal/domain/admin/service.go index b0c66cd..3957bb6 100644 --- a/internal/domain/admin/service.go +++ b/internal/domain/admin/service.go @@ -45,7 +45,7 @@ type CredentialInput struct { // Service is the admin domain contract. type Service interface { Dashboard(ctx context.Context, labels viewmodel.SiteLabels) (viewmodel.AdminDashboard, error) - Credentials(ctx context.Context) viewmodel.CredentialsPage + Credentials(ctx context.Context, labels viewmodel.SiteLabels) viewmodel.CredentialsPage AddCredential(ctx context.Context, input CredentialInput) error Disable(ctx context.Context, id string) error ReactivateCredential(ctx context.Context, id string) error @@ -63,32 +63,29 @@ func (MockAdminService) Dashboard(ctx context.Context, labels viewmodel.SiteLabe points := []float64{8, 11, 9, 15, 12, 10, 7} return viewmodel.AdminDashboard{ Metrics: []viewmodel.MetricCard{ - {Label: "Pending sellers", Value: "12", Delta: "4 priority"}, - {Label: "Review queue", Value: "38", Delta: "-6 today"}, - {Label: "Search quality alert", Value: "7", Delta: "2 visual streams"}, + {Label: labels.WorkspaceSellerStatus, Value: "12", Delta: labels.WorkspaceTeam}, + {Label: labels.WorkspaceModerationQueue, Value: "38", Delta: labels.WorkspaceModeration}, + {Label: labels.WorkspaceSearchSync, Value: "7", Delta: labels.WorkspaceSearchSyncJobs}, }, OverviewChart: adminOverviewChartFromPoints(labels.WorkspaceAdminOverviewTitle, labels.WorkspaceAdminOverviewSubtitle, points), Moderation: []viewmodel.ModerationRow{ - {ID: "MOD-201", Title: "Streetwear cap listing", Reason: "Color normalization needed", Status: "To review", UpdatedAt: "11:10"}, - {ID: "MOD-199", Title: "Lamp cover image", Reason: "Preview mismatch risk", Status: "Queued", UpdatedAt: "10:42"}, - {ID: "MOD-194", Title: "Text-only product summary", Reason: "Source description missing", Status: "Escalated", UpdatedAt: "09:58"}, + {ID: "MOD-201", Title: "Streetwear şapka ilanı", Reason: "Renk normalizasyonu gerekli", Status: "pending", UpdatedAt: "11:10"}, + {ID: "MOD-199", Title: "Lamba kapak görseli", Reason: "Önizleme uyuşmazlığı riski", Status: "processing", UpdatedAt: "10:42"}, + {ID: "MOD-194", Title: "Metinsiz ürün özeti", Reason: "Kaynak açıklaması eksik", Status: "error", UpdatedAt: "09:58"}, }, Vendors: []viewmodel.VendorRow{ - {Name: "North Loom", Category: "Fashion", Status: "Active", ListingRate: "92%"}, - {Name: "Luma House", Category: "Home", Status: "Documents pending", ListingRate: "67%"}, - {Name: "Threadform", Category: "Accessories", Status: "Active", ListingRate: "88%"}, + {Name: "North Loom", Category: "Moda", Status: "active", ListingRate: "92%"}, + {Name: "Luma House", Category: "Ev", Status: "pending", ListingRate: "67%"}, + {Name: "Threadform", Category: "Aksesuar", Status: "active", ListingRate: "88%"}, }, }, nil } -func (MockAdminService) Credentials(ctx context.Context) viewmodel.CredentialsPage { +func (MockAdminService) Credentials(ctx context.Context, labels viewmodel.SiteLabels) viewmodel.CredentialsPage { + _ = ctx return viewmodel.CredentialsPage{ Records: []viewmodel.CredentialRow{}, - Metrics: []viewmodel.MetricCard{ - {Label: "Total records", Value: "0", Delta: ""}, - {Label: "Active", Value: "0", Delta: ""}, - {Label: "Disabled", Value: "0", Delta: ""}, - }, + Metrics: credentialMetrics(labels, 0, 0, 0, 0), } } @@ -232,7 +229,7 @@ func sumPoints(points []float64) float64 { return total } -func (s *DBAdminService) Credentials(ctx context.Context) viewmodel.CredentialsPage { +func (s *DBAdminService) Credentials(ctx context.Context, labels viewmodel.SiteLabels) viewmodel.CredentialsPage { records, err := s.store.List(ctx) if err != nil { records = []vision.CredentialRecord{} @@ -289,12 +286,16 @@ func (s *DBAdminService) Credentials(ctx context.Context) viewmodel.CredentialsP } return viewmodel.CredentialsPage{ Records: rows, - Metrics: []viewmodel.MetricCard{ - {Label: "Total records", Value: fmt.Sprintf("%d", len(rows)), Delta: ""}, - {Label: "Active", Value: fmt.Sprintf("%d", active), Delta: ""}, - {Label: "Disabled", Value: fmt.Sprintf("%d", disabled), Delta: ""}, - {Label: "Degraded", Value: fmt.Sprintf("%d", degraded), Delta: ""}, - }, + Metrics: credentialMetrics(labels, len(rows), active, disabled, degraded), + } +} + +func credentialMetrics(labels viewmodel.SiteLabels, total, active, disabled, degraded int) []viewmodel.MetricCard { + return []viewmodel.MetricCard{ + {Label: labels.CredentialsMetricTotalRecords, Value: fmt.Sprintf("%d", total), Delta: ""}, + {Label: labels.StatusActive, Value: fmt.Sprintf("%d", active), Delta: ""}, + {Label: labels.StatusDisabled, Value: fmt.Sprintf("%d", disabled), Delta: ""}, + {Label: labels.CredentialsMetricDegraded, Value: fmt.Sprintf("%d", degraded), Delta: ""}, } } @@ -364,9 +365,9 @@ func (s *DBAdminService) vendorRows(ctx context.Context) ([]viewmodel.VendorRow, } out := make([]viewmodel.VendorRow, 0, len(rows)) for _, row := range rows { - status := "No listings" + status := "pending" if row.Total > 0 { - status = "Active" + status = "active" } rate := "0%" if row.Total > 0 { diff --git a/internal/domain/adminops/service.go b/internal/domain/adminops/service.go index 847d939..52c396d 100644 --- a/internal/domain/adminops/service.go +++ b/internal/domain/adminops/service.go @@ -71,7 +71,7 @@ func (s *DBService) Overview(ctx context.Context, locale string) (Snapshot, erro metrics = append(metrics, anomalies.Metrics...) if mockAware, ok := s.ai.(interface{ IsMock() bool }); ok && mockAware.IsMock() { metrics = append(metrics, viewmodel.AssistantAdminMetricCard{ - Label: localize(locale, "AI provider", "AI saglayici"), + Label: localize(locale, "AI provider", "AI sağlayıcı"), Value: localize(locale, "setup needed", "kurulum gerekli"), Tone: "pending", DetailURL: "/admin/ai-credentials", @@ -104,7 +104,7 @@ func (s *DBService) Moderation(ctx context.Context, locale string, limit int) (S } return Snapshot{ Metrics: []viewmodel.AssistantAdminMetricCard{{ - Label: localize(locale, "Moderation queue", "Moderasyon kuyrugu"), + Label: localize(locale, "Moderation queue", "Moderasyon kuyruğu"), Value: strconv.Itoa(len(rows)), Tone: toneForCount(len(rows)), DetailURL: "/admin/moderation", @@ -118,7 +118,7 @@ func (s *DBService) SearchSync(ctx context.Context, locale, slug string, limit i return Snapshot{ Metrics: []viewmodel.AssistantAdminMetricCard{{ Label: localize(locale, "Search sync", "Arama senkronu"), - Value: localize(locale, "not configured", "yapilandirilmadi"), + Value: localize(locale, "not configured", "yapılandırılmadı"), Tone: "pending", DetailURL: "/admin/search-sync", }}, @@ -141,14 +141,14 @@ func (s *DBService) SearchSync(ctx context.Context, locale, slug string, limit i } issues := make([]viewmodel.AssistantAdminIssueCard, 0, len(jobPage.Items)) for _, row := range jobPage.Items { - summary := localize(locale, "Search sync job is stable.", "Arama senkronu isi stabil.") + summary := localize(locale, "Search sync job is stable.", "Arama senkronu işi stabil.") statusKey := "ready" switch row.Status { case search.SyncStatusFailed: summary = localize(locale, "Search sync needs attention after recent failures.", "Son hatalar nedeniyle arama senkronu dikkat istiyor.") statusKey = "error" case search.SyncStatusQueued, search.SyncStatusProcessing: - summary = localize(locale, "Search sync is currently queued or processing.", "Arama senkronu su anda kuyrukta veya isleniyor.") + summary = localize(locale, "Search sync is currently queued or processing.", "Arama senkronu şu anda kuyrukta veya işleniyor.") statusKey = "processing" } issues = append(issues, viewmodel.AssistantAdminIssueCard{ @@ -161,9 +161,9 @@ func (s *DBService) SearchSync(ctx context.Context, locale, slug string, limit i } return Snapshot{ Metrics: []viewmodel.AssistantAdminMetricCard{ - {Label: localize(locale, "Queued jobs", "Kuyruktaki isler"), Value: strconv.Itoa(jobSummary.Queued), Tone: toneForCount(jobSummary.Queued), DetailURL: "/admin/search-sync/jobs"}, - {Label: localize(locale, "Processing jobs", "Islenen isler"), Value: strconv.Itoa(jobSummary.Processing), Tone: toneForCount(jobSummary.Processing), DetailURL: "/admin/search-sync/jobs"}, - {Label: localize(locale, "Failed attempts", "Basarisiz denemeler"), Value: strconv.Itoa(attemptSummary.Failed), Tone: toneForCount(attemptSummary.Failed), DetailURL: "/admin/search-sync/attempts"}, + {Label: localize(locale, "Queued jobs", "Kuyruktaki işler"), Value: strconv.Itoa(jobSummary.Queued), Tone: toneForCount(jobSummary.Queued), DetailURL: "/admin/search-sync/jobs"}, + {Label: localize(locale, "Processing jobs", "İşlenen işler"), Value: strconv.Itoa(jobSummary.Processing), Tone: toneForCount(jobSummary.Processing), DetailURL: "/admin/search-sync/jobs"}, + {Label: localize(locale, "Failed attempts", "Başarısız denemeler"), Value: strconv.Itoa(attemptSummary.Failed), Tone: toneForCount(attemptSummary.Failed), DetailURL: "/admin/search-sync/attempts"}, }, Issues: issues, }, nil @@ -190,7 +190,7 @@ func (s *DBService) AILogs(ctx context.Context, locale string, limit int) (Snaps if len(issues) < limit { issues = append(issues, viewmodel.AssistantAdminIssueCard{ Title: strings.TrimSpace(strings.Join(compactParts(row.Provider, row.Operation), " · ")), - Summary: localize(locale, "Recent AI request failed or returned an error response.", "Son AI istegi hata verdi veya hatali yanit dondu."), + Summary: localize(locale, "Recent AI request failed or returned an error response.", "Son AI isteği hata verdi veya hatalı yanıt döndü."), StatusKey: "error", Meta: strings.TrimSpace(strings.Join(compactParts(row.ProductSlug, formatLatency(row.LatencyMS), row.CreatedAt.Format("2006-01-02 15:04")), " · ")), DetailURL: "/admin/ai-logs", @@ -204,7 +204,7 @@ func (s *DBService) AILogs(ctx context.Context, locale string, limit int) (Snaps } return Snapshot{ Metrics: []viewmodel.AssistantAdminMetricCard{ - {Label: localize(locale, "Recent AI logs", "Son AI loglari"), Value: strconv.Itoa(len(rows)), Tone: "ready", DetailURL: "/admin/ai-logs"}, + {Label: localize(locale, "Recent AI logs", "Son AI logları"), Value: strconv.Itoa(len(rows)), Tone: "ready", DetailURL: "/admin/ai-logs"}, {Label: localize(locale, "Failures", "Hatalar"), Value: strconv.Itoa(failures), Tone: toneForCount(failures), DetailURL: "/admin/ai-logs"}, {Label: localize(locale, "Average latency", "Ortalama gecikme"), Value: formatLatency(avgLatency), Tone: latencyTone(avgLatency), DetailURL: "/admin/ai-logs"}, }, @@ -225,7 +225,7 @@ func (s *DBService) Anomalies(ctx context.Context, locale string, limit int) (Sn } return Snapshot{ Metrics: []viewmodel.AssistantAdminMetricCard{{ - Label: localize(locale, "Order anomalies", "Siparis anomalileri"), + Label: localize(locale, "Order anomalies", "Sipariş anomalileri"), Value: strconv.Itoa(len(issues)), Tone: toneForCount(len(issues)), }}, diff --git a/internal/domain/assistant/mock.go b/internal/domain/assistant/mock.go index 40acbe4..2522ae6 100644 --- a/internal/domain/assistant/mock.go +++ b/internal/domain/assistant/mock.go @@ -60,7 +60,7 @@ func (s *MockService) SubmitMessage(ctx context.Context, viewer Viewer, threadID Title: deriveTitle("", input.Prompt), Messages: []viewmodel.AssistantMessage{ {ID: "mock-user", Role: "user", Body: input.Prompt, Status: messageDone}, - {ID: "mock-assistant", Role: "assistant", Body: "Mock assistant yaniti", Status: messageDone}, + {ID: "mock-assistant", Role: "assistant", Body: "Mock assistant yanıtı", Status: messageDone}, }, } s.mu.Lock() @@ -72,7 +72,7 @@ func (s *MockService) SubmitMessage(ctx context.Context, viewer Viewer, threadID func (s *MockService) PollMessage(ctx context.Context, viewer Viewer, messageID string) (viewmodel.AssistantMessage, error) { _ = ctx _ = viewer - return viewmodel.AssistantMessage{ID: messageID, Role: "assistant", Body: "Mock assistant yaniti", Status: messageDone}, nil + return viewmodel.AssistantMessage{ID: messageID, Role: "assistant", Body: "Mock assistant yanıtı", Status: messageDone}, nil } func (s *MockService) StreamRun(ctx context.Context, viewer Viewer, runID string, emit func(StreamSnapshot) error) error { diff --git a/internal/domain/assistant/runtime.go b/internal/domain/assistant/runtime.go index 4c16436..2fb0a9f 100644 --- a/internal/domain/assistant/runtime.go +++ b/internal/domain/assistant/runtime.go @@ -429,40 +429,40 @@ func newGraphRuntime(search search.Service, catalogService catalog.Service, revi return s, nil } if s.Request.Asset.AssetID == "" { - s.AssistantBody = "Gorsel islem baslatmak icin once bir gorsel eklemelisiniz." - s.FollowUps = []string{"Bir gorsel ekle", "Metinle devam et"} + s.AssistantBody = "Görsel işlem başlatmak için önce bir görsel eklemelisiniz." + s.FollowUps = []string{"Bir görsel ekle", "Metinle devam et"} s.SetShouldEnd(true) return s, nil } if s.ResolvedProductSlug == "" { - s.AssistantBody = "Bu gorseli hangi urun icin kullanacagimizi netlestiremedim. Once tek bir urun secelim." + s.AssistantBody = "Bu görseli hangi ürün için kullanacağımızı netleştiremedim. Önce tek bir ürün seçelim." s.AssistantProducts = append([]viewmodel.ProductCard(nil), s.Candidates...) - s.FollowUps = []string{"Ilk urunu sec", "Bu urune en yakin secenegi oner"} + s.FollowUps = []string{"İlk ürünü seç", "Bu ürüne en yakın seçeneği öner"} s.SetShouldEnd(true) return s, nil } if s.Intent == "preview_try_on" && s.PreviewMode != "wear" { - s.AssistantBody = "Bu urun icin sanal try-on desteklenmiyor. Uygun giyilebilir bir urun secelim." - s.FollowUps = []string{"Benzer giyilebilir urunler bul", "Bu urune yakin kombin oner"} + s.AssistantBody = "Bu ürün için sanal try-on desteklenmiyor. Uygun giyilebilir bir ürün seçelim." + s.FollowUps = []string{"Benzer giyilebilir ürünler bul", "Bu ürüne yakın kombin öner"} s.SetShouldEnd(true) return s, nil } if s.Intent == "preview_room" && s.PreviewMode != "room" { - s.AssistantBody = "Bu urun icin room placement desteklenmiyor. Oda icinde konumlandirilabilir bir urun secelim." - s.FollowUps = []string{"Benzer oda urunleri bul", "Bu kategoriye uygun urunler oner"} + s.AssistantBody = "Bu ürün için room placement desteklenmiyor. Oda içinde konumlandırılabilir bir ürün seçelim." + s.FollowUps = []string{"Benzer oda ürünleri bul", "Bu kategoriye uygun ürünler öner"} s.SetShouldEnd(true) return s, nil } s.QueuePreview = true if s.Intent == "preview_try_on" { s.ToolReceipts = append(s.ToolReceipts, toolReceipt{Name: "preview_try_on", Status: "queued", Note: s.ResolvedProductSlug}) - s.AssistantBody = "Sanal try-on hazirlaniyor. Sonucu bu sohbet icinde gosterecegim." - s.FollowUps = []string{"Farkli bir urunle dene", "Bu urune uygun kombin oner"} + s.AssistantBody = "Sanal try-on hazırlanıyor. Sonucu bu sohbet içinde göstereceğim." + s.FollowUps = []string{"Farklı bir ürünle dene", "Bu ürüne uygun kombin öner"} return s, nil } s.ToolReceipts = append(s.ToolReceipts, toolReceipt{Name: "preview_room", Status: "queued", Note: s.ResolvedProductSlug}) - s.AssistantBody = "Room placement hazirlaniyor. Sonucu bu sohbet icinde gosterecegim." - s.FollowUps = []string{"Farkli bir yerlestirme dene", "Bu urune uygun benzer urunler bul"} + s.AssistantBody = "Room placement hazırlanıyor. Sonucu bu sohbet içinde göstereceğim." + s.FollowUps = []string{"Farklı bir yerleştirme dene", "Bu ürüne uygun benzer ürünler bul"} return s, nil }) g.AddNode("retrieve_reviews", func(ctx context.Context, s *runtimeState) (*runtimeState, error) { @@ -496,15 +496,15 @@ func newGraphRuntime(search search.Service, catalogService catalog.Service, revi return s, nil } if s.ResolvedProductSlug == "" { - s.AssistantBody = "Sepete eklemek icin tek bir urunu netlestiremedim. Once hangi urunu istediginizi secelim." + s.AssistantBody = "Sepete eklemek için tek bir ürünü netleştiremedim. Önce hangi ürünü istediğinizi seçelim." s.AssistantProducts = append([]viewmodel.ProductCard(nil), s.Candidates...) - s.FollowUps = []string{"Ilk urunu sepete ekle", "Fiyatina gore en uygun olani sec"} + s.FollowUps = []string{"İlk ürünü sepete ekle", "Fiyatına göre en uygun olanı seç"} s.ToolReceipts = append(s.ToolReceipts, toolReceipt{Name: "add_to_cart", Status: "needs_confirmation", Note: "ambiguous_product"}) s.SetShouldEnd(true) return s, nil } if err := cartService.AddItem(ctx, s.Request.Viewer.DeviceID, s.ResolvedProductSlug, s.Quantity); err != nil { - s.AssistantBody = "Urunu sepete eklerken bir sorun olustu." + s.AssistantBody = "Ürünü sepete eklerken bir sorun oluştu." s.ToolReceipts = append(s.ToolReceipts, toolReceipt{Name: "add_to_cart", Status: "error", Note: err.Error()}) s.SetShouldEnd(true) return s, nil @@ -853,13 +853,13 @@ func topProducts(products []viewmodel.ProductCard, limit int) []string { func defaultFollowUps(intent string) []string { switch intent { case "add_to_cart": - return []string{"Benzer alternatifleri goster", "Sepetteki diger urunlerle uyumuna bak"} + return []string{"Benzer alternatifleri göster", "Sepetteki diğer ürünlerle uyumuna bak"} case "compare_products": - return []string{"En iyi fiyat/performans olani sec", "Yorumlara gore riski en dusuk olani soyle"} + return []string{"En iyi fiyat/performans olanı seç", "Yorumlara göre riski en düşük olanı söyle"} case "summarize_reviews": - return []string{"Olumsuz yorumlari ayri listele", "Benzer ama daha guvenli alternatifler bul"} + return []string{"Olumsuz yorumları ayrı listele", "Benzer ama daha güvenli alternatifler bul"} default: - return []string{"Fiyatina gore daralt", "Yorumlara gore en guclu secenekleri sec"} + return []string{"Fiyatına göre daralt", "Yorumlara göre en güçlü seçenekleri seç"} } } @@ -867,14 +867,14 @@ func adminOpsUnavailableMessage(locale string) string { if locale == "en" { return "Admin operational data is not available right now." } - return "Admin operasyon verisi su anda kullanilabilir degil." + return "Admin operasyon verisi şu anda kullanılabilir değil." } func adminOpsErrorMessage(locale string) string { if locale == "en" { return "I could not summarize the admin operational view right now." } - return "Admin operasyon gorunumunu su an ozetleyemedim." + return "Admin operasyon görünümünü şu an özetleyemedim." } func adminBodyForIntent(locale, intent string, metricCount, issueCount int) string { @@ -894,15 +894,15 @@ func adminBodyForIntent(locale, intent string, metricCount, issueCount int) stri } switch intent { case "admin_moderation": - return fmt.Sprintf("Mevcut moderasyon kuyrugunu %d oncelikli kayit ile ozetledim.", issueCount) + return fmt.Sprintf("Mevcut moderasyon kuyruğunu %d öncelikli kayıt ile özetledim.", issueCount) case "admin_search_sync": - return fmt.Sprintf("Guncel arama senkron sagligini %d operasyonel baslik ile ozetledim.", issueCount) + return fmt.Sprintf("Güncel arama senkron sağlığını %d operasyonel başlık ile özetledim.", issueCount) case "admin_ai_logs": - return fmt.Sprintf("Son AI log sagligini %d onemli hata ile ozetledim.", issueCount) + return fmt.Sprintf("Son AI log sağlığını %d önemli hata ile özetledim.", issueCount) case "admin_order_anomalies": - return fmt.Sprintf("Son siparis anomalilerini %d isaretli kayit ile ozetledim.", issueCount) + return fmt.Sprintf("Son sipariş anomalilerini %d işaretli kayıt ile özetledim.", issueCount) default: - return fmt.Sprintf("Guncel admin platform gorunumunu %d metrik ve %d onemli baslik ile ozetledim.", metricCount, issueCount) + return fmt.Sprintf("Güncel admin platform görünümünü %d metrik ve %d önemli başlık ile özetledim.", metricCount, issueCount) } } @@ -923,15 +923,15 @@ func adminFollowUpsForIntent(locale, intent string) []string { } switch intent { case "admin_moderation": - return []string{"Arama senkron sagligini goster", "Son AI hatalarini goster"} + return []string{"Arama senkron sağlığını göster", "Son AI hatalarını göster"} case "admin_search_sync": - return []string{"Moderasyon kuyrugunu goster", "Son siparis anomalilerini goster"} + return []string{"Moderasyon kuyruğunu göster", "Son sipariş anomalilerini göster"} case "admin_ai_logs": - return []string{"Saglayici kurulum sagligini goster", "Arama senkron sagligini goster"} + return []string{"Sağlayıcı kurulum sağlığını göster", "Arama senkron sağlığını göster"} case "admin_order_anomalies": - return []string{"Odeme kaynakli sorunlari goster", "Moderasyon kuyrugunu goster"} + return []string{"Ödeme kaynaklı sorunları göster", "Moderasyon kuyruğunu göster"} default: - return []string{"Moderasyon kuyrugunu goster", "Arama senkron sagligini goster", "Son AI hatalarini goster"} + return []string{"Moderasyon kuyruğunu göster", "Arama senkron sağlığını göster", "Son AI hatalarını göster"} } } @@ -995,28 +995,28 @@ func supportClarificationMessage(locale string) string { if locale == "en" { return "I found your recent orders. Pick the one you want help with, or share the exact order number." } - return "Son siparislerinizi buldum. Yardim istediginiz siparisi secin ya da tam siparis numarasini paylasin." + return "Son siparişlerinizi buldum. Yardım istediğiniz siparişi seçin ya da tam sipariş numarasını paylaşın." } func supportNoOrdersMessage(locale string) string { if locale == "en" { return "I could not find any recent orders on this account yet." } - return "Bu hesapta yakin tarihli bir siparis bulamadim." + return "Bu hesapta yakın tarihli bir sipariş bulamadım." } func supportAccessUnavailableMessage(locale string) string { if locale == "en" { return "Order support is only available for signed-in buyers." } - return "Siparis destegi yalnizca giris yapmis alicilar icin kullanilabilir." + return "Sipariş desteği yalnızca giriş yapmış alıcılar için kullanılabilir." } func supportGenericFollowUps(locale string) []string { if locale == "en" { return []string{"Open my orders", "Explain order statuses"} } - return []string{"Siparislerimi ac", "Siparis durumlarini acikla"} + return []string{"Siparişlerimi aç", "Sipariş durumlarını açıkla"} } func supportRecentFollowUps(locale string, cards []viewmodel.AssistantOrderCard) []string { @@ -1029,7 +1029,7 @@ func supportRecentFollowUps(locale string, cards []viewmodel.AssistantOrderCard) out = append(out, "Help with "+card.OrderNumber) continue } - out = append(out, card.OrderNumber+" icin yardim") + out = append(out, card.OrderNumber+" için yardım") } return uniqueStrings(out) } @@ -1042,9 +1042,9 @@ func supportCardFollowUps(locale string, card viewmodel.AssistantOrderCard) []st return []string{"Do I have tracking yet?", "Explain this payment status"} } if card.TrackingCode != "" { - return []string{"Odeme durumunu acikla", "Fulfillment durumunu acikla"} + return []string{"Ödeme durumunu açıkla", "Fulfillment durumunu açıkla"} } - return []string{"Takip kodum var mi?", "Odeme durumunu acikla"} + return []string{"Takip kodum var mı?", "Ödeme durumunu açıkla"} } func supportAnswerForCard(locale string, card viewmodel.AssistantOrderCard, prompt string) string { @@ -1067,15 +1067,15 @@ func supportAnswerForCard(locale string, card viewmodel.AssistantOrderCard, prom switch { case containsAny(prompt, "takip", "kargo", "teslim"): if card.TrackingCode != "" { - return fmt.Sprintf("%s numarali siparis %s durumda. Takip kodu: %s.", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus), card.TrackingCode) + return fmt.Sprintf("%s numaralı sipariş %s durumda. Takip kodu: %s.", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus), card.TrackingCode) } - return fmt.Sprintf("%s numarali siparis %s durumda. Henuz takip bilgisi olusmamis.", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus)) + return fmt.Sprintf("%s numaralı sipariş %s durumda. Henüz takip bilgisi oluşmamış.", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus)) case containsAny(prompt, "odeme"): - return fmt.Sprintf("%s numarali siparisin odeme durumu %s. %s", card.OrderNumber, supportLabelTr(card.PaymentStatusKey, card.PaymentStatus), card.SupportSummary) + return fmt.Sprintf("%s numaralı siparişin ödeme durumu %s. %s", card.OrderNumber, supportLabelTr(card.PaymentStatusKey, card.PaymentStatus), card.SupportSummary) case containsAny(prompt, "iptal"): - return fmt.Sprintf("%s numarali siparis su an %s durumda. Gecerli durumu aciklayabilirim ama bu asistandan dogrudan iptal islemi yapamam.", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus)) + return fmt.Sprintf("%s numaralı sipariş şu an %s durumda. Geçerli durumu açıklayabilirim ama bu asistandan doğrudan iptal işlemi yapamam.", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus)) default: - return fmt.Sprintf("%s numarali siparis %s durumda. Odeme: %s. %s", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus), supportLabelTr(card.PaymentStatusKey, card.PaymentStatus), card.SupportSummary) + return fmt.Sprintf("%s numaralı sipariş %s durumda. Ödeme: %s. %s", card.OrderNumber, supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatus), supportLabelTr(card.PaymentStatusKey, card.PaymentStatus), card.SupportSummary) } } @@ -1111,7 +1111,7 @@ func supportLabelEn(key, fallback string) string { func supportLabelTr(key, fallback string) string { switch key { case "processing": - return "isleniyor" + return "işleniyor" case "in_transit": return "kargoda" case "delivered": @@ -1121,15 +1121,15 @@ func supportLabelTr(key, fallback string) string { case "pending": return "beklemede" case "paid": - return "odendi" + return "ödendi" case "unfulfilled": - return "hazirlaniyor" + return "hazırlanıyor" case "ready_to_ship": - return "kargoya hazir" + return "kargoya hazır" case "shipment_in_progress": - return "gonderi ilerliyor" + return "gönderi ilerliyor" case "payment_blocked": - return "odeme blokeli" + return "ödeme blokeli" case "review_needed": return "manuel inceleme" default: @@ -1141,28 +1141,28 @@ func sellerSupportAccessUnavailableMessage(locale string) string { if locale == "en" { return "Seller order support is only available for authenticated seller workspaces." } - return "Seller siparis yardimi yalnizca giris yapmis seller workspace kullanicilari icin kullanilabilir." + return "Seller sipariş yardımı yalnızca giriş yapmış seller workspace kullanıcıları için kullanılabilir." } func sellerNoOrdersMessage(locale string) string { if locale == "en" { return "I could not find seller orders to summarize yet." } - return "Ozetleyecek seller siparisi bulamadim." + return "Özetleyecek seller siparişi bulamadım." } func sellerOrderClarificationMessage(locale string) string { if locale == "en" { return "Choose one recent order, or ask for a queue summary if you want a broader operational view." } - return "Tek bir siparis secin ya da daha genis bir operasyon ozeti icin kuyruk ozetini isteyin." + return "Tek bir sipariş seçin ya da daha geniş bir operasyon özeti için kuyruk özetini isteyin." } func sellerGenericFollowUps(locale string) []string { if locale == "en" { return []string{"Which orders need shipping first?", "Draft a buyer update", "Show payment-blocked orders"} } - return []string{"Hangi siparisler once kargolanmali?", "Musteri icin guncelleme taslagi hazirla", "Odeme blokeli siparisleri goster"} + return []string{"Hangi siparişler önce kargolanmalı?", "Müşteri için güncelleme taslağı hazırla", "Ödeme blokeli siparişleri göster"} } func sellerQueueAnswer(locale string, cards []viewmodel.AssistantSellerQueueCard) string { @@ -1175,7 +1175,7 @@ func sellerQueueAnswer(locale string, cards []viewmodel.AssistantSellerQueueCard if len(cards) == 0 { return sellerNoOrdersMessage(locale) } - return "Mevcut fulfillment kuyrugunu gereken aksiyona gore grupladim." + return "Mevcut fulfillment kuyruğunu gereken aksiyona göre grupladım." } func sellerQueueFollowUps(locale string, cards []viewmodel.AssistantSellerQueueCard) []string { @@ -1187,7 +1187,7 @@ func sellerQueueFollowUps(locale string, cards []viewmodel.AssistantSellerQueueC if locale == "en" { out = append(out, "Help with "+card.OrderNumbers[0]) } else { - out = append(out, card.OrderNumbers[0]+" icin yardim") + out = append(out, card.OrderNumbers[0]+" için yardım") } } return uniqueStrings(out) @@ -1197,21 +1197,21 @@ func sellerOrderAnswer(locale string, card viewmodel.AssistantSellerOrderCard) s if locale == "en" { return fmt.Sprintf("Order %s currently needs %s. %s %s", card.OrderNumber, supportLabelEn(card.ActionNeededKey, card.ActionNeededKey), card.BlockerSummary, card.NextStepSummary) } - return fmt.Sprintf("%s numarali siparis icin gereken durum: %s. %s %s", card.OrderNumber, supportLabelTr(card.ActionNeededKey, card.ActionNeededKey), card.BlockerSummary, card.NextStepSummary) + return fmt.Sprintf("%s numaralı sipariş için gereken durum: %s. %s %s", card.OrderNumber, supportLabelTr(card.ActionNeededKey, card.ActionNeededKey), card.BlockerSummary, card.NextStepSummary) } func sellerReplyAnswer(locale string, card viewmodel.AssistantSellerOrderCard) string { if locale == "en" { return fmt.Sprintf("I prepared a buyer-facing update for order %s based on the current payment and fulfillment state.", card.OrderNumber) } - return fmt.Sprintf("%s numarali siparis icin mevcut duruma gore musteriye gidebilecek bir guncelleme taslagi hazirladim.", card.OrderNumber) + return fmt.Sprintf("%s numaralı sipariş için mevcut duruma göre müşteriye gidebilecek bir güncelleme taslağı hazırladım.", card.OrderNumber) } func sellerOrderFollowUps(locale string, card viewmodel.AssistantSellerOrderCard) []string { if locale == "en" { return []string{"Draft a buyer update", "Show my queue summary", "Explain the payment status"} } - return []string{"Musteri icin guncelleme taslagi hazirla", "Kuyruk ozetimi goster", "Odeme durumunu acikla"} + return []string{"Müşteri için güncelleme taslağı hazırla", "Kuyruk özetimi göster", "Ödeme durumunu açıkla"} } func sellerReplyDraftForCard(locale string, card viewmodel.AssistantSellerOrderCard) viewmodel.AssistantReplyDraftCard { @@ -1223,12 +1223,12 @@ func sellerReplyDraftForCard(locale string, card viewmodel.AssistantSellerOrderC body += " Next step: " + card.NextStepSummary return viewmodel.AssistantReplyDraftCard{Title: "Buyer update draft", Body: body, Tone: "clear"} } - body := fmt.Sprintf("Merhaba, %s numarali siparisiniz icin kisa bir guncelleme paylasmak istiyorum. Odeme durumu %s ve fulfillment durumu %s.", card.OrderNumber, supportLabelTr(card.PaymentStatusKey, card.PaymentStatusKey), supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatusKey)) + body := fmt.Sprintf("Merhaba, %s numaralı siparişiniz için kısa bir güncelleme paylaşmak istiyorum. Ödeme durumu %s ve fulfillment durumu %s.", card.OrderNumber, supportLabelTr(card.PaymentStatusKey, card.PaymentStatusKey), supportLabelTr(card.FulfillmentStatusKey, card.FulfillmentStatusKey)) if card.TrackingCode != "" { body += " Takip kodu: " + card.TrackingCode + "." } - body += " Sonraki adim: " + card.NextStepSummary - return viewmodel.AssistantReplyDraftCard{Title: "Musteri guncelleme taslagi", Body: body, Tone: "clear"} + body += " Sonraki adım: " + card.NextStepSummary + return viewmodel.AssistantReplyDraftCard{Title: "Müşteri güncelleme taslağı", Body: body, Tone: "clear"} } func sellerActionKind(prompt string) string { @@ -1333,7 +1333,7 @@ func sellerApprovalPendingMessage(locale string, draft approvalRequestDraft) str if locale == "en" { return fmt.Sprintf("I prepared an approval request for %s on order %s. Review the card before confirming.", sellerApprovalActionLabel(locale, draft.ActionKind), draft.OrderNumber) } - return fmt.Sprintf("%s numarali siparis icin %s aksiyonu hazirlandi. Onaylamadan once karti gozden gecirin.", draft.OrderNumber, sellerApprovalActionLabel(locale, draft.ActionKind)) + return fmt.Sprintf("%s numaralı sipariş için %s aksiyonu hazırlandı. Onaylamadan önce kartı gözden geçirin.", draft.OrderNumber, sellerApprovalActionLabel(locale, draft.ActionKind)) } func sellerApprovalClarificationMessage(locale, actionKind string, missing []string, orderNumber string) string { @@ -1341,7 +1341,7 @@ func sellerApprovalClarificationMessage(locale, actionKind string, missing []str if locale == "en" { return fmt.Sprintf("I need %s before I can prepare this approval. Use a prompt like: %s", strings.Join(missing, " and "), format) } - return fmt.Sprintf("Bu onayi hazirlamak icin %s bilgisine ihtiyacim var. Ornek komut: %s", strings.Join(missing, " ve "), format) + return fmt.Sprintf("Bu onayı hazırlamak için %s bilgisine ihtiyacım var. Örnek komut: %s", strings.Join(missing, " ve "), format) } func sellerApprovalActionLabel(locale, actionKind string) string { @@ -1384,11 +1384,11 @@ func sellerActionPromptExample(locale, actionKind, orderNumber string) string { } switch actionKind { case actionShipOrder: - return fmt.Sprintf("%s kargola kargo: Yurtici Kargo, takip: TRK-12345", orderNumber) + return fmt.Sprintf("%s kargola kargo: Yurtiçi Kargo, takip: TRK-12345", orderNumber) case actionDeliverOrder: return fmt.Sprintf("%s teslim et", orderNumber) case actionCancelOrder: - return fmt.Sprintf("%s iptal et neden: alici iptal istedi", orderNumber) + return fmt.Sprintf("%s iptal et neden: alıcı iptal istedi", orderNumber) default: return orderNumber } @@ -1400,11 +1400,11 @@ func sellerApprovalSummary(locale, actionKind, orderNumber string) string { } switch actionKind { case actionShipOrder: - return fmt.Sprintf("%s numarali siparisi kargola", orderNumber) + return fmt.Sprintf("%s numaralı siparişi kargola", orderNumber) case actionDeliverOrder: - return fmt.Sprintf("%s numarali siparisi teslim et", orderNumber) + return fmt.Sprintf("%s numaralı siparişi teslim et", orderNumber) case actionCancelOrder: - return fmt.Sprintf("%s numarali siparisi iptal et", orderNumber) + return fmt.Sprintf("%s numaralı siparişi iptal et", orderNumber) default: return orderNumber } @@ -1421,7 +1421,7 @@ func sellerDeliverPayloadPreview(locale string) string { if locale == "en" { return "Mark shipment as delivered." } - return "Gonderiyi teslim edildi olarak isaretle." + return "Gönderiyi teslim edildi olarak işaretle." } func sellerCancelPayloadPreview(locale, reason string) string { @@ -1436,7 +1436,7 @@ func sellerApprovalWarning(locale string) string { if locale == "en" { return "This action changes live order state." } - return "Bu aksiyon canli siparis durumunu degistirir." + return "Bu aksiyon canlı sipariş durumunu değiştirir." } func compactSentence(value string, limit int) string { diff --git a/internal/domain/assistant/runtime_test.go b/internal/domain/assistant/runtime_test.go index 4bb25b1..ae910ac 100644 --- a/internal/domain/assistant/runtime_test.go +++ b/internal/domain/assistant/runtime_test.go @@ -574,6 +574,9 @@ func (s stubCatalogService) UpdateGalleryOrder(context.Context, string, []string func (s stubCatalogService) GetGalleryOrder(context.Context, string) ([]string, error) { return nil, nil } +func (s stubCatalogService) AdminList(context.Context, catalog.AdminListOptions) (catalog.AdminListPage, error) { + return catalog.AdminListPage{}, nil +} type stubReviewsService struct{} diff --git a/internal/domain/assistant/store.go b/internal/domain/assistant/store.go index 63b173e..11ffe80 100644 --- a/internal/domain/assistant/store.go +++ b/internal/domain/assistant/store.go @@ -871,7 +871,7 @@ func (s *DBService) executeRun(ctx context.Context, request runRequest) { job, jobErr := s.queueAssistantPreview(ctx, request, state) if jobErr != nil { log.Printf("assistant preview queue failed run_id=%s slug=%s: %v", request.RunID, state.ResolvedProductSlug, jobErr) - state.AssistantBody = "Gorsel islem kuyruga alinamadi. Lutfen tekrar deneyin." + state.AssistantBody = "Görsel işlem kuyruğa alınamadı. Lütfen tekrar deneyin." state.ToolReceipts = append(state.ToolReceipts, toolReceipt{Name: state.Intent, Status: "error", Note: jobErr.Error()}) } else { job.PollURL = "/assistant/messages/" + request.AssistantMessageID + "/poll" @@ -1025,7 +1025,7 @@ func (s *DBService) messageToView(ctx context.Context, row MessageRecord, attach _ = json.Unmarshal([]byte(row.ToolReceiptsJSON), &receipts) for _, receipt := range receipts { if receipt.Status == "needs_confirmation" { - message.FollowUps = append(message.FollowUps, "Ilk urunu sec") + message.FollowUps = append(message.FollowUps, "İlk ürünü seç") } } message.FollowUps = uniqueStrings(message.FollowUps) @@ -1362,28 +1362,28 @@ func approvalExecutedMessage(locale, orderNumber string) string { if locale == "en" { return "Approval executed for order " + orderNumber + "." } - return orderNumber + " numarali siparis icin onayli aksiyon uygulandi." + return orderNumber + " numaralı sipariş için onaylı aksiyon uygulandı." } func approvalRejectedMessage(locale, orderNumber string) string { if locale == "en" { return "Approval was rejected for order " + orderNumber + "." } - return orderNumber + " numarali siparis icin onay istegi reddedildi." + return orderNumber + " numaralı sipariş için onay isteği reddedildi." } func approvalFailedMessage(locale string) string { if locale == "en" { return "I could not prepare the approval request right now." } - return "Onay istegini su an hazirlayamadim." + return "Onay isteğini şu an hazırlayamadım." } func approvalExecutionFailedMessage(locale, orderNumber string) string { if locale == "en" { return "Approval execution failed for order " + orderNumber + "." } - return orderNumber + " numarali siparis icin onay uygulamasi basarisiz oldu." + return orderNumber + " numaralı sipariş için onay uygulaması başarısız oldu." } func humanTime(t time.Time) string { diff --git a/internal/domain/catalog/repository.go b/internal/domain/catalog/repository.go index a6c05bb..610f4c5 100644 --- a/internal/domain/catalog/repository.go +++ b/internal/domain/catalog/repository.go @@ -19,6 +19,7 @@ type Repository interface { Delete(ctx context.Context, slug string) error FindBySlug(ctx context.Context, slug string) (*CatalogProduct, bool, error) List(ctx context.Context, limit, offset int) ([]CatalogProduct, error) + ListAdmin(ctx context.Context, opts AdminListOptions) ([]CatalogProduct, int64, error) ListBySeller(ctx context.Context, sellerID string) ([]CatalogProduct, error) ListWithVisualData(ctx context.Context) ([]CatalogProduct, error) ListApproved(ctx context.Context, limit, offset int) ([]CatalogProduct, error) @@ -78,6 +79,34 @@ func (r *GormRepository) List(ctx context.Context, limit, offset int) ([]Catalog return items, nil } +func (r *GormRepository) ListAdmin(ctx context.Context, opts AdminListOptions) ([]CatalogProduct, int64, error) { + query := r.db.WithContext(ctx).Model(&CatalogProduct{}) + if status := strings.TrimSpace(opts.Status); status != "" { + query = query.Where("status = ?", status) + } + if needle := strings.ToLower(strings.TrimSpace(opts.Query)); needle != "" { + like := "%" + needle + "%" + query = query.Where("LOWER(slug) LIKE ? OR LOWER(title) LIKE ? OR LOWER(vendor) LIKE ?", like, like, like) + } + var total int64 + if err := query.Count(&total).Error; err != nil { + return nil, 0, fmt.Errorf("failed to count admin products: %w", err) + } + page := opts.Page + if page < 1 { + page = 1 + } + pageSize := opts.PageSize + if pageSize <= 0 { + pageSize = 25 + } + var items []CatalogProduct + if err := query.Order("updated_at desc").Limit(pageSize).Offset((page - 1) * pageSize).Find(&items).Error; err != nil { + return nil, 0, fmt.Errorf("failed to list admin products: %w", err) + } + return items, total, nil +} + func (r *GormRepository) ListBySeller(ctx context.Context, sellerID string) ([]CatalogProduct, error) { var items []CatalogProduct err := r.db.WithContext(ctx).Where("seller_id = ?", sellerID).Order("created_at desc").Find(&items).Error @@ -199,6 +228,48 @@ func (r *MemoryRepository) List(ctx context.Context, limit, offset int) ([]Catal return items[offset:end], nil } +func (r *MemoryRepository) ListAdmin(ctx context.Context, opts AdminListOptions) ([]CatalogProduct, int64, error) { + _ = ctx + r.mu.RLock() + defer r.mu.RUnlock() + items := make([]CatalogProduct, 0, len(r.products)) + needle := strings.ToLower(strings.TrimSpace(opts.Query)) + status := strings.TrimSpace(opts.Status) + for _, p := range r.products { + if status != "" && p.Status != status { + continue + } + if needle != "" { + haystack := strings.ToLower(strings.Join([]string{p.Slug, p.Title, p.Vendor}, " ")) + if !strings.Contains(haystack, needle) { + continue + } + } + items = append(items, p) + } + sort.Slice(items, func(i, j int) bool { + return items[i].UpdatedAt.After(items[j].UpdatedAt) + }) + page := opts.Page + if page < 1 { + page = 1 + } + pageSize := opts.PageSize + if pageSize <= 0 { + pageSize = 25 + } + total := int64(len(items)) + start := (page - 1) * pageSize + if start > len(items) { + start = len(items) + } + end := start + pageSize + if end > len(items) { + end = len(items) + } + return items[start:end], total, nil +} + func (r *MemoryRepository) ListBySeller(ctx context.Context, sellerID string) ([]CatalogProduct, error) { _ = ctx r.mu.RLock() diff --git a/internal/domain/catalog/service.go b/internal/domain/catalog/service.go index 9fe77db..5f16d08 100644 --- a/internal/domain/catalog/service.go +++ b/internal/domain/catalog/service.go @@ -42,6 +42,22 @@ type Service interface { // Gallery helpers for ordered multi-image support. UpdateGalleryOrder(ctx context.Context, slug string, order []string) error GetGalleryOrder(ctx context.Context, slug string) ([]string, error) + AdminList(ctx context.Context, opts AdminListOptions) (AdminListPage, error) +} + +type AdminListOptions struct { + Query string + Status string + Page int + PageSize int +} + +type AdminListPage struct { + Items []Product + Page int + PageSize int + TotalItems int + TotalPages int } // DBCatalogService is a DB-backed catalog service that keeps an in-memory @@ -363,6 +379,39 @@ func (s *DBCatalogService) GetGalleryOrder(ctx context.Context, slug string) ([] return p.GalleryOrder, nil } +func (s *DBCatalogService) AdminList(ctx context.Context, opts AdminListOptions) (AdminListPage, error) { + items, total, err := s.repo.ListAdmin(ctx, opts) + if err != nil { + return AdminListPage{}, fmt.Errorf("failed to list admin products: %w", err) + } + page := opts.Page + if page < 1 { + page = 1 + } + pageSize := opts.PageSize + if pageSize <= 0 { + pageSize = 25 + } + totalPages := int(total) / pageSize + if int(total)%pageSize != 0 { + totalPages++ + } + if totalPages < 1 { + totalPages = 1 + } + out := AdminListPage{ + Page: page, + PageSize: pageSize, + TotalItems: int(total), + TotalPages: totalPages, + Items: make([]Product, 0, len(items)), + } + for _, item := range items { + out.Items = append(out.Items, toDomainProduct(item)) + } + return out, nil +} + // MockService is a simple in-memory fallback used when DB is unavailable. type MockService struct { products map[string]Product @@ -407,6 +456,9 @@ func (s *MockService) UpdateGalleryOrder(ctx context.Context, slug string, order func (s *MockService) GetGalleryOrder(ctx context.Context, slug string) ([]string, error) { return nil, nil } +func (s *MockService) AdminList(ctx context.Context, opts AdminListOptions) (AdminListPage, error) { + return AdminListPage{}, nil +} // Helpers diff --git a/internal/domain/orders/service.go b/internal/domain/orders/service.go index 3ddea96..fb5a105 100644 --- a/internal/domain/orders/service.go +++ b/internal/domain/orders/service.go @@ -1354,13 +1354,13 @@ func adminAnomalySummary(locale, kind string) string { } switch kind { case "payment_failed": - return "Odeme anomali kaydi olustu ve operasyonel inceleme gerekiyor." + return "Ödeme anomali kaydı oluştu ve operasyonel inceleme gerekiyor." case "manual_review": - return "Bu siparis manuel operasyon incelemesine alindi." + return "Bu sipariş manuel operasyon incelemesine alındı." case "shipment_delay": - return "Gonderi akisinda gecikme gorunuyor ve kontrol edilmeli." + return "Gönderi akışında gecikme görünüyor ve kontrol edilmeli." default: - return "Bu siparis operasyonel bir anomali nedeniyle isaretlendi." + return "Bu sipariş operasyonel bir anomali nedeniyle işaretlendi." } } @@ -1379,13 +1379,13 @@ func adminAnomalyLabel(locale, kind string) string { } switch kind { case "payment_failed": - return "Odeme anomalisi" + return "Ödeme anomalisi" case "manual_review": return "Manuel inceleme" case "shipment_delay": - return "Gonderi gecikmesi" + return "Gönderi gecikmesi" default: - return "Siparis anomalisi" + return "Sipariş anomalisi" } } diff --git a/internal/domain/search/sync_test.go b/internal/domain/search/sync_test.go index 8965451..e0ff79e 100644 --- a/internal/domain/search/sync_test.go +++ b/internal/domain/search/sync_test.go @@ -148,7 +148,7 @@ func TestSyncProcessorSkipsVisualEnrichmentWhenCoreFieldsAlreadyExist(t *testing ImageURL: "/uploads/already-enriched.jpg", GalleryOrder: pq.StringArray{"asset-1"}, VisualCategory: "giyim", - VisualDesc: "Hazir aciklama", + VisualDesc: "Hazır açıklama", Tags: pq.StringArray{"Tag"}, Colors: pq.StringArray{"Mavi"}, CreatedAt: time.Now().UTC(), @@ -173,7 +173,7 @@ func TestSyncProcessorSkipsVisualEnrichmentWhenCoreFieldsAlreadyExist(t *testing if !ok { t.Fatal("already-enriched not found") } - if got := processor.maybeEnrichProductVisualFields(ctx, ProductSyncJob{ID: "job-1", ProductSlug: product.Slug}, product); got.VisualDescription != "Hazir aciklama" { + if got := processor.maybeEnrichProductVisualFields(ctx, ProductSyncJob{ID: "job-1", ProductSlug: product.Slug}, product); got.VisualDescription != "Hazır açıklama" { t.Fatalf("VisualDescription = %q", got.VisualDescription) } } @@ -236,7 +236,7 @@ func TestSyncProcessorRecordsSeedArtifactVectorSkip(t *testing.T) { Price: 299, ImageURL: "/uploads/seed-vector-product.jpg", VisualCategory: "Giyim", - VisualDesc: "Ollama ile onceden analiz edilmis urun.", + VisualDesc: "Ollama ile önceden analiz edilmiş ürün.", Tags: pq.StringArray{"seed"}, Colors: pq.StringArray{"siyah"}, CreatedAt: time.Now().UTC(), diff --git a/internal/infra/provider/gemini.go b/internal/infra/provider/gemini.go index 8c78c33..bb0d698 100644 --- a/internal/infra/provider/gemini.go +++ b/internal/infra/provider/gemini.go @@ -296,11 +296,11 @@ func (g *GeminiProvider) AnalyzeProductDraft(ctx context.Context, request ai.Pro return ai.ProductDraftAnalysis{}, err } ailog.SafeRecord(ctx, g.logger, ailog.AIInteractionLog{ - Provider: "gemini", - Operation: "draft_product_analyze_applied", + Provider: "gemini", + Operation: "draft_product_analyze_applied", ProductSlug: request.ProductSlug, - Model: g.model, - Method: http.MethodPost, + Model: g.model, + Method: http.MethodPost, RequestBodyJSON: mustJSON(map[string]any{ "product_slug": request.ProductSlug, }), @@ -351,7 +351,7 @@ func (g *GeminiProvider) ExtractSearchIntent(ctx context.Context, query string, // -- internal -- type geminiRequest struct { - Contents []geminiContent `json:"contents"` + Contents []geminiContent `json:"contents"` GenerationConfig *geminiGenerationConfig `json:"generationConfig,omitempty"` } @@ -775,13 +775,13 @@ func uniqueTrimmed(values []string) []string { func mockAssistantFollowUps(intent string) []string { switch intent { case "add_to_cart": - return []string{"Benzer alternatifleri goster", "Sepete uygun tamamlayici urunler bul"} + return []string{"Benzer alternatifleri göster", "Sepete uygun tamamlayıcı ürünler bul"} case "compare_products": - return []string{"Fiyat performans odakli daralt", "Yorum gucune gore sirala"} + return []string{"Fiyat performans odaklı daralt", "Yorum gücüne göre sırala"} case "summarize_reviews": - return []string{"Olumsuz noktalarin alternatiflerini bul", "Daha guvenli benzer urunler oner"} + return []string{"Olumsuz noktaların alternatiflerini bul", "Daha güvenli benzer ürünler öner"} default: - return []string{"Butceye gore daralt", "Yorumlara gore en guclu secenekleri sec"} + return []string{"Bütçeye göre daralt", "Yorumlara göre en güçlü seçenekleri seç"} } } diff --git a/internal/infra/provider/gemini_test.go b/internal/infra/provider/gemini_test.go index f16ef8b..4c37acc 100644 --- a/internal/infra/provider/gemini_test.go +++ b/internal/infra/provider/gemini_test.go @@ -13,13 +13,13 @@ func TestParseProductAnalysisTextAcceptsStringConfidence(t *testing.T) { "material": "Plastik", "style": "Kablosuz Kulak Ici", "tags": ["Apple", "AirPods", "Kablosuz Kulaklik"], - "visual_description": "AirPods ve sarj kutusu gorselleri.", - "confidence": "Yuksek", + "visual_description": "AirPods ve şarj kutusu görselleri.", + "confidence": "Yüksek", "meta_title": "Apple AirPods 3. Nesil Kablosuz Kulaklik", - "meta_description": "Uzamsal ses ve sarj kutusuyla AirPods 3.", - "keywords": ["airpods 3", "kablosuz kulaklik"], - "content": "Detayli urun aciklamasi", - "highlights": ["Uzamsal Ses", "Sarj Kutusu"] + "meta_description": "Uzamsal ses ve şarj kutusuyla AirPods 3.", + "keywords": ["airpods 3", "kablosuz kulaklık"], + "content": "Detaylı ürün açıklaması", + "highlights": ["Uzamsal Ses", "Şarj Kutusu"] }` analysis, err := parseProductAnalysisText(input) @@ -35,7 +35,7 @@ func TestParseProductAnalysisTextAcceptsStringConfidence(t *testing.T) { if got := len(analysis.Tags); got != 3 { t.Fatalf("expected 3 tags, got %d", got) } - if analysis.Content != "Detayli urun aciklamasi" { + if analysis.Content != "Detaylı ürün açıklaması" { t.Fatalf("unexpected content: %q", analysis.Content) } if got := analysis.Confidence["category"]; got != 0.9 { @@ -46,7 +46,7 @@ func TestParseProductAnalysisTextAcceptsStringConfidence(t *testing.T) { func TestParseProductAnalysisTextRejectsEmptyPayload(t *testing.T) { t.Parallel() - _, err := parseProductAnalysisText(`{"confidence":"Yuksek"}`) + _, err := parseProductAnalysisText(`{"confidence":"Yüksek"}`) if err == nil { t.Fatal("expected error for payload without usable fields") } diff --git a/internal/platform/embeddings/artifact.go b/internal/platform/embeddings/artifact.go index b526c99..872f76d 100644 --- a/internal/platform/embeddings/artifact.go +++ b/internal/platform/embeddings/artifact.go @@ -299,7 +299,7 @@ func inferStyle(title, description string, tags []string) string { case strings.Contains(text, "outdoor"): return "Outdoor" default: - return "Gunluk" + return "Günlük" } } @@ -308,7 +308,7 @@ func buildVisualDescription(title, category string, colors []string) string { if len(colors) > 0 { color = colors[0] } - return strings.TrimSpace(fmt.Sprintf("%s urunu tek odakli hero cekimiyle gosteriliyor. Ana renk %s, kategori %s.", title, color, category)) + return strings.TrimSpace(fmt.Sprintf("%s ürünü tek odaklı hero çekimiyle gösteriliyor. Ana renk %s, kategori %s.", title, color, category)) } func slugifyModel(value string) string { diff --git a/internal/platform/i18n/active.en.toml b/internal/platform/i18n/active.en.toml index ea06aac..645aec6 100644 --- a/internal/platform/i18n/active.en.toml +++ b/internal/platform/i18n/active.en.toml @@ -91,24 +91,24 @@ "home.paths.gift_body" = "Build a tighter gift shortlist faster using recipient type, budget, and usage context." "home.paths.gift_prompt" = "Suggest a gift under 3000 TL for a design-minded friend" "home.workflow.eyebrow" = "AI decision flow" -"home.workflow.title" = "From prompt to result." -"home.workflow.body" = "The assistant reads intent, extracts signal, and routes to the right surface." +"home.workflow.title" = "From prompt to result" +"home.workflow.body" = "The request is read, key signals are separated, and the right flow is opened." "home.workflow.input_title" = "Input" -"home.workflow.input_body" = "Visual, context, budget." +"home.workflow.input_body" = "The request becomes clearer with visual, context, and budget." "home.workflow.input_prompt" = "Find a desk lamp with warm light for my workspace and keep it under 3000 TL." -"home.workflow.input_chip_visual" = "Reference visual" -"home.workflow.input_chip_context" = "Usage context" -"home.workflow.input_chip_budget" = "Budget signal" +"home.workflow.input_chip_visual" = "Visual" +"home.workflow.input_chip_context" = "Context" +"home.workflow.input_chip_budget" = "Budget" "home.workflow.analysis_title" = "3 steps" -"home.workflow.analysis_body" = "Read. Map. Route." -"home.workflow.step_parse_title" = "Reads prompt and image" -"home.workflow.step_parse_body" = "Collects intent and signals." -"home.workflow.step_map_title" = "Maps catalog signals" -"home.workflow.step_map_body" = "Locks category and price." -"home.workflow.step_route_title" = "Chooses the right surface" -"home.workflow.step_route_body" = "Opens the right mode." +"home.workflow.analysis_body" = "The flow moves through three simple decisions." +"home.workflow.step_parse_title" = "Reads the request" +"home.workflow.step_parse_body" = "Separates intent, product type, and supporting signals." +"home.workflow.step_map_title" = "Narrows the search" +"home.workflow.step_map_body" = "Sets category, price range, and context." +"home.workflow.step_route_title" = "Opens the surface" +"home.workflow.step_route_body" = "Routes the result into the most suitable experience." "home.workflow.outputs_title" = "Surfaces" -"home.workflow.outputs_body" = "One engine, three outcomes." +"home.workflow.outputs_body" = "The same decision logic produces three different experiences." "home.workflow.assistant_title" = "Assistant shortlist" "home.workflow.assistant_body" = "Shortlist and compare." "home.workflow.room_title" = "Room preview" @@ -125,22 +125,25 @@ # TRY-ON SHOWCASE # ============================================================ -"tryon.title" = "Try-on" -"tryon.heading" = "Upload a room photo, see objects in place." -"tryon.body" = "Place lamps, furniture, and decor in your own room photo with AI-generated lighting and shadows." -"tryon.trust_line" = "Preview products in context with AI positioning, realistic light, and shadow matching." +"tryon.title" = "Deneme" +"tryon.heading" = "Upload a photo, try the product." +"tryon.body" = "Preview furniture, decor, objects, and apparel in your own photo with AI-generated natural light and shadows." +"tryon.trust_line" = "See products more realistically in your own photo with AI-powered previews." -"tryon.room.title" = "Room preview" -"tryon.room.body" = "Preview furniture and decor in your room with realistic context." -"tryon.room.cta" = "Explore room products" +"tryon.room.title" = "Oda önizlemesi" +"tryon.room.body" = "Odanızda mobilya ve dekor ürünlerini gerçekçi şekilde önizleyin." +"tryon.room.cta" = "Oda ürünlerini keşfet" +"tryon.room.mode" = "ODA" -"tryon.wear.title" = "Wear try-on" -"tryon.wear.body" = "Try clothing on a person with AI-assisted preview." -"tryon.wear.cta" = "Explore clothing products" +"tryon.wear.title" = "Kıyafet deneme" +"tryon.wear.body" = "Kıyafetleri kişi üzerinde yapay zeka destekli şekilde deneyin." +"tryon.wear.cta" = "Giyim ürünlerini keşfet" +"tryon.wear.mode" = "GİYİM" -"tryon.accessory.title" = "Object preview" -"tryon.accessory.body" = "See decor and accessories inside your own space." -"tryon.accessory.cta" = "Explore decor products" +"tryon.accessory.title" = "Nesne önizlemesi" +"tryon.accessory.body" = "Dekor ve aksesuar ürünlerini kendi mekanınızda görün." +"tryon.accessory.cta" = "Dekor ürünlerini keşfet" +"tryon.accessory.mode" = "DEKOR" "tryon.cta_preview" = "Preview" @@ -337,15 +340,20 @@ "status.rejected" = "Rejected" "status.paid" = "Paid" "status.unfulfilled" = "Unfulfilled" +"status.disabled" = "Disabled" +"status.cooldown" = "Cooldown" +"status.auth_failed" = "Authentication failed" +"status.manually_disabled" = "Manually disabled" # ============================================================ # FOOTER # ============================================================ -"footer.tagline" = "BTKCommerce - AI-native shopping experience" +"footer.tagline" = "BTKCommerce by Vesta Vision" "footer.discover" = "Discover" "footer.search" = "Search" "footer.assistant" = "Assistant" +"workspace.footer_brand" = "BTKCommerce by Vesta Vision" # ============================================================ # ASSISTANT @@ -433,6 +441,10 @@ "assistant.admin.quick.failures" = "Recent AI failures" "assistant.admin.quick.moderation" = "Moderation backlog" "assistant.admin.quick.search_sync" = "Search sync health" +"assistant.change_summary.one" = "%s updated." +"assistant.change_summary.two" = "%s and %s updated." +"assistant.change_summary.three" = "%s, %s, and %s updated." +"assistant.change_summary.many" = "%s, %s, and other fields updated." # ============================================================ # PRODUCT DETAIL @@ -680,6 +692,10 @@ "workspace.admin.moderation_empty_body" = "Pending product reviews will appear here when sellers submit listings." "workspace.admin.vendors_empty_title" = "No sellers to show" "workspace.admin.vendors_empty_body" = "Seller health rows will appear after sellers and listings exist." +"workspace.admin.products" = "Catalog products" +"workspace.admin.products_body" = "Inspect every product, its storefront readiness, and its 3D generation state." +"workspace.admin.products_empty_title" = "No products matched" +"workspace.admin.products_empty_body" = "Try clearing filters or wait for new listings to arrive." "workspace.welcome_title" = "Welcome back, %s" "workspace.welcome_desc" = "What would you like to do today?" "workspace.quick_actions" = "Quick Actions" @@ -698,6 +714,7 @@ "workspace.nav.jobs" = "Jobs" "workspace.nav.search_sync" = "Search Sync" "workspace.nav.credentials" = "AI Credentials" +"workspace.nav.catalog" = "Catalog" "workspace.table.order" = "Order" "workspace.table.customer" = "Customer" @@ -722,9 +739,11 @@ "workspace.ai_logs.job" = "Job" "workspace.ai_logs.latency" = "Latency" "workspace.ai_logs.filter_all" = "All logs" +"workspace.ai_logs.filter_success" = "Successful" "workspace.ai_logs.filter_tripo3d" = "Tripo3D" "workspace.ai_logs.status" = "Status" "workspace.ai_logs.query" = "Search" +"workspace.ai_logs.query_placeholder" = "Search operation, model, job id, or product" "workspace.ai_logs.detail" = "Log detail" "workspace.ai_logs.related_job" = "Related job" "workspace.ai_logs_title" = "AI logs" @@ -861,6 +880,7 @@ "common.columns" = "Columns" "common.reset" = "Reset" "common.details" = "Details" +"common.upload_failed" = "Upload failed" # ============================================================ # AI CREDENTIALS @@ -870,6 +890,8 @@ "workspace.credentials" = "Credentials" "workspace.header.credentials" = "Credential management" "credentials.table.id" = "ID" +"credentials.metric.total_records" = "Total records" +"credentials.metric.degraded" = "Degraded" "credentials.table.environment" = "Environment" "credentials.table.provider" = "Provider" "credentials.table.purpose" = "Purpose" @@ -920,6 +942,7 @@ "credentials.hourly_limit_placeholder" = "0 = unlimited" "credentials.daily_limit_placeholder" = "0 = unlimited" "credentials.disable" = "Disable" +"credentials.secret_required" = "Secret is required" # ============================================================ # PAGE TITLES & DESCRIPTIONS @@ -987,6 +1010,8 @@ "image_studio.provider.demo_fallback" = "Demo fallback" "workspace.admin_title" = "Admin" "workspace.admin_desc" = "Admin panel" +"workspace.admin_products_title" = "Catalog products" +"workspace.admin_products_desc" = "Browse all products, inspect status, and manage manual 3D generation." "workspace.moderation_title" = "Moderation" "workspace.moderation_desc" = "Admin moderation area" "workspace.credentials_title" = "Credentials" @@ -1143,6 +1168,18 @@ "moderation.sync_failed" = "Approved products could not be queued for search sync." "moderation.view_search_sync" = "View sync jobs" "moderation.approval_blocked_title" = "Product cannot be approved yet" +"admin.products.3d_status" = "3D status" +"admin.products.open_storefront" = "Open storefront page" +"admin.products.view_jobs" = "View 3D jobs" +"admin.products.view_ai_logs" = "View Tripo3D logs" +"admin.products.detail_title" = "Product operations" +"admin.products.detail_subtitle" = "Inspect catalog fields, moderation state, and 3D generation readiness." +"admin.products.force_regenerate" = "Force regenerate 3D" +"admin.products.not_started" = "Not started" +"admin.products.status_blocked" = "Blocked" +"admin.products.status_unavailable" = "Unavailable" +"admin.products.blocked_status" = "3D generation is only available for approved products." +"admin.products.blocked_image" = "Add a primary product image before starting 3D generation." "product.analyze_pending" = "Waiting for AI analysis..." "common.delete" = "Delete" "product.form.compare_at" = "Compare At Price" @@ -1196,6 +1233,8 @@ "product.form.error_category_required" = "Category is required." "product.form.error_price_required" = "Enter a price greater than zero." "product.form.error_image_required" = "Upload at least one product image." +"product.form.published_to_moderation" = "Product published and sent to moderation" +"product.form.created_ai_queued" = "Product created and AI analysis queued" "workspace.draft_edit_title" = "New Product Draft" "workspace.draft_edit_desc" = "Fill in product details and publish" "workspace.product_edit_title" = "Edit Product" diff --git a/internal/platform/i18n/active.tr.toml b/internal/platform/i18n/active.tr.toml index eeb2659..f913bef 100644 --- a/internal/platform/i18n/active.tr.toml +++ b/internal/platform/i18n/active.tr.toml @@ -91,26 +91,26 @@ "home.paths.gift_body" = "Alıcı tipi, bütçe ve kullanım bağlamına göre daha hızlı hediye shortlist'i oluştur." "home.paths.gift_prompt" = "Tasarımı seven bir arkadaş için 3000 TL altında hediye öner" "home.workflow.eyebrow" = "AI karar akışı" -"home.workflow.title" = "Prompttan sonuca." -"home.workflow.body" = "Asistan niyeti okur, sinyali çıkarır, doğru yüzeye yollar." +"home.workflow.title" = "Prompttan sonuca" +"home.workflow.body" = "İstek okunur, temel sinyaller ayrıştırılır, en uygun akış açılır." "home.workflow.input_title" = "Girdi" -"home.workflow.input_body" = "Görsel, bağlam, bütçe." +"home.workflow.input_body" = "İstek; görsel, kullanım bağlamı ve bütçe ile netleşir." "home.workflow.input_prompt" = "Çalışma odam için sıcak ışık veren bir masa lambası bul, 3000 TL altında kalsın." -"home.workflow.input_chip_visual" = "Referans görsel" -"home.workflow.input_chip_context" = "Kullanım bağlamı" -"home.workflow.input_chip_budget" = "Bütçe sinyali" +"home.workflow.input_chip_visual" = "Görsel" +"home.workflow.input_chip_context" = "Bağlam" +"home.workflow.input_chip_budget" = "Bütçe" "home.workflow.analysis_title" = "3 adım" -"home.workflow.analysis_body" = "Oku. Eşle. Yönlendir." -"home.workflow.step_parse_title" = "Prompt ve görseli okur" -"home.workflow.step_parse_body" = "Niyet ve sinyalleri toplar." -"home.workflow.step_map_title" = "Katalog sinyalini çıkarır" -"home.workflow.step_map_body" = "Kategori ve fiyatı netler." -"home.workflow.step_route_title" = "Doğru yüzeyi seçer" -"home.workflow.step_route_body" = "Akışı doğru moda açar." +"home.workflow.analysis_body" = "Akış üç sade karar üzerinden ilerler." +"home.workflow.step_parse_title" = "İsteği okur" +"home.workflow.step_parse_body" = "Niyet, ürün tipi ve ek sinyaller ayrılır." +"home.workflow.step_map_title" = "Aramayı netler" +"home.workflow.step_map_body" = "Kategori, fiyat aralığı ve bağlam belirlenir." +"home.workflow.step_route_title" = "Yüzeyi açar" +"home.workflow.step_route_body" = "Sonuç, en uygun deneyime yönlendirilir." "home.workflow.outputs_title" = "Yüzeyler" -"home.workflow.outputs_body" = "Tek motor, üç sonuç." +"home.workflow.outputs_body" = "Aynı karar mantığı, üç farklı deneyim üretir." "home.workflow.assistant_title" = "Asistan kısa listesi" -"home.workflow.assistant_body" = "Shortlist ve karşılaştırma." +"home.workflow.assistant_body" = "Kısa liste ve karşılaştırma." "home.workflow.room_title" = "Oda önizlemesi" "home.workflow.room_body" = "Mekân içinde yerleştirme." "home.workflow.wear_title" = "Giyilebilir deneme" @@ -126,21 +126,24 @@ # ============================================================ "tryon.title" = "Deneme" -"tryon.heading" = "Oda fotoğrafı yükle, nesneyi yerinde gör." -"tryon.body" = "Lamba, mobilya ve dekor ürünlerini kendi oda fotoğrafınıza yapay zeka ile gerçekçi ışık ve gölgelerle yerleştirin." -"tryon.trust_line" = "AI destekli konumlandırma, gerçekçi ışık ve gölge uyumu ile ürünleri mekanınızda önizleyin." +"tryon.heading" = "Fotoğrafını yükle, ürünü dene." +"tryon.body" = "Mobilya, dekor, nesne ve giyim ürünlerini kendi fotoğrafında yapay zeka ile doğal ışık ve gölgelerle önizle." +"tryon.trust_line" = "AI destekli önizleme ile ürünleri kendi fotoğrafında daha gerçekçi gör." "tryon.room.title" = "Oda önizlemesi" "tryon.room.body" = "Odanızda mobilya ve dekor ürünlerini gerçekçi şekilde önizleyin." "tryon.room.cta" = "Oda ürünlerini keşfet" +"tryon.room.mode" = "ODA" "tryon.wear.title" = "Kıyafet deneme" "tryon.wear.body" = "Kıyafetleri kişi üzerinde AI destekli şekilde deneyin." "tryon.wear.cta" = "Giyim ürünlerini keşfet" +"tryon.wear.mode" = "GİYİM" "tryon.accessory.title" = "Nesne önizlemesi" "tryon.accessory.body" = "Dekor ve aksesuar ürünlerini kendi mekanınızda görün." "tryon.accessory.cta" = "Dekor ürünlerini keşfet" +"tryon.accessory.mode" = "DEKOR" "tryon.cta_preview" = "Önizle" @@ -224,7 +227,7 @@ "credentials.empty_body" = "Post-kuantum şifrelenmiş kimlik bilgilerini ekleyin." "workspace.moderation_table.record" = "Kayıt" -"workspace.header.title" = "BTKCommerce Workspace" +"workspace.header.title" = "BTKCommerce Çalışma Alanı" "assistant.thread.message_count" = "%d mesaj" "assistant.thread.model_info" = "GPT-4 · 2,048 tokens" @@ -310,9 +313,9 @@ "orders.detail.quantity" = "Adet" "orders.detail.back" = "Siparişlere dön" "orders.ask_assistant" = "Asistana sor" -"orders.assistant_recent" = "Takip, odeme durumu veya sonraki adim yardimi icin asistani kullanin." -"orders.assistant_resolve" = "Bu siparis icin yardima mi ihtiyaciniz var?" -"orders.assistant_needs_login" = "Siparisinizi sormak icin giris yapin." +"orders.assistant_recent" = "Takip, ödeme durumu veya sonraki adım yardımı için asistanı kullanın." +"orders.assistant_resolve" = "Bu sipariş için yardıma mı ihtiyacınız var?" +"orders.assistant_needs_login" = "Siparişinizi sormak için giriş yapın." "orders.search_placeholder" = "Ürün veya marka adına göre ara" "orders.date_all" = "Tüm tarihler" "orders.details_action" = "Detaylar" @@ -355,7 +358,7 @@ "success.next.shipping_desc" = "Tahmini teslimat: 2-3 iş günü." "success.cta_orders" = "Siparişlerime git" "success.cta_continue" = "Alışverişe devam et" -"success.cta_assistant" = "Bu siparisi asistana sor" +"success.cta_assistant" = "Bu siparişi asistana sor" # ============================================================ # STATUS @@ -373,15 +376,20 @@ "status.rejected" = "Reddedildi" "status.paid" = "Ödendi" "status.unfulfilled" = "Henüz gönderilmedi" +"status.disabled" = "Devre dışı" +"status.cooldown" = "Beklemede" +"status.auth_failed" = "Kimlik doğrulama hatası" +"status.manually_disabled" = "Elle devre dışı" # ============================================================ # FOOTER # ============================================================ -"footer.tagline" = "BTKCommerce - Yapay zekâ destekli alışveriş deneyimi" +"footer.tagline" = "BTKCommerce by Vesta Vision" "footer.discover" = "Keşfet" "footer.search" = "Arama" "footer.assistant" = "Asistan" +"workspace.footer_brand" = "BTKCommerce by Vesta Vision" # ============================================================ # ASSISTANT @@ -410,65 +418,65 @@ "assistant.thread.ai" = "AI Asistanı" "assistant.thread.user" = "Siz" "assistant.thread.cited" = "kaynaklı" -"assistant.thread.input_placeholder" = "Mesajinizi yazin..." +"assistant.thread.input_placeholder" = "Mesajınızı yazın..." "assistant.thread.attach" = "Dosya ekle" "assistant.thread.send" = "Gönder" "assistant.thread.streaming" = "Yazıyor..." "assistant.thread.thinking" = "Düşünüyor..." "assistant.landing.title" = "Nereye gitmek istersiniz?" -"assistant.landing.body" = "Dogal sekilde yazin, bir sonraki adima cevireyim." -"assistant.thread.order_context" = "Siparis baglami" -"assistant.order.open" = "Siparisi ac" -"assistant.order.recent" = "Son siparis" -"assistant.order.tracking_missing" = "Henuz takip bilgisi yok" +"assistant.landing.body" = "Doğal şekilde yazın, bir sonraki adıma çevireyim." +"assistant.thread.order_context" = "Sipariş bağlamı" +"assistant.order.open" = "Siparişi aç" +"assistant.order.recent" = "Son sipariş" +"assistant.order.tracking_missing" = "Henüz takip bilgisi yok" "assistant.seller.action_needed" = "Gereken aksiyon" -"assistant.seller.next_step" = "Sonraki adim" +"assistant.seller.next_step" = "Sonraki adım" "assistant.seller.blocked" = "Mevcut engel" -"assistant.seller.reply_draft" = "Musteri guncelleme taslagi" -"assistant.seller.ready_to_ship" = "Kargoya hazir" -"assistant.seller.shipment_in_progress" = "Gonderi ilerliyor" -"assistant.seller.payment_blocked" = "Odeme blokeli" -"assistant.seller.review_needed" = "Inceleme gerekli" +"assistant.seller.reply_draft" = "Müşteri güncelleme taslağı" +"assistant.seller.ready_to_ship" = "Kargoya hazır" +"assistant.seller.shipment_in_progress" = "Gönderi ilerliyor" +"assistant.seller.payment_blocked" = "Ödeme blokeli" +"assistant.seller.review_needed" = "İnceleme gerekli" "assistant.approval.pending" = "Onay bekliyor" -"assistant.approval.approved" = "Onaylandi" +"assistant.approval.approved" = "Onaylandı" "assistant.approval.rejected" = "Reddedildi" -"assistant.approval.expired" = "Suresi doldu" -"assistant.approval.failed" = "Basarisiz" -"assistant.approval.warning" = "Onaylamadan once aksiyon ayrintilarini gozden gecirin." -"assistant.sidebar_guest_hint" = "Onceki sohbetlerinizi yuklemek icin oturum acin." -"assistant.failure_title" = "Asistan yaniti olusturulamadi" -"assistant.failure_body" = "Asistan bu yaniti tamamlayamadi. Tekrar deneyebilirsiniz." +"assistant.approval.expired" = "Süresi doldu" +"assistant.approval.failed" = "Başarısız" +"assistant.approval.warning" = "Onaylamadan önce aksiyon ayrıntılarını gözden geçirin." +"assistant.sidebar_guest_hint" = "Önceki sohbetlerinizi yüklemek için oturum açın." +"assistant.failure_title" = "Asistan yanıtı oluşturulamadı" +"assistant.failure_body" = "Asistan bu yanıtı tamamlayamadı. Tekrar deneyebilirsiniz." "assistant.retry" = "Tekrar dene" -"assistant.copied" = "Kopyalandi" +"assistant.copied" = "Kopyalandı" "assistant.feedback_saved" = "Geri bildirim kaydedildi" -"assistant.feedback_positive" = "Olumlu geri bildiriminiz alindi" -"assistant.feedback_negative" = "Geri bildiriminiz alindi" -"assistant.shared.title" = "Paylasilan sohbet" -"assistant.shared.body" = "Bu thread yalnizca okunabilir paylasim gorunumudur. Kendi asistan sohbetinizi baslatmak icin oturum acin." +"assistant.feedback_positive" = "Olumlu geri bildiriminiz alındı" +"assistant.feedback_negative" = "Geri bildiriminiz alındı" +"assistant.shared.title" = "Paylaşılan sohbet" +"assistant.shared.body" = "Bu thread yalnızca okunabilir paylaşım görünümüdür. Kendi asistan sohbetinizi başlatmak için oturum açın." "assistant.share.copy" = "Public linki kopyala" -"assistant.share.create" = "Public link olustur" -"assistant.share.disable" = "Public gorunumu kapat" -"assistant.share.copied" = "Public link kopyalandi" -"assistant.share.disabled" = "Public gorunum kapatildi" -"assistant.share.unavailable" = "Bu konusma icin public gorunum kullanilamiyor" -"assistant.share.failed" = "Public gorunum guncellenemedi" +"assistant.share.create" = "Public link oluştur" +"assistant.share.disable" = "Public görünümü kapat" +"assistant.share.copied" = "Public link kopyalandı" +"assistant.share.disabled" = "Public görünüm kapatıldı" +"assistant.share.unavailable" = "Bu konuşma için public görünüm kullanılamıyor" +"assistant.share.failed" = "Public görünüm güncellenemedi" "assistant.quick.product" = "Ürün önerisi" "assistant.quick.outfit" = "Kombin tamamlama" "assistant.quick.room" = "Oda stili" "assistant.quick.gift" = "Hediye fikri" -"assistant.seller.landing.title" = "Simdi hangi aksiyon gerekli?" -"assistant.seller.landing.body" = "Fulfillment, odeme engelleri veya musteri guncellemeleri icin workspaceten cikmadan yazin." -"assistant.seller.quick.queue" = "Kuyruk ozeti" -"assistant.seller.quick.blocked" = "Odeme blokeli siparisler" -"assistant.seller.quick.reply" = "Musteri guncelleme taslagi" -"assistant.seller.quick.ship" = "Once kargolanacaklar" +"assistant.seller.landing.title" = "Şimdi hangi aksiyon gerekli?" +"assistant.seller.landing.body" = "Fulfillment, ödeme engelleri veya müşteri güncellemeleri için workspace'ten çıkmadan yazın." +"assistant.seller.quick.queue" = "Kuyruk özeti" +"assistant.seller.quick.blocked" = "Ödeme blokeli siparişler" +"assistant.seller.quick.reply" = "Müşteri güncelleme taslağı" +"assistant.seller.quick.ship" = "Önce kargolanacaklar" "assistant.admin.landing.title" = "Neyi inceleyelim?" -"assistant.admin.landing.body" = "Platform sagligi, moderasyon, search sync veya son AI hatalari icin dogrudan yazin." -"assistant.admin.quick.overview" = "Platform ozeti" -"assistant.admin.quick.failures" = "Son AI hatalari" -"assistant.admin.quick.moderation" = "Moderasyon kuyrugu" -"assistant.admin.quick.search_sync" = "Search sync sagligi" +"assistant.admin.landing.body" = "Platform sağlığı, moderasyon, search sync veya son AI hataları için doğrudan yazın." +"assistant.admin.quick.overview" = "Platform özeti" +"assistant.admin.quick.failures" = "Son AI hataları" +"assistant.admin.quick.moderation" = "Moderasyon kuyruğu" +"assistant.admin.quick.search_sync" = "Search sync sağlığı" # ============================================================ # PRODUCT DETAIL @@ -716,6 +724,10 @@ "workspace.admin.moderation_empty_body" = "Satıcılar ilan gönderdiğinde bekleyen ürün incelemeleri burada görünür." "workspace.admin.vendors_empty_title" = "Gösterilecek satıcı yok" "workspace.admin.vendors_empty_body" = "Satıcılar ve ilanlar oluştukça satıcı sağlığı satırları burada görünecek." +"workspace.admin.products" = "Katalog ürünleri" +"workspace.admin.products_body" = "Tüm ürünleri, vitrindeki hazır olma durumlarını ve 3D üretim durumlarını inceleyin." +"workspace.admin.products_empty_title" = "Eşleşen ürün yok" +"workspace.admin.products_empty_body" = "Filtreleri temizleyin veya yeni ürünlerin gelmesini bekleyin." "workspace.welcome_title" = "Tekrar hoş geldin, %s" "workspace.welcome_desc" = "Bugün neler yapmak istersin?" "workspace.quick_actions" = "Hızlı İşlemler" @@ -734,6 +746,7 @@ "workspace.nav.jobs" = "Görevler" "workspace.nav.search_sync" = "Arama Senkronizasyonu" "workspace.nav.credentials" = "AI Kimlikleri" +"workspace.nav.catalog" = "Katalog" "workspace.table.order" = "Sipariş" "workspace.table.customer" = "Müşteri" @@ -757,9 +770,11 @@ "workspace.ai_logs.job" = "İş" "workspace.ai_logs.latency" = "Gecikme" "workspace.ai_logs.filter_all" = "Tüm loglar" +"workspace.ai_logs.filter_success" = "Başarılı" "workspace.ai_logs.filter_tripo3d" = "Tripo3D" "workspace.ai_logs.status" = "Durum" "workspace.ai_logs.query" = "Arama" +"workspace.ai_logs.query_placeholder" = "Operasyon, model, job id veya ürün ara" "workspace.ai_logs.detail" = "Log detayı" "workspace.ai_logs.related_job" = "İlgili iş" "workspace.ai_logs_title" = "AI logları" @@ -779,8 +794,8 @@ "workspace.jobs.attempts" = "Deneme" "workspace.jobs.retry" = "Yeniden deneme" "workspace.jobs.query" = "Arama" -"workspace.jobs.bulk_retry" = "Seçilileri yeniden dene" -"workspace.jobs.bulk_cancel" = "Seçilileri iptal et" +"workspace.jobs.bulk_retry" = "Seçilenleri yeniden dene" +"workspace.jobs.bulk_cancel" = "Seçilenleri iptal et" "workspace.jobs.events" = "Zaman akışı" "workspace.jobs.related_requests" = "İlgili AI istekleri" "workspace.jobs.payload" = "Payload" @@ -788,6 +803,11 @@ "workspace.jobs.event_type" = "Olay" "workspace.jobs.action_retry" = "Yeniden dene" "workspace.jobs.action_cancel" = "İptal et" + +"assistant.change_summary.one" = "%s güncellendi." +"assistant.change_summary.two" = "%s ve %s güncellendi." +"assistant.change_summary.three" = "%s, %s ve %s güncellendi." +"assistant.change_summary.many" = "%s, %s ve diğer alanlar güncellendi." "workspace.jobs.action_open" = "Aç" "workspace.jobs.filter_all" = "Tümü" "workspace.jobs_title" = "Arka plan işleri" @@ -896,6 +916,7 @@ "common.columns" = "Kolonlar" "common.reset" = "Sıfırla" "common.details" = "Detaylar" +"common.upload_failed" = "Yükleme başarısız oldu" # ============================================================ # AI CREDENTIALS @@ -905,6 +926,8 @@ "workspace.credentials" = "AI Kimlikleri" "workspace.header.credentials" = "AI kimlikleri yönetimi" "credentials.table.id" = "Kimlik" +"credentials.metric.total_records" = "Toplam kayıt" +"credentials.metric.degraded" = "Sorunlu" "credentials.table.environment" = "Ortam" "credentials.table.provider" = "Sağlayıcı" "credentials.table.purpose" = "Amaç" @@ -949,12 +972,13 @@ "credentials.purpose.image_to_3d" = "3D Model Uretimi" "credentials.purpose.virtual_try_on" = "Sanal Deneme" "credentials.purpose.review_summarization" = "Yorum Ozeti" -"credentials.purpose.search_analyze" = "Gorsel Arama Analizi" +"credentials.purpose.search_analyze" = "Görsel Arama Analizi" "credentials.secret_placeholder" = "Gizli değer veya JSON payload" "credentials.priority_placeholder" = "0" "credentials.hourly_limit_placeholder" = "0 = limitsiz" "credentials.daily_limit_placeholder" = "0 = limitsiz" "credentials.disable" = "Devre dışı bırak" +"credentials.secret_required" = "Gizli anahtar zorunludur" # ============================================================ # PAGE TITLES & DESCRIPTIONS @@ -1022,6 +1046,8 @@ "image_studio.provider.demo_fallback" = "Demo yedek" "workspace.admin_title" = "Yönetim" "workspace.admin_desc" = "Yönetim paneli" +"workspace.admin_products_title" = "Katalog ürünleri" +"workspace.admin_products_desc" = "Tüm ürünleri görüntüleyin, durumlarını inceleyin ve manuel 3D üretimini yönetin." "workspace.moderation_title" = "İnceleme" "workspace.moderation_desc" = "Yönetim inceleme alanı" "workspace.credentials_title" = "Kimlik bilgileri" @@ -1169,6 +1195,8 @@ "product.form.error_category_required" = "Kategori zorunludur." "product.form.error_price_required" = "Sıfırdan büyük bir fiyat girin." "product.form.error_image_required" = "En az bir ürün görseli yükleyin." +"product.form.published_to_moderation" = "Ürün yayınlandı ve moderasyona gönderildi" +"product.form.created_ai_queued" = "Ürün oluşturuldu, AI analizi kuyruğa alındı" "workspace.draft_edit_title" = "Yeni Ürün Taslağı" "workspace.draft_edit_desc" = "Ürün bilgilerini doldurun ve yayınlayın" "workspace.product_edit_title" = "Ürün Düzenle" @@ -1202,3 +1230,15 @@ "moderation.sync_failed" = "Onaylı ürünler arama senkronu kuyruğuna alınamadı." "moderation.view_search_sync" = "Senkron işlerini görüntüle" "moderation.approval_blocked_title" = "Ürün henüz onaylanamaz" +"admin.products.3d_status" = "3D durumu" +"admin.products.open_storefront" = "Vitrin sayfasını aç" +"admin.products.view_jobs" = "3D işlerini görüntüle" +"admin.products.view_ai_logs" = "Tripo3D loglarını görüntüle" +"admin.products.detail_title" = "Ürün operasyonu" +"admin.products.detail_subtitle" = "Katalog alanlarını, moderasyon durumunu ve 3D üretim hazırlığını inceleyin." +"admin.products.force_regenerate" = "3D modeli zorla yeniden üret" +"admin.products.not_started" = "Başlatılmadı" +"admin.products.status_blocked" = "Bloklu" +"admin.products.status_unavailable" = "Kullanılamıyor" +"admin.products.blocked_status" = "3D üretim yalnızca onaylı ürünlerde kullanılabilir." +"admin.products.blocked_image" = "3D üretimi başlatmadan önce birincil ürün görseli ekleyin." diff --git a/internal/platform/i18n/i18n_test.go b/internal/platform/i18n/i18n_test.go index 6c5c2da..22bf6d4 100644 --- a/internal/platform/i18n/i18n_test.go +++ b/internal/platform/i18n/i18n_test.go @@ -4,6 +4,8 @@ import ( "net/http" "net/http/httptest" "os" + "slices" + "strings" "testing" "unicode/utf8" @@ -40,6 +42,30 @@ func TestResolveLanguageAlwaysReturnsTurkish(t *testing.T) { } } +func TestLocaleFilesShareSameKeys(t *testing.T) { + trMessages := loadMessages(t, "active.tr.toml") + enMessages := loadMessages(t, "active.en.toml") + + var missingInTR []string + for key := range enMessages { + if _, ok := trMessages[key]; !ok { + missingInTR = append(missingInTR, key) + } + } + var missingInEN []string + for key := range trMessages { + if _, ok := enMessages[key]; !ok { + missingInEN = append(missingInEN, key) + } + } + slices.Sort(missingInTR) + slices.Sort(missingInEN) + + if len(missingInTR) > 0 || len(missingInEN) > 0 { + t.Fatalf("locale key mismatch: missing in tr=%v missing in en=%v", missingInTR, missingInEN) + } +} + func TestTurkishTranslationsAreUTF8AndParse(t *testing.T) { data, err := os.ReadFile("active.tr.toml") if err != nil { @@ -49,19 +75,43 @@ func TestTurkishTranslationsAreUTF8AndParse(t *testing.T) { t.Fatal("active.tr.toml is not valid UTF-8") } - var messages map[string]string - if err := toml.Unmarshal(data, &messages); err != nil { - t.Fatalf("parse active.tr.toml: %v", err) - } + messages := loadMessages(t, "active.tr.toml") tests := map[string]string{ - "site.tagline": "Yapay zekâ destekli alışveriş deneyimi", - "account.2fa": "İki aşamalı doğrulama", - "checkout.country_default": "Türkiye", + "site.tagline": "Yapay zekâ destekli alışveriş deneyimi", + "account.2fa": "İki aşamalı doğrulama", + "checkout.country_default": "Türkiye", + "workspace.header.title": "BTKCommerce Çalışma Alanı", + "credentials.metric.total_records": "Toplam kayıt", + "status.cooldown": "Beklemede", } for key, want := range tests { if got := messages[key]; got != want { t.Fatalf("%s = %q, want %q", key, got, want) } } + + lower := strings.ToLower(string(data)) + for _, banned := range []string{ + "odeme", "siparis", "gorsel", "musteri", "yardim", "guncel", "yanit", "basarisiz", + } { + if strings.Contains(lower, banned) { + t.Fatalf("active.tr.toml still contains ASCII transliteration %q", banned) + } + } +} + +func loadMessages(t *testing.T, path string) map[string]string { + t.Helper() + + data, err := os.ReadFile(path) + if err != nil { + t.Fatalf("read %s: %v", path, err) + } + + var messages map[string]string + if err := toml.Unmarshal(data, &messages); err != nil { + t.Fatalf("parse %s: %v", path, err) + } + return messages } diff --git a/internal/platform/seed/visuals_test.go b/internal/platform/seed/visuals_test.go index 03e206e..292a2c6 100644 --- a/internal/platform/seed/visuals_test.go +++ b/internal/platform/seed/visuals_test.go @@ -26,7 +26,7 @@ func TestReadVisualArtifact(t *testing.T) { HeroImageKey: "seed/demo/products/demo-product/demo-product-hero.jpg", InputFingerprint: "fingerprint", VisualCategory: "Giyim", - VisualDescription: "Kisa aciklama", + VisualDescription: "Kısa açıklama", Tags: []string{"denim"}, Colors: []string{"mavi"}, Material: "Denim", @@ -54,7 +54,7 @@ func TestVisualRowChanged(t *testing.T) { current := seedVisualProductRow{ Slug: "demo-product", VisualCategory: "Giyim", - VisualDesc: "Eski aciklama", + VisualDesc: "Eski açıklama", Size: "M", Material: "Denim", Style: "Minimal", @@ -65,7 +65,7 @@ func TestVisualRowChanged(t *testing.T) { row := VisualArtifactRecord{ Slug: "demo-product", VisualCategory: "Giyim", - VisualDescription: "Yeni aciklama", + VisualDescription: "Yeni açıklama", Size: "M", Material: "Denim", Style: "Minimal", @@ -76,7 +76,7 @@ func TestVisualRowChanged(t *testing.T) { if !visualRowChanged(current, row) { t.Fatalf("expected row to be detected as changed") } - row.VisualDescription = "Eski aciklama" + row.VisualDescription = "Eski açıklama" if visualRowChanged(current, row) { t.Fatalf("expected row to be unchanged") } diff --git a/internal/platform/server/app.go b/internal/platform/server/app.go index 11977b0..9e56cb0 100644 --- a/internal/platform/server/app.go +++ b/internal/platform/server/app.go @@ -1592,7 +1592,7 @@ func (a *App) routes() { now := time.Now().UTC() a.deps.DB.WithContext(ctx).Model(&catalog.ProductUpload{}).Where("product_slug = ?", slug).Update("used_at", now) - w.Header().Set("HX-Trigger", `{"showToast":"Product published and sent to moderation"}`) + w.Header().Set("HX-Trigger", `{"showToast":"`+labels.ProductFormPublishedToModeration+`"}`) http.Redirect(w, r, "/seller/products", http.StatusSeeOther) }) r.Post("/seller/products", func(w http.ResponseWriter, r *http.Request) { @@ -1723,7 +1723,7 @@ func (a *App) routes() { log.Printf("failed to enqueue product analyze job: %v", err) } - w.Header().Set("HX-Trigger", `{"showToast":"Product created — AI analysis queued"}`) + w.Header().Set("HX-Trigger", `{"showToast":"`+labels.ProductFormCreatedAIQueued+`"}`) http.Redirect(w, r, "/seller/products", http.StatusSeeOther) }) r.Get("/seller/products/{slug}/edit", func(w http.ResponseWriter, r *http.Request) { @@ -1837,6 +1837,7 @@ func (a *App) routes() { if err := a.queueProductSearchSync(ctx, finalSlug); err != nil { log.Printf("failed to enqueue product search sync for %s: %v", finalSlug, err) } + w.Header().Set("HX-Trigger", `{"showToast":"`+labels.ProductFormPublishedToModeration+`"}`) http.Redirect(w, r, "/seller/products", http.StatusSeeOther) return } @@ -2406,6 +2407,34 @@ func (a *App) routes() { r.Post("/admin/search-sync/reconcile", func(w http.ResponseWriter, r *http.Request) { a.handleAdminSearchSyncReconcile(w, r, "/admin/search-sync") }) + r.Get("/admin/products", func(w http.ResponseWriter, r *http.Request) { + loc := p18n.NewLocalizer(r) + labels := resolveLabels(loc) + page, err := a.adminProductsListPage(r.Context(), r, labels) + if err != nil { + a.serverError(w, err) + return + } + page.AssistantURL = adminAssistantPromptURL(localizedAdminAssistantPrompt("moderation", "")) + a.render(w, r, pages.AdminProductsList(a.pageProps(r, loc, "workspace.admin_products_title", "workspace.admin_products_desc"), page, labels)) + }) + r.Get("/admin/products/{slug}", func(w http.ResponseWriter, r *http.Request) { + loc := p18n.NewLocalizer(r) + labels := resolveLabels(loc) + slug := chi.URLParam(r, "slug") + product, ok := a.catalog.Product(slug) + if !ok { + http.NotFound(w, r) + return + } + page, err := a.adminProductDetailPage(r.Context(), product, labels, "/admin/products") + if err != nil { + a.serverError(w, err) + return + } + page.ValidationError = strings.TrimSpace(r.URL.Query().Get("validation_error")) + a.render(w, r, pages.AdminProductDetail(a.pageProps(r, loc, "workspace.admin_products_title", "workspace.admin_products_desc"), page, labels)) + }) r.Get("/admin/moderation/products/{slug}", func(w http.ResponseWriter, r *http.Request) { loc := p18n.NewLocalizer(r) labels := resolveLabels(loc) @@ -2469,7 +2498,7 @@ func (a *App) routes() { r.Get("/admin/ai-credentials", func(w http.ResponseWriter, r *http.Request) { loc := p18n.NewLocalizer(r) labels := resolveLabels(loc) - page := a.admin.Credentials(r.Context()) + page := a.admin.Credentials(r.Context(), labels) a.render(w, r, pages.AdminAICredentials(a.pageProps(r, loc, "workspace.credentials_title", "workspace.credentials_desc"), page, labels)) }) r.Get("/admin/ai-credentials/new", func(w http.ResponseWriter, r *http.Request) { @@ -2538,6 +2567,12 @@ func (a *App) routes() { } a.render(w, r, pages.AdminJobDetail(a.pageProps(r, loc, "workspace.jobs_title", "workspace.jobs_desc"), page, labels)) }) + r.Post("/fragments/admin/products/{slug}/model-3d", func(w http.ResponseWriter, r *http.Request) { + a.handleAdminProductModel3D(w, r) + }) + r.Get("/fragments/admin/products/{slug}/model-3d/{id}", func(w http.ResponseWriter, r *http.Request) { + a.handleAdminProductModel3DPoll(w, r) + }) }) a.router.Post("/admin/jobs/{id}/retry", func(w http.ResponseWriter, r *http.Request) { a.handleAdminJobRetry(w, r) @@ -2552,6 +2587,8 @@ func (a *App) routes() { a.handleAdminJobBulkCancel(w, r) }) a.router.Post("/admin/ai-credentials/add", func(w http.ResponseWriter, r *http.Request) { + loc := p18n.NewLocalizer(r) + labels := resolveLabels(loc) if err := r.ParseForm(); err != nil { a.badRequest(w, err) return @@ -2561,7 +2598,7 @@ func (a *App) routes() { purpose := r.FormValue("purpose") secret := r.FormValue("secret") if secret == "" { - http.Error(w, "secret is required", http.StatusBadRequest) + http.Error(w, labels.CredentialsSecretRequired, http.StatusBadRequest) return } priority, _ := strconv.Atoi(strings.TrimSpace(r.FormValue("priority"))) @@ -2628,10 +2665,12 @@ func (a *App) routes() { a.render(w, r, frag.SearchResults(page, labels)) }) a.router.Post("/fragments/search/upload", func(w http.ResponseWriter, r *http.Request) { - card, status, err := a.handleUpload(r) + loc := p18n.NewLocalizer(r) + labels := resolveLabels(loc) + card, status, err := a.handleUpload(r, labels) if err != nil { log.Printf("upload error: %v", err) - http.Error(w, "Upload failed", status) + http.Error(w, labels.CommonUploadFailed, status) return } w.Header().Set("Content-Type", "application/json") @@ -3216,22 +3255,22 @@ func localizedSellerAssistantPrompt(topic, locale string) string { if locale == "en" { return "Show payment-blocked orders" } - return "Odeme blokeli siparisleri goster" + return "Ödeme blokeli siparişleri göster" case "reply": if locale == "en" { return "Draft a buyer update" } - return "Musteri icin guncelleme taslagi hazirla" + return "Müşteri için güncelleme taslağı hazırla" case "ship": if locale == "en" { return "Which orders need shipping first?" } - return "Hangi siparisler once kargolanmali?" + return "Hangi siparişler önce kargolanmalı?" default: if locale == "en" { return "Show my queue summary" } - return "Kuyruk ozetimi goster" + return "Kuyruk özetimi göster" } } @@ -3284,25 +3323,35 @@ func localizedAdminAssistantPrompt(topic, slug string) string { slug = strings.TrimSpace(slug) switch topic { case "moderation": - return "Moderasyon kuyrugunu ve oncelikli kayitlari ozetle" + return "Moderasyon kuyruğunu ve öncelikli kayıtları özetle" case "search_sync": if slug != "" { - return "Arama senkron sagligini ozetle slug: " + slug + return "Arama senkron sağlığını özetle slug: " + slug } - return "Arama senkron sagligini ve son hatalari ozetle" + return "Arama senkron sağlığını ve son hataları özetle" case "ai_logs": - return "Son AI hata ve gecikme sinyallerini ozetle" + return "Son AI hata ve gecikme sinyallerini özetle" default: - return "Admin platform sagligini, moderasyon kuyrugunu, arama senkronunu ve AI hata sinyallerini ozetle" + return "Admin platform sağlığını, moderasyon kuyruğunu, arama senkronunu ve AI hata sinyallerini özetle" } } func (a *App) requireAuth(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - if _, ok := a.authUser(r); !ok { + claims, ok := a.authUser(r) + if !ok { http.Redirect(w, r, authPathWithReturn("/login", r.URL.RequestURI()), http.StatusSeeOther) return } + if _, err := a.auth.GetUserByID(r.Context(), claims.UserID); err != nil { + if errors.Is(err, authService.ErrUnauthorized) { + a.clearAuthCookie(w) + http.Redirect(w, r, authPathWithReturn("/login", r.URL.RequestURI()), http.StatusSeeOther) + return + } + a.serverError(w, fmt.Errorf("failed to validate authenticated user: %w", err)) + return + } next.ServeHTTP(w, r) }) } @@ -3525,7 +3574,7 @@ func componentSummary(checks []domainruntime.HealthCheck) domainruntime.Componen return summary } -func (a *App) handleUpload(r *http.Request) (viewmodel.UploadCard, int, error) { +func (a *App) handleUpload(r *http.Request, labels viewmodel.SiteLabels) (viewmodel.UploadCard, int, error) { asset, status, err := a.handleUploadRaw(r) if err != nil { return viewmodel.UploadCard{}, status, err @@ -3533,7 +3582,7 @@ func (a *App) handleUpload(r *http.Request) (viewmodel.UploadCard, int, error) { return viewmodel.UploadCard{ ID: asset.ID, ImageURL: asset.URL, - Title: "uploaded", + Title: labels.SearchUploadCompleted, }, http.StatusOK, nil } @@ -7891,8 +7940,153 @@ func (a *App) publishDraftProduct(ctx context.Context, currentSlug string, exist return currentSlug, nil } +func (a *App) adminProductsListPage(ctx context.Context, r *http.Request, labels viewmodel.SiteLabels) (viewmodel.AdminProductListPage, error) { + currentPage := parsePositivePage(r.URL.Query().Get("page")) + query := strings.TrimSpace(r.URL.Query().Get("q")) + status := strings.TrimSpace(r.URL.Query().Get("status")) + result, err := a.catalog.AdminList(ctx, catalog.AdminListOptions{ + Query: query, + Status: status, + Page: currentPage, + PageSize: 25, + }) + if err != nil { + return viewmodel.AdminProductListPage{}, err + } + page := viewmodel.AdminProductListPage{ + Query: query, + Status: status, + FilterActionURL: "/admin/products", + ClearURL: "/admin/products", + StatusFilters: a.adminProductStatusFilters(query, status, labels), + Products: make([]viewmodel.AdminProductListRow, 0, len(result.Items)), + } + for _, product := range result.Items { + row, rowErr := a.adminProductListRowViewModel(ctx, product, labels) + if rowErr != nil { + return viewmodel.AdminProductListPage{}, rowErr + } + page.Products = append(page.Products, row) + } + page.Pagination = buildSearchSyncPagination(result.Page, result.TotalPages, result.TotalItems, result.PageSize, func(targetPage int) string { + return buildAdminProductsListURL(query, status, targetPage) + }) + return page, nil +} + +func (a *App) adminProductStatusFilters(query, activeStatus string, labels viewmodel.SiteLabels) []viewmodel.NavItem { + items := []viewmodel.NavItem{{ + Label: labels.WorkspaceJobsFilterAll, + Href: buildAdminProductsListURL(query, "", 1), + IsActive: strings.TrimSpace(activeStatus) == "", + }} + statuses := []struct { + value string + label string + }{ + {value: "approved", label: labels.StatusReady}, + {value: "pending", label: labels.StatusPending}, + {value: "rejected", label: labels.StatusRejected}, + {value: "draft", label: labels.StatusPreparing}, + } + for _, item := range statuses { + items = append(items, viewmodel.NavItem{ + Label: item.label, + Href: buildAdminProductsListURL(query, item.value, 1), + IsActive: activeStatus == item.value, + }) + } + return items +} + +func buildAdminProductsListURL(query, status string, page int) string { + values := url.Values{} + if query = strings.TrimSpace(query); query != "" { + values.Set("q", query) + } + if status = strings.TrimSpace(status); status != "" { + values.Set("status", status) + } + if page > 1 { + values.Set("page", strconv.Itoa(page)) + } + if encoded := values.Encode(); encoded != "" { + return "/admin/products?" + encoded + } + return "/admin/products" +} + +func (a *App) adminProductListRowViewModel(ctx context.Context, p catalog.Product, labels viewmodel.SiteLabels) (viewmodel.AdminProductListRow, error) { + asset, tone, _, _, _, err := a.adminProduct3DPresentation(ctx, p, labels, "/fragments/admin/products/"+p.Slug+"/model-3d/") + if err != nil { + return viewmodel.AdminProductListRow{}, err + } + row := viewmodel.AdminProductListRow{ + Slug: p.Slug, + Title: p.Title, + Vendor: p.Vendor, + Category: p.Category, + ImageURL: catalog.PrimaryImageURLForProduct(p), + Price: catalog.FormatPrice(p.Price), + SellerID: p.SellerID, + Status: localizedProductStatus(p.Status, labels), + Model3DStatus: firstNonEmpty(asset.Status, labels.AdminProducts3DNotStarted), + Model3DStatusTone: tone, + UpdatedAt: p.UpdatedAt.Format("02 Jan 2006 15:04"), + DetailURL: "/admin/products/" + p.Slug, + } + if row.ImageURL == "" { + row.ImageURL = "/assets/img/placeholder.svg" + } + if u, err := a.auth.GetUserByID(ctx, p.SellerID); err == nil { + row.SellerEmail = u.Email + } + return row, nil +} + func (a *App) adminModerationDetailPage(ctx context.Context, p catalog.Product, labels viewmodel.SiteLabels) (viewmodel.AdminModerationDetailPage, error) { - page := viewmodel.AdminModerationDetailPage{ + base, err := a.adminProductDetailPage(ctx, p, labels, "/admin/moderation") + if err != nil { + return viewmodel.AdminModerationDetailPage{}, err + } + return viewmodel.AdminModerationDetailPage{ + ProductSlug: base.ProductSlug, + Title: base.Title, + Vendor: base.Vendor, + Category: base.Category, + Price: base.Price, + CompareAt: base.CompareAt, + Status: base.Status, + SellerID: base.SellerID, + SellerEmail: base.SellerEmail, + CreatedAt: base.CreatedAt, + ModeratedAt: base.ModeratedAt, + ModerationReason: base.ModerationReason, + Description: base.Description, + Highlights: append([]string(nil), base.Highlights...), + Tags: append([]string(nil), base.Tags...), + Colors: append([]string(nil), base.Colors...), + Keywords: append([]string(nil), base.Keywords...), + MetaTitle: base.MetaTitle, + MetaDescription: base.MetaDescription, + Size: base.Size, + Material: base.Material, + Style: base.Style, + Gallery: append([]viewmodel.ProductImageAsset(nil), base.Gallery...), + ApproveURL: "/admin/moderation/products/" + p.Slug + "/approve", + RejectURL: "/admin/moderation/products/" + p.Slug + "/reject", + CanApprove: p.Status == "pending", + CanReject: p.Status == "pending", + SearchSyncStatus: base.SearchSyncStatus, + SearchSyncError: base.SearchSyncError, + SearchSyncUpdated: base.SearchSyncUpdated, + SearchSyncURL: base.SearchSyncURL, + ValidationError: base.ValidationError, + }, nil +} + +func (a *App) adminProductDetailPage(ctx context.Context, p catalog.Product, labels viewmodel.SiteLabels, backURL string) (viewmodel.AdminProductDetailPage, error) { + page := viewmodel.AdminProductDetailPage{ ProductSlug: p.Slug, Title: p.Title, Vendor: p.Vendor, @@ -7902,6 +8096,7 @@ func (a *App) adminModerationDetailPage(ctx context.Context, p catalog.Product, Status: localizedProductStatus(p.Status, labels), SellerID: p.SellerID, CreatedAt: p.CreatedAt.Format("02 Jan 2006 15:04"), + UpdatedAt: p.UpdatedAt.Format("02 Jan 2006 15:04"), ModerationReason: p.ModerationReason, Description: p.Description, Highlights: append([]string(nil), p.Highlights...), @@ -7913,11 +8108,16 @@ func (a *App) adminModerationDetailPage(ctx context.Context, p catalog.Product, Size: p.Size, Material: p.Material, Style: p.Style, - ApproveURL: "/admin/moderation/products/" + p.Slug + "/approve", - RejectURL: "/admin/moderation/products/" + p.Slug + "/reject", + BackURL: backURL, + ProductURL: "/products/" + p.Slug, SearchSyncURL: "/admin/search-sync?slug=" + url.QueryEscape(p.Slug), - CanApprove: p.Status == "pending", - CanReject: p.Status == "pending", + Model3DPostURL: "/fragments/admin/products/" + p.Slug + "/model-3d", + Model3DForceURL: "/fragments/admin/products/" + p.Slug + "/model-3d", + Model3DJobsURL: buildAdminJobsListURL(p.Slug, "", string(vision.JobKindModel3DGenerate), "", 1), + Model3DLogsURL: buildAILogsURL("tripo3d", "", "", p.Slug, ""), + } + if p.Status != "approved" { + page.ProductURL = "" } if p.ModeratedAt != nil { page.ModeratedAt = p.ModeratedAt.Format("02 Jan 2006 15:04") @@ -7925,53 +8125,259 @@ func (a *App) adminModerationDetailPage(ctx context.Context, p catalog.Product, if u, err := a.auth.GetUserByID(ctx, p.SellerID); err == nil { page.SellerEmail = u.Email } + page.Gallery = a.adminProductGallery(p) + if a.deps != nil && a.deps.SearchSync != nil { + job, ok, err := a.deps.SearchSync.StatusForSlug(ctx, p.Slug) + if err != nil { + return viewmodel.AdminProductDetailPage{}, fmt.Errorf("failed to load search sync status: %w", err) + } + if ok { + page.SearchSyncStatus = localizedSyncStatus(job.Status, labels) + page.SearchSyncError = job.LastError + page.SearchSyncUpdated = job.UpdatedAt.Format("02 Jan 2006 15:04") + } + } + asset, _, disabledReason, canStart, canForce, err := a.adminProduct3DPresentation(ctx, p, labels, "/fragments/admin/products/"+p.Slug+"/model-3d/") + if err != nil { + return viewmodel.AdminProductDetailPage{}, err + } + page.Model3D = asset + page.Model3DDisabledReason = disabledReason + page.CanStartModel3D = canStart + page.CanForceModel3D = canForce + return page, nil +} + +func (a *App) adminProductGallery(p catalog.Product) []viewmodel.ProductImageAsset { + pageGallery := make([]viewmodel.ProductImageAsset, 0, len(p.GalleryOrder)+1) urlMap := a.resolveUploadURLs(p.GalleryOrder) for idx, assetID := range p.GalleryOrder { if assetID == "" { continue } - url := urlMap[assetID] - if url == "" && idx < len(p.Gallery) { - url = p.Gallery[idx] + imageURL := urlMap[assetID] + if imageURL == "" && idx < len(p.Gallery) { + imageURL = p.Gallery[idx] } - if url == "" { - url = "/uploads/" + assetID + if imageURL == "" { + imageURL = "/uploads/" + assetID } - page.Gallery = append(page.Gallery, viewmodel.ProductImageAsset{ - AssetID: assetID, - URL: url, - }) + pageGallery = append(pageGallery, viewmodel.ProductImageAsset{AssetID: assetID, URL: imageURL}) } - if len(page.Gallery) == 0 && p.ImageURL != "" { - page.Gallery = append(page.Gallery, viewmodel.ProductImageAsset{ + if len(pageGallery) == 0 && p.ImageURL != "" { + pageGallery = append(pageGallery, viewmodel.ProductImageAsset{ AssetID: extractAssetIDFromURL(p.ImageURL), URL: p.ImageURL, }) } - if a.deps != nil && a.deps.SearchSync != nil { - job, ok, err := a.deps.SearchSync.StatusForSlug(ctx, p.Slug) + return pageGallery +} + +func (a *App) adminProduct3DPresentation(ctx context.Context, p catalog.Product, labels viewmodel.SiteLabels, pollPrefix string) (viewmodel.Product3DAsset, string, string, bool, bool, error) { + primaryImageURL := catalog.PrimaryImageURLForProduct(p) + allowStart := p.Status == "approved" && strings.TrimSpace(primaryImageURL) != "" + latestJob, ok, err := a.latestModel3DJob(ctx, p.Slug) + if err != nil { + return viewmodel.Product3DAsset{}, "", "", false, false, err + } + if ok && (latestJob.Status == vision.JobQueued || latestJob.Status == vision.JobProcessing) { + asset := a.model3DJobViewModel(latestJob, labels) + asset.PollURL = pollPrefix + latestJob.ID + return asset, "warning", "", false, false, nil + } + if asset, cached := a.cachedModel3D(ctx, p.Slug, primaryImageURL, labels); cached { + return asset, "success", "", allowStart, true, nil + } + if ok && latestJob.Status != "" { + asset := a.model3DJobViewModel(latestJob, labels) + asset.PollURL = "" + tone := "neutral" + switch latestJob.Status { + case vision.JobCompleted: + tone = "success" + case vision.JobFailed, vision.JobCancelled: + tone = "error" + } + return asset, tone, "", allowStart, latestJob.Status == vision.JobFailed || latestJob.Status == vision.JobCancelled, nil + } + if strings.TrimSpace(primaryImageURL) == "" { + return viewmodel.Product3DAsset{ + Status: labels.AdminProducts3DStatusUnavailable, + PosterURL: firstNonEmpty(p.ImageURL, "/assets/img/placeholder.svg"), + Body: labels.AdminProducts3DBlockedImage, + RetryDisabled: true, + }, "neutral", labels.AdminProducts3DBlockedImage, false, false, nil + } + if p.Status != "approved" { + return viewmodel.Product3DAsset{ + Status: labels.AdminProducts3DStatusBlocked, + PosterURL: primaryImageURL, + Body: labels.AdminProducts3DBlockedStatus, + RetryDisabled: true, + }, "warning", labels.AdminProducts3DBlockedStatus, false, false, nil + } + return viewmodel.Product3DAsset{ + Status: labels.AdminProducts3DNotStarted, + PosterURL: primaryImageURL, + Body: labels.Product3DFallback, + }, "neutral", "", true, false, nil +} + +func (a *App) latestModel3DJob(ctx context.Context, slug string) (vision.Job, bool, error) { + if a.deps != nil && a.deps.JobAudit != nil { + page, err := a.deps.JobAudit.ListJobs(ctx, vision.JobListOptions{ + Kind: vision.JobKindModel3DGenerate, + ProductSlug: strings.TrimSpace(slug), + Page: 1, + PageSize: 10, + }) if err != nil { - return viewmodel.AdminModerationDetailPage{}, fmt.Errorf("failed to load search sync status: %w", err) + return vision.Job{}, false, fmt.Errorf("failed to list model 3d jobs: %w", err) } - if ok { - page.SearchSyncStatus = localizedProductStatus(job.Status, labels) - if job.Status == search.SyncStatusCompleted { - page.SearchSyncStatus = labels.StatusReady - } - if job.Status == search.SyncStatusProcessing { - page.SearchSyncStatus = labels.StatusProcessing - } - if job.Status == search.SyncStatusQueued { - page.SearchSyncStatus = labels.StatusPending + var fallback vision.Job + var fallbackSet bool + for _, job := range page.Items { + if !fallbackSet { + fallback = job + fallbackSet = true } - if job.Status == search.SyncStatusFailed { - page.SearchSyncStatus = labels.StatusError + if job.Status == vision.JobQueued || job.Status == vision.JobProcessing { + return job, true, nil } - page.SearchSyncError = job.LastError - page.SearchSyncUpdated = job.UpdatedAt.Format("02 Jan 2006 15:04") + } + if fallbackSet { + return fallback, true, nil } } - return page, nil + job, ok, err := a.queuedModel3DJob(ctx, slug) + if err != nil || ok { + return job, ok, err + } + return vision.Job{}, false, nil +} + +func (a *App) enqueueAdminProductModel3D(ctx context.Context, p catalog.Product, force bool) (vision.Job, error) { + primaryImageURL := catalog.PrimaryImageURLForProduct(p) + if p.Status != "approved" { + return vision.Job{ProductSlug: p.Slug}, fmt.Errorf("model 3d generation requires an approved product") + } + if strings.TrimSpace(primaryImageURL) == "" { + return vision.Job{ProductSlug: p.Slug}, fmt.Errorf("model 3d generation requires a primary image") + } + if !force { + return a.queueApprovedProductModel3D(ctx, p) + } + if current, ok, err := a.latestModel3DJob(ctx, p.Slug); err != nil { + return vision.Job{ProductSlug: p.Slug}, err + } else if ok && (current.Status == vision.JobQueued || current.Status == vision.JobProcessing) { + return current, nil + } + now := time.Now().UTC() + job := vision.Job{ + ID: jobID("model3d"), + Kind: vision.JobKindModel3DGenerate, + Status: vision.JobQueued, + ProductSlug: p.Slug, + ProductName: p.Title, + Title: p.Title, + ImageURL: primaryImageURL, + PosterURL: primaryImageURL, + CreatedAt: now, + UpdatedAt: now, + } + if a.deps == nil || a.deps.JobBus == nil { + return job, fmt.Errorf("failed to enqueue model 3d job: job bus is not configured") + } + if err := a.deps.JobBus.Enqueue(ctx, job); err != nil { + return job, fmt.Errorf("failed to enqueue model 3d job: %w", err) + } + return job, nil +} + +func (a *App) handleAdminProductModel3D(w http.ResponseWriter, r *http.Request) { + loc := p18n.NewLocalizer(r) + labels := resolveLabels(loc) + slug := chi.URLParam(r, "slug") + product, ok := a.catalog.Product(slug) + if !ok { + http.NotFound(w, r) + return + } + force := strings.EqualFold(strings.TrimSpace(r.FormValue("force")), "true") + job, err := a.enqueueAdminProductModel3D(r.Context(), product, force) + if err != nil { + log.Printf("admin model3d enqueue failed slug=%s force=%t error=%v", slug, force, err) + } else if force { + if claims, ok := a.authUser(r); ok && a.deps != nil && a.deps.JobAudit != nil { + _ = a.deps.JobAudit.RecordAction(r.Context(), vision.JobAction{ + JobID: job.ID, + Action: "model3d_force_regenerate", + ActorType: "admin", + ActorID: claims.UserID, + ResultCount: 1, + CreatedAt: time.Now().UTC(), + }) + } + } else if claims, ok := a.authUser(r); ok && a.deps != nil && a.deps.JobAudit != nil && job.ID != "" { + _ = a.deps.JobAudit.RecordAction(r.Context(), vision.JobAction{ + JobID: job.ID, + Action: "model3d_enqueue", + ActorType: "admin", + ActorID: claims.UserID, + ResultCount: 1, + CreatedAt: time.Now().UTC(), + }) + } + page, pageErr := a.adminProductDetailPage(r.Context(), product, labels, "/admin/products") + if pageErr != nil { + http.Error(w, pageErr.Error(), http.StatusInternalServerError) + return + } + if err != nil { + page.Model3D.Error = err.Error() + } + a.render(w, r, compositions.AdminProductModel3DPanel(page, labels)) +} + +func (a *App) handleAdminProductModel3DPoll(w http.ResponseWriter, r *http.Request) { + loc := p18n.NewLocalizer(r) + labels := resolveLabels(loc) + slug := chi.URLParam(r, "slug") + product, ok := a.catalog.Product(slug) + if !ok { + http.NotFound(w, r) + return + } + jobID := chi.URLParam(r, "id") + if asset, cached := a.cachedModel3D(r.Context(), slug, catalog.PrimaryImageURLForProduct(product), labels); cached { + page, err := a.adminProductDetailPage(r.Context(), product, labels, "/admin/products") + if err != nil { + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } + page.Model3D = asset + a.render(w, r, compositions.AdminProductModel3DPanel(page, labels)) + return + } + job, ok, err := a.deps.JobBus.Load(r.Context(), jobID) + if err != nil { + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } + if !ok || job.Kind != vision.JobKindModel3DGenerate || job.ProductSlug != slug { + http.NotFound(w, r) + return + } + page, pageErr := a.adminProductDetailPage(r.Context(), product, labels, "/admin/products") + if pageErr != nil { + http.Error(w, pageErr.Error(), http.StatusInternalServerError) + return + } + page.Model3D = a.model3DJobViewModel(job, labels) + page.Model3D.PollURL = "/fragments/admin/products/" + slug + "/model-3d/" + job.ID + page.CanStartModel3D = false + page.CanForceModel3D = false + a.render(w, r, compositions.AdminProductModel3DPanel(page, labels)) } // resolveUploadURLs maps asset IDs to their stored URLs via ProductUpload table. diff --git a/internal/platform/server/app_test.go b/internal/platform/server/app_test.go index e5521fc..d7bcbf0 100644 --- a/internal/platform/server/app_test.go +++ b/internal/platform/server/app_test.go @@ -586,6 +586,10 @@ type staticAuthService struct { role string } +type missingUserAuthService struct { + staticAuthService +} + func (s staticAuthService) Register(context.Context, string, string, string) (authService.User, error) { return authService.User{}, nil } @@ -608,6 +612,10 @@ func (s staticAuthService) GetUserByID(context.Context, string) (authService.Use return authService.User{ID: uuid.MustParse("00000000-0000-0000-0000-000000000001"), Email: "admin@example.com", Role: s.role}, nil } +func (s missingUserAuthService) GetUserByID(context.Context, string) (authService.User, error) { + return authService.User{}, authService.ErrUnauthorized +} + type staticAILogStore struct { rows []ailog.AIInteractionLog } @@ -856,6 +864,10 @@ func (s staticCatalogService) GetGalleryOrder(context.Context, string) ([]string return nil, nil } +func (s staticCatalogService) AdminList(context.Context, catalog.AdminListOptions) (catalog.AdminListPage, error) { + return catalog.AdminListPage{}, nil +} + func (s staticAILogStore) Record(context.Context, ailog.AIInteractionLog) error { return nil } @@ -1231,7 +1243,7 @@ func TestHomePageRendersHybridSections(t *testing.T) { "Asistanla başla.", "Öne çıkan markalar", "Konuşarak alışveriş yapmak isteyenler için hazır başlangıçlar.", - "Prompttan sonuca.", + "Prompttan sonuca", "Kategoriye gir, doğrudan alışveriş ritmine geç.", "İlhamı konuşmaya çevir, sonra mağazada netleştir.", `action="/assistant"`, @@ -2176,6 +2188,231 @@ func TestAdminSearchSyncOverviewPageRendersNavigation(t *testing.T) { } } +func TestAdminProductsListPageRendersRowsAndFilters(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + for _, product := range []catalog.CatalogProduct{ + { + Slug: "admin-list-approved", + Title: "Admin List Approved", + Vendor: "BTK Seller", + Category: "Elektronik", + Price: 249, + ImageURL: "/uploads/admin-list-approved.jpg", + SellerID: "test", + Status: "approved", + }, + { + Slug: "admin-list-pending", + Title: "Admin List Pending", + Vendor: "BTK Seller", + Category: "Ev", + Price: 149, + ImageURL: "/uploads/admin-list-pending.jpg", + SellerID: "test", + Status: "pending", + }, + } { + if err := app.catalog.Create(context.Background(), product); err != nil { + t.Fatalf("Create returned error: %v", err) + } + } + + req := httptest.NewRequest(http.MethodGet, "/admin/products?status=approved&q=admin-list", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + for _, want := range []string{"admin-list-approved", "/admin/products/admin-list-approved", `name="status"`} { + if !strings.Contains(body, want) { + t.Fatalf("expected %q in body: %s", want, body) + } + } +} + +func TestAdminProductDetailPageRendersModel3DLinks(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + if err := app.catalog.Create(context.Background(), catalog.CatalogProduct{ + Slug: "admin-detail-product", + Title: "Admin Detail Product", + Vendor: "BTK Seller", + Category: "Elektronik", + Price: 249, + ImageURL: "/uploads/admin-detail-product.jpg", + SellerID: "test", + Status: "approved", + }); err != nil { + t.Fatalf("Create returned error: %v", err) + } + + req := httptest.NewRequest(http.MethodGet, "/admin/products/admin-detail-product", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + for _, want := range []string{ + "/fragments/admin/products/admin-detail-product/model-3d", + "/admin/jobs/list?kind=model_3d_generate&slug=admin-detail-product", + "/admin/ai-logs?provider=tripo3d&slug=admin-detail-product", + } { + if !strings.Contains(body, want) { + t.Fatalf("expected %q in body: %s", want, body) + } + } +} + +func TestAdminProductModel3DFragmentQueuesJobForApprovedProduct(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + if err := app.catalog.Create(context.Background(), catalog.CatalogProduct{ + Slug: "admin-model3d-approved", + Title: "Admin Model3D Approved", + Vendor: "BTK Seller", + Category: "Elektronik", + Price: 249, + ImageURL: "/uploads/admin-model3d-approved.jpg", + SellerID: "test", + Status: "approved", + }); err != nil { + t.Fatalf("Create returned error: %v", err) + } + + req := httptest.NewRequest(http.MethodPost, "/fragments/admin/products/admin-model3d-approved/model-3d", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + if !strings.Contains(body, "/fragments/admin/products/admin-model3d-approved/model-3d/model3d-") { + t.Fatalf("expected admin model3d poll url, body = %s", body) + } + jobs, err := app.deps.JobBus.ListQueued(context.Background(), 100) + if err != nil { + t.Fatalf("ListQueued returned error: %v", err) + } + found := false + for _, job := range jobs { + if job.Kind == vision.JobKindModel3DGenerate && job.ProductSlug == "admin-model3d-approved" { + found = true + break + } + } + if !found { + t.Fatal("expected queued model3d job for approved admin product") + } +} + +func TestAdminProductModel3DFragmentBlocksPendingProduct(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + if err := app.catalog.Create(context.Background(), catalog.CatalogProduct{ + Slug: "admin-model3d-pending", + Title: "Admin Model3D Pending", + Vendor: "BTK Seller", + Category: "Elektronik", + Price: 249, + ImageURL: "/uploads/admin-model3d-pending.jpg", + SellerID: "test", + Status: "pending", + }); err != nil { + t.Fatalf("Create returned error: %v", err) + } + + req := httptest.NewRequest(http.MethodPost, "/fragments/admin/products/admin-model3d-pending/model-3d", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + if !strings.Contains(body, "yalnızca onaylı ürünlerde") { + t.Fatalf("expected blocked status copy, body = %s", body) + } + jobs, err := app.deps.JobBus.ListQueued(context.Background(), 100) + if err != nil { + t.Fatalf("ListQueued returned error: %v", err) + } + for _, job := range jobs { + if job.Kind == vision.JobKindModel3DGenerate && job.ProductSlug == "admin-model3d-pending" { + t.Fatalf("unexpected model3d job for pending product: %#v", job) + } + } +} + +func TestAdminProductModel3DForceRegenerateQueuesNewJobWhenCachedModelExists(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + if err := app.catalog.Create(context.Background(), catalog.CatalogProduct{ + Slug: "admin-model3d-force", + Title: "Admin Model3D Force", + Vendor: "BTK Seller", + Category: "Elektronik", + Price: 249, + ImageURL: "/uploads/admin-model3d-force.jpg", + SellerID: "test", + Status: "approved", + }); err != nil { + t.Fatalf("Create returned error: %v", err) + } + if err := app.deps.ProductModels.Save(context.Background(), vision.ProductModel3D{ + ProductSlug: "admin-model3d-force", + ModelURL: "https://cdn.example.com/admin-model3d-force.glb", + PosterURL: "/uploads/admin-model3d-force.jpg", + Title: "Admin Model3D Force 3D", + Description: "Cached model", + }); err != nil { + t.Fatalf("ProductModels.Save returned error: %v", err) + } + + form := url.Values{"force": {"true"}} + req := httptest.NewRequest(http.MethodPost, "/fragments/admin/products/admin-model3d-force/model-3d", strings.NewReader(form.Encode())) + req.Header.Set("Content-Type", "application/x-www-form-urlencoded") + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + if !strings.Contains(body, "/fragments/admin/products/admin-model3d-force/model-3d/model3d-") { + t.Fatalf("expected forced regenerate poll url, body = %s", body) + } + jobs, err := app.deps.JobBus.ListQueued(context.Background(), 100) + if err != nil { + t.Fatalf("ListQueued returned error: %v", err) + } + found := false + for _, job := range jobs { + if job.Kind == vision.JobKindModel3DGenerate && job.ProductSlug == "admin-model3d-force" { + found = true + break + } + } + if !found { + t.Fatal("expected queued forced model3d job") + } +} + func TestAdminSearchSyncJobsPageRendersPaginatedRows(t *testing.T) { app := newTestApp(t) app.auth = staticAuthService{role: string(authService.RoleAdmin)} @@ -2219,6 +2456,39 @@ func TestAdminSearchSyncJobsPageRendersPaginatedRows(t *testing.T) { } } +func TestAdminSearchSyncJobsPageKeepsSlugFilterVisible(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + if err := app.catalog.Create(context.Background(), catalog.CatalogProduct{ + Slug: "search-sync-filter-product", + Title: "Search Sync Filter Product", + Vendor: "BTK Seller", + Category: "Elektronik", + Price: 249, + ImageURL: "/uploads/search-sync-filter-product.jpg", + SellerID: "test", + Status: "approved", + }); err != nil { + t.Fatalf("Create returned error: %v", err) + } + + req := httptest.NewRequest(http.MethodGet, "/admin/search-sync/jobs?slug=search-sync-filter-product", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + for _, want := range []string{"search-sync-filter-product", `name="slug"`, `/admin/search-sync/jobs`} { + if !strings.Contains(body, want) { + t.Fatalf("expected %q in body: %s", want, body) + } + } +} + func TestAdminSearchSyncAttemptsPageRendersAttemptRows(t *testing.T) { app := newTestApp(t) app.auth = staticAuthService{role: string(authService.RoleAdmin)} @@ -2303,6 +2573,43 @@ func TestAdminJobsListIncludesSearchSyncRows(t *testing.T) { } } +func TestAdminJobsListBulkActionsPreserveFilteredReturnURL(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + if err := app.catalog.Create(context.Background(), catalog.CatalogProduct{ + Slug: "jobs-filter-product", + Title: "Jobs Filter Product", + Vendor: "BTK Seller", + Category: "Elektronik", + Price: 149, + ImageURL: "/uploads/jobs-filter-product.jpg", + SellerID: "test", + Status: "approved", + }); err != nil { + t.Fatalf("Create returned error: %v", err) + } + if err := app.deps.SearchSync.EnqueueForSlugWithOptions(context.Background(), "jobs-filter-product", search.SyncEnqueueOptions{ + Priority: search.SyncPriorityHigh, + Source: search.SyncSourceStartupReconcile, + }); err != nil { + t.Fatalf("EnqueueForSlugWithOptions returned error: %v", err) + } + + req := httptest.NewRequest(http.MethodGet, "/admin/jobs/list?kind=search_sync&status=queued&q=jobs-filter-product", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + if !strings.Contains(body, `/admin/jobs/list?kind=search_sync&q=jobs-filter-product&status=queued`) { + t.Fatalf("expected filtered return_to in body: %s", body) + } +} + func TestSellerDraftProductSubmitMovesToPendingModeration(t *testing.T) { app := newTestApp(t) app.auth = staticAuthService{role: string(authService.RoleSeller)} @@ -2337,6 +2644,9 @@ func TestSellerDraftProductSubmitMovesToPendingModeration(t *testing.T) { if rec.Code != http.StatusSeeOther { t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) } + if got := rec.Header().Get("HX-Trigger"); !strings.Contains(got, "Ürün yayınlandı ve moderasyona gönderildi") || strings.Contains(got, "Product published and sent to moderation") { + t.Fatalf("unexpected HX-Trigger = %q", got) + } var found bool pending, err := app.catalog.ListPending(context.Background()) if err != nil { @@ -2888,6 +3198,33 @@ func TestAccountTabsUseTurkishLabelsWhenLangParamIsEnglish(t *testing.T) { } } +func TestAccountRedirectsToLoginWhenAuthenticatedUserIsMissing(t *testing.T) { + app := newTestApp(t) + app.auth = missingUserAuthService{staticAuthService{role: string(authService.RoleCustomer)}} + req := httptest.NewRequest(http.MethodGet, "/account", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusSeeOther { + t.Fatalf("status = %d, want %d", rec.Code, http.StatusSeeOther) + } + if location := rec.Header().Get("Location"); location != "/login?return=%2Faccount" { + t.Fatalf("Location = %q, want /login?return=%%2Faccount", location) + } + foundClearedCookie := false + for _, cookie := range rec.Result().Cookies() { + if cookie.Name == "auth_token" && cookie.MaxAge < 0 { + foundClearedCookie = true + break + } + } + if !foundClearedCookie { + t.Fatalf("expected auth_token cookie to be cleared") + } +} + func TestSellerWorkspaceSidebarUsesNaturalTurkishLabels(t *testing.T) { app := newTestApp(t) app.auth = staticAuthService{role: string(authService.RoleSeller)} @@ -2942,13 +3279,116 @@ func TestAdminWorkspaceSidebarUsesNaturalTurkishLabels(t *testing.T) { t.Fatalf("expected %q in body: %s", want, body) } } - for _, unwanted := range []string{"Kimlik bilgileri", "Arama senkronu", ">İşler<"} { + for _, unwanted := range []string{"Kimlik bilgileri"} { + if strings.Contains(body, unwanted) { + t.Fatalf("did not expect %q in body: %s", unwanted, body) + } + } +} + +func TestAdminAICredentialsPageRendersLocalizedMetricsAndStatuses(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + + if err := app.admin.AddCredential(context.Background(), admin.CredentialInput{ + Environment: "local", + Provider: "gemini", + Purpose: "api_key", + Secret: "test-secret", + }); err != nil { + t.Fatalf("AddCredential returned error: %v", err) + } + records, err := app.deps.CredentialStore.List(context.Background()) + if err != nil { + t.Fatalf("CredentialStore.List returned error: %v", err) + } + if len(records) != 1 { + t.Fatalf("credential count = %d, want 1", len(records)) + } + if err := app.admin.Disable(context.Background(), records[0].ID); err != nil { + t.Fatalf("Disable returned error: %v", err) + } + if _, err := app.deps.CredentialStates.Save(context.Background(), vision.AICredentialState{ + CredentialID: records[0].ID, + Environment: records[0].Scope.Environment, + Provider: records[0].Scope.Provider, + Purpose: records[0].Scope.Purpose, + OperationalStatus: vision.CredentialRuntimeStatusCooldown, + }); err != nil { + t.Fatalf("CredentialStates.Save returned error: %v", err) + } + + req := httptest.NewRequest(http.MethodGet, "/admin/ai-credentials?lang=en", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + for _, want := range []string{ + "BTKCommerce Çalışma Alanı", + "Toplam kayıt", + "Aktif", + "Devre dışı", + "Sorunlu", + "Beklemede", + } { + if !strings.Contains(body, want) { + t.Fatalf("expected %q in body: %s", want, body) + } + } + for _, unwanted := range []string{"BTKCommerce Workspace", "Total records", "Disabled", "Degraded"} { if strings.Contains(body, unwanted) { t.Fatalf("did not expect %q in body: %s", unwanted, body) } } } +func TestAdminAICredentialsAddRequiresLocalizedSecretMessage(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + + form := url.Values{ + "env": {"local"}, + "provider": {"gemini"}, + "purpose": {"api_key"}, + "secret": {""}, + } + req := httptest.NewRequest(http.MethodPost, "/admin/ai-credentials/add?lang=en", strings.NewReader(form.Encode())) + req.Header.Set("Content-Type", "application/x-www-form-urlencoded") + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusBadRequest { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + if body := rec.Body.String(); !strings.Contains(body, "Gizli anahtar zorunludur") || strings.Contains(body, "secret is required") { + t.Fatalf("unexpected body = %s", body) + } +} + +func TestSearchUploadFailureUsesLocalizedMessage(t *testing.T) { + app := newTestApp(t) + + req := httptest.NewRequest(http.MethodPost, "/fragments/search/upload?lang=en", strings.NewReader("not-multipart")) + req.Header.Set("Content-Type", "text/plain") + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusBadRequest { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + if body := rec.Body.String(); !strings.Contains(body, "Yükleme başarısız oldu") || strings.Contains(body, "Upload failed") { + t.Fatalf("unexpected body = %s", body) + } +} + func TestAccountSettingsDoesNotShowLanguage(t *testing.T) { app := newTestApp(t) req := httptest.NewRequest(http.MethodGet, "/account/settings?lang=en", nil) @@ -3017,7 +3457,7 @@ func TestCheckoutSaveAddressCreatesAddress(t *testing.T) { func TestLegacyOrdersRedirectsToAccountOrders(t *testing.T) { app := newTestApp(t) - req := httptest.NewRequest(http.MethodGet, "/orders?status=processing&lang=en", nil) + req := httptest.NewRequest(http.MethodGet, "/orders?status=processing&q=desk&lang=en", nil) req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) rec := httptest.NewRecorder() @@ -3026,8 +3466,8 @@ func TestLegacyOrdersRedirectsToAccountOrders(t *testing.T) { if rec.Code != http.StatusSeeOther { t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) } - if location := rec.Header().Get("Location"); location != "/account/orders?status=processing&lang=en" { - t.Fatalf("redirect = %q, want /account/orders?status=processing&lang=en", location) + if location := rec.Header().Get("Location"); location != "/account/orders?status=processing&q=desk&lang=en" { + t.Fatalf("redirect = %q, want /account/orders?status=processing&q=desk&lang=en", location) } } @@ -3047,6 +3487,25 @@ func TestOrderSuccessLinksToAccountOrders(t *testing.T) { } } +func TestAccountOrdersPageShowsActiveFilters(t *testing.T) { + app := newTestApp(t) + req := httptest.NewRequest(http.MethodGet, "/account/orders?status=processing&q=BTK-2847&lang=en", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + for _, want := range []string{`value="BTK-2847"`, `/account/orders?status=processing`, `/account/orders?q=BTK-2847`, `/account/orders`} { + if !strings.Contains(body, want) { + t.Fatalf("expected %q in body: %s", want, body) + } + } +} + func TestAccountOrdersShowsBuyerOrdersWithReviewAction(t *testing.T) { app := newTestApp(t) checkoutReq := httptest.NewRequest(http.MethodPost, "/checkout/complete", nil) @@ -3127,7 +3586,7 @@ func TestAssistantOrderContextLaunchRendersThreadContext(t *testing.T) { if rec.Code != http.StatusOK { t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) } - if !strings.Contains(rec.Body.String(), "Siparis baglami") || !strings.Contains(rec.Body.String(), orderNumber) { + if !strings.Contains(rec.Body.String(), "Sipariş bağlamı") || !strings.Contains(rec.Body.String(), orderNumber) { t.Fatalf("expected order context chip, body = %s", rec.Body.String()) } } @@ -3161,7 +3620,7 @@ func TestAssistantGuestSidebarShowsHistoryHint(t *testing.T) { if rec.Code != http.StatusOK { t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) } - if !strings.Contains(rec.Body.String(), "Onceki sohbetlerinizi yuklemek icin oturum acin.") { + if !strings.Contains(rec.Body.String(), "Önceki sohbetlerinizi yüklemek için oturum açın.") { t.Fatalf("expected guest history hint, body = %s", rec.Body.String()) } } @@ -3220,7 +3679,7 @@ func TestAssistantLandingStateUsesCenteredComposerCopy(t *testing.T) { if !strings.Contains(body, "Nereye gitmek istersiniz?") { t.Fatalf("expected landing title, body = %s", body) } - if !strings.Contains(body, "Mesajinizi yazin...") { + if !strings.Contains(body, "Mesajınızı yazın...") { t.Fatalf("expected landing composer placeholder, body = %s", body) } } @@ -3268,7 +3727,7 @@ func TestSellerAssistantOrderContextLaunchRendersThreadContext(t *testing.T) { if rec.Code != http.StatusOK { t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) } - if !strings.Contains(rec.Body.String(), "Siparis baglami") || !strings.Contains(rec.Body.String(), orderNumber) { + if !strings.Contains(rec.Body.String(), "Sipariş bağlamı") || !strings.Contains(rec.Body.String(), orderNumber) { t.Fatalf("expected seller order context chip, body = %s", rec.Body.String()) } } @@ -4152,6 +4611,27 @@ func TestAdminAILogsPageFiltersTripo3DLogs(t *testing.T) { } } +func TestAdminAILogsPageRendersVisibleStatusFilter(t *testing.T) { + app := newTestApp(t) + app.auth = staticAuthService{role: string(authService.RoleAdmin)} + app.deps.AIInteractions = staticAILogStore{} + req := httptest.NewRequest(http.MethodGet, "/admin/ai-logs?status=success&lang=en", nil) + req.AddCookie(&http.Cookie{Name: "auth_token", Value: "test-token"}) + rec := httptest.NewRecorder() + + app.router.ServeHTTP(rec, req) + + if rec.Code != http.StatusOK { + t.Fatalf("status = %d, body = %s", rec.Code, rec.Body.String()) + } + body := rec.Body.String() + for _, want := range []string{`data-tui-selectbox-value="success"`, "Başarılı", "Operasyon, model, job id veya ürün ara"} { + if !strings.Contains(body, want) { + t.Fatalf("expected %q in body: %s", want, body) + } + } +} + func TestAdminAICredentialsAddOmitsGoogleCloudVisionProvider(t *testing.T) { app := newTestApp(t) app.auth = staticAuthService{role: string(authService.RoleAdmin)} diff --git a/internal/platform/server/i18nhelper.go b/internal/platform/server/i18nhelper.go index 094556a..fc71467 100644 --- a/internal/platform/server/i18nhelper.go +++ b/internal/platform/server/i18nhelper.go @@ -125,6 +125,9 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { TryOnRoomCTA: t("tryon.room.cta"), TryOnWearCTA: t("tryon.wear.cta"), TryOnAccessoryCTA: t("tryon.accessory.cta"), + TryOnRoomMode: t("tryon.room.mode"), + TryOnWearMode: t("tryon.wear.mode"), + TryOnAccessoryMode: t("tryon.accessory.mode"), ProductBadgeNew: t("product.badge_new"), ProductActionReview: t("product.action_review"), ProductActionAsk: t("product.action_ask"), @@ -325,10 +328,15 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { StatusRejected: t("status.rejected"), StatusPaid: t("status.paid"), StatusUnfulfilled: t("status.unfulfilled"), + StatusDisabled: t("status.disabled"), + StatusCooldown: t("status.cooldown"), + StatusAuthFailed: t("status.auth_failed"), + StatusManuallyDisabled: t("status.manually_disabled"), FooterTagline: t("footer.tagline"), FooterDiscover: t("footer.discover"), FooterSearch: t("footer.search"), FooterAssistant: t("footer.assistant"), + WorkspaceFooterBrand: t("workspace.footer_brand"), AssistantConversations: t("assistant.conversations"), AssistantNewChat: t("assistant.new_chat"), AssistantSearch: t("assistant.search"), @@ -407,6 +415,10 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { AssistantShareDisabled: t("assistant.share.disabled"), AssistantShareUnavailable: t("assistant.share.unavailable"), AssistantShareFailed: t("assistant.share.failed"), + AssistantChangeSummaryOne: t("assistant.change_summary.one"), + AssistantChangeSummaryTwo: t("assistant.change_summary.two"), + AssistantChangeSummaryThree: t("assistant.change_summary.three"), + AssistantChangeSummaryMany: t("assistant.change_summary.many"), AuthLoginTitle: t("auth.login_title"), AuthLoginDesc: t("auth.login_desc"), AuthRegisterTitle: t("auth.register_title"), @@ -540,6 +552,10 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { WorkspaceAdminModerationEmptyBody: t("workspace.admin.moderation_empty_body"), WorkspaceAdminVendorsEmptyTitle: t("workspace.admin.vendors_empty_title"), WorkspaceAdminVendorsEmptyBody: t("workspace.admin.vendors_empty_body"), + WorkspaceAdminProducts: t("workspace.admin.products"), + WorkspaceAdminProductsBody: t("workspace.admin.products_body"), + WorkspaceAdminProductsEmptyTitle: t("workspace.admin.products_empty_title"), + WorkspaceAdminProductsEmptyBody: t("workspace.admin.products_empty_body"), WorkspaceWelcomeTitle: t("workspace.welcome_title"), WorkspaceWelcomeDesc: t("workspace.welcome_desc"), WorkspaceQuickActions: t("workspace.quick_actions"), @@ -564,11 +580,13 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { WorkspaceAILogsJob: t("workspace.ai_logs.job"), WorkspaceAILogsLatency: t("workspace.ai_logs.latency"), WorkspaceAILogsFilterAll: t("workspace.ai_logs.filter_all"), + WorkspaceAILogsFilterSuccess: t("workspace.ai_logs.filter_success"), WorkspaceAILogsFilterTripo3D: t("workspace.ai_logs.filter_tripo3d"), WorkspaceAILogsStatus: t("workspace.ai_logs.status"), WorkspaceAILogsQuery: t("workspace.ai_logs.query"), WorkspaceAILogsDetail: t("workspace.ai_logs.detail"), WorkspaceAILogsRelatedJob: t("workspace.ai_logs.related_job"), + WorkspaceAILogsQueryPlaceholder: t("workspace.ai_logs.query_placeholder"), WorkspaceJobs: t("workspace.jobs"), WorkspaceJobsOverview: t("workspace.jobs.overview"), WorkspaceJobsEmpty: t("workspace.jobs.empty"), @@ -624,6 +642,7 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { WorkspaceNavJobs: t("workspace.nav.jobs"), WorkspaceNavSearchSync: t("workspace.nav.search_sync"), WorkspaceNavCredentials: t("workspace.nav.credentials"), + WorkspaceNavCatalog: t("workspace.nav.catalog"), // Seller Pricing PricingOpportunityScore: t("pricing.opportunity_score"), @@ -834,6 +853,18 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { CredentialsSecurityDesc: t("credentials.security_desc"), CredentialsEmptyTitle: t("credentials.empty_title"), CredentialsEmptyBody: t("credentials.empty_body"), + AdminProducts3DStatus: t("admin.products.3d_status"), + AdminProductsOpenStorefront: t("admin.products.open_storefront"), + AdminProductsViewJobs: t("admin.products.view_jobs"), + AdminProductsViewAILogs: t("admin.products.view_ai_logs"), + AdminProductsDetailTitle: t("admin.products.detail_title"), + AdminProductsDetailSubtitle: t("admin.products.detail_subtitle"), + AdminProducts3DForceRegenerate: t("admin.products.force_regenerate"), + AdminProducts3DNotStarted: t("admin.products.not_started"), + AdminProducts3DStatusBlocked: t("admin.products.status_blocked"), + AdminProducts3DStatusUnavailable: t("admin.products.status_unavailable"), + AdminProducts3DBlockedStatus: t("admin.products.blocked_status"), + AdminProducts3DBlockedImage: t("admin.products.blocked_image"), WorkspaceModerationRecord: t("workspace.moderation_table.record"), WorkspaceHeaderTitle: t("workspace.header.title"), AssistantThreadMessageCount: t("assistant.thread.message_count"), @@ -917,6 +948,8 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { NavCredentials: t("nav.credentials"), WorkspaceCredentials: t("workspace.credentials"), WorkspaceHeaderCredentials: t("workspace.header.credentials"), + CredentialsMetricTotalRecords: t("credentials.metric.total_records"), + CredentialsMetricDegraded: t("credentials.metric.degraded"), CredentialsTableID: t("credentials.table.id"), CredentialsTableEnvironment: t("credentials.table.environment"), CredentialsTableProvider: t("credentials.table.provider"), @@ -968,6 +1001,10 @@ func resolveLabels(loc *i18n.Localizer) viewmodel.SiteLabels { CredentialsHourlyLimitPlaceholder: t("credentials.hourly_limit_placeholder"), CredentialsDailyLimitPlaceholder: t("credentials.daily_limit_placeholder"), CredentialsDisable: t("credentials.disable"), + CredentialsSecretRequired: t("credentials.secret_required"), + ProductFormPublishedToModeration: t("product.form.published_to_moderation"), + ProductFormCreatedAIQueued: t("product.form.created_ai_queued"), + CommonUploadFailed: t("common.upload_failed"), // Review Analytics WorkspaceReviewAnalytics: t("workspace.review_analytics"), diff --git a/internal/ui/compositions/assistant.templ b/internal/ui/compositions/assistant.templ index d9819a8..da4ccd3 100644 --- a/internal/ui/compositions/assistant.templ +++ b/internal/ui/compositions/assistant.templ @@ -300,8 +300,11 @@ templ AssistantThread(page viewmodel.AssistantPage, labels viewmodel.SiteLabels) let renderedText = body.textContent || ""; let targetText = renderedText; let rafID = 0; - const threadID = { fmt.Sprintf("%q", page.Thread.ID) }; - const finalURL = messageID ? (basePath + "/messages/" + messageID + "/poll" + (threadID ? ("?thread=" + encodeURIComponent(threadID)) : "")) : ""; + let settled = false; + let syncTimer = 0; + let syncInFlight = false; + let lastActivityAt = Date.now(); + const threadURL = window.location.pathname + window.location.search; function readField(payload, primaryKey, fallbackKey) { if (payload && payload[primaryKey] !== undefined && payload[primaryKey] !== null) return payload[primaryKey]; @@ -337,33 +340,69 @@ templ AssistantThread(page viewmodel.AssistantPage, labels viewmodel.SiteLabels) } } - function swapFinalMessage() { - if (!finalURL) return; - fetch(finalURL, { headers: { "X-Requested-With": "XMLHttpRequest" } }) + function markActivity() { + lastActivityAt = Date.now(); + } + + function scheduleSync(delay) { + if (settled || syncTimer) return; + syncTimer = window.setTimeout(syncFromThread, delay); + } + + function syncFromThread() { + syncTimer = 0; + if (settled || syncInFlight) return; + syncInFlight = true; + fetch(threadURL, { headers: { "X-Requested-With": "XMLHttpRequest" } }) .then(function(response) { - if (!response.ok) throw new Error("poll failed"); + if (!response.ok) throw new Error("thread sync failed"); return response.text(); }) .then(function(html) { - target.outerHTML = html; + const doc = new DOMParser().parseFromString(html, "text/html"); + const finalMessage = messageID ? doc.getElementById("assistant-message-" + messageID) : null; + if (finalMessage) { + settled = true; + target.outerHTML = finalMessage.outerHTML; + return; + } + const nextPending = doc.getElementById("assistant-streaming-target"); + if (nextPending && (nextPending.getAttribute("data-status") || "") === "failed") { + settled = true; + target.outerHTML = nextPending.outerHTML; + return; + } + scheduleSync(1000); }) .catch(function() { - setPhase(targetText.length > 0 ? "writing" : "thinking", true); + scheduleSync(1500); + }) + .finally(function() { + syncInFlight = false; }); } + function closeWithSync(delay) { + if (settled) return; + source.close(); + setPhase(targetText.length > 0 ? "writing" : "thinking", true); + scheduleSync(delay); + } + const source = new EventSource(basePath + "/runs/" + runID + "/stream"); source.addEventListener("update", function(event) { + if (settled) return; + markActivity(); const payload = JSON.parse(event.data); setBody(readField(payload, "Body", "body")); const completed = !!readField(payload, "Completed", "completed"); if (completed) { - source.close(); - setPhase(targetText.length > 0 ? "writing" : "thinking", true); - window.setTimeout(swapFinalMessage, 120); + closeWithSync(120); } }); source.addEventListener("error", function(event) { + if (settled) return; + markActivity(); let payload = {}; try { payload = JSON.parse(event.data || "{}"); @@ -372,11 +411,24 @@ templ AssistantThread(page viewmodel.AssistantPage, labels viewmodel.SiteLabels) if (message && !targetText) { setBody(message); } - source.close(); - setPhase(targetText.length > 0 ? "writing" : "thinking", true); - window.setTimeout(swapFinalMessage, 120); + closeWithSync(120); }); + source.onerror = function() { + if (settled) return; + if (source.readyState === EventSource.CLOSED) { + closeWithSync(120); + return; + } + scheduleSync(350); + }; setPhase(targetText.length > 0 ? "writing" : "thinking", false); + scheduleSync(1500); + window.setInterval(function() { + if (settled) return; + if (Date.now() - lastActivityAt > 2500) { + scheduleSync(0); + } + }, 2500); })(); } @@ -768,41 +820,43 @@ templ assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabel @hiddenfield.HiddenField(hiddenfield.Props{Name: "asset_name", ID: "assistant-asset-name", Value: page.ComposerAsset.Name}) @hiddenfield.HiddenField(hiddenfield.Props{Name: "asset_content_type", ID: "assistant-asset-content-type", Value: page.ComposerAsset.ContentType}) @assistantContextChips(page.Thread, labels) -
-
- -
-

{ page.ComposerAsset.Name }

-

{ page.ComposerAsset.ContentType }

+
+
+
+
+ +
+

{ page.ComposerAsset.Name }

+

{ page.ComposerAsset.ContentType }

+
+ @button.Button(button.Props{ + ID: "assistant-upload-clear", + Type: button.TypeButton, + Variant: button.VariantGhost, + Size: button.SizeIcon, + Class: "size-8 rounded-xl", + Attributes: templ.Attributes{"onclick": "clearAssistantUpload()"}, + }) { + @icon.X(icon.Props{Class: "size-4"}) + } +
- @button.Button(button.Props{ - ID: "assistant-upload-clear", - Type: button.TypeButton, - Variant: button.VariantGhost, - Size: button.SizeIcon, - Class: "size-8 rounded-xl", - Attributes: templ.Attributes{"onclick": "clearAssistantUpload()"}, - }) { - @icon.X(icon.Props{Class: "size-4"}) - } -
-
-
-
+
if page.IsAuthenticated { -
+
@button.Button(button.Props{ ID: "assistant-upload-trigger", Variant: button.VariantGhost, - Size: button.SizeIcon, Type: button.TypeButton, - Class: "size-8 rounded-xl", + Class: "h-full min-h-12 rounded-[1.15rem] border border-border/70 bg-background/82 px-3 text-muted-foreground shadow-none transition-colors hover:bg-background hover:text-foreground", Attributes: templ.Attributes{"onclick": "document.getElementById('assistant-asset-file').click()"}, }) { - @icon.Paperclip(icon.Props{Class: "size-4"}) - } - if !centered { - { labels.AssistantThreadAttach } + + + @icon.Paperclip(icon.Props{Class: "size-4"}) + + + }
} @@ -820,18 +874,19 @@ templ assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabel ID: "assistant-submit-trigger", Type: button.TypeSubmit, Size: button.SizeIcon, - Class: "size-12 rounded-[1.15rem] bg-primary text-primary-foreground shadow-none hover:bg-primary/90", + Class: "size-12 rounded-[1.15rem] bg-primary text-primary-foreground shadow-[0_12px_30px_rgba(249,115,22,0.28)] hover:bg-primary/90", Variant: button.VariantDefault, - }) { - @icon.Send(icon.Props{Class: "size-4.5"}) - } + }) { + @icon.Send(icon.Props{Class: "size-4.5"}) + } +
- if page.IsAuthenticated { - @fileinput.FileInput(fileinput.Props{ID: "assistant-asset-file", Name: "asset", Accept: "image/*", Class: "hidden", Attributes: templ.Attributes{"data-upload-url": basePath + "/uploads"}}) - } - -} + if page.IsAuthenticated { + @fileinput.FileInput(fileinput.Props{ID: "assistant-asset-file", Name: "asset", Accept: "image/*", Class: "hidden", Attributes: templ.Attributes{"data-upload-url": basePath + "/uploads"}}) + } + + } templ assistantContextChips(thread viewmodel.AssistantThread, labels viewmodel.SiteLabels) { if thread.Product.Slug != "" { diff --git a/internal/ui/compositions/assistant_templ.go b/internal/ui/compositions/assistant_templ.go index 3928a28..68d30be 100644 --- a/internal/ui/compositions/assistant_templ.go +++ b/internal/ui/compositions/assistant_templ.go @@ -1365,7 +1365,7 @@ func AssistantThread(page viewmodel.AssistantPage, labels viewmodel.SiteLabels) return templ_7745c5c3_Err } if page.Thread.RunID != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1443,7 +1443,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var67 string templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs("assistant-message-" + message.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 399, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 451, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) if templ_7745c5c3_Err != nil { @@ -1456,7 +1456,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var68 string templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(message.Body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 402, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 454, Col: 50} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) if templ_7745c5c3_Err != nil { @@ -1482,7 +1482,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var69 string templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.JoinStringErrs("assistant-message-" + message.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 409, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 461, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var69)) if templ_7745c5c3_Err != nil { @@ -1503,7 +1503,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var70 string templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadAI) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 415, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 467, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) if templ_7745c5c3_Err != nil { @@ -1529,7 +1529,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var72 string templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadCited) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 417, Col: 118} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 469, Col: 118} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var72)) if templ_7745c5c3_Err != nil { @@ -1559,7 +1559,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var73 string templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.JoinStringErrs(message.Body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 424, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 476, Col: 51} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var73)) if templ_7745c5c3_Err != nil { @@ -1582,7 +1582,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var74 string templ_7745c5c3_Var74, templ_7745c5c3_Err = templ.JoinStringErrs(message.FeedbackValue) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 429, Col: 116} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 481, Col: 116} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var74)) if templ_7745c5c3_Err != nil { @@ -1595,7 +1595,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var75 string templ_7745c5c3_Var75, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFeedbackSaved) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 429, Col: 170} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 481, Col: 170} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var75)) if templ_7745c5c3_Err != nil { @@ -1608,7 +1608,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var76 string templ_7745c5c3_Var76, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFeedbackPositive) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 429, Col: 230} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 481, Col: 230} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var76)) if templ_7745c5c3_Err != nil { @@ -1621,7 +1621,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var77 string templ_7745c5c3_Var77, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFeedbackNegative) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 429, Col: 290} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 481, Col: 290} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var77)) if templ_7745c5c3_Err != nil { @@ -1634,7 +1634,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var78 string templ_7745c5c3_Var78, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantCopied) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 429, Col: 335} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 481, Col: 335} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var78)) if templ_7745c5c3_Err != nil { @@ -1674,7 +1674,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var80 templ.SafeURL templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(basePath + "/messages/" + message.ID + "/feedback")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 434, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 486, Col: 87} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var80)) if templ_7745c5c3_Err != nil { @@ -1717,7 +1717,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var82 templ.SafeURL templ_7745c5c3_Var82, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(basePath + "/messages/" + message.ID + "/feedback")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 440, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 492, Col: 87} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var82)) if templ_7745c5c3_Err != nil { @@ -1760,7 +1760,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var84 templ.SafeURL templ_7745c5c3_Var84, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(basePath + "/messages/" + message.ID + "/regenerate")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 446, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 498, Col: 89} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var84)) if templ_7745c5c3_Err != nil { @@ -1800,7 +1800,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var86 string templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFeedbackPositive) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 453, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 505, Col: 43} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var86)) if templ_7745c5c3_Err != nil { @@ -1810,7 +1810,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var87 string templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFeedbackNegative) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 455, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 507, Col: 43} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var87)) if templ_7745c5c3_Err != nil { @@ -1845,7 +1845,7 @@ func AssistantMessageRoute(message viewmodel.AssistantMessage, basePath, threadI var templ_7745c5c3_Var88 string templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("[%d] %s · %s", source.Index, source.Title, source.Note)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 466, Col: 123} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 518, Col: 123} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var88)) if templ_7745c5c3_Err != nil { @@ -1905,7 +1905,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var90 templ.SafeURL templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(item.URL)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 480, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 532, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var90)) if templ_7745c5c3_Err != nil { @@ -1918,7 +1918,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var91 string templ_7745c5c3_Var91, templ_7745c5c3_Err = templ.JoinStringErrs(item.ThumbnailURL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 481, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 533, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var91)) if templ_7745c5c3_Err != nil { @@ -1931,7 +1931,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var92 string templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.JoinStringErrs(item.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 481, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 533, Col: 52} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var92)) if templ_7745c5c3_Err != nil { @@ -1944,7 +1944,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var93 string templ_7745c5c3_Var93, templ_7745c5c3_Err = templ.JoinStringErrs(item.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 483, Col: 58} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 535, Col: 58} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var93)) if templ_7745c5c3_Err != nil { @@ -1957,7 +1957,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var94 string templ_7745c5c3_Var94, templ_7745c5c3_Err = templ.JoinStringErrs(item.ContentType) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 484, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 536, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var94)) if templ_7745c5c3_Err != nil { @@ -1985,7 +1985,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var95 templ.SafeURL templ_7745c5c3_Var95, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("/products/" + product.Slug)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 492, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 544, Col: 57} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var95)) if templ_7745c5c3_Err != nil { @@ -1998,7 +1998,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var96 string templ_7745c5c3_Var96, templ_7745c5c3_Err = templ.JoinStringErrs(product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 493, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 545, Col: 44} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var96)) if templ_7745c5c3_Err != nil { @@ -2011,7 +2011,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var97 string templ_7745c5c3_Var97, templ_7745c5c3_Err = templ.JoinStringErrs(product.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 494, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 546, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var97)) if templ_7745c5c3_Err != nil { @@ -2024,7 +2024,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var98 string templ_7745c5c3_Var98, templ_7745c5c3_Err = templ.JoinStringErrs(product.Vendor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 494, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 546, Col: 87} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var98)) if templ_7745c5c3_Err != nil { @@ -2037,7 +2037,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var99 string templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(product.Price) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 495, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 547, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) if templ_7745c5c3_Err != nil { @@ -2065,7 +2065,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var100 string templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinStringErrs(order.OrderNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 505, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 557, Col: 60} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) if templ_7745c5c3_Err != nil { @@ -2078,7 +2078,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var101 string templ_7745c5c3_Var101, templ_7745c5c3_Err = templ.JoinStringErrs(order.Date) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 507, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 559, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var101)) if templ_7745c5c3_Err != nil { @@ -2091,7 +2091,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var102 string templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(order.Total) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 508, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 560, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) if templ_7745c5c3_Err != nil { @@ -2109,7 +2109,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var103 string templ_7745c5c3_Var103, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTracking) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 510, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 562, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var103)) if templ_7745c5c3_Err != nil { @@ -2122,7 +2122,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var104 string templ_7745c5c3_Var104, templ_7745c5c3_Err = templ.JoinStringErrs(order.TrackingCode) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 510, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 562, Col: 69} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var104)) if templ_7745c5c3_Err != nil { @@ -2140,7 +2140,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var105 string templ_7745c5c3_Var105, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantOrderTrackingMissing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 512, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 564, Col: 54} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var105)) if templ_7745c5c3_Err != nil { @@ -2158,7 +2158,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var106 string templ_7745c5c3_Var106, templ_7745c5c3_Err = templ.JoinStringErrs(order.SupportSummary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 515, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 567, Col: 71} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var106)) if templ_7745c5c3_Err != nil { @@ -2181,7 +2181,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var107 string templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(item) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 519, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 571, Col: 23} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) if templ_7745c5c3_Err != nil { @@ -2221,7 +2221,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var109 string templ_7745c5c3_Var109, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantOrderOpen) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 528, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 580, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var109)) if templ_7745c5c3_Err != nil { @@ -2256,7 +2256,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var110 string templ_7745c5c3_Var110, templ_7745c5c3_Err = templ.JoinStringErrs(sellerQueueTitle(card.BucketKey, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 542, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 594, Col: 83} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var110)) if templ_7745c5c3_Err != nil { @@ -2281,7 +2281,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var112 string templ_7745c5c3_Var112, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", card.Count)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 543, Col: 122} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 595, Col: 122} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var112)) if templ_7745c5c3_Err != nil { @@ -2300,7 +2300,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var113 string templ_7745c5c3_Var113, templ_7745c5c3_Err = templ.JoinStringErrs(card.Summary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 545, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 597, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var113)) if templ_7745c5c3_Err != nil { @@ -2323,7 +2323,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var114 string templ_7745c5c3_Var114, templ_7745c5c3_Err = templ.JoinStringErrs(orderNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 549, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 601, Col: 29} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var114)) if templ_7745c5c3_Err != nil { @@ -2361,7 +2361,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var115 string templ_7745c5c3_Var115, templ_7745c5c3_Err = templ.JoinStringErrs(order.OrderNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 563, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 615, Col: 60} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var115)) if templ_7745c5c3_Err != nil { @@ -2379,7 +2379,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var116 string templ_7745c5c3_Var116, templ_7745c5c3_Err = templ.JoinStringErrs(order.CustomerLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 566, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 618, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var116)) if templ_7745c5c3_Err != nil { @@ -2397,7 +2397,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var117 string templ_7745c5c3_Var117, templ_7745c5c3_Err = templ.JoinStringErrs(order.Date) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 568, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 620, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var117)) if templ_7745c5c3_Err != nil { @@ -2410,7 +2410,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var118 string templ_7745c5c3_Var118, templ_7745c5c3_Err = templ.JoinStringErrs(order.Total) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 569, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 621, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var118)) if templ_7745c5c3_Err != nil { @@ -2428,7 +2428,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var119 string templ_7745c5c3_Var119, templ_7745c5c3_Err = templ.JoinStringErrs(order.Carrier) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 571, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 623, Col: 31} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var119)) if templ_7745c5c3_Err != nil { @@ -2447,7 +2447,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var120 string templ_7745c5c3_Var120, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTracking) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 574, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 626, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var120)) if templ_7745c5c3_Err != nil { @@ -2460,7 +2460,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var121 string templ_7745c5c3_Var121, templ_7745c5c3_Err = templ.JoinStringErrs(order.TrackingCode) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 574, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 626, Col: 69} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var121)) if templ_7745c5c3_Err != nil { @@ -2478,7 +2478,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var122 string templ_7745c5c3_Var122, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantOrderTrackingMissing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 576, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 628, Col: 54} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var122)) if templ_7745c5c3_Err != nil { @@ -2496,7 +2496,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var123 string templ_7745c5c3_Var123, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantSellerBlocked) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 579, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 631, Col: 84} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var123)) if templ_7745c5c3_Err != nil { @@ -2509,7 +2509,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var124 string templ_7745c5c3_Var124, templ_7745c5c3_Err = templ.JoinStringErrs(order.BlockerSummary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 579, Col: 117} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 631, Col: 117} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var124)) if templ_7745c5c3_Err != nil { @@ -2522,7 +2522,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var125 string templ_7745c5c3_Var125, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantSellerNextStep) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 580, Col: 123} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 632, Col: 123} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var125)) if templ_7745c5c3_Err != nil { @@ -2535,7 +2535,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var126 string templ_7745c5c3_Var126, templ_7745c5c3_Err = templ.JoinStringErrs(order.NextStepSummary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 580, Col: 157} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 632, Col: 157} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var126)) if templ_7745c5c3_Err != nil { @@ -2560,7 +2560,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var128 string templ_7745c5c3_Var128, templ_7745c5c3_Err = templ.JoinStringErrs(sellerQueueTitle(order.ActionNeededKey, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 583, Col: 150} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 635, Col: 150} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var128)) if templ_7745c5c3_Err != nil { @@ -2579,7 +2579,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var129 string templ_7745c5c3_Var129, templ_7745c5c3_Err = templ.JoinStringErrs(localizedStatusBadge(order.PaymentStatusKey, order.PaymentStatusKey, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 585, Col: 93} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 637, Col: 93} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var129)) if templ_7745c5c3_Err != nil { @@ -2592,7 +2592,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var130 string templ_7745c5c3_Var130, templ_7745c5c3_Err = templ.JoinStringErrs(localizedStatusBadge(order.FulfillmentStatusKey, order.FulfillmentStatusKey, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 586, Col: 101} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 638, Col: 101} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var130)) if templ_7745c5c3_Err != nil { @@ -2618,7 +2618,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var132 string templ_7745c5c3_Var132, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantOrderOpen) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 590, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 642, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var132)) if templ_7745c5c3_Err != nil { @@ -2653,7 +2653,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var133 string templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinStringErrs(draft.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 603, Col: 53} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 655, Col: 53} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) if templ_7745c5c3_Err != nil { @@ -2666,7 +2666,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var134 string templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(draft.Body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 604, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 656, Col: 80} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) if templ_7745c5c3_Err != nil { @@ -2694,7 +2694,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var135 string templ_7745c5c3_Var135, templ_7745c5c3_Err = templ.JoinStringErrs(approval.Summary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 616, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 668, Col: 60} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var135)) if templ_7745c5c3_Err != nil { @@ -2707,7 +2707,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var136 string templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(approval.OrderNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 617, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 669, Col: 72} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) if templ_7745c5c3_Err != nil { @@ -2732,7 +2732,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var138 string templ_7745c5c3_Var138, templ_7745c5c3_Err = templ.JoinStringErrs(approvalStatusLabel(approval.StatusKey, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 619, Col: 150} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 671, Col: 150} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var138)) if templ_7745c5c3_Err != nil { @@ -2756,7 +2756,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var139 string templ_7745c5c3_Var139, templ_7745c5c3_Err = templ.JoinStringErrs(approval.PayloadPreview) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 622, Col: 74} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 674, Col: 74} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var139)) if templ_7745c5c3_Err != nil { @@ -2775,7 +2775,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var140 string templ_7745c5c3_Var140, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantApprovalWarning) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 625, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 677, Col: 82} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var140)) if templ_7745c5c3_Err != nil { @@ -2788,7 +2788,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var141 string templ_7745c5c3_Var141, templ_7745c5c3_Err = templ.JoinStringErrs(approval.Warning) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 625, Col: 103} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 677, Col: 103} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var141)) if templ_7745c5c3_Err != nil { @@ -2807,7 +2807,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var142 string templ_7745c5c3_Var142, templ_7745c5c3_Err = templ.JoinStringErrs(approval.ExpiresAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 628, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 680, Col: 69} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var142)) if templ_7745c5c3_Err != nil { @@ -2831,7 +2831,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var143 templ.SafeURL templ_7745c5c3_Var143, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(approval.ApproveURL)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 633, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 685, Col: 59} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var143)) if templ_7745c5c3_Err != nil { @@ -2856,7 +2856,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var145 string templ_7745c5c3_Var145, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApprove) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 635, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 687, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var145)) if templ_7745c5c3_Err != nil { @@ -2881,7 +2881,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var146 templ.SafeURL templ_7745c5c3_Var146, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(approval.RejectURL)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 640, Col: 58} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 692, Col: 58} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var146)) if templ_7745c5c3_Err != nil { @@ -2906,7 +2906,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var148 string templ_7745c5c3_Var148, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationReject) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 642, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 694, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var148)) if templ_7745c5c3_Err != nil { @@ -2951,7 +2951,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var149 templ.SafeURL templ_7745c5c3_Var149, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(metric.DetailURL)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 656, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 708, Col: 47} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var149)) if templ_7745c5c3_Err != nil { @@ -2964,7 +2964,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var150 string templ_7745c5c3_Var150, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 657, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 709, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var150)) if templ_7745c5c3_Err != nil { @@ -2977,7 +2977,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var151 string templ_7745c5c3_Var151, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 658, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 710, Col: 60} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var151)) if templ_7745c5c3_Err != nil { @@ -2995,7 +2995,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var152 string templ_7745c5c3_Var152, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 662, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 714, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var152)) if templ_7745c5c3_Err != nil { @@ -3008,7 +3008,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var153 string templ_7745c5c3_Var153, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 663, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 715, Col: 60} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var153)) if templ_7745c5c3_Err != nil { @@ -3038,7 +3038,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var154 templ.SafeURL templ_7745c5c3_Var154, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(issue.DetailURL)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 672, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 724, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var154)) if templ_7745c5c3_Err != nil { @@ -3051,7 +3051,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var155 string templ_7745c5c3_Var155, templ_7745c5c3_Err = templ.JoinStringErrs(issue.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 673, Col: 53} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 725, Col: 53} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var155)) if templ_7745c5c3_Err != nil { @@ -3064,7 +3064,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var156 string templ_7745c5c3_Var156, templ_7745c5c3_Err = templ.JoinStringErrs(issue.Summary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 674, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 726, Col: 68} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var156)) if templ_7745c5c3_Err != nil { @@ -3082,7 +3082,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var157 string templ_7745c5c3_Var157, templ_7745c5c3_Err = templ.JoinStringErrs(issue.Meta) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 676, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 728, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var157)) if templ_7745c5c3_Err != nil { @@ -3105,7 +3105,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var158 string templ_7745c5c3_Var158, templ_7745c5c3_Err = templ.JoinStringErrs(issue.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 681, Col: 53} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 733, Col: 53} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var158)) if templ_7745c5c3_Err != nil { @@ -3118,7 +3118,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var159 string templ_7745c5c3_Var159, templ_7745c5c3_Err = templ.JoinStringErrs(issue.Summary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 682, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 734, Col: 68} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var159)) if templ_7745c5c3_Err != nil { @@ -3136,7 +3136,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var160 string templ_7745c5c3_Var160, templ_7745c5c3_Err = templ.JoinStringErrs(issue.Meta) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 684, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 736, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var160)) if templ_7745c5c3_Err != nil { @@ -3171,7 +3171,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var161 templ.SafeURL templ_7745c5c3_Var161, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(basePath + "/messages")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 694, Col: 58} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 746, Col: 58} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var161)) if templ_7745c5c3_Err != nil { @@ -3204,7 +3204,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var163 string templ_7745c5c3_Var163, templ_7745c5c3_Err = templ.JoinStringErrs(item) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 698, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 750, Col: 14} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var163)) if templ_7745c5c3_Err != nil { @@ -3228,7 +3228,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var164 templ.SafeURL templ_7745c5c3_Var164, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(basePath + "?prompt=" + url.QueryEscape(item))) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 702, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 754, Col: 76} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var164)) if templ_7745c5c3_Err != nil { @@ -3241,7 +3241,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var165 string templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(item) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 702, Col: 207} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 754, Col: 207} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) if templ_7745c5c3_Err != nil { @@ -3265,7 +3265,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var166 string templ_7745c5c3_Var166, templ_7745c5c3_Err = templ.JoinStringErrs(block.PreviewJob.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 710, Col: 61} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 762, Col: 61} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var166)) if templ_7745c5c3_Err != nil { @@ -3278,7 +3278,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var167 string templ_7745c5c3_Var167, templ_7745c5c3_Err = templ.JoinStringErrs(block.PreviewJob.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 711, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 763, Col: 77} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var167)) if templ_7745c5c3_Err != nil { @@ -3303,7 +3303,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var169 string templ_7745c5c3_Var169, templ_7745c5c3_Err = templ.JoinStringErrs(block.PreviewJob.Status) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 713, Col: 123} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 765, Col: 123} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var169)) if templ_7745c5c3_Err != nil { @@ -3327,7 +3327,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var170 string templ_7745c5c3_Var170, templ_7745c5c3_Err = templ.JoinStringErrs(block.PreviewJob.ImageURL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 716, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 768, Col: 41} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var170)) if templ_7745c5c3_Err != nil { @@ -3340,7 +3340,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var171 string templ_7745c5c3_Var171, templ_7745c5c3_Err = templ.JoinStringErrs(block.PreviewJob.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 716, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 768, Col: 72} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var171)) if templ_7745c5c3_Err != nil { @@ -3359,7 +3359,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var172 string templ_7745c5c3_Var172, templ_7745c5c3_Err = templ.JoinStringErrs(block.PreviewJob.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 719, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 771, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var172)) if templ_7745c5c3_Err != nil { @@ -3378,7 +3378,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var173 string templ_7745c5c3_Var173, templ_7745c5c3_Err = templ.JoinStringErrs(block.PreviewJob.PollURL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 722, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 774, Col: 43} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var173)) if templ_7745c5c3_Err != nil { @@ -3391,7 +3391,7 @@ func assistantBlocks(message viewmodel.AssistantMessage, basePath, threadID stri var templ_7745c5c3_Var174 string templ_7745c5c3_Var174, templ_7745c5c3_Err = templ.JoinStringErrs("#assistant-message-" + message.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 722, Col: 114} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 774, Col: 114} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var174)) if templ_7745c5c3_Err != nil { @@ -3512,7 +3512,7 @@ func assistantEmptyState(page viewmodel.AssistantPage, labels viewmodel.SiteLabe var templ_7745c5c3_Var182 string templ_7745c5c3_Var182, templ_7745c5c3_Err = templ.JoinStringErrs(page.LandingTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 743, Col: 262} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 795, Col: 262} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var182)) if templ_7745c5c3_Err != nil { @@ -3547,7 +3547,7 @@ func assistantEmptyState(page viewmodel.AssistantPage, labels viewmodel.SiteLabe var templ_7745c5c3_Var185 string templ_7745c5c3_Var185, templ_7745c5c3_Err = templ.JoinStringErrs(page.LandingBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 744, Col: 227} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 796, Col: 227} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var185)) if templ_7745c5c3_Err != nil { @@ -3623,7 +3623,7 @@ func assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabels var templ_7745c5c3_Var188 templ.SafeURL templ_7745c5c3_Var188, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(basePath + "/messages")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 762, Col: 53} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 814, Col: 53} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var188)) if templ_7745c5c3_Err != nil { @@ -3678,12 +3678,12 @@ func assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabels if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var190 = []any{"rounded-2xl border border-border/70 bg-background/90 p-3 shadow-sm backdrop-blur", templ.KV("hidden", page.ComposerAsset.AssetID == "")} + var templ_7745c5c3_Var190 = []any{templ.KV("rounded-[1.9rem] border border-primary/20 bg-[linear-gradient(180deg,rgba(255,255,255,0.86),rgba(255,255,255,0.74))] p-3 shadow-[0_24px_80px_rgba(15,23,42,0.14)] backdrop-blur-xl dark:bg-[linear-gradient(180deg,rgba(10,10,12,0.9),rgba(10,10,12,0.82))]", centered), templ.KV("rounded-[1.6rem] border border-border/70 bg-background/95 p-3 shadow-sm", !centered)} templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var190...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var192 string - templ_7745c5c3_Var192, templ_7745c5c3_Err = templ.JoinStringErrs(page.ComposerAsset.URL) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 773, Col: 70} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var192)) + var templ_7745c5c3_Var192 = []any{templ.KV("flex flex-col gap-2 rounded-[1.45rem] bg-muted/[0.24] px-3 py-3 ring-1 ring-border/50", centered), templ.KV("flex flex-col gap-2 rounded-[1.25rem] bg-muted/20 px-3 py-3 ring-1 ring-border/40", !centered)} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var192...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "\" alt=\"\" class=\"size-12 rounded-xl object-cover\">

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var194 string - templ_7745c5c3_Var194, templ_7745c5c3_Err = templ.JoinStringErrs(page.ComposerAsset.ContentType) + var templ_7745c5c3_Var194 = []any{"rounded-2xl border border-border/70 bg-background/88 p-2.5 shadow-sm backdrop-blur-sm", templ.KV("hidden", page.ComposerAsset.AssetID == "")} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var194...) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 776, Col: 110} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var194)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "

") + var templ_7745c5c3_Var195 string + templ_7745c5c3_Var195, templ_7745c5c3_Err = templ.JoinStringErrs(templ.CSSClasses(templ_7745c5c3_Var194).String()) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1, Col: 0} } - templ_7745c5c3_Var195 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = icon.X(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{ - ID: "assistant-upload-clear", - Type: button.TypeButton, - Variant: button.VariantGhost, - Size: button.SizeIcon, - Class: "size-8 rounded-xl", - Attributes: templ.Attributes{"onclick": "clearAssistantUpload()"}, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var195), templ_7745c5c3_Buffer) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var195)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, "\">
\"\"

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var197 string - templ_7745c5c3_Var197, templ_7745c5c3_Err = templ.JoinStringErrs(templ.CSSClasses(templ_7745c5c3_Var196).String()) + templ_7745c5c3_Var197, templ_7745c5c3_Err = templ.JoinStringErrs(page.ComposerAsset.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1, Col: 0} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 829, Col: 104} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var197)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, "\">") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var198 = []any{templ.KV("flex items-end gap-3 rounded-[1.35rem] bg-muted/28 px-3 py-2 ring-1 ring-border/50", centered), templ.KV("flex items-end gap-3", !centered)} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var198...) + var templ_7745c5c3_Var198 string + templ_7745c5c3_Var198, templ_7745c5c3_Err = templ.JoinStringErrs(page.ComposerAsset.ContentType) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 830, Col: 112} } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, "

") if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1, Col: 0} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var199)) + templ_7745c5c3_Var199 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.X(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{ + ID: "assistant-upload-clear", + Type: button.TypeButton, + Variant: button.VariantGhost, + Size: button.SizeIcon, + Class: "size-8 rounded-xl", + Attributes: templ.Attributes{"onclick": "clearAssistantUpload()"}, + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var199), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, "\">") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.IsAuthenticated { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3833,48 +3833,49 @@ func assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } templ_7745c5c3_Err = icon.Paperclip(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{ - ID: "assistant-upload-trigger", - Variant: button.VariantGhost, - Size: button.SizeIcon, - Type: button.TypeButton, - Class: "size-8 rounded-xl", - Attributes: templ.Attributes{"onclick": "document.getElementById('assistant-asset-file').click()"}, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var200), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if !centered { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var201 string templ_7745c5c3_Var201, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadAttach) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 805, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 858, Col: 89} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var201)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{ + ID: "assistant-upload-trigger", + Variant: button.VariantGhost, + Type: button.TypeButton, + Class: "h-full min-h-12 rounded-[1.15rem] border border-border/70 bg-background/82 px-3 text-muted-foreground shadow-none transition-colors hover:bg-background hover:text-foreground", + Attributes: templ.Attributes{"onclick": "document.getElementById('assistant-asset-file').click()"}, + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var200), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3889,7 +3890,7 @@ func assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabels if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3915,13 +3916,13 @@ func assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabels ID: "assistant-submit-trigger", Type: button.TypeSubmit, Size: button.SizeIcon, - Class: "size-12 rounded-[1.15rem] bg-primary text-primary-foreground shadow-none hover:bg-primary/90", + Class: "size-12 rounded-[1.15rem] bg-primary text-primary-foreground shadow-[0_12px_30px_rgba(249,115,22,0.28)] hover:bg-primary/90", Variant: button.VariantDefault, }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var202), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3931,7 +3932,7 @@ func assistantComposer(page viewmodel.AssistantPage, labels viewmodel.SiteLabels return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3961,7 +3962,7 @@ func assistantContextChips(thread viewmodel.AssistantThread, labels viewmodel.Si } ctx = templ.ClearChildren(ctx) if thread.Product.Slug != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3969,39 +3970,39 @@ func assistantContextChips(thread viewmodel.AssistantThread, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var204 string templ_7745c5c3_Var204, templ_7745c5c3_Err = templ.JoinStringErrs(thread.Product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 840, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 895, Col: 51} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var204)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var205 string templ_7745c5c3_Var205, templ_7745c5c3_Err = templ.JoinStringErrs(thread.Product.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 841, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 896, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var205)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if thread.OrderContext != nil && thread.OrderContext.OrderNumber != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 301, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4009,75 +4010,75 @@ func assistantContextChips(thread viewmodel.AssistantThread, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 301, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 302, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var206 string templ_7745c5c3_Var206, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadOrderContext) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 847, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 902, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var206)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 302, ": ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, ": ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var207 string templ_7745c5c3_Var207, templ_7745c5c3_Err = templ.JoinStringErrs(thread.OrderContext.OrderNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 847, Col: 102} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 902, Col: 102} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var207)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 304, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if thread.OrderContext.DetailURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 304, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 306, "\" class=\"text-primary underline-offset-4 hover:underline\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var209 string templ_7745c5c3_Var209, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantOrderOpen) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 849, Col: 144} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 904, Col: 144} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var209)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 306, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 307, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 307, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 308, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if thread.SellerOrderContext != nil && thread.SellerOrderContext.OrderNumber != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 308, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 309, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4085,69 +4086,69 @@ func assistantContextChips(thread viewmodel.AssistantThread, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 309, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 310, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var210 string templ_7745c5c3_Var210, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadOrderContext) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 856, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 911, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var210)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 310, ": ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 311, ": ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var211 string templ_7745c5c3_Var211, templ_7745c5c3_Err = templ.JoinStringErrs(thread.SellerOrderContext.OrderNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 856, Col: 108} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 911, Col: 108} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var211)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 311, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 312, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if thread.SellerOrderContext.DetailURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 312, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 314, "\" class=\"text-primary underline-offset-4 hover:underline\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var213 string templ_7745c5c3_Var213, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantOrderOpen) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 858, Col: 150} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 913, Col: 150} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var213)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 314, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 315, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 315, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 316, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4177,7 +4178,7 @@ func assistantComposerScripts(basePath string) templ.Component { templ_7745c5c3_Var214 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 316, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4207,13 +4208,13 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la } ctx = templ.ClearChildren(ctx) if thread.PendingResponse == nil { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, "return ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, "return ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if thread.PendingResponse.Status == "failed" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 319, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4221,20 +4222,20 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 319, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var216 string templ_7745c5c3_Var216, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadAI) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1071, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1126, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var216)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4253,7 +4254,7 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la var templ_7745c5c3_Var218 string templ_7745c5c3_Var218, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1072, Col: 110} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1127, Col: 110} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var218)) if templ_7745c5c3_Err != nil { @@ -4265,74 +4266,74 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var219 string templ_7745c5c3_Var219, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFailureTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1075, Col: 58} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1130, Col: 58} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var219)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var220 string templ_7745c5c3_Var220, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFailureBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1076, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1131, Col: 72} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var220)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 324, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if thread.PendingResponse.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 324, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var221 string templ_7745c5c3_Var221, templ_7745c5c3_Err = templ.JoinStringErrs(thread.PendingResponse.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1078, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1133, Col: 82} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var221)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if thread.PendingResponse.MessageID != "" && thread.ID != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4356,14 +4357,14 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var224 string templ_7745c5c3_Var224, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantRetry) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1086, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1141, Col: 30} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var224)) if templ_7745c5c3_Err != nil { @@ -4375,17 +4376,17 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 331, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 331, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 332, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 332, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4393,33 +4394,33 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 334, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var225 string templ_7745c5c3_Var225, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadAI) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1099, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1154, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var225)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 334, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 335, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var226 string templ_7745c5c3_Var226, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadThinking) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1102, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1157, Col: 69} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var226)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 335, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 336, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4428,7 +4429,7 @@ func AssistantPendingState(thread viewmodel.AssistantThread, basePath string, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 336, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 338, "\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var229 string templ_7745c5c3_Var229, templ_7745c5c3_Err = templ.JoinStringErrs(thread.PendingResponse.Body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1107, Col: 130} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1162, Col: 130} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var229)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 338, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 339, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4484,51 +4485,51 @@ func assistantFailureCard(messageID, basePath string, shared bool, labels viewmo templ_7745c5c3_Var230 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 339, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 340, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var231 string templ_7745c5c3_Var231, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFailureTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1117, Col: 55} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1172, Col: 55} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var231)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 340, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 341, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var232 string templ_7745c5c3_Var232, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantFailureBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1118, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1173, Col: 69} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var232)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 341, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if messageID != "" && !shared { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 344, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4548,14 +4549,14 @@ func assistantFailureCard(messageID, basePath string, shared bool, labels viewmo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 344, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 345, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var235 string templ_7745c5c3_Var235, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantRetry) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1124, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1179, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var235)) if templ_7745c5c3_Err != nil { @@ -4567,7 +4568,7 @@ func assistantFailureCard(messageID, basePath string, shared bool, labels viewmo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 345, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 346, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4597,7 +4598,7 @@ func assistantSharedNotice(labels viewmodel.SiteLabels) templ.Component { templ_7745c5c3_Var236 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 346, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4605,33 +4606,33 @@ func assistantSharedNotice(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 348, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var237 string templ_7745c5c3_Var237, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantSharedTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1137, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1192, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var237)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 348, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 349, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var238 string templ_7745c5c3_Var238, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantSharedBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1138, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1193, Col: 73} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var238)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 349, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4660,20 +4661,20 @@ func quickTemplateButton(basePath string, item viewmodel.AssistantQuickPrompt) t templ_7745c5c3_Var239 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, "\" class=\"inline-flex items-center gap-2 rounded-full border border-border/70 bg-background/95 px-4 py-2 text-sm shadow-sm transition-colors hover:bg-muted\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4721,13 +4722,13 @@ func quickTemplateButton(basePath string, item viewmodel.AssistantQuickPrompt) t var templ_7745c5c3_Var241 string templ_7745c5c3_Var241, templ_7745c5c3_Err = templ.JoinStringErrs(item.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1166, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1221, Col: 14} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var241)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4759,20 +4760,20 @@ func AssistantStreamingState(labels viewmodel.SiteLabels) templ.Component { templ_7745c5c3_Var242 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var243 string templ_7745c5c3_Var243, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantThreadThinking) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1177, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/assistant.templ`, Line: 1232, Col: 78} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var243)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 355, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/ui/compositions/storefront.templ b/internal/ui/compositions/storefront.templ index 5efca7e..974940e 100644 --- a/internal/ui/compositions/storefront.templ +++ b/internal/ui/compositions/storefront.templ @@ -2,6 +2,7 @@ package compositions import ( "fmt" + "strconv" "strings" "github.com/vestavision/btkcommerce/components/badge" @@ -111,6 +112,15 @@ func reviewBodyExcerpt(body string, limit int) string { } return strings.TrimSpace(body[:cut]) + "…" } + +func reviewAverageRatingValue(averageRating string) float64 { + r, err := strconv.ParseFloat(averageRating, 64) + if err != nil { + return 0 + } + return r +} + type previewModeCard struct { Title string Body string @@ -141,7 +151,7 @@ func previewModeCards(labels viewmodel.SiteLabels) []previewModeCard { Body: labels.TryOnRoomBody, CTA: labels.TryOnRoomCTA, Href: previewModeSearchHref("Ev", "Mobilya"), - Mode: "room", + Mode: labels.TryOnRoomMode, ImageURL: "/assets/img/room-preview.png", Icon: icon.Sofa, }, @@ -150,7 +160,7 @@ func previewModeCards(labels viewmodel.SiteLabels) []previewModeCard { Body: labels.TryOnWearBody, CTA: labels.TryOnWearCTA, Href: previewModeSearchHref("Giyim"), - Mode: "wear", + Mode: labels.TryOnWearMode, ImageURL: "/assets/img/clothing-preview.png", Icon: icon.Shirt, }, @@ -159,7 +169,7 @@ func previewModeCards(labels viewmodel.SiteLabels) []previewModeCard { Body: labels.TryOnAccessoryBody, CTA: labels.TryOnAccessoryCTA, Href: previewModeSearchHref("Ev", "Aksesuar"), - Mode: "accessory", + Mode: labels.TryOnAccessoryMode, ImageURL: "/assets/img/decor-preview.png", Icon: icon.Lamp, }, @@ -408,66 +418,93 @@ templ StoreDrawerLink(label, href string, active bool) { templ ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.ReviewSummary, reviews []viewmodel.ProductReview, form viewmodel.ProductReviewForm, labels viewmodel.SiteLabels) {
@card.Card(card.Props{Class: "rounded-[2rem] border-border/50 bg-card/82 shadow-sm"}) { - @card.Content(card.ContentProps{Class: "space-y-8 p-6 md:p-8"}) { -
-
-

{ labels.ProductReviewOverviewTitle }

-
-

{ insight.AverageRating }

-
-
- for i := 0; i < 5; i++ { - @icon.Star(icon.Props{Class: "size-4 fill-current"}) + @card.Content(card.ContentProps{Class: "space-y-8 p-6 md:p-8 lg:p-10"}) { +
+
+
+
+

{ labels.ProductReviewOverviewTitle }

+
+ +
+

{ insight.AverageRating }

+ @rating.Rating(rating.Props{ + Value: reviewAverageRatingValue(insight.AverageRating), + ReadOnly: true, + Precision: 0.1, + Class: "flex-row items-center justify-center text-primary", + }) { + @rating.Group(rating.GroupProps{Class: "gap-1.5"}) { + for i := 1; i <= 5; i++ { + @rating.Item(rating.ItemProps{Value: i, Style: rating.StyleStar, Class: "size-4 md:size-5"}) + } + } } +
+

{ fmt.Sprintf(labels.ProductDetailReviews, insight.TotalReviews) }

+ if insight.VerifiedReviews > 0 { +
+ @badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full border border-primary/10 bg-primary/8 px-3.5 py-1 text-sm text-primary"}) { + @icon.BadgeCheck(icon.Props{Class: "size-4"}) + { fmt.Sprintf(labels.ProductReviewVerifiedCount, insight.VerifiedReviews) } + } +
+ } +
-

{ fmt.Sprintf(labels.ProductDetailReviews, insight.TotalReviews) }

+
- if insight.VerifiedReviews > 0 { - @badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full px-3 py-1 text-sm"}) { - @icon.BadgeCheck(icon.Props{Class: "size-4"}) - { fmt.Sprintf(labels.ProductReviewVerifiedCount, insight.VerifiedReviews) } - } - }
-
-

{ labels.ProductReviewDistributionTitle }

- for _, row := range insight.Distribution { -
-
- { row.Label } - @icon.Star(icon.Props{Class: "size-3.5 text-primary"}) -
-
-
-
- { row.Value } - { fmt.Sprintf("%d%%", row.Percent) } -
- } -
-
-
-

{ labels.ProductReviewAttributeTitle }

- if len(insight.Attributes) == 0 { -

{ labels.ProductReviewsEmpty }

- } - for _, row := range insight.Attributes { -
-
+
+
+
-

{ storefrontReviewAttributeLabel(row.Key, labels) }

-

{ fmt.Sprintf("%d %s", row.Mentions, labels.ReviewAnalyticsMentions) }

+

{ insight.AverageRating }

+

{ labels.ProductReviewDistributionTitle }

-

{ fmt.Sprintf("%d%%", row.PositivePercent) }

+

{ fmt.Sprintf(labels.ProductDetailReviews, insight.TotalReviews) }

+
+
+ for _, row := range insight.Distribution { +
+
{ row.Label }
+
+
+
+
+ { row.Value } + { fmt.Sprintf("%d%%", row.Percent) } +
+
+ }
-
-
-
-
+
+
+
+

{ labels.ProductReviewAttributeTitle }

+ if len(insight.Attributes) == 0 { +

{ labels.ProductReviewsEmpty }

+ } +
+ for _, row := range insight.Attributes { +
+
+
+

{ storefrontReviewAttributeLabel(row.Key, labels) }

+

{ fmt.Sprintf("%d %s", row.Mentions, labels.ReviewAnalyticsMentions) }

+
+

{ fmt.Sprintf("%d%%", row.PositivePercent) }

+
+
+
+
+
+ } +
- } +
@ProductReviewSummary(summary, labels) @@ -521,11 +558,11 @@ templ ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.R } templ ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.SiteLabels) { - @card.Card(card.Props{Class: "rounded-2xl border-border/50 bg-muted/25"}) { - @card.Content(card.ContentProps{Class: "space-y-4 p-5"}) { + @card.Card(card.Props{Class: "rounded-[1.75rem] border-border/50 bg-muted/20"}) { + @card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}) {
-
+
@icon.Sparkles(icon.Props{Class: "size-4"})
@@ -640,7 +677,6 @@ templ ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteL @rating.Script() @textarea.Script() } else if !form.IsAuthenticated { -

{ labels.ProductReviewLoginRequired }

@button.Button(button.Props{Href: form.LoginURL, Variant: button.VariantOutline, Class: "rounded-xl"}) { @icon.LogIn(icon.Props{Class: "size-4"}) { labels.ProductReviewLoginCTA } @@ -651,11 +687,11 @@ templ ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteL } templ ProductReviewCard(review viewmodel.ProductReview, labels viewmodel.SiteLabels) { - @card.Card(card.Props{Class: "h-full rounded-2xl border-border/50 bg-background/75"}) { + @card.Card(card.Props{Class: "h-full rounded-[1.6rem] border-border/50 bg-background/75"}) { @card.Content(card.ContentProps{Class: "space-y-4 p-5"}) {
-
+
{ reviewAuthorInitial(review.Author) }
@@ -705,10 +741,10 @@ templ summaryList(title string, items []string, tone string) { // ============================================================================= templ HomeHero(page viewmodel.HomePage, labels viewmodel.SiteLabels) { -
+
-
+
@@ -866,57 +902,59 @@ templ HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels if len(page.AIWorkflow.Outputs) > 0 {
-
-

{ labels.HomeWorkflowEyebrow }

-

{ labels.HomeWorkflowTitle }

-

{ labels.HomeWorkflowBody }

-
-
- @card.Card(card.Props{Class: "home-surface rounded-[2rem] border-border/60 bg-card/86"}) { - @card.Content(card.ContentProps{Class: "space-y-5 p-6 md:p-7"}) { -
+
+

{ labels.HomeWorkflowEyebrow }

+

{ labels.HomeWorkflowTitle }

+

{ labels.HomeWorkflowBody }

+
+
+ @card.Card(card.Props{Class: "home-workflow-panel rounded-[1.5rem] border-border/60"}) { + @card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}) { +
-

{ page.AIWorkflow.InputTitle }

-

{ page.AIWorkflow.InputPrompt }

+

{ page.AIWorkflow.InputTitle }

+

{ page.AIWorkflow.InputPrompt }

+

{ page.AIWorkflow.InputBody }

-
+
for _, chip := range page.AIWorkflow.InputChips { - { chip } + { chip } }
-

{ page.AIWorkflow.InputBody }

} } - @card.Card(card.Props{Class: "home-surface rounded-[2rem] border-border/60 bg-card/86"}) { - @card.Content(card.ContentProps{Class: "space-y-5 p-6 md:p-7"}) { -
-

{ page.AIWorkflow.AnalysisTitle }

-

{ page.AIWorkflow.AnalysisBody }

+ @card.Card(card.Props{Class: "home-workflow-panel rounded-[1.5rem] border-border/60"}) { + @card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}) { +
+

{ page.AIWorkflow.AnalysisTitle }

+

{ page.AIWorkflow.AnalysisBody }

for idx, step := range page.AIWorkflow.Steps { -
-
-
+
+
+
{ idx + 1 }
-
- @homeIcon(step.IconName, "size-4") -

{ step.Title }

+
+
+ @homeIcon(step.IconName, "size-4") +

{ step.Title }

+
+

{ step.Body }

-

{ step.Body }

}
} } - @card.Card(card.Props{Class: "home-surface rounded-[2rem] border-border/60 bg-card/86"}) { - @card.Content(card.ContentProps{Class: "space-y-5 p-6 md:p-7"}) { -
-

{ page.AIWorkflow.OutputsTitle }

-

{ page.AIWorkflow.OutputsBody }

+ @card.Card(card.Props{Class: "home-workflow-panel rounded-[1.5rem] border-border/60"}) { + @card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}) { +
+

{ page.AIWorkflow.OutputsTitle }

+

{ page.AIWorkflow.OutputsBody }

for _, output := range page.AIWorkflow.Outputs { @@ -981,16 +1019,18 @@ templ HomeSectionHeading(eyebrow, title, body string) { templ TryOnShowcase(labels viewmodel.SiteLabels) {
- @HomeSectionHeading(labels.TryOnTitle, labels.TryOnHeading, labels.TryOnBody) +
+

{ labels.TryOnTitle }

+
+

{ labels.TryOnHeading }

+

{ labels.TryOnBody }

+
+
for _, item := range previewModeCards(labels) { @TryOnCard(item) }
-
- @icon.Sparkles(icon.Props{Class: "size-3.5 shrink-0 text-primary"}) - { labels.TryOnTrustLine } -
} @@ -1057,23 +1097,23 @@ templ TryOnCard(item previewModeCard) { templ HomeWorkflowOutputCard(output viewmodel.HomeAIWorkflowOutput) { - @card.Card(card.Props{Class: "home-workflow-output h-full rounded-[1.8rem] border-border/60 bg-card/84 transition-all duration-300 group-hover:-translate-y-1"}) { - @card.Content(card.ContentProps{Class: "flex h-full flex-col gap-5 p-5"}) { + @card.Card(card.Props{Class: "home-workflow-output h-full rounded-[1.25rem] border-border/60 transition-colors duration-200 group-hover:border-foreground/18"}) { + @card.Content(card.ContentProps{Class: "flex h-full flex-col gap-4 p-5"}) {
-
+
@homePreviewModeIcon(output.Mode)
- @icon.ArrowUpRight(icon.Props{Class: "size-4 text-primary"}) + @icon.ArrowUpRight(icon.Props{Class: "size-4 text-foreground/36 transition-colors group-hover:text-foreground/58"})
-

{ output.Title }

+

{ output.Title }

{ output.Description }

if output.Product.Title != "" || output.Product.Price != "" { -
-
+
+
if output.Product.Title != "" { -

{ output.Product.Title }

+

{ output.Product.Title }

} if output.Product.Price != "" {

{ output.Product.Price }

@@ -1997,16 +2037,16 @@ templ Footer(labels viewmodel.SiteLabels) {
diff --git a/internal/ui/compositions/storefront_templ.go b/internal/ui/compositions/storefront_templ.go index 8c38f3e..3128abc 100644 --- a/internal/ui/compositions/storefront_templ.go +++ b/internal/ui/compositions/storefront_templ.go @@ -10,6 +10,7 @@ import templruntime "github.com/a-h/templ/runtime" import ( "fmt" + "strconv" "strings" "github.com/vestavision/btkcommerce/components/badge" @@ -120,6 +121,14 @@ func reviewBodyExcerpt(body string, limit int) string { return strings.TrimSpace(body[:cut]) + "…" } +func reviewAverageRatingValue(averageRating string) float64 { + r, err := strconv.ParseFloat(averageRating, 64) + if err != nil { + return 0 + } + return r +} + type previewModeCard struct { Title string Body string @@ -150,7 +159,7 @@ func previewModeCards(labels viewmodel.SiteLabels) []previewModeCard { Body: labels.TryOnRoomBody, CTA: labels.TryOnRoomCTA, Href: previewModeSearchHref("Ev", "Mobilya"), - Mode: "room", + Mode: labels.TryOnRoomMode, ImageURL: "/assets/img/room-preview.png", Icon: icon.Sofa, }, @@ -159,7 +168,7 @@ func previewModeCards(labels viewmodel.SiteLabels) []previewModeCard { Body: labels.TryOnWearBody, CTA: labels.TryOnWearCTA, Href: previewModeSearchHref("Giyim"), - Mode: "wear", + Mode: labels.TryOnWearMode, ImageURL: "/assets/img/clothing-preview.png", Icon: icon.Shirt, }, @@ -168,7 +177,7 @@ func previewModeCards(labels viewmodel.SiteLabels) []previewModeCard { Body: labels.TryOnAccessoryBody, CTA: labels.TryOnAccessoryCTA, Href: previewModeSearchHref("Ev", "Aksesuar"), - Mode: "accessory", + Mode: labels.TryOnAccessoryMode, ImageURL: "/assets/img/decor-preview.png", Icon: icon.Lamp, }, @@ -218,7 +227,7 @@ func StoreNav(active string, labels viewmodel.SiteLabels, auth layouts.AuthState var templ_7745c5c3_Var3 string templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SiteName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 178, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 188, Col: 59} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) if templ_7745c5c3_Err != nil { @@ -231,7 +240,7 @@ func StoreNav(active string, labels viewmodel.SiteLabels, auth layouts.AuthState var templ_7745c5c3_Var4 string templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SiteName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 181, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 191, Col: 82} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) if templ_7745c5c3_Err != nil { @@ -244,7 +253,7 @@ func StoreNav(active string, labels viewmodel.SiteLabels, auth layouts.AuthState var templ_7745c5c3_Var5 string templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SiteTagline) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 182, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 192, Col: 89} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) if templ_7745c5c3_Err != nil { @@ -398,7 +407,7 @@ func StoreNav(active string, labels viewmodel.SiteLabels, auth layouts.AuthState var templ_7745c5c3_Var11 string templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SiteName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 230, Col: 24} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 240, Col: 24} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var11)) if templ_7745c5c3_Err != nil { @@ -433,7 +442,7 @@ func StoreNav(active string, labels viewmodel.SiteLabels, auth layouts.AuthState var templ_7745c5c3_Var13 string templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SiteTagline) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 233, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 243, Col: 48} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13)) if templ_7745c5c3_Err != nil { @@ -535,7 +544,7 @@ func StoreNav(active string, labels viewmodel.SiteLabels, auth layouts.AuthState var templ_7745c5c3_Var15 string templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AuthLogout) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 263, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 273, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) if templ_7745c5c3_Err != nil { @@ -596,7 +605,7 @@ func StoreNav(active string, labels viewmodel.SiteLabels, auth layouts.AuthState var templ_7745c5c3_Var18 string templ_7745c5c3_Var18, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavChangeTheme) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 272, Col: 203} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 282, Col: 203} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var18)) if templ_7745c5c3_Err != nil { @@ -674,7 +683,7 @@ func StoreLink(href string, active bool, label, iconName string) templ.Component var templ_7745c5c3_Var21 templ.SafeURL templ_7745c5c3_Var21, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(href)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 282, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 292, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var21)) if templ_7745c5c3_Err != nil { @@ -700,7 +709,7 @@ func StoreLink(href string, active bool, label, iconName string) templ.Component var templ_7745c5c3_Var23 string templ_7745c5c3_Var23, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 288, Col: 20} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 298, Col: 20} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var23)) if templ_7745c5c3_Err != nil { @@ -733,7 +742,7 @@ func StoreLink(href string, active bool, label, iconName string) templ.Component var templ_7745c5c3_Var24 string templ_7745c5c3_Var24, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 297, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 307, Col: 40} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var24)) if templ_7745c5c3_Err != nil { @@ -751,7 +760,7 @@ func StoreLink(href string, active bool, label, iconName string) templ.Component var templ_7745c5c3_Var25 string templ_7745c5c3_Var25, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 299, Col: 210} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 309, Col: 210} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var25)) if templ_7745c5c3_Err != nil { @@ -833,7 +842,7 @@ func userDropdown(auth layouts.AuthState, labels viewmodel.SiteLabels) templ.Com var templ_7745c5c3_Var28 string templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinStringErrs(auth.UserName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 319, Col: 63} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 329, Col: 63} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28)) if templ_7745c5c3_Err != nil { @@ -850,7 +859,7 @@ func userDropdown(auth layouts.AuthState, labels viewmodel.SiteLabels) templ.Com var templ_7745c5c3_Var29 string templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 323, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 333, Col: 23} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) if templ_7745c5c3_Err != nil { @@ -872,7 +881,7 @@ func userDropdown(auth layouts.AuthState, labels viewmodel.SiteLabels) templ.Com var templ_7745c5c3_Var30 string templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavSellerPanel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 328, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 338, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) if templ_7745c5c3_Err != nil { @@ -895,7 +904,7 @@ func userDropdown(auth layouts.AuthState, labels viewmodel.SiteLabels) templ.Com var templ_7745c5c3_Var31 string templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAdminPanel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 334, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 344, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) if templ_7745c5c3_Err != nil { @@ -917,7 +926,7 @@ func userDropdown(auth layouts.AuthState, labels viewmodel.SiteLabels) templ.Com var templ_7745c5c3_Var32 string templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 340, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 350, Col: 21} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32)) if templ_7745c5c3_Err != nil { @@ -950,7 +959,7 @@ func userDropdown(auth layouts.AuthState, labels viewmodel.SiteLabels) templ.Com var templ_7745c5c3_Var34 string templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AuthLogout) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 349, Col: 24} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 359, Col: 24} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var34)) if templ_7745c5c3_Err != nil { @@ -1010,7 +1019,7 @@ func iconButton(href, iconName, label string, active bool, count int) templ.Comp var templ_7745c5c3_Var37 templ.SafeURL templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(href)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 358, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 368, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var37)) if templ_7745c5c3_Err != nil { @@ -1036,7 +1045,7 @@ func iconButton(href, iconName, label string, active bool, count int) templ.Comp var templ_7745c5c3_Var39 string templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 364, Col: 20} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 374, Col: 20} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39)) if templ_7745c5c3_Err != nil { @@ -1096,7 +1105,7 @@ func iconButton(href, iconName, label string, active bool, count int) templ.Comp var templ_7745c5c3_Var42 string templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", count)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 380, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 390, Col: 31} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42)) if templ_7745c5c3_Err != nil { @@ -1114,7 +1123,7 @@ func iconButton(href, iconName, label string, active bool, count int) templ.Comp var templ_7745c5c3_Var43 string templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 382, Col: 187} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 392, Col: 187} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) if templ_7745c5c3_Err != nil { @@ -1172,7 +1181,7 @@ func themeToggle(label string) templ.Component { var templ_7745c5c3_Var46 string templ_7745c5c3_Var46, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 389, Col: 187} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 399, Col: 187} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var46)) if templ_7745c5c3_Err != nil { @@ -1228,7 +1237,7 @@ func StoreDrawerLink(label, href string, active bool) templ.Component { var templ_7745c5c3_Var49 templ.SafeURL templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(href)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 395, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 405, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) if templ_7745c5c3_Err != nil { @@ -1254,7 +1263,7 @@ func StoreDrawerLink(label, href string, active bool) templ.Component { var templ_7745c5c3_Var51 string templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 404, Col: 9} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 414, Col: 9} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) if templ_7745c5c3_Err != nil { @@ -1317,61 +1326,106 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var55 string templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewOverviewTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 414, Col: 122} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 426, Col: 123} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var56 string templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.JoinStringErrs(insight.AverageRating) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 416, Col: 107} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 430, Col: 113} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var56)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - for i := 0; i < 5; i++ { - templ_7745c5c3_Err = icon.Star(icon.Props{Class: "size-4 fill-current"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Var57 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var58 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + for i := 1; i <= 5; i++ { + templ_7745c5c3_Err = rating.Item(rating.ItemProps{Value: i, Style: rating.StyleStar, Class: "size-4 md:size-5"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = rating.Group(rating.GroupProps{Class: "gap-1.5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var58), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + return nil + }) + templ_7745c5c3_Err = rating.Rating(rating.Props{ + Value: reviewAverageRatingValue(insight.AverageRating), + ReadOnly: true, + Precision: 0.1, + Class: "flex-row items-center justify-center text-primary", + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var57), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var57 string - templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductDetailReviews, insight.TotalReviews)) + var templ_7745c5c3_Var59 string + templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductDetailReviews, insight.TotalReviews)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 423, Col: 113} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 444, Col: 138} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var57)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if insight.VerifiedReviews > 0 { - templ_7745c5c3_Var58 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var60 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1387,241 +1441,219 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var59 string - templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductReviewVerifiedCount, insight.VerifiedReviews)) + var templ_7745c5c3_Var61 string + templ_7745c5c3_Var61, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductReviewVerifiedCount, insight.VerifiedReviews)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 429, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 449, Col: 86} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var61)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full px-3 py-1 text-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var58), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full border border-primary/10 bg-primary/8 px-3.5 py-1 text-sm text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var60), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var62 string + templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(insight.AverageRating) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 463, Col: 109} } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var60 string - templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewDistributionTitle) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "

") if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 434, Col: 78} + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var63 string + templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewDistributionTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 464, Col: 94} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var64 string + templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductDetailReviews, insight.TotalReviews)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 466, Col: 125} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var60)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var64)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, row := range insight.Distribution { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var61 string - templ_7745c5c3_Var61, templ_7745c5c3_Err = templ.JoinStringErrs(row.Label) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 438, Col: 26} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var61)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = icon.Star(icon.Props{Class: "size-3.5 text-primary"}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var62 = []any{"h-full rounded-full", reviewHistogramToneClass(row.Tone)} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var62...) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var65 string - templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(row.Value) + var templ_7745c5c3_Var67 string + templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs(row.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 444, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 476, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var66 string - templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d%%", row.Percent)) + var templ_7745c5c3_Var68 string + templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d%%", row.Percent)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 445, Col: 98} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 477, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var66)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var67 string - templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewAttributeTitle) + var templ_7745c5c3_Var69 string + templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewAttributeTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 451, Col: 74} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 485, Col: 93} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var69)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(insight.Attributes) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var68 string - templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewsEmpty) + var templ_7745c5c3_Var70 string + templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewsEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 453, Col: 143} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 487, Col: 146} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } for _, row := range insight.Attributes { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var69 string - templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.JoinStringErrs(storefrontReviewAttributeLabel(row.Key, labels)) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 459, Col: 81} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var69)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var70 string - templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d %s", row.Mentions, labels.ReviewAnalyticsMentions)) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 460, Col: 118} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var71 string - templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d%%", row.PositivePercent)) + templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.JoinStringErrs(storefrontReviewAttributeLabel(row.Key, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 462, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 494, Col: 101} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var71)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var72 string - templ_7745c5c3_Var72, templ_7745c5c3_Err = templruntime.SanitizeStyleAttributeValues(reviewBarWidth(row.PositivePercent)) + templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d %s", row.Mentions, labels.ReviewAnalyticsMentions)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 465, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 495, Col: 122} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var72)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var73 string - templ_7745c5c3_Var73, templ_7745c5c3_Err = templruntime.SanitizeStyleAttributeValues(reviewBarWidth(row.NeutralPercent)) + templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d%%", row.PositivePercent)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 466, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 497, Col: 118} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var73)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "\">

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1646,7 +1678,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-8 p-6 md:p-8"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var54), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-8 p-6 md:p-8 lg:p-10"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var54), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1691,7 +1723,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re var templ_7745c5c3_Var77 string templ_7745c5c3_Var77, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewsTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 481, Col: 67} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 518, Col: 67} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var77)) if templ_7745c5c3_Err != nil { @@ -1716,7 +1748,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re var templ_7745c5c3_Var79 string templ_7745c5c3_Var79, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductDetailReviews, len(reviews))) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 483, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 520, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var79)) if templ_7745c5c3_Err != nil { @@ -1740,7 +1772,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re var templ_7745c5c3_Var80 string templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewsEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 487, Col: 142} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 524, Col: 142} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var80)) if templ_7745c5c3_Err != nil { @@ -1805,7 +1837,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re var templ_7745c5c3_Var84 string templ_7745c5c3_Var84, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewShowAll) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 498, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 535, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var84)) if templ_7745c5c3_Err != nil { @@ -1826,7 +1858,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re var templ_7745c5c3_Var86 string templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", len(reviews))) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 500, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 537, Col: 43} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var86)) if templ_7745c5c3_Err != nil { @@ -1893,7 +1925,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re var templ_7745c5c3_Var90 string templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewsTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 506, Col: 55} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 543, Col: 55} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var90)) if templ_7745c5c3_Err != nil { @@ -1924,7 +1956,7 @@ func ProductReviews(insight viewmodel.ProductReviewInsight, summary viewmodel.Re var templ_7745c5c3_Var92 string templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductDetailReviews, len(reviews))) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 507, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 544, Col: 89} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var92)) if templ_7745c5c3_Err != nil { @@ -2035,7 +2067,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2050,7 +2082,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var96 string templ_7745c5c3_Var96, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewSummaryTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 532, Col: 74} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 569, Col: 74} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var96)) if templ_7745c5c3_Err != nil { @@ -2068,7 +2100,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var97 string templ_7745c5c3_Var97, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.ProductReviewSummaryMeta, summary.SourceCount)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 534, Col: 115} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 571, Col: 115} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var97)) if templ_7745c5c3_Err != nil { @@ -2107,7 +2139,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var99 string templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewSummaryRefresh) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 550, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 587, Col: 42} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) if templ_7745c5c3_Err != nil { @@ -2141,7 +2173,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var100 string templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinStringErrs(summary.PollURL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 557, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 594, Col: 29} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) if templ_7745c5c3_Err != nil { @@ -2158,7 +2190,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var101 string templ_7745c5c3_Var101, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewSummaryGenerating) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 564, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 601, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var101)) if templ_7745c5c3_Err != nil { @@ -2181,7 +2213,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var102 string templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(summary.RetryMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 569, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 606, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) if templ_7745c5c3_Err != nil { @@ -2200,7 +2232,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var103 string templ_7745c5c3_Var103, templ_7745c5c3_Err = templ.JoinStringErrs(summary.AttemptLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 572, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 609, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var103)) if templ_7745c5c3_Err != nil { @@ -2228,7 +2260,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var104 string templ_7745c5c3_Var104, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewSummaryEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 582, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 619, Col: 79} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var104)) if templ_7745c5c3_Err != nil { @@ -2247,7 +2279,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var105 string templ_7745c5c3_Var105, templ_7745c5c3_Err = templ.JoinStringErrs(summary.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 585, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 622, Col: 56} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var105)) if templ_7745c5c3_Err != nil { @@ -2265,7 +2297,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var106 string templ_7745c5c3_Var106, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewSummaryError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 587, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 624, Col: 75} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var106)) if templ_7745c5c3_Err != nil { @@ -2284,7 +2316,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var107 string templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(summary.Consensus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 590, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 627, Col: 80} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) if templ_7745c5c3_Err != nil { @@ -2314,7 +2346,7 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site var templ_7745c5c3_Var108 string templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewSummaryPending) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 596, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 633, Col: 81} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) if templ_7745c5c3_Err != nil { @@ -2327,13 +2359,13 @@ func ProductReviewSummary(summary viewmodel.ReviewSummary, labels viewmodel.Site } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var95), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var95), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/50 bg-muted/25"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var94), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-[1.75rem] border-border/50 bg-muted/20"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var94), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2401,7 +2433,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa var templ_7745c5c3_Var112 string templ_7745c5c3_Var112, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewWriteTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 610, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 647, Col: 73} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var112)) if templ_7745c5c3_Err != nil { @@ -2419,7 +2451,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa var templ_7745c5c3_Var113 string templ_7745c5c3_Var113, templ_7745c5c3_Err = templ.JoinStringErrs(form.Message) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 612, Col: 61} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 649, Col: 61} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var113)) if templ_7745c5c3_Err != nil { @@ -2442,7 +2474,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa var templ_7745c5c3_Var114 string templ_7745c5c3_Var114, templ_7745c5c3_Err = templ.JoinStringErrs(form.ErrorMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 617, Col: 121} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 654, Col: 121} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var114)) if templ_7745c5c3_Err != nil { @@ -2465,7 +2497,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa var templ_7745c5c3_Var115 string templ_7745c5c3_Var115, templ_7745c5c3_Err = templ.JoinStringErrs(form.SuccessMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 620, Col: 111} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 657, Col: 111} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var115)) if templ_7745c5c3_Err != nil { @@ -2488,7 +2520,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa var templ_7745c5c3_Var116 string templ_7745c5c3_Var116, templ_7745c5c3_Err = templ.JoinStringErrs(form.PostURL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 623, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 660, Col: 32} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var116)) if templ_7745c5c3_Err != nil { @@ -2513,7 +2545,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa var templ_7745c5c3_Var118 string templ_7745c5c3_Var118, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewRating) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 625, Col: 92} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 662, Col: 92} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var118)) if templ_7745c5c3_Err != nil { @@ -2598,7 +2630,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa var templ_7745c5c3_Var122 string templ_7745c5c3_Var122, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewSubmit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 637, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 674, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var122)) if templ_7745c5c3_Err != nil { @@ -2627,24 +2659,7 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa return templ_7745c5c3_Err } } else if !form.IsAuthenticated { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var123 string - templ_7745c5c3_Var123, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewLoginRequired) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 643, Col: 80} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var123)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var124 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var123 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2660,22 +2675,22 @@ func ProductReviewForm(form viewmodel.ProductReviewForm, labels viewmodel.SiteLa if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var125 string - templ_7745c5c3_Var125, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewLoginCTA) + var templ_7745c5c3_Var124 string + templ_7745c5c3_Var124, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewLoginCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 646, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 682, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var125)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var124)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: form.LoginURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var124), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: form.LoginURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var123), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2712,12 +2727,12 @@ func ProductReviewCard(review viewmodel.ProductReview, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var126 := templ.GetChildren(ctx) - if templ_7745c5c3_Var126 == nil { - templ_7745c5c3_Var126 = templ.NopComponent + templ_7745c5c3_Var125 := templ.GetChildren(ctx) + if templ_7745c5c3_Var125 == nil { + templ_7745c5c3_Var125 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var127 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var126 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2729,7 +2744,7 @@ func ProductReviewCard(review viewmodel.ProductReview, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var128 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var127 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2741,38 +2756,38 @@ func ProductReviewCard(review viewmodel.ProductReview, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 150, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var129 string - templ_7745c5c3_Var129, templ_7745c5c3_Err = templ.JoinStringErrs(reviewAuthorInitial(review.Author)) + var templ_7745c5c3_Var128 string + templ_7745c5c3_Var128, templ_7745c5c3_Err = templ.JoinStringErrs(reviewAuthorInitial(review.Author)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 659, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 695, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var129)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var128)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 151, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var130 string - templ_7745c5c3_Var130, templ_7745c5c3_Err = templ.JoinStringErrs(review.Author) + var templ_7745c5c3_Var129 string + templ_7745c5c3_Var129, templ_7745c5c3_Err = templ.JoinStringErrs(review.Author) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 663, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 699, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var130)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var129)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 152, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 150, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if review.Verified { - templ_7745c5c3_Var131 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var130 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2788,40 +2803,40 @@ func ProductReviewCard(review viewmodel.ProductReview, labels viewmodel.SiteLabe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 151, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var132 string - templ_7745c5c3_Var132, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewVerifiedBadge) + var templ_7745c5c3_Var131 string + templ_7745c5c3_Var131, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductReviewVerifiedBadge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 667, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 703, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var132)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var131)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "rounded-full px-2 py-0.5 text-[11px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var131), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "rounded-full px-2 py-0.5 text-[11px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var130), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 154, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 152, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var133 string - templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinStringErrs(review.CreatedAt) + var templ_7745c5c3_Var132 string + templ_7745c5c3_Var132, templ_7745c5c3_Err = templ.JoinStringErrs(review.CreatedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 671, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 707, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var132)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2831,32 +2846,32 @@ func ProductReviewCard(review viewmodel.ProductReview, labels viewmodel.SiteLabe return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 156, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 154, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var134 string - templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(reviewBodyExcerpt(review.Body, 320)) + var templ_7745c5c3_Var133 string + templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinStringErrs(reviewBodyExcerpt(review.Body, 320)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 680, Col: 91} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 716, Col: 91} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 157, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var128), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var127), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "h-full rounded-2xl border-border/50 bg-background/75"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var127), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "h-full rounded-[1.6rem] border-border/50 bg-background/75"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var126), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2880,30 +2895,30 @@ func summaryList(title string, items []string, tone string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var135 := templ.GetChildren(ctx) - if templ_7745c5c3_Var135 == nil { - templ_7745c5c3_Var135 = templ.NopComponent + templ_7745c5c3_Var134 := templ.GetChildren(ctx) + if templ_7745c5c3_Var134 == nil { + templ_7745c5c3_Var134 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 156, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var136 string - templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var135 string + templ_7745c5c3_Var135, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 687, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 723, Col: 48} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var135)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 157, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, item := range items { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2918,25 +2933,25 @@ func summaryList(title string, items []string, tone string) templ.Component { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var137 string - templ_7745c5c3_Var137, templ_7745c5c3_Err = templ.JoinStringErrs(item) + var templ_7745c5c3_Var136 string + templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(item) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 696, Col: 17} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 732, Col: 17} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var137)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2963,38 +2978,38 @@ func HomeHero(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var138 := templ.GetChildren(ctx) - if templ_7745c5c3_Var138 == nil { - templ_7745c5c3_Var138 = templ.NopComponent + templ_7745c5c3_Var137 := templ.GetChildren(ctx) + if templ_7745c5c3_Var137 == nil { + templ_7745c5c3_Var137 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var139 string - templ_7745c5c3_Var139, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeHeroTitle) + var templ_7745c5c3_Var138 string + templ_7745c5c3_Var138, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeHeroTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 715, Col: 155} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 751, Col: 155} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var139)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var138)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var140 string - templ_7745c5c3_Var140, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeHeroBody) + var templ_7745c5c3_Var139 string + templ_7745c5c3_Var139, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeHeroBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 716, Col: 105} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 752, Col: 105} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var140)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var139)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3012,11 +3027,11 @@ func HomeHero(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var141 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var140 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3032,26 +3047,26 @@ func HomeHero(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var142 string - templ_7745c5c3_Var142, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAssistant) + var templ_7745c5c3_Var141 string + templ_7745c5c3_Var141, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 734, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 770, Col: 30} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var142)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var141)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeLg, Class: "rounded-2xl shadow-lg shadow-primary/15"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var141), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeLg, Class: "rounded-2xl shadow-lg shadow-primary/15"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var140), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var143 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var142 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3067,26 +3082,26 @@ func HomeHero(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var144 string - templ_7745c5c3_Var144, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeHeroSearchCTA) + var templ_7745c5c3_Var143 string + templ_7745c5c3_Var143, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeHeroSearchCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 738, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 774, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var144)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var143)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeLg, Href: "/search", Class: "justify-start rounded-2xl px-0 text-muted-foreground hover:text-foreground"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var143), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeLg, Href: "/search", Class: "justify-start rounded-2xl px-0 text-muted-foreground hover:text-foreground"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var142), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3098,7 +3113,7 @@ func HomeHero(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ.Compon } } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3114,7 +3129,7 @@ func HomeHero(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3138,17 +3153,17 @@ func HomeProofStrip(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ. }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var145 := templ.GetChildren(ctx) - if templ_7745c5c3_Var145 == nil { - templ_7745c5c3_Var145 = templ.NopComponent + templ_7745c5c3_Var144 := templ.GetChildren(ctx) + if templ_7745c5c3_Var144 == nil { + templ_7745c5c3_Var144 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 173, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, metric := range page.Metrics { - templ_7745c5c3_Var146 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var145 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3160,7 +3175,7 @@ func HomeProofStrip(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ. }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var147 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var146 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3172,109 +3187,109 @@ func HomeProofStrip(page viewmodel.HomePage, labels viewmodel.SiteLabels) templ. }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 174, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var148 string - templ_7745c5c3_Var148, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Label) + var templ_7745c5c3_Var147 string + templ_7745c5c3_Var147, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 767, Col: 105} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 803, Col: 105} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var148)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var147)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 173, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var149 string - templ_7745c5c3_Var149, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Value) + var templ_7745c5c3_Var148 string + templ_7745c5c3_Var148, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 769, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 805, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var149)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var148)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 174, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var150 string - templ_7745c5c3_Var150, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Delta) + var templ_7745c5c3_Var149 string + templ_7745c5c3_Var149, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Delta) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 770, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 806, Col: 73} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var150)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var149)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var147), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var146), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "home-metric-card rounded-[2rem] border-border/60 bg-card/85"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var146), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "home-metric-card rounded-[2rem] border-border/60 bg-card/85"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var145), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(page.VendorMarks) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var151 string - templ_7745c5c3_Var151, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeVendorsLabel) + var templ_7745c5c3_Var150 string + templ_7745c5c3_Var150, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeVendorsLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 778, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 814, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var151)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var150)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, vendor := range page.VendorMarks { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var152 string - templ_7745c5c3_Var152, templ_7745c5c3_Err = templ.JoinStringErrs(vendor) + var templ_7745c5c3_Var151 string + templ_7745c5c3_Var151, templ_7745c5c3_Err = templ.JoinStringErrs(vendor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 781, Col: 145} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 817, Col: 145} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var152)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var151)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 183, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 184, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3298,13 +3313,13 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var153 := templ.GetChildren(ctx) - if templ_7745c5c3_Var153 == nil { - templ_7745c5c3_Var153 = templ.NopComponent + templ_7745c5c3_Var152 := templ.GetChildren(ctx) + if templ_7745c5c3_Var152 == nil { + templ_7745c5c3_Var152 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if len(page.Categories) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 185, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 183, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3312,7 +3327,7 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 186, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 184, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3322,11 +3337,11 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 187, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 185, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var154 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var153 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3338,7 +3353,7 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var155 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var154 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3351,7 +3366,7 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp } ctx = templ.InitializeContext(ctx) for _, category := range page.Categories { - templ_7745c5c3_Var156 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var155 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3369,18 +3384,18 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp } return nil }) - templ_7745c5c3_Err = carousel.Item(carousel.ItemProps{Class: "w-[84%] pr-1"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var156), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = carousel.Item(carousel.ItemProps{Class: "w-[84%] pr-1"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var155), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = carousel.Content(carousel.ContentProps{Class: "gap-4 overflow-visible"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var155), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = carousel.Content(carousel.ContentProps{Class: "gap-4 overflow-visible"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var154), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 188, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 186, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3390,7 +3405,7 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp } return nil }) - templ_7745c5c3_Err = carousel.Carousel(carousel.Props{ID: "home-categories-carousel", Class: "overflow-visible", Loop: false}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var154), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = carousel.Carousel(carousel.Props{ID: "home-categories-carousel", Class: "overflow-visible", Loop: false}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var153), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3398,7 +3413,7 @@ func HomeCategoryRail(page viewmodel.HomePage, labels viewmodel.SiteLabels) temp if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 189, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 187, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3423,13 +3438,13 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var157 := templ.GetChildren(ctx) - if templ_7745c5c3_Var157 == nil { - templ_7745c5c3_Var157 = templ.NopComponent + templ_7745c5c3_Var156 := templ.GetChildren(ctx) + if templ_7745c5c3_Var156 == nil { + templ_7745c5c3_Var156 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if len(page.AssistantPaths) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 190, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 188, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3437,12 +3452,12 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 191, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 189, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, path := range page.AssistantPaths { - templ_7745c5c3_Var158 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var157 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3454,42 +3469,42 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 192, "
\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 192, "\" class=\"h-full w-full object-cover\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if path.ImageBadge != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 195, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 193, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var161 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var160 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3501,31 +3516,31 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var162 string - templ_7745c5c3_Var162, templ_7745c5c3_Err = templ.JoinStringErrs(path.ImageBadge) + var templ_7745c5c3_Var161 string + templ_7745c5c3_Var161, templ_7745c5c3_Err = templ.JoinStringErrs(path.ImageBadge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 832, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 868, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var162)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var161)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full bg-background/92 px-3 py-1 text-[11px] uppercase tracking-[0.18em] shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var161), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full bg-background/92 px-3 py-1 text-[11px] uppercase tracking-[0.18em] shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var160), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 196, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 194, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 197, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 195, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var163 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var162 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3537,7 +3552,7 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 198, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 196, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3545,50 +3560,50 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 199, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 197, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var164 string - templ_7745c5c3_Var164, templ_7745c5c3_Err = templ.JoinStringErrs(path.Title) + var templ_7745c5c3_Var163 string + templ_7745c5c3_Var163, templ_7745c5c3_Err = templ.JoinStringErrs(path.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 843, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 879, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var164)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var163)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 200, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 198, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var165 string - templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(path.Description) + var templ_7745c5c3_Var164 string + templ_7745c5c3_Var164, templ_7745c5c3_Err = templ.JoinStringErrs(path.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 844, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 880, Col: 79} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var164)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 201, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 199, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var166 string - templ_7745c5c3_Var166, templ_7745c5c3_Err = templ.JoinStringErrs(path.Prompt) + var templ_7745c5c3_Var165 string + templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(path.Prompt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 849, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 885, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var166)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 200, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var167 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var166 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3600,20 +3615,20 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 203, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 201, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var168 string - templ_7745c5c3_Var168, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeAssistantPathsCTA) + var templ_7745c5c3_Var167 string + templ_7745c5c3_Var167, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeAssistantPathsCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 852, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 888, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var168)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var167)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 204, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3623,28 +3638,28 @@ func HomeAssistantPathsSection(page viewmodel.HomePage, labels viewmodel.SiteLab } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: path.Href, Variant: button.VariantOutline, Class: "w-full rounded-2xl justify-between bg-background/85"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var167), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: path.Href, Variant: button.VariantOutline, Class: "w-full rounded-2xl justify-between bg-background/85"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var166), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 205, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 203, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex h-full flex-col gap-8 p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var163), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex h-full flex-col gap-8 p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var162), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "home-surface h-full overflow-hidden rounded-[2rem] border-border/60 bg-card/86"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var158), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "home-surface h-full overflow-hidden rounded-[2rem] border-border/60 bg-card/86"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var157), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 204, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3669,56 +3684,56 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var169 := templ.GetChildren(ctx) - if templ_7745c5c3_Var169 == nil { - templ_7745c5c3_Var169 = templ.NopComponent + templ_7745c5c3_Var168 := templ.GetChildren(ctx) + if templ_7745c5c3_Var168 == nil { + templ_7745c5c3_Var168 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if len(page.AIWorkflow.Outputs) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 207, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 205, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var170 string - templ_7745c5c3_Var170, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeWorkflowEyebrow) + var templ_7745c5c3_Var169 string + templ_7745c5c3_Var169, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeWorkflowEyebrow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 870, Col: 107} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 906, Col: 113} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var170)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var169)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 208, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var171 string - templ_7745c5c3_Var171, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeWorkflowTitle) + var templ_7745c5c3_Var170 string + templ_7745c5c3_Var170, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeWorkflowTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 871, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 907, Col: 93} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var171)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var170)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 209, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 207, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var172 string - templ_7745c5c3_Var172, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeWorkflowBody) + var templ_7745c5c3_Var171 string + templ_7745c5c3_Var171, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeWorkflowBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 872, Col: 104} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 908, Col: 101} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var172)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var171)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 210, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 208, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var173 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var172 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3730,7 +3745,7 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var174 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var173 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3742,85 +3757,85 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 211, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 209, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var174 string + templ_7745c5c3_Var174, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.InputTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 915, Col: 117} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var174)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 210, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var175 string - templ_7745c5c3_Var175, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.InputTitle) + templ_7745c5c3_Var175, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.InputPrompt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 879, Col: 111} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 916, Col: 126} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var175)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 212, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 211, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var176 string - templ_7745c5c3_Var176, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.InputPrompt) + templ_7745c5c3_Var176, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.InputBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 880, Col: 113} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 917, Col: 84} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var176)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 213, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 212, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, chip := range page.AIWorkflow.InputChips { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 214, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 213, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var177 string templ_7745c5c3_Var177, templ_7745c5c3_Err = templ.JoinStringErrs(chip) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 884, Col: 148} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 921, Col: 145} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var177)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 215, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 214, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 216, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var178 string - templ_7745c5c3_Var178, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.InputBody) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 888, Col: 75} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var178)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 217, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 215, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-6 md:p-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var174), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var173), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "home-surface rounded-[2rem] border-border/60 bg-card/86"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var173), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "home-workflow-panel rounded-[1.5rem] border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var172), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var179 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var178 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3832,7 +3847,7 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var180 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var179 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3844,51 +3859,51 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 218, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 216, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var181 string - templ_7745c5c3_Var181, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.AnalysisTitle) + var templ_7745c5c3_Var180 string + templ_7745c5c3_Var180, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.AnalysisTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 894, Col: 113} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 930, Col: 119} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var181)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var180)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 219, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 217, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var182 string - templ_7745c5c3_Var182, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.AnalysisBody) + var templ_7745c5c3_Var181 string + templ_7745c5c3_Var181, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.AnalysisBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 895, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 931, Col: 86} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var182)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var181)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 220, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 218, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for idx, step := range page.AIWorkflow.Steps { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 221, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 219, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var183 string - templ_7745c5c3_Var183, templ_7745c5c3_Err = templ.JoinStringErrs(idx + 1) + var templ_7745c5c3_Var182 string + templ_7745c5c3_Var182, templ_7745c5c3_Err = templ.JoinStringErrs(idx + 1) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 902, Col: 49} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 938, Col: 49} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var183)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var182)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 222, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 220, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3896,54 +3911,54 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 223, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 221, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var184 string - templ_7745c5c3_Var184, templ_7745c5c3_Err = templ.JoinStringErrs(step.Title) + var templ_7745c5c3_Var183 string + templ_7745c5c3_Var183, templ_7745c5c3_Err = templ.JoinStringErrs(step.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 905, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 942, Col: 77} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var184)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var183)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 222, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var185 string - templ_7745c5c3_Var185, templ_7745c5c3_Err = templ.JoinStringErrs(step.Body) + var templ_7745c5c3_Var184 string + templ_7745c5c3_Var184, templ_7745c5c3_Err = templ.JoinStringErrs(step.Body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 908, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 944, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var185)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var184)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 225, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 223, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-6 md:p-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var180), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var179), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "home-surface rounded-[2rem] border-border/60 bg-card/86"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var179), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "home-workflow-panel rounded-[1.5rem] border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var178), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var186 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var185 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3955,7 +3970,7 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var187 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var186 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3967,33 +3982,33 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 225, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var188 string - templ_7745c5c3_Var188, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.OutputsTitle) + var templ_7745c5c3_Var187 string + templ_7745c5c3_Var187, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.OutputsTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 918, Col: 112} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 956, Col: 118} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var188)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var187)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var189 string - templ_7745c5c3_Var189, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.OutputsBody) + var templ_7745c5c3_Var188 string + templ_7745c5c3_Var188, templ_7745c5c3_Err = templ.JoinStringErrs(page.AIWorkflow.OutputsBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 919, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 957, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var189)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var188)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4003,23 +4018,23 @@ func HomeAIWorkflowSection(page viewmodel.HomePage, labels viewmodel.SiteLabels) return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-6 md:p-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var187), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5 md:p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var186), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "home-surface rounded-[2rem] border-border/60 bg-card/86"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var186), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "home-workflow-panel rounded-[1.5rem] border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var185), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 231, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4044,55 +4059,55 @@ func HomeClosingCTA(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var190 := templ.GetChildren(ctx) - if templ_7745c5c3_Var190 == nil { - templ_7745c5c3_Var190 = templ.NopComponent + templ_7745c5c3_Var189 := templ.GetChildren(ctx) + if templ_7745c5c3_Var189 == nil { + templ_7745c5c3_Var189 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var191 string - templ_7745c5c3_Var191, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingEyebrow) + var templ_7745c5c3_Var190 string + templ_7745c5c3_Var190, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingEyebrow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 940, Col: 107} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 978, Col: 107} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var191)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var190)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 231, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var192 string - templ_7745c5c3_Var192, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingTitle) + var templ_7745c5c3_Var191 string + templ_7745c5c3_Var191, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 941, Col: 99} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 979, Col: 99} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var192)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var191)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var193 string - templ_7745c5c3_Var193, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingBody) + var templ_7745c5c3_Var192 string + templ_7745c5c3_Var192, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 942, Col: 90} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 980, Col: 90} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var193)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var192)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var194 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var193 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4108,26 +4123,26 @@ func HomeClosingCTA(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 236, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var195 string - templ_7745c5c3_Var195, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingAssistantCTA) + var templ_7745c5c3_Var194 string + templ_7745c5c3_Var194, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingAssistantCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 947, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 985, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var195)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var194)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/assistant", Size: button.SizeLg, Class: "rounded-2xl shadow-lg shadow-primary/15"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var194), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/assistant", Size: button.SizeLg, Class: "rounded-2xl shadow-lg shadow-primary/15"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var193), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var196 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var195 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4143,26 +4158,26 @@ func HomeClosingCTA(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 237, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var197 string - templ_7745c5c3_Var197, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingSearchCTA) + var templ_7745c5c3_Var196 string + templ_7745c5c3_Var196, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeClosingSearchCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 951, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 989, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var197)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var196)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/search", Variant: button.VariantOutline, Size: button.SizeLg, Class: "rounded-2xl bg-background/85"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var196), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/search", Variant: button.VariantOutline, Size: button.SizeLg, Class: "rounded-2xl bg-background/85"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var195), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 238, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 236, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4186,38 +4201,38 @@ func PromptChip(label string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var198 := templ.GetChildren(ctx) - if templ_7745c5c3_Var198 == nil { - templ_7745c5c3_Var198 = templ.NopComponent + templ_7745c5c3_Var197 := templ.GetChildren(ctx) + if templ_7745c5c3_Var197 == nil { + templ_7745c5c3_Var197 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 239, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 238, "\" class=\"inline-flex items-center gap-1.5 rounded-full border border-border/70 bg-background/84 px-3 py-1.5 text-xs text-muted-foreground transition-colors hover:bg-muted hover:text-foreground\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var200 string - templ_7745c5c3_Var200, templ_7745c5c3_Err = templ.JoinStringErrs(label) + var templ_7745c5c3_Var199 string + templ_7745c5c3_Var199, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 965, Col: 9} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1003, Col: 9} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var200)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var199)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 239, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4241,61 +4256,61 @@ func HomeSectionHeading(eyebrow, title, body string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var201 := templ.GetChildren(ctx) - if templ_7745c5c3_Var201 == nil { - templ_7745c5c3_Var201 = templ.NopComponent + templ_7745c5c3_Var200 := templ.GetChildren(ctx) + if templ_7745c5c3_Var200 == nil { + templ_7745c5c3_Var200 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 240, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var202 string - templ_7745c5c3_Var202, templ_7745c5c3_Err = templ.JoinStringErrs(eyebrow) + var templ_7745c5c3_Var201 string + templ_7745c5c3_Var201, templ_7745c5c3_Err = templ.JoinStringErrs(eyebrow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 972, Col: 86} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1010, Col: 86} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var202)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var201)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 243, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var203 string - templ_7745c5c3_Var203, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var202 string + templ_7745c5c3_Var202, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 973, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1011, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var203)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var202)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 244, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if body != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 243, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var204 string - templ_7745c5c3_Var204, templ_7745c5c3_Err = templ.JoinStringErrs(body) + var templ_7745c5c3_Var203 string + templ_7745c5c3_Var203, templ_7745c5c3_Err = templ.JoinStringErrs(body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 976, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1014, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var204)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var203)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 244, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 247, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4319,51 +4334,61 @@ func TryOnShowcase(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var205 := templ.GetChildren(ctx) - if templ_7745c5c3_Var205 == nil { - templ_7745c5c3_Var205 = templ.NopComponent + templ_7745c5c3_Var204 := templ.GetChildren(ctx) + if templ_7745c5c3_Var204 == nil { + templ_7745c5c3_Var204 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 248, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = HomeSectionHeading(labels.TryOnTitle, labels.TryOnHeading, labels.TryOnBody).Render(ctx, templ_7745c5c3_Buffer) + var templ_7745c5c3_Var205 string + templ_7745c5c3_Var205, templ_7745c5c3_Err = templ.JoinStringErrs(labels.TryOnTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1023, Col: 97} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var205)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 247, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - for _, item := range previewModeCards(labels) { - templ_7745c5c3_Err = TryOnCard(item).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } + var templ_7745c5c3_Var206 string + templ_7745c5c3_Var206, templ_7745c5c3_Err = templ.JoinStringErrs(labels.TryOnHeading) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1025, Col: 130} } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, "

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var206)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = icon.Sparkles(icon.Props{Class: "size-3.5 shrink-0 text-primary"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 248, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 251, "") + var templ_7745c5c3_Var207 string + templ_7745c5c3_Var207, templ_7745c5c3_Err = templ.JoinStringErrs(labels.TryOnBody) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1026, Col: 97} } - var templ_7745c5c3_Var206 string - templ_7745c5c3_Var206, templ_7745c5c3_Err = templ.JoinStringErrs(labels.TryOnTrustLine) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var207)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 992, Col: 33} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var206)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 252, "
") + for _, item := range previewModeCards(labels) { + templ_7745c5c3_Err = TryOnCard(item).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4387,29 +4412,29 @@ func HomeCategoryCard(category viewmodel.HomeCategoryCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var207 := templ.GetChildren(ctx) - if templ_7745c5c3_Var207 == nil { - templ_7745c5c3_Var207 = templ.NopComponent + templ_7745c5c3_Var208 := templ.GetChildren(ctx) + if templ_7745c5c3_Var208 == nil { + templ_7745c5c3_Var208 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 253, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 252, "\" class=\"group block h-full\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var209 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var210 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4421,37 +4446,37 @@ func HomeCategoryCard(category viewmodel.HomeCategoryCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, "
\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, "\" class=\"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.035]\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var212 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var213 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4463,26 +4488,26 @@ func HomeCategoryCard(category viewmodel.HomeCategoryCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var213 string - templ_7745c5c3_Var213, templ_7745c5c3_Err = templ.JoinStringErrs(category.CountLabel) + var templ_7745c5c3_Var214 string + templ_7745c5c3_Var214, templ_7745c5c3_Err = templ.JoinStringErrs(category.CountLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1006, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1046, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var213)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var214)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full bg-background/92 px-3 py-1 text-[11px] uppercase tracking-[0.18em] shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var212), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full bg-background/92 px-3 py-1 text-[11px] uppercase tracking-[0.18em] shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var213), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 256, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var214 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var215 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4494,46 +4519,46 @@ func HomeCategoryCard(category viewmodel.HomeCategoryCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 257, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var215 string - templ_7745c5c3_Var215, templ_7745c5c3_Err = templ.JoinStringErrs(category.Label) + var templ_7745c5c3_Var216 string + templ_7745c5c3_Var216, templ_7745c5c3_Err = templ.JoinStringErrs(category.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1012, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1052, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var215)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var216)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var216 string - templ_7745c5c3_Var216, templ_7745c5c3_Err = templ.JoinStringErrs(category.Description) + var templ_7745c5c3_Var217 string + templ_7745c5c3_Var217, templ_7745c5c3_Err = templ.JoinStringErrs(category.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1013, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1053, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var216)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var217)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var217 string - templ_7745c5c3_Var217, templ_7745c5c3_Err = templ.JoinStringErrs(category.Product.Title) + var templ_7745c5c3_Var218 string + templ_7745c5c3_Var218, templ_7745c5c3_Err = templ.JoinStringErrs(category.Product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1016, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1056, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var217)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var218)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 262, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4541,23 +4566,23 @@ func HomeCategoryCard(category viewmodel.HomeCategoryCard) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 263, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-1 flex-col gap-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var214), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-1 flex-col gap-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var215), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "home-surface flex h-full flex-col overflow-hidden rounded-[2rem] border-border/60 bg-card/88 transition-all duration-300 group-hover:-translate-y-1 group-hover:shadow-[0_24px_80px_-40px_rgba(15,23,42,0.35)]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var209), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "home-surface flex h-full flex-col overflow-hidden rounded-[2rem] border-border/60 bg-card/88 transition-all duration-300 group-hover:-translate-y-1 group-hover:shadow-[0_24px_80px_-40px_rgba(15,23,42,0.35)]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var210), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 264, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 262, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4581,42 +4606,42 @@ func TryOnCard(item previewModeCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var218 := templ.GetChildren(ctx) - if templ_7745c5c3_Var218 == nil { - templ_7745c5c3_Var218 = templ.NopComponent + templ_7745c5c3_Var219 := templ.GetChildren(ctx) + if templ_7745c5c3_Var219 == nil { + templ_7745c5c3_Var219 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var221 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var222 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4628,7 +4653,7 @@ func TryOnCard(item previewModeCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var222 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var223 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4640,7 +4665,7 @@ func TryOnCard(item previewModeCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 268, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 266, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4648,7 +4673,7 @@ func TryOnCard(item previewModeCard) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 267, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4656,83 +4681,83 @@ func TryOnCard(item previewModeCard) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var223 string - templ_7745c5c3_Var223, templ_7745c5c3_Err = templ.JoinStringErrs(item.Mode) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1041, Col: 99} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var223)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 268, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var224 string - templ_7745c5c3_Var224, templ_7745c5c3_Err = templ.JoinStringErrs(item.Title) + templ_7745c5c3_Var224, templ_7745c5c3_Err = templ.JoinStringErrs(item.Mode) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1042, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1081, Col: 99} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var224)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var225 string - templ_7745c5c3_Var225, templ_7745c5c3_Err = templ.JoinStringErrs(item.Body) + templ_7745c5c3_Var225, templ_7745c5c3_Err = templ.JoinStringErrs(item.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1045, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1082, Col: 84} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var225)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var226 string - templ_7745c5c3_Var226, templ_7745c5c3_Err = templ.JoinStringErrs(item.CTA) + templ_7745c5c3_Var226, templ_7745c5c3_Err = templ.JoinStringErrs(item.Body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1048, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1085, Col: 72} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var226)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = icon.ArrowRight(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + var templ_7745c5c3_Var227 string + templ_7745c5c3_Var227, templ_7745c5c3_Err = templ.JoinStringErrs(item.CTA) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1088, Col: 21} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var227)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.ArrowRight(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex h-full min-h-[27rem] flex-col p-4 sm:p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var222), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex h-full min-h-[27rem] flex-col p-4 sm:p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var223), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "preview-mode-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var221), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "preview-mode-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var222), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4756,29 +4781,29 @@ func HomeWorkflowOutputCard(output viewmodel.HomeAIWorkflowOutput) templ.Compone }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var227 := templ.GetChildren(ctx) - if templ_7745c5c3_Var227 == nil { - templ_7745c5c3_Var227 = templ.NopComponent + templ_7745c5c3_Var228 := templ.GetChildren(ctx) + if templ_7745c5c3_Var228 == nil { + templ_7745c5c3_Var228 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, "\" class=\"group block h-full\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var229 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var230 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4790,7 +4815,7 @@ func HomeWorkflowOutputCard(output viewmodel.HomeAIWorkflowOutput) templ.Compone }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var230 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var231 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4802,7 +4827,7 @@ func HomeWorkflowOutputCard(output viewmodel.HomeAIWorkflowOutput) templ.Compone }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4810,105 +4835,105 @@ func HomeWorkflowOutputCard(output viewmodel.HomeAIWorkflowOutput) templ.Compone if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = icon.ArrowUpRight(icon.Props{Class: "size-4 text-primary"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = icon.ArrowUpRight(icon.Props{Class: "size-4 text-foreground/36 transition-colors group-hover:text-foreground/58"}).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var231 string - templ_7745c5c3_Var231, templ_7745c5c3_Err = templ.JoinStringErrs(output.Title) + var templ_7745c5c3_Var232 string + templ_7745c5c3_Var232, templ_7745c5c3_Err = templ.JoinStringErrs(output.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1069, Col: 93} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1109, Col: 99} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var231)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var232)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var232 string - templ_7745c5c3_Var232, templ_7745c5c3_Err = templ.JoinStringErrs(output.Description) + var templ_7745c5c3_Var233 string + templ_7745c5c3_Var233, templ_7745c5c3_Err = templ.JoinStringErrs(output.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1070, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1110, Col: 89} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var232)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var233)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if output.Product.Title != "" || output.Product.Price != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if output.Product.Title != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var233 string - templ_7745c5c3_Var233, templ_7745c5c3_Err = templ.JoinStringErrs(output.Product.Title) + var templ_7745c5c3_Var234 string + templ_7745c5c3_Var234, templ_7745c5c3_Err = templ.JoinStringErrs(output.Product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1076, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1116, Col: 90} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var233)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var234)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if output.Product.Price != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var234 string - templ_7745c5c3_Var234, templ_7745c5c3_Err = templ.JoinStringErrs(output.Product.Price) + var templ_7745c5c3_Var235 string + templ_7745c5c3_Var235, templ_7745c5c3_Err = templ.JoinStringErrs(output.Product.Price) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1079, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1119, Col: 79} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var234)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var235)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex h-full flex-col gap-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var230), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex h-full flex-col gap-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var231), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "home-workflow-output h-full rounded-[1.8rem] border-border/60 bg-card/84 transition-all duration-300 group-hover:-translate-y-1"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var229), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "home-workflow-output h-full rounded-[1.25rem] border-border/60 transition-colors duration-200 group-hover:border-foreground/18"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var230), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4932,12 +4957,12 @@ func homeValuePill(iconName, label string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var235 := templ.GetChildren(ctx) - if templ_7745c5c3_Var235 == nil { - templ_7745c5c3_Var235 = templ.NopComponent + templ_7745c5c3_Var236 := templ.GetChildren(ctx) + if templ_7745c5c3_Var236 == nil { + templ_7745c5c3_Var236 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4945,20 +4970,20 @@ func homeValuePill(iconName, label string) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var236 string - templ_7745c5c3_Var236, templ_7745c5c3_Err = templ.JoinStringErrs(label) + var templ_7745c5c3_Var237 string + templ_7745c5c3_Var237, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1092, Col: 15} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1132, Col: 15} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var236)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var237)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4982,9 +5007,9 @@ func homePreviewModeIcon(mode string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var237 := templ.GetChildren(ctx) - if templ_7745c5c3_Var237 == nil { - templ_7745c5c3_Var237 = templ.NopComponent + templ_7745c5c3_Var238 := templ.GetChildren(ctx) + if templ_7745c5c3_Var238 == nil { + templ_7745c5c3_Var238 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if mode == "room" { @@ -5028,9 +5053,9 @@ func homeIcon(iconName, className string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var238 := templ.GetChildren(ctx) - if templ_7745c5c3_Var238 == nil { - templ_7745c5c3_Var238 = templ.NopComponent + templ_7745c5c3_Var239 := templ.GetChildren(ctx) + if templ_7745c5c3_Var239 == nil { + templ_7745c5c3_Var239 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if iconName == "message-square" { @@ -5099,51 +5124,51 @@ func PreviewModeImage(item previewModeCard) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var239 := templ.GetChildren(ctx) - if templ_7745c5c3_Var239 == nil { - templ_7745c5c3_Var239 = templ.NopComponent + templ_7745c5c3_Var240 := templ.GetChildren(ctx) + if templ_7745c5c3_Var240 == nil { + templ_7745c5c3_Var240 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, "
\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, "\" class=\"h-full w-full object-cover transition-transform duration-700 group-hover:scale-105 group-focus-visible:scale-105\" loading=\"lazy\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5170,42 +5195,42 @@ func ProductGrid(title string, products []viewmodel.ProductCard, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var243 := templ.GetChildren(ctx) - if templ_7745c5c3_Var243 == nil { - templ_7745c5c3_Var243 = templ.NopComponent + templ_7745c5c3_Var244 := templ.GetChildren(ctx) + if templ_7745c5c3_Var244 == nil { + templ_7745c5c3_Var244 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var244 string - templ_7745c5c3_Var244, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var245 string + templ_7745c5c3_Var245, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1146, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1186, Col: 69} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var244)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var245)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var245 string - templ_7745c5c3_Var245, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeProductsSubtitle) + var templ_7745c5c3_Var246 string + templ_7745c5c3_Var246, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeProductsSubtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1147, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1187, Col: 79} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var245)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var246)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var246 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var247 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5217,22 +5242,22 @@ func ProductGrid(title string, products []viewmodel.ProductCard, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var247 string - templ_7745c5c3_Var247, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeViewAll) + var templ_7745c5c3_Var248 string + templ_7745c5c3_Var248, templ_7745c5c3_Err = templ.JoinStringErrs(labels.HomeViewAll) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1149, Col: 124} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1189, Col: 124} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var247)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var248)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/search", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var246), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/search", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var247), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 301, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5242,7 +5267,7 @@ func ProductGrid(title string, products []viewmodel.ProductCard, labels viewmode return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 302, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5266,42 +5291,42 @@ func ProductCard(product viewmodel.ProductCard, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var248 := templ.GetChildren(ctx) - if templ_7745c5c3_Var248 == nil { - templ_7745c5c3_Var248 = templ.NopComponent + templ_7745c5c3_Var249 := templ.GetChildren(ctx) + if templ_7745c5c3_Var249 == nil { + templ_7745c5c3_Var249 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var251 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var252 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5313,42 +5338,42 @@ func ProductCard(product viewmodel.ProductCard, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 306, "
\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 306, "\" class=\"store-card-media h-full w-full object-cover\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if product.PreviewMode == "new" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 309, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 307, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var254 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var255 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5360,27 +5385,27 @@ func ProductCard(product viewmodel.ProductCard, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var255 string - templ_7745c5c3_Var255, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductBadgeNew) + var templ_7745c5c3_Var256 string + templ_7745c5c3_Var256, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductBadgeNew) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1168, Col: 191} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1208, Col: 191} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var255)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var256)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full bg-background/92 px-3 py-1 text-[11px] uppercase tracking-[0.18em] shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var254), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-full bg-background/92 px-3 py-1 text-[11px] uppercase tracking-[0.18em] shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var255), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 310, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 308, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 311, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 309, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5388,11 +5413,11 @@ func ProductCard(product viewmodel.ProductCard, labels viewmodel.SiteLabels) tem if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 312, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 310, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var256 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var257 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5404,75 +5429,75 @@ func ProductCard(product viewmodel.ProductCard, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 313, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 311, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if vendor := productCardDisplayVendor(product); vendor != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 314, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 312, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var257 string - templ_7745c5c3_Var257, templ_7745c5c3_Err = templ.JoinStringErrs(vendor) + var templ_7745c5c3_Var258 string + templ_7745c5c3_Var258, templ_7745c5c3_Err = templ.JoinStringErrs(vendor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1178, Col: 101} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1218, Col: 101} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var257)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var258)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 315, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 313, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 316, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 314, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var258 string - templ_7745c5c3_Var258, templ_7745c5c3_Err = templ.JoinStringErrs(product.Title) + var templ_7745c5c3_Var259 string + templ_7745c5c3_Var259, templ_7745c5c3_Err = templ.JoinStringErrs(product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1181, Col: 136} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1221, Col: 136} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var258)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var259)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 315, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if product.Category != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 316, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var259 string - templ_7745c5c3_Var259, templ_7745c5c3_Err = templ.JoinStringErrs(product.Category) + var templ_7745c5c3_Var260 string + templ_7745c5c3_Var260, templ_7745c5c3_Err = templ.JoinStringErrs(product.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1183, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1223, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var259)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var260)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 319, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if product.ReviewCount > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 319, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var260 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var261 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5484,7 +5509,7 @@ func ProductCard(product viewmodel.ProductCard, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var261 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var262 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5504,93 +5529,93 @@ func ProductCard(product viewmodel.ProductCard, labels viewmodel.SiteLabels) tem } return nil }) - templ_7745c5c3_Err = rating.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var261), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = rating.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var262), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = rating.Rating(rating.Props{Value: product.Rating, ReadOnly: true, Class: "flex-row items-center gap-0.5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var260), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = rating.Rating(rating.Props{Value: product.Rating, ReadOnly: true, Class: "flex-row items-center gap-0.5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var261), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var262 string - templ_7745c5c3_Var262, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", product.ReviewCount)) + var templ_7745c5c3_Var263 string + templ_7745c5c3_Var263, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", product.ReviewCount)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1197, Col: 53} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1237, Col: 53} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var262)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var263)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 324, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if product.Price != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var263 string - templ_7745c5c3_Var263, templ_7745c5c3_Err = templ.JoinStringErrs(product.Price) + var templ_7745c5c3_Var264 string + templ_7745c5c3_Var264, templ_7745c5c3_Err = templ.JoinStringErrs(product.Price) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1204, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1244, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var263)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var264)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 324, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if product.CompareAt != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var264 string - templ_7745c5c3_Var264, templ_7745c5c3_Err = templ.JoinStringErrs(product.CompareAt) + var templ_7745c5c3_Var265 string + templ_7745c5c3_Var265, templ_7745c5c3_Err = templ.JoinStringErrs(product.CompareAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1207, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1247, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var264)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var265)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 328, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-1 flex-col p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var256), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-1 flex-col p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var257), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "store-card flex h-full flex-col overflow-hidden rounded-[1.75rem] border-border/60 bg-card group-focus-visible:ring-2 group-focus-visible:ring-primary/30"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var251), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "store-card flex h-full flex-col overflow-hidden rounded-[1.75rem] border-border/60 bg-card group-focus-visible:ring-2 group-focus-visible:ring-primary/30"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var252), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 328, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5614,16 +5639,16 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var265 := templ.GetChildren(ctx) - if templ_7745c5c3_Var265 == nil { - templ_7745c5c3_Var265 = templ.NopComponent + templ_7745c5c3_Var266 := templ.GetChildren(ctx) + if templ_7745c5c3_Var266 == nil { + templ_7745c5c3_Var266 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 331, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var266 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var267 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5635,7 +5660,7 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var267 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var268 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5647,11 +5672,11 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 332, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var268 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var269 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5663,7 +5688,7 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var269 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var270 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5679,20 +5704,20 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5706,65 +5731,65 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss Attributes: templ.Attributes{ "aria-label": labels.ProductImagePreview, }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var269), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var270), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var268), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var269), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 335, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if asset.ModelURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 336, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 337, "\" camera-controls auto-rotate ar ar-modes=\"webxr scene-viewer quick-look\" class=\"h-full w-full\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var274 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var275 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5780,30 +5805,30 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 340, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 338, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var275 string - templ_7745c5c3_Var275, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DAR) + var templ_7745c5c3_Var276 string + templ_7745c5c3_Var276, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DAR) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1251, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1291, Col: 29} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var275)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var276)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantSecondary, Size: button.SizeSm, Class: "absolute bottom-4 right-4 rounded-xl shadow-sm", Attributes: templ.Attributes{"slot": "ar-button"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var274), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantSecondary, Size: button.SizeSm, Class: "absolute bottom-4 right-4 rounded-xl shadow-sm", Attributes: templ.Attributes{"slot": "ar-button"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var275), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 341, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 339, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var276 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var277 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5815,47 +5840,47 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, "
\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, "\" class=\"h-full w-full cursor-zoom-in object-contain\" data-product-display-image>
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var276), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var277), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 345, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 343, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var279 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var280 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5867,12 +5892,12 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var280 string - templ_7745c5c3_Var280, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DView2D) + var templ_7745c5c3_Var281 string + templ_7745c5c3_Var281, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DView2D) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1271, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1311, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var280)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var281)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5887,11 +5912,11 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss "data-state": "inactive", "aria-pressed": "false", }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var279), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var280), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var281 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var282 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5903,12 +5928,12 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var282 string - templ_7745c5c3_Var282, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DView3D) + var templ_7745c5c3_Var283 string + templ_7745c5c3_Var283, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DView3D) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1283, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1323, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var282)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var283)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5923,29 +5948,29 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss "data-state": "active", "aria-pressed": "true", }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var281), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var282), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 346, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 344, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if asset.PollURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, "
\"\"
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 346, "\" alt=\"\" class=\"absolute inset-0 h-full w-full scale-110 object-cover opacity-25 blur-xl\" data-product-display-image>
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5953,89 +5978,89 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 349, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var284 string - templ_7745c5c3_Var284, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DGenerating) + var templ_7745c5c3_Var285 string + templ_7745c5c3_Var285, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DGenerating) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1299, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1339, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var284)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var285)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 348, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var285 string - templ_7745c5c3_Var285, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DLoadingBody) + var templ_7745c5c3_Var286 string + templ_7745c5c3_Var286, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DLoadingBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1300, Col: 95} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1340, Col: 95} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var285)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var286)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 351, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 349, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if asset.RetryMessage != "" || asset.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if asset.RetryMessage != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 351, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var286 string - templ_7745c5c3_Var286, templ_7745c5c3_Err = templ.JoinStringErrs(asset.RetryMessage) + var templ_7745c5c3_Var287 string + templ_7745c5c3_Var287, templ_7745c5c3_Err = templ.JoinStringErrs(asset.RetryMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1304, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1344, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var286)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var287)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if asset.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 355, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var287 string - templ_7745c5c3_Var287, templ_7745c5c3_Err = templ.JoinStringErrs(asset.AttemptLabel) + var templ_7745c5c3_Var288 string + templ_7745c5c3_Var288, templ_7745c5c3_Err = templ.JoinStringErrs(asset.AttemptLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1307, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1347, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var287)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var288)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 356, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 357, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 355, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 358, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 356, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var288 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var289 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6047,44 +6072,44 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 359, "
\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 359, "\" class=\"h-full w-full cursor-zoom-in object-contain\" data-product-display-image>
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var288), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var289), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var291 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var292 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6096,71 +6121,71 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 362, "\"")") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 362, "\" class=\"h-full w-full cursor-zoom-in object-contain\" data-product-display-image>") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var291), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "product-image-preview-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var292), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if asset.ModelURL == "" && asset.PollURL == "" && !asset.RetryDisabled { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 365, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 363, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var294 string - templ_7745c5c3_Var294, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DFallback) + var templ_7745c5c3_Var295 string + templ_7745c5c3_Var295, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DFallback) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1329, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1369, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var294)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var295)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 366, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 364, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var295 string - templ_7745c5c3_Var295, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DTitle) + var templ_7745c5c3_Var296 string + templ_7745c5c3_Var296, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1332, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1372, Col: 73} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var295)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var296)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 367, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 365, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6170,114 +6195,114 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 368, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 366, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if asset.Body != "" && asset.Body != asset.Status { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 369, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 367, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var296 string - templ_7745c5c3_Var296, templ_7745c5c3_Err = templ.JoinStringErrs(asset.Body) + var templ_7745c5c3_Var297 string + templ_7745c5c3_Var297, templ_7745c5c3_Err = templ.JoinStringErrs(asset.Body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1339, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1379, Col: 69} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var296)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var297)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 370, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 368, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if asset.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 371, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 369, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var297 string - templ_7745c5c3_Var297, templ_7745c5c3_Err = templ.JoinStringErrs(asset.Error) + var templ_7745c5c3_Var298 string + templ_7745c5c3_Var298, templ_7745c5c3_Err = templ.JoinStringErrs(asset.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1342, Col: 49} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1382, Col: 49} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var297)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var298)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 372, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 370, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if asset.RetryMessage != "" || asset.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 373, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 371, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if asset.RetryMessage != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 374, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 372, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var298 string - templ_7745c5c3_Var298, templ_7745c5c3_Err = templ.JoinStringErrs(asset.RetryMessage) + var templ_7745c5c3_Var299 string + templ_7745c5c3_Var299, templ_7745c5c3_Err = templ.JoinStringErrs(asset.RetryMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1347, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1387, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var298)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var299)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 375, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 373, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if asset.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 376, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 374, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var299 string - templ_7745c5c3_Var299, templ_7745c5c3_Err = templ.JoinStringErrs(asset.AttemptLabel) + var templ_7745c5c3_Var300 string + templ_7745c5c3_Var300, templ_7745c5c3_Err = templ.JoinStringErrs(asset.AttemptLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1350, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1390, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var299)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var300)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 377, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 375, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 378, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 376, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 379, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 378, "\" hx-target=\"closest [data-product-3d-viewer]\" hx-swap=\"outerHTML\" data-product-3d-generate-form>") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var301 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var302 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6293,78 +6318,78 @@ func Product3DViewer(product viewmodel.ProductCard, asset viewmodel.Product3DAss if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 381, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 379, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if asset.Error != "" { - var templ_7745c5c3_Var302 string - templ_7745c5c3_Var302, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DRetry) + var templ_7745c5c3_Var303 string + templ_7745c5c3_Var303, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DRetry) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1358, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1398, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var302)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var303)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - var templ_7745c5c3_Var303 string - templ_7745c5c3_Var303, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DGenerate) + var templ_7745c5c3_Var304 string + templ_7745c5c3_Var304, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DGenerate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1360, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1400, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var303)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var304)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var301), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var302), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 382, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 380, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if asset.PollURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 383, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 382, "\" hx-trigger=\"load delay:1500ms\" hx-target=\"closest [data-product-3d-viewer]\" hx-swap=\"outerHTML\" class=\"sr-only\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 385, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 383, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var267), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var268), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "overflow-hidden rounded-2xl border-border/60 shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var266), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "overflow-hidden rounded-2xl border-border/60 shadow-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var267), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 386, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 384, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6389,13 +6414,13 @@ func YouMayAlsoLike(products []viewmodel.ProductCard, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var305 := templ.GetChildren(ctx) - if templ_7745c5c3_Var305 == nil { - templ_7745c5c3_Var305 = templ.NopComponent + templ_7745c5c3_Var306 := templ.GetChildren(ctx) + if templ_7745c5c3_Var306 == nil { + templ_7745c5c3_Var306 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if len(products) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 387, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 385, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6403,33 +6428,33 @@ func YouMayAlsoLike(products []viewmodel.ProductCard, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 388, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 386, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var306 string - templ_7745c5c3_Var306, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSuggestionsTitle) + var templ_7745c5c3_Var307 string + templ_7745c5c3_Var307, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSuggestionsTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1390, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1430, Col: 79} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var306)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var307)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 389, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 387, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var307 string - templ_7745c5c3_Var307, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSuggestionsSubtitle) + var templ_7745c5c3_Var308 string + templ_7745c5c3_Var308, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSuggestionsSubtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1391, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1431, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var307)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var308)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 390, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 388, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6439,7 +6464,7 @@ func YouMayAlsoLike(products []viewmodel.ProductCard, labels viewmodel.SiteLabel return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 391, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 389, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6467,16 +6492,16 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var308 := templ.GetChildren(ctx) - if templ_7745c5c3_Var308 == nil { - templ_7745c5c3_Var308 = templ.NopComponent + templ_7745c5c3_Var309 := templ.GetChildren(ctx) + if templ_7745c5c3_Var309 == nil { + templ_7745c5c3_Var309 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 392, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 390, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var309 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var310 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6488,7 +6513,7 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var310 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var311 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6500,26 +6525,26 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var311 string - templ_7745c5c3_Var311, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTitle) + var templ_7745c5c3_Var312 string + templ_7745c5c3_Var312, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1410, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1450, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var311)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var312)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var310), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var311), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 393, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 391, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var312 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var313 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6531,28 +6556,28 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var313 string - templ_7745c5c3_Var313, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartDescription) + var templ_7745c5c3_Var314 string + templ_7745c5c3_Var314, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartDescription) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1411, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1451, Col: 50} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var313)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var314)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var312), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var313), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var309), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var310), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 394, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 392, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6562,7 +6587,7 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 395, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 393, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6571,7 +6596,7 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 396, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 394, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6582,12 +6607,12 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem } } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 397, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 395, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 398, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 396, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6597,7 +6622,7 @@ func CartDrawerContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 399, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 397, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6621,94 +6646,94 @@ func CartDrawerItem(item viewmodel.CartItem) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var314 := templ.GetChildren(ctx) - if templ_7745c5c3_Var314 == nil { - templ_7745c5c3_Var314 = templ.NopComponent + templ_7745c5c3_Var315 := templ.GetChildren(ctx) + if templ_7745c5c3_Var315 == nil { + templ_7745c5c3_Var315 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 400, "
\"")

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 399, "\" alt=\"") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var317 string templ_7745c5c3_Var317, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1439, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1476, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var317)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 403, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 400, "\" class=\"h-full w-full object-cover\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var318 string - templ_7745c5c3_Var318, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Vendor) + templ_7745c5c3_Var318, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1440, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1479, Col: 59} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var318)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 404, " · ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 401, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var319 string - templ_7745c5c3_Var319, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Category) + templ_7745c5c3_Var319, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Vendor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1440, Col: 94} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1480, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var319)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 405, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 402, " · ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var320 string - templ_7745c5c3_Var320, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Price) + templ_7745c5c3_Var320, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1442, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1480, Col: 94} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var320)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 406, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 403, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var321 string + templ_7745c5c3_Var321, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Price) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1482, Col: 57} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var321)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 404, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var321 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var322 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6726,28 +6751,28 @@ func CartDrawerItem(item viewmodel.CartItem) templ.Component { } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var321), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var322), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 407, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 405, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var322 string - templ_7745c5c3_Var322, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", item.Quantity)) + var templ_7745c5c3_Var323 string + templ_7745c5c3_Var323, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", item.Quantity)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1447, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1487, Col: 77} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var322)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var323)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 408, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 406, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var323 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var324 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6765,11 +6790,11 @@ func CartDrawerItem(item viewmodel.CartItem) templ.Component { } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var323), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var324), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 409, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 407, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6793,12 +6818,12 @@ func CartDrawerSummary(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var324 := templ.GetChildren(ctx) - if templ_7745c5c3_Var324 == nil { - templ_7745c5c3_Var324 = templ.NopComponent + templ_7745c5c3_Var325 := templ.GetChildren(ctx) + if templ_7745c5c3_Var325 == nil { + templ_7745c5c3_Var325 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var325 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var326 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6810,123 +6835,123 @@ func CartDrawerSummary(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 410, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var326 string - templ_7745c5c3_Var326, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSubtotal) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1462, Col: 62} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var326)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 411, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 408, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var327 string - templ_7745c5c3_Var327, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Subtotal) + templ_7745c5c3_Var327, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSubtotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1463, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1502, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var327)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 412, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 409, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var328 string - templ_7745c5c3_Var328, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartShipping) + templ_7745c5c3_Var328, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Subtotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1466, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1503, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var328)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 413, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 410, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var329 string - templ_7745c5c3_Var329, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Shipping) + templ_7745c5c3_Var329, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartShipping) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1467, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1506, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var329)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 414, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 411, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var330 string - templ_7745c5c3_Var330, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTax) + templ_7745c5c3_Var330, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Shipping) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1470, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1507, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var330)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 415, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 412, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var331 string - templ_7745c5c3_Var331, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Tax) + templ_7745c5c3_Var331, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTax) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1471, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1510, Col: 57} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var331)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 416, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 413, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = separator.Separator().Render(ctx, templ_7745c5c3_Buffer) + var templ_7745c5c3_Var332 string + templ_7745c5c3_Var332, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Tax) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1511, Col: 41} } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 417, "
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var332)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var332 string - templ_7745c5c3_Var332, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTotal) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 414, "
") if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1475, Col: 29} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var332)) + templ_7745c5c3_Err = separator.Separator().Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 418, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 415, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var333 string - templ_7745c5c3_Var333, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Total) + templ_7745c5c3_Var333, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1476, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1515, Col: 29} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var333)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 419, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 416, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var334 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + var templ_7745c5c3_Var334 string + templ_7745c5c3_Var334, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Total) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1516, Col: 23} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var334)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 417, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var335 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6942,32 +6967,32 @@ func CartDrawerSummary(cart viewmodel.CartPage, labels viewmodel.SiteLabels) tem if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 420, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 418, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var335 string - templ_7745c5c3_Var335, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartCheckout) + var templ_7745c5c3_Var336 string + templ_7745c5c3_Var336, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartCheckout) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1481, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1521, Col: 25} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var335)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var336)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/checkout", Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var334), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/checkout", Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var335), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 421, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 419, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var325), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var326), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6991,12 +7016,12 @@ func EmptyCartContent(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var336 := templ.GetChildren(ctx) - if templ_7745c5c3_Var336 == nil { - templ_7745c5c3_Var336 = templ.NopComponent + templ_7745c5c3_Var337 := templ.GetChildren(ctx) + if templ_7745c5c3_Var337 == nil { + templ_7745c5c3_Var337 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 422, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 420, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7004,37 +7029,37 @@ func EmptyCartContent(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 423, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 421, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var337 string - templ_7745c5c3_Var337, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartEmptyTitle) + var templ_7745c5c3_Var338 string + templ_7745c5c3_Var338, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartEmptyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1492, Col: 58} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1532, Col: 58} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var337)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var338)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 424, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 422, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var338 string - templ_7745c5c3_Var338, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartEmptyBody) + var templ_7745c5c3_Var339 string + templ_7745c5c3_Var339, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1493, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1533, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var338)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var339)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 425, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 423, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var339 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var340 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7046,22 +7071,22 @@ func EmptyCartContent(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var340 string - templ_7745c5c3_Var340, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartEmptyCTA) + var templ_7745c5c3_Var341 string + templ_7745c5c3_Var341, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartEmptyCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1494, Col: 91} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1534, Col: 91} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var340)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var341)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/", Class: "mt-2 rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var339), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/", Class: "mt-2 rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var340), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 426, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 424, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7086,12 +7111,12 @@ func CartPageContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) templ }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var341 := templ.GetChildren(ctx) - if templ_7745c5c3_Var341 == nil { - templ_7745c5c3_Var341 = templ.NopComponent + templ_7745c5c3_Var342 := templ.GetChildren(ctx) + if templ_7745c5c3_Var342 == nil { + templ_7745c5c3_Var342 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 427, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 425, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7101,37 +7126,37 @@ func CartPageContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) templ return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 428, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 426, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var342 string - templ_7745c5c3_Var342, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTitle) + var templ_7745c5c3_Var343 string + templ_7745c5c3_Var343, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1508, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1548, Col: 70} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var342)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var343)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 429, " (") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 427, " (") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var343 string - templ_7745c5c3_Var343, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", len(cart.Items))) + var templ_7745c5c3_Var344 string + templ_7745c5c3_Var344, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", len(cart.Items))) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1508, Col: 110} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1548, Col: 110} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var343)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var344)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 430, ")

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 428, ")

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var344 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var345 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7147,26 +7172,26 @@ func CartPageContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) templ if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 431, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 429, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var345 string - templ_7745c5c3_Var345, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartClear) + var templ_7745c5c3_Var346 string + templ_7745c5c3_Var346, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartClear) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1512, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1552, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var345)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var346)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantDestructive, Size: button.SizeSm, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var344), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantDestructive, Size: button.SizeSm, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var345), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 432, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 430, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7176,7 +7201,7 @@ func CartPageContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) templ return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 433, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 431, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7184,7 +7209,7 @@ func CartPageContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) templ if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 434, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 432, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7193,7 +7218,7 @@ func CartPageContent(cart viewmodel.CartPage, labels viewmodel.SiteLabels) templ if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 435, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 433, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7217,12 +7242,12 @@ func CartPageItem(item viewmodel.CartItem) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var346 := templ.GetChildren(ctx) - if templ_7745c5c3_Var346 == nil { - templ_7745c5c3_Var346 = templ.NopComponent + templ_7745c5c3_Var347 := templ.GetChildren(ctx) + if templ_7745c5c3_Var347 == nil { + templ_7745c5c3_Var347 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var347 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var348 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7234,7 +7259,7 @@ func CartPageItem(item viewmodel.CartItem) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var348 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var349 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7246,72 +7271,72 @@ func CartPageItem(item viewmodel.CartItem) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 436, "
\"")

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 435, "\" alt=\"") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var351 string templ_7745c5c3_Var351, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1538, Col: 49} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1573, Col: 63} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var351)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 439, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 436, "\" class=\"h-full w-full object-cover\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var352 string - templ_7745c5c3_Var352, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Vendor) + templ_7745c5c3_Var352, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1539, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1578, Col: 49} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var352)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 440, " · ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 437, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var353 string - templ_7745c5c3_Var353, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Category) + templ_7745c5c3_Var353, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Vendor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1539, Col: 97} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1579, Col: 68} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var353)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 441, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 438, " · ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var354 string + templ_7745c5c3_Var354, templ_7745c5c3_Err = templ.JoinStringErrs(item.Product.Category) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1579, Col: 97} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var354)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 439, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7323,7 +7348,7 @@ func CartPageItem(item viewmodel.CartItem) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var354 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var355 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7341,15 +7366,15 @@ func CartPageItem(item viewmodel.CartItem) templ.Component { } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Type: button.TypeSubmit, Class: "text-muted-foreground hover:text-foreground transition-colors"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var354), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Type: button.TypeSubmit, Class: "text-muted-foreground hover:text-foreground transition-colors"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var355), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 442, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 440, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var355 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var356 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7367,28 +7392,28 @@ func CartPageItem(item viewmodel.CartItem) templ.Component { } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var355), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var356), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 443, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 441, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var356 string - templ_7745c5c3_Var356, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", item.Quantity)) + var templ_7745c5c3_Var357 string + templ_7745c5c3_Var357, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", item.Quantity)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1557, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1597, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var356)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var357)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 444, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 442, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var357 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var358 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7406,36 +7431,36 @@ func CartPageItem(item viewmodel.CartItem) templ.Component { } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var357), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Class: "size-7"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var358), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 445, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 443, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var358 string - templ_7745c5c3_Var358, templ_7745c5c3_Err = templ.JoinStringErrs(item.Total) + var templ_7745c5c3_Var359 string + templ_7745c5c3_Var359, templ_7745c5c3_Err = templ.JoinStringErrs(item.Total) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1562, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1602, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var358)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var359)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 446, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 444, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex gap-4 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var348), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex gap-4 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var349), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var347), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var348), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7459,12 +7484,12 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var359 := templ.GetChildren(ctx) - if templ_7745c5c3_Var359 == nil { - templ_7745c5c3_Var359 = templ.NopComponent + templ_7745c5c3_Var360 := templ.GetChildren(ctx) + if templ_7745c5c3_Var360 == nil { + templ_7745c5c3_Var360 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var360 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var361 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7476,7 +7501,7 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var361 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var362 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7488,7 +7513,7 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var362 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var363 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7500,32 +7525,32 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var363 string - templ_7745c5c3_Var363, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSummary) + var templ_7745c5c3_Var364 string + templ_7745c5c3_Var364, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSummary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1572, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1612, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var363)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var364)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var362), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var363), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var361), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var362), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 447, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 445, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var364 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var365 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7537,119 +7562,119 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 448, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var365 string - templ_7745c5c3_Var365, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSubtotal) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1577, Col: 62} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var365)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 449, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 446, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var366 string - templ_7745c5c3_Var366, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Subtotal) + templ_7745c5c3_Var366, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSubtotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1578, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1617, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var366)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 450, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 447, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var367 string - templ_7745c5c3_Var367, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartShipping) + templ_7745c5c3_Var367, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Subtotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1581, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1618, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var367)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 451, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 448, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var368 string - templ_7745c5c3_Var368, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Shipping) + templ_7745c5c3_Var368, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartShipping) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1582, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1621, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var368)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 452, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 449, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var369 string - templ_7745c5c3_Var369, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTax) + templ_7745c5c3_Var369, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Shipping) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1585, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1622, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var369)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 453, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 450, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var370 string - templ_7745c5c3_Var370, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Tax) + templ_7745c5c3_Var370, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTax) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1586, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1625, Col: 57} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var370)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 454, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 451, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = separator.Separator().Render(ctx, templ_7745c5c3_Buffer) + var templ_7745c5c3_Var371 string + templ_7745c5c3_Var371, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Tax) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1626, Col: 41} } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 455, "
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var371)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var371 string - templ_7745c5c3_Var371, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTotal) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 452, "
") if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1590, Col: 29} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var371)) + templ_7745c5c3_Err = separator.Separator().Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 456, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 453, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var372 string - templ_7745c5c3_Var372, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Total) + templ_7745c5c3_Var372, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1591, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1630, Col: 29} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var372)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 457, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 454, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var373 string + templ_7745c5c3_Var373, templ_7745c5c3_Err = templ.JoinStringErrs(cart.Total) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1631, Col: 23} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var373)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 455, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7660,7 +7685,7 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var373 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var374 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7672,27 +7697,27 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var374 string - templ_7745c5c3_Var374, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartPromoApply) + var templ_7745c5c3_Var375 string + templ_7745c5c3_Var375, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartPromoApply) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1599, Col: 132} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1639, Col: 132} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var374)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var375)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var373), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var374), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 458, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 456, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if isCheckout { - templ_7745c5c3_Var375 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var376 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7708,27 +7733,27 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 459, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 457, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var376 string - templ_7745c5c3_Var376, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutComplete) + var templ_7745c5c3_Var377 string + templ_7745c5c3_Var377, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutComplete) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1604, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1644, Col: 30} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var376)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var377)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Form: "checkout-complete-form", Class: "w-full rounded-xl h-12"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var375), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Form: "checkout-complete-form", Class: "w-full rounded-xl h-12"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var376), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var377 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var378 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7744,52 +7769,52 @@ func CartSummaryCard(cart viewmodel.CartPage, labels viewmodel.SiteLabels, isChe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 460, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 458, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var378 string - templ_7745c5c3_Var378, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartCheckout) + var templ_7745c5c3_Var379 string + templ_7745c5c3_Var379, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartCheckout) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1609, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1649, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var378)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var379)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/checkout", Class: "w-full rounded-xl h-12"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var377), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/checkout", Class: "w-full rounded-xl h-12"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var378), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 461, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 459, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var379 string - templ_7745c5c3_Var379, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSecurePayment) + var templ_7745c5c3_Var380 string + templ_7745c5c3_Var380, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSecurePayment) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1612, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1652, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var379)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var380)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 462, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 460, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var364), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var365), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "h-fit rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var360), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "h-fit rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var361), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7816,12 +7841,12 @@ func CheckoutPageContent(data viewmodel.CheckoutPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var380 := templ.GetChildren(ctx) - if templ_7745c5c3_Var380 == nil { - templ_7745c5c3_Var380 = templ.NopComponent + templ_7745c5c3_Var381 := templ.GetChildren(ctx) + if templ_7745c5c3_Var381 == nil { + templ_7745c5c3_Var381 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 463, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 461, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7833,7 +7858,7 @@ func CheckoutPageContent(data viewmodel.CheckoutPage, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 464, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 462, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7847,7 +7872,7 @@ func CheckoutPageContent(data viewmodel.CheckoutPage, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 465, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 463, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7871,12 +7896,12 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var381 := templ.GetChildren(ctx) - if templ_7745c5c3_Var381 == nil { - templ_7745c5c3_Var381 = templ.NopComponent + templ_7745c5c3_Var382 := templ.GetChildren(ctx) + if templ_7745c5c3_Var382 == nil { + templ_7745c5c3_Var382 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var382 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var383 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7888,7 +7913,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var383 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var384 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7900,7 +7925,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var384 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var385 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7912,32 +7937,32 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var385 string - templ_7745c5c3_Var385, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutShippingTitle) + var templ_7745c5c3_Var386 string + templ_7745c5c3_Var386, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutShippingTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1640, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1680, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var385)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var386)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var384), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var385), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var383), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var384), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 466, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 464, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var386 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var387 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7950,12 +7975,12 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe } ctx = templ.InitializeContext(ctx) if len(data.Addresses) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 467, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 465, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, addr := range data.Addresses { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 468, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 475, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 478, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 476, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8096,7 +8121,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 479, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 477, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8108,7 +8133,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 480, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 478, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8116,7 +8141,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 481, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 479, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8132,7 +8157,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 482, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 480, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8140,7 +8165,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 483, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 481, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8148,7 +8173,7 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var395 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var396 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8160,35 +8185,35 @@ func CheckoutShippingCard(data viewmodel.CheckoutPage, labels viewmodel.SiteLabe }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var396 string - templ_7745c5c3_Var396, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutSaveAddress) + var templ_7745c5c3_Var397 string + templ_7745c5c3_Var397, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutSaveAddress) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1680, Col: 100} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1720, Col: 100} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var396)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var397)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "save-address", Class: "text-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var395), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "save-address", Class: "text-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var396), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 484, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 482, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var386), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var387), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var382), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var383), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8212,12 +8237,12 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var397 := templ.GetChildren(ctx) - if templ_7745c5c3_Var397 == nil { - templ_7745c5c3_Var397 = templ.NopComponent + templ_7745c5c3_Var398 := templ.GetChildren(ctx) + if templ_7745c5c3_Var398 == nil { + templ_7745c5c3_Var398 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var398 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var399 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8229,7 +8254,7 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var399 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var400 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8241,7 +8266,7 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var400 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var401 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8253,32 +8278,32 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var401 string - templ_7745c5c3_Var401, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutPaymentTitle) + var templ_7745c5c3_Var402 string + templ_7745c5c3_Var402, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CheckoutPaymentTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1690, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1730, Col: 81} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var401)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var402)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var400), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var401), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var399), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var400), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 485, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 483, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var402 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var403 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8290,7 +8315,7 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 486, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 484, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8306,7 +8331,7 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 487, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 485, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8318,7 +8343,7 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 488, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 486, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8330,19 +8355,19 @@ func CheckoutPaymentCard(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 489, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 487, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var402), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var403), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var398), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var399), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8366,12 +8391,12 @@ func paymentOption(id, label, iconName string, checked bool) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var403 := templ.GetChildren(ctx) - if templ_7745c5c3_Var403 == nil { - templ_7745c5c3_Var403 = templ.NopComponent + templ_7745c5c3_Var404 := templ.GetChildren(ctx) + if templ_7745c5c3_Var404 == nil { + templ_7745c5c3_Var404 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 490, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8439,17 +8464,17 @@ func OrderTable(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, la }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var405 := templ.GetChildren(ctx) - if templ_7745c5c3_Var405 == nil { - templ_7745c5c3_Var405 = templ.NopComponent + templ_7745c5c3_Var406 := templ.GetChildren(ctx) + if templ_7745c5c3_Var406 == nil { + templ_7745c5c3_Var406 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 494, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 492, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, f := range filters { - templ_7745c5c3_Var406 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var407 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8461,12 +8486,12 @@ func OrderTable(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, la }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var407 string - templ_7745c5c3_Var407, templ_7745c5c3_Err = templ.JoinStringErrs(f.Label) + var templ_7745c5c3_Var408 string + templ_7745c5c3_Var408, templ_7745c5c3_Err = templ.JoinStringErrs(f.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1741, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1781, Col: 14} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var407)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var408)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8476,207 +8501,207 @@ func OrderTable(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, la Variant: button.VariantOutline, Href: "/account/orders?status=" + f.Status, Class: "rounded-lg whitespace-nowrap", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var406), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var407), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 495, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var408 string - templ_7745c5c3_Var408, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableOrder) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1750, Col: 76} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var408)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 496, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 493, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 497, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(orders) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 501, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 500, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } for _, row := range orders { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 503, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 515, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 518, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var409 string - templ_7745c5c3_Var409, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableDate) + templ_7745c5c3_Var409, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableOrder) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1751, Col: 96} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1790, Col: 76} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var409)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 497, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 494, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var410 string - templ_7745c5c3_Var410, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableItems) + templ_7745c5c3_Var410, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1752, Col: 97} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1791, Col: 96} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var410)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 498, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 495, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var411 string - templ_7745c5c3_Var411, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableAmount) + templ_7745c5c3_Var411, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableItems) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1753, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1792, Col: 97} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var411)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 499, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 496, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var412 string - templ_7745c5c3_Var412, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableStatus) + templ_7745c5c3_Var412, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableAmount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1754, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1793, Col: 78} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var412)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 500, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var413 string + templ_7745c5c3_Var413, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableStatus) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1794, Col: 79} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var413)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 498, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 499, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var413 string - templ_7745c5c3_Var413, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersEmpty) + var templ_7745c5c3_Var414 string + templ_7745c5c3_Var414, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1761, Col: 105} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1801, Col: 105} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var413)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var414)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 502, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 501, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if row.DetailURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 504, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 503, "\" class=\"font-medium underline-offset-4 transition-colors hover:text-primary hover:underline\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var415 string - templ_7745c5c3_Var415, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) + var templ_7745c5c3_Var416 string + templ_7745c5c3_Var416, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1768, Col: 151} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1808, Col: 151} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var415)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var416)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 506, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 504, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 507, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 505, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var416 string - templ_7745c5c3_Var416, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) + var templ_7745c5c3_Var417 string + templ_7745c5c3_Var417, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1770, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1810, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var416)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var417)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 508, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 506, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 509, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 507, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var417 string - templ_7745c5c3_Var417, templ_7745c5c3_Err = templ.JoinStringErrs(row.Date) + var templ_7745c5c3_Var418 string + templ_7745c5c3_Var418, templ_7745c5c3_Err = templ.JoinStringErrs(row.Date) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1772, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1812, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var417)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var418)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 510, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 508, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var418 string - templ_7745c5c3_Var418, templ_7745c5c3_Err = templ.JoinStringErrs(row.Date) + var templ_7745c5c3_Var419 string + templ_7745c5c3_Var419, templ_7745c5c3_Err = templ.JoinStringErrs(row.Date) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1774, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1814, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var418)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var419)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 511, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 509, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var419 string - templ_7745c5c3_Var419, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) + var templ_7745c5c3_Var420 string + templ_7745c5c3_Var420, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1775, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1815, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var419)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var420)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 512, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 510, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var420 string - templ_7745c5c3_Var420, templ_7745c5c3_Err = templ.JoinStringErrs(row.Amount) + var templ_7745c5c3_Var421 string + templ_7745c5c3_Var421, templ_7745c5c3_Err = templ.JoinStringErrs(row.Amount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1776, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1816, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var420)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var421)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 513, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 511, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8684,12 +8709,12 @@ func OrderTable(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 514, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 512, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if row.AssistantURL != "" { - templ_7745c5c3_Var421 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var422 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8705,27 +8730,27 @@ func OrderTable(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 515, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 513, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var422 string - templ_7745c5c3_Var422, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) + var templ_7745c5c3_Var423 string + templ_7745c5c3_Var423, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1784, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1824, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var422)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var423)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: row.AssistantURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl whitespace-nowrap"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var421), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: row.AssistantURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl whitespace-nowrap"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var422), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if row.ReviewURL != "" { - templ_7745c5c3_Var423 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var424 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8741,27 +8766,27 @@ func OrderTable(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 516, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 514, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var424 string - templ_7745c5c3_Var424, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewAction) + var templ_7745c5c3_Var425 string + templ_7745c5c3_Var425, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1789, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1829, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var424)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var425)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: row.ReviewURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl whitespace-nowrap"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var423), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: row.ReviewURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl whitespace-nowrap"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var424), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var425 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var426 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8779,17 +8804,17 @@ func OrderTable(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, la } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Class: "text-muted-foreground hover:text-foreground transition-colors"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var425), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Class: "text-muted-foreground hover:text-foreground transition-colors"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var426), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 517, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 516, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8813,13 +8838,13 @@ func orderStatusBadge(status string, labels viewmodel.SiteLabels) templ.Componen }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var426 := templ.GetChildren(ctx) - if templ_7745c5c3_Var426 == nil { - templ_7745c5c3_Var426 = templ.NopComponent + templ_7745c5c3_Var427 := templ.GetChildren(ctx) + if templ_7745c5c3_Var427 == nil { + templ_7745c5c3_Var427 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if status == labels.StatusDelivered { - templ_7745c5c3_Var427 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var428 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8831,23 +8856,23 @@ func orderStatusBadge(status string, labels viewmodel.SiteLabels) templ.Componen }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var428 string - templ_7745c5c3_Var428, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusDelivered) + var templ_7745c5c3_Var429 string + templ_7745c5c3_Var429, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusDelivered) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1808, Col: 160} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1848, Col: 160} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var428)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var429)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-emerald-100 text-emerald-800 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var427), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-emerald-100 text-emerald-800 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var428), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if status == labels.StatusInTransit { - templ_7745c5c3_Var429 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var430 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8859,23 +8884,23 @@ func orderStatusBadge(status string, labels viewmodel.SiteLabels) templ.Componen }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var430 string - templ_7745c5c3_Var430, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusInTransit) + var templ_7745c5c3_Var431 string + templ_7745c5c3_Var431, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusInTransit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1810, Col: 145} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1850, Col: 145} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var430)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var431)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/30 dark:text-blue-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var429), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/30 dark:text-blue-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var430), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if status == labels.StatusProcessing { - templ_7745c5c3_Var431 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var432 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8887,23 +8912,23 @@ func orderStatusBadge(status string, labels viewmodel.SiteLabels) templ.Componen }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var432 string - templ_7745c5c3_Var432, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusProcessing) + var templ_7745c5c3_Var433 string + templ_7745c5c3_Var433, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusProcessing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1812, Col: 151} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1852, Col: 151} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var432)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var433)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-amber-100 text-amber-800 border-amber-200 dark:bg-amber-900/30 dark:text-amber-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var431), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-amber-100 text-amber-800 border-amber-200 dark:bg-amber-900/30 dark:text-amber-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var432), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if status == labels.StatusCancelled { - templ_7745c5c3_Var433 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var434 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8915,23 +8940,23 @@ func orderStatusBadge(status string, labels viewmodel.SiteLabels) templ.Componen }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var434 string - templ_7745c5c3_Var434, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusCancelled) + var templ_7745c5c3_Var435 string + templ_7745c5c3_Var435, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusCancelled) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1814, Col: 142} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1854, Col: 142} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var434)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var435)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-800 dark:text-gray-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var433), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-800 dark:text-gray-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var434), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var435 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var436 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8943,18 +8968,18 @@ func orderStatusBadge(status string, labels viewmodel.SiteLabels) templ.Componen }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var436 string - templ_7745c5c3_Var436, templ_7745c5c3_Err = templ.JoinStringErrs(status) + var templ_7745c5c3_Var437 string + templ_7745c5c3_Var437, templ_7745c5c3_Err = templ.JoinStringErrs(status) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1816, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1856, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var436)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var437)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var435), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var436), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8979,42 +9004,42 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var437 := templ.GetChildren(ctx) - if templ_7745c5c3_Var437 == nil { - templ_7745c5c3_Var437 = templ.NopComponent + templ_7745c5c3_Var438 := templ.GetChildren(ctx) + if templ_7745c5c3_Var438 == nil { + templ_7745c5c3_Var438 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 519, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 517, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var438 string - templ_7745c5c3_Var438, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTitle) + var templ_7745c5c3_Var439 string + templ_7745c5c3_Var439, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1824, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1864, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var438)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var439)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 520, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 518, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var439 string - templ_7745c5c3_Var439, templ_7745c5c3_Err = templ.JoinStringErrs(page.ID) + var templ_7745c5c3_Var440 string + templ_7745c5c3_Var440, templ_7745c5c3_Err = templ.JoinStringErrs(page.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1825, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1865, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var439)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var440)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 521, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 519, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var440 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var441 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9026,26 +9051,26 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var441 string - templ_7745c5c3_Var441, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailBack) + var templ_7745c5c3_Var442 string + templ_7745c5c3_Var442, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailBack) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1828, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1868, Col: 29} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var441)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var442)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: page.BackURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var440), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.BackURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var441), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 522, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 520, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var442 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var443 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9057,7 +9082,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var443 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var444 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9069,33 +9094,33 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 523, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 521, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var444 string - templ_7745c5c3_Var444, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailSummary) + var templ_7745c5c3_Var445 string + templ_7745c5c3_Var445, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailSummary) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1834, Col: 74} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1874, Col: 74} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var444)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var445)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 524, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 522, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var445 string - templ_7745c5c3_Var445, templ_7745c5c3_Err = templ.JoinStringErrs(page.Total) + var templ_7745c5c3_Var446 string + templ_7745c5c3_Var446, templ_7745c5c3_Err = templ.JoinStringErrs(page.Total) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1835, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1875, Col: 50} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var445)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var446)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 525, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 523, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9105,17 +9130,17 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var443), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var444), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var442), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var443), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var446 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var447 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9127,7 +9152,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var447 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var448 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9139,62 +9164,62 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 526, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 524, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var448 string - templ_7745c5c3_Var448, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailCustomer) + var templ_7745c5c3_Var449 string + templ_7745c5c3_Var449, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailCustomer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1841, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1881, Col: 75} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var448)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var449)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 527, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 525, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var449 string - templ_7745c5c3_Var449, templ_7745c5c3_Err = templ.JoinStringErrs(page.CustomerName) + var templ_7745c5c3_Var450 string + templ_7745c5c3_Var450, templ_7745c5c3_Err = templ.JoinStringErrs(page.CustomerName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1842, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1882, Col: 47} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var449)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var450)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 528, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 526, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var450 string - templ_7745c5c3_Var450, templ_7745c5c3_Err = templ.JoinStringErrs(page.CustomerEmail) + var templ_7745c5c3_Var451 string + templ_7745c5c3_Var451, templ_7745c5c3_Err = templ.JoinStringErrs(page.CustomerEmail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1843, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1883, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var450)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var451)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 529, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 527, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var447), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var448), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var446), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var447), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var451 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var452 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9206,7 +9231,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var452 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var453 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9218,20 +9243,20 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 530, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 528, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var453 string - templ_7745c5c3_Var453, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailPaymentStatus) + var templ_7745c5c3_Var454 string + templ_7745c5c3_Var454, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailPaymentStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1848, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1888, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var453)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var454)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 531, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 529, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9241,17 +9266,17 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var452), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var453), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var451), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var452), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var454 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var455 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9263,7 +9288,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var455 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var456 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9275,20 +9300,20 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 532, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 530, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var456 string - templ_7745c5c3_Var456, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailFulfillmentStatus) + var templ_7745c5c3_Var457 string + templ_7745c5c3_Var457, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailFulfillmentStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1854, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1894, Col: 84} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var456)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var457)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 533, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 531, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9298,22 +9323,22 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var455), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var456), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var454), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var455), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 534, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 532, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.AssistantURL != "" { - templ_7745c5c3_Var457 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var458 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9325,7 +9350,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var458 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var459 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9337,37 +9362,37 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 535, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 533, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var459 string - templ_7745c5c3_Var459, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAssistantResolve) + var templ_7745c5c3_Var460 string + templ_7745c5c3_Var460, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAssistantResolve) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1863, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1903, Col: 60} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var459)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var460)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 536, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 534, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var460 string - templ_7745c5c3_Var460, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAssistantRecent) + var templ_7745c5c3_Var461 string + templ_7745c5c3_Var461, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAssistantRecent) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1864, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1904, Col: 77} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var460)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var461)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 537, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 535, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var461 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var462 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9383,43 +9408,43 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 538, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 536, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var462 string - templ_7745c5c3_Var462, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) + var templ_7745c5c3_Var463 string + templ_7745c5c3_Var463, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1868, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1908, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var462)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var463)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: page.AssistantURL, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var461), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.AssistantURL, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var462), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-3 p-5 md:flex-row md:items-center md:justify-between"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var458), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-3 p-5 md:flex-row md:items-center md:justify-between"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var459), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var457), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var458), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 539, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 537, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var463 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var464 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9431,7 +9456,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var464 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var465 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9443,7 +9468,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var465 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var466 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9455,32 +9480,32 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var466 string - templ_7745c5c3_Var466, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailItems) + var templ_7745c5c3_Var467 string + templ_7745c5c3_Var467, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailItems) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1876, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1916, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var466)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var467)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var465), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var466), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var464), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var465), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 540, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 538, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var467 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var468 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9493,134 +9518,134 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab } ctx = templ.InitializeContext(ctx) for _, item := range page.Items { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 541, "
") + var templ_7745c5c3_Var469 templ.SafeURL + templ_7745c5c3_Var469, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("/products/" + item.ProductSlug)) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var469 string - templ_7745c5c3_Var469, templ_7745c5c3_Err = templ.JoinStringErrs(item.ProductTitle) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1883, Col: 179} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1923, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var469)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 543, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 540, "\" class=\"font-medium underline-offset-4 transition-colors hover:text-primary hover:underline\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var470 string - templ_7745c5c3_Var470, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailSeller) + templ_7745c5c3_Var470, templ_7745c5c3_Err = templ.JoinStringErrs(item.ProductTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1885, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1923, Col: 179} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var470)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 544, ": ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 541, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var471 string - templ_7745c5c3_Var471, templ_7745c5c3_Err = templ.JoinStringErrs(item.SellerName) + templ_7745c5c3_Var471, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailSeller) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1885, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1925, Col: 43} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var471)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 545, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 542, ": ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var472 string - templ_7745c5c3_Var472, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailQuantity) + templ_7745c5c3_Var472, templ_7745c5c3_Err = templ.JoinStringErrs(item.SellerName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1886, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1925, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var472)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 546, ": ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 543, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var473 string - templ_7745c5c3_Var473, templ_7745c5c3_Err = templ.JoinStringErrs(item.Quantity) + templ_7745c5c3_Var473, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailQuantity) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1886, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1926, Col: 45} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var473)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 547, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 544, ": ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var474 string + templ_7745c5c3_Var474, templ_7745c5c3_Err = templ.JoinStringErrs(item.Quantity) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1926, Col: 64} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var474)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 545, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if item.TrackingCode != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 548, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 546, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var474 string - templ_7745c5c3_Var474, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTracking) + var templ_7745c5c3_Var475 string + templ_7745c5c3_Var475, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTracking) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1888, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1928, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var474)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var475)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 549, ": ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 547, ": ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var475 string - templ_7745c5c3_Var475, templ_7745c5c3_Err = templ.JoinStringErrs(item.TrackingCode) + var templ_7745c5c3_Var476 string + templ_7745c5c3_Var476, templ_7745c5c3_Err = templ.JoinStringErrs(item.TrackingCode) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1888, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1928, Col: 69} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var475)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var476)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 550, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 548, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 551, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 549, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var476 string - templ_7745c5c3_Var476, templ_7745c5c3_Err = templ.JoinStringErrs(item.Amount) + var templ_7745c5c3_Var477 string + templ_7745c5c3_Var477, templ_7745c5c3_Err = templ.JoinStringErrs(item.Amount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1893, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1933, Col: 47} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var476)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var477)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 552, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 550, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9629,7 +9654,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab return templ_7745c5c3_Err } if item.ReviewURL != "" { - templ_7745c5c3_Var477 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var478 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9641,44 +9666,44 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var478 string - templ_7745c5c3_Var478, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewAction) + var templ_7745c5c3_Var479 string + templ_7745c5c3_Var479, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1897, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1937, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var478)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var479)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: item.ReviewURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var477), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: item.ReviewURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var478), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 553, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 551, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var467), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var468), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var463), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var464), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 554, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 552, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var479 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var480 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9690,7 +9715,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var480 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var481 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9702,128 +9727,128 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 555, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var481 string - templ_7745c5c3_Var481, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSubtotal) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1910, Col: 64} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var481)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 556, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 553, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var482 string - templ_7745c5c3_Var482, templ_7745c5c3_Err = templ.JoinStringErrs(page.Subtotal) + templ_7745c5c3_Var482, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartSubtotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1911, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1950, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var482)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 557, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 554, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var483 string - templ_7745c5c3_Var483, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartShipping) + templ_7745c5c3_Var483, templ_7745c5c3_Err = templ.JoinStringErrs(page.Subtotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1914, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1951, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var483)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 558, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 555, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var484 string - templ_7745c5c3_Var484, templ_7745c5c3_Err = templ.JoinStringErrs(page.Shipping) + templ_7745c5c3_Var484, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartShipping) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1915, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1954, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var484)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 559, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 556, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var485 string - templ_7745c5c3_Var485, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTax) + templ_7745c5c3_Var485, templ_7745c5c3_Err = templ.JoinStringErrs(page.Shipping) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1918, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1955, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var485)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 560, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 557, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var486 string - templ_7745c5c3_Var486, templ_7745c5c3_Err = templ.JoinStringErrs(page.Tax) + templ_7745c5c3_Var486, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTax) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1919, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1958, Col: 59} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var486)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 561, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 558, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var487 string - templ_7745c5c3_Var487, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTotal) + templ_7745c5c3_Var487, templ_7745c5c3_Err = templ.JoinStringErrs(page.Tax) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1922, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1959, Col: 23} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var487)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 562, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 559, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var488 string - templ_7745c5c3_Var488, templ_7745c5c3_Err = templ.JoinStringErrs(page.Total) + templ_7745c5c3_Var488, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CartTotal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1923, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1962, Col: 31} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var488)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 563, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 560, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var489 string + templ_7745c5c3_Var489, templ_7745c5c3_Err = templ.JoinStringErrs(page.Total) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1963, Col: 25} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var489)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 561, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-3 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var480), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-3 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var481), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var479), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var480), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.TrackingCode != "" { - templ_7745c5c3_Var489 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var490 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9835,7 +9860,7 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var490 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var491 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9847,50 +9872,50 @@ func OrderDetailContent(page viewmodel.OrderDetailPage, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 564, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 562, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var491 string - templ_7745c5c3_Var491, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTracking) + var templ_7745c5c3_Var492 string + templ_7745c5c3_Var492, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTracking) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1930, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1970, Col: 77} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var491)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var492)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 565, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 563, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var492 string - templ_7745c5c3_Var492, templ_7745c5c3_Err = templ.JoinStringErrs(page.TrackingCode) + var templ_7745c5c3_Var493 string + templ_7745c5c3_Var493, templ_7745c5c3_Err = templ.JoinStringErrs(page.TrackingCode) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1931, Col: 49} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1971, Col: 49} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var492)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var493)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 566, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 564, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var490), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var491), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var489), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var490), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 567, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 565, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9917,12 +9942,12 @@ func OrderSuccessContent(page viewmodel.OrderSuccessPage, labels viewmodel.SiteL }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var493 := templ.GetChildren(ctx) - if templ_7745c5c3_Var493 == nil { - templ_7745c5c3_Var493 = templ.NopComponent + templ_7745c5c3_Var494 := templ.GetChildren(ctx) + if templ_7745c5c3_Var494 == nil { + templ_7745c5c3_Var494 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 568, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 566, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9930,33 +9955,33 @@ func OrderSuccessContent(page viewmodel.OrderSuccessPage, labels viewmodel.SiteL if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 569, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 567, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var494 string - templ_7745c5c3_Var494, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessHeading) + var templ_7745c5c3_Var495 string + templ_7745c5c3_Var495, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessHeading) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1950, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1990, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var494)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var495)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 570, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 568, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var495 string - templ_7745c5c3_Var495, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessNumber) + var templ_7745c5c3_Var496 string + templ_7745c5c3_Var496, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1951, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1991, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var495)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var496)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 571, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 569, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9972,11 +9997,11 @@ func OrderSuccessContent(page viewmodel.OrderSuccessPage, labels viewmodel.SiteL if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 572, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 570, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var496 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var497 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9988,23 +10013,23 @@ func OrderSuccessContent(page viewmodel.OrderSuccessPage, labels viewmodel.SiteL }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var497 string - templ_7745c5c3_Var497, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessCTAOrders) + var templ_7745c5c3_Var498 string + templ_7745c5c3_Var498, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessCTAOrders) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1959, Col: 105} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1999, Col: 105} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var497)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var498)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/account/orders", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var496), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/account/orders", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var497), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.AssistantURL != "" { - templ_7745c5c3_Var498 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var499 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10020,27 +10045,27 @@ func OrderSuccessContent(page viewmodel.OrderSuccessPage, labels viewmodel.SiteL if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 573, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 571, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var499 string - templ_7745c5c3_Var499, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessCTAAssistant) + var templ_7745c5c3_Var500 string + templ_7745c5c3_Var500, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessCTAAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1963, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2003, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var499)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var500)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var498), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var499), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Var500 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var501 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10056,26 +10081,26 @@ func OrderSuccessContent(page viewmodel.OrderSuccessPage, labels viewmodel.SiteL if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 574, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 572, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var501 string - templ_7745c5c3_Var501, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessCTAContinue) + var templ_7745c5c3_Var502 string + templ_7745c5c3_Var502, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SuccessCTAContinue) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1968, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2008, Col: 31} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var501)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var502)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var500), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var501), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 575, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 573, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10099,12 +10124,12 @@ func NextStepItem(title, desc, iconName string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var502 := templ.GetChildren(ctx) - if templ_7745c5c3_Var502 == nil { - templ_7745c5c3_Var502 = templ.NopComponent + templ_7745c5c3_Var503 := templ.GetChildren(ctx) + if templ_7745c5c3_Var503 == nil { + templ_7745c5c3_Var503 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 576, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 574, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10124,33 +10149,33 @@ func NextStepItem(title, desc, iconName string) templ.Component { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 577, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 575, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var503 string - templ_7745c5c3_Var503, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var504 string + templ_7745c5c3_Var504, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1986, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2026, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var503)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var504)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 578, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 576, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var504 string - templ_7745c5c3_Var504, templ_7745c5c3_Err = templ.JoinStringErrs(desc) + var templ_7745c5c3_Var505 string + templ_7745c5c3_Var505, templ_7745c5c3_Err = templ.JoinStringErrs(desc) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 1987, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2027, Col: 50} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var504)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var505)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 579, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 577, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10177,64 +10202,64 @@ func Footer(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var505 := templ.GetChildren(ctx) - if templ_7745c5c3_Var505 == nil { - templ_7745c5c3_Var505 = templ.NopComponent + templ_7745c5c3_Var506 := templ.GetChildren(ctx) + if templ_7745c5c3_Var506 == nil { + templ_7745c5c3_Var506 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 580, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10261,12 +10286,12 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var510 := templ.GetChildren(ctx) - if templ_7745c5c3_Var510 == nil { - templ_7745c5c3_Var510 = templ.NopComponent + templ_7745c5c3_Var511 := templ.GetChildren(ctx) + if templ_7745c5c3_Var511 == nil { + templ_7745c5c3_Var511 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 585, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 583, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10274,42 +10299,42 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var511 string - templ_7745c5c3_Var511, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoTitle) + var templ_7745c5c3_Var512 string + templ_7745c5c3_Var512, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2027, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2067, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var511)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var512)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 586, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 584, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var512 string - templ_7745c5c3_Var512, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoTitle) + var templ_7745c5c3_Var513 string + templ_7745c5c3_Var513, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2030, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2070, Col: 73} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var512)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var513)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 587, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 585, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var513 string - templ_7745c5c3_Var513, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoBody) + var templ_7745c5c3_Var514 string + templ_7745c5c3_Var514, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2031, Col: 98} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2071, Col: 98} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var513)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var514)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 588, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 586, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10317,20 +10342,20 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 589, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 588, "\" hx-encoding=\"multipart/form-data\" hx-target=\"#preview-panel\" hx-swap=\"innerHTML\" hx-indicator=\"#wear-tryon-loading\" class=\"grid gap-5\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10342,11 +10367,11 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 591, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 589, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var515 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var516 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10358,22 +10383,22 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var516 string - templ_7745c5c3_Var516, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewUpload) + var templ_7745c5c3_Var517 string + templ_7745c5c3_Var517, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewUpload) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2053, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2093, Col: 89} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var516)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var517)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "wear-person-image"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var515), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "wear-person-image"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var516), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 592, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 590, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10389,24 +10414,24 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 593, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 591, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var517 string - templ_7745c5c3_Var517, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewUploadHint) + var templ_7745c5c3_Var518 string + templ_7745c5c3_Var518, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewUploadHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2064, Col: 117} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2104, Col: 117} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var517)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var518)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 594, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 592, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var518 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var519 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10422,26 +10447,26 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 595, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 593, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var519 string - templ_7745c5c3_Var519, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewTryOnCTA) + var templ_7745c5c3_Var520 string + templ_7745c5c3_Var520, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewTryOnCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2069, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2109, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var519)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var520)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeLg, Class: "w-full rounded-2xl sm:w-fit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var518), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeLg, Class: "w-full rounded-2xl sm:w-fit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var519), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 596, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 594, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10449,33 +10474,33 @@ func WearTryOnStudio(product viewmodel.ProductCard, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 597, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 595, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var520 string - templ_7745c5c3_Var520, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewPreparing) + var templ_7745c5c3_Var521 string + templ_7745c5c3_Var521, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewPreparing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2082, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2122, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var520)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var521)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 598, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 596, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var521 string - templ_7745c5c3_Var521, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoBody) + var templ_7745c5c3_Var522 string + templ_7745c5c3_Var522, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2084, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2124, Col: 89} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var521)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var522)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 599, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 597, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10499,12 +10524,12 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var522 := templ.GetChildren(ctx) - if templ_7745c5c3_Var522 == nil { - templ_7745c5c3_Var522 = templ.NopComponent + templ_7745c5c3_Var523 := templ.GetChildren(ctx) + if templ_7745c5c3_Var523 == nil { + templ_7745c5c3_Var523 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 600, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 598, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10512,42 +10537,42 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var523 string - templ_7745c5c3_Var523, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomResult) + var templ_7745c5c3_Var524 string + templ_7745c5c3_Var524, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomResult) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2101, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2141, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var523)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var524)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 601, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 599, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var524 string - templ_7745c5c3_Var524, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomTitle) + var templ_7745c5c3_Var525 string + templ_7745c5c3_Var525, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2104, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2144, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var524)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var525)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 602, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 600, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var525 string - templ_7745c5c3_Var525, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomBody) + var templ_7745c5c3_Var526 string + templ_7745c5c3_Var526, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2105, Col: 91} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2145, Col: 91} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var525)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var526)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 603, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 601, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10555,7 +10580,7 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 604, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 602, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10571,20 +10596,20 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 605, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 604, "\" hx-encoding=\"multipart/form-data\" hx-target=\"#preview-panel\" hx-swap=\"innerHTML\" hx-indicator=\"#room-placement-submit-state\" class=\"grid gap-5\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10596,11 +10621,11 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 607, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 605, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var527 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var528 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10612,22 +10637,22 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var528 string - templ_7745c5c3_Var528, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUpload) + var templ_7745c5c3_Var529 string + templ_7745c5c3_Var529, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUpload) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2133, Col: 90} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2173, Col: 90} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var528)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var529)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "room-placement-asset"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var527), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "room-placement-asset"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var528), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var529 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var530 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10643,26 +10668,26 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 608, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 606, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var530 string - templ_7745c5c3_Var530, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomAcceptedTypes) + var templ_7745c5c3_Var531 string + templ_7745c5c3_Var531, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomAcceptedTypes) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2136, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2176, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var530)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var531)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "rounded-full border-primary/20 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var529), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "rounded-full border-primary/20 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var530), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 609, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 607, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10681,7 +10706,7 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 610, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 608, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10689,37 +10714,37 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 611, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 609, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var531 string - templ_7745c5c3_Var531, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadDropTitle) + var templ_7745c5c3_Var532 string + templ_7745c5c3_Var532, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadDropTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2163, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2203, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var531)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var532)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 612, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 610, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var532 string - templ_7745c5c3_Var532, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadDropBody) + var templ_7745c5c3_Var533 string + templ_7745c5c3_Var533, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadDropBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2164, Col: 124} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2204, Col: 124} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var532)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var533)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 613, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 611, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var533 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var534 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10735,16 +10760,16 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 614, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 612, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var534 string - templ_7745c5c3_Var534, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadBrowse) + var templ_7745c5c3_Var535 string + templ_7745c5c3_Var535, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadBrowse) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2177, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2217, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var534)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var535)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10758,28 +10783,28 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab Attributes: templ.Attributes{ "onclick": "document.getElementById('room-placement-asset')?.click();", }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var533), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var534), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 615, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 613, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var535 string - templ_7745c5c3_Var535, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadHint) + var templ_7745c5c3_Var536 string + templ_7745c5c3_Var536, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomUploadHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2181, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2221, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var535)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var536)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 616, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 614, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var536 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var537 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10791,22 +10816,22 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var537 string - templ_7745c5c3_Var537, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomPrompt) + var templ_7745c5c3_Var538 string + templ_7745c5c3_Var538, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomPrompt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2184, Col: 90} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2224, Col: 90} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var537)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var538)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "room-placement-prompt"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var536), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "room-placement-prompt"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var537), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 617, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 615, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10821,7 +10846,7 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 618, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 616, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10829,16 +10854,16 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var538 string - templ_7745c5c3_Var538, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomPromptHint) + var templ_7745c5c3_Var539 string + templ_7745c5c3_Var539, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomPromptHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2197, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2237, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var538)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var539)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 619, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 617, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10858,11 +10883,11 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 620, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 618, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var539 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var540 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10878,26 +10903,26 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 621, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 619, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var540 string - templ_7745c5c3_Var540, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomSubmit) + var templ_7745c5c3_Var541 string + templ_7745c5c3_Var541, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomSubmit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2212, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2252, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var540)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var541)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeLg, Class: "w-full rounded-2xl sm:w-fit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var539), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeLg, Class: "w-full rounded-2xl sm:w-fit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var540), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 622, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 620, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10905,16 +10930,16 @@ func RoomPlacementStudio(product viewmodel.ProductCard, labels viewmodel.SiteLab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var541 string - templ_7745c5c3_Var541, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomLoadingTitle) + var templ_7745c5c3_Var542 string + templ_7745c5c3_Var542, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomLoadingTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2216, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2256, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var541)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var542)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 623, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 621, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10938,12 +10963,12 @@ func RoomPlacementStep(iconComponent func(...icon.Props) templ.Component, title }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var542 := templ.GetChildren(ctx) - if templ_7745c5c3_Var542 == nil { - templ_7745c5c3_Var542 = templ.NopComponent + templ_7745c5c3_Var543 := templ.GetChildren(ctx) + if templ_7745c5c3_Var543 == nil { + templ_7745c5c3_Var543 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 624, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 622, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10951,33 +10976,33 @@ func RoomPlacementStep(iconComponent func(...icon.Props) templ.Component, title if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 625, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 623, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var543 string - templ_7745c5c3_Var543, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var544 string + templ_7745c5c3_Var544, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2232, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2272, Col: 59} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var543)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var544)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 626, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 624, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var544 string - templ_7745c5c3_Var544, templ_7745c5c3_Err = templ.JoinStringErrs(body) + var templ_7745c5c3_Var545 string + templ_7745c5c3_Var545, templ_7745c5c3_Err = templ.JoinStringErrs(body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2233, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2273, Col: 73} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var544)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var545)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 627, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 625, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11001,12 +11026,12 @@ func RoomPromptSuggestion(prompt string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var545 := templ.GetChildren(ctx) - if templ_7745c5c3_Var545 == nil { - templ_7745c5c3_Var545 = templ.NopComponent + templ_7745c5c3_Var546 := templ.GetChildren(ctx) + if templ_7745c5c3_Var546 == nil { + templ_7745c5c3_Var546 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var546 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var547 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11022,20 +11047,20 @@ func RoomPromptSuggestion(prompt string) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 628, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 626, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var547 string - templ_7745c5c3_Var547, templ_7745c5c3_Err = templ.JoinStringErrs(prompt) + var templ_7745c5c3_Var548 string + templ_7745c5c3_Var548, templ_7745c5c3_Err = templ.JoinStringErrs(prompt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2250, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2290, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var547)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var548)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 629, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 627, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11050,7 +11075,7 @@ func RoomPromptSuggestion(prompt string) templ.Component { "data-prompt": prompt, "onclick": "const t=document.getElementById('room-placement-prompt'); if(t){t.value=this.dataset.prompt; t.focus();}", }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var546), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var547), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11074,38 +11099,38 @@ func RoomPlacementPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) t }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var548 := templ.GetChildren(ctx) - if templ_7745c5c3_Var548 == nil { - templ_7745c5c3_Var548 = templ.NopComponent + templ_7745c5c3_Var549 := templ.GetChildren(ctx) + if templ_7745c5c3_Var549 == nil { + templ_7745c5c3_Var549 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 630, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 628, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var549 string - templ_7745c5c3_Var549, templ_7745c5c3_Err = templ.JoinStringErrs(job.Title) + var templ_7745c5c3_Var550 string + templ_7745c5c3_Var550, templ_7745c5c3_Err = templ.JoinStringErrs(job.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2259, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2299, Col: 50} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var549)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var550)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 631, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 629, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var550 string - templ_7745c5c3_Var550, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomResultHint) + var templ_7745c5c3_Var551 string + templ_7745c5c3_Var551, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomResultHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2260, Col: 86} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2300, Col: 86} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var550)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var551)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 632, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 630, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11113,25 +11138,25 @@ func RoomPlacementPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) t if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 633, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 631, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.PollURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 634, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 633, "\" hx-trigger=\"load delay:1200ms\" hx-target=\"closest [data-preview-card]\" hx-swap=\"outerHTML\" class=\"room-ai-loading rounded-2xl border border-primary/15 bg-primary/5 p-4\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11139,79 +11164,79 @@ func RoomPlacementPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) t if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 636, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 634, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var552 string - templ_7745c5c3_Var552, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomLoadingTitle) + var templ_7745c5c3_Var553 string + templ_7745c5c3_Var553, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomLoadingTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2279, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2319, Col: 73} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var552)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var553)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 637, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 635, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var553 string - templ_7745c5c3_Var553, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomLoadingBody) + var templ_7745c5c3_Var554 string + templ_7745c5c3_Var554, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewRoomLoadingBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2281, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2321, Col: 89} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var553)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var554)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 638, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 636, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 639, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 637, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.PollURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 640, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 638, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 641, "\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 641, "\" class=\"aspect-video w-full object-cover\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.Prompt != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 644, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 642, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11219,111 +11244,111 @@ func RoomPlacementPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) t if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 645, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 643, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var556 string - templ_7745c5c3_Var556, templ_7745c5c3_Err = templ.JoinStringErrs(job.Prompt) + var templ_7745c5c3_Var557 string + templ_7745c5c3_Var557, templ_7745c5c3_Err = templ.JoinStringErrs(job.Prompt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2296, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2336, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var556)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var557)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 646, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 644, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if job.Description != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 647, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 645, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var557 string - templ_7745c5c3_Var557, templ_7745c5c3_Err = templ.JoinStringErrs(job.Description) + var templ_7745c5c3_Var558 string + templ_7745c5c3_Var558, templ_7745c5c3_Err = templ.JoinStringErrs(job.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2300, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2340, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var557)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var558)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 648, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 646, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if job.RetryMessage != "" || job.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 649, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 647, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.RetryMessage != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 650, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 648, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var558 string - templ_7745c5c3_Var558, templ_7745c5c3_Err = templ.JoinStringErrs(job.RetryMessage) + var templ_7745c5c3_Var559 string + templ_7745c5c3_Var559, templ_7745c5c3_Err = templ.JoinStringErrs(job.RetryMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2305, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2345, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var558)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var559)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 651, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 649, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if job.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 652, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 650, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var559 string - templ_7745c5c3_Var559, templ_7745c5c3_Err = templ.JoinStringErrs(job.AttemptLabel) + var templ_7745c5c3_Var560 string + templ_7745c5c3_Var560, templ_7745c5c3_Err = templ.JoinStringErrs(job.AttemptLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2308, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2348, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var559)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var560)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 653, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 651, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 654, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 652, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if job.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 655, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 653, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var560 string - templ_7745c5c3_Var560, templ_7745c5c3_Err = templ.JoinStringErrs(job.Error) + var templ_7745c5c3_Var561 string + templ_7745c5c3_Var561, templ_7745c5c3_Err = templ.JoinStringErrs(job.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2314, Col: 16} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2354, Col: 16} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var560)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var561)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 656, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 654, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 657, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 655, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11347,16 +11372,16 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var561 := templ.GetChildren(ctx) - if templ_7745c5c3_Var561 == nil { - templ_7745c5c3_Var561 = templ.NopComponent + templ_7745c5c3_Var562 := templ.GetChildren(ctx) + if templ_7745c5c3_Var562 == nil { + templ_7745c5c3_Var562 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 658, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 656, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var562 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var563 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11368,7 +11393,7 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var563 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var564 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11380,26 +11405,26 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 659, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 657, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var564 string - templ_7745c5c3_Var564, templ_7745c5c3_Err = templ.JoinStringErrs(job.Title) + var templ_7745c5c3_Var565 string + templ_7745c5c3_Var565, templ_7745c5c3_Err = templ.JoinStringErrs(job.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2327, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2367, Col: 51} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var564)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var565)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 660, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 658, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.Badge != "" { if job.BadgeTone == "demo" { - templ_7745c5c3_Var565 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var566 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11415,27 +11440,27 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 661, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 659, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var566 string - templ_7745c5c3_Var566, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) + var templ_7745c5c3_Var567 string + templ_7745c5c3_Var567, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2332, Col: 20} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2372, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var566)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var567)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var565), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var566), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if job.BadgeTone == "validation" { - templ_7745c5c3_Var567 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var568 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11451,27 +11476,27 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 662, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 660, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var568 string - templ_7745c5c3_Var568, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) + var templ_7745c5c3_Var569 string + templ_7745c5c3_Var569, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2337, Col: 20} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2377, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var568)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var569)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var567), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var568), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var569 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var570 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11487,28 +11512,28 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 663, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 661, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var570 string - templ_7745c5c3_Var570, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) + var templ_7745c5c3_Var571 string + templ_7745c5c3_Var571, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2342, Col: 20} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2382, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var570)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var571)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var569), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var570), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 664, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 662, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11516,30 +11541,30 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 665, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 663, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.ImageURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 666, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 664, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.PollURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 667, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 666, "\" hx-trigger=\"load delay:1200ms\" hx-target=\"closest [data-preview-card]\" hx-swap=\"outerHTML\" class=\"absolute inset-0 z-10 flex items-center justify-center bg-background/75 px-6 py-16 backdrop-blur-sm\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11547,74 +11572,74 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 669, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 667, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var572 string - templ_7745c5c3_Var572, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewPreparing) + var templ_7745c5c3_Var573 string + templ_7745c5c3_Var573, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PreviewPreparing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2368, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2408, Col: 70} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var572)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var573)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 670, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 668, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var573 string - templ_7745c5c3_Var573, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoBody) + var templ_7745c5c3_Var574 string + templ_7745c5c3_Var574, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductPreviewInfoBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2369, Col: 98} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2409, Col: 98} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var573)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var574)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 671, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 669, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 672, "\"") ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 672, "\" class=\"max-h-[640px] w-full object-contain\"> ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.Badge != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 675, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 673, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.BadgeTone == "demo" { - templ_7745c5c3_Var576 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var577 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11626,23 +11651,23 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var577 string - templ_7745c5c3_Var577, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) + var templ_7745c5c3_Var578 string + templ_7745c5c3_Var578, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2382, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2422, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var577)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var578)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-xl bg-background/90 backdrop-blur"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var576), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "rounded-xl bg-background/90 backdrop-blur"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var577), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if job.BadgeTone == "validation" { - templ_7745c5c3_Var578 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var579 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11654,23 +11679,23 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var579 string - templ_7745c5c3_Var579, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) + var templ_7745c5c3_Var580 string + templ_7745c5c3_Var580, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2386, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2426, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var579)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var580)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive, Class: "rounded-xl bg-background/90 backdrop-blur"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var578), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive, Class: "rounded-xl bg-background/90 backdrop-blur"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var579), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var580 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var581 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11682,133 +11707,133 @@ func PreviewPanel(job viewmodel.PreviewJob, labels viewmodel.SiteLabels) templ.C }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var581 string - templ_7745c5c3_Var581, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) + var templ_7745c5c3_Var582 string + templ_7745c5c3_Var582, templ_7745c5c3_Err = templ.JoinStringErrs(job.Badge) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2390, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2430, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var581)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var582)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "rounded-xl bg-primary/90 backdrop-blur"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var580), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "rounded-xl bg-primary/90 backdrop-blur"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var581), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 676, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 674, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 677, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 675, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 678, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 676, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var582 string - templ_7745c5c3_Var582, templ_7745c5c3_Err = templ.JoinStringErrs(job.Description) + var templ_7745c5c3_Var583 string + templ_7745c5c3_Var583, templ_7745c5c3_Err = templ.JoinStringErrs(job.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2397, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2437, Col: 54} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var582)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var583)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 679, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 677, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.RetryMessage != "" || job.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 680, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 678, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.RetryMessage != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 681, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 679, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var583 string - templ_7745c5c3_Var583, templ_7745c5c3_Err = templ.JoinStringErrs(job.RetryMessage) + var templ_7745c5c3_Var584 string + templ_7745c5c3_Var584, templ_7745c5c3_Err = templ.JoinStringErrs(job.RetryMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2401, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2441, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var583)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var584)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 682, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 680, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if job.AttemptLabel != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 683, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 681, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var584 string - templ_7745c5c3_Var584, templ_7745c5c3_Err = templ.JoinStringErrs(job.AttemptLabel) + var templ_7745c5c3_Var585 string + templ_7745c5c3_Var585, templ_7745c5c3_Err = templ.JoinStringErrs(job.AttemptLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2404, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2444, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var584)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var585)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 684, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 682, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 685, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 683, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 686, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 684, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if job.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 687, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 685, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var585 string - templ_7745c5c3_Var585, templ_7745c5c3_Err = templ.JoinStringErrs(job.Error) + var templ_7745c5c3_Var586 string + templ_7745c5c3_Var586, templ_7745c5c3_Err = templ.JoinStringErrs(job.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2409, Col: 132} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2449, Col: 132} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var585)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var586)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 688, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 686, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var563), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var564), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var562), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var563), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 689, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 687, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11835,25 +11860,25 @@ func StatusLine(text string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var586 := templ.GetChildren(ctx) - if templ_7745c5c3_Var586 == nil { - templ_7745c5c3_Var586 = templ.NopComponent + templ_7745c5c3_Var587 := templ.GetChildren(ctx) + if templ_7745c5c3_Var587 == nil { + templ_7745c5c3_Var587 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 690, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 688, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var587 string - templ_7745c5c3_Var587, templ_7745c5c3_Err = templ.JoinStringErrs(text) + var templ_7745c5c3_Var588 string + templ_7745c5c3_Var588, templ_7745c5c3_Err = templ.JoinStringErrs(text) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2423, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/storefront.templ`, Line: 2463, Col: 14} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var587)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var588)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 691, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 689, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/ui/compositions/workspace.templ b/internal/ui/compositions/workspace.templ index e2a5320..f395a7d 100644 --- a/internal/ui/compositions/workspace.templ +++ b/internal/ui/compositions/workspace.templ @@ -2,6 +2,8 @@ package compositions import ( "fmt" + "net/url" + "strconv" "strings" "github.com/vestavision/btkcommerce/components/aspectratio" @@ -840,6 +842,442 @@ templ AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels } } +templ AdminProductsFilterBar(page viewmodel.AdminProductListPage, labels viewmodel.SiteLabels) { + @card.Card(card.Props{Class: "rounded-3xl border-border/70"}) { + @card.Content(card.ContentProps{Class: "space-y-4 p-5"}) { +
+
+ @label.Label(label.Props{For: "admin-products-query"}) { + { labels.WorkspaceJobsQuery } + } + @input.Input(input.Props{ID: "admin-products-query", Name: "q", Value: page.Query, Placeholder: labels.WorkspaceAdminProductsBody, Class: "rounded-xl"}) +
+
+ @label.Label(label.Props{For: "admin-products-status"}) { + { labels.WorkspaceTableStatus } + } + @selectbox.SelectBox(selectbox.Props{ID: "admin-products-status"}) { + @selectbox.Trigger(selectbox.TriggerProps{Name: "status", Class: "rounded-xl"}) { + @selectbox.Value(selectbox.ValueProps{Placeholder: labels.WorkspaceTableStatus}) { + if page.Status != "" { + { page.Status } + } + } + } + @selectbox.Content() { + @selectbox.Item(selectbox.ItemProps{Value: "", Selected: strings.TrimSpace(page.Status) == ""}) { + { labels.WorkspaceJobsFilterAll } + } + @selectbox.Item(selectbox.ItemProps{Value: "approved", Selected: page.Status == "approved"}) { + { labels.StatusReady } + } + @selectbox.Item(selectbox.ItemProps{Value: "pending", Selected: page.Status == "pending"}) { + { labels.StatusPending } + } + @selectbox.Item(selectbox.ItemProps{Value: "rejected", Selected: page.Status == "rejected"}) { + { labels.StatusRejected } + } + @selectbox.Item(selectbox.ItemProps{Value: "draft", Selected: page.Status == "draft"}) { + { labels.StatusPreparing } + } + } + } +
+
+ @button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}) { + { labels.SearchApplyFilters } + } + @button.Button(button.Props{Href: page.ClearURL, Variant: button.VariantOutline, Class: "rounded-xl"}) { + { labels.SearchClearFilters } + } +
+
+
+ for _, item := range page.StatusFilters { + @button.Button(button.Props{Href: item.Href, Variant: linkVariant(item.IsActive), Size: button.SizeSm, Class: "rounded-xl"}) { + { item.Label } + } + } +
+ } + } +} + +templ AdminProductsTable(rows []viewmodel.AdminProductListRow, labels viewmodel.SiteLabels) { + if len(rows) == 0 { + @WorkspaceEmptyState(labels.WorkspaceAdminProductsEmptyTitle, labels.WorkspaceAdminProductsEmptyBody) + } else { + @ResponsiveTableCard("admin-products-table", nil) { + @table.Table(table.Props{Class: "min-w-[1040px]"}) { + @table.Header() { + @table.Row() { + @table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-[320px]"}) { + { labels.WorkspaceTableProduct } + } + @table.Head() { + { labels.ProductFormCategory } + } + @table.Head() { + { labels.WorkspaceTableAmount } + } + @table.Head() { + { labels.WorkspaceTableStatus } + } + @table.Head() { + { labels.AdminProducts3DStatus } + } + @table.Head() { + { labels.WorkspaceTableDate } + } + @table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card"}) { + { labels.CommonDetails } + } + } + } + @table.Body() { + for _, row := range rows { + @table.Row() { + @table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card min-w-[320px]"}) { +
+ @aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioSquare, Class: "size-14 shrink-0 overflow-hidden rounded-xl border border-border/70 bg-muted"}) { + { + } +
+

{ row.Title }

+

{ row.Vendor }

+ if row.SellerEmail != "" { +

{ labels.ModerationSellerLabel }: { row.SellerEmail }

+ } +
+
+ } + @table.Cell() { { row.Category } } + @table.Cell() { { row.Price } } + @table.Cell() { @StatusText(row.Status, labels) } + @table.Cell() { @adminProduct3DStatusBadge(row.Model3DStatus, row.Model3DStatusTone) } + @table.Cell() { { row.UpdatedAt } } + @table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}) { + @button.Button(button.Props{Href: row.DetailURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}) { + { labels.CommonDetails } + } + } + } + } + } + } + } + } +} + +templ adminProduct3DStatusBadge(labelText, tone string) { + @badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: adminProduct3DStatusClass(tone)}) { + { labelText } + } +} + +func adminProduct3DStatusClass(tone string) string { + switch strings.TrimSpace(tone) { + case "success": + return "bg-emerald-500/10 text-emerald-700" + case "warning": + return "bg-amber-500/10 text-amber-700" + case "error": + return "bg-destructive/10 text-destructive" + default: + return "bg-muted text-muted-foreground" + } +} + +func firstNonEmpty(values ...string) string { + for _, value := range values { + if strings.TrimSpace(value) != "" { + return value + } + } + return "" +} + +templ AdminProductModel3DPanel(page viewmodel.AdminProductDetailPage, labels viewmodel.SiteLabels) { + @card.Card(card.Props{Class: "rounded-3xl border-border/70 overflow-hidden"}) { + @card.Header(card.HeaderProps{Class: "space-y-2"}) { +
+
+ @card.Title(card.TitleProps{Class: "text-lg"}) { { labels.Product3DTitle } } + @card.Description() { { labels.AdminProductsDetailSubtitle } } +
+ @adminProduct3DStatusBadge(page.Model3D.Status, adminProductDetailTone(page)) +
+ } + @card.Content(card.ContentProps{Class: "space-y-4"}) { +
+ if page.Model3D.ModelURL != "" { + + } else { + { + } +
+
+ if page.Model3D.Body != "" { +

{ page.Model3D.Body }

+ } + if page.Model3D.Error != "" { +

{ page.Model3D.Error }

+ } + if page.Model3D.RetryMessage != "" || page.Model3D.AttemptLabel != "" { +
+ if page.Model3D.RetryMessage != "" { +

{ page.Model3D.RetryMessage }

+ } + if page.Model3D.AttemptLabel != "" { +

{ page.Model3D.AttemptLabel }

+ } +
+ } +
+
+ if page.CanStartModel3D { +
+ @button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}) { + @icon.Box(icon.Props{Class: "size-4"}) + { labels.Product3DGenerate } + } +
+ } + if page.CanForceModel3D { +
+ @hiddenfield.HiddenField(hiddenfield.Props{Name: "force", Value: "true"}) + @button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Class: "w-full rounded-xl"}) { + @icon.RefreshCw(icon.Props{Class: "size-4"}) + { labels.AdminProducts3DForceRegenerate } + } +
+ } + if page.Model3DDisabledReason != "" { +
+ { page.Model3DDisabledReason } +
+ } +
+
+ @button.Button(button.Props{Href: page.Model3DJobsURL, Variant: button.VariantOutline, Class: "rounded-xl"}) { + @icon.ListChecks(icon.Props{Class: "size-4"}) + { labels.AdminProductsViewJobs } + } + @button.Button(button.Props{Href: page.Model3DLogsURL, Variant: button.VariantOutline, Class: "rounded-xl"}) { + @icon.DatabaseSearch(icon.Props{Class: "size-4"}) + { labels.AdminProductsViewAILogs } + } +
+ if page.Model3D.PollURL != "" { +
+ } + } + } +} + +func adminProductDetailTone(page viewmodel.AdminProductDetailPage) string { + if page.Model3D.ModelURL != "" { + return "success" + } + if strings.TrimSpace(page.Model3D.PollURL) != "" { + return "warning" + } + if strings.TrimSpace(page.Model3D.Error) != "" { + return "error" + } + switch strings.TrimSpace(page.Model3D.Status) { + case "Blocked", "Bloklu": + return "warning" + case "Unavailable", "Kullanılamıyor": + return "neutral" + default: + return "neutral" + } +} + +templ AdminProductDetail(page viewmodel.AdminProductDetailPage, labels viewmodel.SiteLabels) { +
+
+ @card.Card(card.Props{Class: "overflow-hidden rounded-3xl border-border/70"}) { + @card.Content(card.ContentProps{Class: "p-3"}) { + if len(page.Gallery) > 0 { +
+ @aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioVideo, Class: "overflow-hidden rounded-2xl border border-border/70 bg-muted"}) { + { + } + if len(page.Gallery) > 1 { +
+ for _, asset := range page.Gallery[1:] { + @aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioSquare, Class: "overflow-hidden rounded-xl border border-border/70 bg-muted"}) { + { + } + } +
+ } +
+ } else { +
+
+
+ @icon.Image(icon.Props{Class: "size-5"}) +
+

{ labels.ProductFormImage }

+
+
+ } + } + } + @card.Card(card.Props{Class: "rounded-3xl border-border/70"}) { + @card.Content(card.ContentProps{Class: "space-y-5 p-5"}) { +
+

{ labels.WorkspaceTableProduct }

+

{ page.Title }

+
+
+ @moderationMetaCard(labels.ProductFormCategory, page.Category) + @moderationMetaCard(labels.WorkspaceTableAmount, page.Price) + if page.CompareAt != "" && page.CompareAt != "₺0.00" { + @moderationMetaCard(labels.ProductFormCompareAt, page.CompareAt) + } + @moderationMetaCard(labels.ModerationSubmittedAt, page.CreatedAt) + @moderationMetaCard(labels.WorkspaceTableDate, page.UpdatedAt) +
+ @ifSection(page.Description, labels.ProductFormDescription) + if len(page.Highlights) > 0 { + @moderationListSection(labels.ProductFormHighlights, page.Highlights) + } + if len(page.Tags) > 0 || len(page.Colors) > 0 || page.Size != "" || page.Material != "" || page.Style != "" { +
+ if len(page.Tags) > 0 { + @moderationPillSection(labels.ProductFormTags, page.Tags) + } + if len(page.Colors) > 0 { + @moderationPillSection(labels.ProductFormColors, page.Colors) + } + if page.Size != "" { + @moderationMetaCard(labels.ProductFormSize, page.Size) + } + if page.Material != "" { + @moderationMetaCard(labels.ProductFormMaterial, page.Material) + } + if page.Style != "" { + @moderationMetaCard(labels.ProductFormStyle, page.Style) + } +
+ } + } + } +
+
+ @card.Card(card.Props{Class: "rounded-3xl border-border/70"}) { + @card.Content(card.ContentProps{Class: "space-y-5 p-5"}) { +
+

{ labels.WorkspaceAdminProducts }

+ @StatusText(page.Status, labels) +
+ @moderationMetaCard(labels.ProductFormCategory, page.Category) + @moderationMetaCard(labels.WorkspaceTableAmount, page.Price) +
+
+
+
+

{ labels.ModerationSellerLabel }

+ if page.Vendor != "" && page.Vendor != page.SellerEmail { +

{ page.Vendor }

+ } + if page.SellerEmail != "" { +

{ page.SellerEmail }

+ } +
+
+

{ labels.ModerationDecisionReason }

+ if page.ModerationReason != "" { +

{ page.ModerationReason }

+ } else { +

{ labels.ModerationNoReason }

+ } +
+
+ if page.ProductURL != "" { + @button.Button(button.Props{Href: page.ProductURL, Variant: button.VariantOutline, Class: "w-full rounded-xl"}) { + @icon.Store(icon.Props{Class: "size-4"}) + { labels.AdminProductsOpenStorefront } + } + } + if page.SearchSyncStatus != "" { +
+
+

{ labels.ModerationSearchSyncTitle }

+ @StatusText(page.SearchSyncStatus, labels) +
+ if page.SearchSyncUpdated != "" { +
+

{ labels.ModerationSearchSyncUpdated }

+

{ page.SearchSyncUpdated }

+
+ } + if page.SearchSyncError != "" { +
+

{ labels.ModerationSearchSyncLastError }

+

{ page.SearchSyncError }

+
+ } + if page.SearchSyncURL != "" { + @button.Button(button.Props{Variant: button.VariantOutline, Href: page.SearchSyncURL, Class: "w-full rounded-xl"}) { + @icon.ListTree(icon.Props{Class: "size-4"}) + { labels.ModerationViewSearchSync } + } + } +
+ } + if page.MetaTitle != "" || page.MetaDescription != "" || len(page.Keywords) > 0 { +
+

{ labels.ProductFormSEOTitle }

+ if page.MetaTitle != "" { + @moderationMetaCard(labels.ProductFormMetaTitle, page.MetaTitle) + } + if page.MetaDescription != "" { + @moderationMetaCard(labels.ProductFormMetaDescription, page.MetaDescription) + } + if len(page.Keywords) > 0 { + @moderationPillSection(labels.ProductFormKeywords, page.Keywords) + } +
+ } + } + } +
+ @AdminProductModel3DPanel(page, labels) +
+
+
+} + // adapts order_002 + product_003 templ AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels viewmodel.SiteLabels) {
@@ -1323,7 +1761,18 @@ templ SearchSyncStorageWarning(labels viewmodel.SiteLabels) { templ SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.SiteLabels) { @card.Card(card.Props{Class: "rounded-2xl border-border/70"}) { - @card.Content(card.ContentProps{Class: "p-4"}) { + @card.Content(card.ContentProps{Class: "space-y-4 p-4"}) { +
+
+

{ labels.WorkspaceSearchSyncSlugFilter }

+

{ labels.WorkspaceTableProduct }

+
+ if strings.TrimSpace(slug) != "" { +
+ @ActiveFilterChip(slug, searchSyncFilterURL(actionURL, "", 1)) +
+ } +
@label.Label(label.Props{For: "search-sync-slug"}) { @@ -1589,6 +2038,110 @@ func moderationValueOrDash(value string) string { return value } +func aiLogStatusFilterLabel(status string, labels viewmodel.SiteLabels) string { + switch strings.ToLower(strings.TrimSpace(status)) { + case "success": + return labels.WorkspaceAILogsFilterSuccess + case "error": + return labels.StatusError + default: + return labels.WorkspaceAILogsFilterAll + } +} + +func jobsStatusFilterLabel(status string, labels viewmodel.SiteLabels) string { + switch strings.TrimSpace(status) { + case "queued": + return labels.StatusReady + case "processing": + return labels.StatusProcessing + case "completed": + return labels.StatusReady + case "failed": + return labels.StatusError + case "cancelled": + return labels.StatusCancelled + default: + return labels.WorkspaceJobsFilterAll + } +} + +func aiLogFilterURL(provider, status, jobID, slug, query string) string { + values := url.Values{} + if provider = strings.TrimSpace(provider); provider != "" { + values.Set("provider", provider) + } + if status = strings.TrimSpace(status); status != "" { + values.Set("status", status) + } + if jobID = strings.TrimSpace(jobID); jobID != "" { + values.Set("job_id", jobID) + } + if slug = strings.TrimSpace(slug); slug != "" { + values.Set("slug", slug) + } + if query = strings.TrimSpace(query); query != "" { + values.Set("q", query) + } + if encoded := values.Encode(); encoded != "" { + return "/admin/ai-logs?" + encoded + } + return "/admin/ai-logs" +} + +func adminJobsFilterURL(slug, query, kind, status string, page int) string { + values := url.Values{} + if slug = strings.TrimSpace(slug); slug != "" { + values.Set("slug", slug) + } + if query = strings.TrimSpace(query); query != "" { + values.Set("q", query) + } + if kind = strings.TrimSpace(kind); kind != "" { + values.Set("kind", kind) + } + if status = strings.TrimSpace(status); status != "" { + values.Set("status", status) + } + if page > 1 { + values.Set("page", strconv.Itoa(page)) + } + if encoded := values.Encode(); encoded != "" { + return "/admin/jobs/list?" + encoded + } + return "/admin/jobs/list" +} + +func searchSyncFilterURL(path, slug string, page int) string { + values := url.Values{} + if slug = strings.TrimSpace(slug); slug != "" { + values.Set("slug", slug) + } + if page > 1 { + values.Set("page", strconv.Itoa(page)) + } + if encoded := values.Encode(); encoded != "" { + return path + "?" + encoded + } + return path +} + +func activeNavLabel(items []viewmodel.NavItem, fallback string) string { + for _, item := range items { + if item.IsActive { + return item.Label + } + } + return fallback +} + +templ ActiveFilterChip(label, href string) { + @button.Button(button.Props{Href: href, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-full px-3"}) { + { label } + @icon.X(icon.Props{Class: "ml-1 size-3.5"}) + } +} + // --- AI Interaction Logs Table --- templ AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmodel.SiteLabels) { {{ tableID := "admin-ai-logs-table" }} @@ -1713,40 +2266,89 @@ templ AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmo templ AILogFilterBar(actionURL, clearURL, provider, status, query, jobID, slug string, labels viewmodel.SiteLabels) { @card.Card(card.Props{Class: "rounded-2xl border-border/70"}) { - @card.Content(card.ContentProps{Class: "p-4"}) { - - if provider != "" { - @hiddenfield.HiddenField(hiddenfield.Props{Name: "provider", Value: provider}) - } - if status != "" { - @hiddenfield.HiddenField(hiddenfield.Props{Name: "status", Value: status}) - } -
- @label.Label(label.Props{For: "ai-log-query"}) { - { labels.WorkspaceAILogsQuery } - } - @input.Input(input.Props{ID: "ai-log-query", Name: "q", Value: query, Placeholder: labels.WorkspaceAILogsOperation, Class: "rounded-xl"}) + @card.Content(card.ContentProps{Class: "space-y-4 p-4"}) { +
+
+

{ labels.WorkspaceAILogsQuery }

+

{ labels.WorkspaceAILogsQueryPlaceholder }

-
- @label.Label(label.Props{For: "ai-log-job-id"}) { - { labels.WorkspaceAILogsJob } +
+ if provider != "" { + @ActiveFilterChip(provider, aiLogFilterURL("", status, jobID, slug, query)) } - @input.Input(input.Props{ID: "ai-log-job-id", Name: "job_id", Value: jobID, Placeholder: "job id", Class: "rounded-xl"}) -
-
- @label.Label(label.Props{For: "ai-log-slug"}) { - { labels.WorkspaceTableProduct } + if status != "" { + @ActiveFilterChip(aiLogStatusFilterLabel(status, labels), aiLogFilterURL(provider, "", jobID, slug, query)) } - @input.Input(input.Props{ID: "ai-log-slug", Name: "slug", Value: slug, Placeholder: labels.WorkspaceTableProduct, Class: "rounded-xl"}) -
-
- @button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}) { - { labels.SearchApplyFilters } + if query != "" { + @ActiveFilterChip(query, aiLogFilterURL(provider, status, jobID, slug, "")) } - @button.Button(button.Props{Href: clearURL, Variant: button.VariantOutline, Class: "rounded-xl"}) { - { labels.SearchClearFilters } + if jobID != "" { + @ActiveFilterChip(jobID, aiLogFilterURL(provider, status, "", slug, query)) + } + if slug != "" { + @ActiveFilterChip(slug, aiLogFilterURL(provider, status, jobID, "", query)) }
+
+ + if provider != "" { + @hiddenfield.HiddenField(hiddenfield.Props{Name: "provider", Value: provider}) + } +
+
+ @label.Label(label.Props{For: "ai-log-query"}) { + { labels.WorkspaceAILogsQuery } + } + @input.Input(input.Props{ID: "ai-log-query", Name: "q", Value: query, Placeholder: labels.WorkspaceAILogsQueryPlaceholder, Class: "rounded-xl"}) +
+
+ @label.Label(label.Props{For: "ai-log-status"}) { + { labels.WorkspaceAILogsStatus } + } + @selectbox.SelectBox(selectbox.Props{ID: "ai-log-status"}) { + @selectbox.Trigger(selectbox.TriggerProps{Name: "status", Class: "rounded-xl"}) { + @selectbox.Value(selectbox.ValueProps{Placeholder: labels.WorkspaceAILogsStatus}) { + if status != "" { + { aiLogStatusFilterLabel(status, labels) } + } + } + } + @selectbox.Content() { + @selectbox.Item(selectbox.ItemProps{Value: "", Selected: strings.TrimSpace(status) == ""}) { + { labels.WorkspaceAILogsFilterAll } + } + @selectbox.Item(selectbox.ItemProps{Value: "success", Selected: strings.EqualFold(status, "success")}) { + { labels.WorkspaceAILogsFilterSuccess } + } + @selectbox.Item(selectbox.ItemProps{Value: "error", Selected: strings.EqualFold(status, "error")}) { + { labels.StatusError } + } + } + } +
+
+ @button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}) { + { labels.SearchApplyFilters } + } + @button.Button(button.Props{Href: clearURL, Variant: button.VariantOutline, Class: "rounded-xl"}) { + { labels.SearchClearFilters } + } +
+
+
+
+ @label.Label(label.Props{For: "ai-log-job-id"}) { + { labels.WorkspaceAILogsJob } + } + @input.Input(input.Props{ID: "ai-log-job-id", Name: "job_id", Value: jobID, Placeholder: labels.WorkspaceAILogsJob, Class: "rounded-xl"}) +
+
+ @label.Label(label.Props{For: "ai-log-slug"}) { + { labels.WorkspaceTableProduct } + } + @input.Input(input.Props{ID: "ai-log-slug", Name: "slug", Value: slug, Placeholder: labels.WorkspaceTableProduct, Class: "rounded-xl"}) +
+
} } @@ -1789,19 +2391,70 @@ templ AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmode templ JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) { @card.Card(card.Props{Class: "rounded-2xl border-border/70"}) { @card.Content(card.ContentProps{Class: "space-y-4 p-4"}) { -
+
+
+

{ labels.WorkspaceJobsQuery }

+

{ labels.WorkspaceJobsDetail }

+
+
+ if page.Kind != "" { + @ActiveFilterChip(activeNavLabel(page.KindFilters, page.Kind), adminJobsFilterURL(page.ProductSlug, page.Query, "", page.Status, 1)) + } + if page.Status != "" { + @ActiveFilterChip(jobsStatusFilterLabel(page.Status, labels), adminJobsFilterURL(page.ProductSlug, page.Query, page.Kind, "", 1)) + } + if page.Query != "" { + @ActiveFilterChip(page.Query, adminJobsFilterURL(page.ProductSlug, "", page.Kind, page.Status, 1)) + } + if page.ProductSlug != "" { + @ActiveFilterChip(page.ProductSlug, adminJobsFilterURL("", page.Query, page.Kind, page.Status, 1)) + } +
+
+ if page.Kind != "" { @hiddenfield.HiddenField(hiddenfield.Props{Name: "kind", Value: page.Kind}) } - if page.Status != "" { - @hiddenfield.HiddenField(hiddenfield.Props{Name: "status", Value: page.Status}) - }
@label.Label(label.Props{For: "jobs-query"}) { { labels.WorkspaceJobsQuery } } @input.Input(input.Props{ID: "jobs-query", Name: "q", Value: page.Query, Placeholder: labels.WorkspaceJobsDetail, Class: "rounded-xl"})
+
+ @label.Label(label.Props{For: "jobs-status"}) { + { labels.WorkspaceTableStatus } + } + @selectbox.SelectBox(selectbox.Props{ID: "jobs-status"}) { + @selectbox.Trigger(selectbox.TriggerProps{Name: "status", Class: "rounded-xl"}) { + @selectbox.Value(selectbox.ValueProps{Placeholder: labels.WorkspaceTableStatus}) { + if page.Status != "" { + { jobsStatusFilterLabel(page.Status, labels) } + } + } + } + @selectbox.Content() { + @selectbox.Item(selectbox.ItemProps{Value: "", Selected: strings.TrimSpace(page.Status) == ""}) { + { labels.WorkspaceJobsFilterAll } + } + @selectbox.Item(selectbox.ItemProps{Value: "queued", Selected: page.Status == "queued"}) { + { jobsStatusFilterLabel("queued", labels) } + } + @selectbox.Item(selectbox.ItemProps{Value: "processing", Selected: page.Status == "processing"}) { + { jobsStatusFilterLabel("processing", labels) } + } + @selectbox.Item(selectbox.ItemProps{Value: "completed", Selected: page.Status == "completed"}) { + { jobsStatusFilterLabel("completed", labels) } + } + @selectbox.Item(selectbox.ItemProps{Value: "failed", Selected: page.Status == "failed"}) { + { jobsStatusFilterLabel("failed", labels) } + } + @selectbox.Item(selectbox.ItemProps{Value: "cancelled", Selected: page.Status == "cancelled"}) { + { jobsStatusFilterLabel("cancelled", labels) } + } + } + } +
@label.Label(label.Props{For: "jobs-slug"}) { { labels.WorkspaceTableProduct } @@ -1824,13 +2477,6 @@ templ JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabel } }
-
- for _, item := range page.StatusFilters { - @button.Button(button.Props{Href: item.Href, Variant: linkVariant(item.IsActive), Size: button.SizeSm, Class: "rounded-xl"}) { - { item.Label } - } - } -
} } } @@ -1851,7 +2497,7 @@ templ JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) {
@ResponsiveTableControls(tableID, columns, labels) - @hiddenfield.HiddenField(hiddenfield.Props{Name: "return_to", Value: page.ClearURL}) + @hiddenfield.HiddenField(hiddenfield.Props{Name: "return_to", Value: adminJobsFilterURL(page.ProductSlug, page.Query, page.Kind, page.Status, page.Pagination.CurrentPage)}) @button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}) { { labels.WorkspaceJobsBulkRetry } } diff --git a/internal/ui/compositions/workspace_status.go b/internal/ui/compositions/workspace_status.go index 491bb04..60bb0fa 100644 --- a/internal/ui/compositions/workspace_status.go +++ b/internal/ui/compositions/workspace_status.go @@ -21,10 +21,18 @@ func localizedStatusLabel(status string, labels viewmodel.SiteLabels) string { return labels.StatusReady case "active": return labels.StatusActive + case "disabled": + return labels.StatusDisabled case "pending": return labels.StatusPending case "preparing": return labels.StatusPreparing + case "cooldown": + return labels.StatusCooldown + case "auth_failed": + return labels.StatusAuthFailed + case "manually_disabled": + return labels.StatusManuallyDisabled case "error", "failed": return labels.StatusError case "rejected": diff --git a/internal/ui/compositions/workspace_templ.go b/internal/ui/compositions/workspace_templ.go index 6da771c..c848cc8 100644 --- a/internal/ui/compositions/workspace_templ.go +++ b/internal/ui/compositions/workspace_templ.go @@ -10,6 +10,8 @@ import templruntime "github.com/a-h/templ/runtime" import ( "fmt" + "net/url" + "strconv" "strings" "github.com/vestavision/btkcommerce/components/aspectratio" @@ -65,7 +67,7 @@ func WorkspaceHeader(title, subtitle string) templ.Component { var templ_7745c5c3_Var2 string templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 35, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 37, Col: 56} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) if templ_7745c5c3_Err != nil { @@ -78,7 +80,7 @@ func WorkspaceHeader(title, subtitle string) templ.Component { var templ_7745c5c3_Var3 string templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(subtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 36, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 38, Col: 51} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) if templ_7745c5c3_Err != nil { @@ -150,7 +152,7 @@ func MetricGrid(metrics []viewmodel.MetricCard) templ.Component { var templ_7745c5c3_Var7 string templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 48, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 50, Col: 73} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) if templ_7745c5c3_Err != nil { @@ -171,7 +173,7 @@ func MetricGrid(metrics []viewmodel.MetricCard) templ.Component { var templ_7745c5c3_Var8 string templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 53, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 55, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) if templ_7745c5c3_Err != nil { @@ -184,7 +186,7 @@ func MetricGrid(metrics []viewmodel.MetricCard) templ.Component { var templ_7745c5c3_Var9 string templ_7745c5c3_Var9, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Delta) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 54, Col: 63} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 56, Col: 63} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var9)) if templ_7745c5c3_Err != nil { @@ -279,7 +281,7 @@ func WorkspaceKPIGrid(metrics []viewmodel.MetricCard) templ.Component { var templ_7745c5c3_Var13 string templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 75, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 77, Col: 83} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13)) if templ_7745c5c3_Err != nil { @@ -292,7 +294,7 @@ func WorkspaceKPIGrid(metrics []viewmodel.MetricCard) templ.Component { var templ_7745c5c3_Var14 string templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 76, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 78, Col: 71} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) if templ_7745c5c3_Err != nil { @@ -305,7 +307,7 @@ func WorkspaceKPIGrid(metrics []viewmodel.MetricCard) templ.Component { var templ_7745c5c3_Var15 string templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(metric.Delta) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 77, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 79, Col: 70} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) if templ_7745c5c3_Err != nil { @@ -421,7 +423,7 @@ func WorkspaceOverviewChart(data viewmodel.DashboardOverviewChart, labels viewmo var templ_7745c5c3_Var20 string templ_7745c5c3_Var20, templ_7745c5c3_Err = templ.JoinStringErrs(data.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 101, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 103, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var20)) if templ_7745c5c3_Err != nil { @@ -448,7 +450,7 @@ func WorkspaceOverviewChart(data viewmodel.DashboardOverviewChart, labels viewmo var templ_7745c5c3_Var22 string templ_7745c5c3_Var22, templ_7745c5c3_Err = templ.JoinStringErrs(data.Subtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 102, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 104, Col: 42} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var22)) if templ_7745c5c3_Err != nil { @@ -479,7 +481,7 @@ func WorkspaceOverviewChart(data viewmodel.DashboardOverviewChart, labels viewmo var templ_7745c5c3_Var24 string templ_7745c5c3_Var24, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceOverviewLive) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 105, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 107, Col: 35} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var24)) if templ_7745c5c3_Err != nil { @@ -634,7 +636,7 @@ func workspaceChartStat(value, label string) templ.Component { var templ_7745c5c3_Var27 string templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 155, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 157, Col: 54} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27)) if templ_7745c5c3_Err != nil { @@ -647,7 +649,7 @@ func workspaceChartStat(value, label string) templ.Component { var templ_7745c5c3_Var28 string templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 156, Col: 67} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 158, Col: 67} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28)) if templ_7745c5c3_Err != nil { @@ -706,7 +708,7 @@ func WorkspaceEmptyState(title, body string) templ.Component { var templ_7745c5c3_Var30 string templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 174, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 176, Col: 50} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) if templ_7745c5c3_Err != nil { @@ -719,7 +721,7 @@ func WorkspaceEmptyState(title, body string) templ.Component { var templ_7745c5c3_Var31 string templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(body) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 175, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 177, Col: 71} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) if templ_7745c5c3_Err != nil { @@ -816,7 +818,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var37 string templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableOrder) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 188, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 190, Col: 80} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var37)) if templ_7745c5c3_Err != nil { @@ -847,7 +849,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var39 string templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableCustomer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 189, Col: 104} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 191, Col: 104} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39)) if templ_7745c5c3_Err != nil { @@ -878,7 +880,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var41 string templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 190, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 192, Col: 52} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var41)) if templ_7745c5c3_Err != nil { @@ -909,7 +911,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var43 string templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableAmount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 191, Col: 102} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 193, Col: 102} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) if templ_7745c5c3_Err != nil { @@ -940,7 +942,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var45 string templ_7745c5c3_Var45, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 192, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 194, Col: 81} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var45)) if templ_7745c5c3_Err != nil { @@ -1013,7 +1015,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var49 templ.SafeURL templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(row.DetailURL)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 200, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 202, Col: 47} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) if templ_7745c5c3_Err != nil { @@ -1026,7 +1028,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var50 string templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 200, Col: 153} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 202, Col: 153} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) if templ_7745c5c3_Err != nil { @@ -1040,7 +1042,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var51 string templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 202, Col: 17} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 204, Col: 17} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) if templ_7745c5c3_Err != nil { @@ -1054,7 +1056,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var52 string templ_7745c5c3_Var52, templ_7745c5c3_Err = templ.JoinStringErrs(row.Customer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 204, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 206, Col: 87} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var52)) if templ_7745c5c3_Err != nil { @@ -1089,7 +1091,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var54 string templ_7745c5c3_Var54, templ_7745c5c3_Err = templ.JoinStringErrs(row.Customer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 206, Col: 100} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 208, Col: 100} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var54)) if templ_7745c5c3_Err != nil { @@ -1124,7 +1126,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var56 string templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 208, Col: 53} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 210, Col: 53} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var56)) if templ_7745c5c3_Err != nil { @@ -1137,7 +1139,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var57 string templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.JoinStringErrs(row.Amount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 209, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 211, Col: 85} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var57)) if templ_7745c5c3_Err != nil { @@ -1172,7 +1174,7 @@ func WorkspaceCompactOrders(rows []viewmodel.OrderRow, labels viewmodel.SiteLabe var templ_7745c5c3_Var59 string templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(row.Amount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 211, Col: 99} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 213, Col: 99} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) if templ_7745c5c3_Err != nil { @@ -1277,7 +1279,7 @@ func WorkspaceStatusPanel(rows []viewmodel.VendorRow, labels viewmodel.SiteLabel var templ_7745c5c3_Var62 string templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(row.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 230, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 232, Col: 51} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) if templ_7745c5c3_Err != nil { @@ -1290,7 +1292,7 @@ func WorkspaceStatusPanel(rows []viewmodel.VendorRow, labels viewmodel.SiteLabel var templ_7745c5c3_Var63 string templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(row.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 231, Col: 67} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 233, Col: 67} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) if templ_7745c5c3_Err != nil { @@ -1311,7 +1313,7 @@ func WorkspaceStatusPanel(rows []viewmodel.VendorRow, labels viewmodel.SiteLabel var templ_7745c5c3_Var64 string templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceListingRate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 237, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 239, Col: 42} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var64)) if templ_7745c5c3_Err != nil { @@ -1324,7 +1326,7 @@ func WorkspaceStatusPanel(rows []viewmodel.VendorRow, labels viewmodel.SiteLabel var templ_7745c5c3_Var65 string templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(row.ListingRate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 238, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 240, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) if templ_7745c5c3_Err != nil { @@ -1398,7 +1400,7 @@ func ResponsiveTableCard(tableID string, controls templ.Component) templ.Compone var templ_7745c5c3_Var67 string templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs(tableID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 277, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 279, Col: 48} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) if templ_7745c5c3_Err != nil { @@ -1503,7 +1505,7 @@ func ResponsiveTableControls(tableID string, columns []tableColumnOption, labels var templ_7745c5c3_Var72 string templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonColumns) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 303, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 305, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var72)) if templ_7745c5c3_Err != nil { @@ -1563,7 +1565,7 @@ func ResponsiveTableControls(tableID string, columns []tableColumnOption, labels var templ_7745c5c3_Var75 string templ_7745c5c3_Var75, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonColumns) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 308, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 310, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var75)) if templ_7745c5c3_Err != nil { @@ -1615,7 +1617,7 @@ func ResponsiveTableControls(tableID string, columns []tableColumnOption, labels var templ_7745c5c3_Var77 string templ_7745c5c3_Var77, templ_7745c5c3_Err = templ.JoinStringErrs(column.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 329, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 331, Col: 42} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var77)) if templ_7745c5c3_Err != nil { @@ -1666,7 +1668,7 @@ func ResponsiveTableControls(tableID string, columns []tableColumnOption, labels var templ_7745c5c3_Var79 string templ_7745c5c3_Var79, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonReset) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 343, Col: 24} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 345, Col: 24} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var79)) if templ_7745c5c3_Err != nil { @@ -1751,7 +1753,7 @@ func ResponsiveTableDetailButton(sheetID, title string, labels viewmodel.SiteLab var templ_7745c5c3_Var83 string templ_7745c5c3_Var83, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 360, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 362, Col: 32} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var83)) if templ_7745c5c3_Err != nil { @@ -1812,7 +1814,7 @@ func ResponsiveTableDetailItem(labelText, value string, destructive bool) templ. var templ_7745c5c3_Var85 string templ_7745c5c3_Var85, templ_7745c5c3_Err = templ.JoinStringErrs(labelText) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 367, Col: 96} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 369, Col: 96} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var85)) if templ_7745c5c3_Err != nil { @@ -1830,7 +1832,7 @@ func ResponsiveTableDetailItem(labelText, value string, destructive bool) templ. var templ_7745c5c3_Var86 string templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.JoinStringErrs(value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 369, Col: 61} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 371, Col: 61} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var86)) if templ_7745c5c3_Err != nil { @@ -1848,7 +1850,7 @@ func ResponsiveTableDetailItem(labelText, value string, destructive bool) templ. var templ_7745c5c3_Var87 string templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(value)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 371, Col: 73} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 373, Col: 73} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var87)) if templ_7745c5c3_Err != nil { @@ -1952,7 +1954,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var94 string templ_7745c5c3_Var94, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableOrder) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 383, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 385, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var94)) if templ_7745c5c3_Err != nil { @@ -1983,7 +1985,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var96 string templ_7745c5c3_Var96, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableCustomer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 386, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 388, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var96)) if templ_7745c5c3_Err != nil { @@ -2014,7 +2016,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var98 string templ_7745c5c3_Var98, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 389, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 391, Col: 36} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var98)) if templ_7745c5c3_Err != nil { @@ -2045,7 +2047,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var100 string templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 392, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 394, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) if templ_7745c5c3_Err != nil { @@ -2076,7 +2078,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var102 string templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableAmount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 395, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 397, Col: 35} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) if templ_7745c5c3_Err != nil { @@ -2107,7 +2109,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var104 string templ_7745c5c3_Var104, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 398, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 400, Col: 35} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var104)) if templ_7745c5c3_Err != nil { @@ -2180,7 +2182,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var108 templ.SafeURL templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(row.DetailURL)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 407, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 409, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) if templ_7745c5c3_Err != nil { @@ -2193,7 +2195,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var109 string templ_7745c5c3_Var109, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 407, Col: 137} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 409, Col: 137} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var109)) if templ_7745c5c3_Err != nil { @@ -2207,7 +2209,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var110 string templ_7745c5c3_Var110, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 409, Col: 16} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 411, Col: 16} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var110)) if templ_7745c5c3_Err != nil { @@ -2239,7 +2241,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var112 string templ_7745c5c3_Var112, templ_7745c5c3_Err = templ.JoinStringErrs(row.Customer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 413, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 415, Col: 21} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var112)) if templ_7745c5c3_Err != nil { @@ -2270,7 +2272,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var114 string templ_7745c5c3_Var114, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 416, Col: 20} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 418, Col: 20} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var114)) if templ_7745c5c3_Err != nil { @@ -2301,7 +2303,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var116 string templ_7745c5c3_Var116, templ_7745c5c3_Err = templ.JoinStringErrs(row.Date) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 419, Col: 17} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 421, Col: 17} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var116)) if templ_7745c5c3_Err != nil { @@ -2332,7 +2334,7 @@ func OrdersTable(rows []viewmodel.OrderRow, labels viewmodel.SiteLabels) templ.C var templ_7745c5c3_Var118 string templ_7745c5c3_Var118, templ_7745c5c3_Err = templ.JoinStringErrs(row.Amount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 422, Col: 19} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 424, Col: 19} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var118)) if templ_7745c5c3_Err != nil { @@ -2427,7 +2429,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var121 string templ_7745c5c3_Var121, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 438, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 440, Col: 71} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var121)) if templ_7745c5c3_Err != nil { @@ -2440,7 +2442,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var122 string templ_7745c5c3_Var122, templ_7745c5c3_Err = templ.JoinStringErrs(page.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 439, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 441, Col: 71} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var122)) if templ_7745c5c3_Err != nil { @@ -2474,7 +2476,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var124 string templ_7745c5c3_Var124, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 445, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 447, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var124)) if templ_7745c5c3_Err != nil { @@ -2502,7 +2504,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var126 string templ_7745c5c3_Var126, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailBack) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 449, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 451, Col: 30} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var126)) if templ_7745c5c3_Err != nil { @@ -2549,7 +2551,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var129 string templ_7745c5c3_Var129, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailCustomer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 456, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 458, Col: 75} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var129)) if templ_7745c5c3_Err != nil { @@ -2562,7 +2564,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var130 string templ_7745c5c3_Var130, templ_7745c5c3_Err = templ.JoinStringErrs(page.CustomerName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 457, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 459, Col: 47} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var130)) if templ_7745c5c3_Err != nil { @@ -2575,7 +2577,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var131 string templ_7745c5c3_Var131, templ_7745c5c3_Err = templ.JoinStringErrs(page.CustomerEmail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 458, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 460, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var131)) if templ_7745c5c3_Err != nil { @@ -2628,7 +2630,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var134 string templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailPaymentStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 463, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 465, Col: 80} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) if templ_7745c5c3_Err != nil { @@ -2685,7 +2687,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var137 string templ_7745c5c3_Var137, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailFulfillmentStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 469, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 471, Col: 84} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var137)) if templ_7745c5c3_Err != nil { @@ -2742,7 +2744,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var140 string templ_7745c5c3_Var140, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailTracking) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 475, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 477, Col: 75} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var140)) if templ_7745c5c3_Err != nil { @@ -2760,7 +2762,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var141 string templ_7745c5c3_Var141, templ_7745c5c3_Err = templ.JoinStringErrs(page.TrackingCode) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 477, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 479, Col: 48} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var141)) if templ_7745c5c3_Err != nil { @@ -2778,7 +2780,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var142 string templ_7745c5c3_Var142, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusPending) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 479, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 481, Col: 69} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var142)) if templ_7745c5c3_Err != nil { @@ -2844,7 +2846,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var146 string templ_7745c5c3_Var146, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailItems) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 487, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 489, Col: 31} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var146)) if templ_7745c5c3_Err != nil { @@ -2886,7 +2888,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var148 templ.SafeURL templ_7745c5c3_Var148, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("/products/" + item.ProductSlug)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 495, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 497, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var148)) if templ_7745c5c3_Err != nil { @@ -2899,7 +2901,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var149 string templ_7745c5c3_Var149, templ_7745c5c3_Err = templ.JoinStringErrs(item.ProductTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 495, Col: 178} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 497, Col: 178} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var149)) if templ_7745c5c3_Err != nil { @@ -2912,7 +2914,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var150 string templ_7745c5c3_Var150, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailQuantity) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 496, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 498, Col: 78} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var150)) if templ_7745c5c3_Err != nil { @@ -2925,7 +2927,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var151 string templ_7745c5c3_Var151, templ_7745c5c3_Err = templ.JoinStringErrs(item.Quantity) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 496, Col: 97} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 498, Col: 97} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var151)) if templ_7745c5c3_Err != nil { @@ -2950,7 +2952,7 @@ func WorkspaceOrderDetail(page viewmodel.OrderDetailPage, labels viewmodel.SiteL var templ_7745c5c3_Var152 string templ_7745c5c3_Var152, templ_7745c5c3_Err = templ.JoinStringErrs(item.Amount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 503, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 505, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var152)) if templ_7745c5c3_Err != nil { @@ -3082,7 +3084,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var159 string templ_7745c5c3_Var159, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 531, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 533, Col: 36} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var159)) if templ_7745c5c3_Err != nil { @@ -3113,7 +3115,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var161 string templ_7745c5c3_Var161, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingCurrentPrice) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 534, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 536, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var161)) if templ_7745c5c3_Err != nil { @@ -3144,7 +3146,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var163 string templ_7745c5c3_Var163, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingMarketMedian) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 537, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 539, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var163)) if templ_7745c5c3_Err != nil { @@ -3175,7 +3177,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var165 string templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingCompetitorRange) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 540, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 542, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) if templ_7745c5c3_Err != nil { @@ -3206,7 +3208,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var167 string templ_7745c5c3_Var167, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingRecommendedPrice) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 543, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 545, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var167)) if templ_7745c5c3_Err != nil { @@ -3237,7 +3239,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var169 string templ_7745c5c3_Var169, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingDemandSignal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 546, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 548, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var169)) if templ_7745c5c3_Err != nil { @@ -3268,7 +3270,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var171 string templ_7745c5c3_Var171, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingMarketPosition) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 549, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 551, Col: 36} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var171)) if templ_7745c5c3_Err != nil { @@ -3299,7 +3301,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var173 string templ_7745c5c3_Var173, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingConfidence) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 552, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 554, Col: 32} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var173)) if templ_7745c5c3_Err != nil { @@ -3330,7 +3332,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var175 string templ_7745c5c3_Var175, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingProjectedImpact) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 555, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 557, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var175)) if templ_7745c5c3_Err != nil { @@ -3361,7 +3363,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var177 string templ_7745c5c3_Var177, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 558, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 560, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var177)) if templ_7745c5c3_Err != nil { @@ -3392,7 +3394,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var179 string templ_7745c5c3_Var179, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingAlert) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 561, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 563, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var179)) if templ_7745c5c3_Err != nil { @@ -3427,7 +3429,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var181 string templ_7745c5c3_Var181, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 564, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 566, Col: 50} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var181)) if templ_7745c5c3_Err != nil { @@ -3499,7 +3501,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var185 string templ_7745c5c3_Var185, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 572, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 574, Col: 32} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var185)) if templ_7745c5c3_Err != nil { @@ -3551,7 +3553,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var188 string templ_7745c5c3_Var188, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 581, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 583, Col: 48} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var188)) if templ_7745c5c3_Err != nil { @@ -3564,7 +3566,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var189 string templ_7745c5c3_Var189, templ_7745c5c3_Err = templruntime.SanitizeStyleAttributeValues(row.PositionStyle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 584, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 586, Col: 79} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var189)) if templ_7745c5c3_Err != nil { @@ -3577,7 +3579,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var190 string templ_7745c5c3_Var190, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingMarketPosition) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 587, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 589, Col: 46} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var190)) if templ_7745c5c3_Err != nil { @@ -3590,7 +3592,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var191 string templ_7745c5c3_Var191, templ_7745c5c3_Err = templ.JoinStringErrs(row.PositionPercent) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 588, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 590, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var191)) if templ_7745c5c3_Err != nil { @@ -3625,7 +3627,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var193 string templ_7745c5c3_Var193, templ_7745c5c3_Err = templ.JoinStringErrs(row.CurrentPrice) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 594, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 596, Col: 25} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var193)) if templ_7745c5c3_Err != nil { @@ -3656,7 +3658,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var195 string templ_7745c5c3_Var195, templ_7745c5c3_Err = templ.JoinStringErrs(row.MarketMedian) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 597, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 599, Col: 25} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var195)) if templ_7745c5c3_Err != nil { @@ -3687,7 +3689,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var197 string templ_7745c5c3_Var197, templ_7745c5c3_Err = templ.JoinStringErrs(row.CompetitorRange) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 600, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 602, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var197)) if templ_7745c5c3_Err != nil { @@ -3718,7 +3720,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var199 string templ_7745c5c3_Var199, templ_7745c5c3_Err = templ.JoinStringErrs(row.RecommendedPrice) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 603, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 605, Col: 29} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var199)) if templ_7745c5c3_Err != nil { @@ -3775,7 +3777,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var202 string templ_7745c5c3_Var202, templ_7745c5c3_Err = templ.JoinStringErrs(row.MarketPositioning) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 609, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 611, Col: 30} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var202)) if templ_7745c5c3_Err != nil { @@ -3806,7 +3808,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var204 string templ_7745c5c3_Var204, templ_7745c5c3_Err = templ.JoinStringErrs(row.Confidence) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 612, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 614, Col: 23} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var204)) if templ_7745c5c3_Err != nil { @@ -3841,7 +3843,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var206 string templ_7745c5c3_Var206, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProjectedRevenueImpact) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 616, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 618, Col: 59} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var206)) if templ_7745c5c3_Err != nil { @@ -3854,7 +3856,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var207 string templ_7745c5c3_Var207, templ_7745c5c3_Err = templ.JoinStringErrs(row.ImpactExplanation) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 617, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 619, Col: 72} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var207)) if templ_7745c5c3_Err != nil { @@ -3927,7 +3929,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var210 string templ_7745c5c3_Var210, templ_7745c5c3_Err = templ.JoinStringErrs(row.Reason) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 626, Col: 61} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 628, Col: 61} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var210)) if templ_7745c5c3_Err != nil { @@ -4018,7 +4020,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var216 string templ_7745c5c3_Var216, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 635, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 637, Col: 28} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var216)) if templ_7745c5c3_Err != nil { @@ -4049,7 +4051,7 @@ func PricingRecommendationsTable(rows []viewmodel.PricingRecommendationRow, labe var templ_7745c5c3_Var218 string templ_7745c5c3_Var218, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 638, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 640, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var218)) if templ_7745c5c3_Err != nil { @@ -4187,7 +4189,7 @@ func pricingActionBadge(row viewmodel.PricingRecommendationRow) templ.Component var templ_7745c5c3_Var221 string templ_7745c5c3_Var221, templ_7745c5c3_Err = templ.JoinStringErrs(row.Action) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 663, Col: 15} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 665, Col: 15} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var221)) if templ_7745c5c3_Err != nil { @@ -4215,7 +4217,7 @@ func pricingActionBadge(row viewmodel.PricingRecommendationRow) templ.Component var templ_7745c5c3_Var223 string templ_7745c5c3_Var223, templ_7745c5c3_Err = templ.JoinStringErrs(row.Action) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 667, Col: 15} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 669, Col: 15} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var223)) if templ_7745c5c3_Err != nil { @@ -4243,7 +4245,7 @@ func pricingActionBadge(row viewmodel.PricingRecommendationRow) templ.Component var templ_7745c5c3_Var225 string templ_7745c5c3_Var225, templ_7745c5c3_Err = templ.JoinStringErrs(row.Action) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 671, Col: 15} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 673, Col: 15} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var225)) if templ_7745c5c3_Err != nil { @@ -4297,7 +4299,7 @@ func pricingAlertBadge(row viewmodel.PricingRecommendationRow) templ.Component { var templ_7745c5c3_Var228 string templ_7745c5c3_Var228, templ_7745c5c3_Err = templ.JoinStringErrs(row.Alert) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 679, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 681, Col: 14} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var228)) if templ_7745c5c3_Err != nil { @@ -4325,7 +4327,7 @@ func pricingAlertBadge(row viewmodel.PricingRecommendationRow) templ.Component { var templ_7745c5c3_Var230 string templ_7745c5c3_Var230, templ_7745c5c3_Err = templ.JoinStringErrs(row.Alert) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 683, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 685, Col: 14} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var230)) if templ_7745c5c3_Err != nil { @@ -4353,7 +4355,7 @@ func pricingAlertBadge(row viewmodel.PricingRecommendationRow) templ.Component { var templ_7745c5c3_Var232 string templ_7745c5c3_Var232, templ_7745c5c3_Err = templ.JoinStringErrs(row.Alert) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 687, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 689, Col: 14} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var232)) if templ_7745c5c3_Err != nil { @@ -4381,7 +4383,7 @@ func pricingAlertBadge(row viewmodel.PricingRecommendationRow) templ.Component { var templ_7745c5c3_Var234 string templ_7745c5c3_Var234, templ_7745c5c3_Err = templ.JoinStringErrs(row.Alert) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 691, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 693, Col: 14} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var234)) if templ_7745c5c3_Err != nil { @@ -4435,7 +4437,7 @@ func pricingDemandBadge(row viewmodel.PricingRecommendationRow) templ.Component var templ_7745c5c3_Var237 string templ_7745c5c3_Var237, templ_7745c5c3_Err = templ.JoinStringErrs(row.DemandSignal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 699, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 701, Col: 21} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var237)) if templ_7745c5c3_Err != nil { @@ -4463,7 +4465,7 @@ func pricingDemandBadge(row viewmodel.PricingRecommendationRow) templ.Component var templ_7745c5c3_Var239 string templ_7745c5c3_Var239, templ_7745c5c3_Err = templ.JoinStringErrs(row.DemandSignal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 703, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 705, Col: 21} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var239)) if templ_7745c5c3_Err != nil { @@ -4491,7 +4493,7 @@ func pricingDemandBadge(row viewmodel.PricingRecommendationRow) templ.Component var templ_7745c5c3_Var241 string templ_7745c5c3_Var241, templ_7745c5c3_Err = templ.JoinStringErrs(row.DemandSignal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 707, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 709, Col: 21} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var241)) if templ_7745c5c3_Err != nil { @@ -4593,7 +4595,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var248 string templ_7745c5c3_Var248, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModerationRecord) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 719, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 721, Col: 40} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var248)) if templ_7745c5c3_Err != nil { @@ -4624,7 +4626,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var250 string templ_7745c5c3_Var250, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModerationTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 722, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 724, Col: 39} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var250)) if templ_7745c5c3_Err != nil { @@ -4655,7 +4657,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var252 string templ_7745c5c3_Var252, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModerationReason) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 725, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 727, Col: 40} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var252)) if templ_7745c5c3_Err != nil { @@ -4686,7 +4688,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var254 string templ_7745c5c3_Var254, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 728, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 730, Col: 35} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var254)) if templ_7745c5c3_Err != nil { @@ -4717,7 +4719,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var256 string templ_7745c5c3_Var256, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModerationUpdate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 731, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 733, Col: 40} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var256)) if templ_7745c5c3_Err != nil { @@ -4785,7 +4787,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var260 string templ_7745c5c3_Var260, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 739, Col: 15} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 741, Col: 15} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var260)) if templ_7745c5c3_Err != nil { @@ -4816,7 +4818,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var262 string templ_7745c5c3_Var262, templ_7745c5c3_Err = templ.JoinStringErrs(row.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 742, Col: 18} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 744, Col: 18} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var262)) if templ_7745c5c3_Err != nil { @@ -4847,7 +4849,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var264 string templ_7745c5c3_Var264, templ_7745c5c3_Err = templ.JoinStringErrs(row.Reason) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 745, Col: 19} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 747, Col: 19} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var264)) if templ_7745c5c3_Err != nil { @@ -4904,7 +4906,7 @@ func ModerationTable(rows []viewmodel.ModerationRow, labels viewmodel.SiteLabels var templ_7745c5c3_Var267 string templ_7745c5c3_Var267, templ_7745c5c3_Err = templ.JoinStringErrs(row.UpdatedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 751, Col: 22} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 753, Col: 22} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var267)) if templ_7745c5c3_Err != nil { @@ -5005,7 +5007,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var271 string templ_7745c5c3_Var271, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDetailSubtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 768, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 770, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var271)) if templ_7745c5c3_Err != nil { @@ -5087,7 +5089,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var277 string templ_7745c5c3_Var277, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 777, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 779, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var277)) if templ_7745c5c3_Err != nil { @@ -5118,7 +5120,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var279 string templ_7745c5c3_Var279, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormCategory) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 780, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 782, Col: 35} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var279)) if templ_7745c5c3_Err != nil { @@ -5149,7 +5151,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var281 string templ_7745c5c3_Var281, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableAmount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 783, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 785, Col: 36} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var281)) if templ_7745c5c3_Err != nil { @@ -5180,7 +5182,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var283 string templ_7745c5c3_Var283, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSubmittedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 786, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 788, Col: 37} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var283)) if templ_7745c5c3_Err != nil { @@ -5211,7 +5213,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var285 string templ_7745c5c3_Var285, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 789, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 791, Col: 36} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var285)) if templ_7745c5c3_Err != nil { @@ -5246,7 +5248,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var287 string templ_7745c5c3_Var287, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationReview) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 792, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 794, Col: 54} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var287)) if templ_7745c5c3_Err != nil { @@ -5338,7 +5340,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var292 string templ_7745c5c3_Var292, templ_7745c5c3_Err = templ.JoinStringErrs(row.ImageURL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 802, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 804, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var292)) if templ_7745c5c3_Err != nil { @@ -5351,7 +5353,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var293 string templ_7745c5c3_Var293, templ_7745c5c3_Err = templ.JoinStringErrs(row.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 802, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 804, Col: 51} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var293)) if templ_7745c5c3_Err != nil { @@ -5374,7 +5376,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var294 string templ_7745c5c3_Var294, templ_7745c5c3_Err = templ.JoinStringErrs(row.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 805, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 807, Col: 77} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var294)) if templ_7745c5c3_Err != nil { @@ -5387,7 +5389,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var295 string templ_7745c5c3_Var295, templ_7745c5c3_Err = templ.JoinStringErrs(row.Vendor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 806, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 808, Col: 72} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var295)) if templ_7745c5c3_Err != nil { @@ -5405,7 +5407,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var296 string templ_7745c5c3_Var296, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSellerLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 808, Col: 91} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 810, Col: 91} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var296)) if templ_7745c5c3_Err != nil { @@ -5418,7 +5420,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var297 string templ_7745c5c3_Var297, templ_7745c5c3_Err = templ.JoinStringErrs(row.SellerEmail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 808, Col: 112} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 810, Col: 112} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var297)) if templ_7745c5c3_Err != nil { @@ -5458,7 +5460,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var299 string templ_7745c5c3_Var299, templ_7745c5c3_Err = templ.JoinStringErrs(row.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 814, Col: 22} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 816, Col: 22} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var299)) if templ_7745c5c3_Err != nil { @@ -5489,7 +5491,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var301 string templ_7745c5c3_Var301, templ_7745c5c3_Err = templ.JoinStringErrs(row.Price) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 817, Col: 19} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 819, Col: 19} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var301)) if templ_7745c5c3_Err != nil { @@ -5520,7 +5522,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var303 string templ_7745c5c3_Var303, templ_7745c5c3_Err = templ.JoinStringErrs(row.CreatedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 820, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 822, Col: 23} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var303)) if templ_7745c5c3_Err != nil { @@ -5589,7 +5591,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels var templ_7745c5c3_Var307 string templ_7745c5c3_Var307, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationReview) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 832, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 834, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var307)) if templ_7745c5c3_Err != nil { @@ -5642,8 +5644,7 @@ func AdminModerationProductsTable(rows []viewmodel.ModerationProductRow, labels }) } -// adapts order_002 + product_003 -func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels viewmodel.SiteLabels) templ.Component { +func AdminProductsFilterBar(page viewmodel.AdminProductListPage, labels viewmodel.SiteLabels) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -5664,10 +5665,6 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view templ_7745c5c3_Var308 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 200, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } templ_7745c5c3_Var309 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) @@ -5692,12 +5689,98 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - if len(page.Gallery) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 201, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 200, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var312 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var313 string + templ_7745c5c3_Var313, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsQuery) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 851, Col: 33} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var313)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{For: "admin-products-query"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var312), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = input.Input(input.Props{ID: "admin-products-query", Name: "q", Value: page.Query, Placeholder: labels.WorkspaceAdminProductsBody, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var314 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var315 string + templ_7745c5c3_Var315, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 857, Col: 35} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var315)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var311 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{For: "admin-products-status"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var314), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var316 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var317 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5709,312 +5792,359 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "\"")") + templ_7745c5c3_Var325 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var326 string + templ_7745c5c3_Var326, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusPending) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 875, Col: 30} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var326)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "pending", Selected: page.Status == "pending"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var325), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioVideo, Class: "overflow-hidden rounded-2xl border border-border/70 bg-muted"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var311), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if len(page.Gallery) > 1 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 205, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - for _, asset := range page.Gallery[1:] { - templ_7745c5c3_Var314 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, "\"")") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioSquare, Class: "overflow-hidden rounded-xl border border-border/70 bg-muted"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var314), templ_7745c5c3_Buffer) + templ_7745c5c3_Var327 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var328 string + templ_7745c5c3_Var328, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusRejected) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 878, Col: 31} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var328)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "rejected", Selected: page.Status == "rejected"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var327), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 209, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 207, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 210, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 211, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = icon.Image(icon.Props{Class: "size-5"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Var329 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var330 string + templ_7745c5c3_Var330, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusPreparing) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 881, Col: 32} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var330)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "draft", Selected: page.Status == "draft"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var329), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var320), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 212, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var317 string - templ_7745c5c3_Var317, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormImage) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 870, Col: 52} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var317)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 213, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - return nil - }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var310), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "overflow-hidden rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var309), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var318 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var319 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 214, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var320 string - templ_7745c5c3_Var320, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 879, Col: 114} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var320)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 215, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var321 string - templ_7745c5c3_Var321, templ_7745c5c3_Err = templ.JoinStringErrs(page.Title) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 880, Col: 83} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var321)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 216, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCategory, page.Category).Render(ctx, templ_7745c5c3_Buffer) + return nil + }) + templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "admin-products-status"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var316), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = moderationMetaCard(labels.WorkspaceTableAmount, page.Price).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 208, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - if page.CompareAt != "" && page.CompareAt != "₺0.00" { - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCompareAt, page.CompareAt).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Var331 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var332 string + templ_7745c5c3_Var332, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 888, Col: 33} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var332)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - } - templ_7745c5c3_Err = moderationMetaCard(labels.ModerationSubmittedAt, page.CreatedAt).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = moderationMetaCard(labels.ModerationModeratedAt, moderationValueOrDash(page.ModeratedAt)).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 217, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ifSection(page.Description, labels.ProductFormDescription).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 218, " ") + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var331), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - if len(page.Highlights) > 0 { - templ_7745c5c3_Err = moderationListSection(labels.ProductFormHighlights, page.Highlights).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Var333 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var334 string + templ_7745c5c3_Var334, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 891, Col: 33} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var334)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.ClearURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var333), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 219, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 209, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - if len(page.Tags) > 0 || len(page.Colors) > 0 || page.Size != "" || page.Material != "" || page.Style != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 220, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if len(page.Tags) > 0 { - templ_7745c5c3_Err = moderationPillSection(labels.ProductFormTags, page.Tags).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - if len(page.Colors) > 0 { - templ_7745c5c3_Err = moderationPillSection(labels.ProductFormColors, page.Colors).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - if page.Size != "" { - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormSize, page.Size).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + for _, item := range page.StatusFilters { + templ_7745c5c3_Var335 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() } - } - if page.Material != "" { - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMaterial, page.Material).Render(ctx, templ_7745c5c3_Buffer) + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var336 string + templ_7745c5c3_Var336, templ_7745c5c3_Err = templ.JoinStringErrs(item.Label) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 898, Col: 18} } - } - if page.Style != "" { - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormStyle, page.Style).Render(ctx, templ_7745c5c3_Buffer) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var336)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 221, "
") + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: item.Href, Variant: linkVariant(item.IsActive), Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var335), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 210, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var319), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var310), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var318), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var309), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 222, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return nil + }) +} + +func AdminProductsTable(rows []viewmodel.AdminProductListRow, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr } - templ_7745c5c3_Var322 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var337 := templ.GetChildren(ctx) + if templ_7745c5c3_Var337 == nil { + templ_7745c5c3_Var337 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + if len(rows) == 0 { + templ_7745c5c3_Err = WorkspaceEmptyState(labels.WorkspaceAdminProductsEmptyTitle, labels.WorkspaceAdminProductsEmptyBody).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var323 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + } else { + templ_7745c5c3_Var338 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6026,244 +6156,31 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 223, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var324 string - templ_7745c5c3_Var324, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModeration) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 921, Col: 112} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var324)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = StatusText(page.Status, labels).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 225, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCategory, page.Category).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = moderationMetaCard(labels.WorkspaceTableAmount, page.Price).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var325 string - templ_7745c5c3_Var325, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSellerLabel) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 930, Col: 118} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var325)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.Vendor != "" && page.Vendor != page.SellerEmail { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var326 string - templ_7745c5c3_Var326, templ_7745c5c3_Err = templ.JoinStringErrs(page.Vendor) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 932, Col: 68} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var326)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + templ_7745c5c3_Var339 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() } - } - if page.SellerEmail != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var327 string - templ_7745c5c3_Var327, templ_7745c5c3_Err = templ.JoinStringErrs(page.SellerEmail) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 935, Col: 67} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var327)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 231, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var328 string - templ_7745c5c3_Var328, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDecisionReason) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 939, Col: 121} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var328)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.ModerationReason != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var329 string - templ_7745c5c3_Var329, templ_7745c5c3_Err = templ.JoinStringErrs(page.ModerationReason) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 941, Col: 82} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var329)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 236, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var330 string - templ_7745c5c3_Var330, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationNoReason) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 943, Col: 76} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var330)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 237, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 238, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.SearchSyncStatus != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 239, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var331 string - templ_7745c5c3_Var331, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncTitle) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 950, Col: 123} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var331)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 240, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = StatusText(page.SearchSyncStatus, labels).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.SearchSyncUpdated != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var332 string - templ_7745c5c3_Var332, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncUpdated) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 955, Col: 126} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var332)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 243, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var333 string - templ_7745c5c3_Var333, templ_7745c5c3_Err = templ.JoinStringErrs(page.SearchSyncUpdated) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 956, Col: 68} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var333)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 244, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - if page.SearchSyncError != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var334 string - templ_7745c5c3_Var334, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncLastError) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 961, Col: 128} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var334)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var335 string - templ_7745c5c3_Var335, templ_7745c5c3_Err = templ.JoinStringErrs(page.SearchSyncError) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 962, Col: 83} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var335)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 247, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var340 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() } - } - if page.SearchSyncURL != "" { - templ_7745c5c3_Var336 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var341 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6275,107 +6192,38 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = icon.ListTree(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 248, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var337 string - templ_7745c5c3_Var337, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationViewSearchSync) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 968, Col: 48} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var337)) + templ_7745c5c3_Var342 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var343 string + templ_7745c5c3_Var343, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 915, Col: 37} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var343)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-[320px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var342), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 211, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.SearchSyncURL, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var336), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 251, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.MetaTitle != "" || page.MetaDescription != "" || len(page.Keywords) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 252, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var338 string - templ_7745c5c3_Var338, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormSEOTitle) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 975, Col: 84} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var338)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 253, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.MetaTitle != "" { - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMetaTitle, page.MetaTitle).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - if page.MetaDescription != "" { - templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMetaDescription, page.MetaDescription).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - if len(page.Keywords) > 0 { - templ_7745c5c3_Err = moderationPillSection(labels.ProductFormKeywords, page.Keywords).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 254, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.CanApprove || page.CanReject { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 256, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - if page.CanApprove { - templ_7745c5c3_Var339 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var340 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var344 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6387,56 +6235,26 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var341 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = icon.Check(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 257, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var342 string - templ_7745c5c3_Var342, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApprove) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 994, Col: 43} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var342)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, "") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var341), templ_7745c5c3_Buffer) + var templ_7745c5c3_Var345 string + templ_7745c5c3_Var345, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormCategory) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 918, Col: 35} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var345)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var340), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var344), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 212, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var343 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var346 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6448,19 +6266,211 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var344 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + var templ_7745c5c3_Var347 string + templ_7745c5c3_Var347, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableAmount) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 921, Col: 36} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var347)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var346), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 213, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var348 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var349 string + templ_7745c5c3_Var349, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 924, Col: 36} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var349)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var348), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 214, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var350 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var351 string + templ_7745c5c3_Var351, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AdminProducts3DStatus) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 927, Col: 37} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var351)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var350), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 215, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var352 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var353 string + templ_7745c5c3_Var353, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 930, Col: 34} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var353)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var352), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 216, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var354 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 217, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var355 string + templ_7745c5c3_Var355, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 933, Col: 51} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var355)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 218, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var354), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var341), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var340), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 219, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var356 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + for _, row := range rows { + templ_7745c5c3_Var357 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var358 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var345 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 220, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var359 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6472,76 +6482,150 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var346 string - templ_7745c5c3_Var346, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApproveTitle) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 221, "\"")") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var345), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioSquare, Class: "size-14 shrink-0 overflow-hidden rounded-xl border border-border/70 bg-muted"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var359), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var347 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + var templ_7745c5c3_Var362 string + templ_7745c5c3_Var362, templ_7745c5c3_Err = templ.JoinStringErrs(row.Title) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 946, Col: 77} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var362)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 225, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var363 string + templ_7745c5c3_Var363, templ_7745c5c3_Err = templ.JoinStringErrs(row.Vendor) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 947, Col: 72} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var363)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if row.SellerEmail != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var348 string - templ_7745c5c3_Var348, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApproveBody) + var templ_7745c5c3_Var364 string + templ_7745c5c3_Var364, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSellerLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1003, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 949, Col: 91} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var348)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var364)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = dialog.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var347), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, ": ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var365 string + templ_7745c5c3_Var365, templ_7745c5c3_Err = templ.JoinStringErrs(row.SellerEmail) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 949, Col: 112} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var365)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var344), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card min-w-[320px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var358), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var350 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var368 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6553,127 +6637,26 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var351 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var352 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var353 string - templ_7745c5c3_Var353, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1010, Col: 34} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var353)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var352), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = dialog.Close().Render(templ.WithChildren(ctx, templ_7745c5c3_Var351), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 263, " ") + var templ_7745c5c3_Var369 string + templ_7745c5c3_Var369, templ_7745c5c3_Err = templ.JoinStringErrs(row.Price) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 955, Col: 34} } - templ_7745c5c3_Var354 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var355 string - templ_7745c5c3_Var355, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApprove) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1014, Col: 38} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var355)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Form: "moderation-approve-form", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var354), templ_7745c5c3_Buffer) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var369)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var350), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var368), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var343), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "approve-product-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var339), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - if page.CanReject { - templ_7745c5c3_Var356 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var357 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var358 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var370 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6685,56 +6668,21 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = icon.X(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 264, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var359 string - templ_7745c5c3_Var359, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationReject) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1025, Col: 42} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var359)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, "") + templ_7745c5c3_Err = StatusText(row.Status, labels).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantDestructive, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var358), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var370), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = dialog.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var357), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 266, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var360 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var361 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var371 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6746,88 +6694,21 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var362 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var363 string - templ_7745c5c3_Var363, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectTitle) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1031, Col: 42} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var363)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var362), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 267, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var364 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var365 string - templ_7745c5c3_Var365, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectBody) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1034, Col: 41} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var365)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = dialog.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var364), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = adminProduct3DStatusBadge(row.Model3DStatus, row.Model3DStatusTone).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var361), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 268, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var367 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var372 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6839,36 +6720,26 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var368 string - templ_7745c5c3_Var368, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectReason) + var templ_7745c5c3_Var373 string + templ_7745c5c3_Var373, templ_7745c5c3_Err = templ.JoinStringErrs(row.UpdatedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1039, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 958, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var368)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var373)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var367), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = textarea.Textarea(textarea.Props{ - Name: "reason", - Rows: 5, - AutoResize: true, - Placeholder: labels.ModerationRejectReasonPlaceholder, - Class: "rounded-2xl", - }).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var372), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 236, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var369 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var374 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6880,56 +6751,7 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var370 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var371 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var372 string - templ_7745c5c3_Var372, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1052, Col: 34} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var372)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var371), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = dialog.Close().Render(templ.WithChildren(ctx, templ_7745c5c3_Var370), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var373 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var375 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6941,66 +6763,58 @@ func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels view }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var374 string - templ_7745c5c3_Var374, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationReject) + var templ_7745c5c3_Var376 string + templ_7745c5c3_Var376, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1056, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 961, Col: 31} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var374)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var376)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantDestructive, Type: button.TypeSubmit, Form: "moderation-reject-form", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var373), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: row.DetailURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var375), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var369), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var374), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var360), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var357), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "reject-product-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var356), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, "
") + return nil + }) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var356), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + return nil + }) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[1040px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var339), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var323), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = ResponsiveTableCard("admin-products-table", nil).Render(templ.WithChildren(ctx, templ_7745c5c3_Var338), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var322), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err } return nil }) } -func moderationMetaCard(title, value string) templ.Component { +func adminProduct3DStatusBadge(labelText, tone string) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -7016,103 +6830,35 @@ func moderationMetaCard(title, value string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var375 := templ.GetChildren(ctx) - if templ_7745c5c3_Var375 == nil { - templ_7745c5c3_Var375 = templ.NopComponent + templ_7745c5c3_Var377 := templ.GetChildren(ctx) + if templ_7745c5c3_Var377 == nil { + templ_7745c5c3_Var377 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var376 string - templ_7745c5c3_Var376, templ_7745c5c3_Err = templ.JoinStringErrs(title) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1072, Col: 90} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var376)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var377 string - templ_7745c5c3_Var377, templ_7745c5c3_Err = templ.JoinStringErrs(value) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1073, Col: 60} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var377)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) -} - -func moderationListSection(title string, items []string) templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var378 := templ.GetChildren(ctx) - if templ_7745c5c3_Var378 == nil { - templ_7745c5c3_Var378 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var379 string - templ_7745c5c3_Var379, templ_7745c5c3_Err = templ.JoinStringErrs(title) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1079, Col: 58} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var379)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "

    ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - for _, item := range items { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "
  • ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var380 string - templ_7745c5c3_Var380, templ_7745c5c3_Err = templ.JoinStringErrs(item) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1084, Col: 17} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var380)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "
  • ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, "
") + templ_7745c5c3_Var378 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var379 string + templ_7745c5c3_Var379, templ_7745c5c3_Err = templ.JoinStringErrs(labelText) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 974, Col: 13} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var379)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: adminProduct3DStatusClass(tone)}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var378), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7120,130 +6866,29 @@ func moderationListSection(title string, items []string) templ.Component { }) } -func moderationPillSection(title string, items []string) templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var381 := templ.GetChildren(ctx) - if templ_7745c5c3_Var381 == nil { - templ_7745c5c3_Var381 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var382 string - templ_7745c5c3_Var382, templ_7745c5c3_Err = templ.JoinStringErrs(title) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1093, Col: 58} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var382)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - for _, item := range items { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, "") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var383 string - templ_7745c5c3_Var383, templ_7745c5c3_Err = templ.JoinStringErrs(item) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1096, Col: 135} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var383)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, "") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) +func adminProduct3DStatusClass(tone string) string { + switch strings.TrimSpace(tone) { + case "success": + return "bg-emerald-500/10 text-emerald-700" + case "warning": + return "bg-amber-500/10 text-amber-700" + case "error": + return "bg-destructive/10 text-destructive" + default: + return "bg-muted text-muted-foreground" + } } -func ifSection(body, title string) templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var384 := templ.GetChildren(ctx) - if templ_7745c5c3_Var384 == nil { - templ_7745c5c3_Var384 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - if body != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var385 string - templ_7745c5c3_Var385, templ_7745c5c3_Err = templ.JoinStringErrs(title) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1105, Col: 59} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var385)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var386 string - templ_7745c5c3_Var386, templ_7745c5c3_Err = templ.JoinStringErrs(body) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1106, Col: 86} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var386)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } +func firstNonEmpty(values ...string) string { + for _, value := range values { + if strings.TrimSpace(value) != "" { + return value } - return nil - }) + } + return "" } -// adapts gallery_grid_001 -func ProductGalleryUploader(gallery []viewmodel.ProductImageAsset, labels viewmodel.SiteLabels) templ.Component { +func AdminProductModel3DPanel(page viewmodel.AdminProductDetailPage, labels viewmodel.SiteLabels) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -7259,125 +6904,67 @@ func ProductGalleryUploader(gallery []viewmodel.ProductImageAsset, labels viewmo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var387 := templ.GetChildren(ctx) - if templ_7745c5c3_Var387 == nil { - templ_7745c5c3_Var387 = templ.NopComponent + templ_7745c5c3_Var380 := templ.GetChildren(ctx) + if templ_7745c5c3_Var380 == nil { + templ_7745c5c3_Var380 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var406), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header(card.HeaderProps{Class: "space-y-2"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var382), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 240, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var409 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var387 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7711,30 +7025,3362 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - if len(rows) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.Model3D.ModelURL != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, "\" camera-controls auto-rotate class=\"aspect-square w-full\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, "\"")") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.Model3D.Body != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var393 string + templ_7745c5c3_Var393, templ_7745c5c3_Err = templ.JoinStringErrs(page.Model3D.Body) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1028, Col: 65} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var393)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 251, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Model3D.Error != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 252, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var394 string + templ_7745c5c3_Var394, templ_7745c5c3_Err = templ.JoinStringErrs(page.Model3D.Error) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1031, Col: 61} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var394)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 253, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Model3D.RetryMessage != "" || page.Model3D.AttemptLabel != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 254, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.Model3D.RetryMessage != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var395 string + templ_7745c5c3_Var395, templ_7745c5c3_Err = templ.JoinStringErrs(page.Model3D.RetryMessage) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1036, Col: 37} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var395)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 256, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Model3D.AttemptLabel != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 257, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var396 string + templ_7745c5c3_Var396, templ_7745c5c3_Err = templ.JoinStringErrs(page.Model3D.AttemptLabel) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1039, Col: 37} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var396)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.CanStartModel3D { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var399 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.Box(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 264, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var400 string + templ_7745c5c3_Var400, templ_7745c5c3_Err = templ.JoinStringErrs(labels.Product3DGenerate) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1055, Col: 33} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var400)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var399), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.CanForceModel3D { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 266, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "force", Value: "true"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var403 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.RefreshCw(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var404 string + templ_7745c5c3_Var404, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AdminProducts3DForceRegenerate) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1070, Col: 46} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var404)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var403), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Model3DDisabledReason != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var405 string + templ_7745c5c3_Var405, templ_7745c5c3_Err = templ.JoinStringErrs(page.Model3DDisabledReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1076, Col: 34} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var405)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var406 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.ListChecks(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var407 string + templ_7745c5c3_Var407, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AdminProductsViewJobs) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1083, Col: 41} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var407)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.Model3DJobsURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var406), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var408 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.DatabaseSearch(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var409 string + templ_7745c5c3_Var409, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AdminProductsViewAILogs) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1087, Col: 43} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var409)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.Model3DLogsURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var408), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.Model3D.PollURL != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var387), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70 overflow-hidden"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var381), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func adminProductDetailTone(page viewmodel.AdminProductDetailPage) string { + if page.Model3D.ModelURL != "" { + return "success" + } + if strings.TrimSpace(page.Model3D.PollURL) != "" { + return "warning" + } + if strings.TrimSpace(page.Model3D.Error) != "" { + return "error" + } + switch strings.TrimSpace(page.Model3D.Status) { + case "Blocked", "Bloklu": + return "warning" + case "Unavailable", "Kullanılamıyor": + return "neutral" + default: + return "neutral" + } +} + +func AdminProductDetail(page viewmodel.AdminProductDetailPage, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var411 := templ.GetChildren(ctx) + if templ_7745c5c3_Var411 == nil { + templ_7745c5c3_Var411 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var412 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var413 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + if len(page.Gallery) > 0 { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var414 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, "\"")") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioVideo, Class: "overflow-hidden rounded-2xl border border-border/70 bg-muted"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var414), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Gallery) > 1 { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + for _, asset := range page.Gallery[1:] { + templ_7745c5c3_Var417 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, "\"")") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioSquare, Class: "overflow-hidden rounded-xl border border-border/70 bg-muted"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var417), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } else { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.Image(icon.Props{Class: "size-5"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var420 string + templ_7745c5c3_Var420, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormImage) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1149, Col: 52} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var420)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var413), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "overflow-hidden rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var412), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var421 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var422 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var423 string + templ_7745c5c3_Var423, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1158, Col: 114} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var423)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var424 string + templ_7745c5c3_Var424, templ_7745c5c3_Err = templ.JoinStringErrs(page.Title) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1159, Col: 83} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var424)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCategory, page.Category).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.WorkspaceTableAmount, page.Price).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.CompareAt != "" && page.CompareAt != "₺0.00" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCompareAt, page.CompareAt).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = moderationMetaCard(labels.ModerationSubmittedAt, page.CreatedAt).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.WorkspaceTableDate, page.UpdatedAt).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ifSection(page.Description, labels.ProductFormDescription).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Highlights) > 0 { + templ_7745c5c3_Err = moderationListSection(labels.ProductFormHighlights, page.Highlights).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Tags) > 0 || len(page.Colors) > 0 || page.Size != "" || page.Material != "" || page.Style != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 301, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Tags) > 0 { + templ_7745c5c3_Err = moderationPillSection(labels.ProductFormTags, page.Tags).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if len(page.Colors) > 0 { + templ_7745c5c3_Err = moderationPillSection(labels.ProductFormColors, page.Colors).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Size != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormSize, page.Size).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Material != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMaterial, page.Material).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Style != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormStyle, page.Style).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 302, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var422), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var421), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var425 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var426 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 304, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var427 string + templ_7745c5c3_Var427, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminProducts) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1200, Col: 115} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var427)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 305, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = StatusText(page.Status, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 306, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCategory, page.Category).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.WorkspaceTableAmount, page.Price).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 307, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var428 string + templ_7745c5c3_Var428, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSellerLabel) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1209, Col: 118} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var428)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 308, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.Vendor != "" && page.Vendor != page.SellerEmail { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 309, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var429 string + templ_7745c5c3_Var429, templ_7745c5c3_Err = templ.JoinStringErrs(page.Vendor) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1211, Col: 68} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var429)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 310, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.SellerEmail != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 311, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var430 string + templ_7745c5c3_Var430, templ_7745c5c3_Err = templ.JoinStringErrs(page.SellerEmail) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1214, Col: 67} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var430)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 312, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 313, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var431 string + templ_7745c5c3_Var431, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDecisionReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1218, Col: 121} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var431)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 314, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.ModerationReason != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 315, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var432 string + templ_7745c5c3_Var432, templ_7745c5c3_Err = templ.JoinStringErrs(page.ModerationReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1220, Col: 82} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var432)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 316, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } else { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var433 string + templ_7745c5c3_Var433, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationNoReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1222, Col: 76} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var433)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 319, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.ProductURL != "" { + templ_7745c5c3_Var434 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.Store(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var435 string + templ_7745c5c3_Var435, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AdminProductsOpenStorefront) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1229, Col: 49} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var435)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.ProductURL, Variant: button.VariantOutline, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var434), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.SearchSyncStatus != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var436 string + templ_7745c5c3_Var436, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1235, Col: 123} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var436)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 324, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = StatusText(page.SearchSyncStatus, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.SearchSyncUpdated != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var437 string + templ_7745c5c3_Var437, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncUpdated) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1240, Col: 126} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var437)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var438 string + templ_7745c5c3_Var438, templ_7745c5c3_Err = templ.JoinStringErrs(page.SearchSyncUpdated) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1241, Col: 68} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var438)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 328, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.SearchSyncError != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var439 string + templ_7745c5c3_Var439, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncLastError) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1246, Col: 128} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var439)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var440 string + templ_7745c5c3_Var440, templ_7745c5c3_Err = templ.JoinStringErrs(page.SearchSyncError) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1247, Col: 83} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var440)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 331, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.SearchSyncURL != "" { + templ_7745c5c3_Var441 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.ListTree(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 332, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var442 string + templ_7745c5c3_Var442, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationViewSearchSync) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1253, Col: 48} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var442)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.SearchSyncURL, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var441), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 334, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 335, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.MetaTitle != "" || page.MetaDescription != "" || len(page.Keywords) > 0 { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 336, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var443 string + templ_7745c5c3_Var443, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormSEOTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1260, Col: 84} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var443)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 337, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.MetaTitle != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMetaTitle, page.MetaTitle).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.MetaDescription != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMetaDescription, page.MetaDescription).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if len(page.Keywords) > 0 { + templ_7745c5c3_Err = moderationPillSection(labels.ProductFormKeywords, page.Keywords).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 338, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var426), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var425), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 339, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = AdminProductModel3DPanel(page, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 340, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +// adapts order_002 + product_003 +func AdminModerationDetail(page viewmodel.AdminModerationDetailPage, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var444 := templ.GetChildren(ctx) + if templ_7745c5c3_Var444 == nil { + templ_7745c5c3_Var444 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 341, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var445 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var446 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + if len(page.Gallery) > 0 { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var447 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 343, "\"")") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioVideo, Class: "overflow-hidden rounded-2xl border border-border/70 bg-muted"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var447), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Gallery) > 1 { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 346, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + for _, asset := range page.Gallery[1:] { + templ_7745c5c3_Var450 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, "\"")") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = aspectratio.AspectRatio(aspectratio.Props{Ratio: aspectratio.RatioSquare, Class: "overflow-hidden rounded-xl border border-border/70 bg-muted"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var450), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 351, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } else { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.Image(icon.Props{Class: "size-5"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var453 string + templ_7745c5c3_Var453, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormImage) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1308, Col: 52} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var453)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var446), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "overflow-hidden rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var445), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var454 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var455 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 355, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var456 string + templ_7745c5c3_Var456, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1317, Col: 114} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var456)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 356, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var457 string + templ_7745c5c3_Var457, templ_7745c5c3_Err = templ.JoinStringErrs(page.Title) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1318, Col: 83} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var457)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 357, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCategory, page.Category).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.WorkspaceTableAmount, page.Price).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.CompareAt != "" && page.CompareAt != "₺0.00" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCompareAt, page.CompareAt).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = moderationMetaCard(labels.ModerationSubmittedAt, page.CreatedAt).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.ModerationModeratedAt, moderationValueOrDash(page.ModeratedAt)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 358, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ifSection(page.Description, labels.ProductFormDescription).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 359, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Highlights) > 0 { + templ_7745c5c3_Err = moderationListSection(labels.ProductFormHighlights, page.Highlights).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 360, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Tags) > 0 || len(page.Colors) > 0 || page.Size != "" || page.Material != "" || page.Style != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 361, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if len(page.Tags) > 0 { + templ_7745c5c3_Err = moderationPillSection(labels.ProductFormTags, page.Tags).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if len(page.Colors) > 0 { + templ_7745c5c3_Err = moderationPillSection(labels.ProductFormColors, page.Colors).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Size != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormSize, page.Size).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Material != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMaterial, page.Material).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Style != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormStyle, page.Style).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 362, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var455), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var454), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 363, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var458 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var459 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 364, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var460 string + templ_7745c5c3_Var460, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModeration) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1359, Col: 112} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var460)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 365, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = StatusText(page.Status, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 366, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormCategory, page.Category).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = moderationMetaCard(labels.WorkspaceTableAmount, page.Price).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 367, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var461 string + templ_7745c5c3_Var461, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSellerLabel) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1368, Col: 118} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var461)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 368, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.Vendor != "" && page.Vendor != page.SellerEmail { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 369, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var462 string + templ_7745c5c3_Var462, templ_7745c5c3_Err = templ.JoinStringErrs(page.Vendor) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1370, Col: 68} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var462)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 370, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.SellerEmail != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 371, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var463 string + templ_7745c5c3_Var463, templ_7745c5c3_Err = templ.JoinStringErrs(page.SellerEmail) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1373, Col: 67} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var463)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 372, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 373, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var464 string + templ_7745c5c3_Var464, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDecisionReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1377, Col: 121} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var464)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 374, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.ModerationReason != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 375, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var465 string + templ_7745c5c3_Var465, templ_7745c5c3_Err = templ.JoinStringErrs(page.ModerationReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1379, Col: 82} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var465)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 376, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } else { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 377, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var466 string + templ_7745c5c3_Var466, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationNoReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1381, Col: 76} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var466)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 378, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 379, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.SearchSyncStatus != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 380, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var467 string + templ_7745c5c3_Var467, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1388, Col: 123} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var467)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 381, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = StatusText(page.SearchSyncStatus, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 382, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.SearchSyncUpdated != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 383, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var468 string + templ_7745c5c3_Var468, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncUpdated) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1393, Col: 126} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var468)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 384, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var469 string + templ_7745c5c3_Var469, templ_7745c5c3_Err = templ.JoinStringErrs(page.SearchSyncUpdated) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1394, Col: 68} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var469)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 385, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.SearchSyncError != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 386, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var470 string + templ_7745c5c3_Var470, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSearchSyncLastError) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1399, Col: 128} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var470)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 387, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var471 string + templ_7745c5c3_Var471, templ_7745c5c3_Err = templ.JoinStringErrs(page.SearchSyncError) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1400, Col: 83} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var471)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 388, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.SearchSyncURL != "" { + templ_7745c5c3_Var472 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.ListTree(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 389, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var473 string + templ_7745c5c3_Var473, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationViewSearchSync) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1406, Col: 48} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var473)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 390, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.SearchSyncURL, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var472), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 391, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 392, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.MetaTitle != "" || page.MetaDescription != "" || len(page.Keywords) > 0 { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 393, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var474 string + templ_7745c5c3_Var474, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormSEOTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1413, Col: 84} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var474)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 394, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.MetaTitle != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMetaTitle, page.MetaTitle).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.MetaDescription != "" { + templ_7745c5c3_Err = moderationMetaCard(labels.ProductFormMetaDescription, page.MetaDescription).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if len(page.Keywords) > 0 { + templ_7745c5c3_Err = moderationPillSection(labels.ProductFormKeywords, page.Keywords).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 395, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 396, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.CanApprove || page.CanReject { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 397, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.CanApprove { + templ_7745c5c3_Var475 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var476 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var477 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.Check(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 398, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var478 string + templ_7745c5c3_Var478, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApprove) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1432, Col: 43} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var478)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 399, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var477), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var476), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 400, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var479 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var480 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var481 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var482 string + templ_7745c5c3_Var482, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApproveTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1438, Col: 43} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var482)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var481), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 401, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var483 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var484 string + templ_7745c5c3_Var484, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApproveBody) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1441, Col: 42} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var484)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var483), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var480), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 402, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var486 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var487 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var488 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var489 string + templ_7745c5c3_Var489, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1448, Col: 34} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var489)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var488), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Close().Render(templ.WithChildren(ctx, templ_7745c5c3_Var487), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 404, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var490 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var491 string + templ_7745c5c3_Var491, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApprove) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1452, Col: 38} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var491)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Form: "moderation-approve-form", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var490), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var486), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var479), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "approve-product-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var475), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.CanReject { + templ_7745c5c3_Var492 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var493 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var494 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.X(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 405, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var495 string + templ_7745c5c3_Var495, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationReject) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1463, Col: 42} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var495)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 406, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantDestructive, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var494), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var493), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 407, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var496 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var497 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var498 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var499 string + templ_7745c5c3_Var499, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1469, Col: 42} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var499)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var498), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 408, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var500 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var501 string + templ_7745c5c3_Var501, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectBody) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1472, Col: 41} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var501)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var500), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var497), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 409, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var503 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var504 string + templ_7745c5c3_Var504, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectReason) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1477, Col: 43} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var504)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var503), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = textarea.Textarea(textarea.Props{ + Name: "reason", + Rows: 5, + AutoResize: true, + Placeholder: labels.ModerationRejectReasonPlaceholder, + Class: "rounded-2xl", + }).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 411, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var505 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var506 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var507 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var508 string + templ_7745c5c3_Var508, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1490, Col: 34} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var508)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var507), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Close().Render(templ.WithChildren(ctx, templ_7745c5c3_Var506), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 412, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var509 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var510 string + templ_7745c5c3_Var510, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationReject) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1494, Col: 37} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var510)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantDestructive, Type: button.TypeSubmit, Form: "moderation-reject-form", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var509), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var505), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var496), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "reject-product-dialog"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var492), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 413, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var459), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var458), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 414, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func moderationMetaCard(title, value string) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var511 := templ.GetChildren(ctx) + if templ_7745c5c3_Var511 == nil { + templ_7745c5c3_Var511 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 415, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var512 string + templ_7745c5c3_Var512, templ_7745c5c3_Err = templ.JoinStringErrs(title) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1510, Col: 90} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var512)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 416, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var513 string + templ_7745c5c3_Var513, templ_7745c5c3_Err = templ.JoinStringErrs(value) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1511, Col: 60} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var513)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 417, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func moderationListSection(title string, items []string) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var514 := templ.GetChildren(ctx) + if templ_7745c5c3_Var514 == nil { + templ_7745c5c3_Var514 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 418, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var515 string + templ_7745c5c3_Var515, templ_7745c5c3_Err = templ.JoinStringErrs(title) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1517, Col: 58} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var515)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 419, "

    ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + for _, item := range items { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 420, "
  • ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var516 string + templ_7745c5c3_Var516, templ_7745c5c3_Err = templ.JoinStringErrs(item) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1522, Col: 17} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var516)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 421, "
  • ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 422, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func moderationPillSection(title string, items []string) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var517 := templ.GetChildren(ctx) + if templ_7745c5c3_Var517 == nil { + templ_7745c5c3_Var517 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 423, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var518 string + templ_7745c5c3_Var518, templ_7745c5c3_Err = templ.JoinStringErrs(title) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1531, Col: 58} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var518)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 424, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + for _, item := range items { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 425, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var519 string + templ_7745c5c3_Var519, templ_7745c5c3_Err = templ.JoinStringErrs(item) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1534, Col: 135} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var519)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 426, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 427, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func ifSection(body, title string) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var520 := templ.GetChildren(ctx) + if templ_7745c5c3_Var520 == nil { + templ_7745c5c3_Var520 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + if body != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 428, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var521 string + templ_7745c5c3_Var521, templ_7745c5c3_Err = templ.JoinStringErrs(title) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1543, Col: 59} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var521)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 429, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var522 string + templ_7745c5c3_Var522, templ_7745c5c3_Err = templ.JoinStringErrs(body) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1544, Col: 86} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var522)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 430, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) +} + +// adapts gallery_grid_001 +func ProductGalleryUploader(gallery []viewmodel.ProductImageAsset, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var523 := templ.GetChildren(ctx) + if templ_7745c5c3_Var523 == nil { + templ_7745c5c3_Var523 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 431, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func productGalleryUploadPendingOverlay(labels viewmodel.SiteLabels, className string) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var533 := templ.GetChildren(ctx) + if templ_7745c5c3_Var533 == nil { + templ_7745c5c3_Var533 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + var templ_7745c5c3_Var534 = []any{"gallery-upload-pending htmx-indicator absolute inset-0 z-20 items-center justify-center border border-primary/20 bg-background/80 px-6 backdrop-blur-sm " + className} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var534...) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 449, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.Images(icon.Props{Class: "size-5 animate-pulse"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 451, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var536 string + templ_7745c5c3_Var536, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIUploadPending) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1622, Col: 73} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var536)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 452, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var537 string + templ_7745c5c3_Var537, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIUploadPendingBody) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1623, Col: 101} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var537)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 453, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func productGalleryAddTile(labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var538 := templ.GetChildren(ctx) + if templ_7745c5c3_Var538 == nil { + templ_7745c5c3_Var538 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 454, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.Images(icon.Props{Class: "size-5 text-muted-foreground"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 455, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var539 string + templ_7745c5c3_Var539, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormUploadAdd) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1644, Col: 76} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var539)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 456, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = fileinput.FileInput(fileinput.Props{ + Name: "asset", + Accept: "image/*", + Class: "absolute inset-0 cursor-pointer opacity-0", + Multiple: true, + }).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 457, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var540 := templ.GetChildren(ctx) + if templ_7745c5c3_Var540 == nil { + templ_7745c5c3_Var540 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Var541 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var542 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var543 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var544 string + templ_7745c5c3_Var544, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncCurrentJobs) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1658, Col: 43} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var544)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var543), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var542), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 458, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var545 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + if len(rows) == 0 { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 459, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var546 string + templ_7745c5c3_Var546, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncEmpty) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1663, Col: 84} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var546)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 460, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } else { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 461, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var547 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7746,7 +10392,7 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var412 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var548 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7758,7 +10404,7 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var413 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var549 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7770,7 +10416,7 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var414 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var550 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7782,26 +10428,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var415 string - templ_7745c5c3_Var415, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + var templ_7745c5c3_Var551 string + templ_7745c5c3_Var551, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1233, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1671, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var415)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var551)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var414), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var550), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 462, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var416 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var552 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7813,26 +10459,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var417 string - templ_7745c5c3_Var417, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncAction) + var templ_7745c5c3_Var553 string + templ_7745c5c3_Var553, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1236, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1674, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var417)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var553)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var416), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var552), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 463, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var418 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var554 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7844,26 +10490,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var419 string - templ_7745c5c3_Var419, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSource) + var templ_7745c5c3_Var555 string + templ_7745c5c3_Var555, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSource) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1239, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1677, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var419)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var555)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var418), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var554), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 464, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var420 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var556 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7875,26 +10521,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var421 string - templ_7745c5c3_Var421, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncPriority) + var templ_7745c5c3_Var557 string + templ_7745c5c3_Var557, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncPriority) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1242, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1680, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var421)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var557)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var420), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var556), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 324, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 465, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var422 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var558 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7906,38 +10552,38 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var423 string - templ_7745c5c3_Var423, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + var templ_7745c5c3_Var559 string + templ_7745c5c3_Var559, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1245, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1683, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var423)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var559)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var422), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var558), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var413), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var549), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var412), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var548), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 466, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var424 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var560 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7950,7 +10596,7 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit } ctx = templ.InitializeContext(ctx) for _, row := range rows { - templ_7745c5c3_Var425 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var561 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7962,7 +10608,7 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var426 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var562 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7974,26 +10620,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var427 string - templ_7745c5c3_Var427, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) + var templ_7745c5c3_Var563 string + templ_7745c5c3_Var563, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1253, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1691, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var427)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var563)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var426), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var562), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 467, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var428 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var564 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8005,26 +10651,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var429 string - templ_7745c5c3_Var429, templ_7745c5c3_Err = templ.JoinStringErrs(row.Action) + var templ_7745c5c3_Var565 string + templ_7745c5c3_Var565, templ_7745c5c3_Err = templ.JoinStringErrs(row.Action) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1256, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1694, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var429)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var565)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var428), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var564), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 468, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var430 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var566 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8036,26 +10682,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var431 string - templ_7745c5c3_Var431, templ_7745c5c3_Err = templ.JoinStringErrs(row.Source) + var templ_7745c5c3_Var567 string + templ_7745c5c3_Var567, templ_7745c5c3_Err = templ.JoinStringErrs(row.Source) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1259, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1697, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var431)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var567)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var430), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var566), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 328, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 469, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var432 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var568 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8067,26 +10713,26 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var433 string - templ_7745c5c3_Var433, templ_7745c5c3_Err = templ.JoinStringErrs(row.Priority) + var templ_7745c5c3_Var569 string + templ_7745c5c3_Var569, templ_7745c5c3_Err = templ.JoinStringErrs(row.Priority) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1262, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1700, Col: 25} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var433)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var569)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var432), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var568), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 470, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var434 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var570 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8098,7 +10744,7 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 471, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8107,67 +10753,67 @@ func SearchSyncJobsTable(rows []viewmodel.SearchSyncJobRow, labels viewmodel.Sit return templ_7745c5c3_Err } if row.LastError != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 331, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 472, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var435 string - templ_7745c5c3_Var435, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) + var templ_7745c5c3_Var571 string + templ_7745c5c3_Var571, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1268, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1706, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var435)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var571)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 332, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 473, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 474, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var434), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var570), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var425), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var561), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var424), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var560), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[720px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var411), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[720px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var547), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 334, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 475, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var409), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var545), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var405), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var541), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8191,17 +10837,17 @@ func SearchSyncNavigation(links []viewmodel.SearchSyncNavigationLink) templ.Comp }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var436 := templ.GetChildren(ctx) - if templ_7745c5c3_Var436 == nil { - templ_7745c5c3_Var436 = templ.NopComponent + templ_7745c5c3_Var572 := templ.GetChildren(ctx) + if templ_7745c5c3_Var572 == nil { + templ_7745c5c3_Var572 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 335, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 476, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, link := range links { - templ_7745c5c3_Var437 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var573 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8213,7 +10859,7 @@ func SearchSyncNavigation(links []viewmodel.SearchSyncNavigationLink) templ.Comp }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var438 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var574 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8225,50 +10871,50 @@ func SearchSyncNavigation(links []viewmodel.SearchSyncNavigationLink) templ.Comp }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 336, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 477, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var439 string - templ_7745c5c3_Var439, templ_7745c5c3_Err = templ.JoinStringErrs(link.Description) + var templ_7745c5c3_Var575 string + templ_7745c5c3_Var575, templ_7745c5c3_Err = templ.JoinStringErrs(link.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1290, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1728, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var439)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var575)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 337, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 478, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var440 string - templ_7745c5c3_Var440, templ_7745c5c3_Err = templ.JoinStringErrs(link.Title) + var templ_7745c5c3_Var576 string + templ_7745c5c3_Var576, templ_7745c5c3_Err = templ.JoinStringErrs(link.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1291, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1729, Col: 68} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var440)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var576)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 338, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 479, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var441 string - templ_7745c5c3_Var441, templ_7745c5c3_Err = templ.JoinStringErrs(link.Value) + var templ_7745c5c3_Var577 string + templ_7745c5c3_Var577, templ_7745c5c3_Err = templ.JoinStringErrs(link.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1294, Col: 55} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1732, Col: 55} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var441)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var577)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 339, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 480, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var442 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var578 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8280,12 +10926,12 @@ func SearchSyncNavigation(links []viewmodel.SearchSyncNavigationLink) templ.Comp }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var443 string - templ_7745c5c3_Var443, templ_7745c5c3_Err = templ.JoinStringErrs(link.Title) + var templ_7745c5c3_Var579 string + templ_7745c5c3_Var579, templ_7745c5c3_Err = templ.JoinStringErrs(link.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1302, Col: 18} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1740, Col: 18} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var443)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var579)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8295,24 +10941,24 @@ func SearchSyncNavigation(links []viewmodel.SearchSyncNavigationLink) templ.Comp Href: link.Href, Variant: linkVariant(link.IsActive), Class: "w-full rounded-xl", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var442), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var578), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var438), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var574), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var437), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var573), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 340, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 481, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8336,12 +10982,12 @@ func SearchSyncStorageWarning(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var444 := templ.GetChildren(ctx) - if templ_7745c5c3_Var444 == nil { - templ_7745c5c3_Var444 = templ.NopComponent + templ_7745c5c3_Var580 := templ.GetChildren(ctx) + if templ_7745c5c3_Var580 == nil { + templ_7745c5c3_Var580 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var445 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var581 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8353,7 +10999,7 @@ func SearchSyncStorageWarning(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var446 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var582 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8365,7 +11011,7 @@ func SearchSyncStorageWarning(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 341, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 482, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8373,45 +11019,45 @@ func SearchSyncStorageWarning(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 483, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var447 string - templ_7745c5c3_Var447, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncStorageWarning) + var templ_7745c5c3_Var583 string + templ_7745c5c3_Var583, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncStorageWarning) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1317, Col: 93} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1755, Col: 93} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var447)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var583)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 343, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 484, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var448 string - templ_7745c5c3_Var448, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncStorageWarningBody) + var templ_7745c5c3_Var584 string + templ_7745c5c3_Var584, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncStorageWarningBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1318, Col: 91} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1756, Col: 91} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var448)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var584)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 344, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 485, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-start gap-3 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var446), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-start gap-3 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var582), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-amber-500/40 bg-amber-500/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var445), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-amber-500/40 bg-amber-500/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var581), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8435,12 +11081,12 @@ func SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.Site }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var449 := templ.GetChildren(ctx) - if templ_7745c5c3_Var449 == nil { - templ_7745c5c3_Var449 = templ.NopComponent + templ_7745c5c3_Var585 := templ.GetChildren(ctx) + if templ_7745c5c3_Var585 == nil { + templ_7745c5c3_Var585 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var450 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var586 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8452,7 +11098,7 @@ func SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.Site }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var451 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var587 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8464,24 +11110,68 @@ func SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.Site }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 345, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var588 string + templ_7745c5c3_Var588, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSlugFilter) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1767, Col: 74} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var588)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 487, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var589 string + templ_7745c5c3_Var589, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1768, Col: 76} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var589)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 488, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if strings.TrimSpace(slug) != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 489, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ActiveFilterChip(slug, searchSyncFilterURL(actionURL, "", 1)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 490, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 491, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 492, "\" method=\"get\" class=\"flex flex-col gap-3 md:flex-row md:items-end\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var453 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var591 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8493,18 +11183,18 @@ func SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.Site }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var454 string - templ_7745c5c3_Var454, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSlugFilter) + var templ_7745c5c3_Var592 string + templ_7745c5c3_Var592, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSlugFilter) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1330, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1779, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var454)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var592)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "search-sync-slug"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var453), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "search-sync-slug"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var591), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8519,11 +11209,11 @@ func SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.Site if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 493, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var455 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var593 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8535,22 +11225,22 @@ func SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.Site }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var456 string - templ_7745c5c3_Var456, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) + var templ_7745c5c3_Var594 string + templ_7745c5c3_Var594, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1343, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1792, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var456)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var594)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var455), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var593), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var457 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var595 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8562,34 +11252,34 @@ func SearchSyncFilterBar(actionURL, clearURL, slug string, labels viewmodel.Site }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var458 string - templ_7745c5c3_Var458, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) + var templ_7745c5c3_Var596 string + templ_7745c5c3_Var596, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1346, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1795, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var458)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var596)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: clearURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var457), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: clearURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var595), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 348, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 494, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var451), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var587), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var450), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var586), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8613,17 +11303,17 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var459 := templ.GetChildren(ctx) - if templ_7745c5c3_Var459 == nil { - templ_7745c5c3_Var459 = templ.NopComponent + templ_7745c5c3_Var597 := templ.GetChildren(ctx) + if templ_7745c5c3_Var597 == nil { + templ_7745c5c3_Var597 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if nav.TotalPages > 1 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 349, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 495, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var460 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var598 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8635,7 +11325,7 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var461 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var599 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8647,7 +11337,7 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var462 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var600 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8669,12 +11359,12 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode } return nil }) - templ_7745c5c3_Err = pagination.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var462), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = pagination.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var600), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, page := range nav.Pages { - templ_7745c5c3_Var463 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var601 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8686,7 +11376,7 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var464 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var602 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8698,12 +11388,12 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var465 string - templ_7745c5c3_Var465, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", page.Number)) + var templ_7745c5c3_Var603 string + templ_7745c5c3_Var603, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", page.Number)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1372, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1821, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var465)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var603)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8712,22 +11402,22 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode templ_7745c5c3_Err = pagination.Link(pagination.LinkProps{ Href: page.Href, IsActive: page.IsActive, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var464), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var602), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = pagination.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var463), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = pagination.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var601), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 496, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var466 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var604 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8749,23 +11439,23 @@ func SearchSyncPaginationNav(nav viewmodel.SearchSyncPagination, labels viewmode } return nil }) - templ_7745c5c3_Err = pagination.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var466), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = pagination.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var604), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = pagination.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var461), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = pagination.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var599), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = pagination.Pagination().Render(templ.WithChildren(ctx, templ_7745c5c3_Var460), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = pagination.Pagination().Render(templ.WithChildren(ctx, templ_7745c5c3_Var598), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 351, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 497, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8790,12 +11480,12 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var467 := templ.GetChildren(ctx) - if templ_7745c5c3_Var467 == nil { - templ_7745c5c3_Var467 = templ.NopComponent + templ_7745c5c3_Var605 := templ.GetChildren(ctx) + if templ_7745c5c3_Var605 == nil { + templ_7745c5c3_Var605 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var468 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var606 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8807,7 +11497,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var469 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var607 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8819,7 +11509,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var470 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var608 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8831,32 +11521,32 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var471 string - templ_7745c5c3_Var471, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncRecentAttempts) + var templ_7745c5c3_Var609 string + templ_7745c5c3_Var609, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncRecentAttempts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1393, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1842, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var471)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var609)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var470), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var608), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var469), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var607), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 498, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var472 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var610 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8869,29 +11559,29 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm } ctx = templ.InitializeContext(ctx) if len(rows) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 499, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var473 string - templ_7745c5c3_Var473, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncEmpty) + var templ_7745c5c3_Var611 string + templ_7745c5c3_Var611, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1398, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1847, Col: 84} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var473)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var611)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 500, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 355, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 501, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var474 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var612 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8903,7 +11593,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var475 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var613 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8915,7 +11605,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var476 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var614 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8927,7 +11617,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var477 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var615 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8939,26 +11629,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var478 string - templ_7745c5c3_Var478, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) + var templ_7745c5c3_Var616 string + templ_7745c5c3_Var616, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1406, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1855, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var478)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var616)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var477), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var615), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 356, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 502, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var479 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var617 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8970,26 +11660,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var480 string - templ_7745c5c3_Var480, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncStage) + var templ_7745c5c3_Var618 string + templ_7745c5c3_Var618, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncStage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1409, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1858, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var480)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var618)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var479), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var617), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 357, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 503, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var481 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var619 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9001,26 +11691,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var482 string - templ_7745c5c3_Var482, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + var templ_7745c5c3_Var620 string + templ_7745c5c3_Var620, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1412, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1861, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var482)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var620)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var481), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var619), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 358, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 504, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var483 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var621 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9032,26 +11722,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var484 string - templ_7745c5c3_Var484, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSource) + var templ_7745c5c3_Var622 string + templ_7745c5c3_Var622, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSource) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1415, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1864, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var484)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var622)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var483), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var621), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 359, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 505, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var485 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var623 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9063,26 +11753,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var486 string - templ_7745c5c3_Var486, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncDuration) + var templ_7745c5c3_Var624 string + templ_7745c5c3_Var624, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncDuration) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1418, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1867, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var486)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var624)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var485), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var623), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 360, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 506, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var487 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var625 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9094,38 +11784,38 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var488 string - templ_7745c5c3_Var488, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + var templ_7745c5c3_Var626 string + templ_7745c5c3_Var626, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1421, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1870, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var488)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var626)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var487), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var625), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var476), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var614), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var475), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var613), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 361, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 507, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var489 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var627 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9138,7 +11828,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm } ctx = templ.InitializeContext(ctx) for _, row := range rows { - templ_7745c5c3_Var490 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var628 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9150,7 +11840,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var491 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var629 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9162,26 +11852,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var492 string - templ_7745c5c3_Var492, templ_7745c5c3_Err = templ.JoinStringErrs(row.StartedAt) + var templ_7745c5c3_Var630 string + templ_7745c5c3_Var630, templ_7745c5c3_Err = templ.JoinStringErrs(row.StartedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1429, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1878, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var492)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var630)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var491), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var629), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 362, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 508, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var493 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var631 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9193,26 +11883,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var494 string - templ_7745c5c3_Var494, templ_7745c5c3_Err = templ.JoinStringErrs(row.Stage) + var templ_7745c5c3_Var632 string + templ_7745c5c3_Var632, templ_7745c5c3_Err = templ.JoinStringErrs(row.Stage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1432, Col: 22} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1881, Col: 22} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var494)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var632)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var493), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var631), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 363, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 509, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var495 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var633 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9224,26 +11914,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var496 string - templ_7745c5c3_Var496, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) + var templ_7745c5c3_Var634 string + templ_7745c5c3_Var634, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1435, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1884, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var496)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var634)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var495), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var633), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 364, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 510, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var497 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var635 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9255,26 +11945,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var498 string - templ_7745c5c3_Var498, templ_7745c5c3_Err = templ.JoinStringErrs(row.Source) + var templ_7745c5c3_Var636 string + templ_7745c5c3_Var636, templ_7745c5c3_Err = templ.JoinStringErrs(row.Source) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1438, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1887, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var498)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var636)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var497), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var635), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 365, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 511, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var499 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var637 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9286,26 +11976,26 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var500 string - templ_7745c5c3_Var500, templ_7745c5c3_Err = templ.JoinStringErrs(row.Duration) + var templ_7745c5c3_Var638 string + templ_7745c5c3_Var638, templ_7745c5c3_Err = templ.JoinStringErrs(row.Duration) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1441, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1890, Col: 25} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var500)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var638)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var499), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var637), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 366, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 512, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var501 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var639 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9317,7 +12007,7 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 367, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 513, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9326,67 +12016,67 @@ func SearchSyncAttemptsTable(rows []viewmodel.SearchSyncAttemptRow, labels viewm return templ_7745c5c3_Err } if row.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 368, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 514, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var502 string - templ_7745c5c3_Var502, templ_7745c5c3_Err = templ.JoinStringErrs(row.Error) + var templ_7745c5c3_Var640 string + templ_7745c5c3_Var640, templ_7745c5c3_Err = templ.JoinStringErrs(row.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1447, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1896, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var502)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var640)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 369, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 515, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 370, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 516, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var501), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var639), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var490), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var628), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var489), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var627), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[760px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var474), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[760px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var612), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 371, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 517, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var472), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var610), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var468), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var606), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9410,9 +12100,9 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var503 := templ.GetChildren(ctx) - if templ_7745c5c3_Var503 == nil { - templ_7745c5c3_Var503 = templ.NopComponent + templ_7745c5c3_Var641 := templ.GetChildren(ctx) + if templ_7745c5c3_Var641 == nil { + templ_7745c5c3_Var641 = templ.NopComponent } ctx = templ.ClearChildren(ctx) tableID := "admin-search-sync-audit-table" @@ -9420,7 +12110,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode {ID: "source", Label: labels.WorkspaceSearchSyncSource}, {ID: "priority", Label: labels.WorkspaceSearchSyncPriority}, } - templ_7745c5c3_Var504 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var642 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9432,7 +12122,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var505 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var643 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9444,11 +12134,11 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 372, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 518, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var506 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var644 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9460,18 +12150,18 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var507 string - templ_7745c5c3_Var507, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncCurrentJobs) + var templ_7745c5c3_Var645 string + templ_7745c5c3_Var645, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncCurrentJobs) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1474, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1923, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var507)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var645)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var506), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var644), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -9479,21 +12169,21 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 373, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 519, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var505), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var643), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 374, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 520, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var508 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var646 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9506,42 +12196,42 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode } ctx = templ.InitializeContext(ctx) if len(rows) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 375, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 521, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var509 string - templ_7745c5c3_Var509, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncEmpty) + var templ_7745c5c3_Var647 string + templ_7745c5c3_Var647, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1481, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1930, Col: 84} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var509)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var647)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 376, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 522, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 377, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 524, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var511 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var649 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9553,7 +12243,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var512 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var650 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9565,7 +12255,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var513 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var651 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9577,7 +12267,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var514 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var652 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9589,26 +12279,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var515 string - templ_7745c5c3_Var515, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + var templ_7745c5c3_Var653 string + templ_7745c5c3_Var653, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1489, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1938, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var515)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var653)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var514), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var652), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 379, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 525, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var516 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var654 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9620,26 +12310,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var517 string - templ_7745c5c3_Var517, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncAction) + var templ_7745c5c3_Var655 string + templ_7745c5c3_Var655, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1492, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1941, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var517)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var655)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var516), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var654), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 380, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 526, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var518 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var656 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9651,26 +12341,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var519 string - templ_7745c5c3_Var519, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSource) + var templ_7745c5c3_Var657 string + templ_7745c5c3_Var657, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncSource) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1495, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1944, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var519)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var657)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-32"), Attributes: templ.Attributes{"data-btk-column": "source"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var518), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-32"), Attributes: templ.Attributes{"data-btk-column": "source"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var656), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 381, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 527, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var520 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var658 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9682,26 +12372,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var521 string - templ_7745c5c3_Var521, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncPriority) + var templ_7745c5c3_Var659 string + templ_7745c5c3_Var659, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncPriority) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1498, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1947, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var521)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var659)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-24"), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var520), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-24"), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var658), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 382, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 528, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var522 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var660 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9713,26 +12403,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var523 string - templ_7745c5c3_Var523, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncAttempts) + var templ_7745c5c3_Var661 string + templ_7745c5c3_Var661, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncAttempts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1501, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1950, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var523)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var661)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var522), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var660), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 383, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 529, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var524 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var662 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9744,26 +12434,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var525 string - templ_7745c5c3_Var525, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) + var templ_7745c5c3_Var663 string + templ_7745c5c3_Var663, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1504, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1953, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var525)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var663)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var524), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var662), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 384, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 530, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var526 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var664 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9775,26 +12465,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var527 string - templ_7745c5c3_Var527, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + var templ_7745c5c3_Var665 string + templ_7745c5c3_Var665, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1507, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1956, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var527)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var665)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var526), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var664), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 385, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 531, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var528 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var666 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9806,46 +12496,46 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 386, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 532, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var529 string - templ_7745c5c3_Var529, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + var templ_7745c5c3_Var667 string + templ_7745c5c3_Var667, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1510, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1959, Col: 54} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var529)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var667)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 387, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 533, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var528), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var666), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var513), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var651), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var512), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var650), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 388, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 534, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var530 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var668 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9859,7 +12549,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode ctx = templ.InitializeContext(ctx) for index, row := range rows { sheetID := fmt.Sprintf("%s-%d", tableID, index) - templ_7745c5c3_Var531 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var669 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9871,7 +12561,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var532 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var670 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9883,26 +12573,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var533 string - templ_7745c5c3_Var533, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) + var templ_7745c5c3_Var671 string + templ_7745c5c3_Var671, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1519, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1968, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var533)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var671)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var532), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var670), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 389, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 535, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var534 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var672 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9914,26 +12604,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var535 string - templ_7745c5c3_Var535, templ_7745c5c3_Err = templ.JoinStringErrs(row.Action) + var templ_7745c5c3_Var673 string + templ_7745c5c3_Var673, templ_7745c5c3_Err = templ.JoinStringErrs(row.Action) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1522, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1971, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var535)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var673)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var534), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var672), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 390, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 536, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var536 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var674 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9945,26 +12635,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var537 string - templ_7745c5c3_Var537, templ_7745c5c3_Err = templ.JoinStringErrs(row.Source) + var templ_7745c5c3_Var675 string + templ_7745c5c3_Var675, templ_7745c5c3_Err = templ.JoinStringErrs(row.Source) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1525, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1974, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var537)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var675)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "source"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var536), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "source"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var674), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 391, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 537, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var538 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var676 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -9976,26 +12666,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var539 string - templ_7745c5c3_Var539, templ_7745c5c3_Err = templ.JoinStringErrs(row.Priority) + var templ_7745c5c3_Var677 string + templ_7745c5c3_Var677, templ_7745c5c3_Err = templ.JoinStringErrs(row.Priority) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1528, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1977, Col: 25} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var539)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var677)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var538), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var676), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 392, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 538, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var540 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var678 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10007,26 +12697,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var541 string - templ_7745c5c3_Var541, templ_7745c5c3_Err = templ.JoinStringErrs(row.AttemptCount) + var templ_7745c5c3_Var679 string + templ_7745c5c3_Var679, templ_7745c5c3_Err = templ.JoinStringErrs(row.AttemptCount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1531, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1980, Col: 29} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var541)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var679)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var540), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var678), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 393, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 539, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var542 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var680 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10038,26 +12728,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var543 string - templ_7745c5c3_Var543, templ_7745c5c3_Err = templ.JoinStringErrs(row.UpdatedAt) + var templ_7745c5c3_Var681 string + templ_7745c5c3_Var681, templ_7745c5c3_Err = templ.JoinStringErrs(row.UpdatedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1534, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1983, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var543)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var681)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var542), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var680), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 394, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 540, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var544 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var682 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10069,7 +12759,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 395, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 541, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10078,39 +12768,39 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode return templ_7745c5c3_Err } if row.LastError != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 396, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 542, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var545 string - templ_7745c5c3_Var545, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) + var templ_7745c5c3_Var683 string + templ_7745c5c3_Var683, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1540, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1989, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var545)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var683)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 397, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 543, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 398, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 544, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var544), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var682), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 399, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 545, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var546 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var684 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10122,7 +12812,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var547 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var685 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10138,11 +12828,11 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 400, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 546, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var548 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var686 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10154,7 +12844,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var549 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var687 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10166,7 +12856,7 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var550 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var688 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10178,26 +12868,26 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var551 string - templ_7745c5c3_Var551, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) + var templ_7745c5c3_Var689 string + templ_7745c5c3_Var689, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1550, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1999, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var551)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var689)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var550), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var688), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 401, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 547, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var552 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var690 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10209,28 +12899,28 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var553 string - templ_7745c5c3_Var553, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + var templ_7745c5c3_Var691 string + templ_7745c5c3_Var691, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1553, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2002, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var553)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var691)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var552), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var690), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var549), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var687), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 402, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 548, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10258,61 +12948,236 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 403, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 549, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var548), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var686), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var547), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var685), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var546), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var684), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var531), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var669), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var530), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var668), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[860px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var511), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[860px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var649), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 404, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 550, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - return nil - }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var508), templ_7745c5c3_Buffer) + return nil + }) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var646), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var642), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func linkVariant(active bool) button.Variant { + if active { + return button.VariantOutline + } + return button.VariantGhost +} + +func moderationValueOrDash(value string) string { + if value == "" { + return "—" + } + return value +} + +func aiLogStatusFilterLabel(status string, labels viewmodel.SiteLabels) string { + switch strings.ToLower(strings.TrimSpace(status)) { + case "success": + return labels.WorkspaceAILogsFilterSuccess + case "error": + return labels.StatusError + default: + return labels.WorkspaceAILogsFilterAll + } +} + +func jobsStatusFilterLabel(status string, labels viewmodel.SiteLabels) string { + switch strings.TrimSpace(status) { + case "queued": + return labels.StatusReady + case "processing": + return labels.StatusProcessing + case "completed": + return labels.StatusReady + case "failed": + return labels.StatusError + case "cancelled": + return labels.StatusCancelled + default: + return labels.WorkspaceJobsFilterAll + } +} + +func aiLogFilterURL(provider, status, jobID, slug, query string) string { + values := url.Values{} + if provider = strings.TrimSpace(provider); provider != "" { + values.Set("provider", provider) + } + if status = strings.TrimSpace(status); status != "" { + values.Set("status", status) + } + if jobID = strings.TrimSpace(jobID); jobID != "" { + values.Set("job_id", jobID) + } + if slug = strings.TrimSpace(slug); slug != "" { + values.Set("slug", slug) + } + if query = strings.TrimSpace(query); query != "" { + values.Set("q", query) + } + if encoded := values.Encode(); encoded != "" { + return "/admin/ai-logs?" + encoded + } + return "/admin/ai-logs" +} + +func adminJobsFilterURL(slug, query, kind, status string, page int) string { + values := url.Values{} + if slug = strings.TrimSpace(slug); slug != "" { + values.Set("slug", slug) + } + if query = strings.TrimSpace(query); query != "" { + values.Set("q", query) + } + if kind = strings.TrimSpace(kind); kind != "" { + values.Set("kind", kind) + } + if status = strings.TrimSpace(status); status != "" { + values.Set("status", status) + } + if page > 1 { + values.Set("page", strconv.Itoa(page)) + } + if encoded := values.Encode(); encoded != "" { + return "/admin/jobs/list?" + encoded + } + return "/admin/jobs/list" +} + +func searchSyncFilterURL(path, slug string, page int) string { + values := url.Values{} + if slug = strings.TrimSpace(slug); slug != "" { + values.Set("slug", slug) + } + if page > 1 { + values.Set("page", strconv.Itoa(page)) + } + if encoded := values.Encode(); encoded != "" { + return path + "?" + encoded + } + return path +} + +func activeNavLabel(items []viewmodel.NavItem, fallback string) string { + for _, item := range items { + if item.IsActive { + return item.Label + } + } + return fallback +} + +func ActiveFilterChip(label, href string) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var692 := templ.GetChildren(ctx) + if templ_7745c5c3_Var692 == nil { + templ_7745c5c3_Var692 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Var693 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 551, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var694 string + templ_7745c5c3_Var694, templ_7745c5c3_Err = templ.JoinStringErrs(label) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2140, Col: 15} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var694)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 552, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.X(icon.Props{Class: "ml-1 size-3.5"}).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var504), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: href, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-full px-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var693), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10320,20 +13185,6 @@ func SearchSyncJobsAuditTable(rows []viewmodel.SearchSyncJobRow, labels viewmode }) } -func linkVariant(active bool) button.Variant { - if active { - return button.VariantOutline - } - return button.VariantGhost -} - -func moderationValueOrDash(value string) string { - if value == "" { - return "—" - } - return value -} - // --- AI Interaction Logs Table --- func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmodel.SiteLabels) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { @@ -10351,9 +13202,9 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var554 := templ.GetChildren(ctx) - if templ_7745c5c3_Var554 == nil { - templ_7745c5c3_Var554 = templ.NopComponent + templ_7745c5c3_Var695 := templ.GetChildren(ctx) + if templ_7745c5c3_Var695 == nil { + templ_7745c5c3_Var695 = templ.NopComponent } ctx = templ.ClearChildren(ctx) tableID := "admin-ai-logs-table" @@ -10362,7 +13213,7 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod {ID: "product-slug", Label: labels.WorkspaceTableProduct}, } if len(rows) == 0 { - templ_7745c5c3_Var555 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var696 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10374,7 +13225,7 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var556 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var697 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10390,46 +13241,46 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 405, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 553, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var557 string - templ_7745c5c3_Var557, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsEmpty) + var templ_7745c5c3_Var698 string + templ_7745c5c3_Var698, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1605, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2158, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var557)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var698)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-center gap-3 p-6 text-sm text-muted-foreground"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var556), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-center gap-3 p-6 text-sm text-muted-foreground"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var697), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var555), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var696), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 406, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 555, "\" class=\"space-y-3\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -10437,11 +13288,11 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 408, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 556, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var559 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var700 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10453,7 +13304,7 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var560 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var701 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10465,7 +13316,7 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var561 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var702 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10477,7 +13328,69 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var562 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var703 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var704 string + templ_7745c5c3_Var704, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsProvider) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2170, Col: 40} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var704)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-44"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var703), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 557, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var705 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var706 string + templ_7745c5c3_Var706, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsOperation) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2173, Col: 41} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var706)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "min-w-64"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var705), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 558, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var707 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10489,26 +13402,26 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var563 string - templ_7745c5c3_Var563, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsProvider) + var templ_7745c5c3_Var708 string + templ_7745c5c3_Var708, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsJob) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1617, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2176, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var563)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var708)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-44"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var562), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-32"), Attributes: templ.Attributes{"data-btk-column": "job-id"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var707), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 409, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 559, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var564 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var709 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10520,26 +13433,26 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var565 string - templ_7745c5c3_Var565, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsOperation) + var templ_7745c5c3_Var710 string + templ_7745c5c3_Var710, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1620, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2179, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var565)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var710)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "min-w-64"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var564), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "product-slug"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var709), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 410, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 560, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var566 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var711 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10551,26 +13464,26 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var567 string - templ_7745c5c3_Var567, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsJob) + var templ_7745c5c3_Var712 string + templ_7745c5c3_Var712, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1623, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2182, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var567)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var712)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-32"), Attributes: templ.Attributes{"data-btk-column": "job-id"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var566), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var711), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 411, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 561, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var568 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var713 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10582,26 +13495,26 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var569 string - templ_7745c5c3_Var569, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + var templ_7745c5c3_Var714 string + templ_7745c5c3_Var714, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsLatency) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1626, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2185, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var569)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var714)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "product-slug"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var568), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var713), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 412, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 562, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var570 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var715 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10613,26 +13526,91 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var571 string - templ_7745c5c3_Var571, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + var templ_7745c5c3_Var716 string + templ_7745c5c3_Var716, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1629, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2188, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var571)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var716)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var570), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var715), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 563, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 413, " ") + templ_7745c5c3_Var717 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 564, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var718 string + templ_7745c5c3_Var718, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2191, Col: 52} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var718)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 565, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var717), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var572 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + return nil + }) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var702), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var701), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 566, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var719 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + for index, row := range rows { + sheetID := fmt.Sprintf("%s-%d", tableID, index) + templ_7745c5c3_Var720 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10644,122 +13622,438 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var573 string - templ_7745c5c3_Var573, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsLatency) + templ_7745c5c3_Var721 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var722 string + templ_7745c5c3_Var722, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2200, Col: 23} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var722)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var721), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 567, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var723 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 568, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var724 string + templ_7745c5c3_Var724, templ_7745c5c3_Err = templ.JoinStringErrs(row.Operation) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2204, Col: 48} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var724)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 569, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if row.Model != "" { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 570, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var725 string + templ_7745c5c3_Var725, templ_7745c5c3_Err = templ.JoinStringErrs(row.Model) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2206, Col: 63} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var725)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 571, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 572, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var723), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 573, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var726 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var727 string + templ_7745c5c3_Var727, templ_7745c5c3_Err = templ.JoinStringErrs(row.JobID) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2211, Col: 20} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var727)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "job-id"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var726), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 574, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var728 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var729 string + templ_7745c5c3_Var729, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2214, Col: 26} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var729)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "product-slug"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var728), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1632, Col: 39} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var573)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 575, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var572), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 414, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var574 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var575 string - templ_7745c5c3_Var575, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) + templ_7745c5c3_Var730 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = aiLogStatus(row).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var730), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1635, Col: 35} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var575)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 576, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var574), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 415, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var576 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + templ_7745c5c3_Var731 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var732 string + templ_7745c5c3_Var732, templ_7745c5c3_Err = templ.JoinStringErrs(row.Latency) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2220, Col: 22} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var732)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var731), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 416, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 577, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var577 string - templ_7745c5c3_Var577, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + templ_7745c5c3_Var733 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var734 string + templ_7745c5c3_Var734, templ_7745c5c3_Err = templ.JoinStringErrs(row.CreatedAt) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2223, Col: 24} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var734)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var733), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1638, Col: 52} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var577)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 578, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 417, "") + templ_7745c5c3_Var735 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var736 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = ResponsiveTableDetailButton(sheetID, labels.CommonDetails, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 579, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var737 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var738 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var739 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var740 string + templ_7745c5c3_Var740, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider + " · " + row.Operation) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2231, Col: 52} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var740)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var739), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 580, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var741 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var742 string + templ_7745c5c3_Var742, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2234, Col: 35} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var742)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var741), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var738), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 581, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsJob, row.JobID, false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceTableProduct, row.ProductSlug, false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsLatency, row.Latency, false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceTableDate, row.CreatedAt, false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsRequest, strings.TrimSpace(row.Method+" "+row.URL), false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsResponse, strings.TrimSpace(row.ResponseStatus+" "+row.Error), false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsRequest, row.RequestPreview, false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsResponse, row.ResponsePreview, false).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 582, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var737), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var736), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var735), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var576), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var720), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 583, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var561), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var560), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 418, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var578 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - for index, row := range rows { - sheetID := fmt.Sprintf("%s-%d", tableID, index) - templ_7745c5c3_Var579 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var743 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10771,38 +14065,7 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var580 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var581 string - templ_7745c5c3_Var581, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1647, Col: 23} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var581)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var580), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 419, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var582 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var744 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10814,119 +14077,274 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 420, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var583 string - templ_7745c5c3_Var583, templ_7745c5c3_Err = templ.JoinStringErrs(row.Operation) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1651, Col: 48} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var583)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 584, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 421, "

") + templ_7745c5c3_Err = aiLogPayload(labels.WorkspaceAILogsRequest, row.Method, row.URL, row.RequestPreview).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - if row.Model != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 422, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - var templ_7745c5c3_Var584 string - templ_7745c5c3_Var584, templ_7745c5c3_Err = templ.JoinStringErrs(row.Model) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1653, Col: 63} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var584)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 423, "

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 424, "
") + templ_7745c5c3_Err = aiLogPayload(labels.WorkspaceAILogsResponse, row.ResponseStatus, row.Error, row.ResponsePreview).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return nil - }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var582), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 425, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var585 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var586 string - templ_7745c5c3_Var586, templ_7745c5c3_Err = templ.JoinStringErrs(row.JobID) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1658, Col: 20} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var586)) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 585, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "job-id"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var585), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "bg-muted/30 p-4", Attributes: templ.Attributes{"colspan": "8"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var744), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 426, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return nil + }) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var743), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var719), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[880px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var700), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 586, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func AILogFilterBar(actionURL, clearURL, provider, status, query, jobID, slug string, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var745 := templ.GetChildren(ctx) + if templ_7745c5c3_Var745 == nil { + templ_7745c5c3_Var745 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Var746 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var747 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr } - templ_7745c5c3_Var587 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 587, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var748 string + templ_7745c5c3_Var748, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsQuery) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2272, Col: 65} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var748)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 588, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var749 string + templ_7745c5c3_Var749, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsQueryPlaceholder) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2273, Col: 86} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var749)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 589, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if provider != "" { + templ_7745c5c3_Err = ActiveFilterChip(provider, aiLogFilterURL("", status, jobID, slug, query)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if status != "" { + templ_7745c5c3_Err = ActiveFilterChip(aiLogStatusFilterLabel(status, labels), aiLogFilterURL(provider, "", jobID, slug, query)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if query != "" { + templ_7745c5c3_Err = ActiveFilterChip(query, aiLogFilterURL(provider, status, jobID, slug, "")).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if jobID != "" { + templ_7745c5c3_Err = ActiveFilterChip(jobID, aiLogFilterURL(provider, status, "", slug, query)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if slug != "" { + templ_7745c5c3_Err = ActiveFilterChip(slug, aiLogFilterURL(provider, status, jobID, "", query)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 590, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if provider != "" { + templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "provider", Value: provider}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 592, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var751 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var588 string - templ_7745c5c3_Var588, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1661, Col: 26} + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var752 string + templ_7745c5c3_Var752, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsQuery) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2300, Col: 36} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var752)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{For: "ai-log-query"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var751), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = input.Input(input.Props{ID: "ai-log-query", Name: "q", Value: query, Placeholder: labels.WorkspaceAILogsQueryPlaceholder, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 593, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var753 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var588)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var754 string + templ_7745c5c3_Var754, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsStatus) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2306, Col: 37} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var754)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{For: "ai-log-status"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var753), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var755 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr } - return nil - }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "product-slug"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var587), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 427, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var756 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() } - templ_7745c5c3_Var589 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var757 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10938,21 +14356,46 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = aiLogStatus(row).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + if status != "" { + var templ_7745c5c3_Var758 string + templ_7745c5c3_Var758, templ_7745c5c3_Err = templ.JoinStringErrs(aiLogStatusFilterLabel(status, labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2312, Col: 50} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var758)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var589), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.WorkspaceAILogsStatus}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var757), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 428, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return nil + }) + templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "status", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var756), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 594, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var759 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() } - templ_7745c5c3_Var590 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var760 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10964,26 +14407,26 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var591 string - templ_7745c5c3_Var591, templ_7745c5c3_Err = templ.JoinStringErrs(row.Latency) + var templ_7745c5c3_Var761 string + templ_7745c5c3_Var761, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsFilterAll) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1667, Col: 22} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2318, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var591)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var761)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var590), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "", Selected: strings.TrimSpace(status) == ""}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var760), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 429, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 595, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var592 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var762 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -10995,226 +14438,26 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var593 string - templ_7745c5c3_Var593, templ_7745c5c3_Err = templ.JoinStringErrs(row.CreatedAt) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1670, Col: 24} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var593)) + var templ_7745c5c3_Var763 string + templ_7745c5c3_Var763, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsFilterSuccess) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var592), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 430, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var594 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2321, Col: 46} } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var595 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = ResponsiveTableDetailButton(sheetID, labels.CommonDetails, labels).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 431, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var596 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var597 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var598 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var599 string - templ_7745c5c3_Var599, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider + " · " + row.Operation) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1678, Col: 52} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var599)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var598), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 432, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var600 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var601 string - templ_7745c5c3_Var601, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1681, Col: 35} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var601)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var600), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var597), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 433, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsJob, row.JobID, false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceTableProduct, row.ProductSlug, false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsLatency, row.Latency, false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceTableDate, row.CreatedAt, false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsRequest, strings.TrimSpace(row.Method+" "+row.URL), false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsResponse, strings.TrimSpace(row.ResponseStatus+" "+row.Error), false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsRequest, row.RequestPreview, false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = ResponsiveTableDetailItem(labels.WorkspaceAILogsResponse, row.ResponsePreview, false).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 434, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var596), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var595), templ_7745c5c3_Buffer) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var763)) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var594), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var579), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 435, " ") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var602 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "success", Selected: strings.EqualFold(status, "success")}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var762), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var603 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 596, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var764 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11226,134 +14469,38 @@ func AIInteractionLogsTable(rows []viewmodel.AIInteractionLogRow, labels viewmod }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 436, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = aiLogPayload(labels.WorkspaceAILogsRequest, row.Method, row.URL, row.RequestPreview).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = aiLogPayload(labels.WorkspaceAILogsResponse, row.ResponseStatus, row.Error, row.ResponsePreview).Render(ctx, templ_7745c5c3_Buffer) + var templ_7745c5c3_Var765 string + templ_7745c5c3_Var765, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusError) if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2324, Col: 29} } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 437, "
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var765)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "bg-muted/30 p-4", Attributes: templ.Attributes{"colspan": "8"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var603), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "error", Selected: strings.EqualFold(status, "error")}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var764), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var602), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var759), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - } - return nil - }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var578), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[880px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var559), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 438, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) -} - -func AILogFilterBar(actionURL, clearURL, provider, status, query, jobID, slug string, labels viewmodel.SiteLabels) templ.Component { - return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { - return templ_7745c5c3_CtxErr - } - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var604 := templ.GetChildren(ctx) - if templ_7745c5c3_Var604 == nil { - templ_7745c5c3_Var604 = templ.NopComponent - } - ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var605 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var606 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 439, "") + return nil + }) + templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "ai-log-status"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var755), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - if provider != "" { - templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "provider", Value: provider}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - if status != "" { - templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "status", Value: status}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 441, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 597, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var608 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var766 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11365,30 +14512,22 @@ func AILogFilterBar(actionURL, clearURL, provider, status, query, jobID, slug st }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var609 string - templ_7745c5c3_Var609, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsQuery) + var templ_7745c5c3_Var767 string + templ_7745c5c3_Var767, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1726, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2331, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var609)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var767)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "ai-log-query"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var608), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = input.Input(input.Props{ID: "ai-log-query", Name: "q", Value: query, Placeholder: labels.WorkspaceAILogsOperation, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var766), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 442, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var610 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var768 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11400,30 +14539,26 @@ func AILogFilterBar(actionURL, clearURL, provider, status, query, jobID, slug st }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var611 string - templ_7745c5c3_Var611, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsJob) + var templ_7745c5c3_Var769 string + templ_7745c5c3_Var769, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1732, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2334, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var611)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var769)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "ai-log-job-id"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var610), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = input.Input(input.Props{ID: "ai-log-job-id", Name: "job_id", Value: jobID, Placeholder: "job id", Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: clearURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var768), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 443, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 598, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var612 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var770 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11435,30 +14570,30 @@ func AILogFilterBar(actionURL, clearURL, provider, status, query, jobID, slug st }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var613 string - templ_7745c5c3_Var613, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + var templ_7745c5c3_Var771 string + templ_7745c5c3_Var771, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsJob) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1738, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2341, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var613)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var771)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "ai-log-slug"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var612), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "ai-log-job-id"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var770), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = input.Input(input.Props{ID: "ai-log-slug", Name: "slug", Value: slug, Placeholder: labels.WorkspaceTableProduct, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = input.Input(input.Props{ID: "ai-log-job-id", Name: "job_id", Value: jobID, Placeholder: labels.WorkspaceAILogsJob, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 444, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 599, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var614 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var772 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11470,61 +14605,38 @@ func AILogFilterBar(actionURL, clearURL, provider, status, query, jobID, slug st }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var615 string - templ_7745c5c3_Var615, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) + var templ_7745c5c3_Var773 string + templ_7745c5c3_Var773, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1744, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2347, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var615)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var773)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var614), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "ai-log-slug"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var772), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var616 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var617 string - templ_7745c5c3_Var617, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1747, Col: 33} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var617)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Href: clearURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var616), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = input.Input(input.Props{ID: "ai-log-slug", Name: "slug", Value: slug, Placeholder: labels.WorkspaceTableProduct, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 445, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 600, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var606), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var747), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var605), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var746), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11548,12 +14660,12 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var618 := templ.GetChildren(ctx) - if templ_7745c5c3_Var618 == nil { - templ_7745c5c3_Var618 = templ.NopComponent + templ_7745c5c3_Var774 := templ.GetChildren(ctx) + if templ_7745c5c3_Var774 == nil { + templ_7745c5c3_Var774 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var619 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var775 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11565,7 +14677,7 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var620 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var776 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11577,11 +14689,11 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 446, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 601, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var621 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var777 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11593,27 +14705,27 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var622 string - templ_7745c5c3_Var622, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsDetail) + var templ_7745c5c3_Var778 string + templ_7745c5c3_Var778, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsDetail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1760, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2362, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var622)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var778)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var621), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var777), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 447, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 602, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.RelatedJobURL != "" { - templ_7745c5c3_Var623 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var779 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11625,23 +14737,23 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var624 string - templ_7745c5c3_Var624, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsRelatedJob) + var templ_7745c5c3_Var780 string + templ_7745c5c3_Var780, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsRelatedJob) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1765, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2367, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var624)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var780)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: page.RelatedJobURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var623), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.RelatedJobURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var779), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Var625 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var781 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11653,36 +14765,36 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var626 string - templ_7745c5c3_Var626, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonBack) + var templ_7745c5c3_Var782 string + templ_7745c5c3_Var782, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonBack) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1769, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2371, Col: 25} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var626)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var782)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: page.BackURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var625), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.BackURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var781), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 448, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 603, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var620), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var776), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 449, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 604, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var627 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var783 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11694,7 +14806,7 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 450, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 605, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11714,7 +14826,7 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 451, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 606, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11726,19 +14838,19 @@ func AILogDetailCard(page viewmodel.AIInteractionLogDetailPage, labels viewmodel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 452, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 607, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var627), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var783), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var619), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var775), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11762,12 +14874,12 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var628 := templ.GetChildren(ctx) - if templ_7745c5c3_Var628 == nil { - templ_7745c5c3_Var628 = templ.NopComponent + templ_7745c5c3_Var784 := templ.GetChildren(ctx) + if templ_7745c5c3_Var784 == nil { + templ_7745c5c3_Var784 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var629 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var785 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11779,7 +14891,7 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var630 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var786 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11791,40 +14903,150 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 453, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var787 string + templ_7745c5c3_Var787, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsQuery) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2396, Col: 63} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var787)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 609, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var631 templ.SafeURL - templ_7745c5c3_Var631, templ_7745c5c3_Err = templ.JoinURLErrs(page.FilterActionURL) + var templ_7745c5c3_Var788 string + templ_7745c5c3_Var788, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsDetail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1792, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2397, Col: 74} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var631)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var788)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 454, "\" method=\"get\" class=\"grid gap-3 lg:grid-cols-[1fr_1fr_auto]\">") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 610, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.Kind != "" { - templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "kind", Value: page.Kind}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = ActiveFilterChip(activeNavLabel(page.KindFilters, page.Kind), adminJobsFilterURL(page.ProductSlug, page.Query, "", page.Status, 1)).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if page.Status != "" { - templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "status", Value: page.Status}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = ActiveFilterChip(jobsStatusFilterLabel(page.Status, labels), adminJobsFilterURL(page.ProductSlug, page.Query, page.Kind, "", 1)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.Query != "" { + templ_7745c5c3_Err = ActiveFilterChip(page.Query, adminJobsFilterURL(page.ProductSlug, "", page.Kind, page.Status, 1)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if page.ProductSlug != "" { + templ_7745c5c3_Err = ActiveFilterChip(page.ProductSlug, adminJobsFilterURL("", page.Query, page.Kind, page.Status, 1)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 611, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.Kind != "" { + templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "kind", Value: page.Kind}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 613, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var790 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var791 string + templ_7745c5c3_Var791, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsQuery) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2420, Col: 33} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var791)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{For: "jobs-query"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var790), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 455, "
") + templ_7745c5c3_Err = input.Input(input.Props{ID: "jobs-query", Name: "q", Value: page.Query, Placeholder: labels.WorkspaceJobsDetail, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 614, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var792 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var793 string + templ_7745c5c3_Var793, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2426, Col: 35} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var793)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{For: "jobs-status"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var792), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var632 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var794 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11835,31 +15057,269 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels } }() } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var633 string - templ_7745c5c3_Var633, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsQuery) + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var795 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var796 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + if page.Status != "" { + var templ_7745c5c3_Var797 string + templ_7745c5c3_Var797, templ_7745c5c3_Err = templ.JoinStringErrs(jobsStatusFilterLabel(page.Status, labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2432, Col: 53} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var797)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.WorkspaceTableStatus}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var796), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "status", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var795), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 615, " ") if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1801, Col: 33} + return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var633)) + templ_7745c5c3_Var798 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var799 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var800 string + templ_7745c5c3_Var800, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsFilterAll) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2438, Col: 39} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var800)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "", Selected: strings.TrimSpace(page.Status) == ""}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var799), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 616, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var801 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var802 string + templ_7745c5c3_Var802, templ_7745c5c3_Err = templ.JoinStringErrs(jobsStatusFilterLabel("queued", labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2441, Col: 49} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var802)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "queued", Selected: page.Status == "queued"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var801), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 617, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var803 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var804 string + templ_7745c5c3_Var804, templ_7745c5c3_Err = templ.JoinStringErrs(jobsStatusFilterLabel("processing", labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2444, Col: 53} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var804)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "processing", Selected: page.Status == "processing"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var803), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 618, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var805 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var806 string + templ_7745c5c3_Var806, templ_7745c5c3_Err = templ.JoinStringErrs(jobsStatusFilterLabel("completed", labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2447, Col: 52} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var806)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "completed", Selected: page.Status == "completed"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var805), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 619, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var807 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var808 string + templ_7745c5c3_Var808, templ_7745c5c3_Err = templ.JoinStringErrs(jobsStatusFilterLabel("failed", labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2450, Col: 49} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var808)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "failed", Selected: page.Status == "failed"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var807), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 620, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var809 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var810 string + templ_7745c5c3_Var810, templ_7745c5c3_Err = templ.JoinStringErrs(jobsStatusFilterLabel("cancelled", labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2453, Col: 52} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var810)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{Value: "cancelled", Selected: page.Status == "cancelled"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var809), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = selectbox.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var798), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "jobs-query"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var632), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = input.Input(input.Props{ID: "jobs-query", Name: "q", Value: page.Query, Placeholder: labels.WorkspaceJobsDetail, Class: "rounded-xl"}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "jobs-status"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var794), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 456, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 621, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var634 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var811 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11871,18 +15331,18 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var635 string - templ_7745c5c3_Var635, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + var templ_7745c5c3_Var812 string + templ_7745c5c3_Var812, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1807, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2460, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var635)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var812)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "jobs-slug"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var634), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "jobs-slug"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var811), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -11890,11 +15350,11 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 457, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 622, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var636 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var813 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11906,22 +15366,22 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var637 string - templ_7745c5c3_Var637, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) + var templ_7745c5c3_Var814 string + templ_7745c5c3_Var814, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1813, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2466, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var637)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var814)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var636), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var813), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var638 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var815 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11933,60 +15393,27 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var639 string - templ_7745c5c3_Var639, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) + var templ_7745c5c3_Var816 string + templ_7745c5c3_Var816, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1816, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2469, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var639)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var816)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: page.ClearURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var638), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.ClearURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var815), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 458, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 623, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, item := range page.KindFilters { - templ_7745c5c3_Var640 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var641 string - templ_7745c5c3_Var641, templ_7745c5c3_Err = templ.JoinStringErrs(item.Label) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1823, Col: 18} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var641)) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Href: item.Href, Variant: linkVariant(item.IsActive), Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var640), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 459, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - for _, item := range page.StatusFilters { - templ_7745c5c3_Var642 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var817 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -11998,35 +15425,35 @@ func JobsFilterBar(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var643 string - templ_7745c5c3_Var643, templ_7745c5c3_Err = templ.JoinStringErrs(item.Label) + var templ_7745c5c3_Var818 string + templ_7745c5c3_Var818, templ_7745c5c3_Err = templ.JoinStringErrs(item.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1830, Col: 18} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2476, Col: 18} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var643)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var818)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: item.Href, Variant: linkVariant(item.IsActive), Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var642), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: item.Href, Variant: linkVariant(item.IsActive), Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var817), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 460, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 624, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var630), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var786), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var629), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var785), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -12050,16 +15477,16 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var644 := templ.GetChildren(ctx) - if templ_7745c5c3_Var644 == nil { - templ_7745c5c3_Var644 = templ.NopComponent + templ_7745c5c3_Var819 := templ.GetChildren(ctx) + if templ_7745c5c3_Var819 == nil { + templ_7745c5c3_Var819 = templ.NopComponent } ctx = templ.ClearChildren(ctx) tableID := "admin-jobs-table" columns := []tableColumnOption{ {ID: "attempts", Label: labels.WorkspaceJobsAttempts}, } - templ_7745c5c3_Var645 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var820 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12071,7 +15498,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var646 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var821 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12083,11 +15510,11 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 461, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 625, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var647 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var822 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12099,22 +15526,22 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var648 string - templ_7745c5c3_Var648, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobs) + var templ_7745c5c3_Var823 string + templ_7745c5c3_Var823, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobs) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1849, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2495, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var648)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var823)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var647), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var822), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 462, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 626, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -12122,15 +15549,15 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 463, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 627, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "return_to", Value: page.ClearURL}).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = hiddenfield.HiddenField(hiddenfield.Props{Name: "return_to", Value: adminJobsFilterURL(page.ProductSlug, page.Query, page.Kind, page.Status, page.Pagination.CurrentPage)}).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var649 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var824 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12142,22 +15569,22 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var650 string - templ_7745c5c3_Var650, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsBulkRetry) + var templ_7745c5c3_Var825 string + templ_7745c5c3_Var825, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsBulkRetry) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1856, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2502, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var650)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var825)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var649), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var824), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var651 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var826 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12169,12 +15596,12 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var652 string - templ_7745c5c3_Var652, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsBulkCancel) + var templ_7745c5c3_Var827 string + templ_7745c5c3_Var827, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsBulkCancel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1868, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2514, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var652)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var827)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -12189,25 +15616,25 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te "formaction": "/admin/jobs/actions/bulk-cancel", "formmethod": "post", }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var651), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var826), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 464, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 628, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var646), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var821), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 465, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 629, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var653 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var828 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12220,42 +15647,42 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te } ctx = templ.InitializeContext(ctx) if len(page.Jobs) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 466, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 630, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var654 string - templ_7745c5c3_Var654, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEmpty) + var templ_7745c5c3_Var829 string + templ_7745c5c3_Var829, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1876, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2522, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var654)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var829)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 467, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 631, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 468, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 633, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var656 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var831 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12267,7 +15694,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var657 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var832 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12279,7 +15706,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var658 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var833 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12291,7 +15718,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var659 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var834 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12303,21 +15730,21 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 470, "\"\"") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 634, "\"\"") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var659), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var834), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 471, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 635, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var660 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var835 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12329,26 +15756,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var661 string - templ_7745c5c3_Var661, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsKind) + var templ_7745c5c3_Var836 string + templ_7745c5c3_Var836, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsKind) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1887, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2533, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var661)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var836)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-36"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var660), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-36"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var835), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 472, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 636, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var662 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var837 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12360,26 +15787,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var663 string - templ_7745c5c3_Var663, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) + var templ_7745c5c3_Var838 string + templ_7745c5c3_Var838, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1890, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2536, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var663)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var838)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "min-w-52"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var662), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "min-w-52"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var837), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 473, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 637, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var664 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var839 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12391,26 +15818,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var665 string - templ_7745c5c3_Var665, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsAttempts) + var templ_7745c5c3_Var840 string + templ_7745c5c3_Var840, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsAttempts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1893, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2539, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var665)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var840)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-24"), Attributes: templ.Attributes{"data-btk-column": "attempts"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var664), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-24"), Attributes: templ.Attributes{"data-btk-column": "attempts"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var839), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 474, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 638, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var666 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var841 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12422,26 +15849,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var667 string - templ_7745c5c3_Var667, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + var templ_7745c5c3_Var842 string + templ_7745c5c3_Var842, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1896, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2542, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var667)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var842)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var666), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var841), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 475, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 639, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var668 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var843 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12453,26 +15880,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var669 string - templ_7745c5c3_Var669, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) + var templ_7745c5c3_Var844 string + templ_7745c5c3_Var844, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1899, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2545, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var669)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var844)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var668), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var843), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 476, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 640, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var670 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var845 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12484,46 +15911,46 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 477, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 641, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var671 string - templ_7745c5c3_Var671, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + var templ_7745c5c3_Var846 string + templ_7745c5c3_Var846, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1902, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2548, Col: 54} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var671)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var846)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 478, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 642, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var670), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var845), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var658), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var833), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var657), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var832), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 479, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 643, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var672 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var847 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12537,7 +15964,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te ctx = templ.InitializeContext(ctx) for index, row := range page.Jobs { sheetID := fmt.Sprintf("%s-%d", tableID, index) - templ_7745c5c3_Var673 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var848 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12549,7 +15976,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var674 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var849 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12569,15 +15996,15 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var674), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var849), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 480, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 644, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var675 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var850 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12589,26 +16016,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var676 string - templ_7745c5c3_Var676, templ_7745c5c3_Err = templ.JoinStringErrs(row.Kind) + var templ_7745c5c3_Var851 string + templ_7745c5c3_Var851, templ_7745c5c3_Err = templ.JoinStringErrs(row.Kind) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1916, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2562, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var676)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var851)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var675), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var850), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 481, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 645, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var677 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var852 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12620,57 +16047,57 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 482, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 646, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var678 string - templ_7745c5c3_Var678, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) + var templ_7745c5c3_Var853 string + templ_7745c5c3_Var853, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductSlug) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1920, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2566, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var678)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var853)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 483, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 647, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if row.ProductName != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 484, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 648, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var679 string - templ_7745c5c3_Var679, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductName) + var templ_7745c5c3_Var854 string + templ_7745c5c3_Var854, templ_7745c5c3_Err = templ.JoinStringErrs(row.ProductName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1922, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2568, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var679)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var854)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 485, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 649, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 486, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 650, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var677), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var852), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 487, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 651, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var680 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var855 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12682,26 +16109,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var681 string - templ_7745c5c3_Var681, templ_7745c5c3_Err = templ.JoinStringErrs(row.AttemptLabel) + var templ_7745c5c3_Var856 string + templ_7745c5c3_Var856, templ_7745c5c3_Err = templ.JoinStringErrs(row.AttemptLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1927, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2573, Col: 29} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var681)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var856)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "attempts"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var680), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "attempts"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var855), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 488, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 652, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var682 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var857 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12713,7 +16140,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 489, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 653, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -12722,58 +16149,58 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te return templ_7745c5c3_Err } if row.RetryMessage != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 490, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 654, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var683 string - templ_7745c5c3_Var683, templ_7745c5c3_Err = templ.JoinStringErrs(row.RetryMessage) + var templ_7745c5c3_Var858 string + templ_7745c5c3_Var858, templ_7745c5c3_Err = templ.JoinStringErrs(row.RetryMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1933, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2579, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var683)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var858)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 491, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 655, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if row.LastError != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 492, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 656, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var684 string - templ_7745c5c3_Var684, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) + var templ_7745c5c3_Var859 string + templ_7745c5c3_Var859, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1936, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2582, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var684)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var859)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 493, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 657, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 494, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 658, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var682), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var857), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 495, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 659, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var685 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var860 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12785,26 +16212,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var686 string - templ_7745c5c3_Var686, templ_7745c5c3_Err = templ.JoinStringErrs(row.UpdatedAt) + var templ_7745c5c3_Var861 string + templ_7745c5c3_Var861, templ_7745c5c3_Err = templ.JoinStringErrs(row.UpdatedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1941, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2587, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var686)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var861)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var685), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var860), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 496, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 660, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var687 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var862 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12816,7 +16243,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var688 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var863 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12832,11 +16259,11 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 497, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 661, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var689 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var864 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12848,7 +16275,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var690 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var865 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12860,7 +16287,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var691 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var866 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12872,26 +16299,26 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var692 string - templ_7745c5c3_Var692, templ_7745c5c3_Err = templ.JoinStringErrs(row.Kind) + var templ_7745c5c3_Var867 string + templ_7745c5c3_Var867, templ_7745c5c3_Err = templ.JoinStringErrs(row.Kind) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1949, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2595, Col: 25} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var692)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var867)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var691), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var866), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 498, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 662, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var693 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var868 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12903,28 +16330,28 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var694 string - templ_7745c5c3_Var694, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + var templ_7745c5c3_Var869 string + templ_7745c5c3_Var869, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1952, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2598, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var694)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var869)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var693), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var868), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var690), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var865), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 499, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 663, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -12944,11 +16371,11 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 500, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 664, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var695 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var870 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12961,7 +16388,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te } ctx = templ.InitializeContext(ctx) if row.DetailURL != "" { - templ_7745c5c3_Var696 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var871 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -12973,41 +16400,41 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var697 string - templ_7745c5c3_Var697, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionOpen) + var templ_7745c5c3_Var872 string + templ_7745c5c3_Var872, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionOpen) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1964, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2610, Col: 48} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var697)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var872)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: row.DetailURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var696), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: row.DetailURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var871), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 501, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 665, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if row.RetryURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 502, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 667, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13015,7 +16442,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var699 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var874 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13027,45 +16454,45 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var700 string - templ_7745c5c3_Var700, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionRetry) + var templ_7745c5c3_Var875 string + templ_7745c5c3_Var875, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionRetry) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1971, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2617, Col: 50} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var700)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var875)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var699), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var874), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 504, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 668, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 505, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 669, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if row.CancelURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 506, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 671, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13073,7 +16500,7 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var702 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var877 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13085,83 +16512,83 @@ func JobsTable(page viewmodel.AdminJobsListPage, labels viewmodel.SiteLabels) te }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var703 string - templ_7745c5c3_Var703, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionCancel) + var templ_7745c5c3_Var878 string + templ_7745c5c3_Var878, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionCancel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 1979, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2625, Col: 51} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var703)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var878)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var702), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var877), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 508, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 672, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = sheet.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var695), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var870), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var689), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var864), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var688), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var863), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var687), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var862), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var673), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var848), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var672), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var847), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[980px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var656), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[980px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var831), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 509, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 673, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var653), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var828), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var645), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var820), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13185,12 +16612,12 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var704 := templ.GetChildren(ctx) - if templ_7745c5c3_Var704 == nil { - templ_7745c5c3_Var704 = templ.NopComponent + templ_7745c5c3_Var879 := templ.GetChildren(ctx) + if templ_7745c5c3_Var879 == nil { + templ_7745c5c3_Var879 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var705 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var880 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13202,7 +16629,7 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var706 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var881 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13214,11 +16641,11 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 510, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 674, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var707 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var882 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13230,40 +16657,40 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var708 string - templ_7745c5c3_Var708, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsDetail) + var templ_7745c5c3_Var883 string + templ_7745c5c3_Var883, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsDetail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2003, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2649, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var708)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var883)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var707), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var882), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 511, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 675, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.CanRetry { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 512, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 677, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13271,7 +16698,7 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var710 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var885 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13283,41 +16710,41 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var711 string - templ_7745c5c3_Var711, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionRetry) + var templ_7745c5c3_Var886 string + templ_7745c5c3_Var886, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionRetry) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2010, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2656, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var711)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var886)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var710), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var885), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 514, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 678, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if page.CanCancel { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 515, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 680, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13325,7 +16752,7 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var713 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var888 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13337,27 +16764,27 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var714 string - templ_7745c5c3_Var714, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionCancel) + var templ_7745c5c3_Var889 string + templ_7745c5c3_Var889, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionCancel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2018, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2664, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var714)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var889)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var713), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var888), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 517, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 681, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Var715 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var890 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13369,36 +16796,36 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var716 string - templ_7745c5c3_Var716, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonBack) + var templ_7745c5c3_Var891 string + templ_7745c5c3_Var891, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonBack) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2023, Col: 25} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2669, Col: 25} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var716)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var891)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: page.BackURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var715), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: page.BackURL, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var890), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 518, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 682, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var706), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var881), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 519, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 683, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var717 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var892 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13410,7 +16837,7 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 520, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 684, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13430,12 +16857,12 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 521, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 685, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.Job.RetryMessage != "" || page.Job.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 522, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 686, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13451,12 +16878,12 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 523, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 687, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 524, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 688, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13466,7 +16893,7 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 525, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 689, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13478,13 +16905,13 @@ func JobDetailCard(page viewmodel.AdminJobDetailPage, labels viewmodel.SiteLabel } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var717), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var892), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var705), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var880), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -13508,12 +16935,12 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var718 := templ.GetChildren(ctx) - if templ_7745c5c3_Var718 == nil { - templ_7745c5c3_Var718 = templ.NopComponent + templ_7745c5c3_Var893 := templ.GetChildren(ctx) + if templ_7745c5c3_Var893 == nil { + templ_7745c5c3_Var893 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var719 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var894 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13525,7 +16952,7 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var720 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var895 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13537,7 +16964,7 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var721 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var896 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13549,32 +16976,32 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var722 string - templ_7745c5c3_Var722, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEvents) + var templ_7745c5c3_Var897 string + templ_7745c5c3_Var897, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEvents) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2059, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2705, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var722)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var897)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var721), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var896), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var720), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var895), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 526, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 690, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var723 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var898 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13587,29 +17014,29 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab } ctx = templ.InitializeContext(ctx) if len(rows) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 527, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 691, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var724 string - templ_7745c5c3_Var724, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEmpty) + var templ_7745c5c3_Var899 string + templ_7745c5c3_Var899, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2064, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2710, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var724)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var899)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 528, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 692, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 529, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 693, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var725 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var900 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13621,7 +17048,7 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var726 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var901 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13633,7 +17060,7 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var727 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var902 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13645,7 +17072,7 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var728 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var903 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13657,26 +17084,26 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var729 string - templ_7745c5c3_Var729, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) + var templ_7745c5c3_Var904 string + templ_7745c5c3_Var904, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2072, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2718, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var729)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var904)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var728), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var903), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 530, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 694, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var730 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var905 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13688,26 +17115,26 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var731 string - templ_7745c5c3_Var731, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEventType) + var templ_7745c5c3_Var906 string + templ_7745c5c3_Var906, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsEventType) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2075, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2721, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var731)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var906)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var730), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var905), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 531, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 695, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var732 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var907 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13719,26 +17146,26 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var733 string - templ_7745c5c3_Var733, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) + var templ_7745c5c3_Var908 string + templ_7745c5c3_Var908, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2078, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2724, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var733)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var908)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var732), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var907), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 532, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 696, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var734 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var909 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13750,26 +17177,26 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var735 string - templ_7745c5c3_Var735, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActor) + var templ_7745c5c3_Var910 string + templ_7745c5c3_Var910, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2081, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2727, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var735)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var910)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var734), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var909), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 533, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 697, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var736 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var911 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13781,38 +17208,38 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var737 string - templ_7745c5c3_Var737, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsAttempts) + var templ_7745c5c3_Var912 string + templ_7745c5c3_Var912, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsAttempts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2084, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2730, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var737)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var912)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var736), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var911), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var727), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var902), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var726), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var901), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 534, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 698, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var738 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var913 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13825,7 +17252,7 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab } ctx = templ.InitializeContext(ctx) for _, row := range rows { - templ_7745c5c3_Var739 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var914 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13837,7 +17264,7 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var740 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var915 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13849,26 +17276,26 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var741 string - templ_7745c5c3_Var741, templ_7745c5c3_Err = templ.JoinStringErrs(row.CreatedAt) + var templ_7745c5c3_Var916 string + templ_7745c5c3_Var916, templ_7745c5c3_Err = templ.JoinStringErrs(row.CreatedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2092, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2738, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var741)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var916)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var740), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var915), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 535, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 699, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var742 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var917 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13880,26 +17307,26 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var743 string - templ_7745c5c3_Var743, templ_7745c5c3_Err = templ.JoinStringErrs(row.EventType) + var templ_7745c5c3_Var918 string + templ_7745c5c3_Var918, templ_7745c5c3_Err = templ.JoinStringErrs(row.EventType) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2095, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2741, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var743)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var918)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var742), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var917), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 536, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 700, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var744 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var919 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13917,15 +17344,15 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var744), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var919), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 537, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 701, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var745 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var920 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13937,26 +17364,26 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var746 string - templ_7745c5c3_Var746, templ_7745c5c3_Err = templ.JoinStringErrs(row.Actor) + var templ_7745c5c3_Var921 string + templ_7745c5c3_Var921, templ_7745c5c3_Err = templ.JoinStringErrs(row.Actor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2101, Col: 22} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2747, Col: 22} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var746)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var921)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var745), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var920), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 538, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 702, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var747 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var922 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -13968,85 +17395,85 @@ func JobEventsTable(rows []viewmodel.VisionJobEventRow, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 539, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 703, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var748 string - templ_7745c5c3_Var748, templ_7745c5c3_Err = templ.JoinStringErrs(row.AttemptLabel) + var templ_7745c5c3_Var923 string + templ_7745c5c3_Var923, templ_7745c5c3_Err = templ.JoinStringErrs(row.AttemptLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2105, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2751, Col: 33} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var748)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var923)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 540, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 704, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if row.Message != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 541, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 705, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var749 string - templ_7745c5c3_Var749, templ_7745c5c3_Err = templ.JoinStringErrs(row.Message) + var templ_7745c5c3_Var924 string + templ_7745c5c3_Var924, templ_7745c5c3_Err = templ.JoinStringErrs(row.Message) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2107, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2753, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var749)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var924)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 542, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 706, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 543, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 707, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var747), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var922), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var739), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var914), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var738), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var913), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[760px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var725), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[760px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var900), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 544, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 708, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var723), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "p-0"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var898), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var719), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-3xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var894), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14071,12 +17498,12 @@ func ReviewAnalyticsEmptyState(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var750 := templ.GetChildren(ctx) - if templ_7745c5c3_Var750 == nil { - templ_7745c5c3_Var750 = templ.NopComponent + templ_7745c5c3_Var925 := templ.GetChildren(ctx) + if templ_7745c5c3_Var925 == nil { + templ_7745c5c3_Var925 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var751 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var926 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14088,7 +17515,7 @@ func ReviewAnalyticsEmptyState(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var752 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var927 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14100,7 +17527,7 @@ func ReviewAnalyticsEmptyState(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 545, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 709, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14108,45 +17535,45 @@ func ReviewAnalyticsEmptyState(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 546, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 710, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var753 string - templ_7745c5c3_Var753, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsEmptyTitle) + var templ_7745c5c3_Var928 string + templ_7745c5c3_Var928, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsEmptyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2130, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2776, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var753)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var928)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 547, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 711, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var754 string - templ_7745c5c3_Var754, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsEmptyBody) + var templ_7745c5c3_Var929 string + templ_7745c5c3_Var929, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2131, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2777, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var754)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var929)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 548, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 712, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-center gap-4 p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var752), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-center gap-4 p-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var927), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var751), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var926), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14170,12 +17597,12 @@ func ReviewAISellerSummary(summary viewmodel.SellerReviewAISummary, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var755 := templ.GetChildren(ctx) - if templ_7745c5c3_Var755 == nil { - templ_7745c5c3_Var755 = templ.NopComponent + templ_7745c5c3_Var930 := templ.GetChildren(ctx) + if templ_7745c5c3_Var930 == nil { + templ_7745c5c3_Var930 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var756 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var931 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14187,7 +17614,7 @@ func ReviewAISellerSummary(summary viewmodel.SellerReviewAISummary, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var757 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var932 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14199,11 +17626,11 @@ func ReviewAISellerSummary(summary viewmodel.SellerReviewAISummary, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 549, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 713, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var758 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var933 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14219,27 +17646,27 @@ func ReviewAISellerSummary(summary viewmodel.SellerReviewAISummary, labels viewm if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 550, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 714, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var759 string - templ_7745c5c3_Var759, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAISummaryTitle) + var templ_7745c5c3_Var934 string + templ_7745c5c3_Var934, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAISummaryTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2143, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2789, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var759)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var934)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "flex items-center gap-2 text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var758), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "flex items-center gap-2 text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var933), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if summary.IsFallback { - templ_7745c5c3_Var760 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var935 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14251,37 +17678,37 @@ func ReviewAISellerSummary(summary viewmodel.SellerReviewAISummary, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var761 string - templ_7745c5c3_Var761, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAISummaryFallback) + var templ_7745c5c3_Var936 string + templ_7745c5c3_Var936, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAISummaryFallback) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2147, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2793, Col: 47} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var761)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var936)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var760), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var935), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 551, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 715, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var757), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var932), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 552, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 716, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var762 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var937 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14293,12 +17720,12 @@ func ReviewAISellerSummary(summary viewmodel.SellerReviewAISummary, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 553, "
    ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 717, "
      ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, insight := range summary.Insights { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 554, "
    • ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 718, "
    • ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14306,63 +17733,63 @@ func ReviewAISellerSummary(summary viewmodel.SellerReviewAISummary, labels viewm if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 555, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 719, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var763 string - templ_7745c5c3_Var763, templ_7745c5c3_Err = templ.JoinStringErrs(insight) + var templ_7745c5c3_Var938 string + templ_7745c5c3_Var938, templ_7745c5c3_Err = templ.JoinStringErrs(insight) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2157, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2803, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var763)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var938)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 556, "
    • ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 720, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 557, "

    ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 721, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var764 string - templ_7745c5c3_Var764, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAISummaryAction) + var templ_7745c5c3_Var939 string + templ_7745c5c3_Var939, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAISummaryAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2162, Col: 108} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2808, Col: 108} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var764)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var939)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 558, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 722, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var765 string - templ_7745c5c3_Var765, templ_7745c5c3_Err = templ.JoinStringErrs(summary.RecommendedAction) + var templ_7745c5c3_Var940 string + templ_7745c5c3_Var940, templ_7745c5c3_Err = templ.JoinStringErrs(summary.RecommendedAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2163, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2809, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var765)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var940)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 559, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 723, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "grid gap-4 lg:grid-cols-[1fr_0.45fr]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var762), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "grid gap-4 lg:grid-cols-[1fr_0.45fr]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var937), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var756), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var931), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14386,12 +17813,12 @@ func ReviewSentimentDistribution(sentiment []viewmodel.ReviewAnalyticsSegment, r }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var766 := templ.GetChildren(ctx) - if templ_7745c5c3_Var766 == nil { - templ_7745c5c3_Var766 = templ.NopComponent + templ_7745c5c3_Var941 := templ.GetChildren(ctx) + if templ_7745c5c3_Var941 == nil { + templ_7745c5c3_Var941 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var767 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var942 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14403,7 +17830,7 @@ func ReviewSentimentDistribution(sentiment []viewmodel.ReviewAnalyticsSegment, r }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var768 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var943 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14415,7 +17842,7 @@ func ReviewSentimentDistribution(sentiment []viewmodel.ReviewAnalyticsSegment, r }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var769 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var944 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14427,32 +17854,32 @@ func ReviewSentimentDistribution(sentiment []viewmodel.ReviewAnalyticsSegment, r }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var770 string - templ_7745c5c3_Var770, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsDistribution) + var templ_7745c5c3_Var945 string + templ_7745c5c3_Var945, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsDistribution) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2173, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2819, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var770)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var945)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var769), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var944), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var768), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var943), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 560, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 724, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var771 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var946 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14464,7 +17891,7 @@ func ReviewSentimentDistribution(sentiment []viewmodel.ReviewAnalyticsSegment, r }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 561, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 725, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14474,20 +17901,20 @@ func ReviewSentimentDistribution(sentiment []viewmodel.ReviewAnalyticsSegment, r return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 562, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 726, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var772 string - templ_7745c5c3_Var772, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRatingDistribution) + var templ_7745c5c3_Var947 string + templ_7745c5c3_Var947, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRatingDistribution) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2183, Col: 102} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2829, Col: 102} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var772)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var947)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 563, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 727, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14497,19 +17924,19 @@ func ReviewSentimentDistribution(sentiment []viewmodel.ReviewAnalyticsSegment, r return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 564, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 728, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var771), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-6"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var946), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var767), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var942), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14533,12 +17960,12 @@ func ReviewAttributeBreakdown(rows []viewmodel.ReviewAttributeSentiment, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var773 := templ.GetChildren(ctx) - if templ_7745c5c3_Var773 == nil { - templ_7745c5c3_Var773 = templ.NopComponent + templ_7745c5c3_Var948 := templ.GetChildren(ctx) + if templ_7745c5c3_Var948 == nil { + templ_7745c5c3_Var948 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var774 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var949 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14550,7 +17977,7 @@ func ReviewAttributeBreakdown(rows []viewmodel.ReviewAttributeSentiment, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var775 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var950 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14562,7 +17989,7 @@ func ReviewAttributeBreakdown(rows []viewmodel.ReviewAttributeSentiment, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var776 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var951 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14574,32 +18001,32 @@ func ReviewAttributeBreakdown(rows []viewmodel.ReviewAttributeSentiment, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var777 string - templ_7745c5c3_Var777, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAttributes) + var templ_7745c5c3_Var952 string + templ_7745c5c3_Var952, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAttributes) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2196, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2842, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var777)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var952)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var776), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var951), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var775), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var950), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 565, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 729, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var778 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var953 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14612,137 +18039,137 @@ func ReviewAttributeBreakdown(rows []viewmodel.ReviewAttributeSentiment, labels } ctx = templ.InitializeContext(ctx) for _, row := range rows { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 566, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 730, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var779 string - templ_7745c5c3_Var779, templ_7745c5c3_Err = templ.JoinStringErrs(attributeLabel(row.Key, labels)) + var templ_7745c5c3_Var954 string + templ_7745c5c3_Var954, templ_7745c5c3_Err = templ.JoinStringErrs(attributeLabel(row.Key, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2204, Col: 63} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2850, Col: 63} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var779)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var954)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 567, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 731, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var780 string - templ_7745c5c3_Var780, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d %s", row.Mentions, labels.ReviewAnalyticsMentions)) + var templ_7745c5c3_Var955 string + templ_7745c5c3_Var955, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d %s", row.Mentions, labels.ReviewAnalyticsMentions)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2205, Col: 116} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2851, Col: 116} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var780)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var955)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 568, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 732, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var781 string - templ_7745c5c3_Var781, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d%%", row.PositivePercent)) + var templ_7745c5c3_Var956 string + templ_7745c5c3_Var956, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d%%", row.PositivePercent)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2207, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2853, Col: 81} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var781)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var956)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 569, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 736, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var785 string - templ_7745c5c3_Var785, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%s %d", labels.ReviewAnalyticsPositive, row.Positive)) + var templ_7745c5c3_Var960 string + templ_7745c5c3_Var960, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%s %d", labels.ReviewAnalyticsPositive, row.Positive)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2215, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2861, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var785)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var960)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 573, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 737, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var786 string - templ_7745c5c3_Var786, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%s %d", labels.ReviewAnalyticsNeutral, row.Neutral)) + var templ_7745c5c3_Var961 string + templ_7745c5c3_Var961, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%s %d", labels.ReviewAnalyticsNeutral, row.Neutral)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2216, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2862, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var786)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var961)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 574, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 738, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var787 string - templ_7745c5c3_Var787, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%s %d", labels.ReviewAnalyticsNegative, row.Negative)) + var templ_7745c5c3_Var962 string + templ_7745c5c3_Var962, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%s %d", labels.ReviewAnalyticsNegative, row.Negative)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2217, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2863, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var787)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var962)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 575, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 739, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var778), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var953), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var774), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var949), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14766,12 +18193,12 @@ func ReviewCriticalAlerts(rows []viewmodel.ReviewCriticalAlert, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var788 := templ.GetChildren(ctx) - if templ_7745c5c3_Var788 == nil { - templ_7745c5c3_Var788 = templ.NopComponent + templ_7745c5c3_Var963 := templ.GetChildren(ctx) + if templ_7745c5c3_Var963 == nil { + templ_7745c5c3_Var963 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var789 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var964 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14783,7 +18210,7 @@ func ReviewCriticalAlerts(rows []viewmodel.ReviewCriticalAlert, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var790 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var965 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14795,7 +18222,7 @@ func ReviewCriticalAlerts(rows []viewmodel.ReviewCriticalAlert, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var791 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var966 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14811,36 +18238,36 @@ func ReviewCriticalAlerts(rows []viewmodel.ReviewCriticalAlert, labels viewmodel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 576, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 740, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var792 string - templ_7745c5c3_Var792, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAlerts) + var templ_7745c5c3_Var967 string + templ_7745c5c3_Var967, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsAlerts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2230, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2876, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var792)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var967)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "flex items-center gap-2 text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var791), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "flex items-center gap-2 text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var966), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var790), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var965), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 577, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 741, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var793 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var968 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14853,44 +18280,44 @@ func ReviewCriticalAlerts(rows []viewmodel.ReviewCriticalAlert, labels viewmodel } ctx = templ.InitializeContext(ctx) if len(rows) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 578, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 742, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var794 string - templ_7745c5c3_Var794, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsNoAlerts) + var templ_7745c5c3_Var969 string + templ_7745c5c3_Var969, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsNoAlerts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2235, Col: 127} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2881, Col: 127} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var794)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var969)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 579, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 743, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } for _, row := range rows { - var templ_7745c5c3_Var795 = []any{alertCardClass(row.Severity)} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var795...) + var templ_7745c5c3_Var970 = []any{alertCardClass(row.Severity)} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var970...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 580, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 745, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -14898,50 +18325,50 @@ func ReviewCriticalAlerts(rows []viewmodel.ReviewCriticalAlert, labels viewmodel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 582, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 746, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var797 string - templ_7745c5c3_Var797, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.Title, labels)) + var templ_7745c5c3_Var972 string + templ_7745c5c3_Var972, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.Title, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2245, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2891, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var797)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var972)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 583, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 747, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var798 string - templ_7745c5c3_Var798, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) + var templ_7745c5c3_Var973 string + templ_7745c5c3_Var973, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2246, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2892, Col: 62} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var798)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var973)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 584, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 748, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var799 string - templ_7745c5c3_Var799, templ_7745c5c3_Err = templ.JoinStringErrs(alertActionLabel(row.SuggestedAction, labels)) + var templ_7745c5c3_Var974 string + templ_7745c5c3_Var974, templ_7745c5c3_Err = templ.JoinStringErrs(alertActionLabel(row.SuggestedAction, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2247, Col: 113} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2893, Col: 113} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var799)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var974)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 585, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 749, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var800 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var975 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -14953,48 +18380,48 @@ func ReviewCriticalAlerts(rows []viewmodel.ReviewCriticalAlert, labels viewmodel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var801 string - templ_7745c5c3_Var801, templ_7745c5c3_Err = templ.JoinStringErrs(alertSeverityLabel(row.Severity, labels)) + var templ_7745c5c3_Var976 string + templ_7745c5c3_Var976, templ_7745c5c3_Err = templ.JoinStringErrs(alertSeverityLabel(row.Severity, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2252, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2898, Col: 50} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var801)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var976)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: alertBadgeClass(row.Severity)}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var800), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: alertBadgeClass(row.Severity)}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var975), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 586, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 750, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var802 string - templ_7745c5c3_Var802, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.Count)) + var templ_7745c5c3_Var977 string + templ_7745c5c3_Var977, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.Count)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2254, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2900, Col: 81} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var802)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var977)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 587, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 751, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var793), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var968), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var789), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var964), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -15018,12 +18445,12 @@ func ReviewPainPoints(rows []viewmodel.ReviewPainPoint, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var803 := templ.GetChildren(ctx) - if templ_7745c5c3_Var803 == nil { - templ_7745c5c3_Var803 = templ.NopComponent + templ_7745c5c3_Var978 := templ.GetChildren(ctx) + if templ_7745c5c3_Var978 == nil { + templ_7745c5c3_Var978 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var804 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var979 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15035,7 +18462,7 @@ func ReviewPainPoints(rows []viewmodel.ReviewPainPoint, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var805 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var980 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15047,7 +18474,7 @@ func ReviewPainPoints(rows []viewmodel.ReviewPainPoint, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var806 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var981 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15059,32 +18486,32 @@ func ReviewPainPoints(rows []viewmodel.ReviewPainPoint, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var807 string - templ_7745c5c3_Var807, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsPainPoints) + var templ_7745c5c3_Var982 string + templ_7745c5c3_Var982, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsPainPoints) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2267, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2913, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var807)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var982)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var806), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var981), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var805), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var980), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 588, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 752, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var808 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var983 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15097,26 +18524,26 @@ func ReviewPainPoints(rows []viewmodel.ReviewPainPoint, labels viewmodel.SiteLab } ctx = templ.InitializeContext(ctx) if len(rows) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 589, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 753, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var809 string - templ_7745c5c3_Var809, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsNoPainPoints) + var templ_7745c5c3_Var984 string + templ_7745c5c3_Var984, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsNoPainPoints) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2272, Col: 138} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2918, Col: 138} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var809)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var984)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 590, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 754, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } for _, row := range rows { - templ_7745c5c3_Var810 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var985 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15128,48 +18555,48 @@ func ReviewPainPoints(rows []viewmodel.ReviewPainPoint, labels viewmodel.SiteLab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var811 string - templ_7745c5c3_Var811, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.Label, labels)) + var templ_7745c5c3_Var986 string + templ_7745c5c3_Var986, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.Label, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2276, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2922, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var811)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var986)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 591, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 755, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var812 string - templ_7745c5c3_Var812, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.Count)) + var templ_7745c5c3_Var987 string + templ_7745c5c3_Var987, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.Count)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2277, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2923, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var812)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var987)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 592, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 756, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: themeBadgeClass(row.Tone)}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var810), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: themeBadgeClass(row.Tone)}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var985), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-wrap gap-2"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var808), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-wrap gap-2"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var983), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var804), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var979), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -15193,9 +18620,9 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var813 := templ.GetChildren(ctx) - if templ_7745c5c3_Var813 == nil { - templ_7745c5c3_Var813 = templ.NopComponent + templ_7745c5c3_Var988 := templ.GetChildren(ctx) + if templ_7745c5c3_Var988 == nil { + templ_7745c5c3_Var988 = templ.NopComponent } ctx = templ.ClearChildren(ctx) tableID := "seller-review-insights-table" @@ -15203,20 +18630,20 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels {ID: "top-complaint", Label: labels.ReviewAnalyticsTableTopComplaint}, {ID: "top-positive-theme", Label: labels.ReviewAnalyticsTableTopPositiveTheme}, } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 593, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 757, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var814 string - templ_7745c5c3_Var814, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsProductInsights) + var templ_7745c5c3_Var989 string + templ_7745c5c3_Var989, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsProductInsights) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2294, Col: 91} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2940, Col: 91} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var814)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var989)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 594, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 758, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -15224,24 +18651,24 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 595, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 760, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var816 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var991 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15253,7 +18680,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var817 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var992 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15265,7 +18692,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var818 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var993 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15277,7 +18704,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var819 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var994 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15289,26 +18716,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var820 string - templ_7745c5c3_Var820, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableProduct) + var templ_7745c5c3_Var995 string + templ_7745c5c3_Var995, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2303, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2949, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var820)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var995)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-52"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var819), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-52"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var994), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 597, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 761, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var821 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var996 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15320,26 +18747,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var822 string - templ_7745c5c3_Var822, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableReviews) + var templ_7745c5c3_Var997 string + templ_7745c5c3_Var997, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableReviews) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2306, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2952, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var822)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var997)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var821), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var996), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 598, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 762, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var823 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var998 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15351,26 +18778,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var824 string - templ_7745c5c3_Var824, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableSentiment) + var templ_7745c5c3_Var999 string + templ_7745c5c3_Var999, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableSentiment) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2309, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2955, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var824)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var999)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var823), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var998), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 599, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 763, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var825 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1000 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15382,26 +18809,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var826 string - templ_7745c5c3_Var826, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableTopComplaint) + var templ_7745c5c3_Var1001 string + templ_7745c5c3_Var1001, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableTopComplaint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2312, Col: 49} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2958, Col: 49} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var826)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1001)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "top-complaint"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var825), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "top-complaint"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1000), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 600, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 764, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var827 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1002 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15413,26 +18840,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var828 string - templ_7745c5c3_Var828, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableTopPositiveTheme) + var templ_7745c5c3_Var1003 string + templ_7745c5c3_Var1003, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableTopPositiveTheme) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2315, Col: 53} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2961, Col: 53} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var828)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1003)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "top-positive-theme"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var827), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "top-positive-theme"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1002), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 601, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 765, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var829 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1004 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15444,26 +18871,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var830 string - templ_7745c5c3_Var830, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableRisk) + var templ_7745c5c3_Var1005 string + templ_7745c5c3_Var1005, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsTableRisk) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2318, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2964, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var830)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1005)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var829), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1004), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 602, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 766, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var831 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1006 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15475,46 +18902,46 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 603, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 767, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var832 string - templ_7745c5c3_Var832, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + var templ_7745c5c3_Var1007 string + templ_7745c5c3_Var1007, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2321, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2967, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var832)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1007)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 604, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 768, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var831), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1006), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var818), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var993), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var817), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var992), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 605, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 769, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var833 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1008 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15528,7 +18955,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels ctx = templ.InitializeContext(ctx) for index, row := range rows { sheetID := fmt.Sprintf("%s-%d", tableID, index) - templ_7745c5c3_Var834 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1009 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15540,7 +18967,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var835 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1010 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15552,26 +18979,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var836 string - templ_7745c5c3_Var836, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) + var templ_7745c5c3_Var1011 string + templ_7745c5c3_Var1011, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2330, Col: 22} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2976, Col: 22} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var836)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1011)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var835), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card font-medium"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1010), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 606, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 770, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var837 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1012 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15583,26 +19010,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var838 string - templ_7745c5c3_Var838, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.ReviewCount)) + var templ_7745c5c3_Var1013 string + templ_7745c5c3_Var1013, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.ReviewCount)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2333, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2979, Col: 45} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var838)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1013)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var837), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1012), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 607, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 771, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var839 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1014 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15614,82 +19041,82 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 608, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 772, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var840 string - templ_7745c5c3_Var840, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d/100", row.SentimentScore)) + var templ_7745c5c3_Var1015 string + templ_7745c5c3_Var1015, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d/100", row.SentimentScore)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2338, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2984, Col: 60} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var840)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1015)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 609, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 773, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var841 string - templ_7745c5c3_Var841, templ_7745c5c3_Err = templ.JoinStringErrs(row.AverageRating) + var templ_7745c5c3_Var1016 string + templ_7745c5c3_Var1016, templ_7745c5c3_Err = templ.JoinStringErrs(row.AverageRating) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2339, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2985, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var841)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1016)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 610, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 774, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var842 = []any{sentimentBarClass(row.SentimentScore)} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var842...) + var templ_7745c5c3_Var1017 = []any{sentimentBarClass(row.SentimentScore)} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1017...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 611, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 777, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var839), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1014), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 614, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 778, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var845 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1020 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15702,32 +19129,32 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels } ctx = templ.InitializeContext(ctx) if row.TopComplaint != "" { - var templ_7745c5c3_Var846 string - templ_7745c5c3_Var846, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.TopComplaint, labels)) + var templ_7745c5c3_Var1021 string + templ_7745c5c3_Var1021, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.TopComplaint, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2348, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2994, Col: 48} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var846)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1021)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 615, "-") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 779, "-") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "top-complaint"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var845), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "top-complaint"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1020), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 616, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 780, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var847 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1022 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15740,32 +19167,32 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels } ctx = templ.InitializeContext(ctx) if row.TopPositiveTheme != "" { - var templ_7745c5c3_Var848 string - templ_7745c5c3_Var848, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.TopPositiveTheme, labels)) + var templ_7745c5c3_Var1023 string + templ_7745c5c3_Var1023, templ_7745c5c3_Err = templ.JoinStringErrs(themeLabel(row.TopPositiveTheme, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2355, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3001, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var848)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1023)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 617, "-") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 781, "-") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "top-positive-theme"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var847), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "top-positive-theme"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1022), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 618, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 782, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var849 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1024 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15783,15 +19210,15 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var849), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1024), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 619, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 783, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var850 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1025 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15803,7 +19230,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var851 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1026 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15819,11 +19246,11 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 620, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 784, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var852 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1027 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15835,7 +19262,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var853 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1028 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15847,7 +19274,7 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var854 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1029 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15859,26 +19286,26 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var855 string - templ_7745c5c3_Var855, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) + var templ_7745c5c3_Var1030 string + templ_7745c5c3_Var1030, templ_7745c5c3_Err = templ.JoinStringErrs(row.Product) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2369, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3015, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var855)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1030)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var854), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1029), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 621, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 785, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var856 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1031 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -15890,28 +19317,28 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var857 string - templ_7745c5c3_Var857, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + var templ_7745c5c3_Var1032 string + templ_7745c5c3_Var1032, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2372, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3018, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var857)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1032)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var856), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1031), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var853), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1028), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 622, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 786, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -15931,48 +19358,48 @@ func ReviewProductInsightsTable(rows []viewmodel.ReviewProductInsightRow, labels if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 623, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 787, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var852), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1027), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var851), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1026), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var850), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1025), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var834), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1009), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var833), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1008), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[860px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var816), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[860px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var991), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 624, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 788, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -15996,73 +19423,73 @@ func analyticsBar(label string, value, pct int, tone string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var858 := templ.GetChildren(ctx) - if templ_7745c5c3_Var858 == nil { - templ_7745c5c3_Var858 = templ.NopComponent + templ_7745c5c3_Var1033 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1033 == nil { + templ_7745c5c3_Var1033 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 625, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 789, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var859 string - templ_7745c5c3_Var859, templ_7745c5c3_Err = templ.JoinStringErrs(label) + var templ_7745c5c3_Var1034 string + templ_7745c5c3_Var1034, templ_7745c5c3_Err = templ.JoinStringErrs(label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2396, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3042, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var859)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1034)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 626, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 790, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var860 string - templ_7745c5c3_Var860, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d (%d%%)", value, pct)) + var templ_7745c5c3_Var1035 string + templ_7745c5c3_Var1035, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d (%d%%)", value, pct)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2397, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3043, Col: 77} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var860)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1035)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 627, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 791, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var861 = []any{toneBarClass(tone)} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var861...) + var templ_7745c5c3_Var1036 = []any{toneBarClass(tone)} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1036...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 628, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 794, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -16086,13 +19513,13 @@ func riskBadge(risk string, labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var864 := templ.GetChildren(ctx) - if templ_7745c5c3_Var864 == nil { - templ_7745c5c3_Var864 = templ.NopComponent + templ_7745c5c3_Var1039 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1039 == nil { + templ_7745c5c3_Var1039 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if risk == "high" { - templ_7745c5c3_Var865 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1040 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16104,23 +19531,23 @@ func riskBadge(risk string, labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var866 string - templ_7745c5c3_Var866, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRiskHigh) + var templ_7745c5c3_Var1041 string + templ_7745c5c3_Var1041, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRiskHigh) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2408, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3054, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var866)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1041)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var865), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1040), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if risk == "medium" { - templ_7745c5c3_Var867 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1042 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16132,23 +19559,23 @@ func riskBadge(risk string, labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var868 string - templ_7745c5c3_Var868, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRiskMedium) + var templ_7745c5c3_Var1043 string + templ_7745c5c3_Var1043, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRiskMedium) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2412, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3058, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var868)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1043)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "border-amber-200 bg-amber-100 text-amber-800 dark:border-amber-900/60 dark:bg-amber-900/30 dark:text-amber-300"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var867), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "border-amber-200 bg-amber-100 text-amber-800 dark:border-amber-900/60 dark:bg-amber-900/30 dark:text-amber-300"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1042), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var869 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1044 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16160,18 +19587,18 @@ func riskBadge(risk string, labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var870 string - templ_7745c5c3_Var870, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRiskLow) + var templ_7745c5c3_Var1045 string + templ_7745c5c3_Var1045, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ReviewAnalyticsRiskLow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2416, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3062, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var870)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1045)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "border-emerald-200 bg-emerald-100 text-emerald-800 dark:border-emerald-900/60 dark:bg-emerald-900/30 dark:text-emerald-300"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var869), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "border-emerald-200 bg-emerald-100 text-emerald-800 dark:border-emerald-900/60 dark:bg-emerald-900/30 dark:text-emerald-300"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1044), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -16196,13 +19623,13 @@ func aiLogStatus(row viewmodel.AIInteractionLogRow) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var871 := templ.GetChildren(ctx) - if templ_7745c5c3_Var871 == nil { - templ_7745c5c3_Var871 = templ.NopComponent + templ_7745c5c3_Var1046 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1046 == nil { + templ_7745c5c3_Var1046 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if row.StatusTone == "success" { - templ_7745c5c3_Var872 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1047 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16214,23 +19641,23 @@ func aiLogStatus(row viewmodel.AIInteractionLogRow) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var873 string - templ_7745c5c3_Var873, templ_7745c5c3_Err = templ.JoinStringErrs(row.ResponseStatus) + var templ_7745c5c3_Var1048 string + templ_7745c5c3_Var1048, templ_7745c5c3_Err = templ.JoinStringErrs(row.ResponseStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2424, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3070, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var873)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1048)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-emerald-100 text-emerald-800 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var872), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-emerald-100 text-emerald-800 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1047), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if row.StatusTone == "error" { - templ_7745c5c3_Var874 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1049 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16242,23 +19669,23 @@ func aiLogStatus(row viewmodel.AIInteractionLogRow) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var875 string - templ_7745c5c3_Var875, templ_7745c5c3_Err = templ.JoinStringErrs(row.ResponseStatus) + var templ_7745c5c3_Var1050 string + templ_7745c5c3_Var1050, templ_7745c5c3_Err = templ.JoinStringErrs(row.ResponseStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2428, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3074, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var875)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1050)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var874), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantDestructive}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1049), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var876 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1051 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16270,18 +19697,18 @@ func aiLogStatus(row viewmodel.AIInteractionLogRow) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var877 string - templ_7745c5c3_Var877, templ_7745c5c3_Err = templ.JoinStringErrs(row.ResponseStatus) + var templ_7745c5c3_Var1052 string + templ_7745c5c3_Var1052, templ_7745c5c3_Err = templ.JoinStringErrs(row.ResponseStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2432, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3078, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var877)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1052)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var876), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1051), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -16306,85 +19733,85 @@ func aiLogPayload(title, meta, extra, body string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var878 := templ.GetChildren(ctx) - if templ_7745c5c3_Var878 == nil { - templ_7745c5c3_Var878 = templ.NopComponent + templ_7745c5c3_Var1053 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1053 == nil { + templ_7745c5c3_Var1053 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 631, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 795, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var879 string - templ_7745c5c3_Var879, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var1054 string + templ_7745c5c3_Var1054, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2440, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3086, Col: 75} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var879)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1054)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 632, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 796, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var880 string - templ_7745c5c3_Var880, templ_7745c5c3_Err = templ.JoinStringErrs(meta) + var templ_7745c5c3_Var1055 string + templ_7745c5c3_Var1055, templ_7745c5c3_Err = templ.JoinStringErrs(meta) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2441, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3087, Col: 70} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var880)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1055)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 633, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 797, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if extra != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 634, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 798, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var881 string - templ_7745c5c3_Var881, templ_7745c5c3_Err = templ.JoinStringErrs(extra) + var templ_7745c5c3_Var1056 string + templ_7745c5c3_Var1056, templ_7745c5c3_Err = templ.JoinStringErrs(extra) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2444, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3090, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var881)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1056)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 635, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 799, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if body != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 636, "
")
+			templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 800, "
")
 			if templ_7745c5c3_Err != nil {
 				return templ_7745c5c3_Err
 			}
-			var templ_7745c5c3_Var882 string
-			templ_7745c5c3_Var882, templ_7745c5c3_Err = templ.JoinStringErrs(body)
+			var templ_7745c5c3_Var1057 string
+			templ_7745c5c3_Var1057, templ_7745c5c3_Err = templ.JoinStringErrs(body)
 			if templ_7745c5c3_Err != nil {
-				return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2447, Col: 147}
+				return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3093, Col: 147}
 			}
-			_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var882))
+			_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1057))
 			if templ_7745c5c3_Err != nil {
 				return templ_7745c5c3_Err
 			}
-			templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 637, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 801, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 638, "
-
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 802, "
-
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 639, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 803, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -16408,53 +19835,53 @@ func detailItem(labelText, value string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var883 := templ.GetChildren(ctx) - if templ_7745c5c3_Var883 == nil { - templ_7745c5c3_Var883 = templ.NopComponent + templ_7745c5c3_Var1058 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1058 == nil { + templ_7745c5c3_Var1058 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 640, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 804, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var884 string - templ_7745c5c3_Var884, templ_7745c5c3_Err = templ.JoinStringErrs(labelText) + var templ_7745c5c3_Var1059 string + templ_7745c5c3_Var1059, templ_7745c5c3_Err = templ.JoinStringErrs(labelText) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2456, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3102, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var884)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1059)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 641, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 805, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if strings.TrimSpace(value) != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 642, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 806, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var885 string - templ_7745c5c3_Var885, templ_7745c5c3_Err = templ.JoinStringErrs(value) + var templ_7745c5c3_Var1060 string + templ_7745c5c3_Var1060, templ_7745c5c3_Err = templ.JoinStringErrs(value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2458, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3104, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var885)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1060)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 643, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 807, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 644, "

-

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 808, "

-

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 645, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 809, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -16479,51 +19906,51 @@ func StatusText(status string, labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var886 := templ.GetChildren(ctx) - if templ_7745c5c3_Var886 == nil { - templ_7745c5c3_Var886 = templ.NopComponent + templ_7745c5c3_Var1061 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1061 == nil { + templ_7745c5c3_Var1061 = templ.NopComponent } ctx = templ.ClearChildren(ctx) statusLabel := localizedStatusLabel(status, labels) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 646, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 810, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if statusLabel == labels.StatusReady || statusLabel == labels.StatusActive || statusLabel == labels.StatusPending { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 647, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 811, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if statusLabel == labels.StatusProcessing || statusLabel == labels.StatusPreparing { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 648, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 812, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if statusLabel == labels.StatusError || statusLabel == labels.StatusRejected { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 649, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 813, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 650, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 814, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 651, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 815, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var887 string - templ_7745c5c3_Var887, templ_7745c5c3_Err = templ.JoinStringErrs(statusLabel) + var templ_7745c5c3_Var1062 string + templ_7745c5c3_Var1062, templ_7745c5c3_Err = templ.JoinStringErrs(statusLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2478, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3124, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var887)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1062)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 652, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 816, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -16547,9 +19974,9 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var888 := templ.GetChildren(ctx) - if templ_7745c5c3_Var888 == nil { - templ_7745c5c3_Var888 = templ.NopComponent + templ_7745c5c3_Var1063 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1063 == nil { + templ_7745c5c3_Var1063 = templ.NopComponent } ctx = templ.ClearChildren(ctx) tableID := "admin-credentials-table" @@ -16561,24 +19988,24 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel {ID: "created", Label: labels.CredentialsTableCreated}, {ID: "updated", Label: labels.CredentialsTableUpdated}, } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 653, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 817, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var889 string - templ_7745c5c3_Var889, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceCredentials) + var templ_7745c5c3_Var1064 string + templ_7745c5c3_Var1064, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceCredentials) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2496, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3142, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var889)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1064)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 654, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 818, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var890 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1065 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16594,31 +20021,31 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 655, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 819, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var891 string - templ_7745c5c3_Var891, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsAdd) + var templ_7745c5c3_Var1066 string + templ_7745c5c3_Var1066, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsAdd) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2499, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3145, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var891)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1066)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Class: "rounded-xl", Href: "/admin/ai-credentials/new"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var890), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Class: "rounded-xl", Href: "/admin/ai-credentials/new"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1065), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 656, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 820, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(rows) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 657, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 821, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -16626,38 +20053,38 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 658, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 822, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var892 string - templ_7745c5c3_Var892, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEmptyTitle) + var templ_7745c5c3_Var1067 string + templ_7745c5c3_Var1067, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEmptyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2507, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3153, Col: 68} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var892)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1067)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 659, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 823, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var893 string - templ_7745c5c3_Var893, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEmptyBody) + var templ_7745c5c3_Var1068 string + templ_7745c5c3_Var1068, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2508, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3154, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var893)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1068)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 660, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 824, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var894 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1069 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16669,7 +20096,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var895 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1070 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16681,7 +20108,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var896 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1071 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16693,7 +20120,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var897 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1072 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16705,7 +20132,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var898 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1073 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16717,26 +20144,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var899 string - templ_7745c5c3_Var899, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableID) + var templ_7745c5c3_Var1074 string + templ_7745c5c3_Var1074, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2516, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3162, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var899)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1074)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-72"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var898), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky left-0 z-10 bg-card min-w-72"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1073), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 661, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 825, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var900 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1075 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16748,26 +20175,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var901 string - templ_7745c5c3_Var901, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableStatus) + var templ_7745c5c3_Var1076 string + templ_7745c5c3_Var1076, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2519, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3165, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var901)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1076)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var900), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1075), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 662, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 826, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var902 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1077 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16779,26 +20206,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var903 string - templ_7745c5c3_Var903, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableRuntimeStatus) + var templ_7745c5c3_Var1078 string + templ_7745c5c3_Var1078, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableRuntimeStatus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2522, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3168, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var903)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1078)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var902), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1077), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 663, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 827, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var904 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1079 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16810,26 +20237,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var905 string - templ_7745c5c3_Var905, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableHourlyUsage) + var templ_7745c5c3_Var1080 string + templ_7745c5c3_Var1080, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableHourlyUsage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2525, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3171, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var905)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1080)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var904), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1079), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 664, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 828, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var906 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1081 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16841,26 +20268,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var907 string - templ_7745c5c3_Var907, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableDailyUsage) + var templ_7745c5c3_Var1082 string + templ_7745c5c3_Var1082, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableDailyUsage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2528, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3174, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var907)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1082)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var906), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1081), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 665, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 829, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var908 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1083 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16872,26 +20299,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var909 string - templ_7745c5c3_Var909, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableLastUsed) + var templ_7745c5c3_Var1084 string + templ_7745c5c3_Var1084, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableLastUsed) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2531, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3177, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var909)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1084)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var908), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1083), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 666, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 830, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var910 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1085 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16903,26 +20330,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var911 string - templ_7745c5c3_Var911, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTablePriority) + var templ_7745c5c3_Var1086 string + templ_7745c5c3_Var1086, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTablePriority) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2534, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3180, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var911)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1086)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-24"), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var910), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-24"), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1085), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 667, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 831, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var912 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1087 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16934,26 +20361,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var913 string - templ_7745c5c3_Var913, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableCooldownUntil) + var templ_7745c5c3_Var1088 string + templ_7745c5c3_Var1088, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableCooldownUntil) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2537, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3183, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var913)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1088)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "cooldown"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var912), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "cooldown"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1087), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 668, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 832, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var914 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1089 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16965,26 +20392,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var915 string - templ_7745c5c3_Var915, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableValidated) + var templ_7745c5c3_Var1090 string + templ_7745c5c3_Var1090, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableValidated) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2540, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3186, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var915)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1090)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "validated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var914), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "validated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1089), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 669, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 833, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var916 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1091 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -16996,26 +20423,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var917 string - templ_7745c5c3_Var917, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableLastError) + var templ_7745c5c3_Var1092 string + templ_7745c5c3_Var1092, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableLastError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2543, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3189, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var917)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1092)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "last-error"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var916), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-40"), Attributes: templ.Attributes{"data-btk-column": "last-error"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1091), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 670, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 834, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var918 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1093 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17027,26 +20454,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var919 string - templ_7745c5c3_Var919, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableCreated) + var templ_7745c5c3_Var1094 string + templ_7745c5c3_Var1094, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableCreated) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2546, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3192, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var919)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1094)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "created"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var918), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "created"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1093), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 671, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 835, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var920 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1095 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17058,26 +20485,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var921 string - templ_7745c5c3_Var921, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableUpdated) + var templ_7745c5c3_Var1096 string + templ_7745c5c3_Var1096, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableUpdated) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2549, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3195, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var921)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1096)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "updated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var920), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: tableOptionalColumnClass("min-w-36"), Attributes: templ.Attributes{"data-btk-column": "updated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1095), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 672, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 836, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var922 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1097 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17089,46 +20516,46 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 673, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 837, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var923 string - templ_7745c5c3_Var923, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) + var templ_7745c5c3_Var1098 string + templ_7745c5c3_Var1098, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonDetails) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2552, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3198, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var923)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1098)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 674, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 838, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var922), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Head(table.HeadProps{Class: "sticky right-0 z-10 bg-card text-right min-w-16"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1097), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var897), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1072), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var896), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1071), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 675, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 839, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var924 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1099 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17142,7 +20569,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel ctx = templ.InitializeContext(ctx) for index, row := range rows { sheetID := tableSheetID(fmt.Sprintf("%s-", tableID), fmt.Sprintf("%d-%s", index, row.ID)) - templ_7745c5c3_Var925 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1100 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17154,7 +20581,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var926 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1101 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17166,73 +20593,73 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 676, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 840, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var927 string - templ_7745c5c3_Var927, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider) + var templ_7745c5c3_Var1102 string + templ_7745c5c3_Var1102, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2562, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3208, Col: 47} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var927)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1102)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 677, " · ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 841, " · ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var928 string - templ_7745c5c3_Var928, templ_7745c5c3_Err = templ.JoinStringErrs(row.Purpose) + var templ_7745c5c3_Var1103 string + templ_7745c5c3_Var1103, templ_7745c5c3_Err = templ.JoinStringErrs(row.Purpose) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2562, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3208, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var928)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1103)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 678, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 842, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var929 string - templ_7745c5c3_Var929, templ_7745c5c3_Err = templ.JoinStringErrs(row.Environment) + var templ_7745c5c3_Var1104 string + templ_7745c5c3_Var1104, templ_7745c5c3_Err = templ.JoinStringErrs(row.Environment) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2563, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3209, Col: 68} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var929)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1104)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 679, " · ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 843, " · ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var930 string - templ_7745c5c3_Var930, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) + var templ_7745c5c3_Var1105 string + templ_7745c5c3_Var1105, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2563, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3209, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var930)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1105)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 680, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 844, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card min-w-72"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var926), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky left-0 z-10 bg-card min-w-72"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1101), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 681, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 845, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var931 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1106 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17250,15 +20677,15 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var931), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1106), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 682, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 846, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var932 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1107 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17276,15 +20703,15 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var932), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1107), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 683, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 847, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var933 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1108 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17297,32 +20724,32 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel } ctx = templ.InitializeContext(ctx) if row.HourlyLimit > 0 { - var templ_7745c5c3_Var934 string - templ_7745c5c3_Var934, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d / %d", row.HourlyUsage, row.HourlyLimit)) + var templ_7745c5c3_Var1109 string + templ_7745c5c3_Var1109, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d / %d", row.HourlyUsage, row.HourlyLimit)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2574, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3220, Col: 68} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var934)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1109)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 684, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 848, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var933), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1108), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 685, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 849, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var935 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1110 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17335,32 +20762,32 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel } ctx = templ.InitializeContext(ctx) if row.DailyLimit > 0 { - var templ_7745c5c3_Var936 string - templ_7745c5c3_Var936, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d / %d", row.DailyUsage, row.DailyLimit)) + var templ_7745c5c3_Var1111 string + templ_7745c5c3_Var1111, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d / %d", row.DailyUsage, row.DailyLimit)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2581, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3227, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var936)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1111)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 686, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 850, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var935), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1110), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 687, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 851, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var937 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1112 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17373,32 +20800,32 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel } ctx = templ.InitializeContext(ctx) if row.LastUsedAt != "" { - var templ_7745c5c3_Var938 string - templ_7745c5c3_Var938, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastUsedAt) + var templ_7745c5c3_Var1113 string + templ_7745c5c3_Var1113, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastUsedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2588, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3234, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var938)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1113)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 688, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 852, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var937), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1112), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 689, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 853, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var939 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1114 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17410,26 +20837,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var940 string - templ_7745c5c3_Var940, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.Priority)) + var templ_7745c5c3_Var1115 string + templ_7745c5c3_Var1115, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.Priority)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2594, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3240, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var940)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1115)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var939), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "priority"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1114), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 690, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 854, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var941 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1116 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17441,26 +20868,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var942 string - templ_7745c5c3_Var942, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.CooldownUntil)) + var templ_7745c5c3_Var1117 string + templ_7745c5c3_Var1117, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.CooldownUntil)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2597, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3243, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var942)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1117)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "cooldown"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var941), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "cooldown"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1116), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 691, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 855, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var943 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1118 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17472,26 +20899,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var944 string - templ_7745c5c3_Var944, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.ValidatedAt)) + var templ_7745c5c3_Var1119 string + templ_7745c5c3_Var1119, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.ValidatedAt)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2600, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3246, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var944)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1119)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "validated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var943), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "validated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1118), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 692, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 856, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var945 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1120 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17504,40 +20931,40 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel } ctx = templ.InitializeContext(ctx) if row.LastError != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 693, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 857, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var946 string - templ_7745c5c3_Var946, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) + var templ_7745c5c3_Var1121 string + templ_7745c5c3_Var1121, templ_7745c5c3_Err = templ.JoinStringErrs(row.LastError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2604, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3250, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var946)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1121)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 694, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 858, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 695, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 859, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "last-error"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var945), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "last-error"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1120), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 696, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 860, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var947 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1122 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17549,26 +20976,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var948 string - templ_7745c5c3_Var948, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.CreatedAt)) + var templ_7745c5c3_Var1123 string + templ_7745c5c3_Var1123, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.CreatedAt)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2610, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3256, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var948)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1123)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "created"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var947), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "created"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1122), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 697, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 861, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var949 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1124 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17580,26 +21007,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var950 string - templ_7745c5c3_Var950, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.UpdatedAt)) + var templ_7745c5c3_Var1125 string + templ_7745c5c3_Var1125, templ_7745c5c3_Err = templ.JoinStringErrs(valueOrDash(row.UpdatedAt)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2613, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3259, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var950)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1125)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "updated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var949), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: tableOptionalColumnClass(""), Attributes: templ.Attributes{"data-btk-column": "updated"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1124), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 698, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 862, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var951 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1126 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17611,7 +21038,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var952 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1127 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17627,11 +21054,11 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 699, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 863, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var953 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1128 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17643,7 +21070,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var954 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1129 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17655,7 +21082,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var955 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1130 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17667,26 +21094,26 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var956 string - templ_7745c5c3_Var956, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider) + var templ_7745c5c3_Var1131 string + templ_7745c5c3_Var1131, templ_7745c5c3_Err = templ.JoinStringErrs(row.Provider) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2621, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3267, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var956)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1131)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var955), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1130), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 700, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 864, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var957 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1132 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17698,28 +21125,28 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var958 string - templ_7745c5c3_Var958, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) + var templ_7745c5c3_Var1133 string + templ_7745c5c3_Var1133, templ_7745c5c3_Err = templ.JoinStringErrs(row.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2624, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3270, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var958)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1133)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var957), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1132), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var954), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1129), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 701, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 865, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -17763,11 +21190,11 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 702, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 866, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var959 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1134 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17780,7 +21207,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel } ctx = templ.InitializeContext(ctx) if row.CanReactivate { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 703, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 867, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -17788,7 +21215,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var960 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1135 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17800,32 +21227,32 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var961 string - templ_7745c5c3_Var961, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsReactivate) + var templ_7745c5c3_Var1136 string + templ_7745c5c3_Var1136, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsReactivate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2644, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3290, Col: 45} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var961)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1136)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeSm, Type: button.TypeSubmit, Class: "rounded-lg text-xs"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var960), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeSm, Type: button.TypeSubmit, Class: "rounded-lg text-xs"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1135), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 704, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 868, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 705, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 869, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if row.CanDisable { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 706, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 870, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -17833,7 +21260,7 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var962 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1137 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17845,77 +21272,77 @@ func CredentialsTable(rows []viewmodel.CredentialRow, labels viewmodel.SiteLabel }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var963 string - templ_7745c5c3_Var963, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsDisable) + var templ_7745c5c3_Var1138 string + templ_7745c5c3_Var1138, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsDisable) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2652, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3298, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var963)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1138)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantDestructive, Size: button.SizeSm, Type: button.TypeSubmit, Class: "rounded-lg text-xs"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var962), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantDestructive, Size: button.SizeSm, Type: button.TypeSubmit, Class: "rounded-lg text-xs"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1137), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 707, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 871, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = sheet.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var959), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1134), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var953), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Content(sheet.ContentProps{Class: "w-full sm:max-w-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1128), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var952), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sheet.Sheet(sheet.Props{ID: sheetID, Side: sheet.SideRight}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1127), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var951), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Cell(table.CellProps{Class: "sticky right-0 z-10 bg-card text-right"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1126), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var925), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Row().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1100), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var924), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Body().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1099), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[1040px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var895), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = table.Table(table.Props{Class: "min-w-[1040px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1070), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = ResponsiveTableCard(tableID, ResponsiveTableControls(tableID, columns, labels)).Render(templ.WithChildren(ctx, templ_7745c5c3_Var894), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = ResponsiveTableCard(tableID, ResponsiveTableControls(tableID, columns, labels)).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1069), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 708, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 872, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -17939,16 +21366,16 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var964 := templ.GetChildren(ctx) - if templ_7745c5c3_Var964 == nil { - templ_7745c5c3_Var964 = templ.NopComponent + templ_7745c5c3_Var1139 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1139 == nil { + templ_7745c5c3_Var1139 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 709, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 873, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var965 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1140 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17960,22 +21387,22 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var966 string - templ_7745c5c3_Var966, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableEnvironment) + var templ_7745c5c3_Var1141 string + templ_7745c5c3_Var1141, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableEnvironment) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2673, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3319, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var966)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1141)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "cred-env"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var965), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "cred-env"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1140), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var967 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1142 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17987,7 +21414,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var968 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1143 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -17999,7 +21426,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var969 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1144 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18011,32 +21438,32 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var970 string - templ_7745c5c3_Var970, templ_7745c5c3_Err = templ.JoinStringErrs(credentialEnvLabel(activeEnv, labels)) + var templ_7745c5c3_Var1145 string + templ_7745c5c3_Var1145, templ_7745c5c3_Err = templ.JoinStringErrs(credentialEnvLabel(activeEnv, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2678, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3324, Col: 45} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var970)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1145)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.CredentialsEnvironmentPlaceholder}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var969), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.CredentialsEnvironmentPlaceholder}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1144), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "env"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var968), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "env"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1143), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 710, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 874, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var971 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1146 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18048,7 +21475,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var972 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1147 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18060,12 +21487,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var973 string - templ_7745c5c3_Var973, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvLocal) + var templ_7745c5c3_Var1148 string + templ_7745c5c3_Var1148, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvLocal) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2686, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3332, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var973)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1148)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18074,15 +21501,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "local", Selected: activeEnv == "local", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var972), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1147), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 711, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 875, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var974 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1149 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18094,12 +21521,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var975 string - templ_7745c5c3_Var975, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvDevelopment) + var templ_7745c5c3_Var1150 string + templ_7745c5c3_Var1150, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvDevelopment) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2692, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3338, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var975)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1150)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18108,15 +21535,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "development", Selected: activeEnv == "development", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var974), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1149), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 712, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 876, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var976 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1151 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18128,12 +21555,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var977 string - templ_7745c5c3_Var977, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvStaging) + var templ_7745c5c3_Var1152 string + templ_7745c5c3_Var1152, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvStaging) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2698, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3344, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var977)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1152)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18142,15 +21569,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "staging", Selected: activeEnv == "staging", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var976), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1151), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 713, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 877, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var978 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1153 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18162,12 +21589,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var979 string - templ_7745c5c3_Var979, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvProduction) + var templ_7745c5c3_Var1154 string + templ_7745c5c3_Var1154, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsEnvProduction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2704, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3350, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var979)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1154)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18176,27 +21603,27 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "production", Selected: activeEnv == "production", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var978), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1153), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Content(selectbox.ContentProps{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var971), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Content(selectbox.ContentProps{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1146), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "cred-env"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var967), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "cred-env"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1142), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 714, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 878, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var980 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1155 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18208,22 +21635,22 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var981 string - templ_7745c5c3_Var981, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableProvider) + var templ_7745c5c3_Var1156 string + templ_7745c5c3_Var1156, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableProvider) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2711, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3357, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var981)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1156)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "cred-provider"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var980), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "cred-provider"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1155), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var982 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1157 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18235,7 +21662,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var983 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1158 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18247,7 +21674,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var984 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1159 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18259,32 +21686,32 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var985 string - templ_7745c5c3_Var985, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderGemini) + var templ_7745c5c3_Var1160 string + templ_7745c5c3_Var1160, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderGemini) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2716, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3362, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var985)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1160)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.CredentialsProviderPlaceholder}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var984), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.CredentialsProviderPlaceholder}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1159), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "provider"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var983), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "provider"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1158), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 715, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 879, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var986 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1161 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18296,7 +21723,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var987 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1162 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18308,12 +21735,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var988 string - templ_7745c5c3_Var988, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderGemini) + var templ_7745c5c3_Var1163 string + templ_7745c5c3_Var1163, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderGemini) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2724, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3370, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var988)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1163)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18322,15 +21749,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "gemini", Selected: true, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var987), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1162), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 716, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 880, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var989 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1164 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18342,12 +21769,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var990 string - templ_7745c5c3_Var990, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderVertexAI) + var templ_7745c5c3_Var1165 string + templ_7745c5c3_Var1165, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderVertexAI) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2729, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3375, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var990)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1165)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18355,15 +21782,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "vertexai", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var989), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1164), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 717, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 881, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var991 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1166 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18375,12 +21802,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var992 string - templ_7745c5c3_Var992, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderOpenAI) + var templ_7745c5c3_Var1167 string + templ_7745c5c3_Var1167, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderOpenAI) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2734, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3380, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var992)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1167)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18388,15 +21815,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "openai", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var991), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1166), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 718, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 882, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var993 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1168 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18408,12 +21835,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var994 string - templ_7745c5c3_Var994, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderAnthropic) + var templ_7745c5c3_Var1169 string + templ_7745c5c3_Var1169, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderAnthropic) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2739, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3385, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var994)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1169)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18421,15 +21848,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "anthropic", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var993), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1168), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 719, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 883, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var995 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1170 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18441,12 +21868,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var996 string - templ_7745c5c3_Var996, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderTripo3D) + var templ_7745c5c3_Var1171 string + templ_7745c5c3_Var1171, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderTripo3D) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2744, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3390, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var996)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1171)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18454,15 +21881,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "tripo3d", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var995), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1170), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 720, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 884, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var997 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1172 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18474,12 +21901,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var998 string - templ_7745c5c3_Var998, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderRemoveBG) + var templ_7745c5c3_Var1173 string + templ_7745c5c3_Var1173, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderRemoveBG) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2749, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3395, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var998)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1173)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18487,15 +21914,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "removebg", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var997), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1172), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 721, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 885, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var999 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1174 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18507,12 +21934,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1000 string - templ_7745c5c3_Var1000, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderCustom) + var templ_7745c5c3_Var1175 string + templ_7745c5c3_Var1175, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsProviderCustom) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2754, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3400, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1000)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1175)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18520,27 +21947,27 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "custom", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var999), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1174), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Content(selectbox.ContentProps{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var986), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Content(selectbox.ContentProps{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1161), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "cred-provider"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var982), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "cred-provider"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1157), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 722, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 886, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1001 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1176 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18552,22 +21979,22 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1002 string - templ_7745c5c3_Var1002, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTablePurpose) + var templ_7745c5c3_Var1177 string + templ_7745c5c3_Var1177, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTablePurpose) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2761, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3407, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1002)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1177)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "cred-purpose"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1001), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "cred-purpose"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1176), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1003 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1178 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18579,7 +22006,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1004 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1179 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18591,7 +22018,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1005 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1180 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18603,32 +22030,32 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1006 string - templ_7745c5c3_Var1006, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeAPIKey) + var templ_7745c5c3_Var1181 string + templ_7745c5c3_Var1181, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeAPIKey) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2766, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3412, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1006)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1181)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.CredentialsPurposePlaceholder}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1005), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Value(selectbox.ValueProps{Placeholder: labels.CredentialsPurposePlaceholder}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1180), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "purpose"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1004), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Trigger(selectbox.TriggerProps{Name: "purpose"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1179), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 723, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 887, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1007 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1182 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18640,7 +22067,7 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1008 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1183 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18652,12 +22079,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1009 string - templ_7745c5c3_Var1009, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeAPIKey) + var templ_7745c5c3_Var1184 string + templ_7745c5c3_Var1184, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeAPIKey) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2774, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3420, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1009)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1184)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18666,15 +22093,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "api_key", Selected: true, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1008), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1183), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 724, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 888, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1010 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1185 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18686,12 +22113,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1011 string - templ_7745c5c3_Var1011, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeVision) + var templ_7745c5c3_Var1186 string + templ_7745c5c3_Var1186, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeVision) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2779, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3425, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1011)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1186)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18699,15 +22126,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "vision_understanding", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1010), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1185), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 725, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 889, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1012 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1187 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18719,12 +22146,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1013 string - templ_7745c5c3_Var1013, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeEmbedding) + var templ_7745c5c3_Var1188 string + templ_7745c5c3_Var1188, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeEmbedding) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2784, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3430, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1013)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1188)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18732,15 +22159,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "embedding", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1012), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1187), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 726, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 890, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1014 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1189 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18752,12 +22179,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1015 string - templ_7745c5c3_Var1015, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeSearch) + var templ_7745c5c3_Var1190 string + templ_7745c5c3_Var1190, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeSearch) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2789, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3435, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1015)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1190)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18765,15 +22192,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "search", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1014), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1189), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 727, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 891, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1016 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1191 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18785,12 +22212,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1017 string - templ_7745c5c3_Var1017, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposePreview) + var templ_7745c5c3_Var1192 string + templ_7745c5c3_Var1192, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposePreview) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2794, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3440, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1017)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1192)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18798,15 +22225,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "preview", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1016), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1191), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 728, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 892, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1018 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1193 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18818,12 +22245,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1019 string - templ_7745c5c3_Var1019, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeChat) + var templ_7745c5c3_Var1194 string + templ_7745c5c3_Var1194, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeChat) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2799, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3445, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1019)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1194)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18831,15 +22258,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "chat", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1018), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1193), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 729, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 893, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1020 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1195 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18851,12 +22278,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1021 string - templ_7745c5c3_Var1021, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeImageTo3D) + var templ_7745c5c3_Var1196 string + templ_7745c5c3_Var1196, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeImageTo3D) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2804, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3450, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1021)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1196)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18864,15 +22291,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "image_to_3d", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1020), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1195), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 730, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 894, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1022 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1197 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18884,12 +22311,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1023 string - templ_7745c5c3_Var1023, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeVirtualTryOn) + var templ_7745c5c3_Var1198 string + templ_7745c5c3_Var1198, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeVirtualTryOn) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2809, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3455, Col: 45} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1023)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1198)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18897,15 +22324,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "virtual_try_on", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1022), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1197), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 731, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 895, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1024 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1199 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18917,12 +22344,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1025 string - templ_7745c5c3_Var1025, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeReviewSummarization) + var templ_7745c5c3_Var1200 string + templ_7745c5c3_Var1200, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeReviewSummarization) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2814, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3460, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1025)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1200)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18930,15 +22357,15 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "review_summarization", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1024), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1199), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 732, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 896, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1026 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1201 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18950,12 +22377,12 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1027 string - templ_7745c5c3_Var1027, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeSearchAnalyze) + var templ_7745c5c3_Var1202 string + templ_7745c5c3_Var1202, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsPurposeSearchAnalyze) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2819, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3465, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1027)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1202)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -18963,27 +22390,27 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }) templ_7745c5c3_Err = selectbox.Item(selectbox.ItemProps{ Value: "search_analyze", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1026), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1201), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.Content(selectbox.ContentProps{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1007), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.Content(selectbox.ContentProps{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1182), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "cred-purpose"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1003), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = selectbox.SelectBox(selectbox.Props{ID: "cred-purpose"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1178), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 733, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 897, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1028 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1203 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -18995,18 +22422,18 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1029 string - templ_7745c5c3_Var1029, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsSecretPlaceholder) + var templ_7745c5c3_Var1204 string + templ_7745c5c3_Var1204, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsSecretPlaceholder) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2826, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3472, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1029)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1204)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "cred-secret"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1028), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "cred-secret"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1203), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19020,11 +22447,11 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 734, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 898, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1030 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1205 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19036,18 +22463,18 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1031 string - templ_7745c5c3_Var1031, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTablePriority) + var templ_7745c5c3_Var1206 string + templ_7745c5c3_Var1206, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTablePriority) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2839, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3485, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1031)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1206)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "cred-priority"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1030), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "cred-priority"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1205), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19060,11 +22487,11 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 735, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 899, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1032 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1207 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19076,18 +22503,18 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1033 string - templ_7745c5c3_Var1033, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableHourlyLimit) + var templ_7745c5c3_Var1208 string + templ_7745c5c3_Var1208, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableHourlyLimit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2850, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3496, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1033)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1208)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "cred-hourly-limit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1032), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "cred-hourly-limit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1207), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19100,11 +22527,11 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 736, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 900, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1034 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1209 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19116,18 +22543,18 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1035 string - templ_7745c5c3_Var1035, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableDailyLimit) + var templ_7745c5c3_Var1210 string + templ_7745c5c3_Var1210, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsTableDailyLimit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2861, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3507, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1035)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1210)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "cred-daily-limit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1034), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "cred-daily-limit"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1209), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19140,11 +22567,11 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 737, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 901, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1036 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1211 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19160,26 +22587,26 @@ func CredentialsAddForm(labels viewmodel.SiteLabels, activeEnv string) templ.Com if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 738, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 902, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1037 string - templ_7745c5c3_Var1037, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsSave) + var templ_7745c5c3_Var1212 string + templ_7745c5c3_Var1212, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsSave) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2874, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3520, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1037)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1212)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1036), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1211), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 739, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 903, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19216,12 +22643,12 @@ func SellerDraftPanel(draft viewmodel.SellerDraft) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1038 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1038 == nil { - templ_7745c5c3_Var1038 = templ.NopComponent + templ_7745c5c3_Var1213 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1213 == nil { + templ_7745c5c3_Var1213 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var1039 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1214 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19233,7 +22660,7 @@ func SellerDraftPanel(draft viewmodel.SellerDraft) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1040 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1215 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19245,7 +22672,7 @@ func SellerDraftPanel(draft viewmodel.SellerDraft) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1041 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1216 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19257,32 +22684,32 @@ func SellerDraftPanel(draft viewmodel.SellerDraft) templ.Component { }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1042 string - templ_7745c5c3_Var1042, templ_7745c5c3_Err = templ.JoinStringErrs(draft.Title) + var templ_7745c5c3_Var1217 string + templ_7745c5c3_Var1217, templ_7745c5c3_Err = templ.JoinStringErrs(draft.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2897, Col: 17} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3543, Col: 17} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1042)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1217)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-2xl font-bold tracking-tight"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1041), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-2xl font-bold tracking-tight"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1216), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1040), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1215), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 740, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 904, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1043 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1218 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19294,7 +22721,7 @@ func SellerDraftPanel(draft viewmodel.SellerDraft) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 741, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 905, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19302,42 +22729,42 @@ func SellerDraftPanel(draft viewmodel.SellerDraft) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 742, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 906, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, attr := range draft.Attributes { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 743, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 907, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1044 string - templ_7745c5c3_Var1044, templ_7745c5c3_Err = templ.JoinStringErrs(attr) + var templ_7745c5c3_Var1219 string + templ_7745c5c3_Var1219, templ_7745c5c3_Err = templ.JoinStringErrs(attr) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2906, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3552, Col: 14} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1044)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1219)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 744, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 908, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 745, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 909, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1043), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1218), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1039), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1214), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19361,16 +22788,16 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1045 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1045 == nil { - templ_7745c5c3_Var1045 = templ.NopComponent + templ_7745c5c3_Var1220 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1220 == nil { + templ_7745c5c3_Var1220 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 746, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 910, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1046 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1221 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19382,7 +22809,7 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1047 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1222 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19394,11 +22821,11 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 747, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 911, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1048 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1223 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19410,22 +22837,22 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1049 string - templ_7745c5c3_Var1049, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploadTitle) + var templ_7745c5c3_Var1224 string + templ_7745c5c3_Var1224, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploadTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2921, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3567, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1049)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1224)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1048), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1223), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1050 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1225 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19437,26 +22864,26 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1051 string - templ_7745c5c3_Var1051, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploadBody) + var templ_7745c5c3_Var1226 string + templ_7745c5c3_Var1226, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploadBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2924, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3570, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1051)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1226)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1050), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1225), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 748, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 912, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1052 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1227 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19472,40 +22899,40 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 749, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 913, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1053 string - templ_7745c5c3_Var1053, templ_7745c5c3_Err = templ.JoinStringErrs(page.ProviderLabel) + var templ_7745c5c3_Var1228 string + templ_7745c5c3_Var1228, templ_7745c5c3_Err = templ.JoinStringErrs(page.ProviderLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2929, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3575, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1053)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1228)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1052), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1227), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 750, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 914, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1047), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1222), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 751, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 915, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1054 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1229 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19517,20 +22944,20 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 752, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 917, "\" method=\"post\" enctype=\"multipart/form-data\" class=\"space-y-5\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19550,25 +22977,25 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1056 = []any{imageStudioUploadZoneClass(page.HasUpload)} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1056...) + var templ_7745c5c3_Var1231 = []any{imageStudioUploadZoneClass(page.HasUpload)} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1231...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 754, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 919, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19576,33 +23003,33 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 756, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 920, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1058 string - templ_7745c5c3_Var1058, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploadBrowse) + var templ_7745c5c3_Var1233 string + templ_7745c5c3_Var1233, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploadBrowse) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2947, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3593, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1058)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1233)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 757, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 921, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1059 string - templ_7745c5c3_Var1059, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioAcceptedTypes) + var templ_7745c5c3_Var1234 string + templ_7745c5c3_Var1234, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioAcceptedTypes) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2948, Col: 112} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3594, Col: 112} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1059)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1234)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 758, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 922, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19619,29 +23046,29 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 759, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 923, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1060 = []any{imageStudioSelectedFileClass(page.HasUpload)} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1060...) + var templ_7745c5c3_Var1235 = []any{imageStudioSelectedFileClass(page.HasUpload)} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1235...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 760, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 925, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19649,63 +23076,63 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 762, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 926, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1062 string - templ_7745c5c3_Var1062, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploaded) + var templ_7745c5c3_Var1237 string + templ_7745c5c3_Var1237, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioUploaded) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2970, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3616, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1062)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1237)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 763, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 927, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1063 string - templ_7745c5c3_Var1063, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioSelectedFile) + var templ_7745c5c3_Var1238 string + templ_7745c5c3_Var1238, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioSelectedFile) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2972, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3618, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1063)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1238)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 764, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 928, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1064 string - templ_7745c5c3_Var1064, templ_7745c5c3_Err = templ.JoinStringErrs(page.SelectedFile) + var templ_7745c5c3_Var1239 string + templ_7745c5c3_Var1239, templ_7745c5c3_Err = templ.JoinStringErrs(page.SelectedFile) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2972, Col: 106} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3618, Col: 106} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1064)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1239)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 765, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 929, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1065 string - templ_7745c5c3_Var1065, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioProviderGuidance) + var templ_7745c5c3_Var1240 string + templ_7745c5c3_Var1240, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioProviderGuidance) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2977, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3623, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1065)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1240)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 766, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 930, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1066 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1241 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19717,58 +23144,58 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1067 string - templ_7745c5c3_Var1067, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioPresetTitle) + var templ_7745c5c3_Var1242 string + templ_7745c5c3_Var1242, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioPresetTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 2981, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3627, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1067)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1242)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1066), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1241), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 767, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 932, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, preset := range page.Presets { - var templ_7745c5c3_Var1069 = []any{imageStudioPresetClass()} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1069...) + var templ_7745c5c3_Var1244 = []any{imageStudioPresetClass()} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1244...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 769, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 937, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 774, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 938, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1073 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1248 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19836,42 +23263,42 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 775, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 939, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1074 string - templ_7745c5c3_Var1074, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEnhanceCTA) + var templ_7745c5c3_Var1249 string + templ_7745c5c3_Var1249, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEnhanceCTA) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3003, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3649, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1074)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1249)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 776, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 940, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1073), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "w-full rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1248), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 777, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 941, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1054), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1229), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1046), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1221), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19879,7 +23306,7 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 778, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 942, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19887,7 +23314,7 @@ func SellerImageStudio(page viewmodel.SellerImageStudioPage, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 779, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 943, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19911,12 +23338,12 @@ func imageStudioStatusCard(result viewmodel.ImageEnhancementResult, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1075 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1075 == nil { - templ_7745c5c3_Var1075 = templ.NopComponent + templ_7745c5c3_Var1250 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1250 == nil { + templ_7745c5c3_Var1250 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var1076 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1251 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19928,7 +23355,7 @@ func imageStudioStatusCard(result viewmodel.ImageEnhancementResult, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1077 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1252 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -19940,7 +23367,7 @@ func imageStudioStatusCard(result viewmodel.ImageEnhancementResult, labels viewm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 780, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 944, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -19960,129 +23387,129 @@ func imageStudioStatusCard(result viewmodel.ImageEnhancementResult, labels viewm return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 781, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 945, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if result.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 782, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 946, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1078 string - templ_7745c5c3_Var1078, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioErrorTitle) + var templ_7745c5c3_Var1253 string + templ_7745c5c3_Var1253, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioErrorTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3061, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3707, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1078)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1253)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 783, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 947, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1079 string - templ_7745c5c3_Var1079, templ_7745c5c3_Err = templ.JoinStringErrs(result.Error) + var templ_7745c5c3_Var1254 string + templ_7745c5c3_Var1254, templ_7745c5c3_Err = templ.JoinStringErrs(result.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3062, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3708, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1079)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1254)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 784, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 948, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if result.Empty { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 785, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 949, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1080 string - templ_7745c5c3_Var1080, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyTitle) + var templ_7745c5c3_Var1255 string + templ_7745c5c3_Var1255, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3064, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3710, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1080)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1255)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 786, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 950, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1081 string - templ_7745c5c3_Var1081, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyBody) + var templ_7745c5c3_Var1256 string + templ_7745c5c3_Var1256, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3065, Col: 86} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3711, Col: 86} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1081)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1256)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 787, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 951, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 788, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 952, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1082 string - templ_7745c5c3_Var1082, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioStatusTitle) + var templ_7745c5c3_Var1257 string + templ_7745c5c3_Var1257, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioStatusTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3067, Col: 86} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3713, Col: 86} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1082)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1257)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 789, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 953, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1083 string - templ_7745c5c3_Var1083, templ_7745c5c3_Err = templ.JoinStringErrs(result.Status) + var templ_7745c5c3_Var1258 string + templ_7745c5c3_Var1258, templ_7745c5c3_Err = templ.JoinStringErrs(result.Status) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3068, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3714, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1083)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1258)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 790, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 954, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if result.ProcessedNote != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 791, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 955, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1084 string - templ_7745c5c3_Var1084, templ_7745c5c3_Err = templ.JoinStringErrs(result.ProcessedNote) + var templ_7745c5c3_Var1259 string + templ_7745c5c3_Var1259, templ_7745c5c3_Err = templ.JoinStringErrs(result.ProcessedNote) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3070, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3716, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1084)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1259)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 792, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 956, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 793, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 957, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if !result.Empty && result.ModeLabel != "" { - templ_7745c5c3_Var1085 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1260 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20094,31 +23521,31 @@ func imageStudioStatusCard(result viewmodel.ImageEnhancementResult, labels viewm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1086 string - templ_7745c5c3_Var1086, templ_7745c5c3_Err = templ.JoinStringErrs(result.ModeLabel) + var templ_7745c5c3_Var1261 string + templ_7745c5c3_Var1261, templ_7745c5c3_Err = templ.JoinStringErrs(result.ModeLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3077, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3723, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1086)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1261)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1085), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1260), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1077), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1252), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: imageStudioStatusCardClass(result)}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1076), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: imageStudioStatusCardClass(result)}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1251), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20142,12 +23569,12 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1087 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1087 == nil { - templ_7745c5c3_Var1087 = templ.NopComponent + templ_7745c5c3_Var1262 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1262 == nil { + templ_7745c5c3_Var1262 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var1088 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1263 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20159,7 +23586,7 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1089 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1264 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20171,11 +23598,11 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 794, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 958, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1090 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1265 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20187,22 +23614,22 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1091 string - templ_7745c5c3_Var1091, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioResultTitle) + var templ_7745c5c3_Var1266 string + templ_7745c5c3_Var1266, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioResultTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3090, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3736, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1091)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1266)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1090), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1265), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1092 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1267 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20214,27 +23641,27 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1093 string - templ_7745c5c3_Var1093, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioResultBody) + var templ_7745c5c3_Var1268 string + templ_7745c5c3_Var1268, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioResultBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3093, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3739, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1093)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1268)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1092), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1267), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 795, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 959, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if !result.Empty && result.ModeLabel != "" { - templ_7745c5c3_Var1094 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1269 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20246,37 +23673,37 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1095 string - templ_7745c5c3_Var1095, templ_7745c5c3_Err = templ.JoinStringErrs(result.ModeLabel) + var templ_7745c5c3_Var1270 string + templ_7745c5c3_Var1270, templ_7745c5c3_Err = templ.JoinStringErrs(result.ModeLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3098, Col: 24} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3744, Col: 24} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1095)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1270)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1094), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1269), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 796, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 960, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1089), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var1264), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 797, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 961, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1096 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1271 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20289,7 +23716,7 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie } ctx = templ.InitializeContext(ctx) if result.Empty || result.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 798, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 962, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20297,84 +23724,84 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 799, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 963, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if result.Error != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 800, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 964, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1097 string - templ_7745c5c3_Var1097, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioErrorTitle) + var templ_7745c5c3_Var1272 string + templ_7745c5c3_Var1272, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioErrorTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3112, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3758, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1097)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1272)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 801, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 965, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1098 string - templ_7745c5c3_Var1098, templ_7745c5c3_Err = templ.JoinStringErrs(result.Error) + var templ_7745c5c3_Var1273 string + templ_7745c5c3_Var1273, templ_7745c5c3_Err = templ.JoinStringErrs(result.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3113, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3759, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1098)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1273)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 802, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 966, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 803, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 967, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1099 string - templ_7745c5c3_Var1099, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyTitle) + var templ_7745c5c3_Var1274 string + templ_7745c5c3_Var1274, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3115, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3761, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1099)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1274)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 804, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 968, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1100 string - templ_7745c5c3_Var1100, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyBody) + var templ_7745c5c3_Var1275 string + templ_7745c5c3_Var1275, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3116, Col: 97} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3762, Col: 97} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1100)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1275)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 805, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 969, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 806, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 970, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 807, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 971, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if !result.Empty && result.Error == "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 808, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 972, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20386,29 +23813,29 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 809, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 973, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if result.DownloadURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 810, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 974, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1101 string - templ_7745c5c3_Var1101, templ_7745c5c3_Err = templ.JoinStringErrs(result.DownloadNote) + var templ_7745c5c3_Var1276 string + templ_7745c5c3_Var1276, templ_7745c5c3_Err = templ.JoinStringErrs(result.DownloadNote) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3129, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3775, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1101)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1276)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 811, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 975, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var1102 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1277 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20424,20 +23851,20 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 812, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 976, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1103 string - templ_7745c5c3_Var1103, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioDownloadImage) + var templ_7745c5c3_Var1278 string + templ_7745c5c3_Var1278, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioDownloadImage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3139, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3785, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1103)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1278)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 813, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 977, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20450,55 +23877,55 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie Attributes: templ.Attributes{ "download": result.DownloadFilename, }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1102), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1277), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 814, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 978, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 815, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 979, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1104 string - templ_7745c5c3_Var1104, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioCaptionTitle) + var templ_7745c5c3_Var1279 string + templ_7745c5c3_Var1279, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioCaptionTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3145, Col: 103} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3791, Col: 103} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1104)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1279)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 816, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 980, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1105 string - templ_7745c5c3_Var1105, templ_7745c5c3_Err = templ.JoinStringErrs(result.Caption) + var templ_7745c5c3_Var1280 string + templ_7745c5c3_Var1280, templ_7745c5c3_Err = templ.JoinStringErrs(result.Caption) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3146, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3792, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1105)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1280)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 817, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 981, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1106 string - templ_7745c5c3_Var1106, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioMetadataTitle) + var templ_7745c5c3_Var1281 string + templ_7745c5c3_Var1281, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioMetadataTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3149, Col: 104} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3795, Col: 104} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1106)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1281)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 818, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 982, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20520,17 +23947,17 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 819, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 983, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(result.Metadata) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 820, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 984, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, item := range result.Metadata { - templ_7745c5c3_Var1107 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1282 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20542,41 +23969,41 @@ func imageStudioPreviewPanel(result viewmodel.ImageEnhancementResult, labels vie }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var1108 string - templ_7745c5c3_Var1108, templ_7745c5c3_Err = templ.JoinStringErrs(item) + var templ_7745c5c3_Var1283 string + templ_7745c5c3_Var1283, templ_7745c5c3_Err = templ.JoinStringErrs(item) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3162, Col: 16} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3808, Col: 16} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1108)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1283)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1107), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1282), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 821, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 985, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 822, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 986, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1096), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1271), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1088), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1263), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20600,39 +24027,39 @@ func imageStudioMetaRow(labelText, value string) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1109 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1109 == nil { - templ_7745c5c3_Var1109 = templ.NopComponent + templ_7745c5c3_Var1284 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1284 == nil { + templ_7745c5c3_Var1284 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if value != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 823, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 987, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1110 string - templ_7745c5c3_Var1110, templ_7745c5c3_Err = templ.JoinStringErrs(labelText) + var templ_7745c5c3_Var1285 string + templ_7745c5c3_Var1285, templ_7745c5c3_Err = templ.JoinStringErrs(labelText) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3177, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3823, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1110)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1285)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 824, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 988, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1111 string - templ_7745c5c3_Var1111, templ_7745c5c3_Err = templ.JoinStringErrs(value) + var templ_7745c5c3_Var1286 string + templ_7745c5c3_Var1286, templ_7745c5c3_Err = templ.JoinStringErrs(value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3178, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3824, Col: 47} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1111)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1286)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 825, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 989, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20657,48 +24084,48 @@ func imageStudioFrame(title, imageURL, badgeLabel string, visual viewmodel.Image }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1112 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1112 == nil { - templ_7745c5c3_Var1112 = templ.NopComponent + templ_7745c5c3_Var1287 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1287 == nil { + templ_7745c5c3_Var1287 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - var templ_7745c5c3_Var1113 = []any{visual.FrameClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1113...) + var templ_7745c5c3_Var1288 = []any{visual.FrameClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1288...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 826, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 991, "\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1115 string - templ_7745c5c3_Var1115, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var1290 string + templ_7745c5c3_Var1290, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3186, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3832, Col: 59} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1115)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1290)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 828, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 992, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if badgeLabel != "" { - templ_7745c5c3_Var1116 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var1291 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -20714,219 +24141,219 @@ func imageStudioFrame(title, imageURL, badgeLabel string, visual viewmodel.Image if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 829, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 993, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1117 string - templ_7745c5c3_Var1117, templ_7745c5c3_Err = templ.JoinStringErrs(badgeLabel) + var templ_7745c5c3_Var1292 string + templ_7745c5c3_Var1292, templ_7745c5c3_Err = templ.JoinStringErrs(badgeLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3190, Col: 17} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/compositions/workspace.templ`, Line: 3836, Col: 17} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1117)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var1292)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1116), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline, Class: "border-primary/30 bg-primary/5 text-primary"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var1291), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 830, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 994, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1118 = []any{visual.CanvasClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1118...) + var templ_7745c5c3_Var1293 = []any{visual.CanvasClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1293...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 831, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 996, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if visual.BackdropClass != "" { - var templ_7745c5c3_Var1120 = []any{visual.BackdropClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1120...) + var templ_7745c5c3_Var1295 = []any{visual.BackdropClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1295...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 833, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 998, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if visual.PodiumClass != "" { - var templ_7745c5c3_Var1122 = []any{visual.PodiumClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1122...) + var templ_7745c5c3_Var1297 = []any{visual.PodiumClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1297...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 835, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1000, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if visual.ShadowClass != "" { - var templ_7745c5c3_Var1124 = []any{visual.ShadowClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1124...) + var templ_7745c5c3_Var1299 = []any{visual.ShadowClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1299...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 837, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1002, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - var templ_7745c5c3_Var1126 = []any{visual.ProductClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1126...) + var templ_7745c5c3_Var1301 = []any{visual.ProductClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1301...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 839, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1004, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1128 = []any{visual.ImageClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1128...) + var templ_7745c5c3_Var1303 = []any{visual.ImageClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1303...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 841, "\"")
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1008, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if visual.GlowClass != "" { - var templ_7745c5c3_Var1132 = []any{visual.GlowClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1132...) + var templ_7745c5c3_Var1307 = []any{visual.GlowClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1307...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 845, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1010, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 847, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1011, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -20950,170 +24377,170 @@ func imageStudioPresetThumbnail(preview viewmodel.ImageEnhancementPresetPreview) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var1134 := templ.GetChildren(ctx) - if templ_7745c5c3_Var1134 == nil { - templ_7745c5c3_Var1134 = templ.NopComponent + templ_7745c5c3_Var1309 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1309 == nil { + templ_7745c5c3_Var1309 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - var templ_7745c5c3_Var1135 = []any{preview.FrameClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1135...) + var templ_7745c5c3_Var1310 = []any{preview.FrameClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1310...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 848, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1013, "\" aria-hidden=\"true\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var1137 = []any{preview.BackdropClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1137...) + var templ_7745c5c3_Var1312 = []any{preview.BackdropClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1312...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 850, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1015, "\"> ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if preview.AccentClass != "" { - var templ_7745c5c3_Var1139 = []any{preview.AccentClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1139...) + var templ_7745c5c3_Var1314 = []any{preview.AccentClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1314...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 852, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1017, "\"> ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if preview.LightClass != "" { - var templ_7745c5c3_Var1141 = []any{preview.LightClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1141...) + var templ_7745c5c3_Var1316 = []any{preview.LightClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1316...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 854, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1019, "\"> ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if preview.SurfaceClass != "" { - var templ_7745c5c3_Var1143 = []any{preview.SurfaceClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1143...) + var templ_7745c5c3_Var1318 = []any{preview.SurfaceClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1318...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 856, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1021, "\"> ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if preview.ShadowClass != "" { - var templ_7745c5c3_Var1145 = []any{preview.ShadowClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1145...) + var templ_7745c5c3_Var1320 = []any{preview.ShadowClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1320...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 858, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1023, "\"> ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - var templ_7745c5c3_Var1147 = []any{preview.ProductClass} - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1147...) + var templ_7745c5c3_Var1322 = []any{preview.ProductClass} + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var1322...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 860, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1025, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/ui/fragments/fragments.templ b/internal/ui/fragments/fragments.templ index 952235b..3985634 100644 --- a/internal/ui/fragments/fragments.templ +++ b/internal/ui/fragments/fragments.templ @@ -1,6 +1,7 @@ package fragments import ( + "fmt" "github.com/vestavision/btkcommerce/components/button" "github.com/vestavision/btkcommerce/components/card" "github.com/vestavision/btkcommerce/components/chipinput" @@ -284,20 +285,20 @@ templ SellerProductDraftPendingStep(index string, glyph func(...icon.Props) temp } -func assistantChangeSummary(changes []string) string { +func assistantChangeSummary(changes []string, labels viewmodel.SiteLabels) string { if len(changes) == 0 { return "" } if len(changes) == 1 { - return changes[0] + " guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryOne, changes[0]) } if len(changes) == 2 { - return changes[0] + " ve " + changes[1] + " guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryTwo, changes[0], changes[1]) } if len(changes) == 3 { - return changes[0] + ", " + changes[1] + " ve " + changes[2] + " guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryThree, changes[0], changes[1], changes[2]) } - return changes[0] + ", " + changes[1] + " ve diger alanlar guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryMany, changes[0], changes[1]) } // SellerProductDraftForm is the AI-populated form fragment swapped in after analysis. diff --git a/internal/ui/fragments/fragments_templ.go b/internal/ui/fragments/fragments_templ.go index 0d998a1..2be516f 100644 --- a/internal/ui/fragments/fragments_templ.go +++ b/internal/ui/fragments/fragments_templ.go @@ -9,6 +9,7 @@ import "github.com/a-h/templ" import templruntime "github.com/a-h/templ/runtime" import ( + "fmt" "github.com/vestavision/btkcommerce/components/button" "github.com/vestavision/btkcommerce/components/card" "github.com/vestavision/btkcommerce/components/chipinput" @@ -319,7 +320,7 @@ func SellerProductAnalyzeStatus(jobID string, labels viewmodel.SiteLabels) templ var templ_7745c5c3_Var11 string templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.JoinStringErrs("/fragments/vision/jobs/" + jobID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 65, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 66, Col: 44} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var11)) if templ_7745c5c3_Err != nil { @@ -332,7 +333,7 @@ func SellerProductAnalyzeStatus(jobID string, labels viewmodel.SiteLabels) templ var templ_7745c5c3_Var12 string templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductAnalyzePending) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 71, Col: 33} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 72, Col: 33} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) if templ_7745c5c3_Err != nil { @@ -375,7 +376,7 @@ func ProductImageUploadResponse(asset viewmodel.ProductImageAsset, labels viewmo var templ_7745c5c3_Var14 string templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(asset.URL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 80, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 81, Col: 23} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) if templ_7745c5c3_Err != nil { @@ -502,7 +503,7 @@ func DraftAutoSaveStatus(savedAt string, labels viewmodel.SiteLabels) templ.Comp var templ_7745c5c3_Var18 string templ_7745c5c3_Var18, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormDraftSaved) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 111, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 112, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var18)) if templ_7745c5c3_Err != nil { @@ -515,7 +516,7 @@ func DraftAutoSaveStatus(savedAt string, labels viewmodel.SiteLabels) templ.Comp var templ_7745c5c3_Var19 string templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(savedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 111, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 112, Col: 47} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) if templ_7745c5c3_Err != nil { @@ -533,7 +534,7 @@ func DraftAutoSaveStatus(savedAt string, labels viewmodel.SiteLabels) templ.Comp var templ_7745c5c3_Var20 string templ_7745c5c3_Var20, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormDraftSaved) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 116, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 117, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var20)) if templ_7745c5c3_Err != nil { @@ -649,7 +650,7 @@ func SellerProductDraftAIRegion(draft viewmodel.SellerProductDraftPage, labels v var templ_7745c5c3_Var25 string templ_7745c5c3_Var25, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 139, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 140, Col: 56} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var25)) if templ_7745c5c3_Err != nil { @@ -674,7 +675,7 @@ func SellerProductDraftAIRegion(draft viewmodel.SellerProductDraftPage, labels v var templ_7745c5c3_Var27 string templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIPrompt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 143, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 144, Col: 85} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27)) if templ_7745c5c3_Err != nil { @@ -724,7 +725,7 @@ func SellerProductDraftAIRegion(draft viewmodel.SellerProductDraftPage, labels v var templ_7745c5c3_Var29 string templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIAnalyze) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 170, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 171, Col: 41} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) if templ_7745c5c3_Err != nil { @@ -777,7 +778,7 @@ func SellerProductDraftAIRegion(draft viewmodel.SellerProductDraftPage, labels v var templ_7745c5c3_Var31 string templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIUndo) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 186, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 187, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) if templ_7745c5c3_Err != nil { @@ -817,7 +818,7 @@ func SellerProductDraftAIRegion(draft viewmodel.SellerProductDraftPage, labels v var templ_7745c5c3_Var32 string templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAINoImages) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 192, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 193, Col: 70} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32)) if templ_7745c5c3_Err != nil { @@ -835,7 +836,7 @@ func SellerProductDraftAIRegion(draft viewmodel.SellerProductDraftPage, labels v var templ_7745c5c3_Var33 string templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIUploadPendingBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 194, Col: 111} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 195, Col: 111} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) if templ_7745c5c3_Err != nil { @@ -853,7 +854,7 @@ func SellerProductDraftAIRegion(draft viewmodel.SellerProductDraftPage, labels v var templ_7745c5c3_Var34 string templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.JoinStringErrs(draft.AnalyzeError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 196, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 197, Col: 56} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var34)) if templ_7745c5c3_Err != nil { @@ -953,7 +954,7 @@ func SellerProductDraftPendingState(labels viewmodel.SiteLabels) templ.Component var templ_7745c5c3_Var38 string templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIAnalyzing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 217, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 218, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38)) if templ_7745c5c3_Err != nil { @@ -966,7 +967,7 @@ func SellerProductDraftPendingState(labels viewmodel.SiteLabels) templ.Component var templ_7745c5c3_Var39 string templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIPendingTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 219, Col: 88} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 220, Col: 88} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39)) if templ_7745c5c3_Err != nil { @@ -979,7 +980,7 @@ func SellerProductDraftPendingState(labels viewmodel.SiteLabels) templ.Component var templ_7745c5c3_Var40 string templ_7745c5c3_Var40, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIPendingBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 220, Col: 106} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 221, Col: 106} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var40)) if templ_7745c5c3_Err != nil { @@ -1053,7 +1054,7 @@ func SellerProductDraftPendingStep(index string, glyph func(...icon.Props) templ var templ_7745c5c3_Var42 string templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinStringErrs(index) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 268, Col: 134} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 269, Col: 134} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42)) if templ_7745c5c3_Err != nil { @@ -1074,7 +1075,7 @@ func SellerProductDraftPendingStep(index string, glyph func(...icon.Props) templ var templ_7745c5c3_Var43 string templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(text) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 274, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 275, Col: 59} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) if templ_7745c5c3_Err != nil { @@ -1088,20 +1089,20 @@ func SellerProductDraftPendingStep(index string, glyph func(...icon.Props) templ }) } -func assistantChangeSummary(changes []string) string { +func assistantChangeSummary(changes []string, labels viewmodel.SiteLabels) string { if len(changes) == 0 { return "" } if len(changes) == 1 { - return changes[0] + " guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryOne, changes[0]) } if len(changes) == 2 { - return changes[0] + " ve " + changes[1] + " guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryTwo, changes[0], changes[1]) } if len(changes) == 3 { - return changes[0] + ", " + changes[1] + " ve " + changes[2] + " guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryThree, changes[0], changes[1], changes[2]) } - return changes[0] + ", " + changes[1] + " ve diger alanlar guncellendi." + return fmt.Sprintf(labels.AssistantChangeSummaryMany, changes[0], changes[1]) } // SellerProductDraftForm is the AI-populated form fragment swapped in after analysis. @@ -1162,7 +1163,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var47 string templ_7745c5c3_Var47, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormValidationTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 309, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 310, Col: 89} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var47)) if templ_7745c5c3_Err != nil { @@ -1175,7 +1176,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var48 string templ_7745c5c3_Var48, templ_7745c5c3_Err = templ.JoinStringErrs(draft.ValidationMessage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 310, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 311, Col: 71} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var48)) if templ_7745c5c3_Err != nil { @@ -1217,7 +1218,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var50 string templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 316, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 317, Col: 79} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) if templ_7745c5c3_Err != nil { @@ -1249,7 +1250,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var51 string templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(fieldValidationError(draft.ValidationErrors, "title")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 327, Col: 96} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 328, Col: 96} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) if templ_7745c5c3_Err != nil { @@ -1279,7 +1280,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var53 string templ_7745c5c3_Var53, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormVendor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 331, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 332, Col: 81} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var53)) if templ_7745c5c3_Err != nil { @@ -1321,7 +1322,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var55 string templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormCategory) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 344, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 345, Col: 85} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) if templ_7745c5c3_Err != nil { @@ -1373,7 +1374,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var59 string templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(draft.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 353, Col: 24} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 354, Col: 24} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) if templ_7745c5c3_Err != nil { @@ -1427,7 +1428,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var62 string templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(opt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 359, Col: 14} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 360, Col: 14} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) if templ_7745c5c3_Err != nil { @@ -1474,7 +1475,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var63 string templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(fieldValidationError(draft.ValidationErrors, "category")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 376, Col: 99} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 377, Col: 99} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) if templ_7745c5c3_Err != nil { @@ -1504,7 +1505,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var65 string templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormPrice) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 380, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 381, Col: 79} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) if templ_7745c5c3_Err != nil { @@ -1536,7 +1537,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var66 string templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.JoinStringErrs(fieldValidationError(draft.ValidationErrors, "price")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 391, Col: 96} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 392, Col: 96} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var66)) if templ_7745c5c3_Err != nil { @@ -1566,7 +1567,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var68 string templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormCompareAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 395, Col: 88} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 396, Col: 88} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) if templ_7745c5c3_Err != nil { @@ -1607,7 +1608,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var70 string templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormDescription) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 406, Col: 90} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 407, Col: 90} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) if templ_7745c5c3_Err != nil { @@ -1646,7 +1647,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var72 string templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormSize) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 415, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 416, Col: 77} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var72)) if templ_7745c5c3_Err != nil { @@ -1687,7 +1688,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var74 string templ_7745c5c3_Var74, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormMaterial) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 425, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 426, Col: 85} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var74)) if templ_7745c5c3_Err != nil { @@ -1728,7 +1729,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var76 string templ_7745c5c3_Var76, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormStyle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 435, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 436, Col: 79} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var76)) if templ_7745c5c3_Err != nil { @@ -1769,7 +1770,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var78 string templ_7745c5c3_Var78, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormColors) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 446, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 447, Col: 80} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var78)) if templ_7745c5c3_Err != nil { @@ -1809,7 +1810,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var80 string templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormTags) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 455, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 456, Col: 76} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var80)) if templ_7745c5c3_Err != nil { @@ -1849,7 +1850,7 @@ func SellerProductDraftForm(draft viewmodel.SellerProductDraftPage, labels viewm var templ_7745c5c3_Var82 string templ_7745c5c3_Var82, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormHighlights) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 464, Col: 88} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/fragments/fragments.templ`, Line: 465, Col: 88} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var82)) if templ_7745c5c3_Err != nil { diff --git a/internal/ui/pages/account.templ b/internal/ui/pages/account.templ index 1b4b864..d515a29 100644 --- a/internal/ui/pages/account.templ +++ b/internal/ui/pages/account.templ @@ -41,6 +41,18 @@ func accountOrderFilterHref(status string, query string) string { return href } +func accountActiveOrderFilterLabel(filters []viewmodel.OrderFilter, status string, labels viewmodel.SiteLabels) string { + for _, filter := range filters { + if filter.Status == status { + return filter.Label + } + } + if strings.TrimSpace(status) == "" { + return labels.FilterAll + } + return status +} + func accountOrderItemCount(order viewmodel.OrderRow) int { if order.ItemCount > 0 { return order.ItemCount @@ -342,40 +354,64 @@ templ AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) { templ AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, activeStatus string, query string, selectedOrderID string, labels viewmodel.SiteLabels) {
-
-

{ labels.AccountOrdersTitle }

-
+
+
+
+

{ labels.AccountOrdersTitle }

+

{ labels.OrdersSearchPlaceholder }

+
+
+ if activeStatus != "" { + @button.Button(button.Props{Href: accountOrderFilterHref("", query), Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-full px-3"}) { + { accountActiveOrderFilterLabel(filters, activeStatus, labels) } + @icon.X(icon.Props{Class: "ml-1 size-3.5"}) + } + } + if query != "" { + @button.Button(button.Props{Href: accountOrderFilterHref(activeStatus, ""), Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-full px-3"}) { + { query } + @icon.X(icon.Props{Class: "ml-1 size-3.5"}) + } + } +
+
+ if activeStatus != "" { @input.Input(input.Props{Type: input.Type("hidden"), Name: "status", Value: activeStatus}) } - @input.Input(input.Props{ - Type: input.TypeSearch, - Name: "q", - Value: query, - Placeholder: labels.OrdersSearchPlaceholder, - Class: "h-9 rounded-lg bg-muted/50 text-sm", - }) - @button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeIcon, Class: "size-9 shrink-0 rounded-lg"}) { - @icon.Search(icon.Props{Class: "size-4"}) - } +
+ @label.Label(label.Props{For: "account-orders-query"}) { + { labels.WorkspaceAILogsQuery } + } + @input.Input(input.Props{ + ID: "account-orders-query", + Type: input.TypeSearch, + Name: "q", + Value: query, + Placeholder: labels.OrdersSearchPlaceholder, + Class: "h-10 rounded-xl bg-muted/50 text-sm", + }) +
+
+ @button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}) { + { labels.SearchApplyFilters } + } + @button.Button(button.Props{Href: "/account/orders", Variant: button.VariantOutline, Class: "rounded-xl"}) { + { labels.SearchClearFilters } + } +
-
-
- for _, f := range filters { - @button.Button(button.Props{ - Variant: accountFilterVariant(f.IsActive), - Href: accountOrderFilterHref(f.Status, query), - Class: "rounded-full whitespace-nowrap", - }) { - { f.Label } - } +
+ for _, f := range filters { + @button.Button(button.Props{ + Variant: accountFilterVariant(f.IsActive), + Href: accountOrderFilterHref(f.Status, query), + Class: "rounded-full whitespace-nowrap", + }) { + { f.Label } } -
- @button.Button(button.Props{Variant: button.VariantOutline, Class: "pointer-events-none justify-between rounded-xl text-muted-foreground lg:min-w-48"}) { - { labels.OrdersDateAll } - @icon.ChevronDown(icon.Props{Class: "size-4"}) }
if len(orders) == 0 { diff --git a/internal/ui/pages/account_templ.go b/internal/ui/pages/account_templ.go index ef24358..ca558a4 100644 --- a/internal/ui/pages/account_templ.go +++ b/internal/ui/pages/account_templ.go @@ -49,6 +49,18 @@ func accountOrderFilterHref(status string, query string) string { return href } +func accountActiveOrderFilterLabel(filters []viewmodel.OrderFilter, status string, labels viewmodel.SiteLabels) string { + for _, filter := range filters { + if filter.Status == status { + return filter.Label + } + } + if strings.TrimSpace(status) == "" { + return labels.FilterAll + } + return status +} + func accountOrderItemCount(order viewmodel.OrderRow) int { if order.ItemCount > 0 { return order.ItemCount @@ -147,7 +159,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var3 string templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(props.TransitionGroup) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 101, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 113, Col: 70} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) if templ_7745c5c3_Err != nil { @@ -184,7 +196,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var6 string templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(initials(data.Name)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 108, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 120, Col: 47} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) if templ_7745c5c3_Err != nil { @@ -209,7 +221,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var7 string templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(data.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 111, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 123, Col: 43} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) if templ_7745c5c3_Err != nil { @@ -222,7 +234,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var8 string templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(data.Email) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 112, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 124, Col: 60} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) if templ_7745c5c3_Err != nil { @@ -260,7 +272,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var9 templ.SafeURL templ_7745c5c3_Var9, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("/seller")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 126, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 138, Col: 39} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var9)) if templ_7745c5c3_Err != nil { @@ -277,7 +289,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var10 string templ_7745c5c3_Var10, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavSellerPanel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 130, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 142, Col: 31} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var10)) if templ_7745c5c3_Err != nil { @@ -296,7 +308,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var11 templ.SafeURL templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("/admin")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 135, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 147, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var11)) if templ_7745c5c3_Err != nil { @@ -313,7 +325,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var12 string templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAdminPanel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 139, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 151, Col: 30} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) if templ_7745c5c3_Err != nil { @@ -343,7 +355,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var13 string templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 150, Col: 24} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 162, Col: 24} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13)) if templ_7745c5c3_Err != nil { @@ -376,7 +388,7 @@ func Account(props layouts.PageProps, data viewmodel.AccountPage, labels viewmod var templ_7745c5c3_Var15 string templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AuthLogout) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 159, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 171, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) if templ_7745c5c3_Err != nil { @@ -487,7 +499,7 @@ func AccountOrderDetail(props layouts.PageProps, order viewmodel.OrderRow, label var templ_7745c5c3_Var18 string templ_7745c5c3_Var18, templ_7745c5c3_Err = templ.JoinStringErrs(props.TransitionGroup) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 187, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 199, Col: 70} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var18)) if templ_7745c5c3_Err != nil { @@ -520,7 +532,7 @@ func AccountOrderDetail(props layouts.PageProps, order viewmodel.OrderRow, label var templ_7745c5c3_Var20 string templ_7745c5c3_Var20, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAllOrders) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 192, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 204, Col: 29} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var20)) if templ_7745c5c3_Err != nil { @@ -560,7 +572,7 @@ func AccountOrderDetail(props layouts.PageProps, order viewmodel.OrderRow, label var templ_7745c5c3_Var22 string templ_7745c5c3_Var22, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 198, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 210, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var22)) if templ_7745c5c3_Err != nil { @@ -596,7 +608,7 @@ func AccountOrderDetail(props layouts.PageProps, order viewmodel.OrderRow, label var templ_7745c5c3_Var24 string templ_7745c5c3_Var24, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersHideOrder) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 203, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 215, Col: 30} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var24)) if templ_7745c5c3_Err != nil { @@ -643,7 +655,7 @@ func AccountOrderDetail(props layouts.PageProps, order viewmodel.OrderRow, label var templ_7745c5c3_Var27 string templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersSummaryTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 209, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 221, Col: 66} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27)) if templ_7745c5c3_Err != nil { @@ -753,7 +765,7 @@ func orderDetailMetric(title string, value string, valueClass string) templ.Comp var templ_7745c5c3_Var29 string templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 229, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 241, Col: 64} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) if templ_7745c5c3_Err != nil { @@ -788,7 +800,7 @@ func orderDetailMetric(title string, value string, valueClass string) templ.Comp var templ_7745c5c3_Var32 string templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 230, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 242, Col: 48} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32)) if templ_7745c5c3_Err != nil { @@ -842,7 +854,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var35 string templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDeliveryNo) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 238, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 250, Col: 70} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35)) if templ_7745c5c3_Err != nil { @@ -855,7 +867,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var36 string templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.JoinStringErrs(orderDetailDeliveryNumber(order, index)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 239, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 251, Col: 70} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var36)) if templ_7745c5c3_Err != nil { @@ -888,7 +900,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var38 string templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersInvoiceAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 243, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 255, Col: 32} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38)) if templ_7745c5c3_Err != nil { @@ -923,7 +935,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var40 string templ_7745c5c3_Var40, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersSellerLabel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 248, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 260, Col: 71} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var40)) if templ_7745c5c3_Err != nil { @@ -936,7 +948,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var41 string templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SiteName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 248, Col: 132} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 260, Col: 132} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var41)) if templ_7745c5c3_Err != nil { @@ -961,7 +973,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var43 string templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 250, Col: 187} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 262, Col: 187} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) if templ_7745c5c3_Err != nil { @@ -988,7 +1000,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var45 string templ_7745c5c3_Var45, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersFollowAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 251, Col: 187} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 263, Col: 187} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var45)) if templ_7745c5c3_Err != nil { @@ -1015,7 +1027,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var46 string templ_7745c5c3_Var46, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusDelivered) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 257, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 269, Col: 62} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var46)) if templ_7745c5c3_Err != nil { @@ -1028,7 +1040,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var47 string templ_7745c5c3_Var47, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.OrdersDeliveredMessagePattern, item.Quantity, order.Date)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 259, Col: 123} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 271, Col: 123} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var47)) if templ_7745c5c3_Err != nil { @@ -1041,7 +1053,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var48 string templ_7745c5c3_Var48, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTrackingNumber) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 261, Col: 99} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 273, Col: 99} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var48)) if templ_7745c5c3_Err != nil { @@ -1054,7 +1066,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var49 string templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinStringErrs(orderDetailTrackingNumber(order, index)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 261, Col: 143} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 273, Col: 143} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) if templ_7745c5c3_Err != nil { @@ -1067,7 +1079,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var50 string templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersCargoCompany) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 262, Col: 97} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 274, Col: 97} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) if templ_7745c5c3_Err != nil { @@ -1080,7 +1092,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var51 string templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersCargoCompanyName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 262, Col: 131} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 274, Col: 131} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) if templ_7745c5c3_Err != nil { @@ -1105,7 +1117,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var53 string templ_7745c5c3_Var53, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersCargoWhere) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 264, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 276, Col: 81} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var53)) if templ_7745c5c3_Err != nil { @@ -1129,7 +1141,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var54 string templ_7745c5c3_Var54, templ_7745c5c3_Err = templ.JoinStringErrs(item.ImageURL) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 270, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 282, Col: 31} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var54)) if templ_7745c5c3_Err != nil { @@ -1142,7 +1154,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var55 string templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(item.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 270, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 282, Col: 50} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) if templ_7745c5c3_Err != nil { @@ -1165,7 +1177,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var56 string templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.JoinStringErrs(item.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 276, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 288, Col: 56} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var56)) if templ_7745c5c3_Err != nil { @@ -1178,7 +1190,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var57 string templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableItems) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 277, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 289, Col: 72} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var57)) if templ_7745c5c3_Err != nil { @@ -1191,7 +1203,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var58 string templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", item.Quantity)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 277, Col: 110} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 289, Col: 110} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var58)) if templ_7745c5c3_Err != nil { @@ -1209,7 +1221,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var59 string templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(item.Total) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 279, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 291, Col: 65} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) if templ_7745c5c3_Err != nil { @@ -1239,7 +1251,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var61 string templ_7745c5c3_Var61, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewProduct) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 282, Col: 158} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 294, Col: 158} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var61)) if templ_7745c5c3_Err != nil { @@ -1266,7 +1278,7 @@ func orderDeliveryDetail(order viewmodel.OrderRow, item viewmodel.OrderItemSumma var templ_7745c5c3_Var63 string templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersBuyAgain) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 283, Col: 196} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 295, Col: 196} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) if templ_7745c5c3_Err != nil { @@ -1334,7 +1346,7 @@ func accountTabLink(tab viewmodel.AccountTab, labels viewmodel.SiteLabels) templ var templ_7745c5c3_Var66 templ.SafeURL templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(tab.Href)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 294, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 306, Col: 32} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var66)) if templ_7745c5c3_Err != nil { @@ -1386,7 +1398,7 @@ func accountTabLink(tab viewmodel.AccountTab, labels viewmodel.SiteLabels) templ var templ_7745c5c3_Var68 string templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(tab.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 312, Col: 13} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 324, Col: 13} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) if templ_7745c5c3_Err != nil { @@ -1460,7 +1472,7 @@ func AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) tem var templ_7745c5c3_Var73 string templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountProfileTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 319, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 331, Col: 80} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var73)) if templ_7745c5c3_Err != nil { @@ -1513,7 +1525,7 @@ func AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) tem var templ_7745c5c3_Var76 string templ_7745c5c3_Var76, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountFirstName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 324, Col: 88} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 336, Col: 88} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var76)) if templ_7745c5c3_Err != nil { @@ -1532,7 +1544,7 @@ func AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) tem var templ_7745c5c3_Var77 string templ_7745c5c3_Var77, templ_7745c5c3_Err = templ.JoinStringErrs(data.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 325, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 337, Col: 35} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var77)) if templ_7745c5c3_Err != nil { @@ -1557,7 +1569,7 @@ func AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) tem var templ_7745c5c3_Var79 string templ_7745c5c3_Var79, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountEmail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 328, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 340, Col: 84} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var79)) if templ_7745c5c3_Err != nil { @@ -1576,7 +1588,7 @@ func AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) tem var templ_7745c5c3_Var80 string templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.JoinStringErrs(data.Email) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 329, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 341, Col: 36} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var80)) if templ_7745c5c3_Err != nil { @@ -1609,7 +1621,7 @@ func AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) tem var templ_7745c5c3_Var82 string templ_7745c5c3_Var82, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountMembership) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 334, Col: 88} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 346, Col: 88} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var82)) if templ_7745c5c3_Err != nil { @@ -1628,7 +1640,7 @@ func AccountProfile(data viewmodel.AccountPage, labels viewmodel.SiteLabels) tem var templ_7745c5c3_Var83 string templ_7745c5c3_Var83, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.AccountMemberSincePattern, data.Since)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 335, Col: 104} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 347, Col: 104} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var83)) if templ_7745c5c3_Err != nil { @@ -1676,20 +1688,103 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, templ_7745c5c3_Var84 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var85 string templ_7745c5c3_Var85, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountOrdersTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 346, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 360, Col: 82} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var85)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var86 string + templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersSearchPlaceholder) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 361, Col: 79} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var86)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if activeStatus != "" { + templ_7745c5c3_Var87 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var88 string + templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.JoinStringErrs(accountActiveOrderFilterLabel(filters, activeStatus, labels)) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 366, Col: 70} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var88)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.X(icon.Props{Class: "ml-1 size-3.5"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: accountOrderFilterHref("", query), Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-full px-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var87), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if query != "" { + templ_7745c5c3_Var89 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var90 string + templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.JoinStringErrs(query) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 372, Col: 15} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var90)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = icon.X(icon.Props{Class: "ml-1 size-3.5"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: accountOrderFilterHref(activeStatus, ""), Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-full px-3"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var89), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1699,17 +1794,53 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, return templ_7745c5c3_Err } } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var91 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var92 string + templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsQuery) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 384, Col: 36} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var92)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = label.Label(label.Props{For: "account-orders-query"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var91), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } templ_7745c5c3_Err = input.Input(input.Props{ + ID: "account-orders-query", Type: input.TypeSearch, Name: "q", Value: query, Placeholder: labels.OrdersSearchPlaceholder, - Class: "h-9 rounded-lg bg-muted/50 text-sm", + Class: "h-10 rounded-xl bg-muted/50 text-sm", }).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var86 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var93 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1721,22 +1852,54 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = icon.Search(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + var templ_7745c5c3_Var94 string + templ_7745c5c3_Var94, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchApplyFilters) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 397, Col: 34} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var94)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Size: button.SizeIcon, Class: "size-9 shrink-0 rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var86), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var93), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "
") + templ_7745c5c3_Var95 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var96 string + templ_7745c5c3_Var96, templ_7745c5c3_Err = templ.JoinStringErrs(labels.SearchClearFilters) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 400, Col: 34} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var96)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/account/orders", Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var95), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, f := range filters { - templ_7745c5c3_Var87 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var97 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1748,12 +1911,12 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var88 string - templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.JoinStringErrs(f.Label) + var templ_7745c5c3_Var98 string + templ_7745c5c3_Var98, templ_7745c5c3_Err = templ.JoinStringErrs(f.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 372, Col: 15} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 413, Col: 14} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var88)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var98)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1763,52 +1926,17 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, Variant: accountFilterVariant(f.IsActive), Href: accountOrderFilterHref(f.Status, query), Class: "rounded-full whitespace-nowrap", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var87), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Var89 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { - templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context - templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) - if !templ_7745c5c3_IsBuffer { - defer func() { - templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) - if templ_7745c5c3_Err == nil { - templ_7745c5c3_Err = templ_7745c5c3_BufErr - } - }() - } - ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var90 string - templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDateAll) - if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 377, Col: 26} - } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var90)) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var97), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = icon.ChevronDown(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - return nil - }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Class: "pointer-events-none justify-between rounded-xl text-muted-foreground lg:min-w-48"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var89), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(orders) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1816,37 +1944,37 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var91 string - templ_7745c5c3_Var91, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountOrdersEmpty) + var templ_7745c5c3_Var99 string + templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountOrdersEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 387, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 423, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var91)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var92 string - templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersEmpty) + var templ_7745c5c3_Var100 string + templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersEmpty) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 388, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 424, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var92)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var93 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var101 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1862,31 +1990,31 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var94 string - templ_7745c5c3_Var94, templ_7745c5c3_Err = templ.JoinStringErrs(labels.FooterDiscover) + var templ_7745c5c3_Var102 string + templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(labels.FooterDiscover) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 393, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 429, Col: 29} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var94)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/search", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var93), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/search", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var101), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1896,12 +2024,12 @@ func AccountOrders(orders []viewmodel.OrderRow, filters []viewmodel.OrderFilter, return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1925,127 +2053,127 @@ func accountOrderCard(order viewmodel.OrderRow, labels viewmodel.SiteLabels, exp }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var95 := templ.GetChildren(ctx) - if templ_7745c5c3_Var95 == nil { - templ_7745c5c3_Var95 = templ.NopComponent + templ_7745c5c3_Var103 := templ.GetChildren(ctx) + if templ_7745c5c3_Var103 == nil { + templ_7745c5c3_Var103 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - var templ_7745c5c3_Var96 = []any{"scroll-mt-28 overflow-hidden rounded-2xl border border-border/70 bg-card shadow-sm", + var templ_7745c5c3_Var104 = []any{"scroll-mt-28 overflow-hidden rounded-2xl border border-border/70 bg-card shadow-sm", templ.KV("ring-2 ring-primary/25", expanded), } - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var96...) + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var104...) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var99 string - templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableDate) + var templ_7745c5c3_Var107 string + templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableDate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 414, Col: 93} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 450, Col: 93} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var100 string - templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinStringErrs(order.Date) + var templ_7745c5c3_Var108 string + templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinStringErrs(order.Date) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 415, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 451, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var101 string - templ_7745c5c3_Var101, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableItems) + var templ_7745c5c3_Var109 string + templ_7745c5c3_Var109, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableItems) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 418, Col: 94} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 454, Col: 94} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var101)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var109)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var102 string - templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.OrdersItemSummaryPattern, accountOrderDeliveryCount(order), accountOrderItemCount(order))) + var templ_7745c5c3_Var110 string + templ_7745c5c3_Var110, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.OrdersItemSummaryPattern, accountOrderDeliveryCount(order), accountOrderItemCount(order))) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 419, Col: 139} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 455, Col: 139} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var110)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var103 string - templ_7745c5c3_Var103, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableAmount) + var templ_7745c5c3_Var111 string + templ_7745c5c3_Var111, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersTableAmount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 422, Col: 95} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 458, Col: 95} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var103)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var111)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var104 string - templ_7745c5c3_Var104, templ_7745c5c3_Err = templ.JoinStringErrs(order.Amount) + var templ_7745c5c3_Var112 string + templ_7745c5c3_Var112, templ_7745c5c3_Err = templ.JoinStringErrs(order.Amount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 423, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 459, Col: 56} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var104)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var112)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var105 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var113 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2057,27 +2185,27 @@ func accountOrderCard(order viewmodel.OrderRow, labels viewmodel.SiteLabels, exp }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var106 string - templ_7745c5c3_Var106, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailsAction) + var templ_7745c5c3_Var114 string + templ_7745c5c3_Var114, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersDetailsAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 425, Col: 111} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 461, Col: 111} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var106)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var114)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: order.DetailURL, Class: "rounded-xl px-8"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var105), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: order.DetailURL, Class: "rounded-xl px-8"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var113), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if expanded { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2085,7 +2213,7 @@ func accountOrderCard(order viewmodel.OrderRow, labels viewmodel.SiteLabels, exp if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2093,69 +2221,69 @@ func accountOrderCard(order viewmodel.OrderRow, labels viewmodel.SiteLabels, exp if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var107 string - templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.OrdersDeliverySummaryPattern, accountOrderItemCount(order))) + var templ_7745c5c3_Var115 string + templ_7745c5c3_Var115, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf(labels.OrdersDeliverySummaryPattern, accountOrderItemCount(order))) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 438, Col: 130} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 474, Col: 130} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var115)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var108 string - templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinStringErrs(order.ID) + var templ_7745c5c3_Var116 string + templ_7745c5c3_Var116, templ_7745c5c3_Err = templ.JoinStringErrs(order.ID) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 440, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 476, Col: 69} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var116)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, item := range order.Items { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if item.ImageURL != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, "\"") ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "\" class=\"h-full w-full object-cover\"> ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2165,30 +2293,30 @@ func accountOrderCard(order viewmodel.OrderRow, labels viewmodel.SiteLabels, exp return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if order.AssistantURL != "" { - templ_7745c5c3_Var112 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var120 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2204,28 +2332,28 @@ func accountOrderCard(order viewmodel.OrderRow, labels viewmodel.SiteLabels, exp if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 118, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 121, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var113 string - templ_7745c5c3_Var113, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) + var templ_7745c5c3_Var121 string + templ_7745c5c3_Var121, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersAskAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 459, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 495, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var113)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var121)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: order.AssistantURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var112), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: order.AssistantURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var120), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if order.ReviewURL != "" { - templ_7745c5c3_Var114 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var122 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2241,32 +2369,32 @@ func accountOrderCard(order viewmodel.OrderRow, labels viewmodel.SiteLabels, exp if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 122, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var115 string - templ_7745c5c3_Var115, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewAction) + var templ_7745c5c3_Var123 string + templ_7745c5c3_Var123, templ_7745c5c3_Err = templ.JoinStringErrs(labels.OrdersReviewAction) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 465, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 501, Col: 37} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var115)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var123)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: order.ReviewURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var114), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: order.ReviewURL, Variant: button.VariantOutline, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var122), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 123, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 121, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 124, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2290,29 +2418,29 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var116 := templ.GetChildren(ctx) - if templ_7745c5c3_Var116 == nil { - templ_7745c5c3_Var116 = templ.NopComponent + templ_7745c5c3_Var124 := templ.GetChildren(ctx) + if templ_7745c5c3_Var124 == nil { + templ_7745c5c3_Var124 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 122, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 125, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var117 string - templ_7745c5c3_Var117, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressesTitle) + var templ_7745c5c3_Var125 string + templ_7745c5c3_Var125, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressesTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 480, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 516, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var117)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var125)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 123, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 126, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var118 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var126 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2328,16 +2456,16 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 124, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 127, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var119 string - templ_7745c5c3_Var119, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressAdd) + var templ_7745c5c3_Var127 string + templ_7745c5c3_Var127, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressAdd) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 490, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 526, Col: 31} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var119)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var127)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2350,16 +2478,16 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, "data-tui-dialog-target": "address-form-dialog", "data-tui-dialog-trigger-open": "false", }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var118), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var126), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 125, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 128, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(addresses) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 126, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 129, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2367,38 +2495,38 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 127, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 130, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var120 string - templ_7745c5c3_Var120, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressEmptyTitle) + var templ_7745c5c3_Var128 string + templ_7745c5c3_Var128, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressEmptyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 500, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 536, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var120)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var128)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 128, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 131, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var121 string - templ_7745c5c3_Var121, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressEmptyBody) + var templ_7745c5c3_Var129 string + templ_7745c5c3_Var129, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 501, Col: 78} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 537, Col: 78} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var121)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var129)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 129, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 132, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 130, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 133, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2408,12 +2536,12 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 131, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 134, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Var122 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var130 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2425,7 +2553,7 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var123 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var131 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2437,7 +2565,7 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var124 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var132 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2449,7 +2577,7 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var125 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var133 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2461,27 +2589,27 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var126 string - templ_7745c5c3_Var126, templ_7745c5c3_Err = templ.JoinStringErrs(accountAddressFormTitle(form, labels)) + var templ_7745c5c3_Var134 string + templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(accountAddressFormTitle(form, labels)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 514, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 550, Col: 62} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var126)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var125), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var133), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 132, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 135, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if form.Error != "" { - templ_7745c5c3_Var127 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var135 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2493,29 +2621,29 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var128 string - templ_7745c5c3_Var128, templ_7745c5c3_Err = templ.JoinStringErrs(form.Error) + var templ_7745c5c3_Var136 string + templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(form.Error) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 516, Col: 92} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 552, Col: 92} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var128)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Description(dialog.DescriptionProps{Class: "text-destructive"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var127), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Description(dialog.DescriptionProps{Class: "text-destructive"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var135), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var124), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var132), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 133, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 136, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2525,17 +2653,17 @@ func AccountAddresses(addresses []viewmodel.Address, form viewmodel.AddressForm, } return nil }) - templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "sm:max-w-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var123), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "sm:max-w-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var131), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "address-form-dialog", Open: form.Open}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var122), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "address-form-dialog", Open: form.Open}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var130), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 134, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 137, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2559,30 +2687,30 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var129 := templ.GetChildren(ctx) - if templ_7745c5c3_Var129 == nil { - templ_7745c5c3_Var129 = templ.NopComponent + templ_7745c5c3_Var137 := templ.GetChildren(ctx) + if templ_7745c5c3_Var137 == nil { + templ_7745c5c3_Var137 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 135, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 138, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var130 string - templ_7745c5c3_Var130, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Label) + var templ_7745c5c3_Var138 string + templ_7745c5c3_Var138, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 530, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 566, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var130)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var138)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 136, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 139, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if addr.IsDefault { - templ_7745c5c3_Var131 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var139 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2594,128 +2722,128 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var132 string - templ_7745c5c3_Var132, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressDefault) + var templ_7745c5c3_Var140 string + templ_7745c5c3_Var140, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressDefault) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 532, Col: 119} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 568, Col: 119} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var132)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var140)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "text-[10px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var131), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary, Class: "text-[10px]"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var139), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 137, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 140, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var133 string - templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Recipient) + var templ_7745c5c3_Var141 string + templ_7745c5c3_Var141, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Recipient) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 536, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 572, Col: 60} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var141)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 138, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 141, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var134 string - templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Phone) + var templ_7745c5c3_Var142 string + templ_7745c5c3_Var142, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Phone) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 537, Col: 20} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 573, Col: 20} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var142)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 139, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 142, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var135 string - templ_7745c5c3_Var135, templ_7745c5c3_Err = templ.JoinStringErrs(addr.District) + var templ_7745c5c3_Var143 string + templ_7745c5c3_Var143, templ_7745c5c3_Err = templ.JoinStringErrs(addr.District) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 538, Col: 23} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 574, Col: 23} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var135)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var143)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 140, ", ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 143, ", ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var136 string - templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(addr.City) + var templ_7745c5c3_Var144 string + templ_7745c5c3_Var144, templ_7745c5c3_Err = templ.JoinStringErrs(addr.City) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 538, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 574, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var144)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 141, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 144, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var137 string - templ_7745c5c3_Var137, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Full) + var templ_7745c5c3_Var145 string + templ_7745c5c3_Var145, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Full) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 539, Col: 19} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 575, Col: 19} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var137)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var145)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 142, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 145, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if addr.PostalCode != "" || addr.Country != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 143, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 146, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var138 string - templ_7745c5c3_Var138, templ_7745c5c3_Err = templ.JoinStringErrs(addr.PostalCode) + var templ_7745c5c3_Var146 string + templ_7745c5c3_Var146, templ_7745c5c3_Err = templ.JoinStringErrs(addr.PostalCode) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 541, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 577, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var138)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var146)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 144, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var139 string - templ_7745c5c3_Var139, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Country) + var templ_7745c5c3_Var147 string + templ_7745c5c3_Var147, templ_7745c5c3_Err = templ.JoinStringErrs(addr.Country) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 541, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 577, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var139)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var147)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 145, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 146, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var140 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var148 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2727,7 +2855,7 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var141 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var149 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2739,7 +2867,7 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var142 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var150 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2755,20 +2883,20 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2782,21 +2910,21 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem "aria-label": labels.AccountAddressEdit, "title": labels.AccountAddressEdit, }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var142), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var150), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "edit-address-" + addr.ID}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var141), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Trigger(dialog.TriggerProps{For: "edit-address-" + addr.ID}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var149), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 152, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var144 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var152 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2808,7 +2936,7 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var145 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var153 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2820,7 +2948,7 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var146 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var154 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2832,28 +2960,28 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var147 string - templ_7745c5c3_Var147, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressEdit) + var templ_7745c5c3_Var155 string + templ_7745c5c3_Var155, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressEdit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 563, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 599, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var147)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var155)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var146), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Title().Render(templ.WithChildren(ctx, templ_7745c5c3_Var154), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var145), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var153), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 150, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2876,34 +3004,34 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem } return nil }) - templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "sm:max-w-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var144), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Content(dialog.ContentProps{Class: "sm:max-w-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var152), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "edit-address-" + addr.ID}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var140), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Dialog(dialog.Props{ID: "edit-address-" + addr.ID}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var148), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 151, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var149 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var157 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2919,20 +3047,20 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2947,33 +3075,33 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem "aria-label": labels.AccountAddressDelete, "title": labels.AccountAddressDelete, }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var149), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var157), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if !addr.IsDefault { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 156, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, "\" class=\"mt-4\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var152 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var160 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2989,31 +3117,31 @@ func accountAddressCard(addr viewmodel.Address, labels viewmodel.SiteLabels) tem if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var153 string - templ_7745c5c3_Var153, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressSetDefault) + var templ_7745c5c3_Var161 string + templ_7745c5c3_Var161, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressSetDefault) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 602, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 638, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var153)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var161)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var152), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var160), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3037,25 +3165,25 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var154 := templ.GetChildren(ctx) - if templ_7745c5c3_Var154 == nil { - templ_7745c5c3_Var154 = templ.NopComponent + templ_7745c5c3_Var162 := templ.GetChildren(ctx) + if templ_7745c5c3_Var162 == nil { + templ_7745c5c3_Var162 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "\" class=\"space-y-4\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3063,7 +3191,7 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3099,11 +3227,11 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var156 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var164 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3115,18 +3243,18 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var157 string - templ_7745c5c3_Var157, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressFull) + var templ_7745c5c3_Var165 string + templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressFull) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 623, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 659, Col: 79} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var157)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "address-full"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var156), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "address-full"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var164), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3134,7 +3262,7 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3142,7 +3270,7 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var158 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var166 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3154,26 +3282,26 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var159 string - templ_7745c5c3_Var159, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressSaveDefault) + var templ_7745c5c3_Var167 string + templ_7745c5c3_Var167, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressSaveDefault) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 628, Col: 110} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 664, Col: 110} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var159)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var167)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "address-is-default", Class: "text-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var158), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "address-is-default", Class: "text-sm"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var166), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var160 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var168 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3185,7 +3313,7 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var161 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var169 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3197,7 +3325,7 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var162 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var170 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3209,32 +3337,32 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var163 string - templ_7745c5c3_Var163, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressCancel) + var templ_7745c5c3_Var171 string + templ_7745c5c3_Var171, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressCancel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 632, Col: 142} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 668, Col: 142} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var163)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var171)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeButton, Variant: button.VariantOutline, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var162), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeButton, Variant: button.VariantOutline, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var170), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Close().Render(templ.WithChildren(ctx, templ_7745c5c3_Var161), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Close().Render(templ.WithChildren(ctx, templ_7745c5c3_Var169), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var164 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var172 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3246,28 +3374,28 @@ func accountAddressForm(form viewmodel.AddressForm, labels viewmodel.SiteLabels) }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var165 string - templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressSave) + var templ_7745c5c3_Var173 string + templ_7745c5c3_Var173, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountAddressSave) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 634, Col: 107} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 670, Col: 107} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var173)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var164), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var172), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dialog.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var160), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dialog.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var168), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3291,16 +3419,16 @@ func accountAddressInput(name string, text string, value string, hasError bool) }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var166 := templ.GetChildren(ctx) - if templ_7745c5c3_Var166 == nil { - templ_7745c5c3_Var166 = templ.NopComponent + templ_7745c5c3_Var174 := templ.GetChildren(ctx) + if templ_7745c5c3_Var174 == nil { + templ_7745c5c3_Var174 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var167 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var175 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3312,18 +3440,18 @@ func accountAddressInput(name string, text string, value string, hasError bool) }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var168 string - templ_7745c5c3_Var168, templ_7745c5c3_Err = templ.JoinStringErrs(text) + var templ_7745c5c3_Var176 string + templ_7745c5c3_Var176, templ_7745c5c3_Err = templ.JoinStringErrs(text) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 641, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 677, Col: 60} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var168)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var176)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{For: "address-" + name}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var167), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{For: "address-" + name}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var175), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3331,7 +3459,7 @@ func accountAddressInput(name string, text string, value string, hasError bool) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 173, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3355,12 +3483,12 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var169 := templ.GetChildren(ctx) - if templ_7745c5c3_Var169 == nil { - templ_7745c5c3_Var169 = templ.NopComponent + templ_7745c5c3_Var177 := templ.GetChildren(ctx) + if templ_7745c5c3_Var177 == nil { + templ_7745c5c3_Var177 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var170 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var178 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3372,7 +3500,7 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var171 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var179 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3384,7 +3512,7 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var172 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var180 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3396,32 +3524,32 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var173 string - templ_7745c5c3_Var173, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountSettingsTitle) + var templ_7745c5c3_Var181 string + templ_7745c5c3_Var181, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountSettingsTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 649, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 685, Col: 81} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var173)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var181)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var172), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var180), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var171), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var179), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 174, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var174 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var182 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3433,33 +3561,33 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var175 string - templ_7745c5c3_Var175, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountNewsletter) + var templ_7745c5c3_Var183 string + templ_7745c5c3_Var183, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountNewsletter) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 654, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 690, Col: 62} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var175)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var183)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 173, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var176 string - templ_7745c5c3_Var176, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountNewsletterDesc) + var templ_7745c5c3_Var184 string + templ_7745c5c3_Var184, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountNewsletterDesc) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 655, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 691, Col: 76} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var176)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var184)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 174, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3467,7 +3595,7 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3475,33 +3603,33 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var177 string - templ_7745c5c3_Var177, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountTwoFactor) + var templ_7745c5c3_Var185 string + templ_7745c5c3_Var185, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountTwoFactor) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 662, Col: 61} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 698, Col: 61} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var177)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var185)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var178 string - templ_7745c5c3_Var178, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountTwoFactorDesc) + var templ_7745c5c3_Var186 string + templ_7745c5c3_Var186, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AccountTwoFactorDesc) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 663, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 699, Col: 75} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var178)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var186)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3509,19 +3637,19 @@ func AccountSettingsView(settings viewmodel.AccountSettings, labels viewmodel.Si if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var174), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var182), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var170), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var178), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3545,13 +3673,13 @@ func accountStatusBadge(status string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var179 := templ.GetChildren(ctx) - if templ_7745c5c3_Var179 == nil { - templ_7745c5c3_Var179 = templ.NopComponent + templ_7745c5c3_Var187 := templ.GetChildren(ctx) + if templ_7745c5c3_Var187 == nil { + templ_7745c5c3_Var187 = templ.NopComponent } ctx = templ.ClearChildren(ctx) if status == labels.StatusDelivered { - templ_7745c5c3_Var180 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var188 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3563,23 +3691,23 @@ func accountStatusBadge(status string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var181 string - templ_7745c5c3_Var181, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusDelivered) + var templ_7745c5c3_Var189 string + templ_7745c5c3_Var189, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusDelivered) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 673, Col: 160} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 709, Col: 160} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var181)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var189)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-emerald-100 text-emerald-800 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var180), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-emerald-100 text-emerald-800 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var188), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if status == labels.StatusInTransit { - templ_7745c5c3_Var182 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var190 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3591,23 +3719,23 @@ func accountStatusBadge(status string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var183 string - templ_7745c5c3_Var183, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusInTransit) + var templ_7745c5c3_Var191 string + templ_7745c5c3_Var191, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusInTransit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 675, Col: 145} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 711, Col: 145} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var183)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var191)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/30 dark:text-blue-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var182), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/30 dark:text-blue-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var190), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if status == labels.StatusProcessing { - templ_7745c5c3_Var184 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var192 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3619,23 +3747,23 @@ func accountStatusBadge(status string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var185 string - templ_7745c5c3_Var185, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusProcessing) + var templ_7745c5c3_Var193 string + templ_7745c5c3_Var193, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusProcessing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 677, Col: 151} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 713, Col: 151} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var185)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var193)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-amber-100 text-amber-800 border-amber-200 dark:bg-amber-900/30 dark:text-amber-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var184), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-amber-100 text-amber-800 border-amber-200 dark:bg-amber-900/30 dark:text-amber-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var192), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if status == labels.StatusCancelled { - templ_7745c5c3_Var186 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var194 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3647,23 +3775,23 @@ func accountStatusBadge(status string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var187 string - templ_7745c5c3_Var187, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusCancelled) + var templ_7745c5c3_Var195 string + templ_7745c5c3_Var195, templ_7745c5c3_Err = templ.JoinStringErrs(labels.StatusCancelled) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 679, Col: 142} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 715, Col: 142} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var187)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var195)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-800 dark:text-gray-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var186), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Class: "bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-800 dark:text-gray-400"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var194), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var188 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var196 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3675,18 +3803,18 @@ func accountStatusBadge(status string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var189 string - templ_7745c5c3_Var189, templ_7745c5c3_Err = templ.JoinStringErrs(status) + var templ_7745c5c3_Var197 string + templ_7745c5c3_Var197, templ_7745c5c3_Err = templ.JoinStringErrs(status) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 681, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/account.templ`, Line: 717, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var189)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var197)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var188), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantSecondary}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var196), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/ui/pages/storefront.templ b/internal/ui/pages/storefront.templ index 575e7dc..bf5b570 100644 --- a/internal/ui/pages/storefront.templ +++ b/internal/ui/pages/storefront.templ @@ -64,8 +64,8 @@ templ Home(props layouts.PageProps, data viewmodel.HomePage, labels viewmodel.Si
@compositions.HomeHero(data, labels) @compositions.HomeProofStrip(data, labels) - @compositions.TryOnShowcase(labels) @compositions.HomeAssistantPathsSection(data, labels) + @compositions.TryOnShowcase(labels) @compositions.HomeAIWorkflowSection(data, labels) @compositions.HomeCategoryRail(data, labels) @compositions.ProductGrid(labels.HomeProductsTitle, data.Products, labels) @@ -97,9 +97,9 @@ templ ProductDetailPage(props layouts.PageProps, detail viewmodel.ProductDetail,
-
+
-
+
@compositions.Product3DViewer(detail.Product, detail.Model3D, labels)
if gallery := productDetailThumbnailGallery(detail); len(gallery) > 0 || detail.Model3D.ModelURL != "" { @@ -147,7 +147,7 @@ templ ProductDetailPage(props layouts.PageProps, detail viewmodel.ProductDetail,
}
-
+
diff --git a/internal/ui/pages/storefront_templ.go b/internal/ui/pages/storefront_templ.go index 31fba22..c5fd937 100644 --- a/internal/ui/pages/storefront_templ.go +++ b/internal/ui/pages/storefront_templ.go @@ -127,11 +127,11 @@ func Home(props layouts.PageProps, data viewmodel.HomePage, labels viewmodel.Sit if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = compositions.TryOnShowcase(labels).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = compositions.HomeAssistantPathsSection(data, labels).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = compositions.HomeAssistantPathsSection(data, labels).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = compositions.TryOnShowcase(labels).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -311,7 +311,7 @@ func ProductDetailPage(props layouts.PageProps, detail viewmodel.ProductDetail, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\">
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -442,7 +442,7 @@ func ProductDetailPage(props layouts.PageProps, detail viewmodel.ProductDetail, return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/ui/pages/workspaces.templ b/internal/ui/pages/workspaces.templ index d8f1b40..653d798 100644 --- a/internal/ui/pages/workspaces.templ +++ b/internal/ui/pages/workspaces.templ @@ -32,6 +32,12 @@ func workspaceFieldValidationError(errors map[string]string, key string) string return strings.TrimSpace(errors[key]) } +templ workspaceFooterBrand(labels viewmodel.SiteLabels) { +
+ { labels.WorkspaceFooterBrand } +
+} + templ SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboard, labels viewmodel.SiteLabels) { @WorkspaceLayout(props, "seller", labels.WorkspaceHeaderDashboard, labels) {
@@ -546,6 +552,50 @@ templ AdminAssistant(props layouts.PageProps, page viewmodel.AssistantPage, labe @textarea.Script() } +templ AdminProductsList(props layouts.PageProps, page viewmodel.AdminProductListPage, labels viewmodel.SiteLabels) { + @WorkspaceLayout(props, "admin-products", labels.WorkspaceAdminProducts, labels) { +
+
+
+

{ labels.WorkspaceAdminProducts }

+

{ labels.WorkspaceAdminProductsBody }

+
+ if page.AssistantURL != "" { + @button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}) { + @icon.Bot(icon.Props{Class: "size-4"}) + { labels.AssistantConversations } + } + } +
+ @compositions.AdminProductsFilterBar(page, labels) + @compositions.AdminProductsTable(page.Products, labels) + @compositions.SearchSyncPaginationNav(page.Pagination, labels) +
+ } +} + +templ AdminProductDetail(props layouts.PageProps, page viewmodel.AdminProductDetailPage, labels viewmodel.SiteLabels) { + @WorkspaceLayout(props, "admin-products", labels.WorkspaceAdminProducts, labels) { +
+
+
+ @button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: page.BackURL, Class: "rounded-2xl"}) { + @icon.ArrowLeft(icon.Props{Class: "size-4"}) + } +
+

{ labels.AdminProductsDetailTitle }

+

{ labels.AdminProductsDetailSubtitle }

+
+
+ @button.Button(button.Props{Variant: button.VariantOutline, Href: page.BackURL, Class: "rounded-2xl"}) { + { labels.CommonBack } + } +
+ @compositions.AdminProductDetail(page, labels) +
+ } +} + templ AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModerationPage, labels viewmodel.SiteLabels) { @WorkspaceLayout(props, "admin-moderation", labels.WorkspaceModeration, labels) {
@@ -1011,6 +1061,7 @@ templ WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels v } } @sidebar.Footer() { + @workspaceFooterBrand(labels) @sidebar.Menu() { @sidebar.MenuItem() { @dropdown.Dropdown() { @@ -1203,6 +1254,7 @@ templ WorkspaceAssistantLayout(props layouts.PageProps, active, title string, la } } @sidebar.Footer() { + @workspaceFooterBrand(labels) @sidebar.Menu() { @sidebar.MenuItem() { @dropdown.Dropdown() { @@ -1394,18 +1446,24 @@ templ workspaceSellerMenu(active string, labels viewmodel.SiteLabels) { templ workspaceAdminMenu(active string, labels viewmodel.SiteLabels) { @sidebar.Group() { @sidebar.GroupLabel() { { labels.WorkspaceNavAdminGroup } } - @sidebar.Menu() { - @sidebar.MenuItem() { - @sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin", IsActive: active == "admin", Tooltip: labels.WorkspaceNavAdminHome}) { - @icon.Shield(icon.Props{Class: "size-4"}) - { labels.WorkspaceNavAdminHome } + @sidebar.Menu() { + @sidebar.MenuItem() { + @sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin", IsActive: active == "admin", Tooltip: labels.WorkspaceNavAdminHome}) { + @icon.Shield(icon.Props{Class: "size-4"}) + { labels.WorkspaceNavAdminHome } + } } - } - @sidebar.MenuItem() { - @sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/moderation", IsActive: active == "admin-moderation", Tooltip: labels.WorkspaceNavModeration}) { - @icon.FileSearch(icon.Props{Class: "size-4"}) - { labels.WorkspaceNavModeration } + @sidebar.MenuItem() { + @sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/products", IsActive: active == "admin-products", Tooltip: labels.WorkspaceNavCatalog}) { + @icon.Package(icon.Props{Class: "size-4"}) + { labels.WorkspaceNavCatalog } + } } + @sidebar.MenuItem() { + @sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/moderation", IsActive: active == "admin-moderation", Tooltip: labels.WorkspaceNavModeration}) { + @icon.FileSearch(icon.Props{Class: "size-4"}) + { labels.WorkspaceNavModeration } + } } @sidebar.MenuItem() { @sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/assistant", IsActive: active == "admin-assistant", Tooltip: labels.AssistantConversations}) { diff --git a/internal/ui/pages/workspaces_templ.go b/internal/ui/pages/workspaces_templ.go index 491355b..5b310ad 100644 --- a/internal/ui/pages/workspaces_templ.go +++ b/internal/ui/pages/workspaces_templ.go @@ -40,7 +40,7 @@ func workspaceFieldValidationError(errors map[string]string, key string) string return strings.TrimSpace(errors[key]) } -func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboard, labels viewmodel.SiteLabels) templ.Component { +func workspaceFooterBrand(labels viewmodel.SiteLabels) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -61,7 +61,49 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var2 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var2 string + templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceFooterBrand) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 37, Col: 31} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboard, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var3 := templ.GetChildren(ctx) + if templ_7745c5c3_Var3 == nil { + templ_7745c5c3_Var3 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Var4 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -73,7 +115,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -85,7 +127,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var3 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var5 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -97,7 +139,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var4 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var6 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -109,7 +151,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var5 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var7 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -121,26 +163,26 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var6 string - templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceRecentOrders) + var templ_7745c5c3_Var8 string + templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceRecentOrders) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 42, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 48, Col: 84} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var5), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var7), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var7 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var9 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -152,32 +194,32 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var8 string - templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSellerOrdersPanelBody) + var templ_7745c5c3_Var10 string + templ_7745c5c3_Var10, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSellerOrdersPanelBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 43, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 49, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var10)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var7), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var9), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var4), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var6), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var9 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var11 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -195,17 +237,17 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar } return nil }) - templ_7745c5c3_Err = card.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var9), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var11), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var3), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var5), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var10 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var12 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -217,7 +259,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var11 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var13 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -229,7 +271,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -237,49 +279,49 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var12 string - templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSellerInsightTitle) + var templ_7745c5c3_Var14 string + templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSellerInsightTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 55, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 61, Col: 76} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var13 string - templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSellerInsightBody) + var templ_7745c5c3_Var15 string + templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSellerInsightBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 56, Col: 97} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 62, Col: 97} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-4 p-5 md:flex-row md:items-start"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var11), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-4 p-5 md:flex-row md:items-start"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var13), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var10), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var12), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var14 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var16 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -291,7 +333,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var15 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var17 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -303,7 +345,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var16 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var18 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -319,30 +361,30 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var17 string - templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceDraftAssistant) + var templ_7745c5c3_Var19 string + templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceDraftAssistant) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 64, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 70, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var17)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var16), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-lg font-semibold"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var18), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var18 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var20 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -354,32 +396,32 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var19 string - templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(dashboard.DraftHint) + var templ_7745c5c3_Var21 string + templ_7745c5c3_Var21, templ_7745c5c3_Err = templ.JoinStringErrs(dashboard.DraftHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 66, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 72, Col: 48} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var21)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var18), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var20), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var15), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var17), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var20 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var22 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -391,7 +433,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -403,7 +445,7 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var21 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var23 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -419,52 +461,52 @@ func SellerDashboard(props layouts.PageProps, dashboard viewmodel.SellerDashboar if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var22 string - templ_7745c5c3_Var22, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceDraftSubmit) + var templ_7745c5c3_Var24 string + templ_7745c5c3_Var24, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceDraftSubmit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 77, Col: 55} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 83, Col: 55} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var22)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var24)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl w-full"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var21), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl w-full"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var23), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var20), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var22), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var14), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var16), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller", labels.WorkspaceHeaderDashboard, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller", labels.WorkspaceHeaderDashboard, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var4), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -496,12 +538,12 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var23 := templ.GetChildren(ctx) - if templ_7745c5c3_Var23 == nil { - templ_7745c5c3_Var23 = templ.NopComponent + templ_7745c5c3_Var25 := templ.GetChildren(ctx) + if templ_7745c5c3_Var25 == nil { + templ_7745c5c3_Var25 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var24 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var26 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -513,7 +555,7 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -526,33 +568,33 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr return templ_7745c5c3_Err } autoSaveURL := "/fragments/seller/products/draft/" + draft.Slug + "/auto-save" - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "\" hx-trigger=\"change delay:30s, keyup delay:30s\" hx-target=\"#draft-status\" hx-swap=\"outerHTML\" hx-include=\"[name]\" hx-params=\"not ai_prompt\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -560,11 +602,11 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var27 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var29 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -576,18 +618,18 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var28 string - templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormImage) + var templ_7745c5c3_Var30 string + templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormImage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 113, Col: 59} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 119, Col: 59} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var27), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var29), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -596,25 +638,25 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr return templ_7745c5c3_Err } if workspaceFieldValidationError(draft.ValidationErrors, "gallery") != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var29 string - templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(workspaceFieldValidationError(draft.ValidationErrors, "gallery")) + var templ_7745c5c3_Var31 string + templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(workspaceFieldValidationError(draft.ValidationErrors, "gallery")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 116, Col: 107} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 122, Col: 107} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -622,11 +664,11 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var30 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var32 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -642,30 +684,30 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var31 string - templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormPublish) + var templ_7745c5c3_Var33 string + templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormPublish) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 125, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 131, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var30), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var32), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var32 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var34 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -677,28 +719,28 @@ func SellerProductDraft(props layouts.PageProps, draft viewmodel.SellerProductDr }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var33 string - templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) + var templ_7745c5c3_Var35 string + templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 128, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 134, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/seller/products", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var32), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/seller/products", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var34), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-product-draft", labels.ProductFormNew, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var24), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-product-draft", labels.ProductFormNew, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var26), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -722,12 +764,12 @@ func SellerOrders(props layouts.PageProps, rows []viewmodel.OrderRow, labels vie }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var34 := templ.GetChildren(ctx) - if templ_7745c5c3_Var34 == nil { - templ_7745c5c3_Var34 = templ.NopComponent + templ_7745c5c3_Var36 := templ.GetChildren(ctx) + if templ_7745c5c3_Var36 == nil { + templ_7745c5c3_Var36 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var35 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var37 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -739,20 +781,20 @@ func SellerOrders(props layouts.PageProps, rows []viewmodel.OrderRow, labels vie }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var36 string - templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceOrders) + var templ_7745c5c3_Var38 string + templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceOrders) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 139, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 145, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var36)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -760,13 +802,13 @@ func SellerOrders(props layouts.PageProps, rows []viewmodel.OrderRow, labels vie if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-orders", labels.WorkspaceOrders, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var35), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-orders", labels.WorkspaceOrders, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var37), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -790,12 +832,12 @@ func SellerOrderDetail(props layouts.PageProps, page viewmodel.OrderDetailPage, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var37 := templ.GetChildren(ctx) - if templ_7745c5c3_Var37 == nil { - templ_7745c5c3_Var37 = templ.NopComponent + templ_7745c5c3_Var39 := templ.GetChildren(ctx) + if templ_7745c5c3_Var39 == nil { + templ_7745c5c3_Var39 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var38 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var40 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -813,7 +855,7 @@ func SellerOrderDetail(props layouts.PageProps, page viewmodel.OrderDetailPage, } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-orders", labels.WorkspaceOrders, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var38), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-orders", labels.WorkspaceOrders, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var40), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -837,12 +879,12 @@ func SellerAssistant(props layouts.PageProps, page viewmodel.AssistantPage, labe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var39 := templ.GetChildren(ctx) - if templ_7745c5c3_Var39 == nil { - templ_7745c5c3_Var39 = templ.NopComponent + templ_7745c5c3_Var41 := templ.GetChildren(ctx) + if templ_7745c5c3_Var41 == nil { + templ_7745c5c3_Var41 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var40 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var42 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -867,7 +909,7 @@ func SellerAssistant(props layouts.PageProps, page viewmodel.AssistantPage, labe } return nil }) - templ_7745c5c3_Err = WorkspaceAssistantLayout(props, "seller-assistant", labels.AssistantConversations, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var40), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceAssistantLayout(props, "seller-assistant", labels.AssistantConversations, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var42), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -895,12 +937,12 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var41 := templ.GetChildren(ctx) - if templ_7745c5c3_Var41 == nil { - templ_7745c5c3_Var41 = templ.NopComponent + templ_7745c5c3_Var43 := templ.GetChildren(ctx) + if templ_7745c5c3_Var43 == nil { + templ_7745c5c3_Var43 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var42 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var44 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -912,7 +954,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -921,7 +963,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab return templ_7745c5c3_Err } if !page.HasProducts { - templ_7745c5c3_Var43 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var45 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -933,7 +975,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var44 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var46 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -945,7 +987,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -953,50 +995,50 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var45 string - templ_7745c5c3_Var45, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingEmptyTitle) + var templ_7745c5c3_Var47 string + templ_7745c5c3_Var47, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingEmptyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 173, Col: 67} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 179, Col: 67} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var45)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var47)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var46 string - templ_7745c5c3_Var46, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingEmptyBody) + var templ_7745c5c3_Var48 string + templ_7745c5c3_Var48, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingEmptyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 174, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 180, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var46)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var48)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col items-center gap-4 p-10 text-center"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var44), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col items-center gap-4 p-10 text-center"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var46), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var43), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var45), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var47 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var49 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1008,7 +1050,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var48 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var50 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1020,7 +1062,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 36, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1028,24 +1070,24 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var49 string - templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinStringErrs(page.StrategyTitle) + var templ_7745c5c3_Var51 string + templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(page.StrategyTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 186, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 192, Col: 62} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var50 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var52 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1057,51 +1099,51 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var51 string - templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(page.StrategySource) + var templ_7745c5c3_Var53 string + templ_7745c5c3_Var53, templ_7745c5c3_Err = templ.JoinStringErrs(page.StrategySource) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 187, Col: 88} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 193, Col: 88} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var53)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var50), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = badge.Badge(badge.Props{Variant: badge.VariantOutline}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var52), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var52 string - templ_7745c5c3_Var52, templ_7745c5c3_Err = templ.JoinStringErrs(page.StrategyBody) + var templ_7745c5c3_Var54 string + templ_7745c5c3_Var54, templ_7745c5c3_Err = templ.JoinStringErrs(page.StrategyBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 189, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 195, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var52)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var54)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-4 p-5 md:flex-row md:items-start"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var48), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-4 p-5 md:flex-row md:items-start"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var50), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var47), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var49), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1109,11 +1151,11 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var53 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var55 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1125,7 +1167,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var54 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var56 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1137,7 +1179,7 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1145,111 +1187,111 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var55 string - templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingAssistantFocus) + var templ_7745c5c3_Var57 string + templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingAssistantFocus) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 201, Col: 94} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 207, Col: 94} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var57)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var56 string - templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.JoinStringErrs(page.AlertTitle) + var templ_7745c5c3_Var58 string + templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.JoinStringErrs(page.AlertTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 202, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 208, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var56)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var58)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var57 string - templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.JoinStringErrs(page.AlertBody) + var templ_7745c5c3_Var59 string + templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(page.AlertBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 203, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 209, Col: 70} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var57)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, alert := range page.Alerts { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var58 string - templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.JoinStringErrs(alert.Value) + var templ_7745c5c3_Var60 string + templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.JoinStringErrs(alert.Value) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 209, Col: 67} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 215, Col: 67} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var58)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var60)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var59 string - templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(alert.Label) + var templ_7745c5c3_Var61 string + templ_7745c5c3_Var61, templ_7745c5c3_Err = templ.JoinStringErrs(alert.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 210, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 216, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var61)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var54), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-5 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var56), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var53), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-primary/20 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var55), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var60 string - templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingRecommendations) + var templ_7745c5c3_Var62 string + templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(labels.PricingRecommendations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 217, Col: 82} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 223, Col: 82} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var60)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1257,18 +1299,18 @@ func SellerPricing(props layouts.PageProps, page viewmodel.PricingDashboard, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-pricing", labels.WorkspaceHeaderPricing, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var42), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-pricing", labels.WorkspaceHeaderPricing, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var44), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1292,12 +1334,12 @@ func SellerStudio(props layouts.PageProps, draft viewmodel.SellerDraft, labels v }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var61 := templ.GetChildren(ctx) - if templ_7745c5c3_Var61 == nil { - templ_7745c5c3_Var61 = templ.NopComponent + templ_7745c5c3_Var63 := templ.GetChildren(ctx) + if templ_7745c5c3_Var63 == nil { + templ_7745c5c3_Var63 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var62 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var64 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1309,37 +1351,37 @@ func SellerStudio(props layouts.PageProps, draft viewmodel.SellerDraft, labels v }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var63 string - templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceStudio) + var templ_7745c5c3_Var65 string + templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceStudio) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 230, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 236, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var64 string - templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioDesc) + var templ_7745c5c3_Var66 string + templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ImageStudioDesc) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 231, Col: 70} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 237, Col: 70} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var64)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var66)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var65 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var67 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1355,30 +1397,30 @@ func SellerStudio(props layouts.PageProps, draft viewmodel.SellerDraft, labels v if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var66 string - templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceImageStudio) + var templ_7745c5c3_Var68 string + templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceImageStudio) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 235, Col: 54} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 241, Col: 54} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var66)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/seller/image-studio", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var65), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/seller/image-studio", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var67), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1386,13 +1428,13 @@ func SellerStudio(props layouts.PageProps, draft viewmodel.SellerDraft, labels v if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-studio", labels.WorkspaceStudio, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var62), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-studio", labels.WorkspaceStudio, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var64), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1416,12 +1458,12 @@ func SellerImageStudio(props layouts.PageProps, page viewmodel.SellerImageStudio }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var67 := templ.GetChildren(ctx) - if templ_7745c5c3_Var67 == nil { - templ_7745c5c3_Var67 = templ.NopComponent + templ_7745c5c3_Var69 := templ.GetChildren(ctx) + if templ_7745c5c3_Var69 == nil { + templ_7745c5c3_Var69 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var68 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var70 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1433,7 +1475,7 @@ func SellerImageStudio(props layouts.PageProps, page viewmodel.SellerImageStudio }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1445,13 +1487,13 @@ func SellerImageStudio(props layouts.PageProps, page viewmodel.SellerImageStudio if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-image-studio", labels.WorkspaceImageStudio, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var68), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-image-studio", labels.WorkspaceImageStudio, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var70), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1475,12 +1517,12 @@ func SellerProducts(props layouts.PageProps, list viewmodel.SellerProductList, l }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var69 := templ.GetChildren(ctx) - if templ_7745c5c3_Var69 == nil { - templ_7745c5c3_Var69 = templ.NopComponent + templ_7745c5c3_Var71 := templ.GetChildren(ctx) + if templ_7745c5c3_Var71 == nil { + templ_7745c5c3_Var71 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var70 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var72 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1492,24 +1534,24 @@ func SellerProducts(props layouts.PageProps, list viewmodel.SellerProductList, l }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var71 string - templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceProducts) + var templ_7745c5c3_Var73 string + templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceProducts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 256, Col: 92} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 262, Col: 92} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var71)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var73)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var72 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var74 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1525,30 +1567,30 @@ func SellerProducts(props layouts.PageProps, list viewmodel.SellerProductList, l if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var73 string - templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormNew) + var templ_7745c5c3_Var75 string + templ_7745c5c3_Var75, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormNew) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 259, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 265, Col: 47} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var73)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var75)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/seller/products/new", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var72), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/seller/products/new", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var74), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1558,13 +1600,13 @@ func SellerProducts(props layouts.PageProps, list viewmodel.SellerProductList, l return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-products", labels.WorkspaceProducts, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var70), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-products", labels.WorkspaceProducts, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var72), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1588,12 +1630,12 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var74 := templ.GetChildren(ctx) - if templ_7745c5c3_Var74 == nil { - templ_7745c5c3_Var74 = templ.NopComponent + templ_7745c5c3_Var76 := templ.GetChildren(ctx) + if templ_7745c5c3_Var76 == nil { + templ_7745c5c3_Var76 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var75 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var77 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1605,7 +1647,7 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1614,7 +1656,7 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm return templ_7745c5c3_Err } if form.Status == "rejected" { - templ_7745c5c3_Var76 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var78 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1626,7 +1668,7 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var77 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var79 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1638,7 +1680,7 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1646,86 +1688,86 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var78 string - templ_7745c5c3_Var78, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectedBannerTitle) + var templ_7745c5c3_Var80 string + templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectedBannerTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 283, Col: 95} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 289, Col: 95} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var78)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var80)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var79 string - templ_7745c5c3_Var79, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectedBannerBody) + var templ_7745c5c3_Var81 string + templ_7745c5c3_Var81, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationRejectedBannerBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 285, Col: 46} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 291, Col: 46} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var79)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var81)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, ": ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, ": ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if form.ModerationReason != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var80 string - templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.JoinStringErrs(form.ModerationReason) + var templ_7745c5c3_Var82 string + templ_7745c5c3_Var82, templ_7745c5c3_Err = templ.JoinStringErrs(form.ModerationReason) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 287, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 293, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var80)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var82)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var81 string - templ_7745c5c3_Var81, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationNoReason) + var templ_7745c5c3_Var83 string + templ_7745c5c3_Var83, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationNoReason) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 289, Col: 68} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 295, Col: 68} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var81)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var83)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var77), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var79), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-destructive/40 bg-destructive/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var76), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-destructive/40 bg-destructive/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var78), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1734,24 +1776,24 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "\" method=\"post\" class=\"space-y-4\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var83 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var85 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1763,18 +1805,18 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var84 string - templ_7745c5c3_Var84, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormImage) + var templ_7745c5c3_Var86 string + templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormImage) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 300, Col: 60} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 306, Col: 60} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var84)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var86)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var83), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = label.Label(label.Props{}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var85), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1783,25 +1825,25 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm return templ_7745c5c3_Err } if workspaceFieldValidationError(form.ValidationErrors, "gallery") != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var85 string - templ_7745c5c3_Var85, templ_7745c5c3_Err = templ.JoinStringErrs(workspaceFieldValidationError(form.ValidationErrors, "gallery")) + var templ_7745c5c3_Var87 string + templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.JoinStringErrs(workspaceFieldValidationError(form.ValidationErrors, "gallery")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 303, Col: 107} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 309, Col: 107} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var85)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var87)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1809,11 +1851,11 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var86 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var88 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1826,34 +1868,34 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm } ctx = templ.InitializeContext(ctx) if form.IsNew { - var templ_7745c5c3_Var87 string - templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonSubmit) + var templ_7745c5c3_Var89 string + templ_7745c5c3_Var89, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonSubmit) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 310, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 316, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var87)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var89)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - var templ_7745c5c3_Var88 string - templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonSave) + var templ_7745c5c3_Var90 string + templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonSave) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 312, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 318, Col: 26} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var88)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var90)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var86), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Type: button.TypeSubmit, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var88), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if form.Status == "draft" || form.Status == "rejected" { - templ_7745c5c3_Var89 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var91 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1866,22 +1908,22 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm } ctx = templ.InitializeContext(ctx) if form.Status == "draft" { - var templ_7745c5c3_Var90 string - templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormPublish) + var templ_7745c5c3_Var92 string + templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormPublish) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 324, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 330, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var90)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var92)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - var templ_7745c5c3_Var91 string - templ_7745c5c3_Var91, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormSubmitForReview) + var templ_7745c5c3_Var93 string + templ_7745c5c3_Var93, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormSubmitForReview) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 326, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 332, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var91)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var93)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1894,12 +1936,12 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm Attributes: templ.Attributes{ "formaction": "/seller/products/" + form.Slug + "/submit", }, - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var89), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var91), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Var92 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var94 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1911,28 +1953,28 @@ func SellerProductForm(props layouts.PageProps, form viewmodel.SellerProductForm }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var93 string - templ_7745c5c3_Var93, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) + var templ_7745c5c3_Var95 string + templ_7745c5c3_Var95, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonCancel) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 331, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 337, Col: 27} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var93)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var95)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/seller/products", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var92), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/seller/products", Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var94), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-product-form", labels.ProductFormNew, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var75), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-product-form", labels.ProductFormNew, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var77), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1956,12 +1998,12 @@ func SellerReviewAnalytics(props layouts.PageProps, page viewmodel.SellerReviewA }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var94 := templ.GetChildren(ctx) - if templ_7745c5c3_Var94 == nil { - templ_7745c5c3_Var94 = templ.NopComponent + templ_7745c5c3_Var96 := templ.GetChildren(ctx) + if templ_7745c5c3_Var96 == nil { + templ_7745c5c3_Var96 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var95 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var97 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -1973,7 +2015,7 @@ func SellerReviewAnalytics(props layouts.PageProps, page viewmodel.SellerReviewA }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1991,7 +2033,7 @@ func SellerReviewAnalytics(props layouts.PageProps, page viewmodel.SellerReviewA if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -1999,7 +2041,7 @@ func SellerReviewAnalytics(props layouts.PageProps, page viewmodel.SellerReviewA if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2011,7 +2053,7 @@ func SellerReviewAnalytics(props layouts.PageProps, page viewmodel.SellerReviewA if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2023,7 +2065,7 @@ func SellerReviewAnalytics(props layouts.PageProps, page viewmodel.SellerReviewA if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2032,13 +2074,13 @@ func SellerReviewAnalytics(props layouts.PageProps, page viewmodel.SellerReviewA return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "seller-reviews", labels.WorkspaceHeaderReviewAnalytics, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var95), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "seller-reviews", labels.WorkspaceHeaderReviewAnalytics, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var97), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2062,16 +2104,16 @@ func sellerProductEditorHeader(backHref, title, savedAt string, showDraftStatus }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var96 := templ.GetChildren(ctx) - if templ_7745c5c3_Var96 == nil { - templ_7745c5c3_Var96 = templ.NopComponent + templ_7745c5c3_Var98 := templ.GetChildren(ctx) + if templ_7745c5c3_Var98 == nil { + templ_7745c5c3_Var98 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var97 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var99 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2089,29 +2131,29 @@ func sellerProductEditorHeader(backHref, title, savedAt string, showDraftStatus } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: backHref, Class: "shrink-0 rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var97), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: backHref, Class: "shrink-0 rounded-2xl border-border/70"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var99), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var98 string - templ_7745c5c3_Var98, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var100 string + templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 368, Col: 72} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 374, Col: 72} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var98)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if showDraftStatus && savedAt != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2119,34 +2161,34 @@ func sellerProductEditorHeader(backHref, title, savedAt string, showDraftStatus if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var99 string - templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormDraftSaved) + var templ_7745c5c3_Var101 string + templ_7745c5c3_Var101, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormDraftSaved) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 372, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 378, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var101)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, ": ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, ": ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var100 string - templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinStringErrs(savedAt) + var templ_7745c5c3_Var102 string + templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(savedAt) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 372, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 378, Col: 48} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2170,12 +2212,12 @@ func sellerProductAIGuide(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var101 := templ.GetChildren(ctx) - if templ_7745c5c3_Var101 == nil { - templ_7745c5c3_Var101 = templ.NopComponent + templ_7745c5c3_Var103 := templ.GetChildren(ctx) + if templ_7745c5c3_Var103 == nil { + templ_7745c5c3_Var103 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var102 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var104 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2187,7 +2229,7 @@ func sellerProductAIGuide(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var103 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var105 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2199,33 +2241,33 @@ func sellerProductAIGuide(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var104 string - templ_7745c5c3_Var104, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideEyebrow) + var templ_7745c5c3_Var106 string + templ_7745c5c3_Var106, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideEyebrow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 384, Col: 117} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 390, Col: 117} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var104)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var106)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var105 string - templ_7745c5c3_Var105, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideBody) + var templ_7745c5c3_Var107 string + templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 385, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 391, Col: 77} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var105)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2233,20 +2275,20 @@ func sellerProductAIGuide(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var106 string - templ_7745c5c3_Var106, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideUpload) + var templ_7745c5c3_Var108 string + templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideUpload) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 390, Col: 45} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 396, Col: 45} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var106)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2254,20 +2296,20 @@ func sellerProductAIGuide(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var107 string - templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideNote) + var templ_7745c5c3_Var109 string + templ_7745c5c3_Var109, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideNote) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 394, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 400, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var109)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2275,32 +2317,32 @@ func sellerProductAIGuide(labels viewmodel.SiteLabels) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var108 string - templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideApply) + var templ_7745c5c3_Var110 string + templ_7745c5c3_Var110, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ProductFormAIGuideApply) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 398, Col: 44} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 404, Col: 44} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var110)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-4 md:p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var103), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-4 p-4 md:p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var105), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70 bg-gradient-to-r from-primary/8 to-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var102), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70 bg-gradient-to-r from-primary/8 to-card"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var104), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2374,9 +2416,9 @@ func productGalleryUploader(gallery []viewmodel.ProductImageAsset, labels viewmo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var109 := templ.GetChildren(ctx) - if templ_7745c5c3_Var109 == nil { - templ_7745c5c3_Var109 = templ.NopComponent + templ_7745c5c3_Var111 := templ.GetChildren(ctx) + if templ_7745c5c3_Var111 == nil { + templ_7745c5c3_Var111 = templ.NopComponent } ctx = templ.ClearChildren(ctx) templ_7745c5c3_Err = compositions.ProductGalleryUploader(gallery, labels).Render(ctx, templ_7745c5c3_Buffer) @@ -2419,12 +2461,12 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var110 := templ.GetChildren(ctx) - if templ_7745c5c3_Var110 == nil { - templ_7745c5c3_Var110 = templ.NopComponent + templ_7745c5c3_Var112 := templ.GetChildren(ctx) + if templ_7745c5c3_Var112 == nil { + templ_7745c5c3_Var112 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var111 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var113 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2436,7 +2478,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2452,7 +2494,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var112 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var114 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2464,7 +2506,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var113 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var115 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2476,7 +2518,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var114 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var116 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2488,26 +2530,26 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var115 string - templ_7745c5c3_Var115, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModerationQueue) + var templ_7745c5c3_Var117 string + templ_7745c5c3_Var117, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModerationQueue) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 484, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 490, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var115)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var117)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var114), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var116), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var116 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var118 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2519,32 +2561,32 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var117 string - templ_7745c5c3_Var117, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminModerationPanelBody) + var templ_7745c5c3_Var119 string + templ_7745c5c3_Var119, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminModerationPanelBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 485, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 491, Col: 69} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var117)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var119)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var116), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var118), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var113), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var115), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var118 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var120 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2569,17 +2611,17 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, } return nil }) - templ_7745c5c3_Err = card.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var118), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var120), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var112), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var114), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var119 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var121 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2591,7 +2633,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var120 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var122 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2603,7 +2645,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var121 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var123 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2615,26 +2657,26 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var122 string - templ_7745c5c3_Var122, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminVendorHealth) + var templ_7745c5c3_Var124 string + templ_7745c5c3_Var124, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminVendorHealth) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 497, Col: 89} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 503, Col: 89} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var122)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var124)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var121), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Title(card.TitleProps{Class: "text-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var123), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var123 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var125 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2646,32 +2688,32 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var124 string - templ_7745c5c3_Var124, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminVendorHealthBody) + var templ_7745c5c3_Var126 string + templ_7745c5c3_Var126, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminVendorHealthBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 498, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 504, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var124)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var126)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var123), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Description().Render(templ.WithChildren(ctx, templ_7745c5c3_Var125), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var120), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var122), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 116, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var125 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var127 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2689,17 +2731,17 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, } return nil }) - templ_7745c5c3_Err = card.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var125), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var127), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var119), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var121), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var126 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var128 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2711,7 +2753,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var127 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var129 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2723,7 +2765,7 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2731,38 +2773,38 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 116, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 118, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var128 string - templ_7745c5c3_Var128, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminSystemSignals) + var templ_7745c5c3_Var130 string + templ_7745c5c3_Var130, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminSystemSignals) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 511, Col: 77} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 517, Col: 77} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var128)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var130)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var129 string - templ_7745c5c3_Var129, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminSystemSignalsBody) + var templ_7745c5c3_Var131 string + templ_7745c5c3_Var131, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminSystemSignalsBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 512, Col: 103} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 518, Col: 103} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var129)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var131)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 118, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if dashboard.AssistantURL != "" { - templ_7745c5c3_Var130 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var132 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2778,49 +2820,49 @@ func AdminDashboard(props layouts.PageProps, dashboard viewmodel.AdminDashboard, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 121, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var131 string - templ_7745c5c3_Var131, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var133 string + templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 518, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 524, Col: 57} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var131)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 122, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: dashboard.AssistantURL, Variant: button.VariantOutline, Class: "shrink-0 rounded-xl bg-background/80"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var130), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: dashboard.AssistantURL, Variant: button.VariantOutline, Class: "shrink-0 rounded-xl bg-background/80"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var132), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-4 p-5 md:flex-row md:items-start md:justify-between"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var127), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex flex-col gap-4 p-5 md:flex-row md:items-start md:justify-between"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var129), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var126), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/60 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var128), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 121, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 123, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin", labels.WorkspaceAdmin, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var111), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin", labels.WorkspaceAdmin, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var113), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2848,51 +2890,243 @@ func adminDashboardHero(labels viewmodel.SiteLabels) templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var132 := templ.GetChildren(ctx) - if templ_7745c5c3_Var132 == nil { - templ_7745c5c3_Var132 = templ.NopComponent + templ_7745c5c3_Var134 := templ.GetChildren(ctx) + if templ_7745c5c3_Var134 == nil { + templ_7745c5c3_Var134 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 122, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 124, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var133 string - templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminHeroKicker) + var templ_7745c5c3_Var135 string + templ_7745c5c3_Var135, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminHeroKicker) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 531, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 537, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var135)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 123, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 125, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var134 string - templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminHeroTitle) + var templ_7745c5c3_Var136 string + templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminHeroTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 532, Col: 93} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 538, Col: 93} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 124, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 126, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var135 string - templ_7745c5c3_Var135, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminHeroBody) + var templ_7745c5c3_Var137 string + templ_7745c5c3_Var137, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminHeroBody) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 533, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 539, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var135)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var137)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 127, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func AdminAssistant(props layouts.PageProps, page viewmodel.AssistantPage, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var138 := templ.GetChildren(ctx) + if templ_7745c5c3_Var138 == nil { + templ_7745c5c3_Var138 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Var139 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + if page.View == "list" { + templ_7745c5c3_Err = compositions.AssistantConversationList(page, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } else { + templ_7745c5c3_Err = compositions.AssistantThread(page, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + return nil + }) + templ_7745c5c3_Err = WorkspaceAssistantLayout(props, "admin-assistant", labels.AssistantConversations, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var139), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 125, "

") + templ_7745c5c3_Err = textarea.Script().Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func AdminProductsList(props layouts.PageProps, page viewmodel.AdminProductListPage, labels viewmodel.SiteLabels) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var140 := templ.GetChildren(ctx) + if templ_7745c5c3_Var140 == nil { + templ_7745c5c3_Var140 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Var141 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 128, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var142 string + templ_7745c5c3_Var142, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminProducts) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 560, Col: 98} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var142)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 129, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var143 string + templ_7745c5c3_Var143, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAdminProductsBody) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 561, Col: 81} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var143)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 130, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if page.AssistantURL != "" { + templ_7745c5c3_Var144 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.Bot(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 131, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var145 string + templ_7745c5c3_Var145, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 566, Col: 56} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var145)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 132, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var144), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 133, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = compositions.AdminProductsFilterBar(page, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = compositions.AdminProductsTable(page.Products, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = compositions.SearchSyncPaginationNav(page.Pagination, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 134, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-products", labels.WorkspaceAdminProducts, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var141), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2900,7 +3134,7 @@ func adminDashboardHero(labels viewmodel.SiteLabels) templ.Component { }) } -func AdminAssistant(props layouts.PageProps, page viewmodel.AssistantPage, labels viewmodel.SiteLabels) templ.Component { +func AdminProductDetail(props layouts.PageProps, page viewmodel.AdminProductDetailPage, labels viewmodel.SiteLabels) templ.Component { return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { @@ -2916,12 +3150,12 @@ func AdminAssistant(props layouts.PageProps, page viewmodel.AssistantPage, label }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var136 := templ.GetChildren(ctx) - if templ_7745c5c3_Var136 == nil { - templ_7745c5c3_Var136 = templ.NopComponent + templ_7745c5c3_Var146 := templ.GetChildren(ctx) + if templ_7745c5c3_Var146 == nil { + templ_7745c5c3_Var146 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var137 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var147 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2933,24 +3167,104 @@ func AdminAssistant(props layouts.PageProps, page viewmodel.AssistantPage, label }() } ctx = templ.InitializeContext(ctx) - if page.View == "list" { - templ_7745c5c3_Err = compositions.AssistantConversationList(page, labels).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 135, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var148 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.ArrowLeft(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - } else { - templ_7745c5c3_Err = compositions.AssistantThread(page, labels).Render(ctx, templ_7745c5c3_Buffer) + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: page.BackURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var148), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 136, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var149 string + templ_7745c5c3_Var149, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AdminProductsDetailTitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 586, Col: 101} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var149)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 137, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var150 string + templ_7745c5c3_Var150, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AdminProductsDetailSubtitle) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 587, Col: 83} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var150)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 138, "

") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var151 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + var templ_7745c5c3_Var152 string + templ_7745c5c3_Var152, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonBack) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 591, Col: 24} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var152)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } + return nil + }) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.BackURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var151), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 139, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = compositions.AdminProductDetail(page, labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 140, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceAssistantLayout(props, "admin-assistant", labels.AssistantConversations, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var137), templ_7745c5c3_Buffer) - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = textarea.Script().Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-products", labels.WorkspaceAdminProducts, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var147), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -2974,12 +3288,12 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var138 := templ.GetChildren(ctx) - if templ_7745c5c3_Var138 == nil { - templ_7745c5c3_Var138 = templ.NopComponent + templ_7745c5c3_Var153 := templ.GetChildren(ctx) + if templ_7745c5c3_Var153 == nil { + templ_7745c5c3_Var153 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var139 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var154 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -2991,37 +3305,37 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 126, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 141, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var140 string - templ_7745c5c3_Var140, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModeration) + var templ_7745c5c3_Var155 string + templ_7745c5c3_Var155, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceModeration) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 554, Col: 95} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 604, Col: 95} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var140)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var155)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 127, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 142, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var141 string - templ_7745c5c3_Var141, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDetailSubtitle) + var templ_7745c5c3_Var156 string + templ_7745c5c3_Var156, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDetailSubtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 555, Col: 79} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 605, Col: 79} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var141)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var156)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 128, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 143, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var142 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var157 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3037,30 +3351,30 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 129, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 144, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var143 string - templ_7745c5c3_Var143, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var158 string + templ_7745c5c3_Var158, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 560, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 610, Col: 56} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var143)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var158)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 130, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 145, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var142), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var157), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var144 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var159 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3076,34 +3390,34 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 131, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 146, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var145 string - templ_7745c5c3_Var145, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationViewSearchSync) + var templ_7745c5c3_Var160 string + templ_7745c5c3_Var160, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationViewSearchSync) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 564, Col: 58} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 614, Col: 58} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var145)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var160)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 132, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/admin/search-sync", Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var144), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/admin/search-sync", Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var159), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 133, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var146 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var161 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3119,30 +3433,30 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 134, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var147 string - templ_7745c5c3_Var147, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) + var templ_7745c5c3_Var162 string + templ_7745c5c3_Var162, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 569, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 619, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var147)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var162)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 135, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 150, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var146), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var161), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 136, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 151, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3177,7 +3491,7 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera } } if page.SearchSyncQueued { - templ_7745c5c3_Var148 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var163 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3189,7 +3503,7 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var149 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var164 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3201,7 +3515,7 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 137, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 152, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3209,51 +3523,51 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 138, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var150 string - templ_7745c5c3_Var150, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncQueued) + var templ_7745c5c3_Var165 string + templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncQueued) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 605, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 655, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var150)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 139, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 154, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var151 string - templ_7745c5c3_Var151, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncHint) + var templ_7745c5c3_Var166 string + templ_7745c5c3_Var166, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 606, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 656, Col: 75} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var151)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var166)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 140, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-start gap-3 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var149), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-start gap-3 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var164), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var148), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-border/70 bg-primary/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var163), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } if page.SearchSyncError != "" { - templ_7745c5c3_Var152 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var167 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3265,7 +3579,7 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var153 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var168 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3277,7 +3591,7 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 141, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 156, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3285,50 +3599,50 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 142, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 157, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var154 string - templ_7745c5c3_Var154, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncFailed) + var templ_7745c5c3_Var169 string + templ_7745c5c3_Var169, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncFailed) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 618, Col: 83} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 668, Col: 83} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var154)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var169)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 143, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var155 string - templ_7745c5c3_Var155, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncHint) + var templ_7745c5c3_Var170 string + templ_7745c5c3_Var170, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncHint) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 619, Col: 75} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 669, Col: 75} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var155)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var170)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 144, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-start gap-3 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var153), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-start gap-3 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var168), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-destructive/40 bg-destructive/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var152), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-destructive/40 bg-destructive/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var167), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 145, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3336,7 +3650,7 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 146, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3346,7 +3660,7 @@ func AdminModerationProducts(props layouts.PageProps, page viewmodel.AdminModera } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-moderation", labels.WorkspaceModeration, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var139), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-moderation", labels.WorkspaceModeration, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var154), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3370,12 +3684,12 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var156 := templ.GetChildren(ctx) - if templ_7745c5c3_Var156 == nil { - templ_7745c5c3_Var156 = templ.NopComponent + templ_7745c5c3_Var171 := templ.GetChildren(ctx) + if templ_7745c5c3_Var171 == nil { + templ_7745c5c3_Var171 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var157 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var172 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3387,11 +3701,11 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var158 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var173 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3409,41 +3723,41 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: "/admin/moderation", Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var158), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: "/admin/moderation", Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var173), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var159 string - templ_7745c5c3_Var159, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDetailTitle) + var templ_7745c5c3_Var174 string + templ_7745c5c3_Var174, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDetailTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 641, Col: 98} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 691, Col: 98} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var159)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var174)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var160 string - templ_7745c5c3_Var160, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDetailSubtitle) + var templ_7745c5c3_Var175 string + templ_7745c5c3_Var175, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationDetailSubtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 642, Col: 80} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 692, Col: 80} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var160)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var175)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 150, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var161 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var176 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3455,27 +3769,27 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var162 string - templ_7745c5c3_Var162, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationBackToQueue) + var templ_7745c5c3_Var177 string + templ_7745c5c3_Var177, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationBackToQueue) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 646, Col: 35} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 696, Col: 35} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var162)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var177)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/admin/moderation", Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var161), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: "/admin/moderation", Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var176), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 151, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.ValidationError != "" { - templ_7745c5c3_Var163 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var178 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3487,7 +3801,7 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var164 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var179 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3499,45 +3813,45 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 152, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var165 string - templ_7745c5c3_Var165, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApprovalBlockedTitle) + var templ_7745c5c3_Var180 string + templ_7745c5c3_Var180, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationApprovalBlockedTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 652, Col: 94} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 702, Col: 94} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var165)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var180)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var166 string - templ_7745c5c3_Var166, templ_7745c5c3_Err = templ.JoinStringErrs(page.ValidationError) + var templ_7745c5c3_Var181 string + templ_7745c5c3_Var181, templ_7745c5c3_Err = templ.JoinStringErrs(page.ValidationError) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 653, Col: 69} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 703, Col: 69} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var166)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var181)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 154, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var164), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "space-y-2 p-4"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var179), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-destructive/40 bg-destructive/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var163), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl border-destructive/40 bg-destructive/5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var178), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3546,7 +3860,7 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3556,7 +3870,7 @@ func AdminModerationProductDetail(props layouts.PageProps, page viewmodel.AdminM } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-moderation", labels.WorkspaceModeration, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var157), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-moderation", labels.WorkspaceModeration, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var172), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3580,12 +3894,12 @@ func AdminAICredentials(props layouts.PageProps, data viewmodel.CredentialsPage, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var167 := templ.GetChildren(ctx) - if templ_7745c5c3_Var167 == nil { - templ_7745c5c3_Var167 = templ.NopComponent + templ_7745c5c3_Var182 := templ.GetChildren(ctx) + if templ_7745c5c3_Var182 == nil { + templ_7745c5c3_Var182 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var168 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var183 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3597,7 +3911,7 @@ func AdminAICredentials(props layouts.PageProps, data viewmodel.CredentialsPage, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 156, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3605,7 +3919,7 @@ func AdminAICredentials(props layouts.PageProps, data viewmodel.CredentialsPage, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 157, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3613,13 +3927,13 @@ func AdminAICredentials(props layouts.PageProps, data viewmodel.CredentialsPage, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 173, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-credentials", labels.WorkspaceCredentials, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var168), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-credentials", labels.WorkspaceCredentials, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var183), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3643,12 +3957,12 @@ func AdminAICredentialsAdd(props layouts.PageProps, labels viewmodel.SiteLabels, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var169 := templ.GetChildren(ctx) - if templ_7745c5c3_Var169 == nil { - templ_7745c5c3_Var169 = templ.NopComponent + templ_7745c5c3_Var184 := templ.GetChildren(ctx) + if templ_7745c5c3_Var184 == nil { + templ_7745c5c3_Var184 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var170 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var185 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3660,11 +3974,11 @@ func AdminAICredentialsAdd(props layouts.PageProps, labels viewmodel.SiteLabels, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 174, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var171 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var186 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3680,52 +3994,52 @@ func AdminAICredentialsAdd(props layouts.PageProps, labels viewmodel.SiteLabels, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var172 string - templ_7745c5c3_Var172, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonBack) + var templ_7745c5c3_Var187 string + templ_7745c5c3_Var187, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CommonBack) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 680, Col: 24} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 730, Col: 24} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var172)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var187)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeSm, Href: "/admin/ai-credentials", Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var171), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeSm, Href: "/admin/ai-credentials", Class: "rounded-lg"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var186), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var173 string - templ_7745c5c3_Var173, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsAdd) + var templ_7745c5c3_Var188 string + templ_7745c5c3_Var188, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsAdd) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 683, Col: 84} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 733, Col: 84} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var173)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var188)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var174 string - templ_7745c5c3_Var174, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsSecurityDesc) + var templ_7745c5c3_Var189 string + templ_7745c5c3_Var189, templ_7745c5c3_Err = templ.JoinStringErrs(labels.CredentialsSecurityDesc) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 684, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 734, Col: 76} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var174)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var189)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3733,13 +4047,13 @@ func AdminAICredentialsAdd(props layouts.PageProps, labels viewmodel.SiteLabels, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-credentials", labels.CredentialsAdd, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var170), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-credentials", labels.CredentialsAdd, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var185), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3763,12 +4077,12 @@ func AdminAILogs(props layouts.PageProps, page viewmodel.AIInteractionLogsPage, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var175 := templ.GetChildren(ctx) - if templ_7745c5c3_Var175 == nil { - templ_7745c5c3_Var175 = templ.NopComponent + templ_7745c5c3_Var190 := templ.GetChildren(ctx) + if templ_7745c5c3_Var190 == nil { + templ_7745c5c3_Var190 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var176 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var191 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3780,40 +4094,40 @@ func AdminAILogs(props layouts.PageProps, page viewmodel.AIInteractionLogsPage, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var177 string - templ_7745c5c3_Var177, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogs) + var templ_7745c5c3_Var192 string + templ_7745c5c3_Var192, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogs) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 695, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 745, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var177)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var192)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var178 string - templ_7745c5c3_Var178, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var193 string + templ_7745c5c3_Var193, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 696, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 746, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var178)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var193)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if len(page.FilterLinks) > 0 { for _, link := range page.FilterLinks { if link.IsActive { - templ_7745c5c3_Var179 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var194 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3825,23 +4139,23 @@ func AdminAILogs(props layouts.PageProps, page viewmodel.AIInteractionLogsPage, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var180 string - templ_7745c5c3_Var180, templ_7745c5c3_Err = templ.JoinStringErrs(link.Label) + var templ_7745c5c3_Var195 string + templ_7745c5c3_Var195, templ_7745c5c3_Err = templ.JoinStringErrs(link.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 703, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 753, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var180)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var195)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: link.Href, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var179), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: link.Href, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var194), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Var181 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var196 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3853,18 +4167,18 @@ func AdminAILogs(props layouts.PageProps, page viewmodel.AIInteractionLogsPage, }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var182 string - templ_7745c5c3_Var182, templ_7745c5c3_Err = templ.JoinStringErrs(link.Label) + var templ_7745c5c3_Var197 string + templ_7745c5c3_Var197, templ_7745c5c3_Err = templ.JoinStringErrs(link.Label) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 707, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 757, Col: 21} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var182)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var197)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: link.Href, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var181), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: link.Href, Variant: button.VariantOutline, Size: button.SizeSm, Class: "rounded-xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var196), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3872,7 +4186,7 @@ func AdminAILogs(props layouts.PageProps, page viewmodel.AIInteractionLogsPage, } } if page.AssistantURL != "" { - templ_7745c5c3_Var183 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var198 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3888,31 +4202,31 @@ func AdminAILogs(props layouts.PageProps, page viewmodel.AIInteractionLogsPage, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 183, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var184 string - templ_7745c5c3_Var184, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var199 string + templ_7745c5c3_Var199, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 715, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 765, Col: 57} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var184)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var199)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 184, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var183), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var198), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 185, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3928,13 +4242,13 @@ func AdminAILogs(props layouts.PageProps, page viewmodel.AIInteractionLogsPage, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 186, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-ai-logs", labels.WorkspaceAILogs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var176), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-ai-logs", labels.WorkspaceAILogs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var191), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -3958,12 +4272,12 @@ func AdminAILogDetail(props layouts.PageProps, page viewmodel.AIInteractionLogDe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var185 := templ.GetChildren(ctx) - if templ_7745c5c3_Var185 == nil { - templ_7745c5c3_Var185 = templ.NopComponent + templ_7745c5c3_Var200 := templ.GetChildren(ctx) + if templ_7745c5c3_Var200 == nil { + templ_7745c5c3_Var200 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var186 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var201 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -3975,33 +4289,33 @@ func AdminAILogDetail(props layouts.PageProps, page viewmodel.AIInteractionLogDe }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 187, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var187 string - templ_7745c5c3_Var187, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsDetail) + var templ_7745c5c3_Var202 string + templ_7745c5c3_Var202, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceAILogsDetail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 731, Col: 92} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 781, Col: 92} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var187)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var202)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 173, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 188, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var188 string - templ_7745c5c3_Var188, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var203 string + templ_7745c5c3_Var203, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 732, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 782, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var188)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var203)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 174, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 189, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4009,13 +4323,13 @@ func AdminAILogDetail(props layouts.PageProps, page viewmodel.AIInteractionLogDe if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 190, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-ai-logs", labels.WorkspaceAILogs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var186), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-ai-logs", labels.WorkspaceAILogs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var201), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4039,12 +4353,12 @@ func AdminJobsOverview(props layouts.PageProps, page viewmodel.AdminJobsOverview }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var189 := templ.GetChildren(ctx) - if templ_7745c5c3_Var189 == nil { - templ_7745c5c3_Var189 = templ.NopComponent + templ_7745c5c3_Var204 := templ.GetChildren(ctx) + if templ_7745c5c3_Var204 == nil { + templ_7745c5c3_Var204 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var190 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var205 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4056,37 +4370,37 @@ func AdminJobsOverview(props layouts.PageProps, page viewmodel.AdminJobsOverview }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 191, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var191 string - templ_7745c5c3_Var191, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsOverview) + var templ_7745c5c3_Var206 string + templ_7745c5c3_Var206, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsOverview) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 744, Col: 93} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 794, Col: 93} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var191)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var206)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 192, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var192 string - templ_7745c5c3_Var192, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var207 string + templ_7745c5c3_Var207, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 745, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 795, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var192)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var207)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 193, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var193 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var208 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4098,23 +4412,23 @@ func AdminJobsOverview(props layouts.PageProps, page viewmodel.AdminJobsOverview }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var194 string - templ_7745c5c3_Var194, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionOpen) + var templ_7745c5c3_Var209 string + templ_7745c5c3_Var209, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsActionOpen) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 749, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 799, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var194)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var209)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Href: "/admin/jobs/list", Variant: button.VariantOutline, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var193), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Href: "/admin/jobs/list", Variant: button.VariantOutline, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var208), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.AssistantURL != "" { - templ_7745c5c3_Var195 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var210 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4130,31 +4444,31 @@ func AdminJobsOverview(props layouts.PageProps, page viewmodel.AdminJobsOverview if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 194, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var196 string - templ_7745c5c3_Var196, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var211 string + templ_7745c5c3_Var211, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 754, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 804, Col: 57} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var196)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var211)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 195, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var195), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var210), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 196, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4166,13 +4480,13 @@ func AdminJobsOverview(props layouts.PageProps, page viewmodel.AdminJobsOverview if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 197, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-jobs", labels.WorkspaceJobs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var190), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-jobs", labels.WorkspaceJobs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var205), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4196,12 +4510,12 @@ func AdminJobsList(props layouts.PageProps, page viewmodel.AdminJobsListPage, la }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var197 := templ.GetChildren(ctx) - if templ_7745c5c3_Var197 == nil { - templ_7745c5c3_Var197 = templ.NopComponent + templ_7745c5c3_Var212 := templ.GetChildren(ctx) + if templ_7745c5c3_Var212 == nil { + templ_7745c5c3_Var212 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var198 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var213 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4213,38 +4527,38 @@ func AdminJobsList(props layouts.PageProps, page viewmodel.AdminJobsListPage, la }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 183, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 198, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var199 string - templ_7745c5c3_Var199, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobs) + var templ_7745c5c3_Var214 string + templ_7745c5c3_Var214, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobs) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 770, Col: 85} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 820, Col: 85} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var199)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var214)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 184, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 199, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var200 string - templ_7745c5c3_Var200, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var215 string + templ_7745c5c3_Var215, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 771, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 821, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var200)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var215)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 185, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 200, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if page.AssistantURL != "" { - templ_7745c5c3_Var201 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var216 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4260,31 +4574,31 @@ func AdminJobsList(props layouts.PageProps, page viewmodel.AdminJobsListPage, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 186, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 201, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var202 string - templ_7745c5c3_Var202, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var217 string + templ_7745c5c3_Var217, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 776, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 826, Col: 56} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var202)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var217)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 187, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var201), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var216), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 188, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 203, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4304,13 +4618,13 @@ func AdminJobsList(props layouts.PageProps, page viewmodel.AdminJobsListPage, la if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 189, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 204, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-jobs", labels.WorkspaceJobs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var198), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-jobs", labels.WorkspaceJobs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var213), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4334,12 +4648,12 @@ func AdminJobDetail(props layouts.PageProps, page viewmodel.AdminJobDetailPage, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var203 := templ.GetChildren(ctx) - if templ_7745c5c3_Var203 == nil { - templ_7745c5c3_Var203 = templ.NopComponent + templ_7745c5c3_Var218 := templ.GetChildren(ctx) + if templ_7745c5c3_Var218 == nil { + templ_7745c5c3_Var218 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var204 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var219 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4351,33 +4665,33 @@ func AdminJobDetail(props layouts.PageProps, page viewmodel.AdminJobDetailPage, }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 190, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 205, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var205 string - templ_7745c5c3_Var205, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsDetail) + var templ_7745c5c3_Var220 string + templ_7745c5c3_Var220, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceJobsDetail) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 792, Col: 90} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 842, Col: 90} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var205)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var220)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 191, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var206 string - templ_7745c5c3_Var206, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var221 string + templ_7745c5c3_Var221, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 793, Col: 64} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 843, Col: 64} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var206)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var221)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 192, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 207, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4393,13 +4707,13 @@ func AdminJobDetail(props layouts.PageProps, page viewmodel.AdminJobDetailPage, if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 193, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 208, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-jobs", labels.WorkspaceJobs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var204), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-jobs", labels.WorkspaceJobs, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var219), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4423,12 +4737,12 @@ func AdminSearchSyncOverview(props layouts.PageProps, page viewmodel.AdminSearch }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var207 := templ.GetChildren(ctx) - if templ_7745c5c3_Var207 == nil { - templ_7745c5c3_Var207 = templ.NopComponent + templ_7745c5c3_Var222 := templ.GetChildren(ctx) + if templ_7745c5c3_Var222 == nil { + templ_7745c5c3_Var222 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var208 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var223 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4440,37 +4754,37 @@ func AdminSearchSyncOverview(props layouts.PageProps, page viewmodel.AdminSearch }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 194, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 209, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var209 string - templ_7745c5c3_Var209, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSync) + var templ_7745c5c3_Var224 string + templ_7745c5c3_Var224, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSync) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 807, Col: 95} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 857, Col: 95} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var209)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var224)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 195, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 210, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var210 string - templ_7745c5c3_Var210, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var225 string + templ_7745c5c3_Var225, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 808, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 858, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var210)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var225)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 196, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 211, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var211 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var226 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4486,47 +4800,47 @@ func AdminSearchSyncOverview(props layouts.PageProps, page viewmodel.AdminSearch if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 197, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 212, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var212 string - templ_7745c5c3_Var212, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var227 string + templ_7745c5c3_Var227, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 813, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 863, Col: 56} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var212)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var227)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 198, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 213, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var211), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var226), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 199, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 215, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var214 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var229 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4542,30 +4856,30 @@ func AdminSearchSyncOverview(props layouts.PageProps, page viewmodel.AdminSearch if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 201, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 216, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var215 string - templ_7745c5c3_Var215, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) + var templ_7745c5c3_Var230 string + templ_7745c5c3_Var230, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 818, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 868, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var215)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var230)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 217, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var214), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var229), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 203, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 218, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4613,7 +4927,7 @@ func AdminSearchSyncOverview(props layouts.PageProps, page viewmodel.AdminSearch if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 204, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 219, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4623,7 +4937,7 @@ func AdminSearchSyncOverview(props layouts.PageProps, page viewmodel.AdminSearch } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-search-sync", labels.WorkspaceSearchSync, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var208), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-search-sync", labels.WorkspaceSearchSync, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var223), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4647,12 +4961,12 @@ func AdminSearchSyncJobs(props layouts.PageProps, page viewmodel.AdminSearchSync }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var216 := templ.GetChildren(ctx) - if templ_7745c5c3_Var216 == nil { - templ_7745c5c3_Var216 = templ.NopComponent + templ_7745c5c3_Var231 := templ.GetChildren(ctx) + if templ_7745c5c3_Var231 == nil { + templ_7745c5c3_Var231 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var217 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var232 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4664,37 +4978,37 @@ func AdminSearchSyncJobs(props layouts.PageProps, page viewmodel.AdminSearchSync }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 205, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 220, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var218 string - templ_7745c5c3_Var218, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncCurrentJobs) + var templ_7745c5c3_Var233 string + templ_7745c5c3_Var233, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncCurrentJobs) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 862, Col: 106} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 912, Col: 106} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var218)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var233)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 221, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var219 string - templ_7745c5c3_Var219, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var234 string + templ_7745c5c3_Var234, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 863, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 913, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var219)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var234)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 207, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 222, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var220 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var235 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4710,47 +5024,47 @@ func AdminSearchSyncJobs(props layouts.PageProps, page viewmodel.AdminSearchSync if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 208, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 223, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var221 string - templ_7745c5c3_Var221, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var236 string + templ_7745c5c3_Var236, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 868, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 918, Col: 56} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var221)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var236)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 209, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var220), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var235), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 210, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var223 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var238 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4766,30 +5080,30 @@ func AdminSearchSyncJobs(props layouts.PageProps, page viewmodel.AdminSearchSync if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 212, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var224 string - templ_7745c5c3_Var224, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) + var templ_7745c5c3_Var239 string + templ_7745c5c3_Var239, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 873, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 923, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var224)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var239)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 213, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var223), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var238), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 214, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4849,7 +5163,7 @@ func AdminSearchSyncJobs(props layouts.PageProps, page viewmodel.AdminSearchSync if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 215, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4859,7 +5173,7 @@ func AdminSearchSyncJobs(props layouts.PageProps, page viewmodel.AdminSearchSync } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-search-sync", labels.WorkspaceSearchSync, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var217), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-search-sync", labels.WorkspaceSearchSync, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var232), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -4883,12 +5197,12 @@ func AdminSearchSyncAttempts(props layouts.PageProps, page viewmodel.AdminSearch }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var225 := templ.GetChildren(ctx) - if templ_7745c5c3_Var225 == nil { - templ_7745c5c3_Var225 = templ.NopComponent + templ_7745c5c3_Var240 := templ.GetChildren(ctx) + if templ_7745c5c3_Var240 == nil { + templ_7745c5c3_Var240 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var226 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var241 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4900,37 +5214,37 @@ func AdminSearchSyncAttempts(props layouts.PageProps, page viewmodel.AdminSearch }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 216, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 231, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var227 string - templ_7745c5c3_Var227, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncRecentAttempts) + var templ_7745c5c3_Var242 string + templ_7745c5c3_Var242, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceSearchSyncRecentAttempts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 920, Col: 109} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 970, Col: 109} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var227)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var242)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 217, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var228 string - templ_7745c5c3_Var228, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) + var templ_7745c5c3_Var243 string + templ_7745c5c3_Var243, templ_7745c5c3_Err = templ.JoinStringErrs(props.Description) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 921, Col: 65} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 971, Col: 65} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var228)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var243)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 218, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var229 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var244 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -4946,47 +5260,47 @@ func AdminSearchSyncAttempts(props layouts.PageProps, page viewmodel.AdminSearch if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 219, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var230 string - templ_7745c5c3_Var230, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var245 string + templ_7745c5c3_Var245, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 926, Col: 56} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 976, Col: 56} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var230)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var245)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 220, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var229), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Href: page.AssistantURL, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var244), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 221, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 237, "\" method=\"post\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var232 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var247 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5002,30 +5316,30 @@ func AdminSearchSyncAttempts(props layouts.PageProps, page viewmodel.AdminSearch if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 223, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 238, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var233 string - templ_7745c5c3_Var233, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) + var templ_7745c5c3_Var248 string + templ_7745c5c3_Var248, templ_7745c5c3_Err = templ.JoinStringErrs(labels.ModerationSyncNow) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 931, Col: 52} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 981, Col: 52} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var233)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var248)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 239, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var232), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Type: button.TypeSubmit, Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var247), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 225, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 240, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5085,7 +5399,7 @@ func AdminSearchSyncAttempts(props layouts.PageProps, page viewmodel.AdminSearch if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5095,7 +5409,7 @@ func AdminSearchSyncAttempts(props layouts.PageProps, page viewmodel.AdminSearch } return nil }) - templ_7745c5c3_Err = WorkspaceLayout(props, "admin-search-sync", labels.WorkspaceSearchSync, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var226), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = WorkspaceLayout(props, "admin-search-sync", labels.WorkspaceSearchSync, labels).Render(templ.WithChildren(ctx, templ_7745c5c3_Var241), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5120,12 +5434,12 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var234 := templ.GetChildren(ctx) - if templ_7745c5c3_Var234 == nil { - templ_7745c5c3_Var234 = templ.NopComponent + templ_7745c5c3_Var249 := templ.GetChildren(ctx) + if templ_7745c5c3_Var249 == nil { + templ_7745c5c3_Var249 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var235 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var250 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5137,7 +5451,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var236 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var251 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5149,7 +5463,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var237 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var252 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5161,7 +5475,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var238 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var253 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5173,7 +5487,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var239 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var254 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5185,7 +5499,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var240 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var255 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5197,7 +5511,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var241 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var256 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5213,39 +5527,39 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, " BTKCommerce") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, " BTKCommerce") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: "BTKCommerce"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var241), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: "BTKCommerce"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var256), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var240), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var255), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var239), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var254), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var238), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var253), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 243, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var242 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var257 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5263,7 +5577,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 244, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5273,7 +5587,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5281,11 +5595,11 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 231, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var243 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var258 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5297,7 +5611,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var244 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var259 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5309,7 +5623,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var245 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var260 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5321,7 +5635,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var246 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var261 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5337,40 +5651,40 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 247, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var247 string - templ_7745c5c3_Var247, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) + var templ_7745c5c3_Var262 string + templ_7745c5c3_Var262, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1001, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1051, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var247)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var262)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 248, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: labels.NavStore}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var246), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: labels.NavStore}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var261), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var245), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var260), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var248 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var263 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5382,7 +5696,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var249 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var264 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5398,58 +5712,58 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var250 string - templ_7745c5c3_Var250, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) + var templ_7745c5c3_Var265 string + templ_7745c5c3_Var265, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1007, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1057, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var250)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var265)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 236, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 251, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/account", Tooltip: labels.NavAccount}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var249), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/account", Tooltip: labels.NavAccount}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var264), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var248), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var263), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var244), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var259), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var243), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var258), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var242), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var257), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 237, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 252, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var251 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var266 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5461,7 +5775,15 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var252 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Err = workspaceFooterBrand(labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 253, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var267 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5473,7 +5795,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var253 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var268 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5485,7 +5807,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var254 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var269 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5497,7 +5819,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var255 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var270 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5509,7 +5831,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var256 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var271 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5521,7 +5843,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var257 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var272 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5533,7 +5855,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var258 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var273 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5545,54 +5867,54 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var259 string - templ_7745c5c3_Var259, templ_7745c5c3_Err = templ.JoinStringErrs(initials(props.Auth.UserName)) + var templ_7745c5c3_Var274 string + templ_7745c5c3_Var274, templ_7745c5c3_Err = templ.JoinStringErrs(initials(props.Auth.UserName)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1021, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1072, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var259)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var274)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = avatar.Fallback().Render(templ.WithChildren(ctx, templ_7745c5c3_Var258), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = avatar.Fallback().Render(templ.WithChildren(ctx, templ_7745c5c3_Var273), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = avatar.Avatar(avatar.Props{Class: "size-8"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var257), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = avatar.Avatar(avatar.Props{Class: "size-8"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var272), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 238, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 254, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var260 string - templ_7745c5c3_Var260, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) + var templ_7745c5c3_Var275 string + templ_7745c5c3_Var275, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1025, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1076, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var260)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var275)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 239, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var261 string - templ_7745c5c3_Var261, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserRole) + var templ_7745c5c3_Var276 string + templ_7745c5c3_Var276, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserRole) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1026, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1077, Col: 76} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var261)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var276)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 240, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 256, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5602,21 +5924,21 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Size: sidebar.MenuButtonSizeLg}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var256), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Size: sidebar.MenuButtonSizeLg}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var271), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var255), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var270), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 257, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var262 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var277 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5628,7 +5950,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var263 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var278 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5640,22 +5962,22 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var264 string - templ_7745c5c3_Var264, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) + var templ_7745c5c3_Var279 string + templ_7745c5c3_Var279, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1033, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1084, Col: 31} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var264)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var279)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Label().Render(templ.WithChildren(ctx, templ_7745c5c3_Var263), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Label().Render(templ.WithChildren(ctx, templ_7745c5c3_Var278), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5663,11 +5985,11 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 243, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var265 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var280 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5679,7 +6001,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 244, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5687,30 +6009,30 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var266 string - templ_7745c5c3_Var266, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) + var templ_7745c5c3_Var281 string + templ_7745c5c3_Var281, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1039, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1090, Col: 31} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var266)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var281)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var265), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var280), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 262, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var267 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var282 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5722,7 +6044,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 247, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 263, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5730,26 +6052,26 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var268 string - templ_7745c5c3_Var268, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) + var templ_7745c5c3_Var283 string + templ_7745c5c3_Var283, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1045, Col: 29} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1096, Col: 29} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var268)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var283)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 248, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 264, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var267), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var282), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5757,11 +6079,11 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 266, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var269 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var284 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5773,11 +6095,11 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 251, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 267, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var270 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var285 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5793,16 +6115,16 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 252, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 268, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var271 string - templ_7745c5c3_Var271, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AuthLogout) + var templ_7745c5c3_Var286 string + templ_7745c5c3_Var286, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AuthLogout) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1057, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1108, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var271)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var286)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5812,61 +6134,61 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi Type: button.TypeSubmit, Variant: button.VariantGhost, Class: "flex w-full items-center justify-start gap-2 px-0 text-sm", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var270), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var285), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 253, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var269), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var284), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Content(dropdown.ContentProps{Class: "w-56 pb-1.5", Placement: dropdown.PlacementTopEnd}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var262), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Content(dropdown.ContentProps{Class: "w-56 pb-1.5", Placement: dropdown.PlacementTopEnd}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var277), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Dropdown().Render(templ.WithChildren(ctx, templ_7745c5c3_Var254), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Dropdown().Render(templ.WithChildren(ctx, templ_7745c5c3_Var269), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var253), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var268), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var252), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var267), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var251), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var266), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Sidebar(sidebar.Props{Collapsible: sidebar.CollapsibleIcon}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var237), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Sidebar(sidebar.Props{Collapsible: sidebar.CollapsibleIcon}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var252), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 254, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var272 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var287 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5878,7 +6200,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -5886,37 +6208,37 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 256, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var273 string - templ_7745c5c3_Var273, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceHeaderTitle) + var templ_7745c5c3_Var288 string + templ_7745c5c3_Var288, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceHeaderTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1074, Col: 71} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1125, Col: 71} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var273)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var288)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 257, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var274 string - templ_7745c5c3_Var274, templ_7745c5c3_Err = templ.JoinStringErrs(subtitle) + var templ_7745c5c3_Var289 string + templ_7745c5c3_Var289, templ_7745c5c3_Err = templ.JoinStringErrs(subtitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1075, Col: 62} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1126, Col: 62} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var274)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var289)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var275 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var290 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5934,11 +6256,11 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Type: button.TypeButton, Attributes: templ.Attributes{"data-theme-toggle": "true"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var275), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Type: button.TypeButton, Attributes: templ.Attributes{"data-theme-toggle": "true"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var290), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var276 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var291 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -5954,67 +6276,67 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var277 string - templ_7745c5c3_Var277, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) + var templ_7745c5c3_Var292 string + templ_7745c5c3_Var292, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1084, Col: 48} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1135, Col: 48} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var277)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var292)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: "/", Class: "rounded-lg", Attributes: templ.Attributes{"title": labels.NavStore}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var276), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: "/", Class: "rounded-lg", Attributes: templ.Attributes{"title": labels.NavStore}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var291), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templ_7745c5c3_Var234.Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = templ_7745c5c3_Var249.Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 263, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Inset().Render(templ.WithChildren(ctx, templ_7745c5c3_Var272), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Inset().Render(templ.WithChildren(ctx, templ_7745c5c3_Var287), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Layout().Render(templ.WithChildren(ctx, templ_7745c5c3_Var236), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Layout().Render(templ.WithChildren(ctx, templ_7745c5c3_Var251), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 264, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6022,7 +6344,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6030,7 +6352,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 266, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6038,7 +6360,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 267, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6046,7 +6368,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 268, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6054,7 +6376,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6062,7 +6384,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6098,7 +6420,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6137,7 +6459,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6147,7 +6469,7 @@ func WorkspaceLayout(props layouts.PageProps, active, subtitle string, labels vi } return nil }) - templ_7745c5c3_Err = layouts.Main(props).Render(templ.WithChildren(ctx, templ_7745c5c3_Var235), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = layouts.Main(props).Render(templ.WithChildren(ctx, templ_7745c5c3_Var250), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6171,12 +6493,12 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var279 := templ.GetChildren(ctx) - if templ_7745c5c3_Var279 == nil { - templ_7745c5c3_Var279 = templ.NopComponent + templ_7745c5c3_Var294 := templ.GetChildren(ctx) + if templ_7745c5c3_Var294 == nil { + templ_7745c5c3_Var294 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var280 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var295 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6188,7 +6510,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var281 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var296 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6200,7 +6522,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var282 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var297 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6212,7 +6534,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var283 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var298 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6224,7 +6546,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var284 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var299 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6236,7 +6558,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var285 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var300 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6248,7 +6570,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var286 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var301 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6264,39 +6586,39 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, " BTKCommerce") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, " BTKCommerce") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: "BTKCommerce"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var286), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: "BTKCommerce"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var301), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var285), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var300), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var284), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var299), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var283), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Header().Render(templ.WithChildren(ctx, templ_7745c5c3_Var298), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var287 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var302 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6314,7 +6636,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6324,7 +6646,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6332,11 +6654,11 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var288 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var303 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6348,7 +6670,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var289 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var304 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6360,7 +6682,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var290 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var305 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6372,7 +6694,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var291 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var306 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6388,40 +6710,40 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var292 string - templ_7745c5c3_Var292, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) + var templ_7745c5c3_Var307 string + templ_7745c5c3_Var307, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1193, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1244, Col: 32} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var292)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var307)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: labels.NavStore}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var291), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/", Tooltip: labels.NavStore}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var306), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var290), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var305), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var293 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var308 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6433,7 +6755,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var294 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var309 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6449,58 +6771,58 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var295 string - templ_7745c5c3_Var295, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) + var templ_7745c5c3_Var310 string + templ_7745c5c3_Var310, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1199, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1250, Col: 34} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var295)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var310)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/account", Tooltip: labels.NavAccount}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var294), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/account", Tooltip: labels.NavAccount}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var309), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var293), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var308), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var289), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var304), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var288), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var303), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var287), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Content().Render(templ.WithChildren(ctx, templ_7745c5c3_Var302), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var296 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var311 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6512,7 +6834,15 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var297 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Err = workspaceFooterBrand(labels).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var312 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6524,7 +6854,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var298 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var313 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6536,7 +6866,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var299 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var314 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6548,7 +6878,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var300 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var315 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6560,7 +6890,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var301 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var316 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6572,7 +6902,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var302 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var317 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6584,7 +6914,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var303 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var318 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6596,54 +6926,54 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var304 string - templ_7745c5c3_Var304, templ_7745c5c3_Err = templ.JoinStringErrs(initials(props.Auth.UserName)) + var templ_7745c5c3_Var319 string + templ_7745c5c3_Var319, templ_7745c5c3_Err = templ.JoinStringErrs(initials(props.Auth.UserName)) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1213, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1265, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var304)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var319)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = avatar.Fallback().Render(templ.WithChildren(ctx, templ_7745c5c3_Var303), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = avatar.Fallback().Render(templ.WithChildren(ctx, templ_7745c5c3_Var318), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = avatar.Avatar(avatar.Props{Class: "size-8"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var302), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = avatar.Avatar(avatar.Props{Class: "size-8"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var317), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 301, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var305 string - templ_7745c5c3_Var305, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) + var templ_7745c5c3_Var320 string + templ_7745c5c3_Var320, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1217, Col: 66} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1269, Col: 66} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var305)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var320)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 302, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var306 string - templ_7745c5c3_Var306, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserRole) + var templ_7745c5c3_Var321 string + templ_7745c5c3_Var321, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserRole) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1218, Col: 76} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1270, Col: 76} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var306)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var321)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6653,21 +6983,21 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Size: sidebar.MenuButtonSizeLg}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var301), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Size: sidebar.MenuButtonSizeLg}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var316), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var300), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Trigger().Render(templ.WithChildren(ctx, templ_7745c5c3_Var315), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 304, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var307 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var322 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6679,7 +7009,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var308 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var323 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6691,22 +7021,22 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var309 string - templ_7745c5c3_Var309, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) + var templ_7745c5c3_Var324 string + templ_7745c5c3_Var324, templ_7745c5c3_Err = templ.JoinStringErrs(props.Auth.UserName) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1225, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1277, Col: 31} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var309)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var324)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Label().Render(templ.WithChildren(ctx, templ_7745c5c3_Var308), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Label().Render(templ.WithChildren(ctx, templ_7745c5c3_Var323), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 305, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6714,11 +7044,11 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 306, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var310 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var325 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6730,7 +7060,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 307, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6738,30 +7068,30 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var311 string - templ_7745c5c3_Var311, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) + var templ_7745c5c3_Var326 string + templ_7745c5c3_Var326, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavAccount) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1231, Col: 30} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1283, Col: 30} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var311)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var326)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 308, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var310), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var325), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 309, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var312 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var327 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6773,7 +7103,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 310, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6781,26 +7111,26 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var313 string - templ_7745c5c3_Var313, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) + var templ_7745c5c3_Var328 string + templ_7745c5c3_Var328, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1237, Col: 28} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1289, Col: 28} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var313)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var328)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 311, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var312), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var327), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 312, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6808,11 +7138,11 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 313, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var314 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var329 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6824,11 +7154,11 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 314, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var315 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var330 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6844,16 +7174,16 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 315, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var316 string - templ_7745c5c3_Var316, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AuthLogout) + var templ_7745c5c3_Var331 string + templ_7745c5c3_Var331, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AuthLogout) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1249, Col: 31} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1301, Col: 31} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var316)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var331)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6863,61 +7193,61 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab Type: button.TypeSubmit, Variant: button.VariantGhost, Class: "flex w-full items-center justify-start gap-2 px-0 text-sm", - }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var315), templ_7745c5c3_Buffer) + }).Render(templ.WithChildren(ctx, templ_7745c5c3_Var330), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 316, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var314), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Item().Render(templ.WithChildren(ctx, templ_7745c5c3_Var329), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Content(dropdown.ContentProps{Class: "w-56 pb-1.5", Placement: dropdown.PlacementTopEnd}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var307), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Content(dropdown.ContentProps{Class: "w-56 pb-1.5", Placement: dropdown.PlacementTopEnd}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var322), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = dropdown.Dropdown().Render(templ.WithChildren(ctx, templ_7745c5c3_Var299), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = dropdown.Dropdown().Render(templ.WithChildren(ctx, templ_7745c5c3_Var314), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var298), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var313), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var297), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var312), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var296), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Footer().Render(templ.WithChildren(ctx, templ_7745c5c3_Var311), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Sidebar(sidebar.Props{Collapsible: sidebar.CollapsibleIcon}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var282), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Sidebar(sidebar.Props{Collapsible: sidebar.CollapsibleIcon}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var297), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var317 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var332 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6929,7 +7259,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 301, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -6937,37 +7267,37 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 302, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 319, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var318 string - templ_7745c5c3_Var318, templ_7745c5c3_Err = templ.JoinStringErrs(title) + var templ_7745c5c3_Var333 string + templ_7745c5c3_Var333, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1265, Col: 55} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1317, Col: 55} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var318)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var333)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var319 string - templ_7745c5c3_Var319, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceHeaderTitle) + var templ_7745c5c3_Var334 string + templ_7745c5c3_Var334, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceHeaderTitle) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1266, Col: 87} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1318, Col: 87} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var319)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var334)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 304, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var320 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var335 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -6985,11 +7315,11 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Type: button.TypeButton, Attributes: templ.Attributes{"data-theme-toggle": "true"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var320), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantGhost, Size: button.SizeIcon, Type: button.TypeButton, Attributes: templ.Attributes{"data-theme-toggle": "true"}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var335), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var321 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var336 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7005,67 +7335,67 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 305, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var322 string - templ_7745c5c3_Var322, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) + var templ_7745c5c3_Var337 string + templ_7745c5c3_Var337, templ_7745c5c3_Err = templ.JoinStringErrs(labels.NavStore) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1275, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1327, Col: 47} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var322)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var337)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 306, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: "/", Class: "rounded-lg", Attributes: templ.Attributes{"title": labels.NavStore}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var321), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = button.Button(button.Props{Variant: button.VariantOutline, Size: button.SizeIcon, Href: "/", Class: "rounded-lg", Attributes: templ.Attributes{"title": labels.NavStore}}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var336), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 307, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, "\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templ_7745c5c3_Var279.Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = templ_7745c5c3_Var294.Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 309, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Inset().Render(templ.WithChildren(ctx, templ_7745c5c3_Var317), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Inset().Render(templ.WithChildren(ctx, templ_7745c5c3_Var332), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Layout().Render(templ.WithChildren(ctx, templ_7745c5c3_Var281), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Layout().Render(templ.WithChildren(ctx, templ_7745c5c3_Var296), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 310, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7073,7 +7403,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 311, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 328, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7081,7 +7411,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 312, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7089,7 +7419,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 313, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7097,7 +7427,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 314, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 331, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7105,7 +7435,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 315, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 332, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7113,7 +7443,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 316, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7148,7 +7478,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 317, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 334, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7179,7 +7509,7 @@ func WorkspaceAssistantLayout(props layouts.PageProps, active, title string, lab } return nil }) - templ_7745c5c3_Err = layouts.Main(props).Render(templ.WithChildren(ctx, templ_7745c5c3_Var280), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = layouts.Main(props).Render(templ.WithChildren(ctx, templ_7745c5c3_Var295), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7203,12 +7533,12 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var324 := templ.GetChildren(ctx) - if templ_7745c5c3_Var324 == nil { - templ_7745c5c3_Var324 = templ.NopComponent + templ_7745c5c3_Var339 := templ.GetChildren(ctx) + if templ_7745c5c3_Var339 == nil { + templ_7745c5c3_Var339 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var325 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var340 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7220,7 +7550,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var326 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var341 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7232,26 +7562,26 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var327 string - templ_7745c5c3_Var327, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavSellerGroup) + var templ_7745c5c3_Var342 string + templ_7745c5c3_Var342, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavSellerGroup) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1346, Col: 58} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1398, Col: 58} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var327)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var342)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.GroupLabel().Render(templ.WithChildren(ctx, templ_7745c5c3_Var326), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.GroupLabel().Render(templ.WithChildren(ctx, templ_7745c5c3_Var341), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 318, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 335, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var328 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var343 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7263,7 +7593,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var329 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var344 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7275,7 +7605,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var330 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var345 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7291,40 +7621,40 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 319, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 336, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var331 string - templ_7745c5c3_Var331, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavDashboard) + var templ_7745c5c3_Var346 string + templ_7745c5c3_Var346, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavDashboard) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1351, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1403, Col: 41} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var331)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var346)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 320, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 337, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller", IsActive: active == "seller", Tooltip: labels.WorkspaceNavDashboard}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var330), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller", IsActive: active == "seller", Tooltip: labels.WorkspaceNavDashboard}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var345), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var329), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var344), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 321, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 338, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var332 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var347 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7336,7 +7666,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var333 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var348 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7352,40 +7682,40 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 322, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 339, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var334 string - templ_7745c5c3_Var334, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavOrders) + var templ_7745c5c3_Var349 string + templ_7745c5c3_Var349, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavOrders) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1357, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1409, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var334)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var349)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 323, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 340, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/orders", IsActive: active == "seller-orders", Tooltip: labels.WorkspaceNavOrders}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var333), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/orders", IsActive: active == "seller-orders", Tooltip: labels.WorkspaceNavOrders}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var348), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var332), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var347), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 324, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 341, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var335 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var350 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7397,7 +7727,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var336 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var351 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7413,40 +7743,40 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 325, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var337 string - templ_7745c5c3_Var337, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var352 string + templ_7745c5c3_Var352, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1363, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1415, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var337)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var352)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 326, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 343, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/assistant", IsActive: active == "seller-assistant", Tooltip: labels.AssistantConversations}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var336), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/assistant", IsActive: active == "seller-assistant", Tooltip: labels.AssistantConversations}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var351), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var335), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var350), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 327, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 344, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var338 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var353 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7458,7 +7788,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var339 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var354 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7474,40 +7804,40 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 328, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 345, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var340 string - templ_7745c5c3_Var340, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavReviews) + var templ_7745c5c3_Var355 string + templ_7745c5c3_Var355, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavReviews) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1369, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1421, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var340)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var355)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 329, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 346, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/reviews", IsActive: active == "seller-reviews", Tooltip: labels.WorkspaceNavReviews}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var339), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/reviews", IsActive: active == "seller-reviews", Tooltip: labels.WorkspaceNavReviews}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var354), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var338), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var353), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 330, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var341 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var356 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7519,7 +7849,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var342 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var357 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7535,40 +7865,40 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 331, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 348, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var343 string - templ_7745c5c3_Var343, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavImageStudio) + var templ_7745c5c3_Var358 string + templ_7745c5c3_Var358, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavImageStudio) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1375, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1427, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var343)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var358)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 332, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 349, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/image-studio", IsActive: active == "seller-image-studio", Tooltip: labels.WorkspaceNavImageStudio}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var342), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/image-studio", IsActive: active == "seller-image-studio", Tooltip: labels.WorkspaceNavImageStudio}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var357), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var341), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var356), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 333, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var344 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var359 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7580,7 +7910,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var345 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var360 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7596,40 +7926,40 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 334, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 351, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var346 string - templ_7745c5c3_Var346, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavPricing) + var templ_7745c5c3_Var361 string + templ_7745c5c3_Var361, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavPricing) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1381, Col: 39} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1433, Col: 39} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var346)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var361)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 335, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/pricing", IsActive: active == "seller-pricing", Tooltip: labels.WorkspaceNavPricing}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var345), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/pricing", IsActive: active == "seller-pricing", Tooltip: labels.WorkspaceNavPricing}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var360), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var344), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var359), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 336, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var347 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var362 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7641,7 +7971,7 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var348 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var363 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7657,44 +7987,44 @@ func workspaceSellerMenu(active string, labels viewmodel.SiteLabels) templ.Compo if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 337, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var349 string - templ_7745c5c3_Var349, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavProducts) + var templ_7745c5c3_Var364 string + templ_7745c5c3_Var364, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavProducts) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1387, Col: 40} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1439, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var349)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var364)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 338, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 355, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/products", IsActive: active == "seller-products", Tooltip: labels.WorkspaceNavProducts}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var348), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/seller/products", IsActive: active == "seller-products", Tooltip: labels.WorkspaceNavProducts}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var363), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var347), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var362), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var328), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var343), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var325), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var340), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -7718,12 +8048,12 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var350 := templ.GetChildren(ctx) - if templ_7745c5c3_Var350 == nil { - templ_7745c5c3_Var350 = templ.NopComponent + templ_7745c5c3_Var365 := templ.GetChildren(ctx) + if templ_7745c5c3_Var365 == nil { + templ_7745c5c3_Var365 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Var351 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var366 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7735,7 +8065,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var352 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var367 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7747,26 +8077,26 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - var templ_7745c5c3_Var353 string - templ_7745c5c3_Var353, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavAdminGroup) + var templ_7745c5c3_Var368 string + templ_7745c5c3_Var368, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavAdminGroup) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1396, Col: 57} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1448, Col: 57} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var353)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var368)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.GroupLabel().Render(templ.WithChildren(ctx, templ_7745c5c3_Var352), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.GroupLabel().Render(templ.WithChildren(ctx, templ_7745c5c3_Var367), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 339, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 356, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var354 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var369 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7778,7 +8108,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var355 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var370 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7790,7 +8120,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var356 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var371 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7806,40 +8136,101 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 340, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 357, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var372 string + templ_7745c5c3_Var372, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavAdminHome) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1453, Col: 42} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var372)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 358, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin", IsActive: active == "admin", Tooltip: labels.WorkspaceNavAdminHome}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var371), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var370), templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 359, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Var373 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var374 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Err = icon.Package(icon.Props{Class: "size-4"}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 360, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var357 string - templ_7745c5c3_Var357, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavAdminHome) + var templ_7745c5c3_Var375 string + templ_7745c5c3_Var375, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavCatalog) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1401, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1459, Col: 40} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var357)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var375)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 341, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 361, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin", IsActive: active == "admin", Tooltip: labels.WorkspaceNavAdminHome}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var356), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/products", IsActive: active == "admin-products", Tooltip: labels.WorkspaceNavCatalog}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var374), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var355), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var373), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 342, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 362, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var358 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var376 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7851,7 +8242,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var359 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var377 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7867,40 +8258,40 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 343, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 363, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var360 string - templ_7745c5c3_Var360, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavModeration) + var templ_7745c5c3_Var378 string + templ_7745c5c3_Var378, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavModeration) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1407, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1465, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var360)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var378)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 344, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 364, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/moderation", IsActive: active == "admin-moderation", Tooltip: labels.WorkspaceNavModeration}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var359), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/moderation", IsActive: active == "admin-moderation", Tooltip: labels.WorkspaceNavModeration}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var377), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var358), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var376), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 345, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 365, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var361 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var379 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7912,7 +8303,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var362 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var380 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7928,40 +8319,40 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 346, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 366, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var363 string - templ_7745c5c3_Var363, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) + var templ_7745c5c3_Var381 string + templ_7745c5c3_Var381, templ_7745c5c3_Err = templ.JoinStringErrs(labels.AssistantConversations) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1413, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1471, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var363)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var381)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 347, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 367, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/assistant", IsActive: active == "admin-assistant", Tooltip: labels.AssistantConversations}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var362), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/assistant", IsActive: active == "admin-assistant", Tooltip: labels.AssistantConversations}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var380), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var361), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var379), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 348, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 368, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var364 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var382 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7973,7 +8364,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var365 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var383 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -7989,40 +8380,40 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 349, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 369, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var366 string - templ_7745c5c3_Var366, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavAILogs) + var templ_7745c5c3_Var384 string + templ_7745c5c3_Var384, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavAILogs) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1419, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1477, Col: 38} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var366)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var384)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 350, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 370, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/ai-logs", IsActive: active == "admin-ai-logs", Tooltip: labels.WorkspaceNavAILogs}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var365), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/ai-logs", IsActive: active == "admin-ai-logs", Tooltip: labels.WorkspaceNavAILogs}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var383), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var364), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var382), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 351, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 371, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var367 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var385 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8034,7 +8425,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var368 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var386 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8050,40 +8441,40 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 352, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 372, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var369 string - templ_7745c5c3_Var369, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavJobs) + var templ_7745c5c3_Var387 string + templ_7745c5c3_Var387, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavJobs) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1425, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1483, Col: 36} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var369)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var387)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 353, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 373, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/jobs", IsActive: active == "admin-jobs", Tooltip: labels.WorkspaceNavJobs}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var368), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/jobs", IsActive: active == "admin-jobs", Tooltip: labels.WorkspaceNavJobs}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var386), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var367), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var385), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 354, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 374, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var370 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var388 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8095,7 +8486,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var371 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var389 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8111,40 +8502,40 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 355, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 375, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var372 string - templ_7745c5c3_Var372, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavSearchSync) + var templ_7745c5c3_Var390 string + templ_7745c5c3_Var390, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavSearchSync) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1431, Col: 42} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1489, Col: 42} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var372)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var390)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 356, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 376, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/search-sync", IsActive: active == "admin-search-sync", Tooltip: labels.WorkspaceNavSearchSync}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var371), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/search-sync", IsActive: active == "admin-search-sync", Tooltip: labels.WorkspaceNavSearchSync}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var389), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var370), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var388), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 357, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 377, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Var373 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var391 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8156,7 +8547,7 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var374 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var392 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8172,44 +8563,44 @@ func workspaceAdminMenu(active string, labels viewmodel.SiteLabels) templ.Compon if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 358, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 378, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var375 string - templ_7745c5c3_Var375, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavCredentials) + var templ_7745c5c3_Var393 string + templ_7745c5c3_Var393, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceNavCredentials) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1437, Col: 43} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1495, Col: 43} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var375)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var393)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 359, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 379, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/ai-credentials", IsActive: active == "admin-credentials", Tooltip: labels.WorkspaceNavCredentials}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var374), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuButton(sidebar.MenuButtonProps{Href: "/admin/ai-credentials", IsActive: active == "admin-credentials", Tooltip: labels.WorkspaceNavCredentials}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var392), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var373), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.MenuItem().Render(templ.WithChildren(ctx, templ_7745c5c3_Var391), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var354), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Menu().Render(templ.WithChildren(ctx, templ_7745c5c3_Var369), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var351), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = sidebar.Group().Render(templ.WithChildren(ctx, templ_7745c5c3_Var366), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8233,17 +8624,17 @@ func VendorTable(rows []viewmodel.VendorRow, labels viewmodel.SiteLabels) templ. }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var376 := templ.GetChildren(ctx) - if templ_7745c5c3_Var376 == nil { - templ_7745c5c3_Var376 = templ.NopComponent + templ_7745c5c3_Var394 := templ.GetChildren(ctx) + if templ_7745c5c3_Var394 == nil { + templ_7745c5c3_Var394 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 360, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 380, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } for _, row := range rows { - templ_7745c5c3_Var377 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var395 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8255,7 +8646,7 @@ func VendorTable(rows []viewmodel.VendorRow, labels viewmodel.SiteLabels) templ. }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Var378 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_Var396 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) if !templ_7745c5c3_IsBuffer { @@ -8267,33 +8658,33 @@ func VendorTable(rows []viewmodel.VendorRow, labels viewmodel.SiteLabels) templ. }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 361, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 381, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var379 string - templ_7745c5c3_Var379, templ_7745c5c3_Err = templ.JoinStringErrs(row.Name) + var templ_7745c5c3_Var397 string + templ_7745c5c3_Var397, templ_7745c5c3_Err = templ.JoinStringErrs(row.Name) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1450, Col: 50} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1508, Col: 50} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var379)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var397)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 362, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 382, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var380 string - templ_7745c5c3_Var380, templ_7745c5c3_Err = templ.JoinStringErrs(row.Category) + var templ_7745c5c3_Var398 string + templ_7745c5c3_Var398, templ_7745c5c3_Err = templ.JoinStringErrs(row.Category) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1451, Col: 61} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1509, Col: 61} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var380)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var398)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 363, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 383, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -8301,50 +8692,50 @@ func VendorTable(rows []viewmodel.VendorRow, labels viewmodel.SiteLabels) templ. if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 364, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 384, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var381 string - templ_7745c5c3_Var381, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceListingRate) + var templ_7745c5c3_Var399 string + templ_7745c5c3_Var399, templ_7745c5c3_Err = templ.JoinStringErrs(labels.WorkspaceListingRate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1455, Col: 81} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1513, Col: 81} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var381)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var399)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 365, " ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 385, " ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - var templ_7745c5c3_Var382 string - templ_7745c5c3_Var382, templ_7745c5c3_Err = templ.JoinStringErrs(row.ListingRate) + var templ_7745c5c3_Var400 string + templ_7745c5c3_Var400, templ_7745c5c3_Err = templ.JoinStringErrs(row.ListingRate) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1455, Col: 101} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/ui/pages/workspaces.templ`, Line: 1513, Col: 101} } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var382)) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var400)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 366, "

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 386, "

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-center justify-between gap-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var378), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Content(card.ContentProps{Class: "flex items-center justify-between gap-4 p-5"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var396), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } return nil }) - templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var377), templ_7745c5c3_Buffer) + templ_7745c5c3_Err = card.Card(card.Props{Class: "rounded-2xl"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var395), templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 367, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 387, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/ui/viewmodel/labels.go b/internal/ui/viewmodel/labels.go index cb9b7f1..0d8dfc6 100644 --- a/internal/ui/viewmodel/labels.go +++ b/internal/ui/viewmodel/labels.go @@ -7,9 +7,10 @@ type SiteLabels struct { NavHome, NavSearch, NavAssistant, NavCart, NavPanel, NavSellerPanel, NavAdminPanel, NavAccount string NavSeller, NavOrders, NavStudio, NavAdmin, NavModeration string NavStore, NavWorkspace, NavDiscover, NavThemeToggle, NavChangeTheme string - TryOnRoomCTA, TryOnWearCTA, TryOnAccessoryCTA string - TryOnTrustLine string - NavMenu string + TryOnRoomCTA, TryOnWearCTA, TryOnAccessoryCTA string + TryOnRoomMode, TryOnWearMode, TryOnAccessoryMode string + TryOnTrustLine string + NavMenu string // Site SiteName, SiteTagline string @@ -157,34 +158,35 @@ type SiteLabels struct { SuccessCTAOrders, SuccessCTAContinue, SuccessCTAAssistant string // Assistant - AssistantConversations, AssistantNewChat, AssistantSearch string - AssistantFilterAll, AssistantFilterStarred, AssistantEmpty, AssistantEmptyDesc, AssistantEmptyCTA string - AssistantGroupToday, AssistantGroupYesterday, AssistantGroupLast7, AssistantGroupOlder string - AssistantActionPin, AssistantActionStar, AssistantActionShare, AssistantActionArchive, AssistantActionDelete string - AssistantThreadAI, AssistantThreadUser, AssistantThreadCited string - AssistantThreadPlaceholder, AssistantThreadAttach, AssistantThreadSend, AssistantThreadStreaming string - AssistantLandingTitle, AssistantLandingBody, AssistantThreadThinking string - AssistantQuickProduct, AssistantQuickOutfit, AssistantQuickRoom, AssistantQuickGift string - AssistantSellerLandingTitle, AssistantSellerLandingBody string - AssistantSellerQuickQueue, AssistantSellerQuickBlocked, AssistantSellerQuickReply, AssistantSellerQuickShip string - AssistantAdminLandingTitle, AssistantAdminLandingBody string - AssistantAdminQuickOverview, AssistantAdminQuickFailures, AssistantAdminQuickModeration string - AssistantAdminQuickSearchSync string - AssistantThreadOrderContext, AssistantOrderOpen, AssistantOrderRecent, AssistantOrderTrackingMissing string - AssistantSellerActionNeeded, AssistantSellerNextStep, AssistantSellerBlocked, AssistantSellerReplyDraft string - AssistantSellerReadyToShip, AssistantSellerShipmentInProgress, AssistantSellerPaymentBlocked string - AssistantSellerReviewNeeded string - AssistantApprovalPending, AssistantApprovalApproved, AssistantApprovalRejected string - AssistantApprovalExpired, AssistantApprovalFailed, AssistantApprovalWarning string - AssistantSidebarGuestHint, AssistantFailureTitle, AssistantFailureBody, AssistantRetry string - AssistantCopied, AssistantFeedbackSaved, AssistantFeedbackPositive, AssistantFeedbackNegative string - AssistantSharedTitle, AssistantSharedBody string - AssistantShareCopy, AssistantShareCreate, AssistantShareDisable string - AssistantShareCopied, AssistantShareDisabled string - AssistantShareUnavailable, AssistantShareFailed string + AssistantConversations, AssistantNewChat, AssistantSearch string + AssistantFilterAll, AssistantFilterStarred, AssistantEmpty, AssistantEmptyDesc, AssistantEmptyCTA string + AssistantGroupToday, AssistantGroupYesterday, AssistantGroupLast7, AssistantGroupOlder string + AssistantActionPin, AssistantActionStar, AssistantActionShare, AssistantActionArchive, AssistantActionDelete string + AssistantThreadAI, AssistantThreadUser, AssistantThreadCited string + AssistantThreadPlaceholder, AssistantThreadAttach, AssistantThreadSend, AssistantThreadStreaming string + AssistantLandingTitle, AssistantLandingBody, AssistantThreadThinking string + AssistantQuickProduct, AssistantQuickOutfit, AssistantQuickRoom, AssistantQuickGift string + AssistantSellerLandingTitle, AssistantSellerLandingBody string + AssistantSellerQuickQueue, AssistantSellerQuickBlocked, AssistantSellerQuickReply, AssistantSellerQuickShip string + AssistantAdminLandingTitle, AssistantAdminLandingBody string + AssistantAdminQuickOverview, AssistantAdminQuickFailures, AssistantAdminQuickModeration string + AssistantAdminQuickSearchSync string + AssistantThreadOrderContext, AssistantOrderOpen, AssistantOrderRecent, AssistantOrderTrackingMissing string + AssistantSellerActionNeeded, AssistantSellerNextStep, AssistantSellerBlocked, AssistantSellerReplyDraft string + AssistantSellerReadyToShip, AssistantSellerShipmentInProgress, AssistantSellerPaymentBlocked string + AssistantSellerReviewNeeded string + AssistantApprovalPending, AssistantApprovalApproved, AssistantApprovalRejected string + AssistantApprovalExpired, AssistantApprovalFailed, AssistantApprovalWarning string + AssistantSidebarGuestHint, AssistantFailureTitle, AssistantFailureBody, AssistantRetry string + AssistantCopied, AssistantFeedbackSaved, AssistantFeedbackPositive, AssistantFeedbackNegative string + AssistantSharedTitle, AssistantSharedBody string + AssistantShareCopy, AssistantShareCreate, AssistantShareDisable string + AssistantShareCopied, AssistantShareDisabled string + AssistantShareUnavailable, AssistantShareFailed string + AssistantChangeSummaryOne, AssistantChangeSummaryTwo, AssistantChangeSummaryThree, AssistantChangeSummaryMany string // Auth - + AuthLoginTitle, AuthLoginDesc, AuthRegisterTitle, AuthRegisterDesc string AuthHeroEyebrow, AuthHeroTitle, AuthHeroBody string AuthFeatureAssistant, AuthFeatureSearch, AuthFeatureSecurity string @@ -223,13 +225,14 @@ type SiteLabels struct { WorkspaceAdminSystemSignals, WorkspaceAdminSystemSignalsBody, WorkspaceAdminVendorHealth, WorkspaceAdminVendorHealthBody string WorkspaceAdminSearchSyncBody, WorkspaceAdminAILogsBody, WorkspaceAdminCredentialsBody, WorkspaceAdminModerationBody string WorkspaceAdminModerationEmptyTitle, WorkspaceAdminModerationEmptyBody, WorkspaceAdminVendorsEmptyTitle, WorkspaceAdminVendorsEmptyBody string + WorkspaceAdminProducts, WorkspaceAdminProductsBody, WorkspaceAdminProductsEmptyTitle, WorkspaceAdminProductsEmptyBody string WorkspaceTableOrder, WorkspaceTableCustomer, WorkspaceTableProduct, WorkspaceTableDate, WorkspaceTableAmount, WorkspaceTableStatus string WorkspaceModerationTitle, WorkspaceModerationReason, WorkspaceModerationUpdate string WorkspaceAILogs, WorkspaceAILogsEmpty, WorkspaceAILogsRecent, WorkspaceAILogsFailures string WorkspaceAILogsAvgLatency, WorkspaceAILogsRequest, WorkspaceAILogsResponse string WorkspaceAILogsProvider, WorkspaceAILogsOperation, WorkspaceAILogsJob, WorkspaceAILogsLatency string - WorkspaceAILogsFilterAll, WorkspaceAILogsFilterTripo3D string - WorkspaceAILogsStatus, WorkspaceAILogsQuery, WorkspaceAILogsDetail, WorkspaceAILogsRelatedJob string + WorkspaceAILogsFilterAll, WorkspaceAILogsFilterSuccess, WorkspaceAILogsFilterTripo3D string + WorkspaceAILogsStatus, WorkspaceAILogsQuery, WorkspaceAILogsDetail, WorkspaceAILogsRelatedJob, WorkspaceAILogsQueryPlaceholder string WorkspaceJobs, WorkspaceJobsOverview, WorkspaceJobsEmpty, WorkspaceJobsDetail string WorkspaceJobsQueued, WorkspaceJobsProcessing, WorkspaceJobsCompleted, WorkspaceJobsFailed, WorkspaceJobsCancelled string WorkspaceJobsRetryScheduled, WorkspaceJobsRetryExhausted, WorkspaceJobsKind, WorkspaceJobsAttempts, WorkspaceJobsRetry string @@ -241,7 +244,7 @@ type SiteLabels struct { WorkspaceSearchSyncDuration, WorkspaceSearchSyncCurrentJobs, WorkspaceSearchSyncRecentAttempts string WorkspaceSearchSyncOverview, WorkspaceSearchSyncSlugFilter, WorkspaceSearchSyncStorageWarning, WorkspaceSearchSyncStorageWarningBody string WorkspaceNavSellerGroup, WorkspaceNavDashboard, WorkspaceNavOrders, WorkspaceNavReviews, WorkspaceNavImageStudio, WorkspaceNavPricing, WorkspaceNavProducts string - WorkspaceNavAdminGroup, WorkspaceNavAdminHome, WorkspaceNavModeration, WorkspaceNavAILogs, WorkspaceNavJobs, WorkspaceNavSearchSync, WorkspaceNavCredentials string + WorkspaceNavAdminGroup, WorkspaceNavAdminHome, WorkspaceNavModeration, WorkspaceNavAILogs, WorkspaceNavJobs, WorkspaceNavSearchSync, WorkspaceNavCredentials, WorkspaceNavCatalog string WorkspaceReviewAnalytics, WorkspaceHeaderReviewAnalytics, WorkspaceReviewAnalyticsDesc string // Review Analytics ReviewAnalyticsSentimentScore, ReviewAnalyticsAnalyzedReviews, ReviewAnalyticsPositive, ReviewAnalyticsNeutral, ReviewAnalyticsNegative string @@ -287,6 +290,7 @@ type SiteLabels struct { // AI Credentials Admin NavCredentials, WorkspaceCredentials, WorkspaceHeaderCredentials string + CredentialsMetricTotalRecords, CredentialsMetricDegraded string CredentialsTableID, CredentialsTableEnvironment, CredentialsTableProvider, CredentialsTablePurpose string CredentialsTableStatus, CredentialsTableValidated, CredentialsTableLastError string CredentialsTableCreated, CredentialsTableUpdated, CredentialsTableRuntimeStatus, CredentialsTablePriority, CredentialsTableHourlyLimit, CredentialsTableDailyLimit string @@ -299,15 +303,21 @@ type SiteLabels struct { CredentialsProviderRemoveBG string CredentialsPurposeAPIKey, CredentialsPurposeVision, CredentialsPurposeEmbedding, CredentialsPurposeSearch, CredentialsPurposePreview, CredentialsPurposeChat string CredentialsPurposeImageTo3D, CredentialsPurposeVirtualTryOn, CredentialsPurposeReviewSummarization, CredentialsPurposeSearchAnalyze string - CredentialsDisable string + CredentialsDisable, CredentialsSecretRequired string + + // Admin products + AdminProducts3DStatus, AdminProductsOpenStorefront, AdminProductsViewJobs, AdminProductsViewAILogs, AdminProductsDetailTitle, AdminProductsDetailSubtitle string + AdminProducts3DForceRegenerate, AdminProducts3DNotStarted, AdminProducts3DStatusBlocked, AdminProducts3DStatusUnavailable string + AdminProducts3DBlockedStatus, AdminProducts3DBlockedImage string // Status StatusDelivered, StatusInTransit, StatusProcessing, StatusCancelled string StatusReady, StatusActive, StatusPending, StatusPreparing, StatusError, StatusRejected string - StatusPaid, StatusUnfulfilled string + StatusPaid, StatusUnfulfilled, StatusDisabled, StatusCooldown string + StatusAuthFailed, StatusManuallyDisabled string // Footer - FooterTagline, FooterDiscover, FooterSearch, FooterAssistant string + FooterTagline, FooterDiscover, FooterSearch, FooterAssistant, WorkspaceFooterBrand string // Preview PreviewPreparing, PreviewRoomTitle, PreviewRoomBody, PreviewRoomUpload, PreviewRoomUploadHint, PreviewRoomAcceptedTypes string @@ -341,7 +351,8 @@ type SiteLabels struct { ProductFormValidationTitle, ProductFormValidationBody string ProductFormErrorTitleRequired, ProductFormErrorCategoryRequired string ProductFormErrorPriceRequired, ProductFormErrorImageRequired string - CommonAdd string + ProductFormPublishedToModeration, ProductFormCreatedAIQueued string + CommonAdd, CommonUploadFailed string // Seller image studio ImageStudioTitle, ImageStudioDesc, ImageStudioUploadTitle, ImageStudioUploadBody string diff --git a/internal/ui/viewmodel/models.go b/internal/ui/viewmodel/models.go index 16e3ab2..d4f3703 100644 --- a/internal/ui/viewmodel/models.go +++ b/internal/ui/viewmodel/models.go @@ -669,6 +669,33 @@ type AdminModerationPage struct { AssistantURL string } +type AdminProductListRow struct { + Slug string + Title string + Vendor string + Category string + ImageURL string + Price string + SellerID string + SellerEmail string + Status string + Model3DStatus string + Model3DStatusTone string + UpdatedAt string + DetailURL string +} + +type AdminProductListPage struct { + Products []AdminProductListRow + Query string + Status string + StatusFilters []NavItem + FilterActionURL string + ClearURL string + Pagination SearchSyncPagination + AssistantURL string +} + type SearchSyncJobRow struct { ProductSlug string Action string @@ -794,6 +821,52 @@ type AdminModerationDetailPage struct { ValidationError string } +type AdminProductDetailPage struct { + ProductSlug string + Title string + Vendor string + Category string + Price string + CompareAt string + Status string + SellerID string + SellerEmail string + CreatedAt string + UpdatedAt string + ModeratedAt string + ModerationReason string + Description string + Highlights []string + Tags []string + Colors []string + Keywords []string + MetaTitle string + MetaDescription string + Size string + Material string + Style string + Gallery []ProductImageAsset + BackURL string + ProductURL string + SearchSyncStatus string + SearchSyncError string + SearchSyncUpdated string + SearchSyncURL string + Model3D Product3DAsset + Model3DPostURL string + Model3DForceURL string + Model3DJobsURL string + Model3DLogsURL string + Model3DDisabledReason string + CanStartModel3D bool + CanForceModel3D bool + ApproveURL string + RejectURL string + CanApprove bool + CanReject bool + ValidationError string +} + type PricingDashboard struct { Metrics []MetricCard StrategyTitle string