export{settings,format,StringFormatter}from"./format/string.js";export function caseInsensitiveCompare(e,t){return null==e&&null==t?0:null==e?1:null==t?-1:e.localeCompare(t,void 0,{sensitivity:"accent"})}export function caseInsensitiveEquals(e,t){return e?.toLowerCase()===t?.toLowerCase()}export function escapeRegExp(e){return e?e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"):e}export function camelToKebabCase(e){return e.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`))}export function kebabToCamelCase(e){return e.replace(/-[a-z]/g,(e=>e[1]?.toUpperCase()??""))}