UNPKG

1.05 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class SaptaWara {
4 constructor(id, urip, kertaAji, kupih, name) {
5 this.id = id;
6 this.urip = urip;
7 this.kertaAji = kertaAji;
8 this.kupih = kupih;
9 this.name = name;
10 Object.freeze(this);
11 }
12 static get values() { return _C_VAL; }
13 static get REDITE() { return _C_VAL[0]; }
14 static get SOMA() { return _C_VAL[1]; }
15 static get ANGGARA() { return _C_VAL[2]; }
16 static get BUDA() { return _C_VAL[3]; }
17 static get WRASPATI() { return _C_VAL[4]; }
18 static get SUKRA() { return _C_VAL[5]; }
19 static get SANISCARA() { return _C_VAL[6]; }
20}
21exports.SaptaWara = SaptaWara;
22const _C_VAL = [
23 new SaptaWara(0, 5, 6, 3, "Redite"),
24 new SaptaWara(1, 4, 4, 4, "Soma"),
25 new SaptaWara(2, 3, 3, 5, "Anggara"),
26 new SaptaWara(3, 7, 6, 6, "Buda"),
27 new SaptaWara(4, 8, 5, 7, "Wraspati"),
28 new SaptaWara(5, 6, 7, 1, "Sukra"),
29 new SaptaWara(6, 9, 8, 2, "Saniscara"),
30];
31Object.freeze(_C_VAL);