kaabalah 6.13.0 → 6.14.0
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/dist/chunk-4PVIDUPI.js +3809 -0
- package/dist/chunk-4PVIDUPI.js.map +1 -0
- package/dist/{chunk-MWHMP3LI.js → chunk-7C7VO76O.js} +437 -7
- package/dist/chunk-7C7VO76O.js.map +1 -0
- package/dist/{chunk-ZE2KPCHT.mjs → chunk-OZUEDZ4U.mjs} +76 -2
- package/dist/chunk-OZUEDZ4U.mjs.map +1 -0
- package/dist/{chunk-V5KXYFHZ.mjs → chunk-QQN54SLY.mjs} +427 -6
- package/dist/chunk-QQN54SLY.mjs.map +1 -0
- package/dist/chunk-WA52P72D.mjs +3781 -0
- package/dist/chunk-WA52P72D.mjs.map +1 -0
- package/dist/{chunk-5PZ7EB2E.js → chunk-XWVT3SI7.js} +77 -1
- package/dist/chunk-XWVT3SI7.js.map +1 -0
- package/dist/cli.js +1881 -13
- package/dist/cli.js.map +1 -1
- package/dist/{data-BXhkIF1M.d.ts → data-BRi5-xg_.d.ts} +9 -1
- package/dist/{data-2Hp_b3BD.d.mts → data-BoQrkrWX.d.mts} +9 -1
- package/dist/iching/index.d.mts +6 -1
- package/dist/iching/index.d.ts +6 -1
- package/dist/iching/index.js +42 -34
- package/dist/iching/index.mjs +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +141 -77
- package/dist/index.mjs +3 -3
- package/dist/semantic/index.d.mts +209 -2
- package/dist/semantic/index.d.ts +209 -2
- package/dist/semantic/index.js +57 -21
- package/dist/semantic/index.mjs +2 -2
- package/dist/tarot/index.d.mts +58 -3
- package/dist/tarot/index.d.ts +58 -3
- package/dist/tarot/index.js +43 -23
- package/dist/tarot/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5PZ7EB2E.js.map +0 -1
- package/dist/chunk-GET23WEG.js +0 -2678
- package/dist/chunk-GET23WEG.js.map +0 -1
- package/dist/chunk-MWHMP3LI.js.map +0 -1
- package/dist/chunk-V5KXYFHZ.mjs.map +0 -1
- package/dist/chunk-WER5UY5M.mjs +0 -2655
- package/dist/chunk-WER5UY5M.mjs.map +0 -1
- package/dist/chunk-ZE2KPCHT.mjs.map +0 -1
package/dist/chunk-GET23WEG.js
DELETED
|
@@ -1,2678 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk47BAJUYW_js = require('./chunk-47BAJUYW.js');
|
|
4
|
-
var chunkQ7YAKPBH_js = require('./chunk-Q7YAKPBH.js');
|
|
5
|
-
|
|
6
|
-
// src/tarot/data.ts
|
|
7
|
-
var DEFAULT_TAROT_TREE_ID = "kaabalah";
|
|
8
|
-
var TAROT_TREE_IDS = [
|
|
9
|
-
"kaabalah",
|
|
10
|
-
"hermetic-qabalah",
|
|
11
|
-
"lurianic-kabbalah"
|
|
12
|
-
];
|
|
13
|
-
var majorArcana = [
|
|
14
|
-
"01_the_magician",
|
|
15
|
-
"02_the_high_priestess",
|
|
16
|
-
"03_the_empress",
|
|
17
|
-
"04_the_emperor",
|
|
18
|
-
"05_the_hierophant",
|
|
19
|
-
"06_the_lover",
|
|
20
|
-
"07_the_chariot",
|
|
21
|
-
"08_justice",
|
|
22
|
-
"09_the_hermit",
|
|
23
|
-
"10_the_wheel_of_fortune",
|
|
24
|
-
"11_strength",
|
|
25
|
-
"12_the_hanged_man",
|
|
26
|
-
"13_death",
|
|
27
|
-
"14_temperance",
|
|
28
|
-
"15_the_devil",
|
|
29
|
-
"16_the_house_of_god",
|
|
30
|
-
"17_the_star",
|
|
31
|
-
"18_the_moon",
|
|
32
|
-
"19_the_sun",
|
|
33
|
-
"20_judgement",
|
|
34
|
-
"21_the_fool",
|
|
35
|
-
"22_the_world"
|
|
36
|
-
];
|
|
37
|
-
var RAW_ARKANNUS = [
|
|
38
|
-
// Major Arcana (1-22)
|
|
39
|
-
{
|
|
40
|
-
number: 1,
|
|
41
|
-
tarotCard: "The Magician",
|
|
42
|
-
tarotCardFilename: "01_the_magician",
|
|
43
|
-
meaning: "Abracadabra, the power to create reality through voice",
|
|
44
|
-
papusMeaning: "Male inquirer.",
|
|
45
|
-
type: "major",
|
|
46
|
-
deck: "mythic"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
number: 2,
|
|
50
|
-
tarotCard: "The High Priestess",
|
|
51
|
-
tarotCardFilename: "02_the_high_priestess",
|
|
52
|
-
meaning: "Intuition, the power to rewrite your book of life improving your life every instant",
|
|
53
|
-
papusMeaning: "Female inquirer.",
|
|
54
|
-
type: "major",
|
|
55
|
-
deck: "mythic"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
number: 3,
|
|
59
|
-
tarotCard: "The Empress",
|
|
60
|
-
tarotCardFilename: "03_the_empress",
|
|
61
|
-
meaning: "Adaptation, the power to geometrize through emotions",
|
|
62
|
-
papusMeaning: "Action. Initiative.",
|
|
63
|
-
type: "major",
|
|
64
|
-
deck: "mythic"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
number: 4,
|
|
68
|
-
tarotCard: "The Emperor",
|
|
69
|
-
tarotCardFilename: "04_the_emperor",
|
|
70
|
-
meaning: "Authority, the power to mark your territory with the sacred fire",
|
|
71
|
-
papusMeaning: "Will.",
|
|
72
|
-
type: "major",
|
|
73
|
-
deck: "mythic"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
number: 5,
|
|
77
|
-
tarotCard: "The Hierophant",
|
|
78
|
-
tarotCardFilename: "05_the_hierophant",
|
|
79
|
-
meaning: "Magnetism, the power to ritualize life and circulate the quintessence",
|
|
80
|
-
papusMeaning: "Inspiration.",
|
|
81
|
-
type: "major",
|
|
82
|
-
deck: "mythic"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
number: 6,
|
|
86
|
-
tarotCard: "The Lover",
|
|
87
|
-
tarotCardFilename: "06_the_lover",
|
|
88
|
-
meaning: "Dichotomy, stay on the middle path by being neither a victim nor a villain",
|
|
89
|
-
papusMeaning: "Love.",
|
|
90
|
-
type: "major",
|
|
91
|
-
deck: "mythic"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
number: 7,
|
|
95
|
-
tarotCard: "The Chariot",
|
|
96
|
-
tarotCardFilename: "07_the_chariot",
|
|
97
|
-
meaning: "Merkaabah, take control and build your merkaabah (mind vehicle)",
|
|
98
|
-
papusMeaning: "Triumph. Providential protection.",
|
|
99
|
-
type: "major",
|
|
100
|
-
deck: "mythic"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
number: 8,
|
|
104
|
-
tarotCard: "Justice",
|
|
105
|
-
tarotCardFilename: "08_justice",
|
|
106
|
-
meaning: "Justice, be just with yourself to be just with others",
|
|
107
|
-
papusMeaning: "Justice.",
|
|
108
|
-
type: "major",
|
|
109
|
-
deck: "mythic"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
number: 9,
|
|
113
|
-
tarotCard: "The Hermit",
|
|
114
|
-
tarotCardFilename: "09_the_hermit",
|
|
115
|
-
meaning: "Introspection, seek within, retreat",
|
|
116
|
-
papusMeaning: "Prudence.",
|
|
117
|
-
type: "major",
|
|
118
|
-
deck: "mythic"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
number: 10,
|
|
122
|
-
tarotCard: "The Wheel of Fortune",
|
|
123
|
-
tarotCardFilename: "10_the_wheel_of_fortune",
|
|
124
|
-
meaning: "Loops, extroversion, break the great wheel and ascend, seek externally",
|
|
125
|
-
papusMeaning: "Fortune. Destiny.",
|
|
126
|
-
type: "major",
|
|
127
|
-
deck: "mythic"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
number: 11,
|
|
131
|
-
tarotCard: "Strength",
|
|
132
|
-
tarotCardFilename: "11_strength",
|
|
133
|
-
meaning: "The strength of your subconscious, unity brings strength",
|
|
134
|
-
papusMeaning: "Strength. Fortitude.",
|
|
135
|
-
type: "major",
|
|
136
|
-
deck: "mythic"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
number: 12,
|
|
140
|
-
tarotCard: "The Hanged Man",
|
|
141
|
-
tarotCardFilename: "12_the_hanged_man",
|
|
142
|
-
meaning: "Make valid sacrifices, adopt a new perspective",
|
|
143
|
-
papusMeaning: "Trials. Sacrifice.",
|
|
144
|
-
type: "major",
|
|
145
|
-
deck: "mythic"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
number: 13,
|
|
149
|
-
tarotCard: "Death",
|
|
150
|
-
tarotCardFilename: "13_death",
|
|
151
|
-
meaning: "Death, renovation, kill that which kills your soul",
|
|
152
|
-
papusMeaning: "Death.",
|
|
153
|
-
type: "major",
|
|
154
|
-
deck: "mythic"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
number: 14,
|
|
158
|
-
tarotCard: "Temperance",
|
|
159
|
-
tarotCardFilename: "14_temperance",
|
|
160
|
-
meaning: "Balance, harmonize differences",
|
|
161
|
-
papusMeaning: "Temperance. Economy.",
|
|
162
|
-
type: "major",
|
|
163
|
-
deck: "mythic"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
number: 15,
|
|
167
|
-
tarotCard: "The Devil",
|
|
168
|
-
tarotCardFilename: "15_the_devil",
|
|
169
|
-
meaning: "Indecision between vice and virtue, transmute weakness and passions into strengths",
|
|
170
|
-
papusMeaning: "Immense force. Illness.",
|
|
171
|
-
type: "major",
|
|
172
|
-
deck: "mythic"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
number: 16,
|
|
176
|
-
tarotCard: "The Tower",
|
|
177
|
-
tarotCardFilename: "16_the_house_of_god",
|
|
178
|
-
meaning: "Separation, destruction, separate from what's harmful and connect with what's helpful, make room for the new",
|
|
179
|
-
papusMeaning: "Ruin. Deception.",
|
|
180
|
-
type: "major",
|
|
181
|
-
deck: "mythic"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
number: 17,
|
|
185
|
-
tarotCard: "The Star",
|
|
186
|
-
tarotCardFilename: "17_the_star",
|
|
187
|
-
meaning: "Fecundation, ecology, ecstasy, hope, renew yourself to maintain health, act according to your spiritual purpose",
|
|
188
|
-
papusMeaning: "Hope.",
|
|
189
|
-
type: "major",
|
|
190
|
-
deck: "mythic"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
number: 18,
|
|
194
|
-
tarotCard: "The Moon",
|
|
195
|
-
tarotCardFilename: "18_the_moon",
|
|
196
|
-
meaning: "Hidden enemies, be vigilant, recognize where you're self sabotaging",
|
|
197
|
-
papusMeaning: "Hidden enemies. Danger.",
|
|
198
|
-
type: "major",
|
|
199
|
-
deck: "mythic"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
number: 19,
|
|
203
|
-
tarotCard: "The Sun",
|
|
204
|
-
tarotCardFilename: "19_the_sun",
|
|
205
|
-
meaning: "Be conscious of your alchemical band, transmute money into knowledge and vice versa",
|
|
206
|
-
papusMeaning: "Material happiness. Lucky marriage.",
|
|
207
|
-
type: "major",
|
|
208
|
-
deck: "mythic"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
number: 20,
|
|
212
|
-
tarotCard: "Judgment",
|
|
213
|
-
tarotCardFilename: "20_judgement",
|
|
214
|
-
meaning: "Make retrospectives and learn from mistakes and successes",
|
|
215
|
-
papusMeaning: "Change of position.",
|
|
216
|
-
type: "major",
|
|
217
|
-
deck: "mythic"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
number: 21,
|
|
221
|
-
tarotCard: "The Fool",
|
|
222
|
-
tarotCardFilename: "21_the_fool",
|
|
223
|
-
meaning: "Stop walking in circles, create connections of knowledge",
|
|
224
|
-
papusMeaning: "Inconsiderate actions. Madness.",
|
|
225
|
-
type: "major",
|
|
226
|
-
deck: "mythic"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
number: 22,
|
|
230
|
-
tarotCard: "The World",
|
|
231
|
-
tarotCardFilename: "22_the_world",
|
|
232
|
-
meaning: "Win the world, start acting on the world of causes",
|
|
233
|
-
papusMeaning: "Assured success.",
|
|
234
|
-
type: "major",
|
|
235
|
-
deck: "mythic"
|
|
236
|
-
},
|
|
237
|
-
// Da'at Royalship - Wands (23-26)
|
|
238
|
-
{
|
|
239
|
-
number: 23,
|
|
240
|
-
tarotCard: "King of Wands",
|
|
241
|
-
tarotCardFilename: "king_wands",
|
|
242
|
-
egyptianCardName: "The Laborer",
|
|
243
|
-
meaning: "Get's the best out of every one, Idealism, Magnanimity",
|
|
244
|
-
papusMeaning: "A dark man, a friend. He generally represents a married man, the father of a family.",
|
|
245
|
-
type: "daat+royalship",
|
|
246
|
-
deck: "egyptian",
|
|
247
|
-
suit: "wands"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
number: 24,
|
|
251
|
-
tarotCard: "Queen of Wands",
|
|
252
|
-
tarotCardFilename: "queen_wands",
|
|
253
|
-
egyptianCardName: "The Weaver",
|
|
254
|
-
meaning: "Hold the line while the king goes to work, Preserve what was conquered",
|
|
255
|
-
papusMeaning: "A dark woman, a friend. Represents a serious woman, a very good counsellor, often the mother of a family.",
|
|
256
|
-
type: "daat+royalship",
|
|
257
|
-
deck: "egyptian",
|
|
258
|
-
suit: "wands"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
number: 25,
|
|
262
|
-
tarotCard: "Knight of Wands",
|
|
263
|
-
tarotCardFilename: "knight_wands",
|
|
264
|
-
egyptianCardName: "The Argonaut",
|
|
265
|
-
meaning: "Dreams that become reality",
|
|
266
|
-
papusMeaning: "A dark young man, a friend.",
|
|
267
|
-
type: "daat+royalship",
|
|
268
|
-
deck: "egyptian",
|
|
269
|
-
suit: "wands"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
number: 26,
|
|
273
|
-
tarotCard: "Page of Wands",
|
|
274
|
-
tarotCardFilename: "page_wands",
|
|
275
|
-
egyptianCardName: "The Prodigy",
|
|
276
|
-
meaning: "Don't rush, the precipitations are the doors to failure",
|
|
277
|
-
papusMeaning: "A dark child, a friend. Also represents a message from a near relation.",
|
|
278
|
-
type: "daat+royalship",
|
|
279
|
-
deck: "egyptian",
|
|
280
|
-
suit: "wands"
|
|
281
|
-
},
|
|
282
|
-
// Minor Arcana - Wands (27-36)
|
|
283
|
-
{
|
|
284
|
-
number: 27,
|
|
285
|
-
tarotCard: "Ace of Wands",
|
|
286
|
-
tarotCardFilename: "ace_wands",
|
|
287
|
-
egyptianCardName: "Initiation",
|
|
288
|
-
meaning: "Ignite the flames of ideals, Trust in your inner divinity",
|
|
289
|
-
papusMeaning: "Commencement of an enterprise.",
|
|
290
|
-
type: "minor",
|
|
291
|
-
deck: "egyptian",
|
|
292
|
-
suit: "wands"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
number: 28,
|
|
296
|
-
tarotCard: "Two of Wands",
|
|
297
|
-
tarotCardFilename: "2_wands",
|
|
298
|
-
egyptianCardName: "Desolation",
|
|
299
|
-
meaning: "Formulate a strategy to use your own talents",
|
|
300
|
-
papusMeaning: "Opposition to the commencement of the enterprise. The enterprise is commenced when an unexpected obstacle suddenly prevents its execution.",
|
|
301
|
-
type: "minor",
|
|
302
|
-
deck: "egyptian",
|
|
303
|
-
suit: "wands"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
number: 29,
|
|
307
|
-
tarotCard: "Three of Wands",
|
|
308
|
-
tarotCardFilename: "3_wands",
|
|
309
|
-
egyptianCardName: "Innovation",
|
|
310
|
-
meaning: "Keep going despite losing something apparently important",
|
|
311
|
-
papusMeaning: "Realization of the commencement of the enterprise. The basis of the work is now definitely established, and the undertaking can be fearlessly continued.",
|
|
312
|
-
type: "minor",
|
|
313
|
-
deck: "egyptian",
|
|
314
|
-
suit: "wands"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
number: 30,
|
|
318
|
-
tarotCard: "Four of Wands",
|
|
319
|
-
tarotCardFilename: "4_wands",
|
|
320
|
-
egyptianCardName: "Alliance",
|
|
321
|
-
meaning: "Work in teams",
|
|
322
|
-
papusMeaning: "Obstacles to the enterprise.",
|
|
323
|
-
type: "minor",
|
|
324
|
-
deck: "egyptian",
|
|
325
|
-
suit: "wands"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
number: 31,
|
|
329
|
-
tarotCard: "Five of Wands",
|
|
330
|
-
tarotCardFilename: "5_wands",
|
|
331
|
-
egyptianCardName: "Magnificence",
|
|
332
|
-
meaning: "Strengthen the root chakra, overcome internal fears",
|
|
333
|
-
papusMeaning: "Opposition to the obstacles. Victory after surmounting them.",
|
|
334
|
-
type: "minor",
|
|
335
|
-
deck: "egyptian",
|
|
336
|
-
suit: "wands"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
number: 32,
|
|
340
|
-
tarotCard: "Six of Wands",
|
|
341
|
-
tarotCardFilename: "6_wands",
|
|
342
|
-
egyptianCardName: "Impediment",
|
|
343
|
-
meaning: "External victory, internal lack of internal self realization",
|
|
344
|
-
papusMeaning: "Realization of the opposition. At last the obstacles succeed. Failure of the enterprise in the midst of its execution.",
|
|
345
|
-
type: "minor",
|
|
346
|
-
deck: "egyptian",
|
|
347
|
-
suit: "wands"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
number: 33,
|
|
351
|
-
tarotCard: "Seven of Wands",
|
|
352
|
-
tarotCardFilename: "7_wands",
|
|
353
|
-
egyptianCardName: "Exchange",
|
|
354
|
-
meaning: "Face competitors in an ethical and loyal way",
|
|
355
|
-
papusMeaning: "Certain success to the enterprise.",
|
|
356
|
-
type: "minor",
|
|
357
|
-
deck: "egyptian",
|
|
358
|
-
suit: "wands"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
number: 34,
|
|
362
|
-
tarotCard: "Eight of Wands",
|
|
363
|
-
tarotCardFilename: "8_wands",
|
|
364
|
-
egyptianCardName: "Domesticity",
|
|
365
|
-
meaning: "Travel to the center of peace and intelligence",
|
|
366
|
-
papusMeaning: "Opposition to its success. The enterprise will only partially succeed.",
|
|
367
|
-
type: "minor",
|
|
368
|
-
deck: "egyptian",
|
|
369
|
-
suit: "wands"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
number: 35,
|
|
373
|
-
tarotCard: "Nine of Wands",
|
|
374
|
-
tarotCardFilename: "9_wands",
|
|
375
|
-
egyptianCardName: "Uncertainty",
|
|
376
|
-
meaning: "Obstacle that precedes total victory, gather hidden forces",
|
|
377
|
-
papusMeaning: "Realization of success. Success is continued.",
|
|
378
|
-
type: "minor",
|
|
379
|
-
deck: "egyptian",
|
|
380
|
-
suit: "wands"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
number: 36,
|
|
384
|
-
tarotCard: "Ten of Wands",
|
|
385
|
-
tarotCardFilename: "10_wands",
|
|
386
|
-
egyptianCardName: "The Unexpected",
|
|
387
|
-
meaning: "Get out of apathy, create a new tree of life using the Lightning Path",
|
|
388
|
-
papusMeaning: "Uncertainty in the management of the enterprise.",
|
|
389
|
-
type: "minor",
|
|
390
|
-
deck: "egyptian",
|
|
391
|
-
suit: "wands"
|
|
392
|
-
},
|
|
393
|
-
// Da'at Royalship - Cups (37-40)
|
|
394
|
-
{
|
|
395
|
-
number: 37,
|
|
396
|
-
tarotCard: "King of Cups",
|
|
397
|
-
tarotCardFilename: "king_cups",
|
|
398
|
-
egyptianCardName: "Art and Science",
|
|
399
|
-
meaning: "Stop hurting yourself (related to The Lover), heals everyone and forgets about yourself, balm for your own wound",
|
|
400
|
-
papusMeaning: "A fair man, a friend. This card also represents a barrister, judge, or ecclesiastic. It symbolizes a bachelor.",
|
|
401
|
-
type: "daat+royalship",
|
|
402
|
-
deck: "egyptian",
|
|
403
|
-
suit: "cups"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
number: 38,
|
|
407
|
-
tarotCard: "Queen of Cups",
|
|
408
|
-
tarotCardFilename: "queen_cups",
|
|
409
|
-
egyptianCardName: "Duplicity",
|
|
410
|
-
meaning: "Work with subtlety, positive challenges",
|
|
411
|
-
papusMeaning: "A fair woman, a friend. The woman loved. The mistress.",
|
|
412
|
-
type: "daat+royalship",
|
|
413
|
-
deck: "egyptian",
|
|
414
|
-
suit: "cups"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
number: 39,
|
|
418
|
-
tarotCard: "Knight of Cups",
|
|
419
|
-
tarotCardFilename: "knight_cups",
|
|
420
|
-
egyptianCardName: "Testimony",
|
|
421
|
-
meaning: "Alternative healing",
|
|
422
|
-
papusMeaning: "A young fair man, a friend. The young man loved. The lover.",
|
|
423
|
-
type: "daat+royalship",
|
|
424
|
-
deck: "egyptian",
|
|
425
|
-
suit: "cups"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
number: 40,
|
|
429
|
-
tarotCard: "Page of Cups",
|
|
430
|
-
tarotCardFilename: "page_cups",
|
|
431
|
-
egyptianCardName: "Premonition",
|
|
432
|
-
meaning: "Increase of self-esteem, emotional courage",
|
|
433
|
-
papusMeaning: "A fair child. A messenger. Birth.",
|
|
434
|
-
type: "daat+royalship",
|
|
435
|
-
deck: "egyptian",
|
|
436
|
-
suit: "cups"
|
|
437
|
-
},
|
|
438
|
-
// Minor Arcana - Cups (41-50)
|
|
439
|
-
{
|
|
440
|
-
number: 41,
|
|
441
|
-
tarotCard: "Ace of Cups",
|
|
442
|
-
tarotCardFilename: "ace_cups",
|
|
443
|
-
egyptianCardName: "Attraction",
|
|
444
|
-
meaning: "Renewal or new affection, alternative treatment for health",
|
|
445
|
-
papusMeaning: "Commencement of a love affair.",
|
|
446
|
-
type: "minor",
|
|
447
|
-
deck: "egyptian",
|
|
448
|
-
suit: "cups"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
number: 42,
|
|
452
|
-
tarotCard: "Two of Cups",
|
|
453
|
-
tarotCardFilename: "2_cups",
|
|
454
|
-
egyptianCardName: "Versatility",
|
|
455
|
-
meaning: "Do not poison yourself or the other person",
|
|
456
|
-
papusMeaning: "Opposition to this commencement. Unimportant obstacles raised by one of the lovers.",
|
|
457
|
-
type: "minor",
|
|
458
|
-
deck: "egyptian",
|
|
459
|
-
suit: "cups"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
number: 43,
|
|
463
|
-
tarotCard: "Three of Cups",
|
|
464
|
-
tarotCardFilename: "3_cups",
|
|
465
|
-
egyptianCardName: "Consummation",
|
|
466
|
-
meaning: "Harmony between instinct and emotion, Be discreet",
|
|
467
|
-
papusMeaning: "Realization of this commencement. The love is mutual.",
|
|
468
|
-
type: "minor",
|
|
469
|
-
deck: "egyptian",
|
|
470
|
-
suit: "cups"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
number: 44,
|
|
474
|
-
tarotCard: "Four of Cups",
|
|
475
|
-
tarotCardFilename: "4_cups",
|
|
476
|
-
egyptianCardName: "Conjecture",
|
|
477
|
-
meaning: "Abundance in emotional life, do not listen to slander",
|
|
478
|
-
papusMeaning: "Serious obstacles to the love. They arise from other persons, not from the lovers.",
|
|
479
|
-
type: "minor",
|
|
480
|
-
deck: "egyptian",
|
|
481
|
-
suit: "cups"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
number: 45,
|
|
485
|
-
tarotCard: "Five of Cups",
|
|
486
|
-
tarotCardFilename: "5_cups",
|
|
487
|
-
egyptianCardName: "Patrimony",
|
|
488
|
-
meaning: "Do not break your spiritual commitment (your purpose)",
|
|
489
|
-
papusMeaning: "Opposition to the obstacles. Victory over the obstacles after a struggle.",
|
|
490
|
-
type: "minor",
|
|
491
|
-
deck: "egyptian",
|
|
492
|
-
suit: "cups"
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
number: 46,
|
|
496
|
-
tarotCard: "Six of Cups",
|
|
497
|
-
tarotCardFilename: "6_cups",
|
|
498
|
-
egyptianCardName: "Regeneration",
|
|
499
|
-
meaning: "Do not have self-pity",
|
|
500
|
-
papusMeaning: "The obstacles triumph. Love destroyed in the midst of happiness. Widowhood.",
|
|
501
|
-
type: "minor",
|
|
502
|
-
deck: "egyptian",
|
|
503
|
-
suit: "cups"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
number: 47,
|
|
507
|
-
tarotCard: "Seven of Cups",
|
|
508
|
-
tarotCardFilename: "7_cups",
|
|
509
|
-
egyptianCardName: "Expressiveness",
|
|
510
|
-
meaning: "Gestations, related to The Star",
|
|
511
|
-
papusMeaning: "Success assured to the lovers.",
|
|
512
|
-
type: "minor",
|
|
513
|
-
deck: "egyptian",
|
|
514
|
-
suit: "cups"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
number: 48,
|
|
518
|
-
tarotCard: "Eight of Cups",
|
|
519
|
-
tarotCardFilename: "8_cups",
|
|
520
|
-
egyptianCardName: "Delusion",
|
|
521
|
-
meaning: "Reflect on your emotional life after 18 hours",
|
|
522
|
-
papusMeaning: "Partial failure of love. Love only partially succeeds.",
|
|
523
|
-
type: "minor",
|
|
524
|
-
deck: "egyptian",
|
|
525
|
-
suit: "cups"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
number: 49,
|
|
529
|
-
tarotCard: "Nine of Cups",
|
|
530
|
-
tarotCardFilename: "9_cups",
|
|
531
|
-
egyptianCardName: "Preeminence",
|
|
532
|
-
meaning: "Reconciliations and forgiveness",
|
|
533
|
-
papusMeaning: "Motherhood.",
|
|
534
|
-
type: "minor",
|
|
535
|
-
deck: "egyptian",
|
|
536
|
-
suit: "cups"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
number: 50,
|
|
540
|
-
tarotCard: "Ten of Cups",
|
|
541
|
-
tarotCardFilename: "10_cups",
|
|
542
|
-
egyptianCardName: "Dissension",
|
|
543
|
-
meaning: "Marriage of the spirit with the soul, Alchemical Weddings",
|
|
544
|
-
papusMeaning: "Uncertainty in the management of the love affair.",
|
|
545
|
-
type: "minor",
|
|
546
|
-
deck: "egyptian",
|
|
547
|
-
suit: "cups"
|
|
548
|
-
},
|
|
549
|
-
// Da'at Royalship - Swords (51-54)
|
|
550
|
-
{
|
|
551
|
-
number: 51,
|
|
552
|
-
tarotCard: "King of Swords",
|
|
553
|
-
tarotCardFilename: "king_swords",
|
|
554
|
-
egyptianCardName: "Advice",
|
|
555
|
-
meaning: "Actions of victorious strategies",
|
|
556
|
-
papusMeaning: "A dark, bad man. He is a soldier, a powerful enemy, who must be distrusted.",
|
|
557
|
-
type: "daat+royalship",
|
|
558
|
-
deck: "egyptian",
|
|
559
|
-
suit: "swords"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
number: 52,
|
|
563
|
-
tarotCard: "Queen of Swords",
|
|
564
|
-
tarotCardFilename: "queen_swords",
|
|
565
|
-
egyptianCardName: "Premeditation",
|
|
566
|
-
meaning: "Supremacy of the feminine, related to Justice",
|
|
567
|
-
papusMeaning: "A dark wicked woman. The card also indicates her actions, gossip and calumnies.",
|
|
568
|
-
type: "daat+royalship",
|
|
569
|
-
deck: "egyptian",
|
|
570
|
-
suit: "swords"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
number: 53,
|
|
574
|
-
tarotCard: "Knight of Swords",
|
|
575
|
-
tarotCardFilename: "knight_swords",
|
|
576
|
-
egyptianCardName: "Hostility",
|
|
577
|
-
meaning: "Joint victorious actions",
|
|
578
|
-
papusMeaning: "A young, dark man, an enemy. He is also a spy.",
|
|
579
|
-
type: "daat+royalship",
|
|
580
|
-
deck: "egyptian",
|
|
581
|
-
suit: "swords"
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
number: 54,
|
|
585
|
-
tarotCard: "Page of Swords",
|
|
586
|
-
tarotCardFilename: "page_swords",
|
|
587
|
-
egyptianCardName: "Examination",
|
|
588
|
-
meaning: "Follow your intuition",
|
|
589
|
-
papusMeaning: "A child, an enemy. Bad news. Delay.",
|
|
590
|
-
type: "daat+royalship",
|
|
591
|
-
deck: "egyptian",
|
|
592
|
-
suit: "swords"
|
|
593
|
-
},
|
|
594
|
-
// Minor Arcana - Swords (55-64)
|
|
595
|
-
{
|
|
596
|
-
number: 55,
|
|
597
|
-
tarotCard: "Ace of Swords",
|
|
598
|
-
tarotCardFilename: "ace_swords",
|
|
599
|
-
egyptianCardName: "Vehemence",
|
|
600
|
-
meaning: "Conflicts before victory",
|
|
601
|
-
papusMeaning: "Commencement of enmity.",
|
|
602
|
-
type: "minor",
|
|
603
|
-
deck: "egyptian",
|
|
604
|
-
suit: "swords"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
number: 56,
|
|
608
|
-
tarotCard: "Two of Swords",
|
|
609
|
-
tarotCardFilename: "2_swords",
|
|
610
|
-
egyptianCardName: "Communion",
|
|
611
|
-
meaning: "Traumas and conflicts to be overcome",
|
|
612
|
-
papusMeaning: "Opposition to this commencement. The enmity does not last.",
|
|
613
|
-
type: "minor",
|
|
614
|
-
deck: "egyptian",
|
|
615
|
-
suit: "swords"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
number: 57,
|
|
619
|
-
tarotCard: "Three of Swords",
|
|
620
|
-
tarotCardFilename: "3_swords",
|
|
621
|
-
egyptianCardName: "Proscription",
|
|
622
|
-
meaning: "Death of yang, Fire, tendencies to depression",
|
|
623
|
-
papusMeaning: "Realization of the enmity. Hatred.",
|
|
624
|
-
type: "minor",
|
|
625
|
-
deck: "egyptian",
|
|
626
|
-
suit: "swords"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
number: 58,
|
|
630
|
-
tarotCard: "Four of Swords",
|
|
631
|
-
tarotCardFilename: "4_swords",
|
|
632
|
-
egyptianCardName: "Solitude",
|
|
633
|
-
meaning: "Reflection, related to The Hermit",
|
|
634
|
-
papusMeaning: "Opposition to the hatred. Success against the enemy.",
|
|
635
|
-
type: "minor",
|
|
636
|
-
deck: "egyptian",
|
|
637
|
-
suit: "swords"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
number: 59,
|
|
641
|
-
tarotCard: "Five of Swords",
|
|
642
|
-
tarotCardFilename: "5_swords",
|
|
643
|
-
egyptianCardName: "Evolution",
|
|
644
|
-
meaning: "Healthy self-challenge, Self-demands",
|
|
645
|
-
papusMeaning: "Opposition to this opposition. The enemy triumphs at the moment one fancies the victory is secured.",
|
|
646
|
-
type: "minor",
|
|
647
|
-
deck: "egyptian",
|
|
648
|
-
suit: "swords"
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
number: 60,
|
|
652
|
-
tarotCard: "Six of Swords",
|
|
653
|
-
tarotCardFilename: "6_swords",
|
|
654
|
-
egyptianCardName: "Revelation",
|
|
655
|
-
meaning: "External daily strategies, Future perspectives",
|
|
656
|
-
papusMeaning: "Equilibrium of the opposition. The enemy is rendered powerless at last.",
|
|
657
|
-
type: "minor",
|
|
658
|
-
deck: "egyptian",
|
|
659
|
-
suit: "swords"
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
number: 61,
|
|
663
|
-
tarotCard: "Seven of Swords",
|
|
664
|
-
tarotCardFilename: "7_swords",
|
|
665
|
-
egyptianCardName: "Meditation",
|
|
666
|
-
meaning: "Internal nocturnal strategies, related to The Hermit",
|
|
667
|
-
papusMeaning: "Success assured to the enemy.",
|
|
668
|
-
type: "minor",
|
|
669
|
-
deck: "egyptian",
|
|
670
|
-
suit: "swords"
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
number: 62,
|
|
674
|
-
tarotCard: "Eight of Swords",
|
|
675
|
-
tarotCardFilename: "8_swords",
|
|
676
|
-
egyptianCardName: "Rivalry",
|
|
677
|
-
meaning: "Appeal to superior forces, Internal and external conflicts",
|
|
678
|
-
papusMeaning: "Partial opposition to this success. The enemy only partially triumphs.",
|
|
679
|
-
type: "minor",
|
|
680
|
-
deck: "egyptian",
|
|
681
|
-
suit: "swords"
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
number: 63,
|
|
685
|
-
tarotCard: "Nine of Swords",
|
|
686
|
-
tarotCardFilename: "9_swords",
|
|
687
|
-
egyptianCardName: "Pilgrimage",
|
|
688
|
-
meaning: "The problems being imagined will never happen",
|
|
689
|
-
papusMeaning: "Certain duration of the hatred.",
|
|
690
|
-
type: "minor",
|
|
691
|
-
deck: "egyptian",
|
|
692
|
-
suit: "swords"
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
number: 64,
|
|
696
|
-
tarotCard: "Ten of Swords",
|
|
697
|
-
tarotCardFilename: "10_swords",
|
|
698
|
-
egyptianCardName: "Contrition",
|
|
699
|
-
meaning: "Death and rebirth, related to Death and The Tower",
|
|
700
|
-
papusMeaning: "Uncertainty in the enmity.",
|
|
701
|
-
type: "minor",
|
|
702
|
-
deck: "egyptian",
|
|
703
|
-
suit: "swords"
|
|
704
|
-
},
|
|
705
|
-
// Da'at Royalship - Pentacles (65-68)
|
|
706
|
-
{
|
|
707
|
-
number: 65,
|
|
708
|
-
tarotCard: "King of Pentacles",
|
|
709
|
-
tarotCardFilename: "king_pentacles",
|
|
710
|
-
egyptianCardName: "Apprenticeship",
|
|
711
|
-
meaning: "Turns everything into gold",
|
|
712
|
-
papusMeaning: "A fair man, inimical or indifferent.",
|
|
713
|
-
type: "daat+royalship",
|
|
714
|
-
deck: "egyptian",
|
|
715
|
-
suit: "pentacles"
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
number: 66,
|
|
719
|
-
tarotCard: "Queen of Pentacles",
|
|
720
|
-
tarotCardFilename: "queen_pentacles",
|
|
721
|
-
egyptianCardName: "Perplexity",
|
|
722
|
-
meaning: "Act with diplomacy",
|
|
723
|
-
papusMeaning: "A fair woman, indifferent, or inimical.",
|
|
724
|
-
type: "daat+royalship",
|
|
725
|
-
deck: "egyptian",
|
|
726
|
-
suit: "pentacles"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
number: 67,
|
|
730
|
-
tarotCard: "Knight of Pentacles",
|
|
731
|
-
tarotCardFilename: "knight_pentacles",
|
|
732
|
-
egyptianCardName: "Veneration",
|
|
733
|
-
meaning: "Invest into new things",
|
|
734
|
-
papusMeaning: "A young, fair man. A stranger. An arrival.",
|
|
735
|
-
type: "daat+royalship",
|
|
736
|
-
deck: "egyptian",
|
|
737
|
-
suit: "pentacles"
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
number: 68,
|
|
741
|
-
tarotCard: "Page of Pentacles",
|
|
742
|
-
tarotCardFilename: "page_pentacles",
|
|
743
|
-
egyptianCardName: "Speculation",
|
|
744
|
-
meaning: "Prudence in the material life",
|
|
745
|
-
papusMeaning: "A fair child. A messenger. A letter.",
|
|
746
|
-
type: "daat+royalship",
|
|
747
|
-
deck: "egyptian",
|
|
748
|
-
suit: "pentacles"
|
|
749
|
-
},
|
|
750
|
-
// Minor Arcana - Pentacles (69-78)
|
|
751
|
-
{
|
|
752
|
-
number: 69,
|
|
753
|
-
tarotCard: "Ace of Pentacles",
|
|
754
|
-
tarotCardFilename: "ace_pentacles",
|
|
755
|
-
egyptianCardName: "Rebirth",
|
|
756
|
-
meaning: "Rebirth through a single material goal, Form clear material goals",
|
|
757
|
-
papusMeaning: "Commencement of fortune. Inheritance. Gifts. Economy.",
|
|
758
|
-
type: "minor",
|
|
759
|
-
deck: "egyptian",
|
|
760
|
-
suit: "pentacles"
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
number: 70,
|
|
764
|
-
tarotCard: "Two of Pentacles",
|
|
765
|
-
tarotCardFilename: "2_pentacles",
|
|
766
|
-
egyptianCardName: "Confusion",
|
|
767
|
-
meaning: "Light forming shadows, Duality asking for synthesis in the trinity, Don't put all the eggs in the same basket",
|
|
768
|
-
papusMeaning: "Opposition to this commencement. Difficulty in well establishing the first landmarks of good fortune.",
|
|
769
|
-
type: "minor",
|
|
770
|
-
deck: "egyptian",
|
|
771
|
-
suit: "pentacles"
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
number: 71,
|
|
775
|
-
tarotCard: "Three of Pentacles",
|
|
776
|
-
tarotCardFilename: "3_pentacles",
|
|
777
|
-
egyptianCardName: "The Provider",
|
|
778
|
-
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",
|
|
779
|
-
papusMeaning: "Realization of this commencement of fortune. A small sum.",
|
|
780
|
-
type: "minor",
|
|
781
|
-
deck: "egyptian",
|
|
782
|
-
suit: "pentacles"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
number: 72,
|
|
786
|
-
tarotCard: "Four of Pentacles",
|
|
787
|
-
tarotCardFilename: "4_pentacles",
|
|
788
|
-
egyptianCardName: "Generosity",
|
|
789
|
-
meaning: "Avoid avarice / greed",
|
|
790
|
-
papusMeaning: "Opposition of fortune. Loss of money.",
|
|
791
|
-
type: "minor",
|
|
792
|
-
deck: "egyptian",
|
|
793
|
-
suit: "pentacles"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
number: 73,
|
|
797
|
-
tarotCard: "Five of Pentacles",
|
|
798
|
-
tarotCardFilename: "5_pentacles",
|
|
799
|
-
egyptianCardName: "Offering",
|
|
800
|
-
meaning: "Only order will bring progress, Do not kick the barn without having something concrete in front of you",
|
|
801
|
-
papusMeaning: "Opposition to this opposition. A success coming which will balance the low.",
|
|
802
|
-
type: "minor",
|
|
803
|
-
deck: "egyptian",
|
|
804
|
-
suit: "pentacles"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
number: 74,
|
|
808
|
-
tarotCard: "Six of Pentacles",
|
|
809
|
-
tarotCardFilename: "6_pentacles",
|
|
810
|
-
egyptianCardName: "Love and Desire",
|
|
811
|
-
meaning: "Act with prudence",
|
|
812
|
-
papusMeaning: "Realization of the opposition. Ruin.",
|
|
813
|
-
type: "minor",
|
|
814
|
-
deck: "egyptian",
|
|
815
|
-
suit: "pentacles"
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
number: 75,
|
|
819
|
-
tarotCard: "Seven of Pentacles",
|
|
820
|
-
tarotCardFilename: "7_pentacles",
|
|
821
|
-
egyptianCardName: "Purification",
|
|
822
|
-
meaning: "Don't boast about your proposal or project",
|
|
823
|
-
papusMeaning: "Success assured. A large fortune.",
|
|
824
|
-
type: "minor",
|
|
825
|
-
deck: "egyptian",
|
|
826
|
-
suit: "pentacles"
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
number: 76,
|
|
830
|
-
tarotCard: "Eight of Pentacles",
|
|
831
|
-
tarotCardFilename: "8_pentacles",
|
|
832
|
-
egyptianCardName: "Avarice",
|
|
833
|
-
meaning: "Keep doing what you always did",
|
|
834
|
-
papusMeaning: "Partial success. Great loss of money at the moment apparently of definitely securing the fortune.",
|
|
835
|
-
type: "minor",
|
|
836
|
-
deck: "egyptian",
|
|
837
|
-
suit: "pentacles"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
number: 77,
|
|
841
|
-
tarotCard: "Nine of Pentacles",
|
|
842
|
-
tarotCardFilename: "9_pentacles",
|
|
843
|
-
egyptianCardName: "Cooperation",
|
|
844
|
-
meaning: "Work with what you like and earn something with it",
|
|
845
|
-
papusMeaning: "Equilibrium of equilibrium. A durable fortune.",
|
|
846
|
-
type: "minor",
|
|
847
|
-
deck: "egyptian",
|
|
848
|
-
suit: "pentacles"
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
number: 78,
|
|
852
|
-
tarotCard: "Ten of Pentacles",
|
|
853
|
-
tarotCardFilename: "10_pentacles",
|
|
854
|
-
egyptianCardName: "The Unforeseen",
|
|
855
|
-
meaning: "Prosperity, Prosperous inheritance",
|
|
856
|
-
papusMeaning: "Uncertainty in the fortune. Great success and great reverses.",
|
|
857
|
-
type: "minor",
|
|
858
|
-
deck: "egyptian",
|
|
859
|
-
suit: "pentacles"
|
|
860
|
-
}
|
|
861
|
-
];
|
|
862
|
-
var TAROT_DECK_METADATA = [
|
|
863
|
-
{
|
|
864
|
-
id: "papus_pt",
|
|
865
|
-
label: "Papus Kaabalistic",
|
|
866
|
-
descriptiveDataKey: "PAPUS_KAABALISTIC"
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
id: "papus",
|
|
870
|
-
label: "Papus Divinatory",
|
|
871
|
-
descriptiveDataKey: "PAPUS_DIVINATORY"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
id: "mythic",
|
|
875
|
-
label: "Mythic"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
id: "egyptian",
|
|
879
|
-
label: "Egyptian",
|
|
880
|
-
descriptiveDataKey: "KIER_EGYPTIAN"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
id: "rider-waite",
|
|
884
|
-
label: "Rider Waite"
|
|
885
|
-
}
|
|
886
|
-
];
|
|
887
|
-
|
|
888
|
-
// src/tarot/arkannus.ts
|
|
889
|
-
var TAROT_TREE_PARTS = {
|
|
890
|
-
kaabalah: ["tarot"]
|
|
891
|
-
};
|
|
892
|
-
function getTarotTreeWorkspace(treeId = DEFAULT_TAROT_TREE_ID) {
|
|
893
|
-
const parts = TAROT_TREE_PARTS[treeId];
|
|
894
|
-
if (!parts) {
|
|
895
|
-
return void 0;
|
|
896
|
-
}
|
|
897
|
-
return chunk47BAJUYW_js.getCanonicalTree({
|
|
898
|
-
system: treeId,
|
|
899
|
-
parts: [...parts]
|
|
900
|
-
});
|
|
901
|
-
}
|
|
902
|
-
function getDirectTarotCardNumber(tarotArkAnnuId, treeId = DEFAULT_TAROT_TREE_ID) {
|
|
903
|
-
const tree = getTarotTreeWorkspace(treeId);
|
|
904
|
-
if (!tree) {
|
|
905
|
-
return void 0;
|
|
906
|
-
}
|
|
907
|
-
const match = tree.getCorrespondences(tarotArkAnnuId, {
|
|
908
|
-
type: "number" /* NUMBER */,
|
|
909
|
-
depth: 1,
|
|
910
|
-
limit: 1
|
|
911
|
-
})[0];
|
|
912
|
-
if (!match) {
|
|
913
|
-
return void 0;
|
|
914
|
-
}
|
|
915
|
-
return Number.parseInt(chunkQ7YAKPBH_js.parseId(match.node.id), 10);
|
|
916
|
-
}
|
|
917
|
-
function buildDefaultArkannus(cards) {
|
|
918
|
-
const tree = getTarotTreeWorkspace(DEFAULT_TAROT_TREE_ID);
|
|
919
|
-
const resolveNumber = (tarotCardName) => {
|
|
920
|
-
if (!tree) {
|
|
921
|
-
return void 0;
|
|
922
|
-
}
|
|
923
|
-
const match = tree.getCorrespondences(
|
|
924
|
-
chunkQ7YAKPBH_js.id("tarotArkAnnu" /* TAROT_ARK_ANNU */, tarotCardName),
|
|
925
|
-
{
|
|
926
|
-
type: "number" /* NUMBER */,
|
|
927
|
-
depth: 1,
|
|
928
|
-
limit: 1
|
|
929
|
-
}
|
|
930
|
-
)[0];
|
|
931
|
-
if (!match) {
|
|
932
|
-
return void 0;
|
|
933
|
-
}
|
|
934
|
-
return Number.parseInt(chunkQ7YAKPBH_js.parseId(match.node.id), 10);
|
|
935
|
-
};
|
|
936
|
-
return [...cards].map((card) => ({
|
|
937
|
-
...card,
|
|
938
|
-
number: resolveNumber(card.tarotCard) ?? card.number
|
|
939
|
-
})).sort((left, right) => {
|
|
940
|
-
if (left.number !== right.number) {
|
|
941
|
-
return left.number - right.number;
|
|
942
|
-
}
|
|
943
|
-
return left.tarotCard.localeCompare(right.tarotCard);
|
|
944
|
-
});
|
|
945
|
-
}
|
|
946
|
-
var ARKANNUS = buildDefaultArkannus(RAW_ARKANNUS);
|
|
947
|
-
|
|
948
|
-
// src/tarot/spreads.ts
|
|
949
|
-
var TarotSpreadIndexOutOfPoolError = class extends Error {
|
|
950
|
-
constructor(slot, index, poolSize) {
|
|
951
|
-
super(
|
|
952
|
-
`${slot.label} index ${index} exceeds the matching tarot pool size (${poolSize}).`
|
|
953
|
-
);
|
|
954
|
-
this.code = "INDEX_OUT_OF_POOL";
|
|
955
|
-
this.name = "TarotSpreadIndexOutOfPoolError";
|
|
956
|
-
this.slotKey = slot.slotKey;
|
|
957
|
-
this.index = index;
|
|
958
|
-
this.poolSize = poolSize;
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
var TAROT_SPREAD_MINOR_RANKS = [
|
|
962
|
-
"ace",
|
|
963
|
-
"2",
|
|
964
|
-
"3",
|
|
965
|
-
"4",
|
|
966
|
-
"5",
|
|
967
|
-
"6",
|
|
968
|
-
"7",
|
|
969
|
-
"8",
|
|
970
|
-
"9",
|
|
971
|
-
"10"
|
|
972
|
-
];
|
|
973
|
-
var EVENT_INNER_SLOT_KEYS = [
|
|
974
|
-
"inner-1",
|
|
975
|
-
"inner-2",
|
|
976
|
-
"inner-3",
|
|
977
|
-
"inner-4",
|
|
978
|
-
"inner-5",
|
|
979
|
-
"inner-6",
|
|
980
|
-
"inner-7"
|
|
981
|
-
];
|
|
982
|
-
var TAROT_CARD_BY_NUMBER = new Map(
|
|
983
|
-
ARKANNUS.map((card) => [card.number, card])
|
|
984
|
-
);
|
|
985
|
-
function createEventOuterSlot(index, temporalPhase) {
|
|
986
|
-
return {
|
|
987
|
-
slotKey: `outer-${index}`,
|
|
988
|
-
label: String(index),
|
|
989
|
-
order: index,
|
|
990
|
-
minCards: 1,
|
|
991
|
-
maxCards: 1,
|
|
992
|
-
validationRules: {
|
|
993
|
-
allowedTypes: ["minor", "daat+royalship"]
|
|
994
|
-
},
|
|
995
|
-
manualSelectionRules: {
|
|
996
|
-
allowedTypes: ["minor", "daat+royalship"]
|
|
997
|
-
},
|
|
998
|
-
drawRules: {
|
|
999
|
-
allowedTypes: ["minor", "daat+royalship"]
|
|
1000
|
-
},
|
|
1001
|
-
metadata: {
|
|
1002
|
-
displayLabel: String(index),
|
|
1003
|
-
groupKey: "outer",
|
|
1004
|
-
temporalPhase
|
|
1005
|
-
}
|
|
1006
|
-
};
|
|
1007
|
-
}
|
|
1008
|
-
function createEventInnerSlot(index, label, note) {
|
|
1009
|
-
return {
|
|
1010
|
-
slotKey: `inner-${index}`,
|
|
1011
|
-
label,
|
|
1012
|
-
order: 100 + index,
|
|
1013
|
-
minCards: 1,
|
|
1014
|
-
maxCards: 1,
|
|
1015
|
-
validationRules: {
|
|
1016
|
-
allowedTypes: ["major"]
|
|
1017
|
-
},
|
|
1018
|
-
manualSelectionRules: {
|
|
1019
|
-
allowedTypes: ["major"],
|
|
1020
|
-
excludedCardFilenames: [
|
|
1021
|
-
"01_the_magician",
|
|
1022
|
-
"02_the_high_priestess"
|
|
1023
|
-
]
|
|
1024
|
-
},
|
|
1025
|
-
drawRules: {
|
|
1026
|
-
allowedTypes: ["major"]
|
|
1027
|
-
},
|
|
1028
|
-
metadata: {
|
|
1029
|
-
displayLabel: `${index}.`,
|
|
1030
|
-
groupKey: "inner",
|
|
1031
|
-
note
|
|
1032
|
-
}
|
|
1033
|
-
};
|
|
1034
|
-
}
|
|
1035
|
-
var TAROT_SPREADS = [
|
|
1036
|
-
{
|
|
1037
|
-
spreadId: "quick-insight",
|
|
1038
|
-
label: "Quick Insight",
|
|
1039
|
-
description: "A single-card reading for immediate insight.",
|
|
1040
|
-
slots: [
|
|
1041
|
-
{
|
|
1042
|
-
slotKey: "quick-insight",
|
|
1043
|
-
label: "Quick Insight",
|
|
1044
|
-
order: 1,
|
|
1045
|
-
minCards: 1,
|
|
1046
|
-
maxCards: 1
|
|
1047
|
-
}
|
|
1048
|
-
]
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
spreadId: "conscious-reading",
|
|
1052
|
-
label: "Conscious Reading",
|
|
1053
|
-
description: "Three-card spread for conscious, unconscious, and subconscious layers.",
|
|
1054
|
-
slots: [
|
|
1055
|
-
{
|
|
1056
|
-
slotKey: "conscious",
|
|
1057
|
-
label: "Conscious",
|
|
1058
|
-
order: 1,
|
|
1059
|
-
minCards: 1,
|
|
1060
|
-
maxCards: 1,
|
|
1061
|
-
validationRules: {
|
|
1062
|
-
allowedTypes: ["major"]
|
|
1063
|
-
},
|
|
1064
|
-
manualSelectionRules: {
|
|
1065
|
-
allowedTypes: ["major"]
|
|
1066
|
-
},
|
|
1067
|
-
drawRules: {
|
|
1068
|
-
allowedTypes: ["major"]
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
slotKey: "unconscious",
|
|
1073
|
-
label: "Unconscious",
|
|
1074
|
-
order: 2,
|
|
1075
|
-
minCards: 1,
|
|
1076
|
-
maxCards: 1,
|
|
1077
|
-
validationRules: {
|
|
1078
|
-
allowedTypes: ["daat+royalship"]
|
|
1079
|
-
},
|
|
1080
|
-
manualSelectionRules: {
|
|
1081
|
-
allowedTypes: ["daat+royalship"]
|
|
1082
|
-
},
|
|
1083
|
-
drawRules: {
|
|
1084
|
-
allowedTypes: ["daat+royalship"]
|
|
1085
|
-
}
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
slotKey: "subconscious",
|
|
1089
|
-
label: "Subconscious",
|
|
1090
|
-
order: 3,
|
|
1091
|
-
minCards: 1,
|
|
1092
|
-
maxCards: 1,
|
|
1093
|
-
validationRules: {
|
|
1094
|
-
allowedTypes: ["minor"]
|
|
1095
|
-
},
|
|
1096
|
-
manualSelectionRules: {
|
|
1097
|
-
allowedTypes: ["minor"]
|
|
1098
|
-
},
|
|
1099
|
-
drawRules: {
|
|
1100
|
-
allowedTypes: ["minor"]
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
]
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
spreadId: "time-reading",
|
|
1107
|
-
label: "Time Reading",
|
|
1108
|
-
description: "Three major arcana cards for past, present, and future.",
|
|
1109
|
-
slots: [
|
|
1110
|
-
{
|
|
1111
|
-
slotKey: "past",
|
|
1112
|
-
label: "Past",
|
|
1113
|
-
order: 1,
|
|
1114
|
-
minCards: 1,
|
|
1115
|
-
maxCards: 1,
|
|
1116
|
-
validationRules: {
|
|
1117
|
-
allowedTypes: ["major"]
|
|
1118
|
-
},
|
|
1119
|
-
manualSelectionRules: {
|
|
1120
|
-
allowedTypes: ["major"]
|
|
1121
|
-
},
|
|
1122
|
-
drawRules: {
|
|
1123
|
-
allowedTypes: ["major"]
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
slotKey: "present",
|
|
1128
|
-
label: "Present",
|
|
1129
|
-
order: 2,
|
|
1130
|
-
minCards: 1,
|
|
1131
|
-
maxCards: 1,
|
|
1132
|
-
validationRules: {
|
|
1133
|
-
allowedTypes: ["major"]
|
|
1134
|
-
},
|
|
1135
|
-
manualSelectionRules: {
|
|
1136
|
-
allowedTypes: ["major"]
|
|
1137
|
-
},
|
|
1138
|
-
drawRules: {
|
|
1139
|
-
allowedTypes: ["major"]
|
|
1140
|
-
}
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
slotKey: "future",
|
|
1144
|
-
label: "Future",
|
|
1145
|
-
order: 3,
|
|
1146
|
-
minCards: 1,
|
|
1147
|
-
maxCards: 1,
|
|
1148
|
-
validationRules: {
|
|
1149
|
-
allowedTypes: ["major"]
|
|
1150
|
-
},
|
|
1151
|
-
manualSelectionRules: {
|
|
1152
|
-
allowedTypes: ["major"]
|
|
1153
|
-
},
|
|
1154
|
-
drawRules: {
|
|
1155
|
-
allowedTypes: ["major"]
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
]
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
spreadId: "dialectic-reading",
|
|
1162
|
-
label: "Dialectic Reading",
|
|
1163
|
-
description: "Three major arcana cards for thesis, antithesis, and synthesis.",
|
|
1164
|
-
slots: [
|
|
1165
|
-
{
|
|
1166
|
-
slotKey: "thesis",
|
|
1167
|
-
label: "Thesis",
|
|
1168
|
-
order: 1,
|
|
1169
|
-
minCards: 1,
|
|
1170
|
-
maxCards: 1,
|
|
1171
|
-
validationRules: {
|
|
1172
|
-
allowedTypes: ["major"]
|
|
1173
|
-
},
|
|
1174
|
-
manualSelectionRules: {
|
|
1175
|
-
allowedTypes: ["major"]
|
|
1176
|
-
},
|
|
1177
|
-
drawRules: {
|
|
1178
|
-
allowedTypes: ["major"]
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
slotKey: "antithesis",
|
|
1183
|
-
label: "Antithesis",
|
|
1184
|
-
order: 2,
|
|
1185
|
-
minCards: 1,
|
|
1186
|
-
maxCards: 1,
|
|
1187
|
-
validationRules: {
|
|
1188
|
-
allowedTypes: ["major"]
|
|
1189
|
-
},
|
|
1190
|
-
manualSelectionRules: {
|
|
1191
|
-
allowedTypes: ["major"]
|
|
1192
|
-
},
|
|
1193
|
-
drawRules: {
|
|
1194
|
-
allowedTypes: ["major"]
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
slotKey: "synthesis",
|
|
1199
|
-
label: "Synthesis",
|
|
1200
|
-
order: 3,
|
|
1201
|
-
minCards: 1,
|
|
1202
|
-
maxCards: 1,
|
|
1203
|
-
validationRules: {
|
|
1204
|
-
allowedTypes: ["major"]
|
|
1205
|
-
},
|
|
1206
|
-
manualSelectionRules: {
|
|
1207
|
-
allowedTypes: ["major"]
|
|
1208
|
-
},
|
|
1209
|
-
drawRules: {
|
|
1210
|
-
allowedTypes: ["major"]
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
]
|
|
1214
|
-
},
|
|
1215
|
-
{
|
|
1216
|
-
spreadId: "tree-of-life-reading",
|
|
1217
|
-
label: "Tree of Life Reading",
|
|
1218
|
-
description: "Ten numbered minor arcana slots mapped to the spheres plus four Daath court cards.",
|
|
1219
|
-
slots: [
|
|
1220
|
-
{
|
|
1221
|
-
slotKey: "kether",
|
|
1222
|
-
label: "Kether",
|
|
1223
|
-
order: 1,
|
|
1224
|
-
minCards: 1,
|
|
1225
|
-
maxCards: 1,
|
|
1226
|
-
validationRules: {
|
|
1227
|
-
allowedTypes: ["minor"],
|
|
1228
|
-
requiredRank: "ace"
|
|
1229
|
-
},
|
|
1230
|
-
manualSelectionRules: {
|
|
1231
|
-
allowedTypes: ["minor"],
|
|
1232
|
-
requiredRank: "ace"
|
|
1233
|
-
},
|
|
1234
|
-
drawRules: {
|
|
1235
|
-
allowedTypes: ["minor"],
|
|
1236
|
-
requiredRank: "ace"
|
|
1237
|
-
}
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
slotKey: "chokhmah",
|
|
1241
|
-
label: "Chokhmah",
|
|
1242
|
-
order: 2,
|
|
1243
|
-
minCards: 1,
|
|
1244
|
-
maxCards: 1,
|
|
1245
|
-
validationRules: {
|
|
1246
|
-
allowedTypes: ["minor"],
|
|
1247
|
-
requiredRank: "2"
|
|
1248
|
-
},
|
|
1249
|
-
manualSelectionRules: {
|
|
1250
|
-
allowedTypes: ["minor"],
|
|
1251
|
-
requiredRank: "2"
|
|
1252
|
-
},
|
|
1253
|
-
drawRules: {
|
|
1254
|
-
allowedTypes: ["minor"],
|
|
1255
|
-
requiredRank: "2"
|
|
1256
|
-
}
|
|
1257
|
-
},
|
|
1258
|
-
{
|
|
1259
|
-
slotKey: "binah",
|
|
1260
|
-
label: "Binah",
|
|
1261
|
-
order: 3,
|
|
1262
|
-
minCards: 1,
|
|
1263
|
-
maxCards: 1,
|
|
1264
|
-
validationRules: {
|
|
1265
|
-
allowedTypes: ["minor"],
|
|
1266
|
-
requiredRank: "3"
|
|
1267
|
-
},
|
|
1268
|
-
manualSelectionRules: {
|
|
1269
|
-
allowedTypes: ["minor"],
|
|
1270
|
-
requiredRank: "3"
|
|
1271
|
-
},
|
|
1272
|
-
drawRules: {
|
|
1273
|
-
allowedTypes: ["minor"],
|
|
1274
|
-
requiredRank: "3"
|
|
1275
|
-
}
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
slotKey: "chesed",
|
|
1279
|
-
label: "Chesed",
|
|
1280
|
-
order: 4,
|
|
1281
|
-
minCards: 1,
|
|
1282
|
-
maxCards: 1,
|
|
1283
|
-
validationRules: {
|
|
1284
|
-
allowedTypes: ["minor"],
|
|
1285
|
-
requiredRank: "4"
|
|
1286
|
-
},
|
|
1287
|
-
manualSelectionRules: {
|
|
1288
|
-
allowedTypes: ["minor"],
|
|
1289
|
-
requiredRank: "4"
|
|
1290
|
-
},
|
|
1291
|
-
drawRules: {
|
|
1292
|
-
allowedTypes: ["minor"],
|
|
1293
|
-
requiredRank: "4"
|
|
1294
|
-
}
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
slotKey: "geburah",
|
|
1298
|
-
label: "Geburah",
|
|
1299
|
-
order: 5,
|
|
1300
|
-
minCards: 1,
|
|
1301
|
-
maxCards: 1,
|
|
1302
|
-
validationRules: {
|
|
1303
|
-
allowedTypes: ["minor"],
|
|
1304
|
-
requiredRank: "5"
|
|
1305
|
-
},
|
|
1306
|
-
manualSelectionRules: {
|
|
1307
|
-
allowedTypes: ["minor"],
|
|
1308
|
-
requiredRank: "5"
|
|
1309
|
-
},
|
|
1310
|
-
drawRules: {
|
|
1311
|
-
allowedTypes: ["minor"],
|
|
1312
|
-
requiredRank: "5"
|
|
1313
|
-
}
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
slotKey: "tiphareth",
|
|
1317
|
-
label: "Tiphareth",
|
|
1318
|
-
order: 6,
|
|
1319
|
-
minCards: 1,
|
|
1320
|
-
maxCards: 1,
|
|
1321
|
-
validationRules: {
|
|
1322
|
-
allowedTypes: ["minor"],
|
|
1323
|
-
requiredRank: "6"
|
|
1324
|
-
},
|
|
1325
|
-
manualSelectionRules: {
|
|
1326
|
-
allowedTypes: ["minor"],
|
|
1327
|
-
requiredRank: "6"
|
|
1328
|
-
},
|
|
1329
|
-
drawRules: {
|
|
1330
|
-
allowedTypes: ["minor"],
|
|
1331
|
-
requiredRank: "6"
|
|
1332
|
-
}
|
|
1333
|
-
},
|
|
1334
|
-
{
|
|
1335
|
-
slotKey: "netzach",
|
|
1336
|
-
label: "Netzach",
|
|
1337
|
-
order: 7,
|
|
1338
|
-
minCards: 1,
|
|
1339
|
-
maxCards: 1,
|
|
1340
|
-
validationRules: {
|
|
1341
|
-
allowedTypes: ["minor"],
|
|
1342
|
-
requiredRank: "7"
|
|
1343
|
-
},
|
|
1344
|
-
manualSelectionRules: {
|
|
1345
|
-
allowedTypes: ["minor"],
|
|
1346
|
-
requiredRank: "7"
|
|
1347
|
-
},
|
|
1348
|
-
drawRules: {
|
|
1349
|
-
allowedTypes: ["minor"],
|
|
1350
|
-
requiredRank: "7"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
slotKey: "hod",
|
|
1355
|
-
label: "Hod",
|
|
1356
|
-
order: 8,
|
|
1357
|
-
minCards: 1,
|
|
1358
|
-
maxCards: 1,
|
|
1359
|
-
validationRules: {
|
|
1360
|
-
allowedTypes: ["minor"],
|
|
1361
|
-
requiredRank: "8"
|
|
1362
|
-
},
|
|
1363
|
-
manualSelectionRules: {
|
|
1364
|
-
allowedTypes: ["minor"],
|
|
1365
|
-
requiredRank: "8"
|
|
1366
|
-
},
|
|
1367
|
-
drawRules: {
|
|
1368
|
-
allowedTypes: ["minor"],
|
|
1369
|
-
requiredRank: "8"
|
|
1370
|
-
}
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
slotKey: "yesod",
|
|
1374
|
-
label: "Yesod",
|
|
1375
|
-
order: 9,
|
|
1376
|
-
minCards: 1,
|
|
1377
|
-
maxCards: 1,
|
|
1378
|
-
validationRules: {
|
|
1379
|
-
allowedTypes: ["minor"],
|
|
1380
|
-
requiredRank: "9"
|
|
1381
|
-
},
|
|
1382
|
-
manualSelectionRules: {
|
|
1383
|
-
allowedTypes: ["minor"],
|
|
1384
|
-
requiredRank: "9"
|
|
1385
|
-
},
|
|
1386
|
-
drawRules: {
|
|
1387
|
-
allowedTypes: ["minor"],
|
|
1388
|
-
requiredRank: "9"
|
|
1389
|
-
}
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
slotKey: "malkuth",
|
|
1393
|
-
label: "Malkuth",
|
|
1394
|
-
order: 10,
|
|
1395
|
-
minCards: 1,
|
|
1396
|
-
maxCards: 1,
|
|
1397
|
-
validationRules: {
|
|
1398
|
-
allowedTypes: ["minor"],
|
|
1399
|
-
requiredRank: "10"
|
|
1400
|
-
},
|
|
1401
|
-
manualSelectionRules: {
|
|
1402
|
-
allowedTypes: ["minor"],
|
|
1403
|
-
requiredRank: "10"
|
|
1404
|
-
},
|
|
1405
|
-
drawRules: {
|
|
1406
|
-
allowedTypes: ["minor"],
|
|
1407
|
-
requiredRank: "10"
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
slotKey: "daath",
|
|
1412
|
-
label: "Daath",
|
|
1413
|
-
order: 11,
|
|
1414
|
-
minCards: 4,
|
|
1415
|
-
maxCards: 4,
|
|
1416
|
-
validationRules: {
|
|
1417
|
-
allowedTypes: ["daat+royalship"]
|
|
1418
|
-
},
|
|
1419
|
-
manualSelectionRules: {
|
|
1420
|
-
allowedTypes: ["daat+royalship"]
|
|
1421
|
-
},
|
|
1422
|
-
drawRules: {
|
|
1423
|
-
allowedTypes: ["daat+royalship"]
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
]
|
|
1427
|
-
},
|
|
1428
|
-
{
|
|
1429
|
-
spreadId: "celtic-cross",
|
|
1430
|
-
label: "Celtic Cross",
|
|
1431
|
-
description: "Classic ten-card Celtic Cross spread.",
|
|
1432
|
-
slots: [
|
|
1433
|
-
{
|
|
1434
|
-
slotKey: "present",
|
|
1435
|
-
label: "The Present",
|
|
1436
|
-
order: 1,
|
|
1437
|
-
minCards: 1,
|
|
1438
|
-
maxCards: 1,
|
|
1439
|
-
metadata: {
|
|
1440
|
-
displayLabel: "1."
|
|
1441
|
-
}
|
|
1442
|
-
},
|
|
1443
|
-
{
|
|
1444
|
-
slotKey: "challenge",
|
|
1445
|
-
label: "The Challenge",
|
|
1446
|
-
order: 2,
|
|
1447
|
-
minCards: 1,
|
|
1448
|
-
maxCards: 1,
|
|
1449
|
-
metadata: {
|
|
1450
|
-
displayLabel: "2.",
|
|
1451
|
-
orientation: "sideways"
|
|
1452
|
-
}
|
|
1453
|
-
},
|
|
1454
|
-
{
|
|
1455
|
-
slotKey: "above",
|
|
1456
|
-
label: "Above",
|
|
1457
|
-
order: 3,
|
|
1458
|
-
minCards: 1,
|
|
1459
|
-
maxCards: 1,
|
|
1460
|
-
metadata: {
|
|
1461
|
-
displayLabel: "3."
|
|
1462
|
-
}
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
slotKey: "below",
|
|
1466
|
-
label: "Below",
|
|
1467
|
-
order: 4,
|
|
1468
|
-
minCards: 1,
|
|
1469
|
-
maxCards: 1,
|
|
1470
|
-
metadata: {
|
|
1471
|
-
displayLabel: "4."
|
|
1472
|
-
}
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
slotKey: "behind",
|
|
1476
|
-
label: "Behind",
|
|
1477
|
-
order: 5,
|
|
1478
|
-
minCards: 1,
|
|
1479
|
-
maxCards: 1,
|
|
1480
|
-
metadata: {
|
|
1481
|
-
displayLabel: "5."
|
|
1482
|
-
}
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
slotKey: "before",
|
|
1486
|
-
label: "Before",
|
|
1487
|
-
order: 6,
|
|
1488
|
-
minCards: 1,
|
|
1489
|
-
maxCards: 1,
|
|
1490
|
-
metadata: {
|
|
1491
|
-
displayLabel: "6."
|
|
1492
|
-
}
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
slotKey: "self",
|
|
1496
|
-
label: "Self",
|
|
1497
|
-
order: 7,
|
|
1498
|
-
minCards: 1,
|
|
1499
|
-
maxCards: 1,
|
|
1500
|
-
metadata: {
|
|
1501
|
-
displayLabel: "7."
|
|
1502
|
-
}
|
|
1503
|
-
},
|
|
1504
|
-
{
|
|
1505
|
-
slotKey: "environment",
|
|
1506
|
-
label: "Environment",
|
|
1507
|
-
order: 8,
|
|
1508
|
-
minCards: 1,
|
|
1509
|
-
maxCards: 1,
|
|
1510
|
-
metadata: {
|
|
1511
|
-
displayLabel: "8."
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
slotKey: "hopes-fears",
|
|
1516
|
-
label: "Hopes/Fears",
|
|
1517
|
-
order: 9,
|
|
1518
|
-
minCards: 1,
|
|
1519
|
-
maxCards: 1,
|
|
1520
|
-
metadata: {
|
|
1521
|
-
displayLabel: "9."
|
|
1522
|
-
}
|
|
1523
|
-
},
|
|
1524
|
-
{
|
|
1525
|
-
slotKey: "outcome",
|
|
1526
|
-
label: "Outcome",
|
|
1527
|
-
order: 10,
|
|
1528
|
-
minCards: 1,
|
|
1529
|
-
maxCards: 1,
|
|
1530
|
-
metadata: {
|
|
1531
|
-
displayLabel: "10."
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
]
|
|
1535
|
-
},
|
|
1536
|
-
{
|
|
1537
|
-
spreadId: "event-reading",
|
|
1538
|
-
label: "Event Reading",
|
|
1539
|
-
description: "Papus-style event spread with outer minor/court cards, seven major cards, and an inquirer card.",
|
|
1540
|
-
contextRequirements: ["inquirerGender"],
|
|
1541
|
-
slots: [
|
|
1542
|
-
createEventOuterSlot(1, "past"),
|
|
1543
|
-
createEventOuterSlot(2, "past"),
|
|
1544
|
-
createEventOuterSlot(3, "past"),
|
|
1545
|
-
createEventOuterSlot(4, "past"),
|
|
1546
|
-
createEventOuterSlot(5, "present"),
|
|
1547
|
-
createEventOuterSlot(6, "present"),
|
|
1548
|
-
createEventOuterSlot(7, "present"),
|
|
1549
|
-
createEventOuterSlot(8, "present"),
|
|
1550
|
-
createEventOuterSlot(9, "future"),
|
|
1551
|
-
createEventOuterSlot(10, "future"),
|
|
1552
|
-
createEventOuterSlot(11, "future"),
|
|
1553
|
-
createEventOuterSlot(12, "future"),
|
|
1554
|
-
createEventInnerSlot(
|
|
1555
|
-
1,
|
|
1556
|
-
"Commencement",
|
|
1557
|
-
"Character of the beginning phase."
|
|
1558
|
-
),
|
|
1559
|
-
createEventInnerSlot(2, "Apogee", "Peak or zenith of the event."),
|
|
1560
|
-
createEventInnerSlot(
|
|
1561
|
-
3,
|
|
1562
|
-
"Decline/Obstacle",
|
|
1563
|
-
"Challenges, obstacles, or decline."
|
|
1564
|
-
),
|
|
1565
|
-
createEventInnerSlot(4, "Fall", "Conclusion or end phase."),
|
|
1566
|
-
createEventInnerSlot(
|
|
1567
|
-
5,
|
|
1568
|
-
"The Past",
|
|
1569
|
-
"Special character or influence in the past."
|
|
1570
|
-
),
|
|
1571
|
-
createEventInnerSlot(
|
|
1572
|
-
6,
|
|
1573
|
-
"The Present",
|
|
1574
|
-
"Special character or influence in the present."
|
|
1575
|
-
),
|
|
1576
|
-
createEventInnerSlot(
|
|
1577
|
-
7,
|
|
1578
|
-
"The Future",
|
|
1579
|
-
"Special character or influence to come."
|
|
1580
|
-
),
|
|
1581
|
-
{
|
|
1582
|
-
slotKey: "inquirer",
|
|
1583
|
-
label: "Inquirer",
|
|
1584
|
-
order: 200,
|
|
1585
|
-
minCards: 1,
|
|
1586
|
-
maxCards: 1,
|
|
1587
|
-
validationRules: {
|
|
1588
|
-
allowedTypes: ["major"]
|
|
1589
|
-
},
|
|
1590
|
-
manualSelectionRules: {
|
|
1591
|
-
allowedTypes: ["major"],
|
|
1592
|
-
allowedCardFilenames: [
|
|
1593
|
-
"01_the_magician",
|
|
1594
|
-
"02_the_high_priestess"
|
|
1595
|
-
]
|
|
1596
|
-
},
|
|
1597
|
-
drawRules: {
|
|
1598
|
-
allowedTypes: ["major"]
|
|
1599
|
-
},
|
|
1600
|
-
metadata: {
|
|
1601
|
-
displayLabel: "Inquirer",
|
|
1602
|
-
groupKey: "center",
|
|
1603
|
-
note: "The querent's energy in this reading."
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
],
|
|
1607
|
-
specialRules: {
|
|
1608
|
-
inquirerCard: {
|
|
1609
|
-
slotKey: "inquirer",
|
|
1610
|
-
sourceSlotKeys: [...EVENT_INNER_SLOT_KEYS],
|
|
1611
|
-
cardNumbersByGender: {
|
|
1612
|
-
man: 1,
|
|
1613
|
-
woman: 2
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
];
|
|
1619
|
-
var TAROT_SPREAD_BY_ID = new Map(
|
|
1620
|
-
TAROT_SPREADS.map((spread) => [spread.spreadId, spread])
|
|
1621
|
-
);
|
|
1622
|
-
function cloneCardConstraint(constraint) {
|
|
1623
|
-
if (!constraint) {
|
|
1624
|
-
return void 0;
|
|
1625
|
-
}
|
|
1626
|
-
return {
|
|
1627
|
-
allowedTypes: constraint.allowedTypes ? [...constraint.allowedTypes] : void 0,
|
|
1628
|
-
requiredRank: constraint.requiredRank,
|
|
1629
|
-
allowedCardFilenames: constraint.allowedCardFilenames ? [...constraint.allowedCardFilenames] : void 0,
|
|
1630
|
-
excludedCardFilenames: constraint.excludedCardFilenames ? [...constraint.excludedCardFilenames] : void 0
|
|
1631
|
-
};
|
|
1632
|
-
}
|
|
1633
|
-
function cloneSlotDefinition(slot) {
|
|
1634
|
-
return {
|
|
1635
|
-
...slot,
|
|
1636
|
-
validationRules: cloneCardConstraint(slot.validationRules),
|
|
1637
|
-
manualSelectionRules: cloneCardConstraint(slot.manualSelectionRules),
|
|
1638
|
-
drawRules: cloneCardConstraint(slot.drawRules),
|
|
1639
|
-
metadata: slot.metadata ? { ...slot.metadata } : void 0
|
|
1640
|
-
};
|
|
1641
|
-
}
|
|
1642
|
-
function cloneSpreadDefinition(spread) {
|
|
1643
|
-
return {
|
|
1644
|
-
...spread,
|
|
1645
|
-
contextRequirements: spread.contextRequirements ? [...spread.contextRequirements] : void 0,
|
|
1646
|
-
slots: spread.slots.map(cloneSlotDefinition),
|
|
1647
|
-
specialRules: spread.specialRules?.inquirerCard ? {
|
|
1648
|
-
inquirerCard: {
|
|
1649
|
-
slotKey: spread.specialRules.inquirerCard.slotKey,
|
|
1650
|
-
sourceSlotKeys: [...spread.specialRules.inquirerCard.sourceSlotKeys],
|
|
1651
|
-
cardNumbersByGender: {
|
|
1652
|
-
...spread.specialRules.inquirerCard.cardNumbersByGender
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
} : void 0
|
|
1656
|
-
};
|
|
1657
|
-
}
|
|
1658
|
-
function getTarotDeckCardByNumber(cardNumber) {
|
|
1659
|
-
return TAROT_CARD_BY_NUMBER.get(cardNumber);
|
|
1660
|
-
}
|
|
1661
|
-
function getTarotSpreadRuleForValidation(slot) {
|
|
1662
|
-
return slot.validationRules ?? slot.drawRules ?? slot.manualSelectionRules;
|
|
1663
|
-
}
|
|
1664
|
-
function getTarotSpreadRuleForDraw(slot) {
|
|
1665
|
-
return slot.drawRules ?? slot.validationRules ?? slot.manualSelectionRules;
|
|
1666
|
-
}
|
|
1667
|
-
function getTarotMinorRank(card) {
|
|
1668
|
-
if (card.type !== "minor") {
|
|
1669
|
-
return void 0;
|
|
1670
|
-
}
|
|
1671
|
-
const rank = card.tarotCardFilename.split("_")[0];
|
|
1672
|
-
return TAROT_SPREAD_MINOR_RANKS.includes(rank) ? rank : void 0;
|
|
1673
|
-
}
|
|
1674
|
-
function matchesTarotSpreadConstraint(card, constraint) {
|
|
1675
|
-
if (!constraint) {
|
|
1676
|
-
return true;
|
|
1677
|
-
}
|
|
1678
|
-
if (constraint.allowedTypes && !constraint.allowedTypes.includes(card.type)) {
|
|
1679
|
-
return false;
|
|
1680
|
-
}
|
|
1681
|
-
if (constraint.allowedCardFilenames && !constraint.allowedCardFilenames.includes(card.tarotCardFilename)) {
|
|
1682
|
-
return false;
|
|
1683
|
-
}
|
|
1684
|
-
if (constraint.excludedCardFilenames && constraint.excludedCardFilenames.includes(card.tarotCardFilename)) {
|
|
1685
|
-
return false;
|
|
1686
|
-
}
|
|
1687
|
-
if (constraint.requiredRank) {
|
|
1688
|
-
return getTarotMinorRank(card) === constraint.requiredRank;
|
|
1689
|
-
}
|
|
1690
|
-
return true;
|
|
1691
|
-
}
|
|
1692
|
-
function randomIndex(length, rng) {
|
|
1693
|
-
if (length <= 0) {
|
|
1694
|
-
throw new Error("Cannot draw from an empty pool.");
|
|
1695
|
-
}
|
|
1696
|
-
const raw = rng();
|
|
1697
|
-
if (!Number.isFinite(raw)) {
|
|
1698
|
-
throw new Error("Tarot spread RNG must return a finite number.");
|
|
1699
|
-
}
|
|
1700
|
-
const normalized = Math.min(Math.max(raw, 0), 1 - Number.EPSILON);
|
|
1701
|
-
return Math.floor(normalized * length);
|
|
1702
|
-
}
|
|
1703
|
-
function withSpreadCardOrientation(card, includeInverted, rng) {
|
|
1704
|
-
return {
|
|
1705
|
-
...card,
|
|
1706
|
-
isInverted: includeInverted ? rng() < 0.5 : false
|
|
1707
|
-
};
|
|
1708
|
-
}
|
|
1709
|
-
function resolveTarotSpreadSelectionCard(card, slot, tarotCard) {
|
|
1710
|
-
return {
|
|
1711
|
-
...card,
|
|
1712
|
-
slot,
|
|
1713
|
-
card: {
|
|
1714
|
-
...tarotCard,
|
|
1715
|
-
isInverted: card.isInverted ?? false
|
|
1716
|
-
}
|
|
1717
|
-
};
|
|
1718
|
-
}
|
|
1719
|
-
function sortResolvedTarotSpreadCards(resolvedCards) {
|
|
1720
|
-
return [...resolvedCards].sort((left, right) => {
|
|
1721
|
-
if (left.slot.order !== right.slot.order) {
|
|
1722
|
-
return left.slot.order - right.slot.order;
|
|
1723
|
-
}
|
|
1724
|
-
return left.card.number - right.card.number;
|
|
1725
|
-
});
|
|
1726
|
-
}
|
|
1727
|
-
function validateEventInquirerCard(spread, resolvedCards, context, errors) {
|
|
1728
|
-
const inquirerRule = spread.specialRules?.inquirerCard;
|
|
1729
|
-
if (!inquirerRule) {
|
|
1730
|
-
return;
|
|
1731
|
-
}
|
|
1732
|
-
if (!context?.inquirerGender) {
|
|
1733
|
-
return;
|
|
1734
|
-
}
|
|
1735
|
-
const inquirerCardNumber = inquirerRule.cardNumbersByGender[context.inquirerGender];
|
|
1736
|
-
const sourceCards = resolvedCards.filter(
|
|
1737
|
-
(card) => inquirerRule.sourceSlotKeys.includes(card.slotKey)
|
|
1738
|
-
);
|
|
1739
|
-
const inquirerCards = resolvedCards.filter(
|
|
1740
|
-
(card) => card.slotKey === inquirerRule.slotKey
|
|
1741
|
-
);
|
|
1742
|
-
if (inquirerCards.length !== 1) {
|
|
1743
|
-
return;
|
|
1744
|
-
}
|
|
1745
|
-
const sourceContainsGenderCard = sourceCards.some(
|
|
1746
|
-
(card) => card.card.number === inquirerCardNumber
|
|
1747
|
-
);
|
|
1748
|
-
const totalGenderCardCount = [...sourceCards, ...inquirerCards].filter(
|
|
1749
|
-
(card) => card.card.number === inquirerCardNumber
|
|
1750
|
-
).length;
|
|
1751
|
-
if (totalGenderCardCount !== 1) {
|
|
1752
|
-
errors.push({
|
|
1753
|
-
code: "INVALID_INQUIRER_CARD",
|
|
1754
|
-
slotKey: inquirerRule.slotKey,
|
|
1755
|
-
cardNumber: inquirerCardNumber,
|
|
1756
|
-
message: "Event Reading must contain the gendered inquirer card exactly once across the major arcana band and inquirer slot."
|
|
1757
|
-
});
|
|
1758
|
-
return;
|
|
1759
|
-
}
|
|
1760
|
-
if (!sourceContainsGenderCard && inquirerCards[0].card.number !== inquirerCardNumber) {
|
|
1761
|
-
errors.push({
|
|
1762
|
-
code: "INVALID_INQUIRER_CARD",
|
|
1763
|
-
slotKey: inquirerRule.slotKey,
|
|
1764
|
-
cardNumber: inquirerCards[0].card.number,
|
|
1765
|
-
message: "When the inquirer card was not drawn in the seven major slots, it must occupy the Inquirer slot."
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
function pickTarotCardFromPool(pool, constraint, rng) {
|
|
1770
|
-
const candidateIndexes = pool.reduce((indexes, card, index) => {
|
|
1771
|
-
if (matchesTarotSpreadConstraint(card, constraint)) {
|
|
1772
|
-
indexes.push(index);
|
|
1773
|
-
}
|
|
1774
|
-
return indexes;
|
|
1775
|
-
}, []);
|
|
1776
|
-
if (candidateIndexes.length === 0) {
|
|
1777
|
-
throw new Error("Unable to draw a tarot card that satisfies the spread rule.");
|
|
1778
|
-
}
|
|
1779
|
-
const pickedIndex = candidateIndexes[randomIndex(candidateIndexes.length, rng)];
|
|
1780
|
-
const [pickedCard] = pool.splice(pickedIndex, 1);
|
|
1781
|
-
return pickedCard;
|
|
1782
|
-
}
|
|
1783
|
-
function buildResolvedDrawnCard(slot, card, includeInverted, rng) {
|
|
1784
|
-
const drawnCard = withSpreadCardOrientation(card, includeInverted, rng);
|
|
1785
|
-
return {
|
|
1786
|
-
slotKey: slot.slotKey,
|
|
1787
|
-
cardNumber: drawnCard.number,
|
|
1788
|
-
isInverted: drawnCard.isInverted ?? false,
|
|
1789
|
-
slot,
|
|
1790
|
-
card: drawnCard
|
|
1791
|
-
};
|
|
1792
|
-
}
|
|
1793
|
-
function drawDefaultTarotSpread(spread, includeInverted, rng) {
|
|
1794
|
-
const deckPool = [...ARKANNUS];
|
|
1795
|
-
const drawnCards = [];
|
|
1796
|
-
for (const slot of spread.slots.slice().sort((left, right) => left.order - right.order)) {
|
|
1797
|
-
const drawRule = getTarotSpreadRuleForDraw(slot);
|
|
1798
|
-
for (let index = 0; index < slot.maxCards; index += 1) {
|
|
1799
|
-
const card = pickTarotCardFromPool(deckPool, drawRule, rng);
|
|
1800
|
-
drawnCards.push(
|
|
1801
|
-
buildResolvedDrawnCard(slot, card, includeInverted, rng)
|
|
1802
|
-
);
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
return drawnCards;
|
|
1806
|
-
}
|
|
1807
|
-
function buildResolvedConsciousCard(slot, card, index, poolSize, includeInverted, rng) {
|
|
1808
|
-
const drawnCard = withSpreadCardOrientation(card, includeInverted, rng);
|
|
1809
|
-
return {
|
|
1810
|
-
slotKey: slot.slotKey,
|
|
1811
|
-
cardNumber: drawnCard.number,
|
|
1812
|
-
isInverted: drawnCard.isInverted ?? false,
|
|
1813
|
-
slot,
|
|
1814
|
-
card: drawnCard,
|
|
1815
|
-
index,
|
|
1816
|
-
poolSize,
|
|
1817
|
-
pos: `${index} of ${poolSize}`
|
|
1818
|
-
};
|
|
1819
|
-
}
|
|
1820
|
-
function drawEventReadingSpread(spread, includeInverted, rng, context) {
|
|
1821
|
-
const inquirerRule = spread.specialRules?.inquirerCard;
|
|
1822
|
-
if (!inquirerRule || !context?.inquirerGender) {
|
|
1823
|
-
throw new Error(
|
|
1824
|
-
"Event Reading draw requires `context.inquirerGender`."
|
|
1825
|
-
);
|
|
1826
|
-
}
|
|
1827
|
-
const slotsByKey = new Map(
|
|
1828
|
-
spread.slots.map((slot) => [slot.slotKey, slot])
|
|
1829
|
-
);
|
|
1830
|
-
const outerPool = ARKANNUS.filter(
|
|
1831
|
-
(card) => card.type === "minor" || card.type === "daat+royalship"
|
|
1832
|
-
);
|
|
1833
|
-
const majorPool = ARKANNUS.filter((card) => card.type === "major");
|
|
1834
|
-
const drawnCards = [];
|
|
1835
|
-
for (const slot of spread.slots.filter((candidate) => candidate.metadata?.groupKey === "outer").sort((left, right) => left.order - right.order)) {
|
|
1836
|
-
const card = pickTarotCardFromPool(outerPool, getTarotSpreadRuleForDraw(slot), rng);
|
|
1837
|
-
drawnCards.push(buildResolvedDrawnCard(slot, card, includeInverted, rng));
|
|
1838
|
-
}
|
|
1839
|
-
for (const slotKey of inquirerRule.sourceSlotKeys) {
|
|
1840
|
-
const slot = slotsByKey.get(slotKey);
|
|
1841
|
-
if (!slot) {
|
|
1842
|
-
throw new Error(`Missing Event Reading slot definition for ${slotKey}.`);
|
|
1843
|
-
}
|
|
1844
|
-
const card = pickTarotCardFromPool(majorPool, getTarotSpreadRuleForDraw(slot), rng);
|
|
1845
|
-
drawnCards.push(buildResolvedDrawnCard(slot, card, includeInverted, rng));
|
|
1846
|
-
}
|
|
1847
|
-
const genderedInquirerCardNumber = inquirerRule.cardNumbersByGender[context.inquirerGender];
|
|
1848
|
-
const sourceContainsGenderedCard = drawnCards.some(
|
|
1849
|
-
(card) => inquirerRule.sourceSlotKeys.includes(card.slotKey) && card.card.number === genderedInquirerCardNumber
|
|
1850
|
-
);
|
|
1851
|
-
const inquirerSlot = slotsByKey.get(inquirerRule.slotKey);
|
|
1852
|
-
if (!inquirerSlot) {
|
|
1853
|
-
throw new Error(
|
|
1854
|
-
`Missing Event Reading slot definition for ${inquirerRule.slotKey}.`
|
|
1855
|
-
);
|
|
1856
|
-
}
|
|
1857
|
-
if (!sourceContainsGenderedCard) {
|
|
1858
|
-
const genderedCardIndex = majorPool.findIndex(
|
|
1859
|
-
(card) => card.number === genderedInquirerCardNumber
|
|
1860
|
-
);
|
|
1861
|
-
if (genderedCardIndex < 0) {
|
|
1862
|
-
throw new Error(
|
|
1863
|
-
"Unable to assign the Event Reading inquirer card from the remaining major arcana."
|
|
1864
|
-
);
|
|
1865
|
-
}
|
|
1866
|
-
const [genderedCard] = majorPool.splice(genderedCardIndex, 1);
|
|
1867
|
-
drawnCards.push(
|
|
1868
|
-
buildResolvedDrawnCard(inquirerSlot, genderedCard, includeInverted, rng)
|
|
1869
|
-
);
|
|
1870
|
-
} else {
|
|
1871
|
-
const replacement = pickTarotCardFromPool(
|
|
1872
|
-
majorPool,
|
|
1873
|
-
getTarotSpreadRuleForDraw(inquirerSlot),
|
|
1874
|
-
rng
|
|
1875
|
-
);
|
|
1876
|
-
drawnCards.push(
|
|
1877
|
-
buildResolvedDrawnCard(inquirerSlot, replacement, includeInverted, rng)
|
|
1878
|
-
);
|
|
1879
|
-
}
|
|
1880
|
-
return drawnCards;
|
|
1881
|
-
}
|
|
1882
|
-
function listTarotSpreads() {
|
|
1883
|
-
return TAROT_SPREADS.map(cloneSpreadDefinition);
|
|
1884
|
-
}
|
|
1885
|
-
function getTarotSpread(spreadId) {
|
|
1886
|
-
const spread = TAROT_SPREAD_BY_ID.get(spreadId);
|
|
1887
|
-
return spread ? cloneSpreadDefinition(spread) : void 0;
|
|
1888
|
-
}
|
|
1889
|
-
function validateTarotSpreadSelection(input) {
|
|
1890
|
-
const spread = TAROT_SPREAD_BY_ID.get(input.spreadId);
|
|
1891
|
-
const errors = [];
|
|
1892
|
-
if (!spread) {
|
|
1893
|
-
return {
|
|
1894
|
-
ok: false,
|
|
1895
|
-
isComplete: false,
|
|
1896
|
-
errors: [
|
|
1897
|
-
{
|
|
1898
|
-
code: "UNKNOWN_SPREAD",
|
|
1899
|
-
message: `Unknown tarot spread: ${input.spreadId}.`
|
|
1900
|
-
}
|
|
1901
|
-
],
|
|
1902
|
-
resolvedCards: []
|
|
1903
|
-
};
|
|
1904
|
-
}
|
|
1905
|
-
const slotsByKey = new Map(
|
|
1906
|
-
spread.slots.map((slot) => [slot.slotKey, slot])
|
|
1907
|
-
);
|
|
1908
|
-
const seenCardNumbers = /* @__PURE__ */ new Set();
|
|
1909
|
-
const resolvedCards = [];
|
|
1910
|
-
for (const selectedCard of input.cards) {
|
|
1911
|
-
const slot = slotsByKey.get(selectedCard.slotKey);
|
|
1912
|
-
if (!slot) {
|
|
1913
|
-
errors.push({
|
|
1914
|
-
code: "UNKNOWN_SLOT",
|
|
1915
|
-
slotKey: selectedCard.slotKey,
|
|
1916
|
-
message: `Unknown slot for ${spread.label}: ${selectedCard.slotKey}.`
|
|
1917
|
-
});
|
|
1918
|
-
continue;
|
|
1919
|
-
}
|
|
1920
|
-
const tarotCard = getTarotDeckCardByNumber(selectedCard.cardNumber);
|
|
1921
|
-
if (!tarotCard) {
|
|
1922
|
-
errors.push({
|
|
1923
|
-
code: "CARD_NOT_FOUND",
|
|
1924
|
-
slotKey: selectedCard.slotKey,
|
|
1925
|
-
cardNumber: selectedCard.cardNumber,
|
|
1926
|
-
message: `Unknown tarot card number: ${selectedCard.cardNumber}.`
|
|
1927
|
-
});
|
|
1928
|
-
continue;
|
|
1929
|
-
}
|
|
1930
|
-
if (seenCardNumbers.has(tarotCard.number)) {
|
|
1931
|
-
errors.push({
|
|
1932
|
-
code: "DUPLICATE_CARD",
|
|
1933
|
-
slotKey: selectedCard.slotKey,
|
|
1934
|
-
cardNumber: tarotCard.number,
|
|
1935
|
-
message: `Tarot card ${tarotCard.number} is duplicated across the spread.`
|
|
1936
|
-
});
|
|
1937
|
-
continue;
|
|
1938
|
-
}
|
|
1939
|
-
seenCardNumbers.add(tarotCard.number);
|
|
1940
|
-
resolvedCards.push(
|
|
1941
|
-
resolveTarotSpreadSelectionCard(selectedCard, slot, tarotCard)
|
|
1942
|
-
);
|
|
1943
|
-
}
|
|
1944
|
-
let isComplete = true;
|
|
1945
|
-
for (const slot of spread.slots) {
|
|
1946
|
-
const slotCards = resolvedCards.filter(
|
|
1947
|
-
(selectedCard) => selectedCard.slotKey === slot.slotKey
|
|
1948
|
-
);
|
|
1949
|
-
if (slotCards.length < slot.minCards) {
|
|
1950
|
-
isComplete = false;
|
|
1951
|
-
if (!input.allowPartial) {
|
|
1952
|
-
errors.push({
|
|
1953
|
-
code: "MISSING_REQUIRED_CARDS",
|
|
1954
|
-
slotKey: slot.slotKey,
|
|
1955
|
-
message: `${spread.label} requires ${slot.minCards} card(s) for ${slot.label}.`
|
|
1956
|
-
});
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
if (slotCards.length > slot.maxCards) {
|
|
1960
|
-
isComplete = false;
|
|
1961
|
-
errors.push({
|
|
1962
|
-
code: "TOO_MANY_CARDS",
|
|
1963
|
-
slotKey: slot.slotKey,
|
|
1964
|
-
message: `${spread.label} allows at most ${slot.maxCards} card(s) for ${slot.label}.`
|
|
1965
|
-
});
|
|
1966
|
-
}
|
|
1967
|
-
const validationRule = getTarotSpreadRuleForValidation(slot);
|
|
1968
|
-
for (const slotCard of slotCards) {
|
|
1969
|
-
if (validationRule?.allowedTypes && !validationRule.allowedTypes.includes(slotCard.card.type)) {
|
|
1970
|
-
errors.push({
|
|
1971
|
-
code: "INVALID_CARD_TYPE",
|
|
1972
|
-
slotKey: slot.slotKey,
|
|
1973
|
-
cardNumber: slotCard.card.number,
|
|
1974
|
-
message: `${slot.label} does not accept ${slotCard.card.type} cards.`
|
|
1975
|
-
});
|
|
1976
|
-
}
|
|
1977
|
-
if (validationRule?.requiredRank && getTarotMinorRank(slotCard.card) !== validationRule.requiredRank) {
|
|
1978
|
-
errors.push({
|
|
1979
|
-
code: "INVALID_CARD_RANK",
|
|
1980
|
-
slotKey: slot.slotKey,
|
|
1981
|
-
cardNumber: slotCard.card.number,
|
|
1982
|
-
message: `${slot.label} requires a ${validationRule.requiredRank} minor arcana card.`
|
|
1983
|
-
});
|
|
1984
|
-
}
|
|
1985
|
-
if (validationRule?.allowedCardFilenames && !validationRule.allowedCardFilenames.includes(slotCard.card.tarotCardFilename)) {
|
|
1986
|
-
errors.push({
|
|
1987
|
-
code: "DISALLOWED_CARD",
|
|
1988
|
-
slotKey: slot.slotKey,
|
|
1989
|
-
cardNumber: slotCard.card.number,
|
|
1990
|
-
message: `${slotCard.card.tarotCard} is not allowed in ${slot.label}.`
|
|
1991
|
-
});
|
|
1992
|
-
}
|
|
1993
|
-
if (validationRule?.excludedCardFilenames && validationRule.excludedCardFilenames.includes(slotCard.card.tarotCardFilename)) {
|
|
1994
|
-
errors.push({
|
|
1995
|
-
code: "DISALLOWED_CARD",
|
|
1996
|
-
slotKey: slot.slotKey,
|
|
1997
|
-
cardNumber: slotCard.card.number,
|
|
1998
|
-
message: `${slotCard.card.tarotCard} is excluded from ${slot.label}.`
|
|
1999
|
-
});
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
if (spread.contextRequirements?.includes("inquirerGender") && !input.context?.inquirerGender) {
|
|
2004
|
-
isComplete = false;
|
|
2005
|
-
errors.push({
|
|
2006
|
-
code: "MISSING_CONTEXT",
|
|
2007
|
-
message: `${spread.label} requires \`context.inquirerGender\`.`
|
|
2008
|
-
});
|
|
2009
|
-
}
|
|
2010
|
-
validateEventInquirerCard(spread, resolvedCards, input.context, errors);
|
|
2011
|
-
const sortedResolvedCards = sortResolvedTarotSpreadCards(resolvedCards);
|
|
2012
|
-
return {
|
|
2013
|
-
ok: errors.length === 0,
|
|
2014
|
-
isComplete,
|
|
2015
|
-
spread: cloneSpreadDefinition(spread),
|
|
2016
|
-
resolvedCards: sortedResolvedCards,
|
|
2017
|
-
errors
|
|
2018
|
-
};
|
|
2019
|
-
}
|
|
2020
|
-
function drawTarotSpread(options) {
|
|
2021
|
-
const spread = TAROT_SPREAD_BY_ID.get(options.spreadId);
|
|
2022
|
-
if (!spread) {
|
|
2023
|
-
throw new Error(`Unknown tarot spread: ${options.spreadId}.`);
|
|
2024
|
-
}
|
|
2025
|
-
const rng = options.rng ?? Math.random;
|
|
2026
|
-
const includeInverted = options.includeInverted ?? false;
|
|
2027
|
-
const drawnCards = spread.spreadId === "event-reading" ? drawEventReadingSpread(spread, includeInverted, rng, options.context) : drawDefaultTarotSpread(spread, includeInverted, rng);
|
|
2028
|
-
const validation = validateTarotSpreadSelection({
|
|
2029
|
-
spreadId: spread.spreadId,
|
|
2030
|
-
cards: drawnCards.map((card) => ({
|
|
2031
|
-
slotKey: card.slotKey,
|
|
2032
|
-
cardNumber: card.cardNumber,
|
|
2033
|
-
isInverted: card.isInverted
|
|
2034
|
-
})),
|
|
2035
|
-
context: options.context
|
|
2036
|
-
});
|
|
2037
|
-
if (!validation.ok) {
|
|
2038
|
-
throw new Error(
|
|
2039
|
-
`Generated an invalid tarot spread selection for ${spread.label}: ${validation.errors.map((error) => error.message).join(" ")}`
|
|
2040
|
-
);
|
|
2041
|
-
}
|
|
2042
|
-
return {
|
|
2043
|
-
spread: cloneSpreadDefinition(spread),
|
|
2044
|
-
deckId: options.deckId ?? "rider-waite",
|
|
2045
|
-
context: options.context,
|
|
2046
|
-
cards: sortResolvedTarotSpreadCards(drawnCards)
|
|
2047
|
-
};
|
|
2048
|
-
}
|
|
2049
|
-
function drawConsciousTarotSpread(options) {
|
|
2050
|
-
const spread = TAROT_SPREAD_BY_ID.get(options.spreadId);
|
|
2051
|
-
if (!spread) {
|
|
2052
|
-
throw new Error(`Unknown tarot spread: ${options.spreadId}.`);
|
|
2053
|
-
}
|
|
2054
|
-
const slots = spread.slots.slice().sort((left, right) => left.order - right.order);
|
|
2055
|
-
if (options.indices.length !== slots.length) {
|
|
2056
|
-
throw new Error(
|
|
2057
|
-
`${spread.label} requires ${slots.length} conscious indices; received ${options.indices.length}.`
|
|
2058
|
-
);
|
|
2059
|
-
}
|
|
2060
|
-
const rng = options.rng ?? Math.random;
|
|
2061
|
-
const includeInverted = options.includeInverted ?? false;
|
|
2062
|
-
const drawnCards = slots.map((slot, slotIndex) => {
|
|
2063
|
-
const index = options.indices[slotIndex];
|
|
2064
|
-
const drawRule = getTarotSpreadRuleForDraw(slot);
|
|
2065
|
-
const pool = options.shuffledDeck.filter(
|
|
2066
|
-
(card) => matchesTarotSpreadConstraint(card, drawRule)
|
|
2067
|
-
);
|
|
2068
|
-
if (!Number.isInteger(index) || index < 1) {
|
|
2069
|
-
throw new Error(
|
|
2070
|
-
`${slot.label} conscious index must be a positive integer; received ${index}.`
|
|
2071
|
-
);
|
|
2072
|
-
}
|
|
2073
|
-
if (index > pool.length) {
|
|
2074
|
-
throw new TarotSpreadIndexOutOfPoolError(slot, index, pool.length);
|
|
2075
|
-
}
|
|
2076
|
-
return buildResolvedConsciousCard(
|
|
2077
|
-
slot,
|
|
2078
|
-
pool[index - 1],
|
|
2079
|
-
index,
|
|
2080
|
-
pool.length,
|
|
2081
|
-
includeInverted,
|
|
2082
|
-
rng
|
|
2083
|
-
);
|
|
2084
|
-
});
|
|
2085
|
-
const validation = validateTarotSpreadSelection({
|
|
2086
|
-
spreadId: spread.spreadId,
|
|
2087
|
-
cards: drawnCards.map((card) => ({
|
|
2088
|
-
slotKey: card.slotKey,
|
|
2089
|
-
cardNumber: card.cardNumber,
|
|
2090
|
-
isInverted: card.isInverted
|
|
2091
|
-
})),
|
|
2092
|
-
context: options.context
|
|
2093
|
-
});
|
|
2094
|
-
if (!validation.ok) {
|
|
2095
|
-
throw new Error(
|
|
2096
|
-
`Generated an invalid conscious tarot spread selection for ${spread.label}: ${validation.errors.map((error) => error.message).join(" ")}`
|
|
2097
|
-
);
|
|
2098
|
-
}
|
|
2099
|
-
return {
|
|
2100
|
-
spread: cloneSpreadDefinition(spread),
|
|
2101
|
-
deckId: options.deckId ?? "rider-waite",
|
|
2102
|
-
method: "conscious",
|
|
2103
|
-
context: options.context,
|
|
2104
|
-
cards: sortResolvedTarotSpreadCards(drawnCards)
|
|
2105
|
-
};
|
|
2106
|
-
}
|
|
2107
|
-
|
|
2108
|
-
// src/tarot/index.ts
|
|
2109
|
-
var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
2110
|
-
var shuffleArray = (array, rng = Math.random) => {
|
|
2111
|
-
const newArray = [...array];
|
|
2112
|
-
for (let i = newArray.length - 1; i > 0; i--) {
|
|
2113
|
-
const j = Math.floor(rng() * (i + 1));
|
|
2114
|
-
[newArray[i], newArray[j]] = [newArray[j], newArray[i]];
|
|
2115
|
-
}
|
|
2116
|
-
return newArray;
|
|
2117
|
-
};
|
|
2118
|
-
async function shuffleTarotDeck(cards, includeInvertedCards = false, shuffleCount = 6, shuffleDelay = 300, rng = Math.random) {
|
|
2119
|
-
let shuffledCards = shuffleArray([...cards], rng);
|
|
2120
|
-
if (includeInvertedCards) {
|
|
2121
|
-
const halfIndex = Math.floor(shuffledCards.length / 2);
|
|
2122
|
-
shuffledCards = [
|
|
2123
|
-
...shuffledCards.slice(0, halfIndex).map((card) => ({ ...card, isInverted: true })),
|
|
2124
|
-
...shuffledCards.slice(halfIndex)
|
|
2125
|
-
];
|
|
2126
|
-
}
|
|
2127
|
-
for (let i = 0; i < shuffleCount; i++) {
|
|
2128
|
-
shuffledCards = shuffleArray(shuffledCards, rng);
|
|
2129
|
-
await sleep(shuffleDelay);
|
|
2130
|
-
}
|
|
2131
|
-
return shuffledCards;
|
|
2132
|
-
}
|
|
2133
|
-
var TAROT_IMAGE_BASE_URL = "https://kaabalah-app.s3.us-east-1.amazonaws.com/tarot";
|
|
2134
|
-
var tarotArchetypeCache;
|
|
2135
|
-
var tarotCardProfileCache;
|
|
2136
|
-
function normalizePathSlug(pathSlug) {
|
|
2137
|
-
return pathSlug.trim().replace(/^\/?path\//i, "").toLowerCase();
|
|
2138
|
-
}
|
|
2139
|
-
function normalizeTarotLookupKey(value) {
|
|
2140
|
-
return value.trim().toLowerCase();
|
|
2141
|
-
}
|
|
2142
|
-
var TAROT_ARK_ANNU_ID_BY_NAME = new Map(
|
|
2143
|
-
ARKANNUS.map((card) => [
|
|
2144
|
-
normalizeTarotLookupKey(card.tarotCard),
|
|
2145
|
-
chunkQ7YAKPBH_js.id("tarotArkAnnu" /* TAROT_ARK_ANNU */, card.tarotCard)
|
|
2146
|
-
])
|
|
2147
|
-
);
|
|
2148
|
-
var TAROT_ARK_ANNU_ID_BY_FILENAME = new Map(
|
|
2149
|
-
ARKANNUS.map((card) => [
|
|
2150
|
-
normalizeTarotLookupKey(card.tarotCardFilename),
|
|
2151
|
-
chunkQ7YAKPBH_js.id("tarotArkAnnu" /* TAROT_ARK_ANNU */, card.tarotCard)
|
|
2152
|
-
])
|
|
2153
|
-
);
|
|
2154
|
-
var TAROT_COURT_RANKS = [
|
|
2155
|
-
"king",
|
|
2156
|
-
"queen",
|
|
2157
|
-
"knight",
|
|
2158
|
-
"page"
|
|
2159
|
-
];
|
|
2160
|
-
var MAJOR_ARCANA_CARDS = ARKANNUS.filter(
|
|
2161
|
-
(card) => card.type === "major" && majorArcana.includes(card.tarotCardFilename)
|
|
2162
|
-
);
|
|
2163
|
-
function toTarotCardKind(card) {
|
|
2164
|
-
if (card.type === "major") {
|
|
2165
|
-
return "major";
|
|
2166
|
-
}
|
|
2167
|
-
return card.type === "minor" ? "minor" : "court";
|
|
2168
|
-
}
|
|
2169
|
-
function toTarotCourtRank(card) {
|
|
2170
|
-
if (card.type !== "daat+royalship") {
|
|
2171
|
-
return void 0;
|
|
2172
|
-
}
|
|
2173
|
-
const [rank] = card.tarotCardFilename.split("_");
|
|
2174
|
-
return TAROT_COURT_RANKS.includes(rank) ? rank : void 0;
|
|
2175
|
-
}
|
|
2176
|
-
function toTarotAssetPathType(card) {
|
|
2177
|
-
return card.type;
|
|
2178
|
-
}
|
|
2179
|
-
function buildTarotAssetPath(card) {
|
|
2180
|
-
if (card.assetPathType === "major") {
|
|
2181
|
-
return `major/${card.tarotCardFilename}`;
|
|
2182
|
-
}
|
|
2183
|
-
if (!card.suit) {
|
|
2184
|
-
throw new Error(
|
|
2185
|
-
`Missing suit metadata required to resolve tarot image path for ${card.tarotCardName}.`
|
|
2186
|
-
);
|
|
2187
|
-
}
|
|
2188
|
-
return `${card.assetPathType}/${card.suit}/${card.tarotCardFilename}`;
|
|
2189
|
-
}
|
|
2190
|
-
function toAstrologyCorrespondence(node) {
|
|
2191
|
-
return {
|
|
2192
|
-
type: node.type,
|
|
2193
|
-
id: node.id,
|
|
2194
|
-
label: chunkQ7YAKPBH_js.parseId(node.id)
|
|
2195
|
-
};
|
|
2196
|
-
}
|
|
2197
|
-
function getTarotCorrespondenceTree(treeId = DEFAULT_TAROT_TREE_ID) {
|
|
2198
|
-
return chunk47BAJUYW_js.getCanonicalTree({
|
|
2199
|
-
system: treeId,
|
|
2200
|
-
parts: ["westernAstrology", "tarot"]
|
|
2201
|
-
});
|
|
2202
|
-
}
|
|
2203
|
-
function getCorrespondenceNodes(tree, sourceId, type, depth = 1, limit) {
|
|
2204
|
-
return tree.getCorrespondences(sourceId, {
|
|
2205
|
-
type,
|
|
2206
|
-
depth,
|
|
2207
|
-
limit
|
|
2208
|
-
}).map(({ node }) => node);
|
|
2209
|
-
}
|
|
2210
|
-
function getFirstCorrespondenceNode(tree, sourceId, type, depth = 1) {
|
|
2211
|
-
return getCorrespondenceNodes(tree, sourceId, type, depth, 1)[0];
|
|
2212
|
-
}
|
|
2213
|
-
function toCorrespondenceNode(node) {
|
|
2214
|
-
if (!node) {
|
|
2215
|
-
return void 0;
|
|
2216
|
-
}
|
|
2217
|
-
return {
|
|
2218
|
-
id: node.id,
|
|
2219
|
-
label: chunkQ7YAKPBH_js.parseId(node.id)
|
|
2220
|
-
};
|
|
2221
|
-
}
|
|
2222
|
-
function toUniqueCorrespondenceNodes(nodes) {
|
|
2223
|
-
const seen = /* @__PURE__ */ new Set();
|
|
2224
|
-
return nodes.flatMap((node) => {
|
|
2225
|
-
const key = String(node.id);
|
|
2226
|
-
if (seen.has(key)) {
|
|
2227
|
-
return [];
|
|
2228
|
-
}
|
|
2229
|
-
seen.add(key);
|
|
2230
|
-
return [toCorrespondenceNode(node)];
|
|
2231
|
-
});
|
|
2232
|
-
}
|
|
2233
|
-
function toTarotCorrespondenceProfileBase(card) {
|
|
2234
|
-
return {
|
|
2235
|
-
tarotArkAnnuId: card.tarotArkAnnuId,
|
|
2236
|
-
tarotCardNumber: card.tarotCardNumber,
|
|
2237
|
-
tarotCardName: card.tarotCardName,
|
|
2238
|
-
tarotCardFilename: card.tarotCardFilename,
|
|
2239
|
-
tarotMeaning: card.tarotMeaning,
|
|
2240
|
-
suit: card.suit
|
|
2241
|
-
};
|
|
2242
|
-
}
|
|
2243
|
-
function resolveTarotCardProfileForTree(lookup, treeId = DEFAULT_TAROT_TREE_ID) {
|
|
2244
|
-
if ("tarotCardNumber" in lookup) {
|
|
2245
|
-
return getTarotCardByNumber(lookup.tarotCardNumber, treeId);
|
|
2246
|
-
}
|
|
2247
|
-
return getTarotCardProfile(lookup);
|
|
2248
|
-
}
|
|
2249
|
-
function buildMajorCorrespondenceProfile(card, tree) {
|
|
2250
|
-
const pathNode = getFirstCorrespondenceNode(
|
|
2251
|
-
tree,
|
|
2252
|
-
card.tarotArkAnnuId,
|
|
2253
|
-
"path" /* PATH */
|
|
2254
|
-
);
|
|
2255
|
-
const hebrewLetterNode = pathNode ? getFirstCorrespondenceNode(
|
|
2256
|
-
tree,
|
|
2257
|
-
pathNode.id,
|
|
2258
|
-
"hebrewLetter" /* HEBREW_LETTER */
|
|
2259
|
-
) : void 0;
|
|
2260
|
-
const pathNumberNode = pathNode ? getFirstCorrespondenceNode(tree, pathNode.id, "number" /* NUMBER */) : void 0;
|
|
2261
|
-
const pathNumber = pathNumberNode ? Number.parseInt(chunkQ7YAKPBH_js.parseId(pathNumberNode.id), 10) : Number.NaN;
|
|
2262
|
-
const fromSphereNode = pathNode?.data?.from ? tree.getNode(pathNode.data.from) : void 0;
|
|
2263
|
-
const toSphereNode = pathNode?.data?.to ? tree.getNode(pathNode.data.to) : void 0;
|
|
2264
|
-
if (!pathNode || !hebrewLetterNode || !fromSphereNode || !toSphereNode || !Number.isFinite(pathNumber)) {
|
|
2265
|
-
return void 0;
|
|
2266
|
-
}
|
|
2267
|
-
return {
|
|
2268
|
-
...toTarotCorrespondenceProfileBase(card),
|
|
2269
|
-
kind: "major",
|
|
2270
|
-
correspondences: {
|
|
2271
|
-
astrology: getCorrespondenceNodes(
|
|
2272
|
-
tree,
|
|
2273
|
-
pathNode.id,
|
|
2274
|
-
[
|
|
2275
|
-
"westernElement" /* WESTERN_ELEMENT */,
|
|
2276
|
-
"planet" /* PLANET */,
|
|
2277
|
-
"westernZodiacSign" /* WESTERN_ZODIAC_SIGN */
|
|
2278
|
-
]
|
|
2279
|
-
).map(
|
|
2280
|
-
(node) => toAstrologyCorrespondence(
|
|
2281
|
-
node
|
|
2282
|
-
)
|
|
2283
|
-
),
|
|
2284
|
-
path: {
|
|
2285
|
-
pathId: pathNode.id,
|
|
2286
|
-
pathNumber,
|
|
2287
|
-
pathSlug: chunkQ7YAKPBH_js.parseId(hebrewLetterNode.id).toLowerCase(),
|
|
2288
|
-
meaning: pathNode.data?.meaning,
|
|
2289
|
-
hebrewLetter: toCorrespondenceNode(hebrewLetterNode),
|
|
2290
|
-
fromSphere: toCorrespondenceNode(
|
|
2291
|
-
fromSphereNode
|
|
2292
|
-
),
|
|
2293
|
-
toSphere: toCorrespondenceNode(
|
|
2294
|
-
toSphereNode
|
|
2295
|
-
)
|
|
2296
|
-
}
|
|
2297
|
-
}
|
|
2298
|
-
};
|
|
2299
|
-
}
|
|
2300
|
-
function buildCourtCorrespondenceProfile(card, tree) {
|
|
2301
|
-
const suitNode = getFirstCorrespondenceNode(
|
|
2302
|
-
tree,
|
|
2303
|
-
card.tarotArkAnnuId,
|
|
2304
|
-
"tarotSuit" /* TAROT_SUIT */
|
|
2305
|
-
);
|
|
2306
|
-
if (!card.courtRank) {
|
|
2307
|
-
return void 0;
|
|
2308
|
-
}
|
|
2309
|
-
if (card.courtRank === "page") {
|
|
2310
|
-
const elementNode = suitNode ? getFirstCorrespondenceNode(
|
|
2311
|
-
tree,
|
|
2312
|
-
suitNode.id,
|
|
2313
|
-
"westernElement" /* WESTERN_ELEMENT */
|
|
2314
|
-
) : void 0;
|
|
2315
|
-
if (!elementNode) {
|
|
2316
|
-
return void 0;
|
|
2317
|
-
}
|
|
2318
|
-
return {
|
|
2319
|
-
...toTarotCorrespondenceProfileBase(card),
|
|
2320
|
-
kind: "court",
|
|
2321
|
-
courtRank: "page",
|
|
2322
|
-
correspondences: {
|
|
2323
|
-
element: toCorrespondenceNode(elementNode)
|
|
2324
|
-
}
|
|
2325
|
-
};
|
|
2326
|
-
}
|
|
2327
|
-
const signNode = getFirstCorrespondenceNode(
|
|
2328
|
-
tree,
|
|
2329
|
-
card.tarotArkAnnuId,
|
|
2330
|
-
"westernZodiacSign" /* WESTERN_ZODIAC_SIGN */
|
|
2331
|
-
);
|
|
2332
|
-
if (!signNode) {
|
|
2333
|
-
return void 0;
|
|
2334
|
-
}
|
|
2335
|
-
return {
|
|
2336
|
-
...toTarotCorrespondenceProfileBase(card),
|
|
2337
|
-
kind: "court",
|
|
2338
|
-
courtRank: card.courtRank,
|
|
2339
|
-
correspondences: {
|
|
2340
|
-
sign: toCorrespondenceNode(signNode),
|
|
2341
|
-
planets: toUniqueCorrespondenceNodes(
|
|
2342
|
-
getCorrespondenceNodes(
|
|
2343
|
-
tree,
|
|
2344
|
-
signNode.id,
|
|
2345
|
-
"planet" /* PLANET */
|
|
2346
|
-
)
|
|
2347
|
-
)
|
|
2348
|
-
}
|
|
2349
|
-
};
|
|
2350
|
-
}
|
|
2351
|
-
function buildMinorCorrespondenceProfile(card, tree) {
|
|
2352
|
-
const sphereNode = getFirstCorrespondenceNode(
|
|
2353
|
-
tree,
|
|
2354
|
-
card.tarotArkAnnuId,
|
|
2355
|
-
"sphere" /* SPHERE */
|
|
2356
|
-
);
|
|
2357
|
-
if (!sphereNode) {
|
|
2358
|
-
return void 0;
|
|
2359
|
-
}
|
|
2360
|
-
return {
|
|
2361
|
-
...toTarotCorrespondenceProfileBase(card),
|
|
2362
|
-
kind: "minor",
|
|
2363
|
-
correspondences: {
|
|
2364
|
-
sphere: toCorrespondenceNode(sphereNode),
|
|
2365
|
-
planets: toUniqueCorrespondenceNodes(
|
|
2366
|
-
getCorrespondenceNodes(tree, sphereNode.id, "planet" /* PLANET */)
|
|
2367
|
-
)
|
|
2368
|
-
}
|
|
2369
|
-
};
|
|
2370
|
-
}
|
|
2371
|
-
function buildDescriptionsByDeck(tarotArkAnnu) {
|
|
2372
|
-
const descriptions = {};
|
|
2373
|
-
for (const deck of TAROT_DECK_METADATA) {
|
|
2374
|
-
if (!deck.descriptiveDataKey) {
|
|
2375
|
-
continue;
|
|
2376
|
-
}
|
|
2377
|
-
const description = tarotArkAnnu.data?.descriptiveData?.[deck.descriptiveDataKey];
|
|
2378
|
-
if (!description) {
|
|
2379
|
-
continue;
|
|
2380
|
-
}
|
|
2381
|
-
descriptions[deck.id] = { ...description };
|
|
2382
|
-
}
|
|
2383
|
-
return descriptions;
|
|
2384
|
-
}
|
|
2385
|
-
function getTarotArchetypeCache() {
|
|
2386
|
-
if (tarotArchetypeCache) {
|
|
2387
|
-
return tarotArchetypeCache;
|
|
2388
|
-
}
|
|
2389
|
-
const tree = chunk47BAJUYW_js.getCanonicalTree({
|
|
2390
|
-
system: "kaabalah",
|
|
2391
|
-
parts: ["westernAstrology", "tarot"]
|
|
2392
|
-
});
|
|
2393
|
-
const archetypes = MAJOR_ARCANA_CARDS.map((card) => {
|
|
2394
|
-
const pathId = chunkQ7YAKPBH_js.id("path" /* PATH */, card.number);
|
|
2395
|
-
const path = tree.getNode(pathId);
|
|
2396
|
-
const hebrewLetter = tree.getCorrespondences(pathId, {
|
|
2397
|
-
type: "hebrewLetter" /* HEBREW_LETTER */,
|
|
2398
|
-
limit: 1
|
|
2399
|
-
})[0]?.node;
|
|
2400
|
-
const tarotArkAnnu = tree.getCorrespondences(pathId, {
|
|
2401
|
-
type: "tarotArkAnnu" /* TAROT_ARK_ANNU */,
|
|
2402
|
-
limit: 1
|
|
2403
|
-
})[0]?.node;
|
|
2404
|
-
if (!path || !hebrewLetter || !tarotArkAnnu) {
|
|
2405
|
-
throw new Error(
|
|
2406
|
-
`Missing canonical tarot archetype metadata for ${pathId}.`
|
|
2407
|
-
);
|
|
2408
|
-
}
|
|
2409
|
-
const astrology = tree.getCorrespondences(pathId, {
|
|
2410
|
-
type: [
|
|
2411
|
-
"westernElement" /* WESTERN_ELEMENT */,
|
|
2412
|
-
"planet" /* PLANET */,
|
|
2413
|
-
"westernZodiacSign" /* WESTERN_ZODIAC_SIGN */
|
|
2414
|
-
]
|
|
2415
|
-
}).map(
|
|
2416
|
-
({ node }) => toAstrologyCorrespondence(
|
|
2417
|
-
node
|
|
2418
|
-
)
|
|
2419
|
-
);
|
|
2420
|
-
const descriptionsByDeck = buildDescriptionsByDeck(tarotArkAnnu);
|
|
2421
|
-
return {
|
|
2422
|
-
canonicalId: pathId,
|
|
2423
|
-
kind: "major",
|
|
2424
|
-
pathId,
|
|
2425
|
-
pathNumber: card.number,
|
|
2426
|
-
pathSlug: chunkQ7YAKPBH_js.parseId(hebrewLetter.id).toLowerCase(),
|
|
2427
|
-
hebrewLetterId: hebrewLetter.id,
|
|
2428
|
-
hebrewLetter: chunkQ7YAKPBH_js.parseId(hebrewLetter.id),
|
|
2429
|
-
pathMeaning: path.data?.meaning,
|
|
2430
|
-
tarotArkAnnuId: tarotArkAnnu.id,
|
|
2431
|
-
tarotCardNumber: card.number,
|
|
2432
|
-
tarotCardName: chunkQ7YAKPBH_js.parseId(tarotArkAnnu.id),
|
|
2433
|
-
tarotCardFilename: card.tarotCardFilename,
|
|
2434
|
-
tarotMeaning: descriptionsByDeck.papus_pt?.meaning ?? card.meaning,
|
|
2435
|
-
astrology,
|
|
2436
|
-
availableDeckIds: TAROT_DECK_METADATA.map((deck) => deck.id),
|
|
2437
|
-
descriptionsByDeck
|
|
2438
|
-
};
|
|
2439
|
-
});
|
|
2440
|
-
tarotArchetypeCache = {
|
|
2441
|
-
archetypes,
|
|
2442
|
-
byPathId: new Map(archetypes.map((archetype) => [archetype.pathId, archetype])),
|
|
2443
|
-
byPathSlug: new Map(
|
|
2444
|
-
archetypes.map((archetype) => [archetype.pathSlug, archetype])
|
|
2445
|
-
),
|
|
2446
|
-
byTarotCardFilename: new Map(
|
|
2447
|
-
archetypes.map((archetype) => [archetype.tarotCardFilename, archetype])
|
|
2448
|
-
),
|
|
2449
|
-
byTarotCardNumber: new Map(
|
|
2450
|
-
archetypes.map((archetype) => [archetype.tarotCardNumber, archetype])
|
|
2451
|
-
)
|
|
2452
|
-
};
|
|
2453
|
-
return tarotArchetypeCache;
|
|
2454
|
-
}
|
|
2455
|
-
function getTarotCardProfileCache() {
|
|
2456
|
-
if (tarotCardProfileCache) {
|
|
2457
|
-
return tarotCardProfileCache;
|
|
2458
|
-
}
|
|
2459
|
-
const tree = chunk47BAJUYW_js.getCanonicalTree({
|
|
2460
|
-
system: "kaabalah",
|
|
2461
|
-
parts: ["westernAstrology", "tarot"]
|
|
2462
|
-
});
|
|
2463
|
-
const availableDeckIds = TAROT_DECK_METADATA.map((deck) => deck.id);
|
|
2464
|
-
const profiles = ARKANNUS.map((card) => {
|
|
2465
|
-
const tarotArkAnnuId = chunkQ7YAKPBH_js.id("tarotArkAnnu" /* TAROT_ARK_ANNU */, card.tarotCard);
|
|
2466
|
-
const tarotArkAnnu = tree.getNode(tarotArkAnnuId);
|
|
2467
|
-
if (!tarotArkAnnu) {
|
|
2468
|
-
throw new Error(`Missing canonical tarot metadata for ${tarotArkAnnuId}.`);
|
|
2469
|
-
}
|
|
2470
|
-
const descriptionsByDeck = buildDescriptionsByDeck(tarotArkAnnu);
|
|
2471
|
-
return {
|
|
2472
|
-
tarotArkAnnuId,
|
|
2473
|
-
tarotCardNumber: card.number,
|
|
2474
|
-
tarotCardName: card.tarotCard,
|
|
2475
|
-
tarotCardFilename: card.tarotCardFilename,
|
|
2476
|
-
tarotMeaning: descriptionsByDeck.papus_pt?.meaning ?? card.meaning,
|
|
2477
|
-
kind: toTarotCardKind(card),
|
|
2478
|
-
assetPathType: toTarotAssetPathType(card),
|
|
2479
|
-
suit: card.suit,
|
|
2480
|
-
courtRank: toTarotCourtRank(card),
|
|
2481
|
-
availableDeckIds,
|
|
2482
|
-
descriptionsByDeck
|
|
2483
|
-
};
|
|
2484
|
-
});
|
|
2485
|
-
tarotCardProfileCache = {
|
|
2486
|
-
profiles,
|
|
2487
|
-
byTarotArkAnnuId: new Map(
|
|
2488
|
-
profiles.map((profile) => [String(profile.tarotArkAnnuId), profile])
|
|
2489
|
-
),
|
|
2490
|
-
byTarotCardName: new Map(
|
|
2491
|
-
profiles.map((profile) => [
|
|
2492
|
-
normalizeTarotLookupKey(profile.tarotCardName),
|
|
2493
|
-
profile
|
|
2494
|
-
])
|
|
2495
|
-
),
|
|
2496
|
-
byTarotCardFilename: new Map(
|
|
2497
|
-
profiles.map((profile) => [
|
|
2498
|
-
normalizeTarotLookupKey(profile.tarotCardFilename),
|
|
2499
|
-
profile
|
|
2500
|
-
])
|
|
2501
|
-
),
|
|
2502
|
-
byTarotCardNumber: new Map(
|
|
2503
|
-
profiles.map((profile) => [profile.tarotCardNumber, profile])
|
|
2504
|
-
)
|
|
2505
|
-
};
|
|
2506
|
-
return tarotCardProfileCache;
|
|
2507
|
-
}
|
|
2508
|
-
function buildTarotRepresentation(card, deck) {
|
|
2509
|
-
const description = card.descriptionsByDeck[deck.id];
|
|
2510
|
-
const assetPath = buildTarotAssetPath(card);
|
|
2511
|
-
const imageUrl = `${TAROT_IMAGE_BASE_URL}/${deck.id}/${assetPath}.jpg`;
|
|
2512
|
-
return {
|
|
2513
|
-
card,
|
|
2514
|
-
archetype: card.kind === "major" ? getTarotArchetype({ tarotCardNumber: card.tarotCardNumber }) : void 0,
|
|
2515
|
-
deck: { id: deck.id, label: deck.label },
|
|
2516
|
-
assetPath,
|
|
2517
|
-
imageUrl,
|
|
2518
|
-
label: `${card.tarotCardName} - ${deck.label}`,
|
|
2519
|
-
altText: `${card.tarotCardName} - ${deck.label}`,
|
|
2520
|
-
cardLabel: description?.name ?? card.tarotCardName,
|
|
2521
|
-
description
|
|
2522
|
-
};
|
|
2523
|
-
}
|
|
2524
|
-
function resolveTarotArkAnnuId(lookup) {
|
|
2525
|
-
if ("pathSlug" in lookup || "pathId" in lookup) {
|
|
2526
|
-
return getTarotArchetype(lookup)?.tarotArkAnnuId;
|
|
2527
|
-
}
|
|
2528
|
-
if ("tarotArkAnnuId" in lookup) {
|
|
2529
|
-
return lookup.tarotArkAnnuId;
|
|
2530
|
-
}
|
|
2531
|
-
if ("tarotCardName" in lookup) {
|
|
2532
|
-
return TAROT_ARK_ANNU_ID_BY_NAME.get(
|
|
2533
|
-
normalizeTarotLookupKey(lookup.tarotCardName)
|
|
2534
|
-
);
|
|
2535
|
-
}
|
|
2536
|
-
if ("tarotCardFilename" in lookup) {
|
|
2537
|
-
return TAROT_ARK_ANNU_ID_BY_FILENAME.get(
|
|
2538
|
-
normalizeTarotLookupKey(lookup.tarotCardFilename)
|
|
2539
|
-
);
|
|
2540
|
-
}
|
|
2541
|
-
return void 0;
|
|
2542
|
-
}
|
|
2543
|
-
function getTarotCardProfile(lookup) {
|
|
2544
|
-
const cache = getTarotCardProfileCache();
|
|
2545
|
-
if ("pathSlug" in lookup || "pathId" in lookup) {
|
|
2546
|
-
const archetype = getTarotArchetype(lookup);
|
|
2547
|
-
return archetype ? cache.byTarotCardNumber.get(archetype.tarotCardNumber) : void 0;
|
|
2548
|
-
}
|
|
2549
|
-
if ("tarotArkAnnuId" in lookup) {
|
|
2550
|
-
return cache.byTarotArkAnnuId.get(String(lookup.tarotArkAnnuId));
|
|
2551
|
-
}
|
|
2552
|
-
if ("tarotCardName" in lookup) {
|
|
2553
|
-
return cache.byTarotCardName.get(
|
|
2554
|
-
normalizeTarotLookupKey(lookup.tarotCardName)
|
|
2555
|
-
);
|
|
2556
|
-
}
|
|
2557
|
-
if ("tarotCardFilename" in lookup) {
|
|
2558
|
-
return cache.byTarotCardFilename.get(
|
|
2559
|
-
normalizeTarotLookupKey(lookup.tarotCardFilename)
|
|
2560
|
-
);
|
|
2561
|
-
}
|
|
2562
|
-
return getTarotCardByNumber(lookup.tarotCardNumber);
|
|
2563
|
-
}
|
|
2564
|
-
function listTarotDecks() {
|
|
2565
|
-
return TAROT_DECK_METADATA.map(({ id: id2, label }) => ({ id: id2, label }));
|
|
2566
|
-
}
|
|
2567
|
-
function listTarotTrees() {
|
|
2568
|
-
return [...TAROT_TREE_IDS];
|
|
2569
|
-
}
|
|
2570
|
-
function getTarotCardNumber(lookup, treeId = DEFAULT_TAROT_TREE_ID) {
|
|
2571
|
-
if ("tarotCardNumber" in lookup) {
|
|
2572
|
-
return getTarotCardByNumber(lookup.tarotCardNumber, treeId)?.tarotCardNumber;
|
|
2573
|
-
}
|
|
2574
|
-
const tarotArkAnnuId = resolveTarotArkAnnuId(lookup);
|
|
2575
|
-
if (!tarotArkAnnuId) {
|
|
2576
|
-
return void 0;
|
|
2577
|
-
}
|
|
2578
|
-
return getDirectTarotCardNumber(tarotArkAnnuId, treeId);
|
|
2579
|
-
}
|
|
2580
|
-
function getTarotCardByNumber(cardNumber, treeId = DEFAULT_TAROT_TREE_ID) {
|
|
2581
|
-
const tree = getTarotTreeWorkspace(treeId);
|
|
2582
|
-
if (!tree) {
|
|
2583
|
-
return void 0;
|
|
2584
|
-
}
|
|
2585
|
-
const match = tree.getCorrespondences(chunkQ7YAKPBH_js.id("number" /* NUMBER */, cardNumber), {
|
|
2586
|
-
type: "tarotArkAnnu" /* TAROT_ARK_ANNU */,
|
|
2587
|
-
depth: 1,
|
|
2588
|
-
limit: 1
|
|
2589
|
-
})[0];
|
|
2590
|
-
if (!match) {
|
|
2591
|
-
return void 0;
|
|
2592
|
-
}
|
|
2593
|
-
const profile = getTarotCardProfile({
|
|
2594
|
-
tarotArkAnnuId: match.node.id
|
|
2595
|
-
});
|
|
2596
|
-
if (!profile || profile.tarotCardNumber === cardNumber) {
|
|
2597
|
-
return profile;
|
|
2598
|
-
}
|
|
2599
|
-
return {
|
|
2600
|
-
...profile,
|
|
2601
|
-
tarotCardNumber: cardNumber
|
|
2602
|
-
};
|
|
2603
|
-
}
|
|
2604
|
-
function getTarotArchetype(lookup) {
|
|
2605
|
-
const cache = getTarotArchetypeCache();
|
|
2606
|
-
if ("pathSlug" in lookup) {
|
|
2607
|
-
return cache.byPathSlug.get(normalizePathSlug(lookup.pathSlug));
|
|
2608
|
-
}
|
|
2609
|
-
if ("pathId" in lookup) {
|
|
2610
|
-
return cache.byPathId.get(String(lookup.pathId));
|
|
2611
|
-
}
|
|
2612
|
-
if ("tarotCardFilename" in lookup) {
|
|
2613
|
-
return cache.byTarotCardFilename.get(
|
|
2614
|
-
lookup.tarotCardFilename.toLowerCase()
|
|
2615
|
-
);
|
|
2616
|
-
}
|
|
2617
|
-
return cache.byTarotCardNumber.get(lookup.tarotCardNumber);
|
|
2618
|
-
}
|
|
2619
|
-
function getTarotCorrespondenceProfile(lookup, treeId = DEFAULT_TAROT_TREE_ID) {
|
|
2620
|
-
const card = resolveTarotCardProfileForTree(lookup, treeId);
|
|
2621
|
-
if (!card) {
|
|
2622
|
-
return void 0;
|
|
2623
|
-
}
|
|
2624
|
-
const tree = getTarotCorrespondenceTree(treeId);
|
|
2625
|
-
switch (card.kind) {
|
|
2626
|
-
case "major":
|
|
2627
|
-
return buildMajorCorrespondenceProfile(card, tree);
|
|
2628
|
-
case "court":
|
|
2629
|
-
return buildCourtCorrespondenceProfile(card, tree);
|
|
2630
|
-
case "minor":
|
|
2631
|
-
return buildMinorCorrespondenceProfile(card, tree);
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
function getTarotRepresentations(lookup) {
|
|
2635
|
-
const card = getTarotCardProfile(lookup);
|
|
2636
|
-
if (!card) {
|
|
2637
|
-
return [];
|
|
2638
|
-
}
|
|
2639
|
-
return TAROT_DECK_METADATA.map(
|
|
2640
|
-
(deck) => buildTarotRepresentation(card, deck)
|
|
2641
|
-
);
|
|
2642
|
-
}
|
|
2643
|
-
function getTarotRepresentation(lookup, deckId) {
|
|
2644
|
-
const card = getTarotCardProfile(lookup);
|
|
2645
|
-
const deck = TAROT_DECK_METADATA.find((candidate) => candidate.id === deckId);
|
|
2646
|
-
if (!card || !deck) {
|
|
2647
|
-
return void 0;
|
|
2648
|
-
}
|
|
2649
|
-
return buildTarotRepresentation(card, deck);
|
|
2650
|
-
}
|
|
2651
|
-
function resolveTarotImageUrl(lookup, deckId) {
|
|
2652
|
-
return getTarotRepresentation(lookup, deckId)?.imageUrl;
|
|
2653
|
-
}
|
|
2654
|
-
|
|
2655
|
-
exports.ARKANNUS = ARKANNUS;
|
|
2656
|
-
exports.DEFAULT_TAROT_TREE_ID = DEFAULT_TAROT_TREE_ID;
|
|
2657
|
-
exports.TAROT_IMAGE_BASE_URL = TAROT_IMAGE_BASE_URL;
|
|
2658
|
-
exports.TAROT_TREE_IDS = TAROT_TREE_IDS;
|
|
2659
|
-
exports.TarotSpreadIndexOutOfPoolError = TarotSpreadIndexOutOfPoolError;
|
|
2660
|
-
exports.drawConsciousTarotSpread = drawConsciousTarotSpread;
|
|
2661
|
-
exports.drawTarotSpread = drawTarotSpread;
|
|
2662
|
-
exports.getTarotArchetype = getTarotArchetype;
|
|
2663
|
-
exports.getTarotCardByNumber = getTarotCardByNumber;
|
|
2664
|
-
exports.getTarotCardNumber = getTarotCardNumber;
|
|
2665
|
-
exports.getTarotCardProfile = getTarotCardProfile;
|
|
2666
|
-
exports.getTarotCorrespondenceProfile = getTarotCorrespondenceProfile;
|
|
2667
|
-
exports.getTarotRepresentation = getTarotRepresentation;
|
|
2668
|
-
exports.getTarotRepresentations = getTarotRepresentations;
|
|
2669
|
-
exports.getTarotSpread = getTarotSpread;
|
|
2670
|
-
exports.listTarotDecks = listTarotDecks;
|
|
2671
|
-
exports.listTarotSpreads = listTarotSpreads;
|
|
2672
|
-
exports.listTarotTrees = listTarotTrees;
|
|
2673
|
-
exports.majorArcana = majorArcana;
|
|
2674
|
-
exports.resolveTarotImageUrl = resolveTarotImageUrl;
|
|
2675
|
-
exports.shuffleTarotDeck = shuffleTarotDeck;
|
|
2676
|
-
exports.validateTarotSpreadSelection = validateTarotSpreadSelection;
|
|
2677
|
-
//# sourceMappingURL=out.js.map
|
|
2678
|
-
//# sourceMappingURL=chunk-GET23WEG.js.map
|