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