{"version":3,"sources":["jsdelivr-header.js","/npm/swap-case@3.0.3/src/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNM,SAAU,SAAS,EAAe,GACtC,IAAI,EAAS,GACb,IAAK,MAAM,KAAQ,EAAO,CACxB,MAAM,EAAQ,EAAK,kBAAkB,GACrC,GAAU,IAAS,EAAQ,EAAK,kBAAkB,GAAU,C,CAE9D,OAAO,CACT","file":"/npm/swap-case@3.0.3/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/swap-case@3.0.3/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","export function swapCase(input: string, locale?: string[] | string) {\n  let result = \"\";\n  for (const char of input) {\n    const lower = char.toLocaleLowerCase(locale);\n    result += char === lower ? char.toLocaleUpperCase(locale) : lower;\n  }\n  return result;\n}\n"]}