1import{t as e}from"./jsx-runtime-BqYSgJeI.js";import{t}from"./button-TThYZ3po.js";import{Lr as n,Rr as r,fi as i,pi as a}from"./index-CS-cnHBU.js";var o=e();function s({id:e,label:s,value:c,onChange:l}){let u=Number(c),d=Number.isFinite(u)&&u>0?`A $100 job reports as $${(100*(1-Math.min(100,u)/100)).toFixed(2)}.`:`Leave blank to report the full amount.`;return(0,o.jsxs)(`div`,{className:`space-y-1.5 rounded-lg border border-border bg-muted/30 p-3`,children:[(0,o.jsxs)(i,{htmlFor:e,className:`text-xs font-medium`,children:[s,` fee â what percentage do they keep?`]}),(0,o.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,o.jsx)(a,{id:e,type:`number`,inputMode:`decimal`,min:0,max:100,step:`0.5`,className:`h-8 w-24`,value:c,placeholder:String(n[s]??20),onChange:e=>l(e.target.value)}),(0,o.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`%`}),n[s]!=null&&Number(c)!==n[s]?(0,o.jsxs)(t,{type:`button`,variant:`outline`,size:`sm`,className:`h-8`,onClick:()=>l(String(n[s])),children:[`Use standard `,n[s],`%`]}):null]}),r[s]?(0,o.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:r[s]}):null,(0,o.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[d,` You can change this any time on Marketplace integrations.`]})]})}export{s as t};
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.