1import{i as r,p as n}from"./phoneUtils-BNyk9-6c.js";const i=t=>t?/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(t)?null:"Please enter a valid email address":null,a=t=>{if(r(t??void 0))return null;const e=n(t);return e?/^\d{10}$/.test(String(e.nationalNumber))?null:"Phone number must be exactly 10 digits after the country code":"Enter a valid phone number with country code"},l=t=>r(t??void 0)?null:a(t),u=(t,e="Name")=>!t||t.trim().length<2?`${e} must be at least 2 characters`:/^[0-9a-f]{8}-[0-9a-f]{4}/i.test(t)?`${e} cannot be a system ID`:t.trim().toLowerCase()==="contact"?"Please enter the actual contact name":null,o=t=>{if(!t)return null;try{return new URL(t.startsWith("http")?t:"https://"+t),null}catch{return"Please enter a valid URL (e.g. https://example.com)"}},c=(t,e)=>t==null||t.toString().trim()===""?`${e} is required`:null;export{u as a,i as b,l as c,o as d,c as e,a as v};
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.