"use strict";const l=require("./index.cjs121.js");(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var s=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function u(r){return r.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,function(e,a,t){return a>0&&a+e.length!==t.length&&e.search(s)>-1&&t.charAt(a-2)!==":"&&(t.charAt(a+e.length)!=="-"||t.charAt(a-1)==="-")&&t.charAt(a-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)})}function o(r){return typeof r=="string"&&r.indexOf("@")!==-1}var i="REDACTED (Potential Email Address)";function g(r){return o(r)?(console.warn("This arg looks like an email address, redacting."),i):r}function f(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,t=r||"";return e&&(t=u(r)),a&&(t=g(t)),t}})(l.__exports);
//# sourceMappingURL=index.cjs119.js.map
