{"version":3,"sources":["jsdelivr-header.js","/npm/@pavus/word-wrap@1.2.6/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACCA,SAAS,iBAAiB,GAGxB,OAFc,EAAI,MAAM,MACG,KAAK,GAAS,EAAK,YAC1B,KAAK,KAC3B,CAsCA,SAAS,SAAS,GAChB,OAAO,CACT,CAtCA,OAAO,QAAU,SAAS,EAAK,GAE7B,GAAW,MAAP,EACF,OAAO,EAGT,IAAI,GALJ,EAAU,GAAW,CAAC,GAKF,OAAS,GACzB,EAAoC,iBAAnB,EAAQ,OACzB,EAAQ,OACR,GAEA,EAAU,EAAQ,SAAW,KAAO,EACpC,EAAmC,mBAAnB,EAAQ,OACxB,EAAQ,OACR,SAEA,EAAc,OAAS,EAAQ,KACf,IAAhB,EAAQ,MACV,GAAe,oCAGjB,IAAI,EAAK,IAAI,OAAO,EAAa,KAE7B,EAAS,GADD,EAAI,MAAM,IAAO,IACD,KAAI,SAAS,GAIvC,MAHuB,OAAnB,EAAK,OAAO,KACd,EAAO,EAAK,MAAM,EAAG,EAAK,OAAS,IAE9B,EAAO,EAChB,IAAG,KAAK,GAKR,OAHqB,IAAjB,EAAQ,OACV,EAAS,iBAAiB,IAErB,CACT","file":"/npm/@pavus/word-wrap@1.2.6/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@pavus/word-wrap@1.2.6/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","/*!\n * word-wrap <https://github.com/jonschlinkert/word-wrap>\n *\n * Copyright (c) 2014-2023, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction trimTabAndSpaces(str) {\n  const lines = str.split('\\n');\n  const trimmedLines = lines.map((line) => line.trimEnd());\n  return trimmedLines.join('\\n');\n}\n\nmodule.exports = function(str, options) {\n  options = options || {};\n  if (str == null) {\n    return str;\n  }\n\n  var width = options.width || 50;\n  var indent = (typeof options.indent === 'string')\n    ? options.indent\n    : '';\n\n  var newline = options.newline || '\\n' + indent;\n  var escape = typeof options.escape === 'function'\n    ? options.escape\n    : identity;\n\n  var regexString = '.{1,' + width + '}';\n  if (options.cut !== true) {\n    regexString += '([\\\\s\\u200B]+|$)|[^\\\\s\\u200B]+?([\\\\s\\u200B]+|$)';\n  }\n\n  var re = new RegExp(regexString, 'g');\n  var lines = str.match(re) || [];\n  var result = indent + lines.map(function(line) {\n    if (line.slice(-1) === '\\n') {\n      line = line.slice(0, line.length - 1);\n    }\n    return escape(line);\n  }).join(newline);\n\n  if (options.trim === true) {\n    result = trimTabAndSpaces(result);\n  }\n  return result;\n};\n\nfunction identity(str) {\n  return str;\n}\n"]}