function t(e){return e.split(" ").filter(Boolean).map(n=>n.charAt(0).toUpperCase()+n.slice(1).toLowerCase()).join(" ")}function o(e){const n=String(e??"").trim();if(n==="")return"";const r=n.replace(/\bwebsite\b/gi,"").replace(/\s+/g," ").trim();return r===""?"":t(r)}function a(e){const n=o(e).toLowerCase();return n!==""&&n!=="unknown"}function i(e){const n=o(e);return n!==""&&n.toLowerCase()!=="unknown"?`Plan: ${n}`:""}export{i as f,a as i,o as n};
