@akasecurity/cli 0.8.1 → 0.9.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/cli.js +2353 -1293
- package/package.json +12 -6
- package/web-ui/packages/dashboard-ui/package.json +1 -1
- package/web-ui/packages/detections/package.json +2 -2
- package/web-ui/packages/local-ops/package.json +3 -2
- package/web-ui/packages/persistence/package.json +2 -2
- package/web-ui/packages/plugin-sdk/package.json +29 -0
- package/web-ui/packages/schema/package.json +2 -2
- package/web-ui/rules/code-flaws/auth-jwt-no-verify.json +20 -0
- package/web-ui/rules/code-flaws/auth-ssl-verify-false.json +19 -0
- package/web-ui/rules/code-flaws/cmd-inject-exec.json +20 -0
- package/web-ui/rules/code-flaws/cmd-inject-node-exec.json +20 -0
- package/web-ui/rules/code-flaws/cmd-inject-shell.json +20 -0
- package/web-ui/rules/code-flaws/crypto-insecure-random.json +20 -0
- package/web-ui/rules/code-flaws/crypto-weak-hash-md5.json +16 -0
- package/web-ui/rules/code-flaws/crypto-weak-hash-sha1.json +23 -0
- package/web-ui/rules/code-flaws/deser-java-ois.json +22 -0
- package/web-ui/rules/code-flaws/deser-pickle.json +16 -0
- package/web-ui/rules/code-flaws/deser-yaml-unsafe.json +16 -0
- package/web-ui/rules/code-flaws/dev-debug-enabled.json +13 -0
- package/web-ui/rules/code-flaws/dev-placeholder-secret.json +24 -0
- package/web-ui/rules/code-flaws/dev-wildcard-cors.json +17 -0
- package/web-ui/rules/code-flaws/eval-dynamic-exec.json +17 -0
- package/web-ui/rules/code-flaws/hardcoded-password.json +23 -0
- package/web-ui/rules/code-flaws/hardcoded-secret-key.json +17 -0
- package/web-ui/rules/code-flaws/path-traversal-join.json +19 -0
- package/web-ui/rules/code-flaws/path-traversal-open.json +20 -0
- package/web-ui/rules/code-flaws/prototype-pollution-merge.json +16 -0
- package/web-ui/rules/code-flaws/regex-redos-backtrack.json +13 -0
- package/web-ui/rules/code-flaws/sql-inject-concat-dot.json +16 -0
- package/web-ui/rules/code-flaws/sql-inject-concat.json +13 -0
- package/web-ui/rules/code-flaws/sql-inject-format.json +16 -0
- package/web-ui/rules/code-flaws/sql-inject-interp.json +19 -0
- package/web-ui/rules/code-flaws/ssrf-user-url.json +16 -0
- package/web-ui/rules/code-flaws/xss-dangerously-set.json +16 -0
- package/web-ui/rules/code-flaws/xss-inner-html.json +16 -0
- package/web-ui/rules/code-flaws/xss-unescaped-render.json +16 -0
- package/web-ui/rules/core-code-context/db-table-name.json +29 -0
- package/web-ui/rules/core-code-context/feature-flag.json +24 -0
- package/web-ui/rules/core-code-context/file-path.json +17 -0
- package/web-ui/rules/core-code-context/internal-domain.json +13 -0
- package/web-ui/rules/core-code-context/internal-ip.json +13 -0
- package/web-ui/rules/core-code-context/internal-url.json +27 -0
- package/web-ui/rules/core-code-context/localhost-ref.json +13 -0
- package/web-ui/rules/core-code-context/stack-trace.json +13 -0
- package/web-ui/rules/core-financial/credit-card.json +14 -0
- package/web-ui/rules/core-financial/cusip.json +14 -0
- package/web-ui/rules/core-financial/cvv.json +13 -0
- package/web-ui/rules/core-financial/iban.json +17 -0
- package/web-ui/rules/core-financial/paypal.json +14 -0
- package/web-ui/rules/core-financial/routing-number.json +14 -0
- package/web-ui/rules/core-financial/salary.json +23 -0
- package/web-ui/rules/core-financial/swift.json +14 -0
- package/web-ui/rules/core-phi/biometric-ref.json +23 -0
- package/web-ui/rules/core-phi/genetic-data.json +24 -0
- package/web-ui/rules/core-phi/group-id.json +19 -0
- package/web-ui/rules/core-phi/hipaa-identifier.json +13 -0
- package/web-ui/rules/core-phi/icd10-code.json +14 -0
- package/web-ui/rules/core-phi/member-id.json +13 -0
- package/web-ui/rules/core-phi/mrn.json +13 -0
- package/web-ui/rules/core-phi/ndc-code.json +13 -0
- package/web-ui/rules/core-pii/dob.json +18 -0
- package/web-ui/rules/core-pii/drivers-license-us.json +14 -0
- package/web-ui/rules/core-pii/email.json +13 -0
- package/web-ui/rules/core-pii/home-address.json +21 -0
- package/web-ui/rules/core-pii/ip-address.json +13 -0
- package/web-ui/rules/core-pii/mac-address.json +13 -0
- package/web-ui/rules/core-pii/name.json +21 -0
- package/web-ui/rules/core-pii/national-id.json +27 -0
- package/web-ui/rules/core-pii/passport-us.json +17 -0
- package/web-ui/rules/core-pii/phone-intl.json +13 -0
- package/web-ui/rules/core-pii/phone-us.json +17 -0
- package/web-ui/rules/core-pii/ssn.json +13 -0
- package/web-ui/rules/core-pii/vin.json +13 -0
- package/web-ui/rules/core-pii/zip.json +30 -0
- package/web-ui/rules/secrets/anthropic-api-key.json +14 -0
- package/web-ui/rules/secrets/aws-access-key.json +14 -0
- package/web-ui/rules/secrets/aws-secret-key.json +15 -0
- package/web-ui/rules/secrets/azure-connection-string.json +13 -0
- package/web-ui/rules/secrets/cloudflare-api-key.json +15 -0
- package/web-ui/rules/secrets/datadog-key.json +15 -0
- package/web-ui/rules/secrets/digitalocean-token.json +13 -0
- package/web-ui/rules/secrets/discord-token.json +14 -0
- package/web-ui/rules/secrets/gcp-service-account.json +16 -0
- package/web-ui/rules/secrets/github-pat.json +16 -0
- package/web-ui/rules/secrets/gitlab-token.json +14 -0
- package/web-ui/rules/secrets/heroku-api-key.json +14 -0
- package/web-ui/rules/secrets/npm-token.json +14 -0
- package/web-ui/rules/secrets/openai-api-key.json +14 -0
- package/web-ui/rules/secrets/pulumi-access-token.json +14 -0
- package/web-ui/rules/secrets/sendgrid-key.json +14 -0
- package/web-ui/rules/secrets/slack-token.json +13 -0
- package/web-ui/rules/secrets/stripe-live-key.json +14 -0
- package/web-ui/rules/secrets/terraform-cloud-token.json +16 -0
- package/web-ui/rules/secrets/twilio-key.json +13 -0
- package/web-ui/rules/secrets/vault-token.json +14 -0
- package/web-ui/rules/secrets-infra/api-key-header.json +15 -0
- package/web-ui/rules/secrets-infra/basic-auth-header.json +13 -0
- package/web-ui/rules/secrets-infra/basic-auth-url.json +13 -0
- package/web-ui/rules/secrets-infra/bearer-token.json +17 -0
- package/web-ui/rules/secrets-infra/db-connection-string.json +13 -0
- package/web-ui/rules/secrets-infra/docker-config-auth.json +13 -0
- package/web-ui/rules/secrets-infra/env-key-value.json +14 -0
- package/web-ui/rules/secrets-infra/generic-high-entropy-secret.json +18 -0
- package/web-ui/rules/secrets-infra/jwt-token.json +16 -0
- package/web-ui/rules/secrets-infra/kubeconfig-token.json +14 -0
- package/web-ui/rules/secrets-infra/password-field.json +14 -0
- package/web-ui/rules/secrets-infra/pgp-private-key.json +15 -0
- package/web-ui/rules/secrets-infra/ssh-private-key.json +15 -0
- package/web-ui/web-ui/.next/BUILD_ID +1 -1
- package/web-ui/web-ui/.next/app-build-manifest.json +56 -55
- package/web-ui/web-ui/.next/app-path-routes-manifest.json +6 -6
- package/web-ui/web-ui/.next/build-manifest.json +2 -2
- package/web-ui/web-ui/.next/prerender-manifest.json +15 -15
- package/web-ui/web-ui/.next/required-server-files.json +4 -3
- package/web-ui/web-ui/.next/server/app/(app)/activity/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/activity/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/detections/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/detections/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/detections/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/findings/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/findings/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/findings/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/policies/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/policies/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/policies/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/scan/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/scan/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/scan/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/security/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/security/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/security/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/settings/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/settings/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/updates/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/updates/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/updates/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found.html +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found.rsc +2 -2
- package/web-ui/web-ui/.next/server/app/index.html +1 -1
- package/web-ui/web-ui/.next/server/app/index.rsc +2 -2
- package/web-ui/web-ui/.next/server/app/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app-paths-manifest.json +6 -6
- package/web-ui/web-ui/.next/server/chunks/366.js +582 -0
- package/web-ui/web-ui/.next/server/chunks/45.js +1 -1
- package/web-ui/web-ui/.next/server/chunks/461.js +5 -5
- package/web-ui/web-ui/.next/server/chunks/484.js +580 -0
- package/web-ui/web-ui/.next/server/chunks/773.js +4 -4
- package/web-ui/web-ui/.next/server/chunks/900.js +1 -0
- package/web-ui/web-ui/.next/server/chunks/918.js +2 -0
- package/web-ui/web-ui/.next/server/functions-config-manifest.json +5 -5
- package/web-ui/web-ui/.next/server/middleware-manifest.json +5 -5
- package/web-ui/web-ui/.next/server/pages/404.html +1 -1
- package/web-ui/web-ui/.next/server/pages/500.html +1 -1
- package/web-ui/web-ui/.next/server/server-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/server-reference-manifest.json +1 -1
- package/web-ui/web-ui/.next/static/chunks/{24-b20c857178647805.js → 24-55b96836aea5ce23.js} +3 -3
- package/web-ui/web-ui/.next/static/chunks/561-c3388f066f813e17.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/activity/page-0c208c8b275a69ac.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/data-shares/page-041187c76bd42461.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/detections/page-481fedcbfb474cef.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/[id]/page-a20e7d7a2f0ad507.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/new/page-2cfe42c3dd4833c3.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/page-849d66cc2cd77cb6.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/findings/page-d33f3999e89c7e77.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/inventory/page-76edd10592ba3cb1.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/layout-d15081016f40ac92.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/scan/page-50b604f229747240.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/settings/page-92d1086c8e8ed3bf.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/updates/{page-b9607b5e2e8700d6.js → page-c3c1671d32547619.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/{layout-8b19b03146218dc7.js → layout-40fea3e270a8e120.js} +1 -1
- package/web-ui/web-ui/.next/static/css/43f95c94ecc1bd17.css +2 -0
- package/web-ui/web-ui/package.json +1 -1
- package/web-ui/web-ui/server.js +1 -1
- package/LICENSE +0 -201
- package/web-ui/web-ui/.next/server/chunks/116.js +0 -536
- package/web-ui/web-ui/.next/server/chunks/223.js +0 -534
- package/web-ui/web-ui/.next/server/chunks/226.js +0 -2
- package/web-ui/web-ui/.next/server/chunks/640.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/561-3a19cd28d2b941fa.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/activity/page-f6b1b344709ee48e.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/data-shares/page-548fa0d3dee6e829.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/detections/page-0bfa1f371b65b5ad.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/[id]/page-56ec5c05f347108a.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/new/page-cb33dc32fd3648bf.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/page-b6fbc540ef0a50f8.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/findings/page-94eb9d838ae00222.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/inventory/page-89cf3ac5a30e76a0.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/layout-a86819fe3aeb2491.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/scan/page-0d43a6b2acafe349.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/settings/page-2cf02a09402cfb4d.js +0 -1
- package/web-ui/web-ui/.next/static/css/69dfaec5234c6b99.css +0 -2
- /package/web-ui/web-ui/.next/static/{X9C7-HlMI5zAQEKfIW_6e → unUYwnPVSRwxtrUFgSAxr}/_buildManifest.js +0 -0
- /package/web-ui/web-ui/.next/static/{X9C7-HlMI5zAQEKfIW_6e → unUYwnPVSRwxtrUFgSAxr}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=45,exports.ids=[45],exports.modules={7756:(a,b,c)=>{c.d(b,{AssetDetail:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call AssetDetail() from the server but AssetDetail is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/AssetDetail.tsx","AssetDetail")},12588:(a,b,c)=>{c.d(b,{DetectionDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call DetectionDetailView() from the server but DetectionDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/DetectionDetailView.tsx","DetectionDetailView")},15125:(a,b,c)=>{c.d(b,{PolicyPicker:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call PolicyPicker() from the server but PolicyPicker is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/PolicyPicker.tsx","PolicyPicker")},17879:(a,b,c)=>{c.d(b,{BlockedWindowSelect:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call BlockedWindowSelect() from the server but BlockedWindowSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/BlockedWindowSelect.tsx","BlockedWindowSelect")},18060:(a,b,c)=>{c.d(b,{ExceptionDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ExceptionDetailView() from the server but ExceptionDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/ExceptionDetailView.tsx","ExceptionDetailView")},19167:(a,b,c)=>{c.d(b,{ColumnsMenu:()=>f,FindingsToolbarView:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call FindingsToolbarView() from the server but FindingsToolbarView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingsToolbarView.tsx","FindingsToolbarView"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ColumnsMenu() from the server but ColumnsMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingsToolbarView.tsx","ColumnsMenu")},23137:(a,b,c)=>{c.d(b,{UpdateStatusCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call UpdateStatusCardView() from the server but UpdateStatusCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/updates/UpdateStatusCardView.tsx","UpdateStatusCardView")},28045:(a,b,c)=>{c.d(b,{nk:()=>ac,rD:()=>ad.ActivityTokenUsageView,Dr:()=>l,DQ:()=>X,cZ:()=>U,sp:()=>i,ah:()=>al,_G:()=>M,Lg:()=>an,oU:()=>ao.MttrTrendCardView,ec:()=>p,fc:()=>ae.PolicyStatsView,c2:()=>ap,Ry:()=>av,hU:()=>aw,Zu:()=>Q,Tk:()=>Z,fi:()=>h,k3:()=>W,XT:()=>ax,sV:()=>au,oB:()=>k,KW:()=>g,pi:()=>m,tw:()=>ag});let d={primary:"var(--color-primary)",ok:"var(--color-ok)",sevCritical:"var(--color-sev-critical)",sevHigh:"var(--color-sev-high)",sevMedium:"var(--color-sev-medium)",sevLow:"var(--color-sev-low)"},e=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),f=[["year",31536e3],["month",2592e3],["week",604800],["day",86400],["hour",3600],["minute",60]];function g(a){if(!a)return"";let b=Date.parse(a);if(Number.isNaN(b))return"";let c=(b-Date.now())/1e3,d=Math.abs(c);if(d<45)return"just now";for(let[a,b]of f)if(d>=b)return e.format(Math.round(c/b),a);return"just now"}let h=[{value:"7d",label:"Last 7 days"},{value:"30d",label:"Last 30 days"},{value:"3m",label:"Last 3 months"},{value:"6m",label:"Last 6 months"}],i="30d",j={"7d":7,"30d":30,"3m":90,"6m":180};function k(a,b=Date.now()){return new Date(b-864e5*j[a]).toISOString()}let l={"30m":18e5,"1h":36e5,"4h":144e5,"24h":864e5};function m(a){return void 0!==a&&Object.hasOwn(l,a)?a:"30m"}var n=c(76519),o=c(22881);function p({title:a,sub:b,actions:c}){return(0,o.jsxs)("div",{className:"flex items-start justify-between gap-4 pb-6",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h1",{className:"font-display text-2xl font-semibold text-text",children:a}),b&&(0,o.jsx)("p",{className:"mt-1 text-sm text-text-3",children:b})]}),c&&(0,o.jsx)("div",{className:"flex shrink-0 items-center gap-2",children:c})]})}let q={claudecode:{label:"Claude Code",short:"CC",color:"#C96442"},claudedesktop:{label:"Claude Desktop",short:"CD",color:"#A8553A"},cursor:{label:"Cursor",short:"Cu",color:"#252F3D"},windsurf:{label:"Windsurf",short:"Wf",color:"#0B8F7B"},codex:{label:"Codex CLI",short:"Cx",color:"#10A37F"},copilot:{label:"GitHub Copilot",short:"Co",color:"#0581D4"},chatgpt:{label:"ChatGPT",short:"GP",color:"#0d8f6f"},api:{label:"Anthropic API",short:"AP",color:"#6058E9"}};function r({id:a,size:b=24}){let c=q[a];return(0,o.jsx)("span",{className:"flex shrink-0 items-center justify-center rounded-lg font-display font-bold text-white",style:{width:b,height:b,background:c.color,fontSize:.36*b},children:c.short})}var s=c(55889),t=c(3931);let u=(0,c(61311).zu)({extend:{classGroups:{"font-size":[{text:["ui","label"]}]}}});function v(...a){return u((0,t.$)(a))}function w({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card",className:v("rounded-xl border border-border bg-surface",a),...b})}function x({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-header",className:v("flex items-center gap-3 px-5 pt-5",a),...b})}function y({className:a,...b}){return(0,o.jsx)("span",{"data-slot":"card-icon",className:v("flex size-7.5 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-text-2",a),...b})}function z({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-heading",className:v("min-w-0",a),...b})}function A({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-title",className:v("text-sm font-semibold text-text",a),...b})}function B({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-description",className:v("text-xs text-text-3",a),...b})}function C({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-action",className:v("ml-auto flex items-center",a),...b})}function D({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-content",className:v("p-5",a),...b})}(0,s.F)("inline-flex items-center gap-1.5 whitespace-nowrap rounded-full px-2 py-0.5 text-xs font-semibold",{variants:{variant:{default:"bg-surface-3 text-text-2",outline:"border border-border text-text-2",critical:"bg-sev-critical-fill text-sev-critical",high:"bg-sev-high-fill text-sev-high",medium:"bg-sev-medium-fill text-sev-medium",low:"bg-sev-low-fill text-sev-low",success:"bg-ok-fill text-ok",teal:"bg-teal-fill text-teal",primary:"bg-primary-tint text-primary"}},defaultVariants:{variant:"default"}}),(0,s.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium transition-colors cursor-pointer disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{solid:"",outline:"border",ghost:"",link:""},tone:{primary:"",neutral:"",danger:""},size:{sm:"h-8 px-3 text-xs",md:"h-9 px-4 text-sm",icon:"size-9"}},compoundVariants:[{variant:"solid",tone:"primary",class:"bg-primary text-text-inv hover:bg-primary-hover"},{variant:"solid",tone:"neutral",class:"bg-surface-3 text-text hover:bg-border-strong"},{variant:"solid",tone:"danger",class:"bg-sev-critical text-text-inv hover:bg-sev-critical-hover"},{variant:"outline",tone:"primary",class:"border-primary text-primary hover:bg-primary-tint"},{variant:"outline",tone:"neutral",class:"border-border bg-surface text-text hover:bg-surface-2"},{variant:"outline",tone:"danger",class:"border-sev-critical text-sev-critical hover:bg-sev-critical-fill"},{variant:"ghost",tone:"primary",class:"text-primary hover:bg-primary-tint"},{variant:"ghost",tone:"neutral",class:"text-text-2 hover:bg-surface-2 hover:text-text"},{variant:"ghost",tone:"danger",class:"text-sev-critical hover:bg-sev-critical-fill"},{variant:"link",class:"h-auto gap-1 rounded-sm p-0 align-baseline font-semibold underline-offset-4 [&_svg]:size-3.5"},{variant:"link",tone:"primary",class:"text-primary hover:underline"},{variant:"link",tone:"neutral",class:"text-text-2 hover:text-text hover:underline"},{variant:"link",tone:"danger",class:"text-sev-critical hover:underline"}],defaultVariants:{variant:"solid",tone:"neutral",size:"md"}});var E=c(59869);E.Root,E.Trigger,E.Close;var F=c(23726);function G({value:a,max:b,color:c,height:d=8,className:e,style:f,...g}){let h=Math.min(b,Math.max(0,a)),i=b>0?h/b*100:0;return(0,o.jsx)("span",{"data-slot":"meter",role:"meter","aria-valuenow":h,"aria-valuemin":0,"aria-valuemax":b,className:v("block flex-1 overflow-hidden rounded-full bg-surface-3",e),style:{height:d,...f},...g,children:(0,o.jsx)("span",{className:"block h-full rounded-full",style:{width:`${String(i)}%`,background:c}})})}F.Root,F.Trigger,F.Group,F.RadioGroup;var H=c(11892);H.Root,H.Trigger,H.Close,H.Anchor;var I=c(21069);function J({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"skeleton","aria-hidden":!0,className:v("animate-pulse rounded-md bg-surface-3",a),...b})}I.Root,I.Group,I.Value,E.Root,E.Trigger,E.Close;let K={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},L=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M8 2.5h8L21.5 8v8L16 21.5H8L2.5 16V8L8 2.5Z"}),(0,o.jsx)("path",{d:"M12 8v4"}),(0,o.jsx)("circle",{cx:"12",cy:"16",r:"1",fill:"currentColor",stroke:"none"})]}),M=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M14 4h6v6"}),(0,o.jsx)("path",{d:"M20 4 11 13"}),(0,o.jsx)("path",{d:"M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4"})]}),N=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M12 19V5M6 11l6-6 6 6"})}),O=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M12 5v14M6 13l6 6 6-6"})}),P=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M4 20V10M10 20V4M16 20v-7M22 20H2"})}),Q=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M12 3 4.5 6v5.5c0 4.6 3.2 7.6 7.5 9 4.3-1.4 7.5-4.4 7.5-9V6L12 3Z"}),(0,o.jsx)("path",{d:"m9 12 2 2 4-4"})]}),R=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"8.5"}),(0,o.jsx)("circle",{cx:"12",cy:"12",r:"4.5"}),(0,o.jsx)("circle",{cx:"12",cy:"12",r:"1",fill:"currentColor",stroke:"none"})]}),S=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"8",r:"3.6"}),(0,o.jsx)("path",{d:"M5.5 20a6.5 6.5 0 0 1 13 0"})]}),T=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M6 8.4v7.2"}),(0,o.jsx)("circle",{cx:"6",cy:"6",r:"2.4"}),(0,o.jsx)("circle",{cx:"6",cy:"18",r:"2.4"}),(0,o.jsx)("circle",{cx:"18",cy:"7",r:"2.4"}),(0,o.jsx)("path",{d:"M18 9.4a8.6 8.6 0 0 1-8.6 8.6"})]}),U=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M8 4c-2 0-2 2-2 4s0 3-2 4c2 1 2 2 2 4s0 4 2 4M16 4c2 0 2 2 2 4s0 3 2 4c-2 1-2 2-2 4s0 4-2 4"})}),V=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,o.jsx)("path",{d:"m8.5 12 2.3 2.3 4.7-4.6"})]}),W=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),(0,o.jsx)("path",{d:"m7 9 3 3-3 3M13 15h4"})]}),X=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M13 2 4 14h7l-1 8 9-12h-7l1-8Z"})});function Y({label:a,tone:b="neutral",dir:c}){let d="up"===c?N:"down"===c?O:null;return(0,o.jsxs)("span",{className:v("inline-flex items-center gap-1 text-xs font-semibold","positive"===b?"text-ok":"negative"===b?"text-sev-critical":"text-text-3"),children:[d&&(0,o.jsx)(d,{"aria-hidden":!0,focusable:!1,className:"size-3"}),a]})}function Z({icon:a,iconBg:b,iconColor:c,label:e,value:f,delta:g,spark:h,sparkColor:i,loading:j=!1}){return(0,o.jsxs)(w,{className:"flex flex-col gap-2.5 p-4.5 shadow-sm","aria-busy":j||void 0,children:[(0,o.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,o.jsx)("span",{className:"grid size-8.5 shrink-0 place-items-center rounded-lg",style:{background:b,color:c},children:(0,o.jsx)(a,{"aria-hidden":!0,focusable:!1,className:"size-4.5"})}),(0,o.jsx)("span",{className:"text-ui font-medium text-text-2",children:e})]}),j?(0,o.jsx)(J,{className:"my-1 h-7 w-10"}):(0,o.jsxs)("div",{className:"flex items-end justify-between gap-2",children:[(0,o.jsx)("span",{className:"font-display text-3xl font-semibold leading-none tracking-[-0.03em] text-text",children:f}),g&&(0,o.jsx)(Y,{...g})]}),h&&!j&&(0,o.jsx)("div",{className:"mt-0.5",children:(0,o.jsx)(n.Sparkline,{data:h,color:i??d.primary,height:34})})]})}c(77976);var $=c(30388);function _({message:a}){return(0,o.jsxs)("div",{role:"alert",className:"text-xs text-text-3",children:["Couldn’t load data — ",a]})}function aa({message:a,className:b}){return(0,o.jsx)("div",{className:v("w-full py-6 text-center text-xs text-text-3",b),children:a})}function ab({icon:a,value:b,label:c,text:d,fill:e}){return(0,o.jsxs)("div",{className:"flex flex-1 items-center gap-2.5 px-5",children:[(0,o.jsx)("span",{className:v("grid size-8 shrink-0 place-items-center rounded-lg",e,d),children:(0,o.jsx)(a,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)("div",{className:"min-w-0",children:[(0,o.jsx)("div",{className:"font-display text-xl font-semibold leading-none tabular-nums text-text",children:b}),(0,o.jsx)("div",{className:"mt-0.5 text-xs text-text-3",children:c})]})]})}function ac({items:a,isLoading:b,error:c}){return(0,o.jsx)(w,{className:"mb-3.5 flex shrink-0 items-stretch py-3.5 shadow-sm","aria-busy":b,children:c?(0,o.jsx)("div",{className:"px-5",children:(0,o.jsx)(_,{message:c})}):b&&0===a.length?Array.from({length:5},(a,b)=>(0,o.jsxs)($.Fragment,{children:[b>0&&(0,o.jsx)("span",{className:"w-px shrink-0 self-stretch bg-text/6"}),(0,o.jsxs)("div",{className:"flex flex-1 items-center gap-2.5 px-5",children:[(0,o.jsx)(J,{className:"size-8 shrink-0 rounded-lg"}),(0,o.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,o.jsx)(J,{className:"h-5 w-10"}),(0,o.jsx)(J,{className:"mt-1 h-3 w-20"})]})]})]},b)):a.map((a,b)=>(0,o.jsxs)($.Fragment,{children:[b>0&&(0,o.jsx)("span",{className:"w-px shrink-0 self-stretch bg-text/6"}),(0,o.jsx)(ab,{...a})]},a.label))})}var ad=c(30652);c(5080),new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}),new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hourCycle:"h23"}),c(29906),c(74366),c(96609),c(37920),c(95986),c(19167),c(12588),c(72670),c(71296),c(15125),c(38203);var ae=c(47854);c(7756),c(29158);let af={skill:{type:"skill",label:"Skills",icon:"sparkles",fg:"text-violet",bg:"bg-violet-fill"},mcp:{type:"mcp",label:"MCP servers",icon:"server",fg:"text-teal",bg:"bg-teal-fill"},hook:{type:"hook",label:"Hooks",icon:"route",fg:"text-sev-low",bg:"bg-sev-low-fill"},config:{type:"config",label:"Configuration",icon:"sliders",fg:"text-teal",bg:"bg-surface-2"}};function ag(a,b){let c;if(null!=a&&("harness"===a.type?b.harnesses.some(b=>b.id===a.id):"project"===a.type?b.projects.some(b=>b.id===a.id):(c=a.id,b.assetGroups.some(a=>a.items.some(a=>a.id===c))||b.harnesses.some(a=>a.categories.some(a=>a.assets.some(a=>a.id===c))))))return a;let d=b.harnesses[0];if(d)return{type:"harness",id:d.id};let e=b.projects[0];if(e)return{type:"project",id:e.id};for(let a of b.assetGroups){let b=a.items[0];if("project"!==a.type&&b)return{type:a.type,id:b.id}}return null}af.skill,af.mcp,af.hook,af.config,c(60409),c(95322),c(86020),c(76366);let ah={critical:{label:"Critical",color:d.sevCritical},high:{label:"High",color:d.sevHigh},medium:{label:"Medium",color:d.sevMedium},low:{label:"Low",color:d.sevLow}},ai={critical:"bg-sev-critical-fill text-sev-critical",high:"bg-sev-high-fill text-sev-high",medium:"bg-sev-medium-fill text-sev-medium",low:"bg-sev-low-fill text-sev-low"},aj={blocked:{label:"Blocked",icon:a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,o.jsx)("path",{d:"m6 6 12 12"})]}),color:d.sevCritical},redacted:{label:"Redacted",icon:a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("rect",{x:"3",y:"9",width:"18",height:"6",rx:"1.5",fill:"currentColor",stroke:"none"}),(0,o.jsx)("path",{d:"M3 5h18M3 19h12"})]}),color:d.primary},warned:{label:"Warned",icon:L,color:d.sevHigh}},ak=new Intl.NumberFormat("en-US");function al({total:a,actions:b,isLoading:c,error:d,rangeLabel:e}){return(0,o.jsx)(w,{className:"flex flex-col shadow-sm",children:(0,o.jsxs)(D,{"aria-busy":c,className:"flex flex-1 flex-col justify-center gap-4",children:[(0,o.jsxs)("div",{className:"flex justify-between gap-3",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"text-sm font-semibold text-text",children:"Enforcement actions"}),(0,o.jsxs)("div",{className:"mt-0.5 text-xs text-text-3",children:["All users \xb7 ",e.toLowerCase()]})]}),(0,o.jsxs)("div",{className:"text-right",children:[c?(0,o.jsx)(J,{className:"ml-auto h-5 w-12"}):(0,o.jsx)("div",{className:"font-display text-xl font-semibold leading-none text-text",children:d?"—":ak.format(a)}),(0,o.jsx)("div",{className:"mt-0.5 text-label text-text-3",children:"total intercepted"})]})]}),d?(0,o.jsx)(_,{message:d}):c?(0,o.jsx)("div",{className:"flex gap-3",children:[0,1,2].map(a=>(0,o.jsx)(J,{className:"h-20 flex-1"},a))}):0===a?(0,o.jsx)(aa,{message:"No enforcement actions in this range."}):(0,o.jsx)("div",{className:"flex gap-3",children:b.map(a=>{let b=aj[a.kind],c=b.icon,d=a.delta>0;return(0,o.jsxs)("div",{className:"min-w-0 flex-1 border-l-[3px] pl-3",style:{borderColor:b.color},children:[(0,o.jsxs)("div",{className:"inline-flex items-center gap-1.5",style:{color:b.color},children:[(0,o.jsx)(c,{"aria-hidden":!0,focusable:!1,className:"size-4"}),(0,o.jsx)("span",{className:"text-xs font-semibold text-text-2",children:b.label})]}),(0,o.jsx)("div",{className:"mt-2 font-display text-3xl font-semibold leading-none text-text",children:ak.format(a.count)}),0!==a.delta&&(0,o.jsxs)("div",{className:"mt-1 inline-flex items-center gap-0.5 text-xs font-semibold text-text-3",children:[d?(0,o.jsx)(N,{"aria-hidden":!0,focusable:!1,className:"size-3"}):(0,o.jsx)(O,{"aria-hidden":!0,focusable:!1,className:"size-3"}),d?"+":"−",ak.format(Math.abs(a.delta))," wk/wk"]})]},a.kind)})})]})})}let am=[{key:"critical",label:"Critical",color:d.sevCritical},{key:"high",label:"High",color:d.sevHigh},{key:"medium",label:"Medium",color:d.sevMedium}];function an({points:a,isLoading:b,error:c}){let d=a.every(a=>a.critical+a.high+a.medium===0);return(0,o.jsxs)(w,{className:"mt-4 shadow-sm xl:mt-5",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{children:(0,o.jsx)(P,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Findings over time"}),(0,o.jsx)(B,{children:"New sensitive-data detections per day"})]}),(0,o.jsx)(C,{className:"gap-3 text-xs text-text-2",children:am.map(a=>(0,o.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,o.jsx)("span",{className:"size-2 rounded-xs",style:{background:a.color}}),a.label]},a.key))})]}),(0,o.jsx)(D,{"aria-busy":b,className:"pb-2",children:c?(0,o.jsx)(_,{message:c}):b?(0,o.jsx)(J,{className:"h-40 w-full"}):d?(0,o.jsx)(aa,{message:"No findings in this range."}):(0,o.jsx)(n.AreaChart,{data:a,series:am,height:160})})]})}var ao=c(69860);function ap({items:a,isLoading:b,error:c}){return(0,o.jsxs)(w,{className:"flex h-full flex-col shadow-sm",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{children:(0,o.jsx)(V,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Recently resolved"}),(0,o.jsx)(B,{children:"Findings moved to resolved, newest first"})]})]}),(0,o.jsx)(D,{"aria-busy":b,className:"flex flex-col",children:c?(0,o.jsx)(_,{message:c}):b?(0,o.jsx)("div",{className:"flex flex-col gap-3 py-2",children:[0,1,2].map(a=>(0,o.jsx)(J,{className:"h-12 w-full"},a))}):0===a.length?(0,o.jsx)(aa,{message:"No resolved findings yet."}):a.map((b,c)=>(0,o.jsx)(aq,{item:b,last:c===a.length-1},b.findingKey))})]})}function aq({item:a,last:b}){return(0,o.jsxs)("div",{className:v("relative flex gap-3",!b&&"pb-4"),children:[!b&&(0,o.jsx)("span",{className:"absolute bottom-0 left-4 top-8 w-px bg-text/6"}),(0,o.jsx)("span",{className:v("z-10 grid size-8 shrink-0 place-items-center rounded-lg",ai[a.severity]),children:(0,o.jsx)(V,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsx)("span",{className:"truncate text-sm font-semibold text-text",children:a.ruleId}),(0,o.jsx)("span",{className:"ml-auto shrink-0 text-xs text-text-3",children:g(a.resolvedAt)})]}),(0,o.jsxs)("div",{className:"mt-1.5 flex items-center gap-1.5 text-xs text-text-3",children:[(0,o.jsx)("span",{className:"shrink-0",children:ah[a.severity].label}),(0,o.jsx)("span",{className:"shrink-0 text-border-strong",children:"\xb7"}),(0,o.jsx)("span",{className:"truncate font-mono",children:a.path})]})]})]})}let ar={critical:4,high:3,medium:2,low:1},as={secret:"Rotate the exposed credentials and move them out of prompts (secrets manager / env vars).",pii:"Remove or mask personal data before it reaches the model.",financial:"Strip card and account numbers; share only non-sensitive references.",phi:"Remove protected health information — it should never reach an external model.",code_context:"Confirm this proprietary code context is safe to share.",custom:"Review against your organization’s custom policy."},at={secret:{title:"Exposed secret detected",action:"Rotate"},pii:{title:"Personal data in a prompt",action:"Remove"},financial:{title:"Financial data detected",action:"Strip"},phi:{title:"Health information detected",action:"Remove"},code_context:{title:"Proprietary code shared",action:"Review"},custom:{title:"Custom policy match",action:"Review"}};function au(a){return(function(a){let b=new Map;for(let c of a){let a=b.get(c.category)??{category:c.category,count:0,severity:c.severity,weight:0,ruleId:c.ruleId};a.count++;let d=ar[c.severity]??0;d>a.weight&&(a.weight=d,a.severity=c.severity,a.ruleId=c.ruleId),b.set(c.category,a)}return[...b.values()].sort((a,b)=>b.weight-a.weight||b.count-a.count).slice(0,10)})(a).map(a=>{var b;let c=at[a.category]??{title:`${a.category} finding`,action:"Review"};return{id:`local-${a.category}`,category:a.category,severity:"critical"===(b=a.severity)||"high"===b||"medium"===b?b:"low",title:c.title,description:as[a.category]??"Review this finding against your policy.",subjects:[{type:"rule",id:a.ruleId,label:`${a.ruleId} \xb7 ${String(a.count)} finding${1===a.count?"":"s"}`}],action:{mode:"navigate",type:"review_findings",label:c.action,href:"/findings"}}})}function av({providers:a,isLoading:b,error:c,rangeLabel:e}){return(0,o.jsxs)(w,{className:"flex flex-col shadow-sm",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{className:"bg-teal-fill text-teal",children:(0,o.jsx)(Q,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Scan coverage"}),(0,o.jsxs)(B,{children:["By provider \xb7 ",e.toLowerCase()]})]})]}),(0,o.jsx)(D,{"aria-busy":b,className:"flex flex-col gap-2.5",children:c?(0,o.jsx)(_,{message:c}):b?[0,1,2,3,4].map(a=>(0,o.jsx)(J,{className:"h-6 w-full"},a)):a.map(a=>{let b=!a.supported,c=100===a.coverage?d.ok:a.coverage>=60?d.sevMedium:d.sevHigh;return(0,o.jsxs)("div",{className:v("flex items-center gap-2.5",b&&"opacity-45"),children:[(0,o.jsx)("span",{className:v(b&&"grayscale"),children:(0,o.jsx)(r,{id:a.provider})}),(0,o.jsxs)("span",{className:"w-28 shrink-0 truncate text-ui text-text",children:[q[a.provider].label,b&&(0,o.jsx)("span",{className:"sr-only",children:" — not yet supported"})]}),b?(0,o.jsx)("span",{"aria-hidden":!0,className:"block h-1.5 flex-1 rounded-full bg-surface-3"}):(0,o.jsx)(G,{value:a.coverage,max:100,color:c,height:6,"aria-label":`${q[a.provider].label} scan coverage`}),b?(0,o.jsx)("span",{className:"w-9 shrink-0 text-right text-label font-semibold uppercase tracking-wide text-text-3",children:"Soon"}):(0,o.jsxs)("span",{className:"w-9 shrink-0 text-right text-xs font-semibold text-text-2",children:[a.coverage,"%"]})]},a.provider)})})]})}function aw({bySeverity:a,total:b,needsRemediation:c,isLoading:d,error:e}){let f=({bySeverity:a}).bySeverity.some(a=>void 0!==a.caught||void 0!==a.openAtRest),g=a.reduce((a,b)=>a+(b.caught??0),0);return(0,o.jsxs)(w,{className:"flex flex-col shadow-sm",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{className:"bg-sev-critical-fill text-sev-critical",children:(0,o.jsx)(L,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:f?"By severity":"Open by severity"}),(0,o.jsx)(B,{children:d?"Loading…":e?"—":`${String(b)} findings`})]})]}),(0,o.jsx)(D,{"aria-busy":d,className:"flex items-center gap-4",children:e?(0,o.jsx)(_,{message:e}):d?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(J,{className:"size-30 shrink-0 rounded-full"}),(0,o.jsx)("div",{className:"flex flex-1 flex-col gap-2",children:[0,1,2,3].map(a=>(0,o.jsx)(J,{className:"h-4 w-full"},a))})]}):0===b?(0,o.jsx)(aa,{message:f?"No findings.":"No open findings."}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.Donut,{segments:a.map(a=>({label:ah[a.severity].label,value:f?a.caught??0:a.count,color:ah[a.severity].color})),size:120,thickness:15,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"font-display text-2xl font-semibold leading-none text-text",children:ak.format(f?g:b)}),(0,o.jsx)("div",{className:"text-label text-text-3",children:f?"caught":"open"})]})}),(0,o.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[f?(0,o.jsxs)("div",{className:"flex items-center justify-between border-b border-border pb-2",children:[(0,o.jsx)("span",{className:"text-ui font-medium text-text-2",children:"Needs remediation"}),(0,o.jsx)("span",{className:"text-ui font-bold text-text",children:ak.format(c??0)})]}):null,a.map(a=>(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsx)("span",{className:"size-2 rounded-xs",style:{background:ah[a.severity].color}}),(0,o.jsx)("span",{className:"flex-1 text-ui text-text-2",children:ah[a.severity].label}),(0,o.jsx)("span",{className:"text-ui font-bold text-text",children:ak.format(a.count)})]},a.severity))]})]})})]})}function ax({items:a,isLoading:b,error:c}){return(0,o.jsxs)(w,{className:"flex flex-col shadow-sm",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{children:(0,o.jsx)(R,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Top sources"}),(0,o.jsx)(B,{children:"Repos & people by findings"})]})]}),(0,o.jsx)(D,{"aria-busy":b,className:"flex flex-col gap-3",children:c?(0,o.jsx)(_,{message:c}):b?[0,1,2,3,4].map(a=>(0,o.jsx)(J,{className:"h-7 w-full"},a)):0===a.length?(0,o.jsx)("div",{className:"py-6 text-center text-xs text-text-3",children:"No sources yet."}):a.map(a=>(0,o.jsx)(ay,{source:a},a.id))})]})}function ay({source:a}){let b="user"===a.kind;return(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)("span",{className:v("flex size-7 shrink-0 items-center justify-center bg-surface-2 text-text-2",b?"rounded-full":"rounded-md"),children:(0,o.jsx)(b?S:T,{"aria-hidden":!0,focusable:!1,className:"size-3.5"})}),(0,o.jsx)("div",{className:"min-w-0 flex-1",children:(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsx)("span",{className:v("truncate text-sm text-text",!b&&"font-mono"),children:a.name}),(0,o.jsx)("span",{className:"text-sm font-bold text-text",children:ak.format(a.findingsCount)})]})})]})}c(33028),c(81757),c(74005),c(39121),c(79607),c(17879),c(18060),c(64870),c(31241),c(62027),c(23137),c(73151),c(55375),c(55033),c(66528)},29158:(a,b,c)=>{c.d(b,{EmptyState:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call EmptyState() from the server but EmptyState is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","EmptyState");(0,d.registerClientReference)(function(){throw Error("Attempted to call Section() from the server but Section is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","Section"),(0,d.registerClientReference)(function(){throw Error("Attempted to call RadioCardList() from the server but RadioCardList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","RadioCardList"),(0,d.registerClientReference)(function(){throw Error("Attempted to call AccessControl() from the server but AccessControl is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","AccessControl"),(0,d.registerClientReference)(function(){throw Error("Attempted to call AccessLabel() from the server but AccessLabel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","AccessLabel"),(0,d.registerClientReference)(function(){throw Error("Attempted to call AccessBar() from the server but AccessBar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","AccessBar"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TrustPill() from the server but TrustPill is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","TrustPill"),(0,d.registerClientReference)(function(){throw Error("Attempted to call FlagChip() from the server but FlagChip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","FlagChip"),(0,d.registerClientReference)(function(){throw Error("Attempted to call FlagChips() from the server but FlagChips is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","FlagChips"),(0,d.registerClientReference)(function(){throw Error("Attempted to call VisBadge() from the server but VisBadge is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","VisBadge"),(0,d.registerClientReference)(function(){throw Error("Attempted to call OriginTag() from the server but OriginTag is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","OriginTag")},29906:(a,b,c)=>{c.d(b,{HarnessSelect:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call HarnessSelect() from the server but HarnessSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/HarnessSelect.tsx","HarnessSelect")},30652:(a,b,c)=>{c.d(b,{ActivityTokenUsageView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ActivityTokenUsageView() from the server but ActivityTokenUsageView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/ActivityTokenUsageView.tsx","ActivityTokenUsageView")},31241:(a,b,c)=>{c.d(b,{ROTATE_CONFIRMATION:()=>e,RotateKeyDialog:()=>f});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ROTATE_CONFIRMATION() from the server but ROTATE_CONFIRMATION is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/RotateKeyDialog.tsx","ROTATE_CONFIRMATION"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call RotateKeyDialog() from the server but RotateKeyDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/RotateKeyDialog.tsx","RotateKeyDialog")},33028:(a,b,c)=>{c.d(b,{RecommendedActionsCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call RecommendedActionsCardView() from the server but RecommendedActionsCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/security/RecommendedActionsCardView.tsx","RecommendedActionsCardView")},37920:(a,b,c)=>{c.d(b,{FindingDetailView:()=>f,formatConfidence:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call formatConfidence() from the server but formatConfidence is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingDetailView.tsx","formatConfidence"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call FindingDetailView() from the server but FindingDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingDetailView.tsx","FindingDetailView")},38203:(a,b,c)=>{c.d(b,{UpdateModal:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call UpdateModal() from the server but UpdateModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/UpdateModal.tsx","UpdateModal")},39121:(a,b,c)=>{c.d(b,{ScopePicker:()=>g,StateTag:()=>e,StateTagFor:()=>f});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call StateTag() from the server but StateTag is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/atoms.tsx","StateTag"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call StateTagFor() from the server but StateTagFor is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/atoms.tsx","StateTagFor"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call ScopePicker() from the server but ScopePicker is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/atoms.tsx","ScopePicker")},47854:(a,b,c)=>{c.d(b,{PolicyDetailView:()=>g,PolicyListView:()=>f,PolicyStatsView:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call PolicyStatsView() from the server but PolicyStatsView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/policies/PoliciesView.tsx","PolicyStatsView"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PolicyListView() from the server but PolicyListView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/policies/PoliciesView.tsx","PolicyListView"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call PolicyDetailView() from the server but PolicyDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/policies/PoliciesView.tsx","PolicyDetailView")},55033:(a,b,c)=>{c.d(b,{DataSharesTableView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call DataSharesTableView() from the server but DataSharesTableView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/data-shares/DataSharesTableView.tsx","DataSharesTableView")},55375:(a,b,c)=>{c.d(b,{DataShareDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call DataShareDetailView() from the server but DataShareDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/data-shares/DataShareDetailView.tsx","DataShareDetailView")},60409:(a,b,c)=>{c.d(b,{FileDetailDrawer:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call FileDetailDrawer() from the server but FileDetailDrawer is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/FileDetailDrawer.tsx","FileDetailDrawer")},62027:(a,b,c)=>{c.d(b,{AvailablePluginsCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call AvailablePluginsCardView() from the server but AvailablePluginsCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/updates/AvailablePluginsCardView.tsx","AvailablePluginsCardView")},64870:(a,b,c)=>{c.d(b,{ExceptionsTableView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ExceptionsTableView() from the server but ExceptionsTableView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/ExceptionsTableView.tsx","ExceptionsTableView")},66528:(a,b,c)=>{c.d(b,{NeedsReviewStripView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call NeedsReviewStripView() from the server but NeedsReviewStripView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/data-shares/NeedsReviewStripView.tsx","NeedsReviewStripView")},69860:(a,b,c)=>{c.d(b,{MttrTrendCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call MttrTrendCardView() from the server but MttrTrendCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/security/MttrTrendCardView.tsx","MttrTrendCardView")},71296:(a,b,c)=>{c.d(b,{MatcherModal:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call MatcherModal() from the server but MatcherModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/MatcherModal.tsx","MatcherModal")},72670:(a,b,c)=>{c.d(b,{DETECTION_FILTER_TABS:()=>e,DetectionsListView:()=>f});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call DETECTION_FILTER_TABS() from the server but DETECTION_FILTER_TABS is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/DetectionsListView.tsx","DETECTION_FILTER_TABS"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call DetectionsListView() from the server but DetectionsListView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/DetectionsListView.tsx","DetectionsListView")},73151:(a,b,c)=>{c.d(b,{WorkspaceSettingsFormView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call WorkspaceSettingsFormView() from the server but WorkspaceSettingsFormView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/settings/WorkspaceSettingsFormView.tsx","WorkspaceSettingsFormView")},74005:(a,b,c)=>{c.d(b,{ApproveExceptionDialog:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ApproveExceptionDialog() from the server but ApproveExceptionDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/ApproveExceptionDialog.tsx","ApproveExceptionDialog")},74366:(a,b,c)=>{c.d(b,{SessionDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call SessionDetailView() from the server but SessionDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/SessionDetailView.tsx","SessionDetailView")},76366:(a,b,c)=>{c.d(b,{ProjectPane:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ProjectPane() from the server but ProjectPane is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/ProjectPane.tsx","ProjectPane")},76519:(a,b,c)=>{c.r(b),c.d(b,{AreaChart:()=>h,Donut:()=>e,Sparkline:()=>f,useMeasuredWidth:()=>g});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Donut() from the server but Donut is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","Donut"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call Sparkline() from the server but Sparkline is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","Sparkline"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call useMeasuredWidth() from the server but useMeasuredWidth is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","useMeasuredWidth"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call AreaChart() from the server but AreaChart is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","AreaChart")},77976:(a,b,c)=>{c.d(b,{TimeRangeSelect:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call TimeRangeSelect() from the server but TimeRangeSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/TimeRangeSelect.tsx","TimeRangeSelect")},79607:(a,b,c)=>{c.d(b,{BlockedLedgerView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call BlockedLedgerView() from the server but BlockedLedgerView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/BlockedLedgerView.tsx","BlockedLedgerView")},81757:(a,b,c)=>{c.d(b,{AddExceptionForm:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call AddExceptionForm() from the server but AddExceptionForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/AddExceptionForm.tsx","AddExceptionForm")},86020:(a,b,c)=>{c.d(b,{InventoryNav:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call InventoryNav() from the server but InventoryNav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/InventoryNav.tsx","InventoryNav")},95322:(a,b,c)=>{c.d(b,{HarnessOverview:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call HarnessOverview() from the server but HarnessOverview is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/HarnessOverview.tsx","HarnessOverview")},95986:(a,b,c)=>{c.d(b,{FindingsTableView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call FindingsTableView() from the server but FindingsTableView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingsTableView.tsx","FindingsTableView")},96609:(a,b,c)=>{c.d(b,{SessionListView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call SessionListView() from the server but SessionListView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/SessionListView.tsx","SessionListView")}};
|
|
1
|
+
"use strict";exports.id=45,exports.ids=[45],exports.modules={7756:(a,b,c)=>{c.d(b,{AssetDetail:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call AssetDetail() from the server but AssetDetail is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/AssetDetail.tsx","AssetDetail")},12588:(a,b,c)=>{c.d(b,{DetectionDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call DetectionDetailView() from the server but DetectionDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/DetectionDetailView.tsx","DetectionDetailView")},15125:(a,b,c)=>{c.d(b,{PolicyPicker:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call PolicyPicker() from the server but PolicyPicker is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/PolicyPicker.tsx","PolicyPicker")},17879:(a,b,c)=>{c.d(b,{BlockedWindowSelect:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call BlockedWindowSelect() from the server but BlockedWindowSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/BlockedWindowSelect.tsx","BlockedWindowSelect")},18060:(a,b,c)=>{c.d(b,{ExceptionDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ExceptionDetailView() from the server but ExceptionDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/ExceptionDetailView.tsx","ExceptionDetailView")},19167:(a,b,c)=>{c.d(b,{ColumnsMenu:()=>f,FindingsToolbarView:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call FindingsToolbarView() from the server but FindingsToolbarView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingsToolbarView.tsx","FindingsToolbarView"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ColumnsMenu() from the server but ColumnsMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingsToolbarView.tsx","ColumnsMenu")},23137:(a,b,c)=>{c.d(b,{UpdateStatusCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call UpdateStatusCardView() from the server but UpdateStatusCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/updates/UpdateStatusCardView.tsx","UpdateStatusCardView")},28045:(a,b,c)=>{c.d(b,{nk:()=>ac,rD:()=>ad.ActivityTokenUsageView,Dr:()=>l,DQ:()=>X,cZ:()=>U,ah:()=>al,_G:()=>M,Lg:()=>an,oU:()=>ao.MttrTrendCardView,ec:()=>p,fc:()=>ae.PolicyStatsView,c2:()=>ap,Ry:()=>av,hU:()=>aw,Zu:()=>Q,Tk:()=>Z,k3:()=>W,XT:()=>ax,sV:()=>au,OH:()=>h.OHL,QT:()=>j,oB:()=>k,KW:()=>g,pi:()=>m,tw:()=>ag});let d={primary:"var(--color-primary)",ok:"var(--color-ok)",sevCritical:"var(--color-sev-critical)",sevHigh:"var(--color-sev-high)",sevMedium:"var(--color-sev-medium)",sevLow:"var(--color-sev-low)"},e=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),f=[["year",31536e3],["month",2592e3],["week",604800],["day",86400],["hour",3600],["minute",60]];function g(a){if(!a)return"";let b=Date.parse(a);if(Number.isNaN(b))return"";let c=(b-Date.now())/1e3,d=Math.abs(c);if(d<45)return"just now";for(let[a,b]of f)if(d>=b)return e.format(Math.round(c/b),a);return"just now"}var h=c(40891);let i=[{value:"7d",label:"Last 7 days"},{value:"30d",label:"Last 30 days"},{value:"3m",label:"Last 3 months"},{value:"6m",label:"Last 6 months"}];function j(a){return i.find(b=>b.value===a)?.label??a}function k(a,b=Date.now()){return new Date(b-864e5*h.eI7[a]).toISOString()}let l={"30m":18e5,"1h":36e5,"4h":144e5,"24h":864e5};function m(a){return void 0!==a&&Object.hasOwn(l,a)?a:"30m"}var n=c(76519),o=c(22881);function p({title:a,sub:b,actions:c}){return(0,o.jsxs)("div",{className:"flex items-start justify-between gap-4 pb-6",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h1",{className:"font-display text-2xl font-semibold text-text",children:a}),b&&(0,o.jsx)("p",{className:"mt-1 text-sm text-text-3",children:b})]}),c&&(0,o.jsx)("div",{className:"flex shrink-0 items-center gap-2",children:c})]})}let q={claudecode:{label:"Claude Code",short:"CC",color:"#C96442"},claudedesktop:{label:"Claude Desktop",short:"CD",color:"#A8553A"},cursor:{label:"Cursor",short:"Cu",color:"#252F3D"},windsurf:{label:"Windsurf",short:"Wf",color:"#0B8F7B"},codex:{label:"Codex CLI",short:"Cx",color:"#10A37F"},copilot:{label:"GitHub Copilot",short:"Co",color:"#0581D4"},chatgpt:{label:"ChatGPT",short:"GP",color:"#0d8f6f"},api:{label:"Anthropic API",short:"AP",color:"#6058E9"}};function r({id:a,size:b=24}){let c=q[a];return(0,o.jsx)("span",{className:"flex shrink-0 items-center justify-center rounded-lg font-display font-bold text-white",style:{width:b,height:b,background:c.color,fontSize:.36*b},children:c.short})}var s=c(55889),t=c(3931);let u=(0,c(61311).zu)({extend:{classGroups:{"font-size":[{text:["ui","label"]}]}}});function v(...a){return u((0,t.$)(a))}function w({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card",className:v("rounded-xl border border-border bg-surface",a),...b})}function x({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-header",className:v("flex items-center gap-3 px-5 pt-5",a),...b})}function y({className:a,...b}){return(0,o.jsx)("span",{"data-slot":"card-icon",className:v("flex size-7.5 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-text-2",a),...b})}function z({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-heading",className:v("min-w-0",a),...b})}function A({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-title",className:v("text-sm font-semibold text-text",a),...b})}function B({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-description",className:v("text-xs text-text-3",a),...b})}function C({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-action",className:v("ml-auto flex items-center",a),...b})}function D({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"card-content",className:v("p-5",a),...b})}(0,s.F)("inline-flex items-center gap-1.5 whitespace-nowrap rounded-full px-2 py-0.5 text-xs font-semibold",{variants:{variant:{default:"bg-surface-3 text-text-2",outline:"border border-border text-text-2",critical:"bg-sev-critical-fill text-sev-critical",high:"bg-sev-high-fill text-sev-high",medium:"bg-sev-medium-fill text-sev-medium",low:"bg-sev-low-fill text-sev-low",success:"bg-ok-fill text-ok",teal:"bg-teal-fill text-teal",primary:"bg-primary-tint text-primary"}},defaultVariants:{variant:"default"}}),(0,s.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium transition-colors cursor-pointer disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{solid:"",outline:"border",ghost:"",link:""},tone:{primary:"",neutral:"",danger:""},size:{sm:"h-8 px-3 text-xs",md:"h-9 px-4 text-sm",icon:"size-9"}},compoundVariants:[{variant:"solid",tone:"primary",class:"bg-primary text-text-inv hover:bg-primary-hover"},{variant:"solid",tone:"neutral",class:"bg-surface-3 text-text hover:bg-border-strong"},{variant:"solid",tone:"danger",class:"bg-sev-critical text-text-inv hover:bg-sev-critical-hover"},{variant:"outline",tone:"primary",class:"border-primary text-primary hover:bg-primary-tint"},{variant:"outline",tone:"neutral",class:"border-border bg-surface text-text hover:bg-surface-2"},{variant:"outline",tone:"danger",class:"border-sev-critical text-sev-critical hover:bg-sev-critical-fill"},{variant:"ghost",tone:"primary",class:"text-primary hover:bg-primary-tint"},{variant:"ghost",tone:"neutral",class:"text-text-2 hover:bg-surface-2 hover:text-text"},{variant:"ghost",tone:"danger",class:"text-sev-critical hover:bg-sev-critical-fill"},{variant:"link",class:"h-auto gap-1 rounded-sm p-0 align-baseline font-semibold underline-offset-4 [&_svg]:size-3.5"},{variant:"link",tone:"primary",class:"text-primary hover:underline"},{variant:"link",tone:"neutral",class:"text-text-2 hover:text-text hover:underline"},{variant:"link",tone:"danger",class:"text-sev-critical hover:underline"}],defaultVariants:{variant:"solid",tone:"neutral",size:"md"}});var E=c(59869);E.Root,E.Trigger,E.Close;var F=c(23726);function G({value:a,max:b,color:c,height:d=8,className:e,style:f,...g}){let h=Math.min(b,Math.max(0,a)),i=b>0?h/b*100:0;return(0,o.jsx)("span",{"data-slot":"meter",role:"meter","aria-valuenow":h,"aria-valuemin":0,"aria-valuemax":b,className:v("block flex-1 overflow-hidden rounded-full bg-surface-3",e),style:{height:d,...f},...g,children:(0,o.jsx)("span",{className:"block h-full rounded-full",style:{width:`${String(i)}%`,background:c}})})}F.Root,F.Trigger,F.Group,F.RadioGroup;var H=c(11892);H.Root,H.Trigger,H.Close,H.Anchor;var I=c(21069);function J({className:a,...b}){return(0,o.jsx)("div",{"data-slot":"skeleton","aria-hidden":!0,className:v("animate-pulse rounded-md bg-surface-3",a),...b})}I.Root,I.Group,I.Value,E.Root,E.Trigger,E.Close;let K={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},L=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M8 2.5h8L21.5 8v8L16 21.5H8L2.5 16V8L8 2.5Z"}),(0,o.jsx)("path",{d:"M12 8v4"}),(0,o.jsx)("circle",{cx:"12",cy:"16",r:"1",fill:"currentColor",stroke:"none"})]}),M=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M14 4h6v6"}),(0,o.jsx)("path",{d:"M20 4 11 13"}),(0,o.jsx)("path",{d:"M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4"})]}),N=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M12 19V5M6 11l6-6 6 6"})}),O=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M12 5v14M6 13l6 6 6-6"})}),P=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M4 20V10M10 20V4M16 20v-7M22 20H2"})}),Q=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M12 3 4.5 6v5.5c0 4.6 3.2 7.6 7.5 9 4.3-1.4 7.5-4.4 7.5-9V6L12 3Z"}),(0,o.jsx)("path",{d:"m9 12 2 2 4-4"})]}),R=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"8.5"}),(0,o.jsx)("circle",{cx:"12",cy:"12",r:"4.5"}),(0,o.jsx)("circle",{cx:"12",cy:"12",r:"1",fill:"currentColor",stroke:"none"})]}),S=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"8",r:"3.6"}),(0,o.jsx)("path",{d:"M5.5 20a6.5 6.5 0 0 1 13 0"})]}),T=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("path",{d:"M6 8.4v7.2"}),(0,o.jsx)("circle",{cx:"6",cy:"6",r:"2.4"}),(0,o.jsx)("circle",{cx:"6",cy:"18",r:"2.4"}),(0,o.jsx)("circle",{cx:"18",cy:"7",r:"2.4"}),(0,o.jsx)("path",{d:"M18 9.4a8.6 8.6 0 0 1-8.6 8.6"})]}),U=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M8 4c-2 0-2 2-2 4s0 3-2 4c2 1 2 2 2 4s0 4 2 4M16 4c2 0 2 2 2 4s0 3 2 4c-2 1-2 2-2 4s0 4-2 4"})}),V=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,o.jsx)("path",{d:"m8.5 12 2.3 2.3 4.7-4.6"})]}),W=a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),(0,o.jsx)("path",{d:"m7 9 3 3-3 3M13 15h4"})]}),X=a=>(0,o.jsx)("svg",{...K,...a,children:(0,o.jsx)("path",{d:"M13 2 4 14h7l-1 8 9-12h-7l1-8Z"})});function Y({label:a,tone:b="neutral",dir:c}){let d="up"===c?N:"down"===c?O:null;return(0,o.jsxs)("span",{className:v("inline-flex items-center gap-1 text-xs font-semibold","positive"===b?"text-ok":"negative"===b?"text-sev-critical":"text-text-3"),children:[d&&(0,o.jsx)(d,{"aria-hidden":!0,focusable:!1,className:"size-3"}),a]})}function Z({icon:a,iconBg:b,iconColor:c,label:e,value:f,delta:g,spark:h,sparkColor:i,sparkLabels:j,sparkFormatValue:k,loading:l=!1}){return(0,o.jsxs)(w,{className:"flex flex-col gap-2.5 p-4.5 shadow-sm","aria-busy":l||void 0,children:[(0,o.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,o.jsx)("span",{className:"grid size-8.5 shrink-0 place-items-center rounded-lg",style:{background:b,color:c},children:(0,o.jsx)(a,{"aria-hidden":!0,focusable:!1,className:"size-4.5"})}),(0,o.jsx)("span",{className:"text-ui font-medium text-text-2",children:e})]}),l?(0,o.jsx)(J,{className:"my-1 h-7 w-10"}):(0,o.jsxs)("div",{className:"flex items-end justify-between gap-2",children:[(0,o.jsx)("span",{className:"font-display text-3xl font-semibold leading-none tracking-[-0.03em] text-text",children:f}),g&&(0,o.jsx)(Y,{...g})]}),h&&!l&&(0,o.jsx)("div",{className:"mt-0.5",children:(0,o.jsx)(n.Sparkline,{data:h,color:i??d.primary,height:34,...j?{labels:j}:{},...k?{formatValue:k}:{}})})]})}function $({message:a}){return(0,o.jsxs)("div",{role:"alert",className:"text-xs text-text-3",children:["Couldn’t load data — ",a]})}function _({message:a,className:b}){return(0,o.jsx)("div",{className:v("w-full py-6 text-center text-xs text-text-3",b),children:a})}c(77976);var aa=c(30388);function ab({icon:a,value:b,label:c,text:d,fill:e}){return(0,o.jsxs)("div",{className:"flex flex-1 items-center gap-2.5 px-5",children:[(0,o.jsx)("span",{className:v("grid size-8 shrink-0 place-items-center rounded-lg",e,d),children:(0,o.jsx)(a,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)("div",{className:"min-w-0",children:[(0,o.jsx)("div",{className:"font-display text-xl font-semibold leading-none tabular-nums text-text",children:b}),(0,o.jsx)("div",{className:"mt-0.5 text-xs text-text-3",children:c})]})]})}function ac({items:a,isLoading:b,error:c}){return(0,o.jsx)(w,{className:"mb-3.5 flex shrink-0 items-stretch py-3.5 shadow-sm","aria-busy":b,children:c?(0,o.jsx)("div",{className:"px-5",children:(0,o.jsx)($,{message:c})}):b&&0===a.length?Array.from({length:5},(a,b)=>(0,o.jsxs)(aa.Fragment,{children:[b>0&&(0,o.jsx)("span",{className:"w-px shrink-0 self-stretch bg-text/6"}),(0,o.jsxs)("div",{className:"flex flex-1 items-center gap-2.5 px-5",children:[(0,o.jsx)(J,{className:"size-8 shrink-0 rounded-lg"}),(0,o.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,o.jsx)(J,{className:"h-5 w-10"}),(0,o.jsx)(J,{className:"mt-1 h-3 w-20"})]})]})]},b)):a.map((a,b)=>(0,o.jsxs)(aa.Fragment,{children:[b>0&&(0,o.jsx)("span",{className:"w-px shrink-0 self-stretch bg-text/6"}),(0,o.jsx)(ab,{...a})]},a.label))})}var ad=c(30652);new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}),new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hourCycle:"h23"}),c(29906),c(74366),c(96609),c(37920),c(95986),c(19167),c(12588),c(72670),c(71296),c(15125),c(38203);var ae=c(47854);c(7756),c(29158);let af={skill:{type:"skill",label:"Skills",icon:"sparkles",fg:"text-violet",bg:"bg-violet-fill"},mcp:{type:"mcp",label:"MCP servers",icon:"server",fg:"text-teal",bg:"bg-teal-fill"},hook:{type:"hook",label:"Hooks",icon:"route",fg:"text-sev-low",bg:"bg-sev-low-fill"},config:{type:"config",label:"Configuration",icon:"sliders",fg:"text-teal",bg:"bg-surface-2"}};function ag(a,b){let c;if(null!=a&&("harness"===a.type?b.harnesses.some(b=>b.id===a.id):"project"===a.type?b.projects.some(b=>b.id===a.id):(c=a.id,b.assetGroups.some(a=>a.items.some(a=>a.id===c))||b.harnesses.some(a=>a.categories.some(a=>a.assets.some(a=>a.id===c))))))return a;let d=b.harnesses[0];if(d)return{type:"harness",id:d.id};let e=b.projects[0];if(e)return{type:"project",id:e.id};for(let a of b.assetGroups){let b=a.items[0];if("project"!==a.type&&b)return{type:a.type,id:b.id}}return null}af.skill,af.mcp,af.hook,af.config,c(60409),c(95322),c(86020),c(76366);let ah={critical:{label:"Critical",color:d.sevCritical},high:{label:"High",color:d.sevHigh},medium:{label:"Medium",color:d.sevMedium},low:{label:"Low",color:d.sevLow}},ai={critical:"bg-sev-critical-fill text-sev-critical",high:"bg-sev-high-fill text-sev-high",medium:"bg-sev-medium-fill text-sev-medium",low:"bg-sev-low-fill text-sev-low"},aj={blocked:{label:"Blocked",icon:a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,o.jsx)("path",{d:"m6 6 12 12"})]}),color:d.sevCritical},redacted:{label:"Redacted",icon:a=>(0,o.jsxs)("svg",{...K,...a,children:[(0,o.jsx)("rect",{x:"3",y:"9",width:"18",height:"6",rx:"1.5",fill:"currentColor",stroke:"none"}),(0,o.jsx)("path",{d:"M3 5h18M3 19h12"})]}),color:d.primary},warned:{label:"Warned",icon:L,color:d.sevHigh}},ak=new Intl.NumberFormat("en-US");function al({total:a,actions:b,isLoading:c,error:d,rangeLabel:e}){return(0,o.jsx)(w,{className:"flex flex-col shadow-sm",children:(0,o.jsxs)(D,{"aria-busy":c,className:"flex flex-1 flex-col justify-center gap-4",children:[(0,o.jsxs)("div",{className:"flex justify-between gap-3",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"text-sm font-semibold text-text",children:"Enforcement actions"}),(0,o.jsx)("div",{className:"mt-0.5 text-xs text-text-3",children:e.toLowerCase()})]}),(0,o.jsxs)("div",{className:"text-right",children:[c?(0,o.jsx)(J,{className:"ml-auto h-5 w-12"}):(0,o.jsx)("div",{className:"font-display text-xl font-semibold leading-none text-text",children:d?"—":ak.format(a)}),(0,o.jsx)("div",{className:"mt-0.5 text-label text-text-3",children:"total intercepted"})]})]}),d?(0,o.jsx)($,{message:d}):c?(0,o.jsx)("div",{className:"flex gap-3",children:[0,1,2].map(a=>(0,o.jsx)(J,{className:"h-20 flex-1"},a))}):0===a?(0,o.jsx)(_,{message:"No enforcement actions in this range."}):(0,o.jsx)("div",{className:"flex gap-3",children:b.map(a=>{let b=aj[a.kind],c=b.icon,d=a.delta>0;return(0,o.jsxs)("div",{className:"min-w-0 flex-1 border-l-[3px] pl-3",style:{borderColor:b.color},children:[(0,o.jsxs)("div",{className:"inline-flex items-center gap-1.5",style:{color:b.color},children:[(0,o.jsx)(c,{"aria-hidden":!0,focusable:!1,className:"size-4"}),(0,o.jsx)("span",{className:"text-xs font-semibold text-text-2",children:b.label})]}),(0,o.jsx)("div",{className:"mt-2 font-display text-3xl font-semibold leading-none text-text",children:ak.format(a.count)}),0!==a.delta&&(0,o.jsxs)("div",{className:"mt-1 inline-flex items-center gap-0.5 text-xs font-semibold text-text-3",children:[d?(0,o.jsx)(N,{"aria-hidden":!0,focusable:!1,className:"size-3"}):(0,o.jsx)(O,{"aria-hidden":!0,focusable:!1,className:"size-3"}),d?"+":"−",ak.format(Math.abs(a.delta))," wk/wk"]})]},a.kind)})})]})})}let am=[{key:"critical",label:"Critical",color:d.sevCritical},{key:"high",label:"High",color:d.sevHigh},{key:"medium",label:"Medium",color:d.sevMedium}];function an({points:a,isLoading:b,error:c}){let d=a.every(a=>a.critical+a.high+a.medium===0);return(0,o.jsxs)(w,{className:"mt-4 shadow-sm xl:mt-5",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{children:(0,o.jsx)(P,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Findings over time"}),(0,o.jsx)(B,{children:"New sensitive-data detections per day"})]}),(0,o.jsx)(C,{className:"gap-3 text-xs text-text-2",children:am.map(a=>(0,o.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,o.jsx)("span",{className:"size-2 rounded-xs",style:{background:a.color}}),a.label]},a.key))})]}),(0,o.jsx)(D,{"aria-busy":b,className:"pb-2",children:c?(0,o.jsx)($,{message:c}):b?(0,o.jsx)(J,{className:"h-40 w-full"}):d?(0,o.jsx)(_,{message:"No findings in this range."}):(0,o.jsx)(n.AreaChart,{data:a,series:am,height:160})})]})}var ao=c(69860);function ap({items:a,isLoading:b,error:c}){return(0,o.jsxs)(w,{className:"flex h-full flex-col shadow-sm",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{children:(0,o.jsx)(V,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Recently resolved"}),(0,o.jsx)(B,{children:"Findings moved to resolved, newest first"})]})]}),(0,o.jsx)(D,{"aria-busy":b,className:"flex flex-col",children:c?(0,o.jsx)($,{message:c}):b?(0,o.jsx)("div",{className:"flex flex-col gap-3 py-2",children:[0,1,2].map(a=>(0,o.jsx)(J,{className:"h-12 w-full"},a))}):0===a.length?(0,o.jsx)(_,{message:"No resolved findings yet."}):a.map((b,c)=>(0,o.jsx)(aq,{item:b,last:c===a.length-1},b.findingKey))})]})}function aq({item:a,last:b}){return(0,o.jsxs)("div",{className:v("relative flex gap-3",!b&&"pb-4"),children:[!b&&(0,o.jsx)("span",{className:"absolute bottom-0 left-4 top-8 w-px bg-text/6"}),(0,o.jsx)("span",{className:v("z-10 grid size-8 shrink-0 place-items-center rounded-lg",ai[a.severity]),children:(0,o.jsx)(V,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsx)("span",{className:"truncate text-sm font-semibold text-text",title:a.ruleId,children:a.ruleId}),(0,o.jsx)("span",{className:"ml-auto shrink-0 text-xs text-text-3",children:g(a.resolvedAt)})]}),(0,o.jsxs)("div",{className:"mt-1.5 flex items-center gap-1.5 text-xs text-text-3",children:[(0,o.jsx)("span",{className:"shrink-0",children:ah[a.severity].label}),(0,o.jsx)("span",{className:"shrink-0 text-border-strong",children:"\xb7"}),(0,o.jsx)("span",{className:"truncate font-mono",title:a.path,children:a.path})]})]})]})}let ar={critical:4,high:3,medium:2,low:1},as={secret:"Rotate the exposed credentials and move them out of prompts (secrets manager / env vars).",pii:"Remove or mask personal data before it reaches the model.",financial:"Strip card and account numbers; share only non-sensitive references.",phi:"Remove protected health information — it should never reach an external model.",code_context:"Confirm this proprietary code context is safe to share.",custom:"Review against your organization’s custom policy."},at={secret:{title:"Exposed secret detected",action:"Rotate"},pii:{title:"Personal data in a prompt",action:"Remove"},financial:{title:"Financial data detected",action:"Strip"},phi:{title:"Health information detected",action:"Remove"},code_context:{title:"Proprietary code shared",action:"Review"},custom:{title:"Custom policy match",action:"Review"}};function au(a){return(function(a){let b=new Map;for(let c of a){let a=b.get(c.category)??{category:c.category,count:0,severity:c.severity,weight:0,ruleId:c.ruleId};a.count++;let d=ar[c.severity]??0;d>a.weight&&(a.weight=d,a.severity=c.severity,a.ruleId=c.ruleId),b.set(c.category,a)}return[...b.values()].sort((a,b)=>b.weight-a.weight||b.count-a.count).slice(0,10)})(a).map(a=>{var b;let c=at[a.category]??{title:`${a.category} finding`,action:"Review"};return{id:`local-${a.category}`,category:a.category,severity:"critical"===(b=a.severity)||"high"===b||"medium"===b?b:"low",title:c.title,description:as[a.category]??"Review this finding against your policy.",subjects:[{type:"rule",id:a.ruleId,label:`${a.ruleId} \xb7 ${String(a.count)} finding${1===a.count?"":"s"}`}],action:{mode:"navigate",type:"review_findings",label:c.action,href:"/findings"}}})}function av({providers:a,isLoading:b,error:c,rangeLabel:e}){return(0,o.jsxs)(w,{className:"flex flex-col shadow-sm",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{className:"bg-teal-fill text-teal",children:(0,o.jsx)(Q,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Scan coverage"}),(0,o.jsxs)(B,{children:["By provider \xb7 ",e.toLowerCase()]})]})]}),(0,o.jsx)(D,{"aria-busy":b,className:"flex flex-col gap-2.5",children:c?(0,o.jsx)($,{message:c}):b?[0,1,2,3,4].map(a=>(0,o.jsx)(J,{className:"h-6 w-full"},a)):a.map(a=>{let b=!a.supported,c=100===a.coverage?d.ok:a.coverage>=60?d.sevMedium:d.sevHigh;return(0,o.jsxs)("div",{className:v("flex items-center gap-2.5",b&&"opacity-45"),children:[(0,o.jsx)("span",{className:v(b&&"grayscale"),children:(0,o.jsx)(r,{id:a.provider})}),(0,o.jsxs)("span",{className:"w-28 shrink-0 truncate text-ui text-text",children:[q[a.provider].label,b&&(0,o.jsx)("span",{className:"sr-only",children:" — not yet supported"})]}),b?(0,o.jsx)("span",{"aria-hidden":!0,className:"block h-1.5 flex-1 rounded-full bg-surface-3"}):(0,o.jsx)(G,{value:a.coverage,max:100,color:c,height:6,"aria-label":`${q[a.provider].label} scan coverage`}),b?(0,o.jsx)("span",{className:"w-9 shrink-0 text-right text-label font-semibold uppercase tracking-wide text-text-3",children:"Soon"}):(0,o.jsxs)("span",{className:"w-9 shrink-0 text-right text-xs font-semibold text-text-2",children:[a.coverage,"%"]})]},a.provider)})})]})}function aw({bySeverity:a,total:b,needsRemediation:c,isLoading:d,error:e}){let f=({bySeverity:a}).bySeverity.some(a=>void 0!==a.caught||void 0!==a.openAtRest),g=a.reduce((a,b)=>a+(b.caught??0),0);return(0,o.jsxs)(w,{className:"flex flex-col shadow-sm",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{className:"bg-sev-critical-fill text-sev-critical",children:(0,o.jsx)(L,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:f?"By severity":"Open by severity"}),(0,o.jsx)(B,{children:d?"Loading…":e?"—":`${ak.format(b)} findings`})]})]}),(0,o.jsx)(D,{"aria-busy":d,className:"flex items-center gap-4",children:e?(0,o.jsx)($,{message:e}):d?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(J,{className:"size-30 shrink-0 rounded-full"}),(0,o.jsx)("div",{className:"flex flex-1 flex-col gap-2",children:[0,1,2,3].map(a=>(0,o.jsx)(J,{className:"h-4 w-full"},a))})]}):0===b?(0,o.jsx)(_,{message:f?"No findings.":"No open findings."}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.Donut,{segments:a.map(a=>({label:ah[a.severity].label,value:f?a.caught??0:a.count,color:ah[a.severity].color})),size:120,thickness:15,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"font-display text-2xl font-semibold leading-none text-text",children:ak.format(f?g:b)}),(0,o.jsx)("div",{className:"text-label text-text-3",children:f?"caught":"open"})]})}),(0,o.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[f?(0,o.jsxs)("div",{className:"flex items-center justify-between border-b border-border pb-2",children:[(0,o.jsx)("span",{className:"text-ui font-medium text-text-2",children:"Needs remediation"}),(0,o.jsx)("span",{className:"text-ui font-bold text-text",children:ak.format(c??0)})]}):null,a.map(a=>(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsx)("span",{className:"size-2 rounded-xs",style:{background:ah[a.severity].color}}),(0,o.jsx)("span",{className:"flex-1 text-ui text-text-2",children:ah[a.severity].label}),(0,o.jsx)("span",{className:"text-ui font-bold text-text",children:ak.format(a.count)})]},a.severity))]})]})})]})}function ax({items:a,isLoading:b,error:c}){return(0,o.jsxs)(w,{className:"flex flex-col shadow-sm min-w-0",children:[(0,o.jsxs)(x,{children:[(0,o.jsx)(y,{children:(0,o.jsx)(R,{"aria-hidden":!0,focusable:!1,className:"size-4"})}),(0,o.jsxs)(z,{children:[(0,o.jsx)(A,{children:"Top sources"}),(0,o.jsx)(B,{children:"Repos & people by findings"})]})]}),(0,o.jsx)(D,{"aria-busy":b,className:"flex flex-col gap-3",children:c?(0,o.jsx)($,{message:c}):b?[0,1,2,3,4].map(a=>(0,o.jsx)(J,{className:"h-7 w-full"},a)):0===a.length?(0,o.jsx)("div",{className:"py-6 text-center text-xs text-text-3",children:"No sources yet."}):a.map(a=>(0,o.jsx)(ay,{source:a},a.id))})]})}function ay({source:a}){let b="user"===a.kind;return(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)("span",{className:v("flex size-7 shrink-0 items-center justify-center bg-surface-2 text-text-2",b?"rounded-full":"rounded-md"),children:(0,o.jsx)(b?S:T,{"aria-hidden":!0,focusable:!1,className:"size-3.5"})}),(0,o.jsxs)("div",{className:"min-w-0 flex-1 flex items-center justify-between gap-2",children:[(0,o.jsx)("span",{className:v("truncate text-sm text-text",!b&&"font-mono"),title:a.name,children:a.name}),(0,o.jsx)("span",{className:"text-sm font-bold text-text shrink-0",children:ak.format(a.findingsCount)})]})]})}c(33028),c(81757),c(74005),c(39121),c(79607),c(17879),c(18060),c(64870),c(31241),c(62027),c(23137),c(73151),c(55375),c(55033),c(66528)},29158:(a,b,c)=>{c.d(b,{EmptyState:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call EmptyState() from the server but EmptyState is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","EmptyState");(0,d.registerClientReference)(function(){throw Error("Attempted to call Section() from the server but Section is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","Section"),(0,d.registerClientReference)(function(){throw Error("Attempted to call RadioCardList() from the server but RadioCardList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","RadioCardList"),(0,d.registerClientReference)(function(){throw Error("Attempted to call AccessControl() from the server but AccessControl is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","AccessControl"),(0,d.registerClientReference)(function(){throw Error("Attempted to call AccessLabel() from the server but AccessLabel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","AccessLabel"),(0,d.registerClientReference)(function(){throw Error("Attempted to call AccessBar() from the server but AccessBar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","AccessBar"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TrustPill() from the server but TrustPill is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","TrustPill"),(0,d.registerClientReference)(function(){throw Error("Attempted to call FlagChip() from the server but FlagChip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","FlagChip"),(0,d.registerClientReference)(function(){throw Error("Attempted to call FlagChips() from the server but FlagChips is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","FlagChips"),(0,d.registerClientReference)(function(){throw Error("Attempted to call VisBadge() from the server but VisBadge is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","VisBadge"),(0,d.registerClientReference)(function(){throw Error("Attempted to call OriginTag() from the server but OriginTag is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/chips.tsx","OriginTag")},29906:(a,b,c)=>{c.d(b,{HarnessSelect:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call HarnessSelect() from the server but HarnessSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/HarnessSelect.tsx","HarnessSelect")},30652:(a,b,c)=>{c.d(b,{ActivityTokenUsageView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ActivityTokenUsageView() from the server but ActivityTokenUsageView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/ActivityTokenUsageView.tsx","ActivityTokenUsageView")},31241:(a,b,c)=>{c.d(b,{ROTATE_CONFIRMATION:()=>e,RotateKeyDialog:()=>f});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ROTATE_CONFIRMATION() from the server but ROTATE_CONFIRMATION is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/RotateKeyDialog.tsx","ROTATE_CONFIRMATION"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call RotateKeyDialog() from the server but RotateKeyDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/RotateKeyDialog.tsx","RotateKeyDialog")},33028:(a,b,c)=>{c.d(b,{RecommendedActionsCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call RecommendedActionsCardView() from the server but RecommendedActionsCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/security/RecommendedActionsCardView.tsx","RecommendedActionsCardView")},37920:(a,b,c)=>{c.d(b,{FindingDetailView:()=>f,formatConfidence:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call formatConfidence() from the server but formatConfidence is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingDetailView.tsx","formatConfidence"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call FindingDetailView() from the server but FindingDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingDetailView.tsx","FindingDetailView")},38203:(a,b,c)=>{c.d(b,{UpdateModal:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call UpdateModal() from the server but UpdateModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/UpdateModal.tsx","UpdateModal")},39121:(a,b,c)=>{c.d(b,{ScopePicker:()=>g,StateTag:()=>e,StateTagFor:()=>f});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call StateTag() from the server but StateTag is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/atoms.tsx","StateTag"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call StateTagFor() from the server but StateTagFor is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/atoms.tsx","StateTagFor"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call ScopePicker() from the server but ScopePicker is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/atoms.tsx","ScopePicker")},47854:(a,b,c)=>{c.d(b,{PolicyDetailView:()=>g,PolicyListView:()=>f,PolicyStatsView:()=>e});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call PolicyStatsView() from the server but PolicyStatsView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/policies/PoliciesView.tsx","PolicyStatsView"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PolicyListView() from the server but PolicyListView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/policies/PoliciesView.tsx","PolicyListView"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call PolicyDetailView() from the server but PolicyDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/policies/PoliciesView.tsx","PolicyDetailView")},55033:(a,b,c)=>{c.d(b,{DataSharesTableView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call DataSharesTableView() from the server but DataSharesTableView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/data-shares/DataSharesTableView.tsx","DataSharesTableView")},55375:(a,b,c)=>{c.d(b,{DataShareDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call DataShareDetailView() from the server but DataShareDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/data-shares/DataShareDetailView.tsx","DataShareDetailView")},60409:(a,b,c)=>{c.d(b,{FileDetailDrawer:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call FileDetailDrawer() from the server but FileDetailDrawer is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/FileDetailDrawer.tsx","FileDetailDrawer")},62027:(a,b,c)=>{c.d(b,{AvailablePluginsCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call AvailablePluginsCardView() from the server but AvailablePluginsCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/updates/AvailablePluginsCardView.tsx","AvailablePluginsCardView")},64870:(a,b,c)=>{c.d(b,{ExceptionsTableView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ExceptionsTableView() from the server but ExceptionsTableView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/ExceptionsTableView.tsx","ExceptionsTableView")},66528:(a,b,c)=>{c.d(b,{NeedsReviewStripView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call NeedsReviewStripView() from the server but NeedsReviewStripView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/data-shares/NeedsReviewStripView.tsx","NeedsReviewStripView")},69860:(a,b,c)=>{c.d(b,{MttrTrendCardView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call MttrTrendCardView() from the server but MttrTrendCardView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/security/MttrTrendCardView.tsx","MttrTrendCardView")},71296:(a,b,c)=>{c.d(b,{MatcherModal:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call MatcherModal() from the server but MatcherModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/MatcherModal.tsx","MatcherModal")},72670:(a,b,c)=>{c.d(b,{DETECTION_FILTER_TABS:()=>e,DetectionsListView:()=>f});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call DETECTION_FILTER_TABS() from the server but DETECTION_FILTER_TABS is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/DetectionsListView.tsx","DETECTION_FILTER_TABS"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call DetectionsListView() from the server but DetectionsListView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/detections/DetectionsListView.tsx","DetectionsListView")},73151:(a,b,c)=>{c.d(b,{WorkspaceSettingsFormView:()=>e});var d=c(87797);(0,d.registerClientReference)(function(){throw Error("Attempted to call HANDLING_SECTION_DESCRIPTION() from the server but HANDLING_SECTION_DESCRIPTION is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/settings/WorkspaceSettingsFormView.tsx","HANDLING_SECTION_DESCRIPTION"),(0,d.registerClientReference)(function(){throw Error("Attempted to call POLICY_CHOICES() from the server but POLICY_CHOICES is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/settings/WorkspaceSettingsFormView.tsx","POLICY_CHOICES");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call WorkspaceSettingsFormView() from the server but WorkspaceSettingsFormView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/settings/WorkspaceSettingsFormView.tsx","WorkspaceSettingsFormView")},74005:(a,b,c)=>{c.d(b,{ApproveExceptionDialog:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ApproveExceptionDialog() from the server but ApproveExceptionDialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/ApproveExceptionDialog.tsx","ApproveExceptionDialog")},74366:(a,b,c)=>{c.d(b,{SessionDetailView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call SessionDetailView() from the server but SessionDetailView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/SessionDetailView.tsx","SessionDetailView")},76366:(a,b,c)=>{c.d(b,{ProjectPane:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call ProjectPane() from the server but ProjectPane is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/ProjectPane.tsx","ProjectPane")},76519:(a,b,c)=>{c.r(b),c.d(b,{AreaChart:()=>h,Donut:()=>e,Sparkline:()=>f,useMeasuredWidth:()=>g});var d=c(87797);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Donut() from the server but Donut is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","Donut"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call Sparkline() from the server but Sparkline is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","Sparkline"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call useMeasuredWidth() from the server but useMeasuredWidth is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","useMeasuredWidth"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call AreaChart() from the server but AreaChart is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/charts.tsx","AreaChart")},77976:(a,b,c)=>{c.d(b,{TimeRangeSelect:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call TimeRangeSelect() from the server but TimeRangeSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/shared/TimeRangeSelect.tsx","TimeRangeSelect")},79607:(a,b,c)=>{c.d(b,{BlockedLedgerView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call BlockedLedgerView() from the server but BlockedLedgerView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/BlockedLedgerView.tsx","BlockedLedgerView")},81757:(a,b,c)=>{c.d(b,{AddExceptionForm:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call AddExceptionForm() from the server but AddExceptionForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/exceptions/AddExceptionForm.tsx","AddExceptionForm")},86020:(a,b,c)=>{c.d(b,{InventoryNav:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call InventoryNav() from the server but InventoryNav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/InventoryNav.tsx","InventoryNav")},95322:(a,b,c)=>{c.d(b,{HarnessOverview:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call HarnessOverview() from the server but HarnessOverview is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/inventory/HarnessOverview.tsx","HarnessOverview")},95986:(a,b,c)=>{c.d(b,{FindingsTableView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call FindingsTableView() from the server but FindingsTableView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/findings/FindingsTableView.tsx","FindingsTableView")},96609:(a,b,c)=>{c.d(b,{SessionListView:()=>d});let d=(0,c(87797).registerClientReference)(function(){throw Error("Attempted to call SessionListView() from the server but SessionListView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/packages/dashboard-ui/src/activity/SessionListView.tsx","SessionListView")}};
|