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AAQ,gBAEX,OAAO,QAAe,EAAM,MAAM,KAAM,CAAC,GAAM,OAAO,EAAM,KAAK,EAAQ,KAE1E,GAAE,KAAK","file":"/npm/zu@1.1.1/lib/zu.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/zu@1.1.1/lib/zu.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","// Generated by CoffeeScript 1.12.7\n(function() {\n  var arg1, arg2, converge, hasclass, keys, mixin, notArray, ref, set, values, withcurry, withify, withk, zipwith, zu,\n    slice = [].slice;\n\n  ref = require('fnuc'), zipwith = ref.zipwith, set = ref.set, mixin = ref.mixin, keys = ref.keys, values = ref.values, converge = ref.converge;\n\n  hasclass = require('./hasclass');\n\n  withcurry = function(fn) {\n    return function(a) {\n      if (a.constructor === String) {\n        return function(ns) {\n          return fn(ns, a);\n        };\n      } else {\n        return function(exp) {\n          return fn(a, exp);\n        };\n      }\n    };\n  };\n\n  withk = function(s) {\n    return s + \"With\";\n  };\n\n  withify = (function() {\n    var z;\n    z = function(k, fn) {\n      return set(withk(k), withcurry(fn))(set({}, k, fn));\n    };\n    return converge(keys, values, zipwith(z));\n  })();\n\n  arg1 = require('./domparser');\n\n  notArray = function(ns) {\n    if (Array.isArray(ns)) {\n      return ns[0];\n    } else {\n      return ns;\n    }\n  };\n\n  arg2 = mixin({\n    attr: function(ns, name) {\n      var ref1, ref2;\n      return (ref1 = notArray(ns)) != null ? (ref2 = ref1.attribs) != null ? ref2[name] : void 0 : void 0;\n    },\n    attrList: function(ns) {\n      var ref1, ref2;\n      return Object.keys((ref1 = (ref2 = notArray(ns)) != null ? ref2.attribs : void 0) != null ? ref1 : {});\n    },\n    hasClass: function(ns, name) {\n      var i, len, n;\n      for (i = 0, len = ns.length; i < len; i++) {\n        n = ns[i];\n        if (hasclass(n, name)) {\n          return true;\n        }\n      }\n      return false;\n    }\n  }, require('./selectors'));\n\n  module.exports = zu = mixin.apply(null, [arg1].concat(slice.call(withify(arg2))));\n\n}).call(this);\n\n\n"]}