function n(e=""){return e.toUpperCase()===e}const a=["-","_","/","."];function f(e,u=a){const s=[];let r="",p=n(e[0]),i=u.includes(e[0]);for(const t of e.split("")){const o=u.includes(t);o?(s.push(r),r="",p=!1,i=!0):!i&&!p&&n(t)?(s.push(r),r=t,p=!0,i=!1):(r+=t,p=n(t),i=o)}return r&&s.push(r),s}function l(e){return e?e[0].toUpperCase()+e.substr(1):""}function c(e="",u="-"){return(Array.isArray(e)?e:f(e)).map((s="")=>s.toLocaleLowerCase()).join(u)}export{c as k,l as u};
