kaabalah 0.2.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -10
- package/dist/core/index.d.mts +15 -0
- package/dist/core/index.d.ts +15 -0
- package/dist/core/index.js +2379 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/index.mjs +2341 -0
- package/dist/core/index.mjs.map +1 -0
- package/dist/gematria/index.d.mts +39 -0
- package/dist/gematria/index.d.ts +39 -0
- package/dist/gematria/index.js +2484 -0
- package/dist/gematria/index.js.map +1 -0
- package/dist/gematria/index.mjs +2463 -0
- package/dist/gematria/index.mjs.map +1 -0
- package/dist/ifa/index.d.mts +16 -0
- package/dist/ifa/index.d.ts +16 -0
- package/dist/ifa/index.js +75 -0
- package/dist/ifa/index.js.map +1 -0
- package/dist/ifa/index.mjs +50 -0
- package/dist/ifa/index.mjs.map +1 -0
- package/dist/index.d.mts +3 -9
- package/dist/index.d.ts +3 -9
- package/dist/index.js +2384 -466
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2370 -464
- package/dist/index.mjs.map +1 -1
- package/dist/registry-Cz3t3ylv.d.mts +479 -0
- package/dist/registry-Cz3t3ylv.d.ts +479 -0
- package/package.json +13 -7
- package/dist/kaabalah/index.d.mts +0 -26
- package/dist/kaabalah/index.d.ts +0 -26
- package/dist/kaabalah/index.js +0 -590
- package/dist/kaabalah/index.js.map +0 -1
- package/dist/kaabalah/index.mjs +0 -565
- package/dist/kaabalah/index.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3116,18 +3116,34 @@ __export(index_exports, {
|
|
|
3116
3116
|
ARKANNUS: () => ARKANNUS,
|
|
3117
3117
|
CYCLE_MEANINGS: () => CYCLE_MEANINGS,
|
|
3118
3118
|
CalcFlag: () => CalcFlag,
|
|
3119
|
+
FOUR_WORLDS: () => FOUR_WORLDS,
|
|
3120
|
+
HEBREW_LETTERS: () => HEBREW_LETTERS,
|
|
3121
|
+
HEBREW_LETTERS_DATA: () => HEBREW_LETTERS_DATA,
|
|
3119
3122
|
HouseSystem: () => HouseSystem,
|
|
3123
|
+
LATIN_LETTERS: () => LATIN_LETTERS,
|
|
3124
|
+
LURIANIC_PATHS: () => LURIANIC_PATHS,
|
|
3125
|
+
MELKITZEDEKI_PATHS: () => MELKITZEDEKI_PATHS,
|
|
3126
|
+
PLANETS: () => PLANETS,
|
|
3120
3127
|
Planet: () => Planet,
|
|
3121
|
-
|
|
3128
|
+
SPHERES: () => SPHERES,
|
|
3129
|
+
SPHERE_DATA: () => SPHERE_DATA,
|
|
3130
|
+
SYSTEMS: () => SYSTEMS,
|
|
3131
|
+
TAROT_ARKANNUS: () => TAROT_ARKANNUS,
|
|
3132
|
+
TAROT_ARKANNUS_DATA: () => TAROT_ARKANNUS_DATA,
|
|
3133
|
+
TAROT_SUITS: () => TAROT_SUITS,
|
|
3134
|
+
TreeOfLife: () => TreeOfLife,
|
|
3135
|
+
WESTERN_ELEMENTS: () => WESTERN_ELEMENTS,
|
|
3136
|
+
WESTERN_ZODIAC_SIGNS: () => WESTERN_ZODIAC_SIGNS,
|
|
3137
|
+
WESTERN_ZODIAC_SIGNS_DATA: () => WESTERN_ZODIAC_SIGNS_DATA,
|
|
3122
3138
|
calculateCycles: () => calculateCycles,
|
|
3123
3139
|
calculateGematria: () => calculateGematria,
|
|
3124
3140
|
calculateLifePath: () => calculateLifePath,
|
|
3125
3141
|
closeSwissEph: () => closeSwissEph,
|
|
3142
|
+
createTree: () => createTree,
|
|
3126
3143
|
formatDegreeMinutes: () => formatDegreeMinutes,
|
|
3127
3144
|
getBirthChart: () => getBirthChart,
|
|
3128
3145
|
getSwissEph: () => getSwissEph,
|
|
3129
3146
|
getZodiacPosition: () => getZodiacPosition,
|
|
3130
|
-
isValidDate: () => isValidDate,
|
|
3131
3147
|
majorArcana: () => majorArcana,
|
|
3132
3148
|
shuffleTarotDeck: () => shuffleTarotDeck
|
|
3133
3149
|
});
|
|
@@ -3472,481 +3488,2322 @@ function getZodiacPosition(longitude) {
|
|
|
3472
3488
|
};
|
|
3473
3489
|
}
|
|
3474
3490
|
|
|
3475
|
-
// src/core/
|
|
3476
|
-
var
|
|
3477
|
-
|
|
3478
|
-
|
|
3491
|
+
// src/core/constants.ts
|
|
3492
|
+
var FOUR_WORLDS = {
|
|
3493
|
+
ATZILUTH: "Atziluth",
|
|
3494
|
+
BRIAH: "Briah",
|
|
3495
|
+
YETZIRAH: "Yetzirah",
|
|
3496
|
+
ASSIAH: "Assiah"
|
|
3497
|
+
};
|
|
3498
|
+
var SPHERES = {
|
|
3499
|
+
KETHER: "Kether",
|
|
3500
|
+
CHOKMAH: "Chokmah",
|
|
3501
|
+
BINAH: "Binah",
|
|
3502
|
+
DAATH: "Daath",
|
|
3503
|
+
CHESED: "Chesed",
|
|
3504
|
+
GEBURAH: "Geburah",
|
|
3505
|
+
TIPHERETH: "Tiphereth",
|
|
3506
|
+
NETZACH: "Netzach",
|
|
3507
|
+
HOD: "Hod",
|
|
3508
|
+
YESOD: "Yesod",
|
|
3509
|
+
MALKUTH: "Malkuth"
|
|
3510
|
+
};
|
|
3511
|
+
var SPHERE_DATA = {
|
|
3512
|
+
KETHER: { hebrewName: "\u05DB\u05EA\u05E8", englishName: "Crown" },
|
|
3513
|
+
CHOKMAH: { hebrewName: "\u05D7\u05DB\u05DE\u05D4", englishName: "Wisdom" },
|
|
3514
|
+
BINAH: { hebrewName: "\u05D1\u05D9\u05E0\u05D4", englishName: "Understanding" },
|
|
3515
|
+
CHESED: { hebrewName: "\u05D7\u05E1\u05D3", englishName: "Mercy" },
|
|
3516
|
+
GEBURAH: { hebrewName: "\u05D2\u05D1\u05D5\u05E8\u05D4", englishName: "Severity" },
|
|
3517
|
+
TIPHERETH: { hebrewName: "\u05EA\u05E4\u05D0\u05E8\u05EA", englishName: "Beauty" },
|
|
3518
|
+
NETZACH: { hebrewName: "\u05E0\u05E6\u05D7", englishName: "Victory" },
|
|
3519
|
+
HOD: { hebrewName: "\u05D4\u05D5\u05D3", englishName: "Splendor" },
|
|
3520
|
+
YESOD: { hebrewName: "\u05D9\u05E1\u05D5\u05D3", englishName: "Foundation" },
|
|
3521
|
+
MALKUTH: { hebrewName: "\u05DE\u05DC\u05DB\u05D5\u05EA", englishName: "Kingdom" },
|
|
3522
|
+
DAATH: { hebrewName: "\u05D3\u05E2\u05EA", englishName: "Knowledge" }
|
|
3523
|
+
};
|
|
3524
|
+
var PLANETS = {
|
|
3525
|
+
EARTH: "Earth",
|
|
3526
|
+
MOON: "Moon",
|
|
3527
|
+
SUN: "Sun",
|
|
3528
|
+
MERCURY: "Mercury",
|
|
3529
|
+
VENUS: "Venus",
|
|
3530
|
+
MARS: "Mars",
|
|
3531
|
+
JUPITER: "Jupiter",
|
|
3532
|
+
SATURN: "Saturn",
|
|
3533
|
+
URANUS: "Uranus",
|
|
3534
|
+
NEPTUNE: "Neptune",
|
|
3535
|
+
PLUTO: "Pluto"
|
|
3536
|
+
};
|
|
3537
|
+
var WESTERN_ZODIAC_SIGNS = {
|
|
3538
|
+
ARIES: "Aries",
|
|
3539
|
+
TAURUS: "Taurus",
|
|
3540
|
+
GEMINI: "Gemini",
|
|
3541
|
+
CANCER: "Cancer",
|
|
3542
|
+
LEO: "Leo",
|
|
3543
|
+
VIRGO: "Virgo",
|
|
3544
|
+
LIBRA: "Libra",
|
|
3545
|
+
SCORPIO: "Scorpio",
|
|
3546
|
+
SAGITTARIUS: "Sagittarius",
|
|
3547
|
+
CAPRICORN: "Capricorn",
|
|
3548
|
+
AQUARIUS: "Aquarius",
|
|
3549
|
+
PISCES: "Pisces"
|
|
3550
|
+
};
|
|
3551
|
+
var WESTERN_ELEMENTS = {
|
|
3552
|
+
FIRE: "Fire",
|
|
3553
|
+
AIR: "Air",
|
|
3554
|
+
WATER: "Water",
|
|
3555
|
+
EARTH: "Earth",
|
|
3556
|
+
ETHER: "Ether"
|
|
3557
|
+
};
|
|
3558
|
+
var WESTERN_ZODIAC_SIGNS_DATA = {
|
|
3559
|
+
ARIES: { element: WESTERN_ELEMENTS.FIRE, type: "cardinal", rulingPlanets: [PLANETS.MARS] },
|
|
3560
|
+
TAURUS: { element: WESTERN_ELEMENTS.EARTH, type: "fixed", rulingPlanets: [PLANETS.VENUS] },
|
|
3561
|
+
GEMINI: { element: WESTERN_ELEMENTS.AIR, type: "mutable", rulingPlanets: [PLANETS.MERCURY] },
|
|
3562
|
+
CANCER: { element: WESTERN_ELEMENTS.WATER, type: "cardinal", rulingPlanets: [PLANETS.MOON] },
|
|
3563
|
+
LEO: { element: WESTERN_ELEMENTS.FIRE, type: "fixed", rulingPlanets: [PLANETS.SUN] },
|
|
3564
|
+
VIRGO: { element: WESTERN_ELEMENTS.EARTH, type: "mutable", rulingPlanets: [PLANETS.MERCURY] },
|
|
3565
|
+
LIBRA: { element: WESTERN_ELEMENTS.AIR, type: "cardinal", rulingPlanets: [PLANETS.VENUS] },
|
|
3566
|
+
SCORPIO: { element: WESTERN_ELEMENTS.WATER, type: "fixed", rulingPlanets: [PLANETS.MARS, PLANETS.PLUTO] },
|
|
3567
|
+
SAGITTARIUS: { element: WESTERN_ELEMENTS.FIRE, type: "mutable", rulingPlanets: [PLANETS.JUPITER] },
|
|
3568
|
+
CAPRICORN: { element: WESTERN_ELEMENTS.EARTH, type: "cardinal", rulingPlanets: [PLANETS.SATURN] },
|
|
3569
|
+
AQUARIUS: { element: WESTERN_ELEMENTS.AIR, type: "fixed", rulingPlanets: [PLANETS.SATURN, PLANETS.URANUS] },
|
|
3570
|
+
PISCES: { element: WESTERN_ELEMENTS.WATER, type: "mutable", rulingPlanets: [PLANETS.JUPITER, PLANETS.NEPTUNE] }
|
|
3571
|
+
};
|
|
3572
|
+
var MELKITZEDEKI_PATHS = {
|
|
3573
|
+
KETHER_CHOKMAH: 1,
|
|
3574
|
+
KETHER_BINAH: 2,
|
|
3575
|
+
KETHER_TIPHERETH: 3,
|
|
3576
|
+
CHOKMAH_BINAH: 4,
|
|
3577
|
+
CHOKMAH_TIPHERETH: 5,
|
|
3578
|
+
CHOKMAH_CHESED: 6,
|
|
3579
|
+
BINAH_TIPHERETH: 7,
|
|
3580
|
+
BINAH_GEBURAH: 8,
|
|
3581
|
+
CHESED_GEBURAH: 9,
|
|
3582
|
+
CHESED_TIPHERETH: 10,
|
|
3583
|
+
CHESED_NETZACH: 11,
|
|
3584
|
+
GEBURAH_TIPHERETH: 12,
|
|
3585
|
+
GEBURAH_HOD: 13,
|
|
3586
|
+
TIPHERETH_NETZACH: 14,
|
|
3587
|
+
TIPHERETH_YESOD: 15,
|
|
3588
|
+
TIPHERETH_HOD: 16,
|
|
3589
|
+
NETZACH_HOD: 17,
|
|
3590
|
+
NETZACH_YESOD: 18,
|
|
3591
|
+
NETZACH_MALKUTH: 19,
|
|
3592
|
+
HOD_YESOD: 20,
|
|
3593
|
+
HOD_MALKUTH: 21,
|
|
3594
|
+
YESOD_MALKUTH: 22
|
|
3595
|
+
};
|
|
3596
|
+
var LURIANIC_PATHS = {
|
|
3597
|
+
KETHER_CHOKMAH: 1,
|
|
3598
|
+
KETHER_BINAH: 2,
|
|
3599
|
+
KETHER_TIPHERETH: 3,
|
|
3600
|
+
CHOKMAH_BINAH: 4,
|
|
3601
|
+
CHOKMAH_GEBURAH: 5,
|
|
3602
|
+
CHOKMAH_TIPHERETH: 6,
|
|
3603
|
+
CHOKMAH_CHESED: 7,
|
|
3604
|
+
BINAH_CHESED: 8,
|
|
3605
|
+
BINAH_TIPHERETH: 9,
|
|
3606
|
+
BINAH_GEBURAH: 10,
|
|
3607
|
+
CHESED_GEBURAH: 11,
|
|
3608
|
+
CHESED_TIPHERETH: 12,
|
|
3609
|
+
CHESED_NETZACH: 13,
|
|
3610
|
+
GEBURAH_TIPHERETH: 14,
|
|
3611
|
+
GEBURAH_HOD: 15,
|
|
3612
|
+
TIPHERETH_NETZACH: 16,
|
|
3613
|
+
TIPHERETH_YESOD: 17,
|
|
3614
|
+
TIPHERETH_HOD: 18,
|
|
3615
|
+
NETZACH_HOD: 19,
|
|
3616
|
+
NETZACH_YESOD: 20,
|
|
3617
|
+
HOD_YESOD: 21,
|
|
3618
|
+
YESOD_MALKUTH: 22
|
|
3619
|
+
};
|
|
3620
|
+
var LATIN_LETTERS = {
|
|
3621
|
+
A: "A",
|
|
3622
|
+
B: "B",
|
|
3623
|
+
C: "C",
|
|
3624
|
+
D: "D",
|
|
3625
|
+
E: "E",
|
|
3626
|
+
F: "F",
|
|
3627
|
+
G: "G",
|
|
3628
|
+
H: "H",
|
|
3629
|
+
I: "I",
|
|
3630
|
+
J: "J",
|
|
3631
|
+
K: "K",
|
|
3632
|
+
L: "L",
|
|
3633
|
+
M: "M",
|
|
3634
|
+
N: "N",
|
|
3635
|
+
O: "O",
|
|
3636
|
+
P: "P",
|
|
3637
|
+
Q: "Q",
|
|
3638
|
+
R: "R",
|
|
3639
|
+
S: "S",
|
|
3640
|
+
T: "T",
|
|
3641
|
+
U: "U",
|
|
3642
|
+
V: "V",
|
|
3643
|
+
W: "W",
|
|
3644
|
+
X: "X",
|
|
3645
|
+
Y: "Y",
|
|
3646
|
+
Z: "Z",
|
|
3647
|
+
PH: "Ph",
|
|
3648
|
+
TS: "Ts",
|
|
3649
|
+
TZ: "Tz",
|
|
3650
|
+
TH: "Th",
|
|
3651
|
+
CH: "Ch",
|
|
3652
|
+
SH: "Sh",
|
|
3653
|
+
KH: "Kh",
|
|
3654
|
+
\u00C7: "\xC7",
|
|
3655
|
+
\u00C3: "\xC3"
|
|
3656
|
+
};
|
|
3657
|
+
var HEBREW_LETTERS = {
|
|
3658
|
+
ALEPH: "\u05D0",
|
|
3659
|
+
BETH: "\u05D1",
|
|
3660
|
+
GIMEL: "\u05D2",
|
|
3661
|
+
DALET: "\u05D3",
|
|
3662
|
+
HE: "\u05D4",
|
|
3663
|
+
VAV: "\u05D5",
|
|
3664
|
+
ZAYIN: "\u05D6",
|
|
3665
|
+
HET: "\u05D7",
|
|
3666
|
+
TET: "\u05D8",
|
|
3667
|
+
YOD: "\u05D9",
|
|
3668
|
+
KAF: "\u05DB",
|
|
3669
|
+
LAMED: "\u05DC",
|
|
3670
|
+
MEM: "\u05DE",
|
|
3671
|
+
NUN: "\u05E0",
|
|
3672
|
+
SAMEKH: "\u05E1",
|
|
3673
|
+
AIN: "\u05E2",
|
|
3674
|
+
PE: "\u05E4",
|
|
3675
|
+
TSADI: "\u05E6",
|
|
3676
|
+
QOF: "\u05E7",
|
|
3677
|
+
RESH: "\u05E8",
|
|
3678
|
+
SHIN: "\u05E9",
|
|
3679
|
+
TAV: "\u05EA"
|
|
3680
|
+
};
|
|
3681
|
+
var HEBREW_LETTERS_DATA = {
|
|
3682
|
+
ALEPH: { gematriaValue: 1, type: "mother", symbol: "Man", hieroglyph: "Unity, central point, abstract principle", yvritMeaning: "Universal man and the human gender", transliteration: "Aleph" },
|
|
3683
|
+
BETH: { gematriaValue: 2, type: "double", symbol: "Mouth", hieroglyph: "Woman's duality", yvritMeaning: "Man's mouth, habitation, interior", transliteration: "Beth" },
|
|
3684
|
+
GIMEL: { gematriaValue: 3, type: "double", symbol: "Grasping hand", hieroglyph: "Expansion and growth", yvritMeaning: "Man's throat, channel", transliteration: "Gimel" },
|
|
3685
|
+
DALET: { gematriaValue: 4, type: "double", symbol: "Breast", hieroglyph: "Universal quaternary, source of physical existence", yvritMeaning: "Abundance and nourishment", transliteration: "Daleth" },
|
|
3686
|
+
HE: { gematriaValue: 5, type: "simple", symbol: "Breath", hieroglyph: "Universal life, men's breath, the breath, everything that animates and vivifies", yvritMeaning: "Window", transliteration: "He" },
|
|
3687
|
+
VAV: { gematriaValue: 6, type: "simple", symbol: "Eye, ear", hieroglyph: "A point connection that separates being and non-being", yvritMeaning: "Construction nail", transliteration: "Vav" },
|
|
3688
|
+
ZAYIN: { gematriaValue: 7, type: "simple", symbol: "Arrow", hieroglyph: "Goal, objective to achieve", yvritMeaning: "Dart, sword", transliteration: "Zayin" },
|
|
3689
|
+
HET: { gematriaValue: 8, type: "simple", symbol: "Field", hieroglyph: "Elemental existence", yvritMeaning: "Fence", transliteration: "Het" },
|
|
3690
|
+
TET: { gematriaValue: 9, type: "simple", symbol: "A house covering", hieroglyph: "Men's shelter, roof, shield, protection, resistance", yvritMeaning: "Serpent", transliteration: "Tet" },
|
|
3691
|
+
YOD: { gematriaValue: 10, type: "simple", symbol: "Index finger", hieroglyph: "Potential manifestation, eternal worship", yvritMeaning: "Hand, index finger", transliteration: "Yod" },
|
|
3692
|
+
KAF: { gematriaValue: 20, type: "double", gematriaValueWhenEnding: 500, symbol: "Closing hand", hieroglyph: "Reflective and fleeting life", yvritMeaning: "Palm closing in the act of grasping something", transliteration: "Kaf" },
|
|
3693
|
+
LAMED: { gematriaValue: 30, type: "simple", symbol: "Extending arm", hieroglyph: "Extension, elevation", yvritMeaning: "Sting rod, human arm representing extension, elevation", transliteration: "Lamed" },
|
|
3694
|
+
MEM: { gematriaValue: 40, type: "mother", gematriaValueWhenEnding: 600, symbol: "Woman", hieroglyph: "External passive action, all formative and plastic principle when starting a word, collectiveness when ending one", yvritMeaning: "Waters, woman, mother, man's companion", transliteration: "Mem" },
|
|
3695
|
+
NUN: { gematriaValue: 50, type: "simple", gematriaValueWhenEnding: 700, symbol: "Fruit", hieroglyph: "Novelty, youth, grace, beauty", yvritMeaning: "Fish", transliteration: "Nun" },
|
|
3696
|
+
SAMEKH: { gematriaValue: 60, type: "simple", symbol: "Serpent", hieroglyph: "Cyclical circular movement", yvritMeaning: "Support, brace, crutch", transliteration: "Samekh" },
|
|
3697
|
+
AIN: { gematriaValue: 70, type: "simple", symbol: "Binding", hieroglyph: "Material side of things, emptiness, nothingness, all evil", yvritMeaning: "Eye", transliteration: "Ain" },
|
|
3698
|
+
PE: { gematriaValue: 80, type: "double", gematriaValueWhenEnding: 800, symbol: "Mouth, tongue", hieroglyph: "Power of the verb, spoken word", yvritMeaning: "Mouth releasing", transliteration: "Pe" },
|
|
3699
|
+
TSADI: { gematriaValue: 90, type: "simple", gematriaValueWhenEnding: 900, symbol: "Roof", hieroglyph: "Fixed thought upon a purpose", yvritMeaning: "Fishhook", transliteration: "Tsadi" },
|
|
3700
|
+
QOF: { gematriaValue: 100, type: "simple", symbol: "Axe", hieroglyph: "Repressive pressure", yvritMeaning: "Back of the head", transliteration: "Qof" },
|
|
3701
|
+
RESH: { gematriaValue: 200, type: "double", symbol: "Head", hieroglyph: "Feeling, wanting, thinking, movement, reflection, origin, repetition", yvritMeaning: "Illuminated head", transliteration: "Resh" },
|
|
3702
|
+
SHIN: { gematriaValue: 300, type: "mother", symbol: "Crown", hieroglyph: "Relative duration, existence", yvritMeaning: "Part of the bow from which the arrow is released", transliteration: "Shin" },
|
|
3703
|
+
TAV: { gematriaValue: 400, type: "double", symbol: "Thorax", hieroglyph: "Universal soul, reciprocity, protection, perfection, abundance", yvritMeaning: "Ankh Cross", transliteration: "Tav" }
|
|
3704
|
+
};
|
|
3705
|
+
var TAROT_SUITS = {
|
|
3706
|
+
WANDS: "Wands",
|
|
3707
|
+
CUPS: "Cups",
|
|
3708
|
+
SWORDS: "Swords",
|
|
3709
|
+
PENTACLES: "Pentacles"
|
|
3710
|
+
};
|
|
3711
|
+
var TAROT_ARKANNUS = {
|
|
3712
|
+
THE_MAGICIAN: "The Magician",
|
|
3713
|
+
THE_HIGH_PRIESTESS: "The High Priestess",
|
|
3714
|
+
THE_EMPRESS: "The Empress",
|
|
3715
|
+
THE_EMPEROR: "The Emperor",
|
|
3716
|
+
THE_HIEROPHANT: "The Hierophant",
|
|
3717
|
+
THE_LOVER: "The Lover",
|
|
3718
|
+
THE_CHARIOT: "The Chariot",
|
|
3719
|
+
JUSTICE: "Justice",
|
|
3720
|
+
THE_HERMIT: "The Hermit",
|
|
3721
|
+
THE_WHEEL_OF_FORTUNE: "The Wheel of Fortune",
|
|
3722
|
+
STRENGTH: "Strength",
|
|
3723
|
+
THE_HANGED_MAN: "The Hanged Man",
|
|
3724
|
+
DEATH: "Death",
|
|
3725
|
+
TEMPERANCE: "Temperance",
|
|
3726
|
+
THE_DEVIL: "The Devil",
|
|
3727
|
+
THE_TOWER: "The Tower",
|
|
3728
|
+
THE_STAR: "The Star",
|
|
3729
|
+
THE_MOON: "The Moon",
|
|
3730
|
+
THE_SUN: "The Sun",
|
|
3731
|
+
JUDGMENT: "Judgment",
|
|
3732
|
+
THE_FOOL: "The Fool",
|
|
3733
|
+
THE_WORLD: "The World",
|
|
3734
|
+
KING_OF_WANDS: "King of Wands",
|
|
3735
|
+
QUEEN_OF_WANDS: "Queen of Wands",
|
|
3736
|
+
KNIGHT_OF_WANDS: "Knight of Wands",
|
|
3737
|
+
PAGE_OF_WANDS: "Page of Wands",
|
|
3738
|
+
ACE_OF_WANDS: "Ace of Wands",
|
|
3739
|
+
TWO_OF_WANDS: "Two of Wands",
|
|
3740
|
+
THREE_OF_WANDS: "Three of Wands",
|
|
3741
|
+
FOUR_OF_WANDS: "Four of Wands",
|
|
3742
|
+
FIVE_OF_WANDS: "Five of Wands",
|
|
3743
|
+
SIX_OF_WANDS: "Six of Wands",
|
|
3744
|
+
SEVEN_OF_WANDS: "Seven of Wands",
|
|
3745
|
+
EIGHT_OF_WANDS: "Eight of Wands",
|
|
3746
|
+
NINE_OF_WANDS: "Nine of Wands",
|
|
3747
|
+
TEN_OF_WANDS: "Ten of Wands",
|
|
3748
|
+
KING_OF_CUPS: "King of Cups",
|
|
3749
|
+
QUEEN_OF_CUPS: "Queen of Cups",
|
|
3750
|
+
KNIGHT_OF_CUPS: "Knight of Cups",
|
|
3751
|
+
PAGE_OF_CUPS: "Page of Cups",
|
|
3752
|
+
ACE_OF_CUPS: "Ace of Cups",
|
|
3753
|
+
TWO_OF_CUPS: "Two of Cups",
|
|
3754
|
+
THREE_OF_CUPS: "Three of Cups",
|
|
3755
|
+
FOUR_OF_CUPS: "Four of Cups",
|
|
3756
|
+
FIVE_OF_CUPS: "Five of Cups",
|
|
3757
|
+
SIX_OF_CUPS: "Six of Cups",
|
|
3758
|
+
SEVEN_OF_CUPS: "Seven of Cups",
|
|
3759
|
+
EIGHT_OF_CUPS: "Eight of Cups",
|
|
3760
|
+
NINE_OF_CUPS: "Nine of Cups",
|
|
3761
|
+
TEN_OF_CUPS: "Ten of Cups",
|
|
3762
|
+
KING_OF_SWORDS: "King of Swords",
|
|
3763
|
+
QUEEN_OF_SWORDS: "Queen of Swords",
|
|
3764
|
+
KNIGHT_OF_SWORDS: "Knight of Swords",
|
|
3765
|
+
PAGE_OF_SWORDS: "Page of Swords",
|
|
3766
|
+
ACE_OF_SWORDS: "Ace of Swords",
|
|
3767
|
+
TWO_OF_SWORDS: "Two of Swords",
|
|
3768
|
+
THREE_OF_SWORDS: "Three of Swords",
|
|
3769
|
+
FOUR_OF_SWORDS: "Four of Swords",
|
|
3770
|
+
FIVE_OF_SWORDS: "Five of Swords",
|
|
3771
|
+
SIX_OF_SWORDS: "Six of Swords",
|
|
3772
|
+
SEVEN_OF_SWORDS: "Seven of Swords",
|
|
3773
|
+
EIGHT_OF_SWORDS: "Eight of Swords",
|
|
3774
|
+
NINE_OF_SWORDS: "Nine of Swords",
|
|
3775
|
+
TEN_OF_SWORDS: "Ten of Swords",
|
|
3776
|
+
KING_OF_PENTACLES: "King of Pentacles",
|
|
3777
|
+
QUEEN_OF_PENTACLES: "Queen of Pentacles",
|
|
3778
|
+
KNIGHT_OF_PENTACLES: "Knight of Pentacles",
|
|
3779
|
+
PAGE_OF_PENTACLES: "Page of Pentacles",
|
|
3780
|
+
ACE_OF_PENTACLES: "Ace of Pentacles",
|
|
3781
|
+
TWO_OF_PENTACLES: "Two of Pentacles",
|
|
3782
|
+
THREE_OF_PENTACLES: "Three of Pentacles",
|
|
3783
|
+
FOUR_OF_PENTACLES: "Four of Pentacles",
|
|
3784
|
+
FIVE_OF_PENTACLES: "Five of Pentacles",
|
|
3785
|
+
SIX_OF_PENTACLES: "Six of Pentacles",
|
|
3786
|
+
SEVEN_OF_PENTACLES: "Seven of Pentacles",
|
|
3787
|
+
EIGHT_OF_PENTACLES: "Eight of Pentacles",
|
|
3788
|
+
NINE_OF_PENTACLES: "Nine of Pentacles",
|
|
3789
|
+
TEN_OF_PENTACLES: "Ten of Pentacles"
|
|
3790
|
+
};
|
|
3791
|
+
var TAROT_ARKANNUS_DATA = {
|
|
3792
|
+
THE_MAGICIAN: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Abracadabra, the power to create reality through voice" }] },
|
|
3793
|
+
THE_HIGH_PRIESTESS: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Intuition, the power to rewrite your book of life improving your life every instant" }] },
|
|
3794
|
+
THE_EMPRESS: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Adaptation, the power to geometrize through emotions" }] },
|
|
3795
|
+
THE_EMPEROR: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Authority, the power to mark your territory with the sacred fire" }] },
|
|
3796
|
+
THE_HIEROPHANT: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Magnetism, the power to ritualize life and circulate the quintessence" }] },
|
|
3797
|
+
THE_LOVER: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Dichotomy, stay on the middle path by being neither a victim nor a villain" }] },
|
|
3798
|
+
THE_CHARIOT: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Merkaabah, take control and build your merkaabah (mind vehicle)" }] },
|
|
3799
|
+
JUSTICE: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Justice, be just with yourself to be just with others" }] },
|
|
3800
|
+
THE_HERMIT: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Introspection, seek within, retreat" }] },
|
|
3801
|
+
THE_WHEEL_OF_FORTUNE: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Loops, extroversion, break the great wheel and ascend, seek externally" }] },
|
|
3802
|
+
STRENGTH: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "The strength of your subconscious, unity brings strength" }] },
|
|
3803
|
+
THE_HANGED_MAN: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Make valid sacrifices, adopt a new perspective" }] },
|
|
3804
|
+
DEATH: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Merkaabah, take control and build your merkaabah (mind vehicle)" }] },
|
|
3805
|
+
TEMPERANCE: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Balance, harmonize differences" }] },
|
|
3806
|
+
THE_DEVIL: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Indecision between vice and virtue, transmute weakness and passions into strengths" }] },
|
|
3807
|
+
THE_TOWER: { type: "major", descriptiveData: [{ name: "The House of God", deck: "Papus Kaabalistic", meaning: "Separation, destruction, separate from what's harmful and connect with what's helpful, make room for the new" }] },
|
|
3808
|
+
THE_STAR: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Fecundation, ecology, ecstasy, hope, renew yourself to maintain help, act according to your spiritual purpose" }] },
|
|
3809
|
+
THE_MOON: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Hidden enemies, be vigilant, recognize where you're self sabotaging" }] },
|
|
3810
|
+
THE_SUN: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Be conscious of your alchemical band, transmute money into knowledge and vice versa" }] },
|
|
3811
|
+
JUDGMENT: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Make retrospectives and learn from mistakes and successes" }] },
|
|
3812
|
+
THE_FOOL: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Stop walking in circles, create connections of knowledge" }] },
|
|
3813
|
+
THE_WORLD: { type: "major", descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Win the world, start acting on the world of causes" }] },
|
|
3814
|
+
KING_OF_WANDS: { type: "court", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Get's the best out of every one, Idealism, Magnanimity" }, { deck: "Kier Egyptian", name: "The Laborer" }] },
|
|
3815
|
+
QUEEN_OF_WANDS: { type: "court", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Hold the line while the king goes to work, Preserve what was conquered" }, { deck: "Kier Egyptian", name: "The Weaver" }] },
|
|
3816
|
+
KNIGHT_OF_WANDS: { type: "court", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Dreams that become reality" }, { deck: "Kier Egyptian", name: "The Argonaut" }] },
|
|
3817
|
+
PAGE_OF_WANDS: { type: "court", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Don't rush, the precipitations are the doors to failure" }, { deck: "Kier Egyptian", name: "The Prodigy" }] },
|
|
3818
|
+
ACE_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Ignite the flames of ideals, Trust in your inner divinity" }, { deck: "Kier Egyptian", name: "The Unexpected" }] },
|
|
3819
|
+
TWO_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Formulate a strategy to use your own talents" }, { deck: "Kier Egyptian", name: "Uncertainty" }] },
|
|
3820
|
+
THREE_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Keep going despite losing something apparently important" }, { deck: "Kier Egyptian", name: "Domesticity" }] },
|
|
3821
|
+
FOUR_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Work in teams" }, { deck: "Kier Egyptian", name: "Exchange" }] },
|
|
3822
|
+
FIVE_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Strengthen the root chakra, overcome internal fears" }, { deck: "Kier Egyptian", name: "Impediment" }] },
|
|
3823
|
+
SIX_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "External victory, internal lack of internal self realization" }, { deck: "Kier Egyptian", name: "Magnificence" }] },
|
|
3824
|
+
SEVEN_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Face competitors in an ethical and loyal way" }, { deck: "Kier Egyptian", name: "Alliance" }] },
|
|
3825
|
+
EIGHT_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Travel to the center of peace and intelligence" }, { deck: "Kier Egyptian", name: "Innovation" }] },
|
|
3826
|
+
NINE_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Obstacle that precedes total victory, gather hidden forces" }, { deck: "Kier Egyptian", name: "Desolation" }] },
|
|
3827
|
+
TEN_OF_WANDS: { type: "minor", suit: TAROT_SUITS.WANDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Get out of apathy, create a new tree of life using the Lightning Path" }, { deck: "Kier Egyptian", name: "Initiation" }] },
|
|
3828
|
+
KING_OF_CUPS: { type: "court", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Stop hurting yourself (related to The Lover), heals everyone and forgets about yourself, balm for your own wound" }, { deck: "Kier Egyptian", name: "Art and Science" }] },
|
|
3829
|
+
QUEEN_OF_CUPS: { type: "court", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Work with subtlety, positive challenges" }, { deck: "Kier Egyptian", name: "Duplicity" }] },
|
|
3830
|
+
KNIGHT_OF_CUPS: { type: "court", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Alternative healing" }, { deck: "Kier Egyptian", name: "Testimony" }] },
|
|
3831
|
+
PAGE_OF_CUPS: { type: "court", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Increase of self-esteem, emotional courage" }, { deck: "Kier Egyptian", name: "Premonition" }] },
|
|
3832
|
+
ACE_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Renewal or new affection, alternative treatment for health" }, { deck: "Kier Egyptian", name: "Dissension" }] },
|
|
3833
|
+
TWO_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Do not poison yourself or the other person" }, { deck: "Kier Egyptian", name: "Preeminence" }] },
|
|
3834
|
+
THREE_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Harmony between instinct and emotion, Be discreet" }, { deck: "Kier Egyptian", name: "Premonition" }] },
|
|
3835
|
+
FOUR_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Abundance in emotional life, do not listen to slander" }, { deck: "Kier Egyptian", name: "Expressiveness" }] },
|
|
3836
|
+
FIVE_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Do not break your spiritual commitment (your purpose)" }, { deck: "Kier Egyptian", name: "Regeneration" }] },
|
|
3837
|
+
SIX_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Do not have self-pity" }, { deck: "Kier Egyptian", name: "Patrimony" }] },
|
|
3838
|
+
SEVEN_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Gestations, related to The Star" }, { deck: "Kier Egyptian", name: "Conjecture" }] },
|
|
3839
|
+
EIGHT_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Reflect on your emotional life after 18 hours" }, { deck: "Kier Egyptian", name: "Consummation" }] },
|
|
3840
|
+
NINE_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Reconciliations and forgiveness" }, { deck: "Kier Egyptian", name: "Versatility" }] },
|
|
3841
|
+
TEN_OF_CUPS: { type: "minor", suit: TAROT_SUITS.CUPS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Marriage of the spirit with the soul, Alchemical Weddings" }, { deck: "Kier Egyptian", name: "Attraction" }] },
|
|
3842
|
+
KING_OF_SWORDS: { type: "court", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Actions of victorious strategies" }, { deck: "Kier Egyptian", name: "Advice" }] },
|
|
3843
|
+
QUEEN_OF_SWORDS: { type: "court", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Supremacy of the feminine, related to Justice" }, { deck: "Kier Egyptian", name: "Premeditation" }] },
|
|
3844
|
+
KNIGHT_OF_SWORDS: { type: "court", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Joint victorious actions" }, { deck: "Kier Egyptian", name: "Hostility" }] },
|
|
3845
|
+
PAGE_OF_SWORDS: { type: "court", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Follow your intuition" }, { deck: "Kier Egyptian", name: "Examination" }] },
|
|
3846
|
+
ACE_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Conflicts before victory" }, { deck: "Kier Egyptian", name: "Contrition" }] },
|
|
3847
|
+
TWO_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Traumas and conflicts to overcome" }, { deck: "Kier Egyptian", name: "Pilgrimage" }] },
|
|
3848
|
+
THREE_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Death of yang, Fire, tendencies to depression" }, { deck: "Kier Egyptian", name: "Rivalry" }] },
|
|
3849
|
+
FOUR_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Reflection, related to The Hermit" }, { deck: "Kier Egyptian", name: "Meditation" }] },
|
|
3850
|
+
FIVE_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Healthy self-challenge, Self-demands" }, { deck: "Kier Egyptian", name: "Revelation" }] },
|
|
3851
|
+
SIX_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "External daily strategies, Future perspectives" }, { deck: "Kier Egyptian", name: "Evolution" }] },
|
|
3852
|
+
SEVEN_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Internal nocturnal strategies, related to The Hermit" }, { deck: "Kier Egyptian", name: "Solitude" }] },
|
|
3853
|
+
EIGHT_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Appeal to superior forces, Internal and external conflicts" }, { deck: "Kier Egyptian", name: "Proscription" }] },
|
|
3854
|
+
NINE_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "The problems being imagined will never happen" }, { deck: "Kier Egyptian", name: "Communion" }] },
|
|
3855
|
+
TEN_OF_SWORDS: { type: "minor", suit: TAROT_SUITS.SWORDS, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Death and rebirth, related to Death and The Tower" }, { deck: "Kier Egyptian", name: "Vehemence" }] },
|
|
3856
|
+
KING_OF_PENTACLES: { type: "court", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Turns everything into gold" }, { deck: "Kier Egyptian", name: "Apprenticeship" }] },
|
|
3857
|
+
QUEEN_OF_PENTACLES: { type: "court", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Act with diplomacy" }, { deck: "Kier Egyptian", name: "Perplexity" }] },
|
|
3858
|
+
KNIGHT_OF_PENTACLES: { type: "court", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Invest into new things" }, { deck: "Kier Egyptian", name: "Veneration" }] },
|
|
3859
|
+
PAGE_OF_PENTACLES: { type: "court", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Prudence in the material life" }, { deck: "Kier Egyptian", name: "Speculation" }] },
|
|
3860
|
+
ACE_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Rebirth through a single material goal, Form clear material goals" }, { deck: "Kier Egyptian", name: "The Unforeseen" }] },
|
|
3861
|
+
TWO_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Light forming shadows, Duality asking for synthesis in the trinity, Don't put all the eggs in the same basket" }, { deck: "Kier Egyptian", name: "Cooperation" }] },
|
|
3862
|
+
THREE_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Light forming sound, Establish balance through the trinity becoming a great dispenser, Verbalize what should be done, Do not settle for the first results" }, { deck: "Kier Egyptian", name: "Avarice" }] },
|
|
3863
|
+
FOUR_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Avoid avarice / greed" }, { deck: "Kier Egyptian", name: "Purification" }] },
|
|
3864
|
+
FIVE_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Only order will bring progress, Do not kick the barn without having something concrete in front of you" }, { deck: "Kier Egyptian", name: "Love and Desire" }] },
|
|
3865
|
+
SIX_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Act with prudence" }, { deck: "Kier Egyptian", name: "Offering" }] },
|
|
3866
|
+
SEVEN_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Don't boast about your proposal or project" }, { deck: "Kier Egyptian", name: "Generosity" }] },
|
|
3867
|
+
EIGHT_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Keep doing what you always did" }, { deck: "Kier Egyptian", name: "The Provider" }] },
|
|
3868
|
+
NINE_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Work with what you like and earn something with it" }, { deck: "Kier Egyptian", name: "Confusion" }] },
|
|
3869
|
+
TEN_OF_PENTACLES: { type: "minor", suit: TAROT_SUITS.PENTACLES, descriptiveData: [{ deck: "Papus Kaabalistic", meaning: "Prosperity, Prosperous inheritance" }, { deck: "Kier Egyptian", name: "Rebirth" }] }
|
|
3870
|
+
};
|
|
3871
|
+
|
|
3872
|
+
// src/core/systems/hermetic-qabalah.ts
|
|
3873
|
+
var hermetic_qabalah_exports = {};
|
|
3874
|
+
__export(hermetic_qabalah_exports, {
|
|
3875
|
+
BRIDGES: () => BRIDGES,
|
|
3876
|
+
LOADERS: () => LOADERS,
|
|
3877
|
+
SYSTEM: () => SYSTEM,
|
|
3878
|
+
UNLOADERS: () => UNLOADERS,
|
|
3879
|
+
loadColors: () => loadColors,
|
|
3880
|
+
loadHermeticQabalah: () => loadHermeticQabalah,
|
|
3881
|
+
loadMusicalNotes: () => loadMusicalNotes,
|
|
3882
|
+
loadWesternAstrology: () => loadWesternAstrology,
|
|
3883
|
+
unloadColors: () => unloadColors,
|
|
3884
|
+
unloadHermeticQabalah: () => unloadHermeticQabalah,
|
|
3885
|
+
unloadMusicalNotes: () => unloadMusicalNotes,
|
|
3886
|
+
unloadWesternAstrology: () => unloadWesternAstrology
|
|
3887
|
+
});
|
|
3888
|
+
var SYSTEM = "hermetic-qabalah";
|
|
3889
|
+
function loadHermeticQabalah(tree) {
|
|
3890
|
+
const kether = tree.addSphere(SPHERES.KETHER, {
|
|
3891
|
+
...SPHERE_DATA.KETHER,
|
|
3892
|
+
divineName: "Eheieh",
|
|
3893
|
+
archangelicName: "Metraton",
|
|
3894
|
+
angelicName: "Chayouth Ha-Qadesh",
|
|
3895
|
+
mundaneName: "Rashith Ha-Gilgalim"
|
|
3896
|
+
}, 1);
|
|
3897
|
+
const chokmah = tree.addSphere(SPHERES.CHOKMAH, {
|
|
3898
|
+
...SPHERE_DATA.CHOKMAH,
|
|
3899
|
+
divineName: "Yahve El Yah",
|
|
3900
|
+
archangelicName: "Raziel",
|
|
3901
|
+
angelicName: "Auphanim",
|
|
3902
|
+
mundaneName: "Mazloth"
|
|
3903
|
+
}, 2);
|
|
3904
|
+
const binah = tree.addSphere(SPHERES.BINAH, {
|
|
3905
|
+
...SPHERE_DATA.BINAH,
|
|
3906
|
+
divineName: "Yahve Elohim",
|
|
3907
|
+
archangelicName: "Tzaphqiel",
|
|
3908
|
+
angelicName: "Aralim",
|
|
3909
|
+
mundaneName: "Shabbathai"
|
|
3910
|
+
}, 3);
|
|
3911
|
+
tree.addSphere(SPHERES.DAATH, SPHERE_DATA.DAATH, 11);
|
|
3912
|
+
const chesed = tree.addSphere(SPHERES.CHESED, {
|
|
3913
|
+
...SPHERE_DATA.CHESED,
|
|
3914
|
+
divineName: "El",
|
|
3915
|
+
archangelicName: "Tzadqiel",
|
|
3916
|
+
angelicName: "Chasmalim",
|
|
3917
|
+
mundaneName: "Tzedeq"
|
|
3918
|
+
}, 4);
|
|
3919
|
+
const geburah = tree.addSphere(SPHERES.GEBURAH, {
|
|
3920
|
+
...SPHERE_DATA.GEBURAH,
|
|
3921
|
+
divineName: "Elohim Gibor",
|
|
3922
|
+
archangelicName: "Kamael",
|
|
3923
|
+
angelicName: "Seraphim",
|
|
3924
|
+
mundaneName: "Madim"
|
|
3925
|
+
}, 5);
|
|
3926
|
+
const tiphereth = tree.addSphere(SPHERES.TIPHERETH, {
|
|
3927
|
+
...SPHERE_DATA.TIPHERETH,
|
|
3928
|
+
divineName: "Yahve Eloah Ve-Daath",
|
|
3929
|
+
archangelicName: "Raphael",
|
|
3930
|
+
angelicName: "Melekim",
|
|
3931
|
+
mundaneName: "Shemesh"
|
|
3932
|
+
}, 6);
|
|
3933
|
+
const netzach = tree.addSphere(SPHERES.NETZACH, {
|
|
3934
|
+
...SPHERE_DATA.NETZACH,
|
|
3935
|
+
divineName: "Yahve Tzabaoth",
|
|
3936
|
+
archangelicName: "Haniel",
|
|
3937
|
+
angelicName: "Elohim",
|
|
3938
|
+
mundaneName: "Nogah"
|
|
3939
|
+
}, 7);
|
|
3940
|
+
const hod = tree.addSphere(SPHERES.HOD, {
|
|
3941
|
+
...SPHERE_DATA.HOD,
|
|
3942
|
+
divineName: "Elohim Tzabaoth",
|
|
3943
|
+
archangelicName: "Mikael",
|
|
3944
|
+
angelicName: "Beni Elohim",
|
|
3945
|
+
mundaneName: "Kokab"
|
|
3946
|
+
}, 8);
|
|
3947
|
+
const yesod = tree.addSphere(SPHERES.YESOD, {
|
|
3948
|
+
...SPHERE_DATA.YESOD,
|
|
3949
|
+
divineName: "Shadai El Chai",
|
|
3950
|
+
archangelicName: "Gabriel",
|
|
3951
|
+
angelicName: "Kerubim",
|
|
3952
|
+
mundaneName: "Levanah"
|
|
3953
|
+
}, 9);
|
|
3954
|
+
const malkuth = tree.addSphere(SPHERES.MALKUTH, {
|
|
3955
|
+
...SPHERE_DATA.MALKUTH,
|
|
3956
|
+
divineName: "Adonai Malek",
|
|
3957
|
+
archangelicName: "Sandalphon",
|
|
3958
|
+
angelicName: "Ashim",
|
|
3959
|
+
mundaneName: "Olam Yesodot"
|
|
3960
|
+
}, 10);
|
|
3961
|
+
const worlds = Object.entries(FOUR_WORLDS);
|
|
3962
|
+
const worldData = {
|
|
3963
|
+
ATZILUTH: {
|
|
3964
|
+
element: "fire",
|
|
3965
|
+
hebrewName: "Atzilith",
|
|
3966
|
+
englishName: "World of Emanation"
|
|
3967
|
+
},
|
|
3968
|
+
BRIAH: {
|
|
3969
|
+
element: "water",
|
|
3970
|
+
hebrewName: "Briah",
|
|
3971
|
+
englishName: "World of Creation"
|
|
3972
|
+
},
|
|
3973
|
+
YETZIRAH: {
|
|
3974
|
+
element: "air",
|
|
3975
|
+
hebrewName: "Yetzirah",
|
|
3976
|
+
englishName: "World of Formation"
|
|
3977
|
+
},
|
|
3978
|
+
ASSIAH: {
|
|
3979
|
+
element: "earth",
|
|
3980
|
+
hebrewName: "Assiah",
|
|
3981
|
+
englishName: "World of Action"
|
|
3982
|
+
}
|
|
3983
|
+
};
|
|
3984
|
+
for (const [key] of worlds) {
|
|
3985
|
+
tree.addWorld(
|
|
3986
|
+
FOUR_WORLDS[key],
|
|
3987
|
+
worldData[key]
|
|
3988
|
+
);
|
|
3989
|
+
}
|
|
3990
|
+
const path11 = tree.addPath(kether, chokmah, MELKITZEDEKI_PATHS.KETHER_CHOKMAH);
|
|
3991
|
+
const path12 = tree.addPath(kether, binah, MELKITZEDEKI_PATHS.KETHER_BINAH);
|
|
3992
|
+
const path13 = tree.addPath(kether, tiphereth, MELKITZEDEKI_PATHS.KETHER_TIPHERETH);
|
|
3993
|
+
const path14 = tree.addPath(chokmah, binah, MELKITZEDEKI_PATHS.CHOKMAH_BINAH);
|
|
3994
|
+
const path15 = tree.addPath(chokmah, tiphereth, MELKITZEDEKI_PATHS.CHOKMAH_TIPHERETH);
|
|
3995
|
+
const path16 = tree.addPath(chokmah, chesed, MELKITZEDEKI_PATHS.CHOKMAH_CHESED);
|
|
3996
|
+
const path17 = tree.addPath(binah, tiphereth, MELKITZEDEKI_PATHS.BINAH_TIPHERETH);
|
|
3997
|
+
const path18 = tree.addPath(binah, geburah, MELKITZEDEKI_PATHS.BINAH_GEBURAH);
|
|
3998
|
+
const path19 = tree.addPath(chesed, geburah, MELKITZEDEKI_PATHS.CHESED_GEBURAH);
|
|
3999
|
+
const path20 = tree.addPath(chesed, tiphereth, MELKITZEDEKI_PATHS.CHESED_TIPHERETH);
|
|
4000
|
+
const path21 = tree.addPath(chesed, netzach, MELKITZEDEKI_PATHS.CHESED_NETZACH);
|
|
4001
|
+
const path22 = tree.addPath(geburah, tiphereth, MELKITZEDEKI_PATHS.GEBURAH_TIPHERETH);
|
|
4002
|
+
const path23 = tree.addPath(geburah, hod, MELKITZEDEKI_PATHS.GEBURAH_HOD);
|
|
4003
|
+
const path24 = tree.addPath(tiphereth, netzach, MELKITZEDEKI_PATHS.TIPHERETH_NETZACH);
|
|
4004
|
+
const path25 = tree.addPath(tiphereth, yesod, MELKITZEDEKI_PATHS.TIPHERETH_YESOD);
|
|
4005
|
+
const path26 = tree.addPath(tiphereth, hod, MELKITZEDEKI_PATHS.TIPHERETH_HOD);
|
|
4006
|
+
const path27 = tree.addPath(netzach, hod, MELKITZEDEKI_PATHS.NETZACH_HOD);
|
|
4007
|
+
const path28 = tree.addPath(netzach, yesod, MELKITZEDEKI_PATHS.NETZACH_YESOD);
|
|
4008
|
+
const path29 = tree.addPath(netzach, malkuth, MELKITZEDEKI_PATHS.NETZACH_MALKUTH);
|
|
4009
|
+
const path30 = tree.addPath(hod, yesod, MELKITZEDEKI_PATHS.HOD_YESOD);
|
|
4010
|
+
const path31 = tree.addPath(hod, malkuth, MELKITZEDEKI_PATHS.HOD_MALKUTH);
|
|
4011
|
+
const path32 = tree.addPath(yesod, malkuth, MELKITZEDEKI_PATHS.YESOD_MALKUTH);
|
|
4012
|
+
tree.addLetters(path11, [
|
|
4013
|
+
{ letter: LATIN_LETTERS.A, type: "latinLetter" },
|
|
4014
|
+
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ALEPH }
|
|
4015
|
+
]);
|
|
4016
|
+
tree.addLetters(path12, [
|
|
4017
|
+
{ letter: LATIN_LETTERS.B, type: "latinLetter" },
|
|
4018
|
+
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.BETH }
|
|
4019
|
+
]);
|
|
4020
|
+
tree.addLetters(path13, [
|
|
4021
|
+
{ letter: LATIN_LETTERS.G, type: "latinLetter" },
|
|
4022
|
+
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.GIMEL }
|
|
4023
|
+
]);
|
|
4024
|
+
tree.addLetters(path14, [
|
|
4025
|
+
{ letter: LATIN_LETTERS.D, type: "latinLetter" },
|
|
4026
|
+
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.DALET }
|
|
4027
|
+
]);
|
|
4028
|
+
tree.addLetters(path15, [
|
|
4029
|
+
{ letter: LATIN_LETTERS.E, type: "latinLetter" },
|
|
4030
|
+
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HE }
|
|
4031
|
+
]);
|
|
4032
|
+
tree.addLetters(path16, [
|
|
4033
|
+
{ letter: LATIN_LETTERS.V, type: "latinLetter" },
|
|
4034
|
+
{ letter: LATIN_LETTERS.U, type: "latinLetter" },
|
|
4035
|
+
{ letter: LATIN_LETTERS.W, type: "latinLetter" },
|
|
4036
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
4037
|
+
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.VAV }
|
|
4038
|
+
]);
|
|
4039
|
+
tree.addLetters(path17, [
|
|
4040
|
+
{ letter: LATIN_LETTERS.Z, type: "latinLetter" },
|
|
4041
|
+
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
4042
|
+
]);
|
|
4043
|
+
tree.addLetters(path18, [
|
|
4044
|
+
{ letter: LATIN_LETTERS.H, type: "latinLetter" },
|
|
4045
|
+
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HET }
|
|
4046
|
+
]);
|
|
4047
|
+
tree.addLetters(path19, [
|
|
4048
|
+
{ letter: LATIN_LETTERS.T, type: "latinLetter" },
|
|
4049
|
+
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TET }
|
|
4050
|
+
]);
|
|
4051
|
+
tree.addLetters(path20, [
|
|
4052
|
+
{ letter: LATIN_LETTERS.I, type: "latinLetter" },
|
|
4053
|
+
{ letter: LATIN_LETTERS.J, type: "latinLetter" },
|
|
4054
|
+
{ letter: LATIN_LETTERS.Y, type: "latinLetter" },
|
|
4055
|
+
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.YOD }
|
|
4056
|
+
]);
|
|
4057
|
+
tree.addLetters(path21, [
|
|
4058
|
+
{ letter: LATIN_LETTERS.C, type: "latinLetter" },
|
|
4059
|
+
{ letter: HEBREW_LETTERS.KAF, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.KAF }
|
|
4060
|
+
]);
|
|
4061
|
+
tree.addLetters(path22, [
|
|
4062
|
+
{ letter: LATIN_LETTERS.L, type: "latinLetter" },
|
|
4063
|
+
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.LAMED }
|
|
4064
|
+
]);
|
|
4065
|
+
tree.addLetters(path23, [
|
|
4066
|
+
{ letter: LATIN_LETTERS.M, type: "latinLetter" },
|
|
4067
|
+
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.MEM }
|
|
4068
|
+
]);
|
|
4069
|
+
tree.addLetters(path24, [
|
|
4070
|
+
{ letter: LATIN_LETTERS.N, type: "latinLetter" },
|
|
4071
|
+
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.NUN }
|
|
4072
|
+
]);
|
|
4073
|
+
tree.addLetters(path25, [
|
|
4074
|
+
{ letter: LATIN_LETTERS.S, type: "latinLetter" },
|
|
4075
|
+
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" },
|
|
4076
|
+
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
4077
|
+
]);
|
|
4078
|
+
tree.addLetters(path26, [
|
|
4079
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
4080
|
+
{ letter: HEBREW_LETTERS.AIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.AIN }
|
|
4081
|
+
]);
|
|
4082
|
+
tree.addLetters(path27, [
|
|
4083
|
+
{ letter: LATIN_LETTERS.P, type: "latinLetter" },
|
|
4084
|
+
{ letter: LATIN_LETTERS.F, type: "latinLetter" },
|
|
4085
|
+
{ letter: LATIN_LETTERS.PH, type: "latinLetter" },
|
|
4086
|
+
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.PE }
|
|
4087
|
+
]);
|
|
4088
|
+
tree.addLetters(path28, [
|
|
4089
|
+
{ letter: LATIN_LETTERS.TS, type: "latinLetter" },
|
|
4090
|
+
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" },
|
|
4091
|
+
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TSADI }
|
|
4092
|
+
]);
|
|
4093
|
+
tree.addLetters(path29, [
|
|
4094
|
+
{ letter: LATIN_LETTERS.K, type: "latinLetter" },
|
|
4095
|
+
{ letter: LATIN_LETTERS.Q, type: "latinLetter" },
|
|
4096
|
+
{ letter: LATIN_LETTERS.KH, type: "latinLetter" },
|
|
4097
|
+
{ letter: HEBREW_LETTERS.QOF, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.QOF }
|
|
4098
|
+
]);
|
|
4099
|
+
tree.addLetters(path30, [
|
|
4100
|
+
{ letter: LATIN_LETTERS.R, type: "latinLetter" },
|
|
4101
|
+
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.RESH }
|
|
4102
|
+
]);
|
|
4103
|
+
tree.addLetters(path31, [
|
|
4104
|
+
{ letter: LATIN_LETTERS.CH, type: "latinLetter" },
|
|
4105
|
+
{ letter: LATIN_LETTERS.SH, type: "latinLetter" },
|
|
4106
|
+
{ letter: LATIN_LETTERS.X, type: "latinLetter" },
|
|
4107
|
+
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SHIN }
|
|
4108
|
+
]);
|
|
4109
|
+
tree.addLetters(path32, [
|
|
4110
|
+
{ letter: LATIN_LETTERS.TH, type: "latinLetter" },
|
|
4111
|
+
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TAV }
|
|
4112
|
+
]);
|
|
4113
|
+
return tree;
|
|
4114
|
+
}
|
|
4115
|
+
function unloadHermeticQabalah(tree) {
|
|
4116
|
+
const spheres = Object.values(SPHERES);
|
|
4117
|
+
for (let i = 0; i < spheres.length; i++) {
|
|
4118
|
+
tree.removeNode(spheres[i]);
|
|
4119
|
+
}
|
|
4120
|
+
const paths = Object.values(MELKITZEDEKI_PATHS);
|
|
4121
|
+
for (let i = 0; i < paths.length; i++) {
|
|
4122
|
+
tree.removeNode(`path:${paths[i]}`);
|
|
4123
|
+
}
|
|
3479
4124
|
}
|
|
4125
|
+
function loadColors(tree) {
|
|
4126
|
+
tree.addSphereColor(SPHERES.KETHER, "splendor", {
|
|
4127
|
+
colorDescription: "Splendor",
|
|
4128
|
+
colorNames: ["transparent"],
|
|
4129
|
+
colorHexCodes: ["#ffffff"]
|
|
4130
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4131
|
+
tree.addSphereColor(SPHERES.KETHER, "white-splendor", {
|
|
4132
|
+
colorDescription: "White splendor, pure",
|
|
4133
|
+
colorNames: ["white"],
|
|
4134
|
+
colorHexCodes: ["#ffffff"]
|
|
4135
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4136
|
+
tree.addSphereColor(SPHERES.KETHER, "white-splendor", {
|
|
4137
|
+
colorDescription: "White splendor, pure",
|
|
4138
|
+
colorNames: ["white"],
|
|
4139
|
+
colorHexCodes: ["#ffffff"]
|
|
4140
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4141
|
+
tree.addSphereColor(SPHERES.KETHER, "white-speckled-gold", {
|
|
4142
|
+
colorDescription: "White speckled with gold",
|
|
4143
|
+
colorNames: ["white", "gold"],
|
|
4144
|
+
colorHexCodes: ["#ffffff", "#FFD700"]
|
|
4145
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4146
|
+
tree.addSphereColor(SPHERES.CHOKMAH, "blue", {
|
|
4147
|
+
colorDescription: "Smooth blue, pure",
|
|
4148
|
+
colorNames: ["blue"],
|
|
4149
|
+
colorHexCodes: ["#0000FF"]
|
|
4150
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4151
|
+
tree.addSphereColor(SPHERES.CHOKMAH, "grey", {
|
|
4152
|
+
colorDescription: "Grey",
|
|
4153
|
+
colorNames: ["grey"],
|
|
4154
|
+
colorHexCodes: ["#808080"]
|
|
4155
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4156
|
+
tree.addSphereColor(SPHERES.CHOKMAH, "grey-iridescent", {
|
|
4157
|
+
colorDescription: "Pearl grey iridescent",
|
|
4158
|
+
colorNames: ["grey", "iridescent"],
|
|
4159
|
+
colorHexCodes: ["#808080", "#EDBBE7"]
|
|
4160
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4161
|
+
tree.addSphereColor(SPHERES.CHOKMAH, "white-speckled-red-blue-yellow", {
|
|
4162
|
+
colorDescription: "White speckled with red, blue and yellow",
|
|
4163
|
+
colorNames: ["white", "red", "blue", "yellow"],
|
|
4164
|
+
colorHexCodes: ["#FFFFFF", "#FF0000", "#0000FF", "#FFF50F"]
|
|
4165
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4166
|
+
tree.addSphereColor(SPHERES.BINAH, "crimson", {
|
|
4167
|
+
colorDescription: "Crimson",
|
|
4168
|
+
colorNames: ["crimson"],
|
|
4169
|
+
colorHexCodes: ["#DC143C"]
|
|
4170
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4171
|
+
tree.addSphereColor(SPHERES.BINAH, "black", {
|
|
4172
|
+
colorDescription: "Black",
|
|
4173
|
+
colorNames: ["black"],
|
|
4174
|
+
colorHexCodes: ["#000000"]
|
|
4175
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4176
|
+
tree.addSphereColor(SPHERES.BINAH, "dark-brown", {
|
|
4177
|
+
colorDescription: "Dark brown",
|
|
4178
|
+
colorNames: ["dark-brown"],
|
|
4179
|
+
colorHexCodes: ["#422E29"]
|
|
4180
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4181
|
+
tree.addSphereColor(SPHERES.BINAH, "grey-speckled-pink", {
|
|
4182
|
+
colorDescription: "Grey speckled with pink",
|
|
4183
|
+
colorNames: ["grey", "pink"],
|
|
4184
|
+
colorHexCodes: ["#808080", "#FFC0CB"]
|
|
4185
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4186
|
+
tree.addSphereColor(SPHERES.DAATH, "lavender", {
|
|
4187
|
+
colorDescription: "Lavender",
|
|
4188
|
+
colorNames: ["lavender"],
|
|
4189
|
+
colorHexCodes: ["#E6E6FA"]
|
|
4190
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4191
|
+
tree.addSphereColor(SPHERES.DAATH, "dark-grey", {
|
|
4192
|
+
colorDescription: "Dark grey",
|
|
4193
|
+
colorNames: ["dark-grey"],
|
|
4194
|
+
colorHexCodes: ["#808080"]
|
|
4195
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4196
|
+
tree.addSphereColor(SPHERES.DAATH, "pure-violet", {
|
|
4197
|
+
colorDescription: "Pure violet",
|
|
4198
|
+
colorNames: ["violet"],
|
|
4199
|
+
colorHexCodes: ["#8F00FF"]
|
|
4200
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4201
|
+
tree.addSphereColor(SPHERES.DAATH, "grey-speckled-gold", {
|
|
4202
|
+
colorDescription: "Grey speckled with gold",
|
|
4203
|
+
colorNames: ["grey", "gold"],
|
|
4204
|
+
colorHexCodes: ["#808080", "#FFD700"]
|
|
4205
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4206
|
+
tree.addSphereColor(SPHERES.CHESED, "intense-violet", {
|
|
4207
|
+
colorDescription: "Intense violet",
|
|
4208
|
+
colorNames: ["intense-violet"],
|
|
4209
|
+
colorHexCodes: ["#9400D3"]
|
|
4210
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4211
|
+
tree.addSphereColor(SPHERES.CHESED, "blue", {
|
|
4212
|
+
colorDescription: "Blue",
|
|
4213
|
+
colorNames: ["blue"],
|
|
4214
|
+
colorHexCodes: ["#0000FF"]
|
|
4215
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4216
|
+
tree.addSphereColor(SPHERES.CHESED, "intense-purple", {
|
|
4217
|
+
colorDescription: "Intense purple",
|
|
4218
|
+
colorNames: ["intense-purple"],
|
|
4219
|
+
colorHexCodes: ["#800080"]
|
|
4220
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4221
|
+
tree.addSphereColor(SPHERES.CHESED, "intense-blue-speckled-yellow", {
|
|
4222
|
+
colorDescription: "Intense blue speckled with yellow",
|
|
4223
|
+
colorNames: ["intense-blue", "yellow"],
|
|
4224
|
+
colorHexCodes: ["#0000FF", "#FFF50F"]
|
|
4225
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4226
|
+
tree.addSphereColor(SPHERES.GEBURAH, "orange", {
|
|
4227
|
+
colorDescription: "Orange",
|
|
4228
|
+
colorNames: ["orange"],
|
|
4229
|
+
colorHexCodes: ["#FFA800"]
|
|
4230
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4231
|
+
tree.addSphereColor(SPHERES.GEBURAH, "scarlet-red", {
|
|
4232
|
+
colorDescription: "Scarlet red",
|
|
4233
|
+
colorNames: ["scarlet-red"],
|
|
4234
|
+
colorHexCodes: ["#FF2400"]
|
|
4235
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4236
|
+
tree.addSphereColor(SPHERES.GEBURAH, "bright-scarlet", {
|
|
4237
|
+
colorDescription: "Bright scarlet",
|
|
4238
|
+
colorNames: ["bright-scarlet"],
|
|
4239
|
+
colorHexCodes: ["#FF2400"]
|
|
4240
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4241
|
+
tree.addSphereColor(SPHERES.GEBURAH, "red-speckled-black", {
|
|
4242
|
+
colorDescription: "Red speckled with black",
|
|
4243
|
+
colorNames: ["red", "black"],
|
|
4244
|
+
colorHexCodes: ["#FF0000", "#000000"]
|
|
4245
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4246
|
+
tree.addSphereColor(SPHERES.TIPHERETH, "gold-yellow", {
|
|
4247
|
+
colorDescription: "gold yellow",
|
|
4248
|
+
colorNames: ["gold-yellow"],
|
|
4249
|
+
colorHexCodes: ["#FFD700"]
|
|
4250
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4251
|
+
tree.addSphereColor(SPHERES.TIPHERETH, "rose-pink", {
|
|
4252
|
+
colorDescription: "Rose pink",
|
|
4253
|
+
colorNames: ["rose-pink"],
|
|
4254
|
+
colorHexCodes: ["#FFC0CB"]
|
|
4255
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4256
|
+
tree.addSphereColor(SPHERES.TIPHERETH, "salmon-pink-reddish-carmine-amber-brown-mixed", {
|
|
4257
|
+
colorDescription: "Salmon pink, reddish carmine, amber, brown, mixed",
|
|
4258
|
+
colorNames: ["salmon-pink", "reddish-carmine", "amber", "brown", "mixed"],
|
|
4259
|
+
colorHexCodes: ["#FF9999", "#960018", "#996515"]
|
|
4260
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4261
|
+
tree.addSphereColor(SPHERES.TIPHERETH, "gold-speckled-green", {
|
|
4262
|
+
colorDescription: "Gold speckled with green",
|
|
4263
|
+
colorNames: ["gold", "green"],
|
|
4264
|
+
colorHexCodes: ["#FFD700", "#BDB76B"]
|
|
4265
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4266
|
+
tree.addSphereColor(SPHERES.NETZACH, "amber", {
|
|
4267
|
+
colorDescription: "Amber",
|
|
4268
|
+
colorNames: ["amber"],
|
|
4269
|
+
colorHexCodes: ["#FFBF00"]
|
|
4270
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4271
|
+
tree.addSphereColor(SPHERES.NETZACH, "emerald-green", {
|
|
4272
|
+
colorDescription: "Emerald green",
|
|
4273
|
+
colorNames: ["emerald-green"],
|
|
4274
|
+
colorHexCodes: ["#50C878"]
|
|
4275
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4276
|
+
tree.addSphereColor(SPHERES.NETZACH, "bright-yellowish-green", {
|
|
4277
|
+
colorDescription: "Bright yellowish green",
|
|
4278
|
+
colorNames: ["bright-yellowish-green"],
|
|
4279
|
+
colorHexCodes: ["#98FB98"]
|
|
4280
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4281
|
+
tree.addSphereColor(SPHERES.NETZACH, "olive-green-speckled-gold", {
|
|
4282
|
+
colorDescription: "Olive green speckled with gold",
|
|
4283
|
+
colorNames: ["olive-green", "gold"],
|
|
4284
|
+
colorHexCodes: ["#BAB86C", "#FFD700"]
|
|
4285
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4286
|
+
tree.addSphereColor(SPHERES.HOD, "violet-purple", {
|
|
4287
|
+
colorDescription: "Violet-purple",
|
|
4288
|
+
colorNames: ["violet-purple"],
|
|
4289
|
+
colorHexCodes: ["#9B30FF"]
|
|
4290
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4291
|
+
tree.addSphereColor(SPHERES.HOD, "orange", {
|
|
4292
|
+
colorDescription: "Orange",
|
|
4293
|
+
colorNames: ["orange"],
|
|
4294
|
+
colorHexCodes: ["#FFA800"]
|
|
4295
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4296
|
+
tree.addSphereColor(SPHERES.HOD, "red-purple", {
|
|
4297
|
+
colorDescription: "Red-purple",
|
|
4298
|
+
colorNames: ["red-purple"],
|
|
4299
|
+
colorHexCodes: ["#C71585"]
|
|
4300
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4301
|
+
tree.addSphereColor(SPHERES.HOD, "yellowish-black-speckled-with-white", {
|
|
4302
|
+
colorDescription: "Yellowish black speckled with white",
|
|
4303
|
+
colorNames: ["yellowish-black-speckled-with-white"],
|
|
4304
|
+
colorHexCodes: ["#2B2B1B", "#FFFFFF"]
|
|
4305
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4306
|
+
tree.addSphereColor(SPHERES.YESOD, "indigo", {
|
|
4307
|
+
colorDescription: "Indigo",
|
|
4308
|
+
colorNames: ["indigo"],
|
|
4309
|
+
colorHexCodes: ["#4B0082"]
|
|
4310
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4311
|
+
tree.addSphereColor(SPHERES.YESOD, "violet", {
|
|
4312
|
+
colorDescription: "Violet",
|
|
4313
|
+
colorNames: ["violet"],
|
|
4314
|
+
colorHexCodes: ["#8F00FF"]
|
|
4315
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4316
|
+
tree.addSphereColor(SPHERES.YESOD, "purple", {
|
|
4317
|
+
colorDescription: "Purple",
|
|
4318
|
+
colorNames: ["purple"],
|
|
4319
|
+
colorHexCodes: ["#800080"]
|
|
4320
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4321
|
+
tree.addSphereColor(SPHERES.YESOD, "citrine-speckled-blue", {
|
|
4322
|
+
colorDescription: "Citrine speckled with blue",
|
|
4323
|
+
colorNames: ["citrine-speckled-blue"],
|
|
4324
|
+
colorHexCodes: ["#E4D00A", "#1E90FF"]
|
|
4325
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4326
|
+
tree.addSphereColor(SPHERES.MALKUTH, "yellow", {
|
|
4327
|
+
colorDescription: "Yellow",
|
|
4328
|
+
colorNames: ["yellow"],
|
|
4329
|
+
colorHexCodes: ["#FFF50F"]
|
|
4330
|
+
}, FOUR_WORLDS.ATZILUTH);
|
|
4331
|
+
tree.addSphereColor(SPHERES.MALKUTH, "brown", {
|
|
4332
|
+
colorDescription: "Made up of the colors of earth, which is created from the 4 elements. Brown can be used to represent it, but, usually it is represented in a pizza-like pattern, starting with Olive on top, and going clockwise with Yellow, Black and Red, all with slightly less saturation.",
|
|
4333
|
+
colorNames: ["brown", "olive", "yellow", "black", "red"],
|
|
4334
|
+
colorHexCodes: ["#422E29", "#BAB86C", "#FFF659", "#000000", "#FF5454"]
|
|
4335
|
+
}, FOUR_WORLDS.BRIAH);
|
|
4336
|
+
tree.addSphereColor(SPHERES.MALKUTH, "olive-green", {
|
|
4337
|
+
colorDescription: "Olive green",
|
|
4338
|
+
colorNames: ["olive-green"],
|
|
4339
|
+
colorHexCodes: ["#BAB86C"]
|
|
4340
|
+
}, FOUR_WORLDS.YETZIRAH);
|
|
4341
|
+
tree.addSphereColor(SPHERES.MALKUTH, "black", {
|
|
4342
|
+
colorDescription: "All the colors mixed, on their lowest vibration.",
|
|
4343
|
+
colorNames: ["black"],
|
|
4344
|
+
colorHexCodes: ["#000000"]
|
|
4345
|
+
}, FOUR_WORLDS.ASSIAH);
|
|
4346
|
+
return tree;
|
|
4347
|
+
}
|
|
4348
|
+
function unloadColors(tree) {
|
|
4349
|
+
const colors = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "color").map((color) => color.id));
|
|
4350
|
+
for (let i = 0; i < colors.length; i++) {
|
|
4351
|
+
tree.removeNode(colors[i]);
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4354
|
+
function loadMusicalNotes(tree) {
|
|
4355
|
+
tree.addMusicalNote(SPHERES.KETHER, "The Sound of the Spheres", {
|
|
4356
|
+
note: "The Sound of the Sphere",
|
|
4357
|
+
noteDescription: "The sound of the sphere"
|
|
4358
|
+
});
|
|
4359
|
+
tree.addMusicalNote(SPHERES.CHOKMAH, "Mantras", {
|
|
4360
|
+
note: "Mantra",
|
|
4361
|
+
noteDescription: "All sounds considered devotional mantras"
|
|
4362
|
+
});
|
|
4363
|
+
tree.addMusicalNote(SPHERES.BINAH, "Si", {
|
|
4364
|
+
note: "Si",
|
|
4365
|
+
noteDescription: "B (Si)"
|
|
4366
|
+
});
|
|
4367
|
+
tree.addMusicalNote(SPHERES.CHESED, "La", {
|
|
4368
|
+
note: "La",
|
|
4369
|
+
noteDescription: "A (La)"
|
|
4370
|
+
});
|
|
4371
|
+
tree.addMusicalNote(SPHERES.GEBURAH, "Do-treble", {
|
|
4372
|
+
note: "Do",
|
|
4373
|
+
noteDescription: "C (Do), in the treble clef"
|
|
4374
|
+
});
|
|
4375
|
+
tree.addMusicalNote(SPHERES.TIPHERETH, "Sol-treble", {
|
|
4376
|
+
note: "Sol",
|
|
4377
|
+
noteDescription: "G (Sol), in the treble clef"
|
|
4378
|
+
});
|
|
4379
|
+
tree.addMusicalNote(SPHERES.NETZACH, "Do", {
|
|
4380
|
+
note: "Do",
|
|
4381
|
+
noteDescription: "C (Do)"
|
|
4382
|
+
});
|
|
4383
|
+
tree.addMusicalNote(SPHERES.HOD, "Mi", {
|
|
4384
|
+
note: "Mi",
|
|
4385
|
+
noteDescription: "E (Mi)"
|
|
4386
|
+
});
|
|
4387
|
+
tree.addMusicalNote(SPHERES.YESOD, "Mi", {
|
|
4388
|
+
note: "Mi",
|
|
4389
|
+
noteDescription: "E (Mi)"
|
|
4390
|
+
});
|
|
4391
|
+
tree.addMusicalNote(SPHERES.MALKUTH, "Fa", {
|
|
4392
|
+
note: "Fa",
|
|
4393
|
+
noteDescription: "F (Fa)"
|
|
4394
|
+
});
|
|
4395
|
+
return tree;
|
|
4396
|
+
}
|
|
4397
|
+
function unloadMusicalNotes(tree) {
|
|
4398
|
+
const notes = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "musicalNote").map((note) => note.id));
|
|
4399
|
+
for (let i = 0; i < notes.length; i++) {
|
|
4400
|
+
tree.removeNode(notes[i]);
|
|
4401
|
+
}
|
|
4402
|
+
}
|
|
4403
|
+
var linkColorsAndSigns = (t) => {
|
|
4404
|
+
return t;
|
|
4405
|
+
};
|
|
4406
|
+
var loadWesternAstrology = (tree) => {
|
|
4407
|
+
tree.addWesternAstrologyPlanet(SPHERES.KETHER, PLANETS.NEPTUNE);
|
|
4408
|
+
tree.addWesternAstrologyPlanet(SPHERES.CHOKMAH, PLANETS.URANUS);
|
|
4409
|
+
tree.addWesternAstrologyPlanet(SPHERES.BINAH, PLANETS.SATURN);
|
|
4410
|
+
tree.addWesternAstrologyPlanet(SPHERES.DAATH, PLANETS.PLUTO);
|
|
4411
|
+
tree.addWesternAstrologyPlanet(SPHERES.CHESED, PLANETS.JUPITER);
|
|
4412
|
+
tree.addWesternAstrologyPlanet(SPHERES.GEBURAH, PLANETS.MARS);
|
|
4413
|
+
tree.addWesternAstrologyPlanet(SPHERES.TIPHERETH, PLANETS.SUN);
|
|
4414
|
+
tree.addWesternAstrologyPlanet(SPHERES.NETZACH, PLANETS.VENUS);
|
|
4415
|
+
tree.addWesternAstrologyPlanet(SPHERES.HOD, PLANETS.MERCURY);
|
|
4416
|
+
tree.addWesternAstrologyPlanet(SPHERES.YESOD, PLANETS.MOON);
|
|
4417
|
+
tree.addWesternAstrologyPlanet(SPHERES.MALKUTH, PLANETS.EARTH);
|
|
4418
|
+
return tree;
|
|
4419
|
+
};
|
|
4420
|
+
var unloadWesternAstrology = (tree) => {
|
|
4421
|
+
const planets = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "planet").map((planet) => planet.id));
|
|
4422
|
+
for (let i = 0; i < planets.length; i++) {
|
|
4423
|
+
tree.removeNode(planets[i]);
|
|
4424
|
+
}
|
|
4425
|
+
};
|
|
4426
|
+
var LOADERS = {
|
|
4427
|
+
base: loadHermeticQabalah,
|
|
4428
|
+
colors: loadColors,
|
|
4429
|
+
music: loadMusicalNotes,
|
|
4430
|
+
westernAstrology: loadWesternAstrology
|
|
4431
|
+
};
|
|
4432
|
+
var UNLOADERS = {
|
|
4433
|
+
base: unloadHermeticQabalah,
|
|
4434
|
+
colors: unloadColors,
|
|
4435
|
+
music: unloadMusicalNotes,
|
|
4436
|
+
westernAstrology: unloadWesternAstrology
|
|
4437
|
+
};
|
|
4438
|
+
var BRIDGES = [
|
|
4439
|
+
{
|
|
4440
|
+
id: "hermetic-qabalah-color-music",
|
|
4441
|
+
needs: ["colors", "music"],
|
|
4442
|
+
run: (t) => linkColorsAndSigns(t)
|
|
4443
|
+
}
|
|
4444
|
+
];
|
|
3480
4445
|
|
|
3481
|
-
// src/kaabalah
|
|
3482
|
-
var
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
4446
|
+
// src/core/systems/kaabalah.ts
|
|
4447
|
+
var kaabalah_exports = {};
|
|
4448
|
+
__export(kaabalah_exports, {
|
|
4449
|
+
BRIDGES: () => BRIDGES2,
|
|
4450
|
+
LOADERS: () => LOADERS2,
|
|
4451
|
+
SYSTEM: () => SYSTEM2,
|
|
4452
|
+
UNLOADERS: () => UNLOADERS2,
|
|
4453
|
+
loadColors: () => loadColors2,
|
|
4454
|
+
loadKaabalah: () => loadKaabalah,
|
|
4455
|
+
loadMusicalNotes: () => loadMusicalNotes2,
|
|
4456
|
+
loadTarot: () => loadTarot,
|
|
4457
|
+
loadWesternAstrology: () => loadWesternAstrology2,
|
|
4458
|
+
unloadColors: () => unloadColors2,
|
|
4459
|
+
unloadKaabalah: () => unloadKaabalah,
|
|
4460
|
+
unloadMusicalNotes: () => unloadMusicalNotes2,
|
|
4461
|
+
unloadTarot: () => unloadTarot,
|
|
4462
|
+
unloadWesternAstrology: () => unloadWesternAstrology2
|
|
4463
|
+
});
|
|
4464
|
+
var SYSTEM2 = "kaabalah";
|
|
4465
|
+
var loadKaabalah = (tree) => {
|
|
4466
|
+
const kether = tree.addSphere(SPHERES.KETHER, SPHERE_DATA.KETHER, 1);
|
|
4467
|
+
const chokmah = tree.addSphere(SPHERES.CHOKMAH, SPHERE_DATA.CHOKMAH, 2);
|
|
4468
|
+
const binah = tree.addSphere(SPHERES.BINAH, SPHERE_DATA.BINAH, 3);
|
|
4469
|
+
tree.addSphere(SPHERES.DAATH, SPHERE_DATA.DAATH, 11);
|
|
4470
|
+
const chesed = tree.addSphere(SPHERES.CHESED, SPHERE_DATA.CHESED, 4);
|
|
4471
|
+
const geburah = tree.addSphere(SPHERES.GEBURAH, SPHERE_DATA.GEBURAH, 5);
|
|
4472
|
+
const tiphereth = tree.addSphere(SPHERES.TIPHERETH, SPHERE_DATA.TIPHERETH, 6);
|
|
4473
|
+
const netzach = tree.addSphere(SPHERES.NETZACH, SPHERE_DATA.NETZACH, 7);
|
|
4474
|
+
const hod = tree.addSphere(SPHERES.HOD, SPHERE_DATA.HOD, 8);
|
|
4475
|
+
const yesod = tree.addSphere(SPHERES.YESOD, SPHERE_DATA.YESOD, 9);
|
|
4476
|
+
const malkuth = tree.addSphere(SPHERES.MALKUTH, SPHERE_DATA.MALKUTH, 10);
|
|
4477
|
+
const worlds = Object.entries(FOUR_WORLDS);
|
|
4478
|
+
const worldData = {
|
|
4479
|
+
ATZILUTH: {
|
|
4480
|
+
element: "fire",
|
|
4481
|
+
hebrewName: "Atzilith",
|
|
4482
|
+
englishName: "World of Emanation"
|
|
4483
|
+
},
|
|
4484
|
+
BRIAH: {
|
|
4485
|
+
element: "water",
|
|
4486
|
+
hebrewName: "Briah",
|
|
4487
|
+
englishName: "World of Creation"
|
|
4488
|
+
},
|
|
4489
|
+
YETZIRAH: {
|
|
4490
|
+
element: "air",
|
|
4491
|
+
hebrewName: "Yetzirah",
|
|
4492
|
+
englishName: "World of Formation"
|
|
4493
|
+
},
|
|
4494
|
+
ASSIAH: {
|
|
4495
|
+
element: "earth",
|
|
4496
|
+
hebrewName: "Assiah",
|
|
4497
|
+
englishName: "World of Action"
|
|
3493
4498
|
}
|
|
3494
|
-
|
|
3495
|
-
[
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
4499
|
+
};
|
|
4500
|
+
for (const [key] of worlds) {
|
|
4501
|
+
tree.addWorld(
|
|
4502
|
+
FOUR_WORLDS[key],
|
|
4503
|
+
worldData[key]
|
|
4504
|
+
);
|
|
4505
|
+
}
|
|
4506
|
+
const path11 = tree.addPath(kether, chokmah, MELKITZEDEKI_PATHS.KETHER_CHOKMAH, {
|
|
4507
|
+
meaning: "Crown's wisdom"
|
|
4508
|
+
});
|
|
4509
|
+
const path12 = tree.addPath(kether, binah, MELKITZEDEKI_PATHS.KETHER_BINAH, {
|
|
4510
|
+
meaning: "Transparency's intelligence"
|
|
4511
|
+
});
|
|
4512
|
+
const path13 = tree.addPath(kether, tiphereth, MELKITZEDEKI_PATHS.KETHER_TIPHERETH, {
|
|
4513
|
+
meaning: "Great Ark Tekton (architect)"
|
|
4514
|
+
});
|
|
4515
|
+
const path14 = tree.addPath(chokmah, binah, MELKITZEDEKI_PATHS.CHOKMAH_BINAH, {
|
|
4516
|
+
meaning: "Light's wisdom that becomes sound"
|
|
4517
|
+
});
|
|
4518
|
+
const path15 = tree.addPath(chokmah, tiphereth, MELKITZEDEKI_PATHS.CHOKMAH_TIPHERETH, {
|
|
4519
|
+
meaning: "Light reaching equilibrium"
|
|
4520
|
+
});
|
|
4521
|
+
const path16 = tree.addPath(chokmah, chesed, MELKITZEDEKI_PATHS.CHOKMAH_CHESED, {
|
|
4522
|
+
meaning: "Expansive light"
|
|
4523
|
+
});
|
|
4524
|
+
const path17 = tree.addPath(binah, tiphereth, MELKITZEDEKI_PATHS.BINAH_TIPHERETH, {
|
|
4525
|
+
meaning: "Vibration that balances"
|
|
4526
|
+
});
|
|
4527
|
+
const path18 = tree.addPath(binah, geburah, MELKITZEDEKI_PATHS.BINAH_GEBURAH, {
|
|
4528
|
+
meaning: "Vibration that becomes dual"
|
|
4529
|
+
});
|
|
4530
|
+
const path19 = tree.addPath(chesed, geburah, MELKITZEDEKI_PATHS.CHESED_GEBURAH, {
|
|
4531
|
+
meaning: "Expansion towards duality"
|
|
4532
|
+
});
|
|
4533
|
+
const path20 = tree.addPath(chesed, tiphereth, MELKITZEDEKI_PATHS.CHESED_TIPHERETH, {
|
|
4534
|
+
meaning: "Expansion of equilibrium"
|
|
4535
|
+
});
|
|
4536
|
+
const path21 = tree.addPath(chesed, netzach, MELKITZEDEKI_PATHS.CHESED_NETZACH, {
|
|
4537
|
+
meaning: "Expansion of victory"
|
|
4538
|
+
});
|
|
4539
|
+
const path22 = tree.addPath(geburah, tiphereth, MELKITZEDEKI_PATHS.GEBURAH_TIPHERETH, {
|
|
4540
|
+
meaning: "Harmonizing duality"
|
|
4541
|
+
});
|
|
4542
|
+
const path23 = tree.addPath(geburah, hod, MELKITZEDEKI_PATHS.GEBURAH_HOD, {
|
|
4543
|
+
meaning: "Duality from above with duality from below"
|
|
4544
|
+
});
|
|
4545
|
+
const path24 = tree.addPath(tiphereth, netzach, MELKITZEDEKI_PATHS.TIPHERETH_NETZACH, {
|
|
4546
|
+
meaning: "Illumination of victory"
|
|
4547
|
+
});
|
|
4548
|
+
const path25 = tree.addPath(tiphereth, yesod, MELKITZEDEKI_PATHS.TIPHERETH_YESOD, {
|
|
4549
|
+
meaning: "Illumination of foundations (secrets)"
|
|
4550
|
+
});
|
|
4551
|
+
const path26 = tree.addPath(tiphereth, hod, MELKITZEDEKI_PATHS.TIPHERETH_HOD, {
|
|
4552
|
+
meaning: "Illumination of reasons"
|
|
4553
|
+
});
|
|
4554
|
+
const path27 = tree.addPath(netzach, hod, MELKITZEDEKI_PATHS.NETZACH_HOD, {
|
|
4555
|
+
meaning: "Reason of emotions"
|
|
4556
|
+
});
|
|
4557
|
+
const path28 = tree.addPath(netzach, yesod, MELKITZEDEKI_PATHS.NETZACH_YESOD, {
|
|
4558
|
+
meaning: "Victory of inner emptiness"
|
|
4559
|
+
});
|
|
4560
|
+
const path29 = tree.addPath(netzach, malkuth, MELKITZEDEKI_PATHS.NETZACH_MALKUTH, {
|
|
4561
|
+
meaning: "Victory over matter"
|
|
4562
|
+
});
|
|
4563
|
+
const path30 = tree.addPath(hod, yesod, MELKITZEDEKI_PATHS.HOD_YESOD, {
|
|
4564
|
+
meaning: "Reason of foundations"
|
|
4565
|
+
});
|
|
4566
|
+
const path31 = tree.addPath(hod, malkuth, MELKITZEDEKI_PATHS.HOD_MALKUTH, {
|
|
4567
|
+
meaning: "Reason conquering the world"
|
|
4568
|
+
});
|
|
4569
|
+
const path32 = tree.addPath(yesod, malkuth, MELKITZEDEKI_PATHS.YESOD_MALKUTH, {
|
|
4570
|
+
meaning: "Filling the inner emptiness of the world"
|
|
4571
|
+
});
|
|
4572
|
+
tree.addLetters(path11, [
|
|
4573
|
+
{ letter: LATIN_LETTERS.A, type: "latinLetter" },
|
|
4574
|
+
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ALEPH }
|
|
4575
|
+
]);
|
|
4576
|
+
tree.addLetters(path12, [
|
|
4577
|
+
{ letter: LATIN_LETTERS.B, type: "latinLetter" },
|
|
4578
|
+
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.BETH }
|
|
4579
|
+
]);
|
|
4580
|
+
tree.addLetters(path13, [
|
|
4581
|
+
{ letter: LATIN_LETTERS.G, type: "latinLetter" },
|
|
4582
|
+
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.GIMEL }
|
|
4583
|
+
]);
|
|
4584
|
+
tree.addLetters(path14, [
|
|
4585
|
+
{ letter: LATIN_LETTERS.D, type: "latinLetter" },
|
|
4586
|
+
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.DALET }
|
|
4587
|
+
]);
|
|
4588
|
+
tree.addLetters(path15, [
|
|
4589
|
+
{ letter: LATIN_LETTERS.E, type: "latinLetter" },
|
|
4590
|
+
{ letter: LATIN_LETTERS.\u00C3, type: "latinLetter" },
|
|
4591
|
+
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HE }
|
|
4592
|
+
]);
|
|
4593
|
+
tree.addLetters(path16, [
|
|
4594
|
+
{ letter: LATIN_LETTERS.V, type: "latinLetter" },
|
|
4595
|
+
{ letter: LATIN_LETTERS.U, type: "latinLetter" },
|
|
4596
|
+
{ letter: LATIN_LETTERS.W, type: "latinLetter" },
|
|
4597
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
4598
|
+
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.VAV }
|
|
4599
|
+
]);
|
|
4600
|
+
tree.addLetters(path17, [
|
|
4601
|
+
{ letter: LATIN_LETTERS.Z, type: "latinLetter" },
|
|
4602
|
+
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
4603
|
+
]);
|
|
4604
|
+
tree.addLetters(path18, [
|
|
4605
|
+
{ letter: LATIN_LETTERS.H, type: "latinLetter" },
|
|
4606
|
+
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HET }
|
|
4607
|
+
]);
|
|
4608
|
+
tree.addLetters(path19, [
|
|
4609
|
+
{ letter: LATIN_LETTERS.T, type: "latinLetter" },
|
|
4610
|
+
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TET }
|
|
4611
|
+
]);
|
|
4612
|
+
tree.addLetters(path20, [
|
|
4613
|
+
{ letter: LATIN_LETTERS.I, type: "latinLetter" },
|
|
4614
|
+
{ letter: LATIN_LETTERS.Y, type: "latinLetter" },
|
|
4615
|
+
{ letter: LATIN_LETTERS.J, type: "latinLetter" },
|
|
4616
|
+
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.YOD }
|
|
4617
|
+
]);
|
|
4618
|
+
tree.addLetters(path21, [
|
|
4619
|
+
{ letter: LATIN_LETTERS.C, type: "latinLetter" },
|
|
4620
|
+
{ letter: HEBREW_LETTERS.KAF, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.KAF }
|
|
4621
|
+
]);
|
|
4622
|
+
tree.addLetters(path22, [
|
|
4623
|
+
{ letter: LATIN_LETTERS.L, type: "latinLetter" },
|
|
4624
|
+
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.LAMED }
|
|
4625
|
+
]);
|
|
4626
|
+
tree.addLetters(path23, [
|
|
4627
|
+
{ letter: LATIN_LETTERS.M, type: "latinLetter" },
|
|
4628
|
+
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.MEM }
|
|
4629
|
+
]);
|
|
4630
|
+
tree.addLetters(path24, [
|
|
4631
|
+
{ letter: LATIN_LETTERS.N, type: "latinLetter" },
|
|
4632
|
+
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.NUN }
|
|
4633
|
+
]);
|
|
4634
|
+
tree.addLetters(path25, [
|
|
4635
|
+
{ letter: LATIN_LETTERS.S, type: "latinLetter" },
|
|
4636
|
+
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" },
|
|
4637
|
+
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
4638
|
+
]);
|
|
4639
|
+
tree.addLetters(path26, [
|
|
4640
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
4641
|
+
{ letter: HEBREW_LETTERS.AIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.AIN }
|
|
4642
|
+
]);
|
|
4643
|
+
tree.addLetters(path27, [
|
|
4644
|
+
{ letter: LATIN_LETTERS.P, type: "latinLetter" },
|
|
4645
|
+
{ letter: LATIN_LETTERS.F, type: "latinLetter" },
|
|
4646
|
+
{ letter: LATIN_LETTERS.PH, type: "latinLetter" },
|
|
4647
|
+
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.PE }
|
|
4648
|
+
]);
|
|
4649
|
+
tree.addLetters(path28, [
|
|
4650
|
+
{ letter: LATIN_LETTERS.TS, type: "latinLetter" },
|
|
4651
|
+
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" },
|
|
4652
|
+
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TSADI }
|
|
4653
|
+
]);
|
|
4654
|
+
tree.addLetters(path29, [
|
|
4655
|
+
{ letter: LATIN_LETTERS.K, type: "latinLetter" },
|
|
4656
|
+
{ letter: LATIN_LETTERS.Q, type: "latinLetter" },
|
|
4657
|
+
{ letter: LATIN_LETTERS.KH, type: "latinLetter" },
|
|
4658
|
+
{ letter: HEBREW_LETTERS.QOF, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.QOF }
|
|
4659
|
+
]);
|
|
4660
|
+
tree.addLetters(path30, [
|
|
4661
|
+
{ letter: LATIN_LETTERS.R, type: "latinLetter" },
|
|
4662
|
+
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.RESH }
|
|
4663
|
+
]);
|
|
4664
|
+
tree.addLetters(path31, [
|
|
4665
|
+
{ letter: LATIN_LETTERS.CH, type: "latinLetter" },
|
|
4666
|
+
{ letter: LATIN_LETTERS.SH, type: "latinLetter" },
|
|
4667
|
+
{ letter: LATIN_LETTERS.X, type: "latinLetter" },
|
|
4668
|
+
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SHIN }
|
|
4669
|
+
]);
|
|
4670
|
+
tree.addLetters(path32, [
|
|
4671
|
+
{ letter: LATIN_LETTERS.TH, type: "latinLetter" },
|
|
4672
|
+
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TAV }
|
|
4673
|
+
]);
|
|
4674
|
+
return tree;
|
|
4675
|
+
};
|
|
4676
|
+
var unloadKaabalah = (tree) => {
|
|
4677
|
+
const spheres = Object.values(SPHERES);
|
|
4678
|
+
for (let i = 0; i < spheres.length; i++) {
|
|
4679
|
+
tree.removeNode(spheres[i]);
|
|
4680
|
+
}
|
|
4681
|
+
const paths = Object.values(MELKITZEDEKI_PATHS);
|
|
4682
|
+
for (let i = 0; i < paths.length; i++) {
|
|
4683
|
+
tree.removeNode(`path:${paths[i]}`);
|
|
4684
|
+
}
|
|
4685
|
+
};
|
|
4686
|
+
var loadColors2 = (tree) => {
|
|
4687
|
+
tree.addSphereColor(SPHERES.KETHER, "crystal", {
|
|
4688
|
+
colorDescription: "Transparent, clear, crystal-like. All the colors mixed, on their purest, most saint form",
|
|
4689
|
+
colorNames: ["transparent"],
|
|
4690
|
+
colorHexCodes: ["#cccccc"]
|
|
4691
|
+
});
|
|
4692
|
+
tree.addSphereColor(SPHERES.CHOKMAH, "iridescent", {
|
|
4693
|
+
colorDescription: "All the colors, in a iridescent manner. Can also be represented by all the other sphere colors in a pizza-like pattern, starting with Tiphereth on top, and going clockwise following the spheres on the right and left columns.",
|
|
4694
|
+
colorNames: ["iridescent", "yellow", "blue", "green", "purple", "orange", "red"],
|
|
4695
|
+
colorHexCodes: ["#EDBBE7", "#FFF50F", "#0000FF", "#14FF00", "#8F00FF", "#FFA800", "#FF0000"]
|
|
4696
|
+
});
|
|
4697
|
+
tree.addSphereColor(SPHERES.BINAH, "black", {
|
|
4698
|
+
colorDescription: "All the colors mixed, on their lowest vibration.",
|
|
4699
|
+
colorNames: ["black"],
|
|
4700
|
+
colorHexCodes: ["#000000"]
|
|
4701
|
+
});
|
|
4702
|
+
tree.addSphereColor(SPHERES.DAATH, "white", {
|
|
4703
|
+
colorDescription: "All the colors mixed, on their highest vibration. Can also be represented by an yin-yang pattern.",
|
|
4704
|
+
colorNames: ["white"],
|
|
4705
|
+
colorHexCodes: ["#FFFFFF"]
|
|
4706
|
+
});
|
|
4707
|
+
tree.addSphereColor(SPHERES.CHESED, "blue", {
|
|
4708
|
+
colorDescription: "Blue",
|
|
4709
|
+
colorNames: ["blue"],
|
|
4710
|
+
colorHexCodes: ["#0000FF"]
|
|
4711
|
+
});
|
|
4712
|
+
tree.addSphereColor(SPHERES.GEBURAH, "red", {
|
|
4713
|
+
colorDescription: "Red",
|
|
4714
|
+
colorNames: ["red"],
|
|
4715
|
+
colorHexCodes: ["#FF0000"]
|
|
4716
|
+
});
|
|
4717
|
+
tree.addSphereColor(SPHERES.TIPHERETH, "yellow", {
|
|
4718
|
+
colorDescription: "Yellow",
|
|
4719
|
+
colorNames: ["yellow"],
|
|
4720
|
+
colorHexCodes: ["#FFF50F"]
|
|
4721
|
+
});
|
|
4722
|
+
tree.addSphereColor(SPHERES.NETZACH, "green", {
|
|
4723
|
+
colorDescription: "Green",
|
|
4724
|
+
colorNames: ["green"],
|
|
4725
|
+
colorHexCodes: ["#14FF00"]
|
|
4726
|
+
});
|
|
4727
|
+
tree.addSphereColor(SPHERES.HOD, "orange", {
|
|
4728
|
+
colorDescription: "Orange",
|
|
4729
|
+
colorNames: ["orange"],
|
|
4730
|
+
colorHexCodes: ["#FFA800"]
|
|
4731
|
+
});
|
|
4732
|
+
tree.addSphereColor(SPHERES.YESOD, "purple", {
|
|
4733
|
+
colorDescription: "Purple",
|
|
4734
|
+
colorNames: ["purple"],
|
|
4735
|
+
colorHexCodes: ["#8F00FF"]
|
|
4736
|
+
});
|
|
4737
|
+
tree.addSphereColor(SPHERES.MALKUTH, "malkuth", {
|
|
4738
|
+
colorDescription: "Made up of the colors of earth, which is created from the 4 elements. Brown can be used to represent it, but, usually it is represented in a pizza-like pattern, starting with Yellow on top, and going clockwise with Green, Brown and Red, all with slightly less saturation.",
|
|
4739
|
+
colorNames: ["unsaturated yellow", "unsaturated green", "unsaturated brown", "unsaturated red"],
|
|
4740
|
+
colorHexCodes: ["#FFF659", "#70FF6E", "#422E29", "#FF5454"]
|
|
4741
|
+
});
|
|
4742
|
+
const path11 = `path:${MELKITZEDEKI_PATHS.KETHER_CHOKMAH}`;
|
|
4743
|
+
const path12 = `path:${MELKITZEDEKI_PATHS.KETHER_BINAH}`;
|
|
4744
|
+
const path13 = `path:${MELKITZEDEKI_PATHS.KETHER_TIPHERETH}`;
|
|
4745
|
+
const path14 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_BINAH}`;
|
|
4746
|
+
const path15 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_TIPHERETH}`;
|
|
4747
|
+
const path16 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_CHESED}`;
|
|
4748
|
+
const path17 = `path:${MELKITZEDEKI_PATHS.BINAH_TIPHERETH}`;
|
|
4749
|
+
const path18 = `path:${MELKITZEDEKI_PATHS.BINAH_GEBURAH}`;
|
|
4750
|
+
const path19 = `path:${MELKITZEDEKI_PATHS.CHESED_GEBURAH}`;
|
|
4751
|
+
const path20 = `path:${MELKITZEDEKI_PATHS.CHESED_TIPHERETH}`;
|
|
4752
|
+
const path21 = `path:${MELKITZEDEKI_PATHS.CHESED_NETZACH}`;
|
|
4753
|
+
const path22 = `path:${MELKITZEDEKI_PATHS.GEBURAH_TIPHERETH}`;
|
|
4754
|
+
const path23 = `path:${MELKITZEDEKI_PATHS.GEBURAH_HOD}`;
|
|
4755
|
+
const path24 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_NETZACH}`;
|
|
4756
|
+
const path25 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_YESOD}`;
|
|
4757
|
+
const path26 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_HOD}`;
|
|
4758
|
+
const path27 = `path:${MELKITZEDEKI_PATHS.NETZACH_HOD}`;
|
|
4759
|
+
const path28 = `path:${MELKITZEDEKI_PATHS.NETZACH_YESOD}`;
|
|
4760
|
+
const path29 = `path:${MELKITZEDEKI_PATHS.NETZACH_MALKUTH}`;
|
|
4761
|
+
const path30 = `path:${MELKITZEDEKI_PATHS.HOD_YESOD}`;
|
|
4762
|
+
const path31 = `path:${MELKITZEDEKI_PATHS.HOD_MALKUTH}`;
|
|
4763
|
+
const path32 = `path:${MELKITZEDEKI_PATHS.YESOD_MALKUTH}`;
|
|
4764
|
+
tree.addPathColor(path11, "gold", {
|
|
4765
|
+
colorDescription: "Gold",
|
|
4766
|
+
colorNames: ["gold"],
|
|
4767
|
+
colorHexCodes: ["#FFD700"]
|
|
4768
|
+
});
|
|
4769
|
+
tree.addPathColor(path12, "yellow", {
|
|
4770
|
+
colorDescription: "Yellow",
|
|
4771
|
+
colorNames: ["yellow"],
|
|
4772
|
+
colorHexCodes: ["#FFF50F"]
|
|
4773
|
+
});
|
|
4774
|
+
tree.addPathColor(path13, "grey", {
|
|
4775
|
+
colorDescription: "Grey",
|
|
4776
|
+
colorNames: ["grey"],
|
|
4777
|
+
colorHexCodes: ["#808080"]
|
|
4778
|
+
});
|
|
4779
|
+
tree.addPathColor(path14, "greenish-blue", {
|
|
4780
|
+
colorDescription: "Greenish blue",
|
|
4781
|
+
colorNames: ["greenish blue"],
|
|
4782
|
+
colorHexCodes: ["#5F9EA0"]
|
|
4783
|
+
});
|
|
4784
|
+
tree.addPathColor(path15, "red", {
|
|
4785
|
+
colorDescription: "Red",
|
|
4786
|
+
colorNames: ["red"],
|
|
4787
|
+
colorHexCodes: ["#FF0000"]
|
|
4788
|
+
});
|
|
4789
|
+
tree.addPathColor(path16, "Orange-red", {
|
|
4790
|
+
colorDescription: "Orange-red",
|
|
4791
|
+
colorNames: ["Orange-red"],
|
|
4792
|
+
colorHexCodes: ["#FF4500"]
|
|
4793
|
+
});
|
|
4794
|
+
tree.addPathColor(path17, "orange", {
|
|
4795
|
+
colorDescription: "Orange",
|
|
4796
|
+
colorNames: ["orange"],
|
|
4797
|
+
colorHexCodes: ["#FFA800"]
|
|
4798
|
+
});
|
|
4799
|
+
tree.addPathColor(path18, "amber", {
|
|
4800
|
+
colorDescription: "Amber",
|
|
4801
|
+
colorNames: ["amber"],
|
|
4802
|
+
colorHexCodes: ["#FF7F00"]
|
|
4803
|
+
});
|
|
4804
|
+
tree.addPathColor(path19, "greenish-yellow", {
|
|
4805
|
+
colorDescription: "Greenish yellow",
|
|
4806
|
+
colorNames: ["greenish yellow"],
|
|
4807
|
+
colorHexCodes: ["#D4FB19"]
|
|
4808
|
+
});
|
|
4809
|
+
tree.addPathColor(path20, "white", {
|
|
4810
|
+
colorDescription: "White",
|
|
4811
|
+
colorNames: ["white"],
|
|
4812
|
+
colorHexCodes: ["#FFFFFF"]
|
|
4813
|
+
});
|
|
4814
|
+
tree.addPathColor(path21, "blue", {
|
|
4815
|
+
colorDescription: "Blue",
|
|
4816
|
+
colorNames: ["blue"],
|
|
4817
|
+
colorHexCodes: ["#0000FF"]
|
|
4818
|
+
});
|
|
4819
|
+
tree.addPathColor(path22, "emerald-green", {
|
|
4820
|
+
colorDescription: "Emerald green",
|
|
4821
|
+
colorNames: ["emerald green"],
|
|
4822
|
+
colorHexCodes: ["#50C878"]
|
|
4823
|
+
});
|
|
4824
|
+
tree.addPathColor(path23, "light-blue", {
|
|
4825
|
+
colorDescription: "Light blue",
|
|
4826
|
+
colorNames: ["light blue"],
|
|
4827
|
+
colorHexCodes: ["#ADD8E6"]
|
|
4828
|
+
});
|
|
4829
|
+
tree.addPathColor(path24, "blueish-green", {
|
|
4830
|
+
colorDescription: "Greenish blue",
|
|
4831
|
+
colorNames: ["greenish blue"],
|
|
4832
|
+
colorHexCodes: ["#00ECA3"]
|
|
4833
|
+
});
|
|
4834
|
+
tree.addPathColor(path25, "blue", {
|
|
4835
|
+
colorDescription: "Blue",
|
|
4836
|
+
colorNames: ["blue"],
|
|
4837
|
+
colorHexCodes: ["#0000FF"]
|
|
4838
|
+
});
|
|
4839
|
+
tree.addPathColor(path26, "indigo", {
|
|
4840
|
+
colorDescription: "Indigo",
|
|
4841
|
+
colorNames: ["indigo"],
|
|
4842
|
+
colorHexCodes: ["#4B0082"]
|
|
4843
|
+
});
|
|
4844
|
+
tree.addPathColor(path27, "red", {
|
|
4845
|
+
colorDescription: "Red",
|
|
4846
|
+
colorNames: ["red"],
|
|
4847
|
+
colorHexCodes: ["#FF0000"]
|
|
4848
|
+
});
|
|
4849
|
+
tree.addPathColor(path28, "violet", {
|
|
4850
|
+
colorDescription: "Violet",
|
|
4851
|
+
colorNames: ["violet"],
|
|
4852
|
+
colorHexCodes: ["#8A2BE2"]
|
|
4853
|
+
});
|
|
4854
|
+
tree.addPathColor(path29, "crimson", {
|
|
4855
|
+
colorDescription: "Crimson",
|
|
4856
|
+
colorNames: ["crimson"],
|
|
4857
|
+
colorHexCodes: ["#DC143C"]
|
|
4858
|
+
});
|
|
4859
|
+
tree.addPathColor(path30, "orange", {
|
|
4860
|
+
colorDescription: "Orange",
|
|
4861
|
+
colorNames: ["orange"],
|
|
4862
|
+
colorHexCodes: ["#FFA800"]
|
|
4863
|
+
});
|
|
4864
|
+
tree.addPathColor(path31, "red", {
|
|
4865
|
+
colorDescription: "Red",
|
|
4866
|
+
colorNames: ["red"],
|
|
4867
|
+
colorHexCodes: ["#FF0000"]
|
|
4868
|
+
});
|
|
4869
|
+
tree.addPathColor(path32, "dark-grey", {
|
|
4870
|
+
colorDescription: "Dark grey",
|
|
4871
|
+
colorNames: ["dark grey"],
|
|
4872
|
+
colorHexCodes: ["#A9A9A9"]
|
|
4873
|
+
});
|
|
4874
|
+
return tree;
|
|
4875
|
+
};
|
|
4876
|
+
var unloadColors2 = (tree) => {
|
|
4877
|
+
const colors = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "color").map((color) => color.id));
|
|
4878
|
+
for (let i = 0; i < colors.length; i++) {
|
|
4879
|
+
tree.removeNode(colors[i]);
|
|
4880
|
+
}
|
|
4881
|
+
const letters = Object.values(HEBREW_LETTERS).flatMap((letter) => tree.related(letter, "color").map((color) => color.id));
|
|
4882
|
+
for (let i = 0; i < letters.length; i++) {
|
|
4883
|
+
tree.removeNode(letters[i]);
|
|
4884
|
+
}
|
|
4885
|
+
};
|
|
4886
|
+
var loadMusicalNotes2 = (tree) => {
|
|
4887
|
+
tree.addMusicalNote(SPHERES.KETHER, "Do", {
|
|
4888
|
+
note: "Do",
|
|
4889
|
+
noteDescription: "C (Do)"
|
|
4890
|
+
});
|
|
4891
|
+
tree.addMusicalNote(SPHERES.CHOKMAH, "Re", {
|
|
4892
|
+
note: "Re",
|
|
4893
|
+
noteDescription: "D (Re)"
|
|
4894
|
+
});
|
|
4895
|
+
tree.addMusicalNote(SPHERES.BINAH, "Mi", {
|
|
4896
|
+
note: "Mi",
|
|
4897
|
+
noteDescription: "E (Mi)"
|
|
4898
|
+
});
|
|
4899
|
+
tree.addMusicalNote(SPHERES.DAATH, "1st interval", {
|
|
4900
|
+
note: "Interval",
|
|
4901
|
+
noteDescription: "An interval"
|
|
4902
|
+
});
|
|
4903
|
+
tree.addMusicalNote(SPHERES.CHESED, "Fa", {
|
|
4904
|
+
note: "Fa",
|
|
4905
|
+
noteDescription: "F (Fa)"
|
|
4906
|
+
});
|
|
4907
|
+
tree.addMusicalNote(SPHERES.GEBURAH, "Sol", {
|
|
4908
|
+
note: "Sol",
|
|
4909
|
+
noteDescription: "G (Sol)"
|
|
4910
|
+
});
|
|
4911
|
+
tree.addMusicalNote(SPHERES.TIPHERETH, "The Thing-in-itself", {
|
|
4912
|
+
note: "The Thing-in-itself",
|
|
4913
|
+
noteDescription: "The central point of equilibrium; another interval"
|
|
4914
|
+
});
|
|
4915
|
+
tree.addMusicalNote(SPHERES.NETZACH, "La", {
|
|
4916
|
+
note: "La",
|
|
4917
|
+
noteDescription: "A (La)"
|
|
4918
|
+
});
|
|
4919
|
+
tree.addMusicalNote(SPHERES.HOD, "Si", {
|
|
4920
|
+
note: "Si",
|
|
4921
|
+
noteDescription: "B (Si)"
|
|
4922
|
+
});
|
|
4923
|
+
tree.addMusicalNote(SPHERES.YESOD, "2nd interval", {
|
|
4924
|
+
note: "Interval",
|
|
4925
|
+
noteDescription: "An interval"
|
|
4926
|
+
});
|
|
4927
|
+
tree.addMusicalNote(SPHERES.MALKUTH, "Do", {
|
|
4928
|
+
note: "Do",
|
|
4929
|
+
noteDescription: "C (Do)"
|
|
4930
|
+
});
|
|
4931
|
+
return tree;
|
|
4932
|
+
};
|
|
4933
|
+
var unloadMusicalNotes2 = (tree) => {
|
|
4934
|
+
const notes = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "musicalNote").map((note) => note.id));
|
|
4935
|
+
for (let i = 0; i < notes.length; i++) {
|
|
4936
|
+
tree.removeNode(notes[i]);
|
|
4937
|
+
}
|
|
4938
|
+
};
|
|
4939
|
+
var linkColorsAndSigns2 = (t) => {
|
|
4940
|
+
return t;
|
|
4941
|
+
};
|
|
4942
|
+
var loadWesternAstrology2 = (tree) => {
|
|
4943
|
+
tree.addWesternAstrologyPlanet(SPHERES.KETHER, PLANETS.NEPTUNE);
|
|
4944
|
+
tree.addWesternAstrologyPlanet(SPHERES.CHOKMAH, PLANETS.URANUS);
|
|
4945
|
+
tree.addWesternAstrologyPlanet(SPHERES.BINAH, PLANETS.SATURN);
|
|
4946
|
+
tree.addWesternAstrologyPlanet(SPHERES.DAATH, PLANETS.PLUTO);
|
|
4947
|
+
tree.addWesternAstrologyPlanet(SPHERES.CHESED, PLANETS.JUPITER);
|
|
4948
|
+
tree.addWesternAstrologyPlanet(SPHERES.GEBURAH, PLANETS.MARS);
|
|
4949
|
+
tree.addWesternAstrologyPlanet(SPHERES.TIPHERETH, PLANETS.SUN);
|
|
4950
|
+
tree.addWesternAstrologyPlanet(SPHERES.NETZACH, PLANETS.VENUS);
|
|
4951
|
+
tree.addWesternAstrologyPlanet(SPHERES.HOD, PLANETS.MERCURY);
|
|
4952
|
+
tree.addWesternAstrologyPlanet(SPHERES.YESOD, PLANETS.MOON);
|
|
4953
|
+
tree.addWesternAstrologyPlanet(SPHERES.MALKUTH, PLANETS.EARTH);
|
|
4954
|
+
const path11 = `path:${MELKITZEDEKI_PATHS.KETHER_CHOKMAH}`;
|
|
4955
|
+
const path12 = `path:${MELKITZEDEKI_PATHS.KETHER_BINAH}`;
|
|
4956
|
+
const path13 = `path:${MELKITZEDEKI_PATHS.KETHER_TIPHERETH}`;
|
|
4957
|
+
const path14 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_BINAH}`;
|
|
4958
|
+
const path15 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_TIPHERETH}`;
|
|
4959
|
+
const path16 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_CHESED}`;
|
|
4960
|
+
const path17 = `path:${MELKITZEDEKI_PATHS.BINAH_TIPHERETH}`;
|
|
4961
|
+
const path18 = `path:${MELKITZEDEKI_PATHS.BINAH_GEBURAH}`;
|
|
4962
|
+
const path19 = `path:${MELKITZEDEKI_PATHS.CHESED_GEBURAH}`;
|
|
4963
|
+
const path20 = `path:${MELKITZEDEKI_PATHS.CHESED_TIPHERETH}`;
|
|
4964
|
+
const path21 = `path:${MELKITZEDEKI_PATHS.CHESED_NETZACH}`;
|
|
4965
|
+
const path22 = `path:${MELKITZEDEKI_PATHS.GEBURAH_TIPHERETH}`;
|
|
4966
|
+
const path23 = `path:${MELKITZEDEKI_PATHS.GEBURAH_HOD}`;
|
|
4967
|
+
const path24 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_NETZACH}`;
|
|
4968
|
+
const path25 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_YESOD}`;
|
|
4969
|
+
const path26 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_HOD}`;
|
|
4970
|
+
const path27 = `path:${MELKITZEDEKI_PATHS.NETZACH_HOD}`;
|
|
4971
|
+
const path28 = `path:${MELKITZEDEKI_PATHS.NETZACH_YESOD}`;
|
|
4972
|
+
const path29 = `path:${MELKITZEDEKI_PATHS.NETZACH_MALKUTH}`;
|
|
4973
|
+
const path30 = `path:${MELKITZEDEKI_PATHS.HOD_YESOD}`;
|
|
4974
|
+
const path31 = `path:${MELKITZEDEKI_PATHS.HOD_MALKUTH}`;
|
|
4975
|
+
const path32 = `path:${MELKITZEDEKI_PATHS.YESOD_MALKUTH}`;
|
|
4976
|
+
tree.addWesternElement(path11, WESTERN_ELEMENTS.AIR);
|
|
4977
|
+
tree.addWesternAstrologyPlanet(path12, PLANETS.MOON);
|
|
4978
|
+
tree.addWesternAstrologyPlanet(path13, PLANETS.VENUS);
|
|
4979
|
+
tree.addWesternAstrologyPlanet(path14, PLANETS.JUPITER);
|
|
4980
|
+
tree.addWesternAstrologySign(path15, WESTERN_ZODIAC_SIGNS.ARIES, WESTERN_ZODIAC_SIGNS_DATA.ARIES, 1);
|
|
4981
|
+
tree.addWesternAstrologySign(path16, WESTERN_ZODIAC_SIGNS.TAURUS, WESTERN_ZODIAC_SIGNS_DATA.TAURUS, 2);
|
|
4982
|
+
tree.addWesternAstrologySign(path17, WESTERN_ZODIAC_SIGNS.GEMINI, WESTERN_ZODIAC_SIGNS_DATA.GEMINI, 3);
|
|
4983
|
+
tree.addWesternAstrologySign(path18, WESTERN_ZODIAC_SIGNS.CANCER, WESTERN_ZODIAC_SIGNS_DATA.CANCER, 4);
|
|
4984
|
+
tree.addWesternAstrologySign(path19, WESTERN_ZODIAC_SIGNS.LEO, WESTERN_ZODIAC_SIGNS_DATA.LEO, 5);
|
|
4985
|
+
tree.addWesternAstrologySign(path20, WESTERN_ZODIAC_SIGNS.VIRGO, WESTERN_ZODIAC_SIGNS_DATA.VIRGO, 6);
|
|
4986
|
+
tree.addWesternAstrologyPlanet(path21, PLANETS.MARS);
|
|
4987
|
+
tree.addWesternAstrologySign(path22, WESTERN_ZODIAC_SIGNS.LIBRA, WESTERN_ZODIAC_SIGNS_DATA.LIBRA, 7);
|
|
4988
|
+
tree.addWesternElement(path23, WESTERN_ELEMENTS.WATER);
|
|
4989
|
+
tree.addWesternAstrologySign(path24, WESTERN_ZODIAC_SIGNS.SCORPIO, WESTERN_ZODIAC_SIGNS_DATA.SCORPIO, 8);
|
|
4990
|
+
tree.addWesternAstrologySign(path25, WESTERN_ZODIAC_SIGNS.SAGITTARIUS, WESTERN_ZODIAC_SIGNS_DATA.SAGITTARIUS, 9);
|
|
4991
|
+
tree.addWesternAstrologySign(path26, WESTERN_ZODIAC_SIGNS.CAPRICORN, WESTERN_ZODIAC_SIGNS_DATA.CAPRICORN, 10);
|
|
4992
|
+
tree.addWesternAstrologyPlanet(path27, PLANETS.MERCURY);
|
|
4993
|
+
tree.addWesternAstrologySign(path28, WESTERN_ZODIAC_SIGNS.AQUARIUS, WESTERN_ZODIAC_SIGNS_DATA.AQUARIUS, 11);
|
|
4994
|
+
tree.addWesternAstrologySign(path29, WESTERN_ZODIAC_SIGNS.PISCES, WESTERN_ZODIAC_SIGNS_DATA.PISCES, 12);
|
|
4995
|
+
tree.addWesternAstrologyPlanet(path30, PLANETS.SATURN);
|
|
4996
|
+
tree.addWesternElement(path31, WESTERN_ELEMENTS.FIRE);
|
|
4997
|
+
tree.addWesternAstrologyPlanet(path32, PLANETS.SUN);
|
|
4998
|
+
return tree;
|
|
4999
|
+
};
|
|
5000
|
+
var unloadWesternAstrology2 = (tree) => {
|
|
5001
|
+
const planets = Object.values(SPHERES).flatMap((planet) => tree.related(planet, "planet").map((planet2) => planet2.id));
|
|
5002
|
+
for (let i = 0; i < planets.length; i++) {
|
|
5003
|
+
tree.removeNode(planets[i]);
|
|
5004
|
+
}
|
|
5005
|
+
const elements = Object.values(MELKITZEDEKI_PATHS).flatMap((path) => tree.related(`path:${path}`, "westernElement").map((element) => element.id));
|
|
5006
|
+
for (let i = 0; i < elements.length; i++) {
|
|
5007
|
+
tree.removeNode(elements[i]);
|
|
5008
|
+
}
|
|
5009
|
+
const zodiacSigns = Object.values(MELKITZEDEKI_PATHS).flatMap((path) => tree.related(`path:${path}`, "westernZodiacSign").map((sign) => sign.id));
|
|
5010
|
+
for (let i = 0; i < zodiacSigns.length; i++) {
|
|
5011
|
+
tree.removeNode(zodiacSigns[i]);
|
|
5012
|
+
}
|
|
5013
|
+
};
|
|
5014
|
+
var loadTarot = (tree) => {
|
|
5015
|
+
const path11 = `path:${MELKITZEDEKI_PATHS.KETHER_CHOKMAH}`;
|
|
5016
|
+
const path12 = `path:${MELKITZEDEKI_PATHS.KETHER_BINAH}`;
|
|
5017
|
+
const path13 = `path:${MELKITZEDEKI_PATHS.KETHER_TIPHERETH}`;
|
|
5018
|
+
const path14 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_BINAH}`;
|
|
5019
|
+
const path15 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_TIPHERETH}`;
|
|
5020
|
+
const path16 = `path:${MELKITZEDEKI_PATHS.CHOKMAH_CHESED}`;
|
|
5021
|
+
const path17 = `path:${MELKITZEDEKI_PATHS.BINAH_TIPHERETH}`;
|
|
5022
|
+
const path18 = `path:${MELKITZEDEKI_PATHS.BINAH_GEBURAH}`;
|
|
5023
|
+
const path19 = `path:${MELKITZEDEKI_PATHS.CHESED_GEBURAH}`;
|
|
5024
|
+
const path20 = `path:${MELKITZEDEKI_PATHS.CHESED_TIPHERETH}`;
|
|
5025
|
+
const path21 = `path:${MELKITZEDEKI_PATHS.CHESED_NETZACH}`;
|
|
5026
|
+
const path22 = `path:${MELKITZEDEKI_PATHS.GEBURAH_TIPHERETH}`;
|
|
5027
|
+
const path23 = `path:${MELKITZEDEKI_PATHS.GEBURAH_HOD}`;
|
|
5028
|
+
const path24 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_NETZACH}`;
|
|
5029
|
+
const path25 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_YESOD}`;
|
|
5030
|
+
const path26 = `path:${MELKITZEDEKI_PATHS.TIPHERETH_HOD}`;
|
|
5031
|
+
const path27 = `path:${MELKITZEDEKI_PATHS.NETZACH_HOD}`;
|
|
5032
|
+
const path28 = `path:${MELKITZEDEKI_PATHS.NETZACH_YESOD}`;
|
|
5033
|
+
const path29 = `path:${MELKITZEDEKI_PATHS.NETZACH_MALKUTH}`;
|
|
5034
|
+
const path30 = `path:${MELKITZEDEKI_PATHS.HOD_YESOD}`;
|
|
5035
|
+
const path31 = `path:${MELKITZEDEKI_PATHS.HOD_MALKUTH}`;
|
|
5036
|
+
const path32 = `path:${MELKITZEDEKI_PATHS.YESOD_MALKUTH}`;
|
|
5037
|
+
tree.addTarotArkAnnu(path11, TAROT_ARKANNUS.THE_MAGICIAN, TAROT_ARKANNUS_DATA.THE_MAGICIAN, 1);
|
|
5038
|
+
tree.addTarotArkAnnu(path12, TAROT_ARKANNUS.THE_HIGH_PRIESTESS, TAROT_ARKANNUS_DATA.THE_HIGH_PRIESTESS, 2);
|
|
5039
|
+
tree.addTarotArkAnnu(path13, TAROT_ARKANNUS.THE_EMPRESS, TAROT_ARKANNUS_DATA.THE_EMPRESS, 3);
|
|
5040
|
+
tree.addTarotArkAnnu(path14, TAROT_ARKANNUS.THE_EMPEROR, TAROT_ARKANNUS_DATA.THE_EMPEROR, 4);
|
|
5041
|
+
tree.addTarotArkAnnu(path15, TAROT_ARKANNUS.THE_HIEROPHANT, TAROT_ARKANNUS_DATA.THE_HIEROPHANT, 5);
|
|
5042
|
+
tree.addTarotArkAnnu(path16, TAROT_ARKANNUS.THE_LOVER, TAROT_ARKANNUS_DATA.THE_LOVER, 6);
|
|
5043
|
+
tree.addTarotArkAnnu(path17, TAROT_ARKANNUS.THE_CHARIOT, TAROT_ARKANNUS_DATA.THE_CHARIOT, 7);
|
|
5044
|
+
tree.addTarotArkAnnu(path18, TAROT_ARKANNUS.JUSTICE, TAROT_ARKANNUS_DATA.JUSTICE, 8);
|
|
5045
|
+
tree.addTarotArkAnnu(path19, TAROT_ARKANNUS.THE_HERMIT, TAROT_ARKANNUS_DATA.THE_HERMIT, 9);
|
|
5046
|
+
tree.addTarotArkAnnu(path20, TAROT_ARKANNUS.THE_WHEEL_OF_FORTUNE, TAROT_ARKANNUS_DATA.THE_WHEEL_OF_FORTUNE, 10);
|
|
5047
|
+
tree.addTarotArkAnnu(path21, TAROT_ARKANNUS.STRENGTH, TAROT_ARKANNUS_DATA.STRENGTH, 11);
|
|
5048
|
+
tree.addTarotArkAnnu(path22, TAROT_ARKANNUS.THE_HANGED_MAN, TAROT_ARKANNUS_DATA.THE_HANGED_MAN, 12);
|
|
5049
|
+
tree.addTarotArkAnnu(path23, TAROT_ARKANNUS.DEATH, TAROT_ARKANNUS_DATA.DEATH, 13);
|
|
5050
|
+
tree.addTarotArkAnnu(path24, TAROT_ARKANNUS.TEMPERANCE, TAROT_ARKANNUS_DATA.TEMPERANCE, 14);
|
|
5051
|
+
tree.addTarotArkAnnu(path25, TAROT_ARKANNUS.THE_DEVIL, TAROT_ARKANNUS_DATA.THE_DEVIL, 15);
|
|
5052
|
+
tree.addTarotArkAnnu(path26, TAROT_ARKANNUS.THE_TOWER, TAROT_ARKANNUS_DATA.THE_TOWER, 16);
|
|
5053
|
+
tree.addTarotArkAnnu(path27, TAROT_ARKANNUS.THE_STAR, TAROT_ARKANNUS_DATA.THE_STAR, 17);
|
|
5054
|
+
tree.addTarotArkAnnu(path28, TAROT_ARKANNUS.THE_MOON, TAROT_ARKANNUS_DATA.THE_MOON, 18);
|
|
5055
|
+
tree.addTarotArkAnnu(path29, TAROT_ARKANNUS.THE_SUN, TAROT_ARKANNUS_DATA.THE_SUN, 19);
|
|
5056
|
+
tree.addTarotArkAnnu(path30, TAROT_ARKANNUS.JUDGMENT, TAROT_ARKANNUS_DATA.JUDGMENT, 20);
|
|
5057
|
+
tree.addTarotArkAnnu(path31, TAROT_ARKANNUS.THE_FOOL, TAROT_ARKANNUS_DATA.THE_FOOL, 21);
|
|
5058
|
+
tree.addTarotArkAnnu(path32, TAROT_ARKANNUS.THE_WORLD, TAROT_ARKANNUS_DATA.THE_WORLD, 22);
|
|
5059
|
+
tree.addTarotSuit(TAROT_SUITS.WANDS, WESTERN_ELEMENTS.FIRE);
|
|
5060
|
+
tree.addTarotSuit(TAROT_SUITS.CUPS, WESTERN_ELEMENTS.WATER);
|
|
5061
|
+
tree.addTarotSuit(TAROT_SUITS.SWORDS, WESTERN_ELEMENTS.AIR);
|
|
5062
|
+
tree.addTarotSuit(TAROT_SUITS.PENTACLES, WESTERN_ELEMENTS.EARTH);
|
|
5063
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KING_OF_WANDS, TAROT_ARKANNUS_DATA.KING_OF_WANDS, 23, TAROT_SUITS.WANDS);
|
|
5064
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.QUEEN_OF_WANDS, TAROT_ARKANNUS_DATA.QUEEN_OF_WANDS, 24, TAROT_SUITS.WANDS);
|
|
5065
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KNIGHT_OF_WANDS, TAROT_ARKANNUS_DATA.KNIGHT_OF_WANDS, 25, TAROT_SUITS.WANDS);
|
|
5066
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.PAGE_OF_WANDS, TAROT_ARKANNUS_DATA.PAGE_OF_WANDS, 26, TAROT_SUITS.WANDS);
|
|
5067
|
+
tree.addTarotArkAnnu(SPHERES.KETHER, TAROT_ARKANNUS.ACE_OF_WANDS, TAROT_ARKANNUS_DATA.ACE_OF_WANDS, 27, TAROT_SUITS.WANDS);
|
|
5068
|
+
tree.addTarotArkAnnu(SPHERES.CHOKMAH, TAROT_ARKANNUS.TWO_OF_WANDS, TAROT_ARKANNUS_DATA.TWO_OF_WANDS, 28, TAROT_SUITS.WANDS);
|
|
5069
|
+
tree.addTarotArkAnnu(SPHERES.BINAH, TAROT_ARKANNUS.THREE_OF_WANDS, TAROT_ARKANNUS_DATA.THREE_OF_WANDS, 29, TAROT_SUITS.WANDS);
|
|
5070
|
+
tree.addTarotArkAnnu(SPHERES.CHESED, TAROT_ARKANNUS.FOUR_OF_WANDS, TAROT_ARKANNUS_DATA.FOUR_OF_WANDS, 30, TAROT_SUITS.WANDS);
|
|
5071
|
+
tree.addTarotArkAnnu(SPHERES.GEBURAH, TAROT_ARKANNUS.FIVE_OF_WANDS, TAROT_ARKANNUS_DATA.FIVE_OF_WANDS, 31, TAROT_SUITS.WANDS);
|
|
5072
|
+
tree.addTarotArkAnnu(SPHERES.TIPHERETH, TAROT_ARKANNUS.SIX_OF_WANDS, TAROT_ARKANNUS_DATA.SIX_OF_WANDS, 32, TAROT_SUITS.WANDS);
|
|
5073
|
+
tree.addTarotArkAnnu(SPHERES.NETZACH, TAROT_ARKANNUS.SEVEN_OF_WANDS, TAROT_ARKANNUS_DATA.SEVEN_OF_WANDS, 33, TAROT_SUITS.WANDS);
|
|
5074
|
+
tree.addTarotArkAnnu(SPHERES.HOD, TAROT_ARKANNUS.EIGHT_OF_WANDS, TAROT_ARKANNUS_DATA.EIGHT_OF_WANDS, 34, TAROT_SUITS.WANDS);
|
|
5075
|
+
tree.addTarotArkAnnu(SPHERES.YESOD, TAROT_ARKANNUS.NINE_OF_WANDS, TAROT_ARKANNUS_DATA.NINE_OF_WANDS, 35, TAROT_SUITS.WANDS);
|
|
5076
|
+
tree.addTarotArkAnnu(SPHERES.MALKUTH, TAROT_ARKANNUS.TEN_OF_WANDS, TAROT_ARKANNUS_DATA.TEN_OF_WANDS, 36, TAROT_SUITS.WANDS);
|
|
5077
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KING_OF_CUPS, TAROT_ARKANNUS_DATA.KING_OF_CUPS, 37, TAROT_SUITS.CUPS);
|
|
5078
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.QUEEN_OF_CUPS, TAROT_ARKANNUS_DATA.QUEEN_OF_CUPS, 38, TAROT_SUITS.CUPS);
|
|
5079
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KNIGHT_OF_CUPS, TAROT_ARKANNUS_DATA.KNIGHT_OF_CUPS, 39, TAROT_SUITS.CUPS);
|
|
5080
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.PAGE_OF_CUPS, TAROT_ARKANNUS_DATA.PAGE_OF_CUPS, 40, TAROT_SUITS.CUPS);
|
|
5081
|
+
tree.addTarotArkAnnu(SPHERES.KETHER, TAROT_ARKANNUS.ACE_OF_CUPS, TAROT_ARKANNUS_DATA.ACE_OF_CUPS, 41, TAROT_SUITS.CUPS);
|
|
5082
|
+
tree.addTarotArkAnnu(SPHERES.CHOKMAH, TAROT_ARKANNUS.TWO_OF_CUPS, TAROT_ARKANNUS_DATA.TWO_OF_CUPS, 42, TAROT_SUITS.CUPS);
|
|
5083
|
+
tree.addTarotArkAnnu(SPHERES.BINAH, TAROT_ARKANNUS.THREE_OF_CUPS, TAROT_ARKANNUS_DATA.THREE_OF_CUPS, 43, TAROT_SUITS.CUPS);
|
|
5084
|
+
tree.addTarotArkAnnu(SPHERES.CHESED, TAROT_ARKANNUS.FOUR_OF_CUPS, TAROT_ARKANNUS_DATA.FOUR_OF_CUPS, 44, TAROT_SUITS.CUPS);
|
|
5085
|
+
tree.addTarotArkAnnu(SPHERES.GEBURAH, TAROT_ARKANNUS.FIVE_OF_CUPS, TAROT_ARKANNUS_DATA.FIVE_OF_CUPS, 45, TAROT_SUITS.CUPS);
|
|
5086
|
+
tree.addTarotArkAnnu(SPHERES.TIPHERETH, TAROT_ARKANNUS.SIX_OF_CUPS, TAROT_ARKANNUS_DATA.SIX_OF_CUPS, 46, TAROT_SUITS.CUPS);
|
|
5087
|
+
tree.addTarotArkAnnu(SPHERES.NETZACH, TAROT_ARKANNUS.SEVEN_OF_CUPS, TAROT_ARKANNUS_DATA.SEVEN_OF_CUPS, 47, TAROT_SUITS.CUPS);
|
|
5088
|
+
tree.addTarotArkAnnu(SPHERES.HOD, TAROT_ARKANNUS.EIGHT_OF_CUPS, TAROT_ARKANNUS_DATA.EIGHT_OF_CUPS, 48, TAROT_SUITS.CUPS);
|
|
5089
|
+
tree.addTarotArkAnnu(SPHERES.YESOD, TAROT_ARKANNUS.NINE_OF_CUPS, TAROT_ARKANNUS_DATA.NINE_OF_CUPS, 49, TAROT_SUITS.CUPS);
|
|
5090
|
+
tree.addTarotArkAnnu(SPHERES.MALKUTH, TAROT_ARKANNUS.TEN_OF_CUPS, TAROT_ARKANNUS_DATA.TEN_OF_CUPS, 50, TAROT_SUITS.CUPS);
|
|
5091
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KING_OF_SWORDS, TAROT_ARKANNUS_DATA.KING_OF_SWORDS, 51, TAROT_SUITS.SWORDS);
|
|
5092
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.QUEEN_OF_SWORDS, TAROT_ARKANNUS_DATA.QUEEN_OF_SWORDS, 52, TAROT_SUITS.SWORDS);
|
|
5093
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KNIGHT_OF_SWORDS, TAROT_ARKANNUS_DATA.KNIGHT_OF_SWORDS, 53, TAROT_SUITS.SWORDS);
|
|
5094
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.PAGE_OF_SWORDS, TAROT_ARKANNUS_DATA.PAGE_OF_SWORDS, 54, TAROT_SUITS.SWORDS);
|
|
5095
|
+
tree.addTarotArkAnnu(SPHERES.KETHER, TAROT_ARKANNUS.ACE_OF_SWORDS, TAROT_ARKANNUS_DATA.ACE_OF_SWORDS, 55, TAROT_SUITS.SWORDS);
|
|
5096
|
+
tree.addTarotArkAnnu(SPHERES.CHOKMAH, TAROT_ARKANNUS.TWO_OF_SWORDS, TAROT_ARKANNUS_DATA.TWO_OF_SWORDS, 56, TAROT_SUITS.SWORDS);
|
|
5097
|
+
tree.addTarotArkAnnu(SPHERES.BINAH, TAROT_ARKANNUS.THREE_OF_SWORDS, TAROT_ARKANNUS_DATA.THREE_OF_SWORDS, 57, TAROT_SUITS.SWORDS);
|
|
5098
|
+
tree.addTarotArkAnnu(SPHERES.CHESED, TAROT_ARKANNUS.FOUR_OF_SWORDS, TAROT_ARKANNUS_DATA.FOUR_OF_SWORDS, 58, TAROT_SUITS.SWORDS);
|
|
5099
|
+
tree.addTarotArkAnnu(SPHERES.GEBURAH, TAROT_ARKANNUS.FIVE_OF_SWORDS, TAROT_ARKANNUS_DATA.FIVE_OF_SWORDS, 59, TAROT_SUITS.SWORDS);
|
|
5100
|
+
tree.addTarotArkAnnu(SPHERES.TIPHERETH, TAROT_ARKANNUS.SIX_OF_SWORDS, TAROT_ARKANNUS_DATA.SIX_OF_SWORDS, 60, TAROT_SUITS.SWORDS);
|
|
5101
|
+
tree.addTarotArkAnnu(SPHERES.NETZACH, TAROT_ARKANNUS.SEVEN_OF_SWORDS, TAROT_ARKANNUS_DATA.SEVEN_OF_SWORDS, 61, TAROT_SUITS.SWORDS);
|
|
5102
|
+
tree.addTarotArkAnnu(SPHERES.HOD, TAROT_ARKANNUS.EIGHT_OF_SWORDS, TAROT_ARKANNUS_DATA.EIGHT_OF_SWORDS, 62, TAROT_SUITS.SWORDS);
|
|
5103
|
+
tree.addTarotArkAnnu(SPHERES.YESOD, TAROT_ARKANNUS.NINE_OF_SWORDS, TAROT_ARKANNUS_DATA.NINE_OF_SWORDS, 63, TAROT_SUITS.SWORDS);
|
|
5104
|
+
tree.addTarotArkAnnu(SPHERES.MALKUTH, TAROT_ARKANNUS.TEN_OF_SWORDS, TAROT_ARKANNUS_DATA.TEN_OF_SWORDS, 64, TAROT_SUITS.SWORDS);
|
|
5105
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KING_OF_PENTACLES, TAROT_ARKANNUS_DATA.KING_OF_PENTACLES, 65, TAROT_SUITS.PENTACLES);
|
|
5106
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.QUEEN_OF_PENTACLES, TAROT_ARKANNUS_DATA.QUEEN_OF_PENTACLES, 66, TAROT_SUITS.PENTACLES);
|
|
5107
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.KNIGHT_OF_PENTACLES, TAROT_ARKANNUS_DATA.KNIGHT_OF_PENTACLES, 67, TAROT_SUITS.PENTACLES);
|
|
5108
|
+
tree.addTarotArkAnnu(SPHERES.DAATH, TAROT_ARKANNUS.PAGE_OF_PENTACLES, TAROT_ARKANNUS_DATA.PAGE_OF_PENTACLES, 68, TAROT_SUITS.PENTACLES);
|
|
5109
|
+
tree.addTarotArkAnnu(SPHERES.KETHER, TAROT_ARKANNUS.ACE_OF_PENTACLES, TAROT_ARKANNUS_DATA.ACE_OF_PENTACLES, 69, TAROT_SUITS.PENTACLES);
|
|
5110
|
+
tree.addTarotArkAnnu(SPHERES.CHOKMAH, TAROT_ARKANNUS.TWO_OF_PENTACLES, TAROT_ARKANNUS_DATA.TWO_OF_PENTACLES, 70, TAROT_SUITS.PENTACLES);
|
|
5111
|
+
tree.addTarotArkAnnu(SPHERES.BINAH, TAROT_ARKANNUS.THREE_OF_PENTACLES, TAROT_ARKANNUS_DATA.THREE_OF_PENTACLES, 71, TAROT_SUITS.PENTACLES);
|
|
5112
|
+
tree.addTarotArkAnnu(SPHERES.CHESED, TAROT_ARKANNUS.FOUR_OF_PENTACLES, TAROT_ARKANNUS_DATA.FOUR_OF_PENTACLES, 72, TAROT_SUITS.PENTACLES);
|
|
5113
|
+
tree.addTarotArkAnnu(SPHERES.GEBURAH, TAROT_ARKANNUS.FIVE_OF_PENTACLES, TAROT_ARKANNUS_DATA.FIVE_OF_PENTACLES, 73, TAROT_SUITS.PENTACLES);
|
|
5114
|
+
tree.addTarotArkAnnu(SPHERES.TIPHERETH, TAROT_ARKANNUS.SIX_OF_PENTACLES, TAROT_ARKANNUS_DATA.SIX_OF_PENTACLES, 74, TAROT_SUITS.PENTACLES);
|
|
5115
|
+
tree.addTarotArkAnnu(SPHERES.NETZACH, TAROT_ARKANNUS.SEVEN_OF_PENTACLES, TAROT_ARKANNUS_DATA.SEVEN_OF_PENTACLES, 75, TAROT_SUITS.PENTACLES);
|
|
5116
|
+
tree.addTarotArkAnnu(SPHERES.HOD, TAROT_ARKANNUS.EIGHT_OF_PENTACLES, TAROT_ARKANNUS_DATA.EIGHT_OF_PENTACLES, 76, TAROT_SUITS.PENTACLES);
|
|
5117
|
+
tree.addTarotArkAnnu(SPHERES.YESOD, TAROT_ARKANNUS.NINE_OF_PENTACLES, TAROT_ARKANNUS_DATA.NINE_OF_PENTACLES, 77, TAROT_SUITS.PENTACLES);
|
|
5118
|
+
tree.addTarotArkAnnu(SPHERES.MALKUTH, TAROT_ARKANNUS.TEN_OF_PENTACLES, TAROT_ARKANNUS_DATA.TEN_OF_PENTACLES, 78, TAROT_SUITS.PENTACLES);
|
|
5119
|
+
return tree;
|
|
5120
|
+
};
|
|
5121
|
+
var unloadTarot = (tree) => {
|
|
5122
|
+
const suits = Object.values(WESTERN_ELEMENTS).flatMap((element) => tree.related(`westernElement:${element}`, "tarotSuit").map((suit) => suit.id));
|
|
5123
|
+
for (let i = 0; i < suits.length; i++) {
|
|
5124
|
+
tree.removeNode(suits[i]);
|
|
5125
|
+
}
|
|
5126
|
+
const majorArkAnnus = Object.values(MELKITZEDEKI_PATHS).flatMap((path) => tree.related(`path:${path}`, "tarotArkAnnu").map((arkannus) => arkannus.id));
|
|
5127
|
+
for (let i = 0; i < majorArkAnnus.length; i++) {
|
|
5128
|
+
tree.removeNode(majorArkAnnus[i]);
|
|
5129
|
+
}
|
|
5130
|
+
const minorArkAnnus = Object.values(SPHERES).flatMap((sphere) => tree.related(sphere, "tarotArkAnnu").map((arkannus) => arkannus.id));
|
|
5131
|
+
for (let i = 0; i < minorArkAnnus.length; i++) {
|
|
5132
|
+
tree.removeNode(minorArkAnnus[i]);
|
|
5133
|
+
}
|
|
5134
|
+
return tree;
|
|
5135
|
+
};
|
|
5136
|
+
var LOADERS2 = {
|
|
5137
|
+
base: loadKaabalah,
|
|
5138
|
+
colors: loadColors2,
|
|
5139
|
+
music: loadMusicalNotes2,
|
|
5140
|
+
westernAstrology: loadWesternAstrology2,
|
|
5141
|
+
tarot: loadTarot
|
|
5142
|
+
};
|
|
5143
|
+
var UNLOADERS2 = {
|
|
5144
|
+
base: unloadKaabalah,
|
|
5145
|
+
colors: unloadColors2,
|
|
5146
|
+
music: unloadMusicalNotes2,
|
|
5147
|
+
westernAstrology: unloadWesternAstrology2,
|
|
5148
|
+
tarot: unloadTarot
|
|
5149
|
+
};
|
|
5150
|
+
var BRIDGES2 = [
|
|
5151
|
+
{
|
|
5152
|
+
id: "kaabalah-color-music",
|
|
5153
|
+
needs: ["colors", "music"],
|
|
5154
|
+
run: (t) => linkColorsAndSigns2(t)
|
|
5155
|
+
}
|
|
5156
|
+
];
|
|
5157
|
+
|
|
5158
|
+
// src/core/systems/lurianic-kabbalah.ts
|
|
5159
|
+
var lurianic_kabbalah_exports = {};
|
|
5160
|
+
__export(lurianic_kabbalah_exports, {
|
|
5161
|
+
BRIDGES: () => BRIDGES3,
|
|
5162
|
+
LOADERS: () => LOADERS3,
|
|
5163
|
+
SYSTEM: () => SYSTEM3,
|
|
5164
|
+
UNLOADERS: () => UNLOADERS3,
|
|
5165
|
+
loadLurianicKabbalah: () => loadLurianicKabbalah,
|
|
5166
|
+
unloadLurianicKabbalah: () => unloadLurianicKabbalah
|
|
5167
|
+
});
|
|
5168
|
+
var SYSTEM3 = "lurianic-kabbalah";
|
|
5169
|
+
function loadLurianicKabbalah(tree) {
|
|
5170
|
+
const kether = tree.addSphere(SPHERES.KETHER, SPHERE_DATA.KETHER, 1);
|
|
5171
|
+
const chokmah = tree.addSphere(SPHERES.CHOKMAH, SPHERE_DATA.CHOKMAH, 2);
|
|
5172
|
+
const binah = tree.addSphere(SPHERES.BINAH, SPHERE_DATA.BINAH, 3);
|
|
5173
|
+
const chesed = tree.addSphere(SPHERES.CHESED, SPHERE_DATA.CHESED, 4);
|
|
5174
|
+
const geburah = tree.addSphere(SPHERES.GEBURAH, SPHERE_DATA.GEBURAH, 5);
|
|
5175
|
+
const tiphereth = tree.addSphere(SPHERES.TIPHERETH, SPHERE_DATA.TIPHERETH, 6);
|
|
5176
|
+
const netzach = tree.addSphere(SPHERES.NETZACH, SPHERE_DATA.NETZACH, 7);
|
|
5177
|
+
const hod = tree.addSphere(SPHERES.HOD, SPHERE_DATA.HOD, 8);
|
|
5178
|
+
const yesod = tree.addSphere(SPHERES.YESOD, SPHERE_DATA.YESOD, 9);
|
|
5179
|
+
const malkuth = tree.addSphere(SPHERES.MALKUTH, SPHERE_DATA.MALKUTH, 10);
|
|
5180
|
+
const worlds = Object.entries(FOUR_WORLDS);
|
|
5181
|
+
const worldData = {
|
|
5182
|
+
ATZILUTH: {
|
|
5183
|
+
element: "fire",
|
|
5184
|
+
hebrewName: "Atzilith",
|
|
5185
|
+
englishName: "World of Emanation"
|
|
5186
|
+
},
|
|
5187
|
+
BRIAH: {
|
|
5188
|
+
element: "water",
|
|
5189
|
+
hebrewName: "Briah",
|
|
5190
|
+
englishName: "World of Creation"
|
|
5191
|
+
},
|
|
5192
|
+
YETZIRAH: {
|
|
5193
|
+
element: "air",
|
|
5194
|
+
hebrewName: "Yetzirah",
|
|
5195
|
+
englishName: "World of Formation"
|
|
5196
|
+
},
|
|
5197
|
+
ASSIAH: {
|
|
5198
|
+
element: "earth",
|
|
5199
|
+
hebrewName: "Assiah",
|
|
5200
|
+
englishName: "World of Action"
|
|
3505
5201
|
}
|
|
3506
|
-
|
|
3507
|
-
[
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
5202
|
+
};
|
|
5203
|
+
for (const [key] of worlds) {
|
|
5204
|
+
tree.addWorld(
|
|
5205
|
+
FOUR_WORLDS[key],
|
|
5206
|
+
worldData[key]
|
|
5207
|
+
);
|
|
5208
|
+
}
|
|
5209
|
+
const path11 = tree.addPath(kether, chokmah, LURIANIC_PATHS.KETHER_CHOKMAH);
|
|
5210
|
+
const path12 = tree.addPath(kether, binah, LURIANIC_PATHS.KETHER_BINAH);
|
|
5211
|
+
const path13 = tree.addPath(kether, tiphereth, LURIANIC_PATHS.KETHER_TIPHERETH);
|
|
5212
|
+
const path14 = tree.addPath(chokmah, binah, LURIANIC_PATHS.CHOKMAH_BINAH);
|
|
5213
|
+
const path15 = tree.addPath(chokmah, geburah, LURIANIC_PATHS.CHOKMAH_GEBURAH);
|
|
5214
|
+
const path16 = tree.addPath(chokmah, tiphereth, LURIANIC_PATHS.CHOKMAH_TIPHERETH);
|
|
5215
|
+
const path17 = tree.addPath(chokmah, chesed, LURIANIC_PATHS.CHOKMAH_CHESED);
|
|
5216
|
+
const path18 = tree.addPath(binah, chesed, LURIANIC_PATHS.BINAH_CHESED);
|
|
5217
|
+
const path19 = tree.addPath(binah, tiphereth, LURIANIC_PATHS.BINAH_TIPHERETH);
|
|
5218
|
+
const path20 = tree.addPath(binah, geburah, LURIANIC_PATHS.BINAH_GEBURAH);
|
|
5219
|
+
const path21 = tree.addPath(chesed, geburah, LURIANIC_PATHS.CHESED_GEBURAH);
|
|
5220
|
+
const path22 = tree.addPath(chesed, tiphereth, LURIANIC_PATHS.CHESED_TIPHERETH);
|
|
5221
|
+
const path23 = tree.addPath(chesed, netzach, LURIANIC_PATHS.CHESED_NETZACH);
|
|
5222
|
+
const path24 = tree.addPath(geburah, tiphereth, LURIANIC_PATHS.GEBURAH_TIPHERETH);
|
|
5223
|
+
const path25 = tree.addPath(geburah, hod, LURIANIC_PATHS.GEBURAH_HOD);
|
|
5224
|
+
const path26 = tree.addPath(tiphereth, netzach, LURIANIC_PATHS.TIPHERETH_NETZACH);
|
|
5225
|
+
const path27 = tree.addPath(tiphereth, yesod, LURIANIC_PATHS.TIPHERETH_YESOD);
|
|
5226
|
+
const path28 = tree.addPath(tiphereth, hod, LURIANIC_PATHS.TIPHERETH_HOD);
|
|
5227
|
+
const path29 = tree.addPath(netzach, hod, LURIANIC_PATHS.NETZACH_HOD);
|
|
5228
|
+
const path30 = tree.addPath(netzach, yesod, LURIANIC_PATHS.NETZACH_YESOD);
|
|
5229
|
+
const path31 = tree.addPath(hod, yesod, LURIANIC_PATHS.HOD_YESOD);
|
|
5230
|
+
const path32 = tree.addPath(yesod, malkuth, LURIANIC_PATHS.YESOD_MALKUTH);
|
|
5231
|
+
tree.addLetters(path11, [
|
|
5232
|
+
{ letter: LATIN_LETTERS.E, type: "latinLetter" },
|
|
5233
|
+
{ letter: HEBREW_LETTERS.HE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HE }
|
|
5234
|
+
]);
|
|
5235
|
+
tree.addLetters(path12, [
|
|
5236
|
+
{ letter: LATIN_LETTERS.V, type: "latinLetter" },
|
|
5237
|
+
{ letter: LATIN_LETTERS.U, type: "latinLetter" },
|
|
5238
|
+
{ letter: LATIN_LETTERS.W, type: "latinLetter" },
|
|
5239
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
5240
|
+
{ letter: HEBREW_LETTERS.VAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.VAV }
|
|
5241
|
+
]);
|
|
5242
|
+
tree.addLetters(path13, [
|
|
5243
|
+
{ letter: LATIN_LETTERS.D, type: "latinLetter" },
|
|
5244
|
+
{ letter: HEBREW_LETTERS.DALET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.DALET }
|
|
5245
|
+
]);
|
|
5246
|
+
tree.addLetters(path14, [
|
|
5247
|
+
{ letter: LATIN_LETTERS.CH, type: "latinLetter" },
|
|
5248
|
+
{ letter: LATIN_LETTERS.SH, type: "latinLetter" },
|
|
5249
|
+
{ letter: LATIN_LETTERS.X, type: "latinLetter" },
|
|
5250
|
+
{ letter: HEBREW_LETTERS.SHIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SHIN }
|
|
5251
|
+
]);
|
|
5252
|
+
tree.addLetters(path15, [
|
|
5253
|
+
{ letter: LATIN_LETTERS.Z, type: "latinLetter" },
|
|
5254
|
+
{ letter: HEBREW_LETTERS.ZAYIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ZAYIN }
|
|
5255
|
+
]);
|
|
5256
|
+
tree.addLetters(path16, [
|
|
5257
|
+
{ letter: LATIN_LETTERS.T, type: "latinLetter" },
|
|
5258
|
+
{ letter: HEBREW_LETTERS.TET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TET }
|
|
5259
|
+
]);
|
|
5260
|
+
tree.addLetters(path17, [
|
|
5261
|
+
{ letter: LATIN_LETTERS.B, type: "latinLetter" },
|
|
5262
|
+
{ letter: HEBREW_LETTERS.BETH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.BETH }
|
|
5263
|
+
]);
|
|
5264
|
+
tree.addLetters(path18, [
|
|
5265
|
+
{ letter: LATIN_LETTERS.H, type: "latinLetter" },
|
|
5266
|
+
{ letter: HEBREW_LETTERS.HET, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.HET }
|
|
5267
|
+
]);
|
|
5268
|
+
tree.addLetters(path19, [
|
|
5269
|
+
{ letter: LATIN_LETTERS.I, type: "latinLetter" },
|
|
5270
|
+
{ letter: LATIN_LETTERS.J, type: "latinLetter" },
|
|
5271
|
+
{ letter: LATIN_LETTERS.Y, type: "latinLetter" },
|
|
5272
|
+
{ letter: HEBREW_LETTERS.YOD, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.YOD }
|
|
5273
|
+
]);
|
|
5274
|
+
tree.addLetters(path20, [
|
|
5275
|
+
{ letter: LATIN_LETTERS.G, type: "latinLetter" },
|
|
5276
|
+
{ letter: HEBREW_LETTERS.GIMEL, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.GIMEL }
|
|
5277
|
+
]);
|
|
5278
|
+
tree.addLetters(path21, [
|
|
5279
|
+
{ letter: LATIN_LETTERS.A, type: "latinLetter" },
|
|
5280
|
+
{ letter: HEBREW_LETTERS.ALEPH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.ALEPH }
|
|
5281
|
+
]);
|
|
5282
|
+
tree.addLetters(path22, [
|
|
5283
|
+
{ letter: LATIN_LETTERS.L, type: "latinLetter" },
|
|
5284
|
+
{ letter: HEBREW_LETTERS.LAMED, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.LAMED }
|
|
5285
|
+
]);
|
|
5286
|
+
tree.addLetters(path23, [
|
|
5287
|
+
{ letter: LATIN_LETTERS.C, type: "latinLetter" },
|
|
5288
|
+
{ letter: HEBREW_LETTERS.KAF, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.KAF }
|
|
5289
|
+
]);
|
|
5290
|
+
tree.addLetters(path24, [
|
|
5291
|
+
{ letter: LATIN_LETTERS.N, type: "latinLetter" },
|
|
5292
|
+
{ letter: HEBREW_LETTERS.NUN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.NUN }
|
|
5293
|
+
]);
|
|
5294
|
+
tree.addLetters(path25, [
|
|
5295
|
+
{ letter: LATIN_LETTERS.P, type: "latinLetter" },
|
|
5296
|
+
{ letter: LATIN_LETTERS.F, type: "latinLetter" },
|
|
5297
|
+
{ letter: LATIN_LETTERS.PH, type: "latinLetter" },
|
|
5298
|
+
{ letter: HEBREW_LETTERS.PE, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.PE }
|
|
5299
|
+
]);
|
|
5300
|
+
tree.addLetters(path26, [
|
|
5301
|
+
{ letter: LATIN_LETTERS.S, type: "latinLetter" },
|
|
5302
|
+
{ letter: LATIN_LETTERS.\u00C7, type: "latinLetter" },
|
|
5303
|
+
{ letter: HEBREW_LETTERS.SAMEKH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.SAMEKH }
|
|
5304
|
+
]);
|
|
5305
|
+
tree.addLetters(path27, [
|
|
5306
|
+
{ letter: LATIN_LETTERS.R, type: "latinLetter" },
|
|
5307
|
+
{ letter: HEBREW_LETTERS.RESH, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.RESH }
|
|
5308
|
+
]);
|
|
5309
|
+
tree.addLetters(path28, [
|
|
5310
|
+
{ letter: LATIN_LETTERS.O, type: "latinLetter" },
|
|
5311
|
+
{ letter: HEBREW_LETTERS.AIN, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.AIN }
|
|
5312
|
+
]);
|
|
5313
|
+
tree.addLetters(path29, [
|
|
5314
|
+
{ letter: LATIN_LETTERS.M, type: "latinLetter" },
|
|
5315
|
+
{ letter: HEBREW_LETTERS.MEM, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.MEM }
|
|
5316
|
+
]);
|
|
5317
|
+
tree.addLetters(path30, [
|
|
5318
|
+
{ letter: LATIN_LETTERS.TS, type: "latinLetter" },
|
|
5319
|
+
{ letter: LATIN_LETTERS.TZ, type: "latinLetter" },
|
|
5320
|
+
{ letter: HEBREW_LETTERS.TSADI, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TSADI }
|
|
5321
|
+
]);
|
|
5322
|
+
tree.addLetters(path31, [
|
|
5323
|
+
{ letter: LATIN_LETTERS.K, type: "latinLetter" },
|
|
5324
|
+
{ letter: LATIN_LETTERS.Q, type: "latinLetter" },
|
|
5325
|
+
{ letter: LATIN_LETTERS.KH, type: "latinLetter" },
|
|
5326
|
+
{ letter: HEBREW_LETTERS.QOF, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.QOF }
|
|
5327
|
+
]);
|
|
5328
|
+
tree.addLetters(path32, [
|
|
5329
|
+
{ letter: LATIN_LETTERS.TH, type: "latinLetter" },
|
|
5330
|
+
{ letter: HEBREW_LETTERS.TAV, type: "hebrewLetter", data: HEBREW_LETTERS_DATA.TAV }
|
|
5331
|
+
]);
|
|
5332
|
+
return tree;
|
|
5333
|
+
}
|
|
5334
|
+
function unloadLurianicKabbalah(tree) {
|
|
5335
|
+
const spheres = Object.values(SPHERES);
|
|
5336
|
+
for (let i = 0; i < spheres.length; i++) {
|
|
5337
|
+
tree.removeNode(spheres[i]);
|
|
5338
|
+
}
|
|
5339
|
+
const paths = Object.values(LURIANIC_PATHS);
|
|
5340
|
+
for (let i = 0; i < paths.length; i++) {
|
|
5341
|
+
tree.removeNode(`path:${paths[i]}`);
|
|
5342
|
+
}
|
|
5343
|
+
}
|
|
5344
|
+
var LOADERS3 = {
|
|
5345
|
+
base: loadLurianicKabbalah
|
|
5346
|
+
};
|
|
5347
|
+
var UNLOADERS3 = {
|
|
5348
|
+
base: unloadLurianicKabbalah
|
|
5349
|
+
};
|
|
5350
|
+
var BRIDGES3 = [];
|
|
5351
|
+
|
|
5352
|
+
// src/core/systems/registry.ts
|
|
5353
|
+
var SYSTEMS = [kaabalah_exports, hermetic_qabalah_exports, lurianic_kabbalah_exports];
|
|
5354
|
+
|
|
5355
|
+
// src/core/systems/module-manager.ts
|
|
5356
|
+
var ModuleManager = class {
|
|
5357
|
+
constructor(t) {
|
|
5358
|
+
this.t = t;
|
|
5359
|
+
this.activeSystem = null;
|
|
5360
|
+
this.loadedParts = /* @__PURE__ */ new Set();
|
|
5361
|
+
this.bridgedParts = /* @__PURE__ */ new Set();
|
|
5362
|
+
}
|
|
5363
|
+
/**
|
|
5364
|
+
* Loads the base of a system (switching if necessary)
|
|
5365
|
+
* @param systemKey - the key of the system to load
|
|
5366
|
+
*/
|
|
5367
|
+
loadSystem(systemKey) {
|
|
5368
|
+
if (this.activeSystem === systemKey) {
|
|
5369
|
+
return;
|
|
3517
5370
|
}
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
"G",
|
|
3521
|
-
{
|
|
3522
|
-
letter: "G",
|
|
3523
|
-
hebrewName: "Gimel",
|
|
3524
|
-
hebrewCharacter: "\u05D2",
|
|
3525
|
-
numericValue: 3,
|
|
3526
|
-
majorArcana: 3,
|
|
3527
|
-
astrologicalEnergy: "Venus",
|
|
3528
|
-
letterType: "double"
|
|
5371
|
+
if (this.activeSystem) {
|
|
5372
|
+
this.unloadSystem();
|
|
3529
5373
|
}
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
{
|
|
3534
|
-
letter: "D",
|
|
3535
|
-
hebrewName: "Daleth",
|
|
3536
|
-
hebrewCharacter: "\u05D3",
|
|
3537
|
-
numericValue: 4,
|
|
3538
|
-
majorArcana: 4,
|
|
3539
|
-
astrologicalEnergy: "Jupiter",
|
|
3540
|
-
letterType: "double"
|
|
5374
|
+
const loadedSystem = SYSTEMS.find((s) => s.SYSTEM === systemKey);
|
|
5375
|
+
if (!loadedSystem) {
|
|
5376
|
+
throw new Error(`System ${systemKey} not found`);
|
|
3541
5377
|
}
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
5378
|
+
loadedSystem.LOADERS.base(this.t);
|
|
5379
|
+
this.activeSystem = systemKey;
|
|
5380
|
+
this.loadedParts.clear();
|
|
5381
|
+
this.loadedParts.add("base");
|
|
5382
|
+
}
|
|
5383
|
+
/**
|
|
5384
|
+
* Loads an optional part (colors, music, etc)
|
|
5385
|
+
* @param partKey - the key of the part to load
|
|
5386
|
+
*/
|
|
5387
|
+
loadPart(partKey) {
|
|
5388
|
+
if (!this.activeSystem) {
|
|
5389
|
+
throw new Error("load a system first");
|
|
3553
5390
|
}
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
{
|
|
3558
|
-
letter: "V",
|
|
3559
|
-
hebrewName: "Vav",
|
|
3560
|
-
hebrewCharacter: "\u05D5",
|
|
3561
|
-
numericValue: 6,
|
|
3562
|
-
majorArcana: 6,
|
|
3563
|
-
astrologicalEnergy: "Taurus",
|
|
3564
|
-
letterType: "simple"
|
|
5391
|
+
const system = SYSTEMS.find((s) => s.SYSTEM === this.activeSystem);
|
|
5392
|
+
if (!system) {
|
|
5393
|
+
throw new Error(`System ${this.activeSystem} not found`);
|
|
3565
5394
|
}
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
"U",
|
|
3569
|
-
{
|
|
3570
|
-
letter: "U",
|
|
3571
|
-
hebrewName: "Vav",
|
|
3572
|
-
hebrewCharacter: "\u05D5",
|
|
3573
|
-
numericValue: 6,
|
|
3574
|
-
majorArcana: 6,
|
|
3575
|
-
astrologicalEnergy: "Taurus",
|
|
3576
|
-
letterType: "simple"
|
|
5395
|
+
if (this.loadedParts.has(partKey)) {
|
|
5396
|
+
return;
|
|
3577
5397
|
}
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
{
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
hebrewCharacter: "\u05D5",
|
|
3585
|
-
numericValue: 6,
|
|
3586
|
-
majorArcana: 6,
|
|
3587
|
-
astrologicalEnergy: "Taurus",
|
|
3588
|
-
letterType: "simple"
|
|
5398
|
+
system.LOADERS[partKey](this.t);
|
|
5399
|
+
this.loadedParts.add(partKey);
|
|
5400
|
+
const possiblePartBridges = system.BRIDGES.filter((b) => b.needs.includes(partKey) && !this.bridgedParts.has(b.id) && b.needs.every((n) => this.loadedParts.has(n)));
|
|
5401
|
+
for (const bridge of possiblePartBridges) {
|
|
5402
|
+
bridge.run(this.t);
|
|
5403
|
+
this.bridgedParts.add(bridge.id);
|
|
3589
5404
|
}
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
numericValue: 6,
|
|
3598
|
-
majorArcana: 6,
|
|
3599
|
-
astrologicalEnergy: "Taurus",
|
|
3600
|
-
letterType: "simple"
|
|
5405
|
+
}
|
|
5406
|
+
/**
|
|
5407
|
+
* Unloads the active system and all its parts
|
|
5408
|
+
*/
|
|
5409
|
+
unloadSystem() {
|
|
5410
|
+
if (!this.activeSystem) {
|
|
5411
|
+
return;
|
|
3601
5412
|
}
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
{
|
|
3606
|
-
letter: "Z",
|
|
3607
|
-
hebrewName: "Zayin",
|
|
3608
|
-
hebrewCharacter: "\u05D6",
|
|
3609
|
-
numericValue: 7,
|
|
3610
|
-
majorArcana: 7,
|
|
3611
|
-
astrologicalEnergy: "Gemini",
|
|
3612
|
-
letterType: "simple"
|
|
5413
|
+
const system = SYSTEMS.find((s) => s.SYSTEM === this.activeSystem);
|
|
5414
|
+
if (!system) {
|
|
5415
|
+
throw new Error(`System ${this.activeSystem} not found`);
|
|
3613
5416
|
}
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
{
|
|
3618
|
-
letter: "H",
|
|
3619
|
-
hebrewName: "Cheth",
|
|
3620
|
-
hebrewCharacter: "\u05D7",
|
|
3621
|
-
numericValue: 8,
|
|
3622
|
-
majorArcana: 8,
|
|
3623
|
-
astrologicalEnergy: "Cancer",
|
|
3624
|
-
letterType: "simple"
|
|
5417
|
+
const reversedParts = [...this.loadedParts].reverse();
|
|
5418
|
+
for (const part of reversedParts) {
|
|
5419
|
+
system.UNLOADERS[part](this.t);
|
|
3625
5420
|
}
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
5421
|
+
this.activeSystem = null;
|
|
5422
|
+
this.loadedParts.clear();
|
|
5423
|
+
this.bridgedParts.clear();
|
|
5424
|
+
}
|
|
5425
|
+
/**
|
|
5426
|
+
* Runs a bridge (that connects two parts) if it is not already run and all its needs are loaded
|
|
5427
|
+
* @param bridgeKey - the key of the bridge to run
|
|
5428
|
+
*/
|
|
5429
|
+
runBridge(bridgeKey) {
|
|
5430
|
+
const system = SYSTEMS.find((s) => s.SYSTEM === this.activeSystem);
|
|
5431
|
+
if (!system) {
|
|
5432
|
+
throw new Error(`System ${this.activeSystem} not found`);
|
|
3637
5433
|
}
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
{
|
|
3642
|
-
letter: "Th",
|
|
3643
|
-
hebrewName: "Tav",
|
|
3644
|
-
hebrewCharacter: "\u05EA",
|
|
3645
|
-
numericValue: 400,
|
|
3646
|
-
majorArcana: 22,
|
|
3647
|
-
astrologicalEnergy: "Sun",
|
|
3648
|
-
letterType: "double"
|
|
5434
|
+
const bridge = system.BRIDGES.find((b) => b.id === bridgeKey);
|
|
5435
|
+
if (!bridge) {
|
|
5436
|
+
throw new Error(`Bridge ${bridgeKey} not found`);
|
|
3649
5437
|
}
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
{
|
|
3654
|
-
letter: "Ts",
|
|
3655
|
-
hebrewName: "Tzaddi",
|
|
3656
|
-
hebrewCharacter: "\u05E6",
|
|
3657
|
-
numericValue: 90,
|
|
3658
|
-
numericValueWhenEnding: 900,
|
|
3659
|
-
majorArcana: 18,
|
|
3660
|
-
astrologicalEnergy: "Aquarius",
|
|
3661
|
-
letterType: "simple"
|
|
5438
|
+
if (!this.bridgedParts.has(bridge.id) && bridge.needs.every((n) => this.loadedParts.has(n))) {
|
|
5439
|
+
bridge.run(this.t);
|
|
5440
|
+
this.bridgedParts.add(bridge.id);
|
|
3662
5441
|
}
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
letter: "Tz",
|
|
3668
|
-
hebrewName: "Tzaddi",
|
|
3669
|
-
hebrewCharacter: "\u05E6",
|
|
3670
|
-
numericValue: 90,
|
|
3671
|
-
numericValueWhenEnding: 900,
|
|
3672
|
-
majorArcana: 18,
|
|
3673
|
-
astrologicalEnergy: "Aquarius",
|
|
3674
|
-
letterType: "simple"
|
|
5442
|
+
}
|
|
5443
|
+
listAvailableParts() {
|
|
5444
|
+
if (!this.activeSystem) {
|
|
5445
|
+
throw new Error("No system loaded");
|
|
3675
5446
|
}
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
{
|
|
3680
|
-
letter: "I",
|
|
3681
|
-
hebrewName: "Yod",
|
|
3682
|
-
hebrewCharacter: "\u05D9",
|
|
3683
|
-
numericValue: 10,
|
|
3684
|
-
majorArcana: 10,
|
|
3685
|
-
astrologicalEnergy: "Virgo",
|
|
3686
|
-
letterType: "simple"
|
|
5447
|
+
const installedSystem = SYSTEMS.find((s) => s.SYSTEM === this.activeSystem);
|
|
5448
|
+
if (!installedSystem) {
|
|
5449
|
+
throw new Error(`System ${this.activeSystem} not found`);
|
|
3687
5450
|
}
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
{
|
|
3692
|
-
|
|
3693
|
-
hebrewName: "Yod",
|
|
3694
|
-
hebrewCharacter: "\u05D9",
|
|
3695
|
-
numericValue: 10,
|
|
3696
|
-
majorArcana: 10,
|
|
3697
|
-
astrologicalEnergy: "Virgo",
|
|
3698
|
-
letterType: "simple"
|
|
5451
|
+
return Object.keys(installedSystem.LOADERS).filter((p) => p !== "base");
|
|
5452
|
+
}
|
|
5453
|
+
listAvailableBridges() {
|
|
5454
|
+
if (!this.activeSystem) {
|
|
5455
|
+
throw new Error("No system loaded");
|
|
3699
5456
|
}
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
{
|
|
3704
|
-
letter: "Y",
|
|
3705
|
-
hebrewName: "Yod",
|
|
3706
|
-
hebrewCharacter: "\u05D9",
|
|
3707
|
-
numericValue: 10,
|
|
3708
|
-
majorArcana: 10,
|
|
3709
|
-
astrologicalEnergy: "Virgo",
|
|
3710
|
-
letterType: "simple"
|
|
5457
|
+
const installedSystem = SYSTEMS.find((s) => s.SYSTEM === this.activeSystem);
|
|
5458
|
+
if (!installedSystem) {
|
|
5459
|
+
throw new Error(`System ${this.activeSystem} not found`);
|
|
3711
5460
|
}
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
5461
|
+
return installedSystem.BRIDGES;
|
|
5462
|
+
}
|
|
5463
|
+
listLoadedParts() {
|
|
5464
|
+
return [...this.loadedParts];
|
|
5465
|
+
}
|
|
5466
|
+
listBridgedParts() {
|
|
5467
|
+
return [...this.bridgedParts];
|
|
5468
|
+
}
|
|
5469
|
+
getActiveSystem() {
|
|
5470
|
+
return this.activeSystem;
|
|
5471
|
+
}
|
|
5472
|
+
};
|
|
5473
|
+
|
|
5474
|
+
// src/core/tree-of-life.ts
|
|
5475
|
+
var TreeOfLife = class {
|
|
5476
|
+
constructor() {
|
|
5477
|
+
this.nodes = /* @__PURE__ */ new Map();
|
|
5478
|
+
this.adjacent = /* @__PURE__ */ new Map();
|
|
5479
|
+
this.modules = new ModuleManager(this);
|
|
5480
|
+
this.activeSystem = this.modules.getActiveSystem();
|
|
5481
|
+
}
|
|
5482
|
+
/**
|
|
5483
|
+
* Loads the tree of life system to be used
|
|
5484
|
+
* @param systemKey - the key of the system to load
|
|
5485
|
+
*/
|
|
5486
|
+
loadSystem(systemKey) {
|
|
5487
|
+
this.modules.loadSystem(systemKey);
|
|
5488
|
+
}
|
|
5489
|
+
/**
|
|
5490
|
+
* Loads a part of a system into the tree of life
|
|
5491
|
+
* @param partKey - the key of the part to load
|
|
5492
|
+
*/
|
|
5493
|
+
loadPart(partKey) {
|
|
5494
|
+
this.modules.loadPart(partKey);
|
|
5495
|
+
}
|
|
5496
|
+
/**
|
|
5497
|
+
* Unloads the tree of life system and all its parts
|
|
5498
|
+
*/
|
|
5499
|
+
unloadSystem() {
|
|
5500
|
+
this.modules.unloadSystem();
|
|
5501
|
+
}
|
|
5502
|
+
listAvailableParts() {
|
|
5503
|
+
return this.modules.listAvailableParts();
|
|
5504
|
+
}
|
|
5505
|
+
listLoadedParts() {
|
|
5506
|
+
return this.modules.listLoadedParts();
|
|
5507
|
+
}
|
|
5508
|
+
listAvailableBridges() {
|
|
5509
|
+
return this.modules.listAvailableBridges();
|
|
5510
|
+
}
|
|
5511
|
+
listBridgedParts() {
|
|
5512
|
+
return this.modules.listBridgedParts();
|
|
5513
|
+
}
|
|
5514
|
+
/**
|
|
5515
|
+
* Adds a node to the tree
|
|
5516
|
+
* @param node - the node to add
|
|
5517
|
+
* @returns the id of the added node
|
|
5518
|
+
*/
|
|
5519
|
+
addNode(node) {
|
|
5520
|
+
this.nodes.set(node.id, node);
|
|
5521
|
+
return node.id;
|
|
5522
|
+
}
|
|
5523
|
+
getNode(id) {
|
|
5524
|
+
return this.nodes.get(id);
|
|
5525
|
+
}
|
|
5526
|
+
/**
|
|
5527
|
+
* Links two nodes bi-directionally
|
|
5528
|
+
* @param firstNode - the id of the first node
|
|
5529
|
+
* @param secondNode - the id of the second node
|
|
5530
|
+
*/
|
|
5531
|
+
link(firstNode, secondNode) {
|
|
5532
|
+
if (!this.nodes.has(firstNode) || !this.nodes.has(secondNode)) {
|
|
5533
|
+
throw new Error("unknown node id");
|
|
3724
5534
|
}
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
"L",
|
|
3728
|
-
{
|
|
3729
|
-
letter: "L",
|
|
3730
|
-
hebrewName: "Lamed",
|
|
3731
|
-
hebrewCharacter: "\u05DC",
|
|
3732
|
-
numericValue: 30,
|
|
3733
|
-
majorArcana: 12,
|
|
3734
|
-
astrologicalEnergy: "Libra",
|
|
3735
|
-
letterType: "simple"
|
|
5535
|
+
if (firstNode === secondNode) {
|
|
5536
|
+
return;
|
|
3736
5537
|
}
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
"M",
|
|
3740
|
-
{
|
|
3741
|
-
letter: "M",
|
|
3742
|
-
hebrewName: "Mem",
|
|
3743
|
-
hebrewCharacter: "\u05DE",
|
|
3744
|
-
numericValue: 40,
|
|
3745
|
-
numericValueWhenEnding: 600,
|
|
3746
|
-
majorArcana: 13,
|
|
3747
|
-
astrologicalEnergy: "Water",
|
|
3748
|
-
letterType: "mother"
|
|
5538
|
+
if (this.adjacent.has(firstNode) && this.adjacent.get(firstNode)?.has(secondNode)) {
|
|
5539
|
+
return;
|
|
3749
5540
|
}
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
5541
|
+
const put = (leftNode, rightNode) => {
|
|
5542
|
+
const set = this.adjacent.get(leftNode) ?? /* @__PURE__ */ new Set();
|
|
5543
|
+
set.add(rightNode);
|
|
5544
|
+
this.adjacent.set(leftNode, set);
|
|
5545
|
+
};
|
|
5546
|
+
put(firstNode, secondNode);
|
|
5547
|
+
put(secondNode, firstNode);
|
|
5548
|
+
}
|
|
5549
|
+
/**
|
|
5550
|
+
* Gets the current node and all its direct relations, or, when filtered by node type, only the direct relations of that type.
|
|
5551
|
+
* @param id - the id of the node to get the relations for
|
|
5552
|
+
* @param nodeType - the node type to filter the relations by
|
|
5553
|
+
* @returns the current node and all its direct relations
|
|
5554
|
+
*/
|
|
5555
|
+
related(id, nodeType) {
|
|
5556
|
+
if (!this.nodes.has(id)) {
|
|
5557
|
+
return [];
|
|
3762
5558
|
}
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
letter: "S",
|
|
3768
|
-
hebrewName: "Samekh",
|
|
3769
|
-
hebrewCharacter: "\u05E1",
|
|
3770
|
-
numericValue: 60,
|
|
3771
|
-
majorArcana: 15,
|
|
3772
|
-
astrologicalEnergy: "Sagittarius",
|
|
3773
|
-
letterType: "simple"
|
|
5559
|
+
const node = this.nodes.get(id);
|
|
5560
|
+
const relations = this.adjacent.get(id);
|
|
5561
|
+
if (!relations) {
|
|
5562
|
+
return nodeType ? [] : [node];
|
|
3774
5563
|
}
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
5564
|
+
const filteredRelations = [...relations].map((i) => this.nodes.get(i)).filter((n) => !nodeType || n.type === nodeType);
|
|
5565
|
+
return nodeType ? filteredRelations : [node, ...filteredRelations];
|
|
5566
|
+
}
|
|
5567
|
+
/**
|
|
5568
|
+
* Gets all the types of nodes that are directly connected to the given node
|
|
5569
|
+
* @param id - the id of the node to get related types for
|
|
5570
|
+
* @returns array of node types that are directly connected
|
|
5571
|
+
*/
|
|
5572
|
+
relatedTypes(id) {
|
|
5573
|
+
if (!this.nodes.has(id)) {
|
|
5574
|
+
return [];
|
|
3786
5575
|
}
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
5576
|
+
return [...new Set([...this.adjacent.get(id).values()].map((nodeId) => this.nodes.get(nodeId).type))];
|
|
5577
|
+
}
|
|
5578
|
+
/**
|
|
5579
|
+
* BFS up to depth k, optional type filter for the result set
|
|
5580
|
+
* @param id - the id of the node to get the extended relations for
|
|
5581
|
+
* @param depth - the depth of the walk
|
|
5582
|
+
* @param type - the type of the nodes to filter the result set by
|
|
5583
|
+
* @returns the current node and all its extended relations
|
|
5584
|
+
*/
|
|
5585
|
+
walk(id, depth = 1, type) {
|
|
5586
|
+
const visitedNodes = /* @__PURE__ */ new Set([id]);
|
|
5587
|
+
const foundNodes = [];
|
|
5588
|
+
let queue = [[id, 0]];
|
|
5589
|
+
while (queue.length > 0) {
|
|
5590
|
+
const [current, currentDepth] = queue.shift();
|
|
5591
|
+
if (currentDepth >= depth) {
|
|
5592
|
+
continue;
|
|
5593
|
+
}
|
|
5594
|
+
const neighbors = this.adjacent.get(current) ?? /* @__PURE__ */ new Set();
|
|
5595
|
+
for (const neighbor of neighbors) {
|
|
5596
|
+
if (visitedNodes.has(neighbor)) {
|
|
5597
|
+
continue;
|
|
5598
|
+
}
|
|
5599
|
+
visitedNodes.add(neighbor);
|
|
5600
|
+
foundNodes.push(this.nodes.get(neighbor));
|
|
5601
|
+
queue.push([neighbor, currentDepth + 1]);
|
|
5602
|
+
}
|
|
3799
5603
|
}
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
5604
|
+
return type ? foundNodes.filter((n) => n.type === type) : foundNodes;
|
|
5605
|
+
}
|
|
5606
|
+
/**
|
|
5607
|
+
* Removes a node and all its relations from the graph, cleaning up adjacency sets.
|
|
5608
|
+
* @param id - the id of the node to remove
|
|
5609
|
+
*/
|
|
5610
|
+
removeNode(id) {
|
|
5611
|
+
if (!this.nodes.has(id)) return;
|
|
5612
|
+
const neighbors = this.adjacent.get(id);
|
|
5613
|
+
if (neighbors) {
|
|
5614
|
+
for (const neighbor of neighbors) {
|
|
5615
|
+
const set = this.adjacent.get(neighbor);
|
|
5616
|
+
if (!set) {
|
|
5617
|
+
continue;
|
|
5618
|
+
}
|
|
5619
|
+
set.delete(id);
|
|
5620
|
+
if (set.size === 0) {
|
|
5621
|
+
this.adjacent.delete(neighbor);
|
|
5622
|
+
} else {
|
|
5623
|
+
this.adjacent.set(neighbor, set);
|
|
5624
|
+
}
|
|
5625
|
+
}
|
|
3812
5626
|
}
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
5627
|
+
this.adjacent.delete(id);
|
|
5628
|
+
this.nodes.delete(id);
|
|
5629
|
+
}
|
|
5630
|
+
/**
|
|
5631
|
+
* A helper to create two-way correspondences between nodes.
|
|
5632
|
+
* @param source - the source node
|
|
5633
|
+
* @param target - the target node
|
|
5634
|
+
* @param targetType - the type of the target node
|
|
5635
|
+
* @returns the target node
|
|
5636
|
+
*/
|
|
5637
|
+
correspond(source, target, targetType, data) {
|
|
5638
|
+
if (!this.nodes.has(target)) {
|
|
5639
|
+
const node = data ? { id: target, type: targetType, data } : { id: target, type: targetType };
|
|
5640
|
+
this.addNode(node);
|
|
5641
|
+
}
|
|
5642
|
+
this.link(source, target);
|
|
5643
|
+
return target;
|
|
5644
|
+
}
|
|
5645
|
+
/**
|
|
5646
|
+
* Adds a sphere (sephirah) to the tree with its Hebrew and English names
|
|
5647
|
+
* @param sphere - the identifier for the sphere
|
|
5648
|
+
* @param data - the sphere's Hebrew and English names
|
|
5649
|
+
* @returns the sphere's id
|
|
5650
|
+
*/
|
|
5651
|
+
addSphere(sphere, data, relatedNumber) {
|
|
5652
|
+
if (this.nodes.has(sphere)) {
|
|
5653
|
+
return sphere;
|
|
5654
|
+
}
|
|
5655
|
+
this.addNode({ id: sphere, type: "sphere", data });
|
|
5656
|
+
const numberId = `num:${relatedNumber}`;
|
|
5657
|
+
if (!this.nodes.has(numberId)) {
|
|
5658
|
+
this.addNode({ id: numberId, type: "number" });
|
|
5659
|
+
}
|
|
5660
|
+
this.link(sphere, numberId);
|
|
5661
|
+
return sphere;
|
|
5662
|
+
}
|
|
5663
|
+
/**
|
|
5664
|
+
* Adds a path between two spheres with its associated number
|
|
5665
|
+
* @param leftSphere - the id of the first sphere
|
|
5666
|
+
* @param rightSphere - the id of the second sphere
|
|
5667
|
+
* @param relatedNumber - the number associated with this path
|
|
5668
|
+
* @returns the path's id
|
|
5669
|
+
*/
|
|
5670
|
+
addPath(leftSphere, rightSphere, relatedNumber, data) {
|
|
5671
|
+
const pathId = `path:${relatedNumber}`;
|
|
5672
|
+
if (this.nodes.has(pathId)) {
|
|
5673
|
+
return pathId;
|
|
5674
|
+
}
|
|
5675
|
+
const numberOfSpheres = 10;
|
|
5676
|
+
const pathNumber = relatedNumber + numberOfSpheres;
|
|
5677
|
+
this.addNode({ id: pathId, type: "path", data });
|
|
5678
|
+
this.link(leftSphere, pathId);
|
|
5679
|
+
this.link(rightSphere, pathId);
|
|
5680
|
+
const firstNumberId = `num:${relatedNumber}`;
|
|
5681
|
+
const secondNumberId = `num:${pathNumber}`;
|
|
5682
|
+
if (!this.nodes.has(firstNumberId)) {
|
|
5683
|
+
this.addNode({ id: firstNumberId, type: "number" });
|
|
3825
5684
|
}
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
"K",
|
|
3829
|
-
{
|
|
3830
|
-
letter: "K",
|
|
3831
|
-
hebrewName: "Qoph",
|
|
3832
|
-
hebrewCharacter: "\u05E7",
|
|
3833
|
-
numericValue: 100,
|
|
3834
|
-
majorArcana: 19,
|
|
3835
|
-
astrologicalEnergy: "Pisces",
|
|
3836
|
-
letterType: "simple"
|
|
5685
|
+
if (!this.nodes.has(secondNumberId)) {
|
|
5686
|
+
this.addNode({ id: secondNumberId, type: "number" });
|
|
3837
5687
|
}
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
5688
|
+
this.link(pathId, firstNumberId);
|
|
5689
|
+
this.link(pathId, secondNumberId);
|
|
5690
|
+
return pathId;
|
|
5691
|
+
}
|
|
5692
|
+
addLetters(path, letters) {
|
|
5693
|
+
for (const letter of letters) {
|
|
5694
|
+
const letterId = `letter:${letter.letter}`;
|
|
5695
|
+
this.correspond(path, letterId, letter.type, letter.data);
|
|
5696
|
+
if (letter.type === "hebrewLetter") {
|
|
5697
|
+
const data = letter.data;
|
|
5698
|
+
const gematriaValues = [data.gematriaValue, data.gematriaValueWhenEnding].filter(Boolean);
|
|
5699
|
+
for (const gematriaValue of gematriaValues) {
|
|
5700
|
+
if (!this.nodes.has(`num:${gematriaValue}`)) {
|
|
5701
|
+
this.addNode({ id: `num:${gematriaValue}`, type: "number" });
|
|
5702
|
+
}
|
|
5703
|
+
this.link(letterId, `num:${gematriaValue}`);
|
|
5704
|
+
}
|
|
5705
|
+
}
|
|
3849
5706
|
}
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
letter: "Q",
|
|
3855
|
-
hebrewName: "Qoph",
|
|
3856
|
-
hebrewCharacter: "\u05E7",
|
|
3857
|
-
numericValue: 100,
|
|
3858
|
-
majorArcana: 19,
|
|
3859
|
-
astrologicalEnergy: "Pisces",
|
|
3860
|
-
letterType: "simple"
|
|
5707
|
+
}
|
|
5708
|
+
addWorld(world, data) {
|
|
5709
|
+
if (this.nodes.has(world)) {
|
|
5710
|
+
return world;
|
|
3861
5711
|
}
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
majorArcana: 20,
|
|
3871
|
-
astrologicalEnergy: "Saturn",
|
|
3872
|
-
letterType: "double"
|
|
5712
|
+
this.addNode({ id: world, type: "world", data });
|
|
5713
|
+
return world;
|
|
5714
|
+
}
|
|
5715
|
+
addSphereColor(sphere, color, data, world) {
|
|
5716
|
+
const colorId = `color:${color}`;
|
|
5717
|
+
this.correspond(sphere, colorId, "color", data);
|
|
5718
|
+
if (world) {
|
|
5719
|
+
this.link(world, colorId);
|
|
3873
5720
|
}
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
{
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
5721
|
+
return colorId;
|
|
5722
|
+
}
|
|
5723
|
+
addPathColor(path, color, data) {
|
|
5724
|
+
const colorId = `color:${color}`;
|
|
5725
|
+
this.correspond(path, colorId, "color", data);
|
|
5726
|
+
return colorId;
|
|
5727
|
+
}
|
|
5728
|
+
addMusicalNote(sphere, note, data) {
|
|
5729
|
+
const noteId = `note:${note}`;
|
|
5730
|
+
this.correspond(sphere, noteId, "musicalNote", data);
|
|
5731
|
+
return noteId;
|
|
5732
|
+
}
|
|
5733
|
+
addWesternAstrologyPlanet(sphereOrPath, planet, data) {
|
|
5734
|
+
const planetId = `planet:${planet}`;
|
|
5735
|
+
this.correspond(sphereOrPath, planetId, "planet", data);
|
|
5736
|
+
return planetId;
|
|
5737
|
+
}
|
|
5738
|
+
addWesternAstrologySign(path, sign, data, relatedNumber) {
|
|
5739
|
+
const signId = `westernZodiacSign:${sign}`;
|
|
5740
|
+
this.correspond(path, signId, "westernZodiacSign", data);
|
|
5741
|
+
const numberId = `num:${relatedNumber}`;
|
|
5742
|
+
if (!this.nodes.has(numberId)) {
|
|
5743
|
+
this.addNode({ id: numberId, type: "number" });
|
|
3885
5744
|
}
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
numericValue: 300,
|
|
3894
|
-
majorArcana: 21,
|
|
3895
|
-
astrologicalEnergy: "Fire",
|
|
3896
|
-
letterType: "mother"
|
|
5745
|
+
this.link(signId, numberId);
|
|
5746
|
+
if (data.element) {
|
|
5747
|
+
const elementId = `westernElement:${data.element}`;
|
|
5748
|
+
if (!this.nodes.has(elementId)) {
|
|
5749
|
+
this.addNode({ id: elementId, type: "westernElement" });
|
|
5750
|
+
}
|
|
5751
|
+
this.link(signId, elementId);
|
|
3897
5752
|
}
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
{
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
hebrewCharacter: "\u05E9",
|
|
3905
|
-
numericValue: 300,
|
|
3906
|
-
majorArcana: 21,
|
|
3907
|
-
astrologicalEnergy: "Fire",
|
|
3908
|
-
letterType: "mother"
|
|
5753
|
+
return signId;
|
|
5754
|
+
}
|
|
5755
|
+
addWesternElement(path, element, data) {
|
|
5756
|
+
const elementId = `westernElement:${element}`;
|
|
5757
|
+
if (this.nodes.has(elementId)) {
|
|
5758
|
+
return elementId;
|
|
3909
5759
|
}
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
});
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
5760
|
+
this.correspond(path, elementId, "westernElement", data);
|
|
5761
|
+
return elementId;
|
|
5762
|
+
}
|
|
5763
|
+
addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
|
|
5764
|
+
if (this.nodes.has(tarotArkAnnu)) {
|
|
5765
|
+
return tarotArkAnnu;
|
|
5766
|
+
}
|
|
5767
|
+
this.correspond(sphereOrPath, tarotArkAnnu, "tarotArkAnnu", data);
|
|
5768
|
+
const numberId = `num:${relatedNumber}`;
|
|
5769
|
+
if (!this.nodes.has(numberId)) {
|
|
5770
|
+
this.addNode({ id: numberId, type: "number" });
|
|
5771
|
+
}
|
|
5772
|
+
this.link(tarotArkAnnu, numberId);
|
|
5773
|
+
if (suit) {
|
|
5774
|
+
this.link(tarotArkAnnu, `suit:${suit}`);
|
|
5775
|
+
}
|
|
5776
|
+
return tarotArkAnnu;
|
|
5777
|
+
}
|
|
5778
|
+
addTarotSuit(suit, relatedElement) {
|
|
5779
|
+
const suitId = `suit:${suit}`;
|
|
5780
|
+
if (this.nodes.has(suitId)) {
|
|
5781
|
+
return suitId;
|
|
5782
|
+
}
|
|
5783
|
+
this.addNode({ id: suitId, type: "tarotSuit" });
|
|
5784
|
+
const elementId = `westernElement:${relatedElement}`;
|
|
5785
|
+
if (!this.nodes.has(elementId)) {
|
|
5786
|
+
this.addNode({ id: elementId, type: "westernElement" });
|
|
5787
|
+
}
|
|
5788
|
+
this.link(suitId, `westernElement:${relatedElement}`);
|
|
5789
|
+
return suitId;
|
|
5790
|
+
}
|
|
5791
|
+
};
|
|
5792
|
+
|
|
5793
|
+
// src/core/factory.ts
|
|
5794
|
+
function createTree(opts = {
|
|
5795
|
+
system: "kaabalah",
|
|
5796
|
+
parts: []
|
|
5797
|
+
}) {
|
|
5798
|
+
const tree = new TreeOfLife();
|
|
5799
|
+
tree.loadSystem(opts.system);
|
|
5800
|
+
for (const part of opts.parts || []) {
|
|
5801
|
+
tree.loadPart(part);
|
|
5802
|
+
}
|
|
5803
|
+
return tree;
|
|
5804
|
+
}
|
|
5805
|
+
|
|
5806
|
+
// src/gematria/index.ts
|
|
3950
5807
|
var reduceToSingleDigitWithSteps = (num) => {
|
|
3951
5808
|
const steps = [num];
|
|
3952
5809
|
let currentNum = num;
|
|
@@ -3962,42 +5819,52 @@ var reduceToSingleDigitWithSteps = (num) => {
|
|
|
3962
5819
|
var isVowel = (letter) => {
|
|
3963
5820
|
return ["A", "\xC3", "E", "I", "O", "U", "Y", "W"].includes(letter);
|
|
3964
5821
|
};
|
|
3965
|
-
var calculateGematria = (word) => {
|
|
5822
|
+
var calculateGematria = (word, options = {}, tree) => {
|
|
5823
|
+
if (tree && tree.activeSystem !== SYSTEM2) {
|
|
5824
|
+
throw new Error(`Gematria calculations require the ${SYSTEM2} system to be loaded`);
|
|
5825
|
+
}
|
|
5826
|
+
if (!tree) {
|
|
5827
|
+
tree = createTree({ system: SYSTEM2, parts: [] });
|
|
5828
|
+
}
|
|
5829
|
+
const includedLetters = /* @__PURE__ */ new Map();
|
|
3966
5830
|
const letters = word.toUpperCase().split("");
|
|
3967
5831
|
let vowelsSum = 0;
|
|
3968
5832
|
let consonantsSum = 0;
|
|
3969
5833
|
const presentGematriaNumbers = /* @__PURE__ */ new Set();
|
|
3970
5834
|
for (let i = 0; i < letters.length; i++) {
|
|
3971
|
-
const letter = letters[i];
|
|
3972
|
-
const nextLetter = letters[i + 1] || "";
|
|
5835
|
+
const letter = letters[i].toLocaleUpperCase();
|
|
5836
|
+
const nextLetter = letters[i + 1]?.toLocaleLowerCase() || "";
|
|
3973
5837
|
if (["P", "T", "K", "S", "C"].includes(letter) && nextLetter) {
|
|
3974
|
-
const combinedLetter =
|
|
5838
|
+
const combinedLetter = letter + nextLetter;
|
|
3975
5839
|
const isEnding2 = i > 0 && i === letters.length - 2;
|
|
3976
|
-
const mapping2 =
|
|
3977
|
-
if (mapping2) {
|
|
3978
|
-
let value = mapping2.
|
|
3979
|
-
if (isEnding2 && mapping2.
|
|
3980
|
-
value = mapping2.
|
|
5840
|
+
const [mapping2] = tree.walk(`letter:${combinedLetter}`, 2, "hebrewLetter");
|
|
5841
|
+
if (mapping2?.data) {
|
|
5842
|
+
let value = mapping2.data.gematriaValue;
|
|
5843
|
+
if (isEnding2 && mapping2.data.gematriaValueWhenEnding !== void 0) {
|
|
5844
|
+
value = mapping2.data.gematriaValueWhenEnding;
|
|
3981
5845
|
}
|
|
3982
5846
|
presentGematriaNumbers.add(value);
|
|
5847
|
+
includedLetters.set(mapping2.id, { letter: combinedLetter, value, hebrewLetter: mapping2.data, isVowel: isVowel(letter) });
|
|
3983
5848
|
consonantsSum += value;
|
|
3984
5849
|
i++;
|
|
3985
5850
|
continue;
|
|
3986
5851
|
}
|
|
3987
5852
|
}
|
|
3988
5853
|
let mapping;
|
|
3989
|
-
|
|
3990
|
-
|
|
5854
|
+
const isStarting = i === 0;
|
|
5855
|
+
if (isStarting && letter === "O") {
|
|
5856
|
+
mapping = tree.getNode(`letter:${HEBREW_LETTERS.AIN}`);
|
|
3991
5857
|
} else {
|
|
3992
|
-
mapping =
|
|
5858
|
+
mapping = tree.walk(`letter:${letter}`, 2, "hebrewLetter").at(0);
|
|
3993
5859
|
}
|
|
3994
5860
|
const isEnding = i > 0 && i === letters.length - 1;
|
|
3995
|
-
if (mapping) {
|
|
3996
|
-
let value = mapping.
|
|
3997
|
-
if (isEnding && mapping.
|
|
3998
|
-
value = mapping.
|
|
5861
|
+
if (mapping?.data) {
|
|
5862
|
+
let value = mapping.data.gematriaValue;
|
|
5863
|
+
if (isEnding && mapping.data.gematriaValueWhenEnding !== void 0) {
|
|
5864
|
+
value = mapping.data.gematriaValueWhenEnding;
|
|
3999
5865
|
}
|
|
4000
5866
|
presentGematriaNumbers.add(value);
|
|
5867
|
+
includedLetters.set(mapping.id, { letter, value, hebrewLetter: mapping.data, isVowel: isVowel(letter) });
|
|
4001
5868
|
if (isVowel(letter)) {
|
|
4002
5869
|
vowelsSum += value;
|
|
4003
5870
|
} else {
|
|
@@ -4011,15 +5878,48 @@ var calculateGematria = (word) => {
|
|
|
4011
5878
|
vowelsSum + consonantsSum
|
|
4012
5879
|
);
|
|
4013
5880
|
const missingGematriaNumbers = [];
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
}
|
|
5881
|
+
if (options?.calculateMissingGematriaNumbers) {
|
|
5882
|
+
for (const hebrewLetter of Object.values(HEBREW_LETTERS)) {
|
|
5883
|
+
const hebrewLetterNode = tree.getNode(`letter:${hebrewLetter}`);
|
|
5884
|
+
if (!hebrewLetterNode?.data) {
|
|
5885
|
+
continue;
|
|
5886
|
+
}
|
|
5887
|
+
if (!presentGematriaNumbers.has(hebrewLetterNode.data.gematriaValue)) {
|
|
5888
|
+
missingGematriaNumbers.push({
|
|
5889
|
+
number: hebrewLetterNode.data.gematriaValue,
|
|
5890
|
+
letter: hebrewLetter
|
|
5891
|
+
});
|
|
5892
|
+
}
|
|
5893
|
+
if (hebrewLetterNode.data.gematriaValueWhenEnding && !presentGematriaNumbers.has(hebrewLetterNode.data.gematriaValueWhenEnding)) {
|
|
5894
|
+
missingGematriaNumbers.push({
|
|
5895
|
+
number: hebrewLetterNode.data.gematriaValueWhenEnding,
|
|
5896
|
+
letter: `${hebrewLetter} (on ending)`
|
|
5897
|
+
});
|
|
5898
|
+
}
|
|
5899
|
+
}
|
|
5900
|
+
missingGematriaNumbers.sort((a, b) => a.number - b.number);
|
|
5901
|
+
}
|
|
5902
|
+
const letterPercentages = {
|
|
5903
|
+
percentageOfVowels: 0,
|
|
5904
|
+
percentageOfConsonants: 0,
|
|
5905
|
+
letters: {}
|
|
5906
|
+
};
|
|
5907
|
+
if (options?.calculateLetterPercentage) {
|
|
5908
|
+
const letterCount = letters.length;
|
|
5909
|
+
let vowelsCount = 0;
|
|
5910
|
+
let consonantsCount = 0;
|
|
5911
|
+
for (const [_, letter] of includedLetters) {
|
|
5912
|
+
const occurrences = letters.filter((l) => l === letter.letter).length;
|
|
5913
|
+
letterPercentages.letters[letter.letter] = occurrences / letterCount * 100;
|
|
5914
|
+
if (letter.isVowel) {
|
|
5915
|
+
vowelsCount += occurrences;
|
|
5916
|
+
} else {
|
|
5917
|
+
consonantsCount += occurrences;
|
|
5918
|
+
}
|
|
4020
5919
|
}
|
|
5920
|
+
letterPercentages.percentageOfVowels = vowelsCount / letterCount * 100;
|
|
5921
|
+
letterPercentages.percentageOfConsonants = consonantsCount / letterCount * 100;
|
|
4021
5922
|
}
|
|
4022
|
-
missingGematriaNumbers.sort((a, b) => a.number - b.number);
|
|
4023
5923
|
return {
|
|
4024
5924
|
vowels: {
|
|
4025
5925
|
originalSum: vowelsSum,
|
|
@@ -4036,7 +5936,9 @@ var calculateGematria = (word) => {
|
|
|
4036
5936
|
reductionSteps: synthesisReduction.steps,
|
|
4037
5937
|
finalValue: synthesisReduction.finalValue
|
|
4038
5938
|
},
|
|
4039
|
-
|
|
5939
|
+
includedLetters,
|
|
5940
|
+
missingGematriaNumbers: options?.calculateMissingGematriaNumbers ? missingGematriaNumbers : void 0,
|
|
5941
|
+
letterPercentages: options?.calculateLetterPercentage ? letterPercentages : void 0
|
|
4040
5942
|
};
|
|
4041
5943
|
};
|
|
4042
5944
|
|
|
@@ -4997,18 +6899,34 @@ async function shuffleTarotDeck(cards, includeInvertedCards = false, shuffleCoun
|
|
|
4997
6899
|
ARKANNUS,
|
|
4998
6900
|
CYCLE_MEANINGS,
|
|
4999
6901
|
CalcFlag,
|
|
6902
|
+
FOUR_WORLDS,
|
|
6903
|
+
HEBREW_LETTERS,
|
|
6904
|
+
HEBREW_LETTERS_DATA,
|
|
5000
6905
|
HouseSystem,
|
|
6906
|
+
LATIN_LETTERS,
|
|
6907
|
+
LURIANIC_PATHS,
|
|
6908
|
+
MELKITZEDEKI_PATHS,
|
|
6909
|
+
PLANETS,
|
|
5001
6910
|
Planet,
|
|
5002
|
-
|
|
6911
|
+
SPHERES,
|
|
6912
|
+
SPHERE_DATA,
|
|
6913
|
+
SYSTEMS,
|
|
6914
|
+
TAROT_ARKANNUS,
|
|
6915
|
+
TAROT_ARKANNUS_DATA,
|
|
6916
|
+
TAROT_SUITS,
|
|
6917
|
+
TreeOfLife,
|
|
6918
|
+
WESTERN_ELEMENTS,
|
|
6919
|
+
WESTERN_ZODIAC_SIGNS,
|
|
6920
|
+
WESTERN_ZODIAC_SIGNS_DATA,
|
|
5003
6921
|
calculateCycles,
|
|
5004
6922
|
calculateGematria,
|
|
5005
6923
|
calculateLifePath,
|
|
5006
6924
|
closeSwissEph,
|
|
6925
|
+
createTree,
|
|
5007
6926
|
formatDegreeMinutes,
|
|
5008
6927
|
getBirthChart,
|
|
5009
6928
|
getSwissEph,
|
|
5010
6929
|
getZodiacPosition,
|
|
5011
|
-
isValidDate,
|
|
5012
6930
|
majorArcana,
|
|
5013
6931
|
shuffleTarotDeck
|
|
5014
6932
|
});
|