git-digger
Version:
 
108 lines (106 loc) • 5.41 kB
JavaScript
(function (_, kotlin_kotlin) {
'use strict';
//region block: imports
var imul = Math.imul;
var protoOf = kotlin_kotlin.$_$.f8;
var VOID = kotlin_kotlin.$_$.g;
var toString = kotlin_kotlin.$_$.i8;
var toString_0 = kotlin_kotlin.$_$.gc;
var getStringHashCode = kotlin_kotlin.$_$.f7;
var hashCode = kotlin_kotlin.$_$.g7;
var THROW_CCE = kotlin_kotlin.$_$.jb;
var equals = kotlin_kotlin.$_$.b7;
var initMetadataForClass = kotlin_kotlin.$_$.h7;
//endregion
//region block: pre-declaration
initMetadataForClass(Contribution, 'Contribution');
//endregion
function Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
this.rv_1 = lastCommit;
this.sv_1 = firstCommit;
this.tv_1 = authors;
this.uv_1 = commitCount;
this.vv_1 = dateTime;
this.wv_1 = firstCommitDateTime;
this.xv_1 = ease;
this.yv_1 = storyId;
this.zv_1 = semver;
this.aw_1 = label;
this.bw_1 = tagName;
this.cw_1 = tagDateTime;
}
protoOf(Contribution).dw = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
return new Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
};
protoOf(Contribution).ew = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime, $super) {
lastCommit = lastCommit === VOID ? this.rv_1 : lastCommit;
firstCommit = firstCommit === VOID ? this.sv_1 : firstCommit;
authors = authors === VOID ? this.tv_1 : authors;
commitCount = commitCount === VOID ? this.uv_1 : commitCount;
dateTime = dateTime === VOID ? this.vv_1 : dateTime;
firstCommitDateTime = firstCommitDateTime === VOID ? this.wv_1 : firstCommitDateTime;
ease = ease === VOID ? this.xv_1 : ease;
storyId = storyId === VOID ? this.yv_1 : storyId;
semver = semver === VOID ? this.zv_1 : semver;
label = label === VOID ? this.aw_1 : label;
tagName = tagName === VOID ? this.bw_1 : tagName;
tagDateTime = tagDateTime === VOID ? this.cw_1 : tagDateTime;
return $super === VOID ? this.dw(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) : $super.dw.call(this, lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
};
protoOf(Contribution).toString = function () {
return 'Contribution(lastCommit=' + this.rv_1 + ', firstCommit=' + this.sv_1 + ', authors=' + toString(this.tv_1) + ', commitCount=' + this.uv_1 + ', dateTime=' + toString_0(this.vv_1) + ', firstCommitDateTime=' + toString_0(this.wv_1) + ', ease=' + this.xv_1 + ', storyId=' + this.yv_1 + ', semver=' + this.zv_1 + ', label=' + this.aw_1 + ', tagName=' + this.bw_1 + ', tagDateTime=' + toString_0(this.cw_1) + ')';
};
protoOf(Contribution).hashCode = function () {
var result = getStringHashCode(this.rv_1);
result = imul(result, 31) + getStringHashCode(this.sv_1) | 0;
result = imul(result, 31) + hashCode(this.tv_1) | 0;
result = imul(result, 31) + this.uv_1 | 0;
result = imul(result, 31) + (this.vv_1 == null ? 0 : this.vv_1.hashCode()) | 0;
result = imul(result, 31) + (this.wv_1 == null ? 0 : this.wv_1.hashCode()) | 0;
result = imul(result, 31) + (this.xv_1 == null ? 0 : this.xv_1) | 0;
result = imul(result, 31) + (this.yv_1 == null ? 0 : getStringHashCode(this.yv_1)) | 0;
result = imul(result, 31) + (this.zv_1 == null ? 0 : getStringHashCode(this.zv_1)) | 0;
result = imul(result, 31) + (this.aw_1 == null ? 0 : getStringHashCode(this.aw_1)) | 0;
result = imul(result, 31) + (this.bw_1 == null ? 0 : getStringHashCode(this.bw_1)) | 0;
result = imul(result, 31) + (this.cw_1 == null ? 0 : this.cw_1.hashCode()) | 0;
return result;
};
protoOf(Contribution).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof Contribution))
return false;
var tmp0_other_with_cast = other instanceof Contribution ? other : THROW_CCE();
if (!(this.rv_1 === tmp0_other_with_cast.rv_1))
return false;
if (!(this.sv_1 === tmp0_other_with_cast.sv_1))
return false;
if (!equals(this.tv_1, tmp0_other_with_cast.tv_1))
return false;
if (!(this.uv_1 === tmp0_other_with_cast.uv_1))
return false;
if (!equals(this.vv_1, tmp0_other_with_cast.vv_1))
return false;
if (!equals(this.wv_1, tmp0_other_with_cast.wv_1))
return false;
if (!(this.xv_1 == tmp0_other_with_cast.xv_1))
return false;
if (!(this.yv_1 == tmp0_other_with_cast.yv_1))
return false;
if (!(this.zv_1 == tmp0_other_with_cast.zv_1))
return false;
if (!(this.aw_1 == tmp0_other_with_cast.aw_1))
return false;
if (!(this.bw_1 == tmp0_other_with_cast.bw_1))
return false;
if (!equals(this.cw_1, tmp0_other_with_cast.cw_1))
return false;
return true;
};
//region block: exports
_.$_$ = _.$_$ || {};
_.$_$.a = Contribution;
//endregion
return _;
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
//# sourceMappingURL=tools-digger-model.js.map