{"ast":null,"code":"\"use strict\";\n\nfunction _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (a) {\n 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]);\n return a;\n }, _extends.apply(this, arguments);\n}\nvar normalMerge = [\"attrs\", \"props\", \"domProps\"],\n toArrayMerge = [\"class\", \"style\", \"directives\"],\n functionalMerge = [\"on\", \"nativeOn\"],\n mergeJsxProps = function (a) {\n return a.reduce(function (c, a) {\n for (var b in a) if (!c[b]) c[b] = a[b];else if (-1 !== normalMerge.indexOf(b)) c[b] = _extends({}, c[b], a[b]);else if (-1 !== toArrayMerge.indexOf(b)) {\n var d = c[b] instanceof Array ? c[b] : [c[b]],\n e = a[b] instanceof Array ? a[b] : [a[b]];\n c[b] = [].concat(d, e);\n } else if (-1 !== functionalMerge.indexOf(b)) {\n for (var f in a[b]) if (c[b][f]) {\n var g = c[b][f] instanceof Array ? c[b][f] : [c[b][f]],\n h = a[b][f] instanceof Array ? a[b][f] : [a[b][f]];\n c[b][f] = [].concat(g, h);\n } else c[b][f] = a[b][f];\n } else if (\"hook\" === b) for (var i in a[b]) c[b][i] = c[b][i] ? mergeFn(c[b][i], a[b][i]) : a[b][i];else c[b] = a[b];\n return c;\n }, {});\n },\n mergeFn = function (a, b) {\n return function () {\n a && a.apply(this, arguments), b && b.apply(this, arguments);\n };\n };\nmodule.exports = mergeJsxProps;","map":{"version":3,"names":["_extends","Object","assign","bind","a","b","c","arguments","length","d","prototype","hasOwnProperty","call","apply","normalMerge","toArrayMerge","functionalMerge","mergeJsxProps","reduce","indexOf","Array","e","concat","f","g","h","i","mergeFn","module","exports"],"sources":["E:/work/sino/sino-h5/node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js"],"sourcesContent":["\"use strict\";function _extends(){return _extends=Object.assign?Object.assign.bind():function(a){for(var b,c=1;c