{"version":3,"sources":["jsdelivr-header.js","/npm/node-list@3.0.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAQA,OAAO,QAAU,SAAU,GAOvB,IANA,IACI,GADA,EAAK,GAAM,SAAS,MACN,iBAAiB,KAC/B,EAAS,EAAS,OAClB,EAAQ,CAAC,KAAM,CAAC,EAAG,GAAI,CAAC,GACxB,EAAI,EAEA,EAAI,IAAU,GAClB,EAAK,EAAS,IACP,OAAM,EAAM,KAAK,EAAG,MAAQ,GAC/B,EAAG,KAAI,EAAM,GAAG,EAAG,IAAM,GAEjC,OAAO,CACX","file":"/npm/node-list@3.0.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/node-list@3.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","'use strict';\n\n/**\n * Create a node object of all elements with ids and names\n * @param  {DOM Element} el\n * @return {Object}\n * @api public\n */\nmodule.exports = function (el) {\n    var el = el || document.body;\n    var elements = el.querySelectorAll('*');\n    var length = elements.length;\n    var nodes = {name: {}, id: {}};\n    var i = 0;\n\n    for (i; i < length; ++i) {\n        el = elements[i];\n        if (el.name) nodes.name[el.name] = el;\n        if (el.id) nodes.id[el.id] = el;\n    }\n    return nodes;\n};\n"]}