{"version":3,"sources":["jsdelivr-header.js","/npm/collection-visit@1.0.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACCA,aAEA,IAAI,MAAQ,QAAQ,gBAChB,SAAW,QAAQ,aAEvB,OAAO,QAAU,SAAS,EAAY,EAAQ,GAC5C,IAAI,EAEJ,GAAmB,iBAAR,GAAqB,KAAU,EAAa,CACrD,IAAI,EAAO,GAAG,MAAM,KAAK,UAAW,GACpC,EAAS,EAAW,GAAQ,MAAM,EAAY,EAChD,MACE,EADS,MAAM,QAAQ,GACd,SAAS,MAAM,KAAM,WAErB,MAAM,MAAM,KAAM,WAG7B,YAAsB,IAAX,EACF,EAGF,CACT","file":"/npm/collection-visit@1.0.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/collection-visit@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","/*!\n * collection-visit <https://github.com/jonschlinkert/collection-visit>\n *\n * Copyright (c) 2015, 2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nvar visit = require('object-visit');\nvar mapVisit = require('map-visit');\n\nmodule.exports = function(collection, method, val) {\n  var result;\n\n  if (typeof val === 'string' && (method in collection)) {\n    var args = [].slice.call(arguments, 2);\n    result = collection[method].apply(collection, args);\n  } else if (Array.isArray(val)) {\n    result = mapVisit.apply(null, arguments);\n  } else {\n    result = visit.apply(null, arguments);\n  }\n\n  if (typeof result !== 'undefined') {\n    return result;\n  }\n\n  return collection;\n};\n"]}