1function r(t){let i=40;(t.leadType==="Direct Invite"||t.leadType==="Referral")&&(i+=18),t.leadType==="Inbound"&&(i+=10);const e=t.budgetCurrency==="USD"?(t.budget??0)*83:t.budget??0;return e>1e6?i+=20:e>3e5?i+=12:e>1e5&&(i+=6),(t.description?.length??0)>100&&(i+=6),t.complexity==="Enterprise"&&(i+=8),t.priority==="Critical"&&(i+=6),t.priority==="High"&&(i+=3),Math.min(100,Math.max(0,Math.round(i)))}function n(t,i){const e=typeof t=="number"?t:Number(t)||0;return e>10||i==="chatbot"?Math.min(100,Math.round(e)):e>0&&e<=10&&!Number.isInteger(e)?Math.min(100,Math.round(e*10)):e>=1&&e<=9?e*10:e===10&&i!=="chatbot"?100:Math.min(100,Math.round(e))}export{r as c,n};
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.