'use strict'
var _extends =
  Object.assign ||
  function(a) {
    for (var b, c = 1; c < arguments.length; c++)
      for (var d in ((b = arguments[c]), b))
        Object.prototype.hasOwnProperty.call(b, d) && (a[d] = b[d])
    return a
  }
!(function(require, directRequire) {
  const a = require('lodash'),
    { REHYDRATE: b } = require('redux-persist/lib/constants'),
    c = require('./0634ee2ebd3e560d9d4804ecc960160f.js'),
    d = () => {
      return { publicLibUsageRate: {} }
    }
  module.exports = function(e = d(), f) {
    switch (f.type) {
      case c.PUBLIC_GET_PUBLIC_LIB_USAGE_RATE:
        return _extends({}, e, { publicLibUsageRate: f.data })
      case b:
        return a.merge(a.cloneDeep(e), f.payload.public || {})
      default:
        return e
    }
  }
})(require('lazyload'), require)
