{"version":3,"sources":["jsdelivr-header.js","/npm/buffer-equal-constant-time@1.0.1/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACLA,aACA,IAAI,OAAS,QAAQ,UAAU,OAC3B,WAAa,QAAQ,UAAU,WAInC,SAAS,SAAS,EAAG,GAGnB,IAAK,OAAO,SAAS,KAAO,OAAO,SAAS,GAC1C,OAAO,EAMT,GAAI,EAAE,SAAW,EAAE,OACjB,OAAO,EAIT,IADA,IAAI,EAAI,EACC,EAAI,EAAG,EAAI,EAAE,OAAQ,IAE5B,GAAK,EAAE,GAAK,EAAE,GAEhB,OAAa,IAAN,CACT,CAtBA,OAAO,QAAU,SAwBjB,SAAS,QAAU,WACjB,OAAO,UAAU,MAAQ,WAAW,UAAU,MAAQ,SAAe,GACnE,OAAO,SAAS,KAAM,EACxB,CACF,EAEA,IAAI,aAAe,OAAO,UAAU,MAChC,iBAAmB,WAAW,UAAU,MAC5C,SAAS,QAAU,WACjB,OAAO,UAAU,MAAQ,aACzB,WAAW,UAAU,MAAQ,gBAC/B","file":"/npm/buffer-equal-constant-time@1.0.1/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/buffer-equal-constant-time@1.0.1/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","/*jshint node:true */\n'use strict';\nvar Buffer = require('buffer').Buffer; // browserify\nvar SlowBuffer = require('buffer').SlowBuffer;\n\nmodule.exports = bufferEq;\n\nfunction bufferEq(a, b) {\n\n  // shortcutting on type is necessary for correctness\n  if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n    return false;\n  }\n\n  // buffer sizes should be well-known information, so despite this\n  // shortcutting, it doesn't leak any information about the *contents* of the\n  // buffers.\n  if (a.length !== b.length) {\n    return false;\n  }\n\n  var c = 0;\n  for (var i = 0; i < a.length; i++) {\n    /*jshint bitwise:false */\n    c |= a[i] ^ b[i]; // XOR\n  }\n  return c === 0;\n}\n\nbufferEq.install = function() {\n  Buffer.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {\n    return bufferEq(this, that);\n  };\n};\n\nvar origBufEqual = Buffer.prototype.equal;\nvar origSlowBufEqual = SlowBuffer.prototype.equal;\nbufferEq.restore = function() {\n  Buffer.prototype.equal = origBufEqual;\n  SlowBuffer.prototype.equal = origSlowBufEqual;\n};\n"]}