{"version":3,"sources":["jsdelivr-header.js","/npm/replace-string-at-position@1.0.4/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,SAAS,wBAAwB,EAAgB,EAAc,EAAW,GACxE,IAEI,EAAqB,EAFR,EAAa,OAM9B,OALa,EAAe,UAAU,EAAG,GAGnB,EADR,EAAe,UAAU,EAAoB,EAAe,OAI5E,CAEA,OAAO,QAAU","file":"/npm/replace-string-at-position@1.0.4/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/replace-string-at-position@1.0.4/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","'use strict';\r\n\r\nfunction replaceStringAtPosition(originalString, sourceString, newString, position) {\r\n  var linkLength = sourceString.length;\r\n  var prefix = originalString.substring(0, position);\r\n  var afterStartPosition = position + linkLength;\r\n  var postfix = originalString.substring(afterStartPosition, originalString.length);\r\n  var result = prefix + newString + postfix;\r\n\r\n  return result;\r\n}\r\n\r\nmodule.exports = replaceStringAtPosition;\r\n"]}