1import{j as s}from"./react-vendor-DbzdS4FP.js";import{s as a}from"./index.module-Cl1f8c8i.js";import{cP as l}from"./ui-vendor-DCtmHMLE.js";import"./markdown-vendor-DonjKQI4.js";const n={ask:{bg:"rgba(245, 158, 11, 0.24)",border:"rgba(217, 119, 6, 0.36)",text:"#8a4b00"},allow:{bg:"rgba(34, 197, 94, 0.22)",border:"rgba(22, 163, 74, 0.35)",text:"#17643a"},deny:{bg:"rgba(239, 68, 68, 0.2)",border:"rgba(220, 38, 38, 0.34)",text:"#9f1f26"}};function g(o){const e=n[o];return{"--mcp-policy-segment-bg":e.bg,"--mcp-policy-segment-border":e.border,"--mcp-policy-segment-text":e.text}}const i=({value:o,onChange:e,effectLabel:t})=>s.jsx(l,{className:a.accessPolicySegmented,style:g(o),value:o,onChange:r=>e(r),options:[{label:t("ask"),value:"ask"},{label:t("allow"),value:"allow"},{label:t("deny"),value:"deny"}]});export{i as MCPAccessPolicySegmented};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.