"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=new RegExp("\\p{Lu}","u"),d=new RegExp("\\p{Ll}","u"),h=new RegExp("\\p{N}","u"),k=new RegExp("\\p{L}","u"),L=new RegExp(`[${p.source}][${d.source}${h.source}]`,"u"),i=new Map;function u(e,a,n,r=""){let c="",s=!0,l=0;const C=e.length;for(;ll.toLocaleLowerCase(a.locales):l=>l.toLowerCase(),c=a!=null&&a.locales?l=>l.toLocaleUpperCase(a.locales):l=>l.toUpperCase();function s(l){return c(l.charAt(0))+r(l.slice(1))}return{camelCase:()=>u(n,r,s),capitalCase:()=>u(n,s,s," "),cobolCase:()=>u(n,c,c,"-"),constantCase:()=>u(n,c,c,"_"),dotCase:()=>u(n,r,r,"."),kebabCase:()=>u(n,r,r,"-"),noCase:()=>u(n,r,r," "),pascalCase:()=>u(n,s,s),pascalSnakeCase:()=>u(n,s,s,"_"),pathCase:()=>u(n,r,r,"/"),snakeCase:()=>u(n,r,r,"_"),trainCase:()=>u(n,s,s,"-")}}function S(e,a){return o(e,a).camelCase()}function w(e,a){return o(e,a).capitalCase()}function _(e,a){return o(e,a).cobolCase()}function g(e,a){return o(e,a).constantCase()}function U(e,a){return o(e,a).dotCase()}function W(e,a){return o(e,a).kebabCase()}function m(e,a){return o(e,a).noCase()}function T(e,a){return o(e,a).pascalCase()}function x(e,a){return o(e,a).pascalSnakeCase()}function A(e,a){return o(e,a).pathCase()}function N(e,a){return o(e,a).snakeCase()}function O(e,a){return o(e,a).trainCase()}exports.Case=o;exports.camelCase=S;exports.capitalCase=w;exports.cobolCase=_;exports.constantCase=g;exports.dotCase=U;exports.kebabCase=W;exports.noCase=m;exports.pascalCase=T;exports.pascalSnakeCase=x;exports.pathCase=A;exports.snakeCase=N;exports.trainCase=O;