{"version":3,"sources":["jsdelivr-header.js","/npm/ascii-hash@1.0.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,SAAS,UAAU,EAAU,IACzB,IAAI,EAAO,EAEX,IAAK,IAAI,EAAI,EAAG,EAAI,EAAQ,OAAQ,IAChC,GAAQ,EAAQ,WAAW,GAG/B,OAAO,OAAO,EAClB,CAEA,MAAM,MAAQ,IAAI,IAElB,SAAS,aAAa,EAAU,IAC5B,GAAI,MAAM,IAAI,GACV,OAAO,MAAM,IAAI,GAGrB,MAAM,EAAO,UAAU,GAGvB,OAFA,MAAM,IAAI,EAAS,GAEZ,CACX,CAEA,OAAO,QAAU,CACb,oBACA","file":"/npm/ascii-hash@1.0.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/ascii-hash@1.0.0/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","function asciiHash(message = \"\") {\n    let hash = 0;\n\n    for (let i = 0; i < message.length; i++) {\n        hash += message.charCodeAt(i);\n    }\n\n    return String(hash);\n}\n\nconst cache = new Map();\n\nfunction asciiHashMem(message = \"\") {\n    if (cache.has(message)) {\n        return cache.get(message);\n    }\n\n    const hash = asciiHash(message);\n    cache.set(message, hash);\n\n    return hash;\n}\n\nmodule.exports = {\n    asciiHash,\n    asciiHashMem\n}\n"]}