@siladev/qalam 0.1.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.
Files changed (68) hide show
  1. package/dist/HafsSmart_08.ttf +0 -0
  2. package/dist/QalamEditor-DlA4iLRR.js +18519 -0
  3. package/dist/QalamRenderer-CMsfcF02.js +306 -0
  4. package/dist/Symbols1_Ver02.otf +0 -0
  5. package/dist/editor/QalamEditor.d.ts +16 -0
  6. package/dist/editor/QalamEditor.d.ts.map +1 -0
  7. package/dist/editor/components/HadithRefView.d.ts +3 -0
  8. package/dist/editor/components/HadithRefView.d.ts.map +1 -0
  9. package/dist/editor/components/PoemView.d.ts +3 -0
  10. package/dist/editor/components/PoemView.d.ts.map +1 -0
  11. package/dist/editor/components/QuranRefPopover.d.ts +10 -0
  12. package/dist/editor/components/QuranRefPopover.d.ts.map +1 -0
  13. package/dist/editor/components/QuranRefView.d.ts +3 -0
  14. package/dist/editor/components/QuranRefView.d.ts.map +1 -0
  15. package/dist/editor/components/Toolbar.d.ts +12 -0
  16. package/dist/editor/components/Toolbar.d.ts.map +1 -0
  17. package/dist/editor/extensions/blockquote-repeat.d.ts +2 -0
  18. package/dist/editor/extensions/blockquote-repeat.d.ts.map +1 -0
  19. package/dist/editor/extensions/hadith-ref.d.ts +13 -0
  20. package/dist/editor/extensions/hadith-ref.d.ts.map +1 -0
  21. package/dist/editor/extensions/inline-repeat.d.ts +3 -0
  22. package/dist/editor/extensions/inline-repeat.d.ts.map +1 -0
  23. package/dist/editor/extensions/ordered-list.d.ts +9 -0
  24. package/dist/editor/extensions/ordered-list.d.ts.map +1 -0
  25. package/dist/editor/extensions/paragraph-repeat.d.ts +2 -0
  26. package/dist/editor/extensions/paragraph-repeat.d.ts.map +1 -0
  27. package/dist/editor/extensions/poem.d.ts +12 -0
  28. package/dist/editor/extensions/poem.d.ts.map +1 -0
  29. package/dist/editor/extensions/prophetic-speech.d.ts +3 -0
  30. package/dist/editor/extensions/prophetic-speech.d.ts.map +1 -0
  31. package/dist/editor/extensions/quran-ref.d.ts +21 -0
  32. package/dist/editor/extensions/quran-ref.d.ts.map +1 -0
  33. package/dist/editor/extensions/strict-schema.d.ts +7 -0
  34. package/dist/editor/extensions/strict-schema.d.ts.map +1 -0
  35. package/dist/editor/index.d.ts +4 -0
  36. package/dist/editor/index.d.ts.map +1 -0
  37. package/dist/editor/index.js +5 -0
  38. package/dist/index.d.ts +5 -0
  39. package/dist/index.d.ts.map +1 -0
  40. package/dist/index.js +11 -0
  41. package/dist/lookup-C2v6jsEw.js +738 -0
  42. package/dist/quran/index.d.ts +3 -0
  43. package/dist/quran/index.d.ts.map +1 -0
  44. package/dist/quran/lookup.d.ts +9 -0
  45. package/dist/quran/lookup.d.ts.map +1 -0
  46. package/dist/quran/types.d.ts +43 -0
  47. package/dist/quran/types.d.ts.map +1 -0
  48. package/dist/quran-data.json +1 -0
  49. package/dist/renderer/QalamRenderer.d.ts +9 -0
  50. package/dist/renderer/QalamRenderer.d.ts.map +1 -0
  51. package/dist/renderer/index.d.ts +2 -0
  52. package/dist/renderer/index.d.ts.map +1 -0
  53. package/dist/renderer/index.js +4 -0
  54. package/dist/renderer/tatweel.d.ts +11 -0
  55. package/dist/renderer/tatweel.d.ts.map +1 -0
  56. package/dist/resolver/index.d.ts +2 -0
  57. package/dist/resolver/index.d.ts.map +1 -0
  58. package/dist/resolver/index.js +72 -0
  59. package/dist/resolver/resolve.d.ts +3 -0
  60. package/dist/resolver/resolve.d.ts.map +1 -0
  61. package/dist/schema/index.d.ts +3 -0
  62. package/dist/schema/index.d.ts.map +1 -0
  63. package/dist/schema/index.js +174 -0
  64. package/dist/schema/schema.d.ts +11 -0
  65. package/dist/schema/schema.d.ts.map +1 -0
  66. package/dist/schema/types.d.ts +177 -0
  67. package/dist/schema/types.d.ts.map +1 -0
  68. package/package.json +78 -0
@@ -0,0 +1,738 @@
1
+ const S = [
2
+ {
3
+ n: 1,
4
+ na: "الفَاتِحة",
5
+ ne: "Al-Fātiḥah",
6
+ ac: 7
7
+ },
8
+ {
9
+ n: 2,
10
+ na: "البَقَرَة",
11
+ ne: "Al-Baqarah",
12
+ ac: 286
13
+ },
14
+ {
15
+ n: 3,
16
+ na: "آل عِمران",
17
+ ne: "Āl-‘Imrān",
18
+ ac: 200
19
+ },
20
+ {
21
+ n: 4,
22
+ na: "النِّسَاء",
23
+ ne: "An-Nisā’",
24
+ ac: 176
25
+ },
26
+ {
27
+ n: 5,
28
+ na: "المَائدة",
29
+ ne: "Al-Mā’idah",
30
+ ac: 120
31
+ },
32
+ {
33
+ n: 6,
34
+ na: "الأنعَام",
35
+ ne: "Al-An‘ām",
36
+ ac: 165
37
+ },
38
+ {
39
+ n: 7,
40
+ na: "الأعرَاف",
41
+ ne: "Al-A‘rāf",
42
+ ac: 206
43
+ },
44
+ {
45
+ n: 8,
46
+ na: "الأنفَال",
47
+ ne: "Al-Anfāl",
48
+ ac: 75
49
+ },
50
+ {
51
+ n: 9,
52
+ na: "التوبَة",
53
+ ne: "At-Taubah",
54
+ ac: 129
55
+ },
56
+ {
57
+ n: 10,
58
+ na: "يُونس",
59
+ ne: "Yūnus",
60
+ ac: 109
61
+ },
62
+ {
63
+ n: 11,
64
+ na: "هُود",
65
+ ne: "Hūd",
66
+ ac: 123
67
+ },
68
+ {
69
+ n: 12,
70
+ na: "يُوسُف",
71
+ ne: "Yūsuf",
72
+ ac: 111
73
+ },
74
+ {
75
+ n: 13,
76
+ na: "الرَّعد",
77
+ ne: "Ar-Ra‘d",
78
+ ac: 43
79
+ },
80
+ {
81
+ n: 14,
82
+ na: "إبراهِيم",
83
+ ne: "Ibrāhīm",
84
+ ac: 52
85
+ },
86
+ {
87
+ n: 15,
88
+ na: "الحِجر",
89
+ ne: "Al-Ḥijr",
90
+ ac: 99
91
+ },
92
+ {
93
+ n: 16,
94
+ na: "النَّحل",
95
+ ne: "An-Naḥl",
96
+ ac: 128
97
+ },
98
+ {
99
+ n: 17,
100
+ na: "الإسرَاء",
101
+ ne: "Al-Isrā’",
102
+ ac: 111
103
+ },
104
+ {
105
+ n: 18,
106
+ na: "الكَهف",
107
+ ne: "Al-Kahf",
108
+ ac: 110
109
+ },
110
+ {
111
+ n: 19,
112
+ na: "مَريَم",
113
+ ne: "Maryam",
114
+ ac: 98
115
+ },
116
+ {
117
+ n: 20,
118
+ na: "طه",
119
+ ne: "Ṭā-Hā",
120
+ ac: 135
121
+ },
122
+ {
123
+ n: 21,
124
+ na: "الأنبيَاء",
125
+ ne: "Al-Anbiyā’",
126
+ ac: 112
127
+ },
128
+ {
129
+ n: 22,
130
+ na: "الحج",
131
+ ne: "Al-Ḥajj",
132
+ ac: 78
133
+ },
134
+ {
135
+ n: 23,
136
+ na: "المؤمنُون",
137
+ ne: "Al-Mu’minūn",
138
+ ac: 118
139
+ },
140
+ {
141
+ n: 24,
142
+ na: "النور",
143
+ ne: "An-Nūr",
144
+ ac: 64
145
+ },
146
+ {
147
+ n: 25,
148
+ na: "الفُرقَان",
149
+ ne: "Al-Furqān",
150
+ ac: 77
151
+ },
152
+ {
153
+ n: 26,
154
+ na: "الشعراء",
155
+ ne: "Ash-Shu‘arā’",
156
+ ac: 227
157
+ },
158
+ {
159
+ n: 27,
160
+ na: "النَّمل",
161
+ ne: "An-Naml",
162
+ ac: 93
163
+ },
164
+ {
165
+ n: 28,
166
+ na: "القَصَص",
167
+ ne: "Al-Qaṣaṣ",
168
+ ac: 88
169
+ },
170
+ {
171
+ n: 29,
172
+ na: "العَنكبُوت",
173
+ ne: "Al-‘Ankabūt",
174
+ ac: 69
175
+ },
176
+ {
177
+ n: 30,
178
+ na: "الرُّوم",
179
+ ne: "Ar-Rūm",
180
+ ac: 60
181
+ },
182
+ {
183
+ n: 31,
184
+ na: "لُقمَان",
185
+ ne: "Luqmān",
186
+ ac: 34
187
+ },
188
+ {
189
+ n: 32,
190
+ na: "السَّجدة",
191
+ ne: "As-Sajdah",
192
+ ac: 30
193
+ },
194
+ {
195
+ n: 33,
196
+ na: "الأحزَاب",
197
+ ne: "Al-Aḥzāb",
198
+ ac: 73
199
+ },
200
+ {
201
+ n: 34,
202
+ na: "سَبإ",
203
+ ne: "Saba’",
204
+ ac: 54
205
+ },
206
+ {
207
+ n: 35,
208
+ na: "فَاطِر",
209
+ ne: "Fāṭir",
210
+ ac: 45
211
+ },
212
+ {
213
+ n: 36,
214
+ na: "يسٓ",
215
+ ne: "Yā-Sīn",
216
+ ac: 83
217
+ },
218
+ {
219
+ n: 37,
220
+ na: "الصَّافَات",
221
+ ne: "Aṣ-Ṣāffāt",
222
+ ac: 182
223
+ },
224
+ {
225
+ n: 38,
226
+ na: "صٓ",
227
+ ne: "Ṣād",
228
+ ac: 88
229
+ },
230
+ {
231
+ n: 39,
232
+ na: "الزُّمَر",
233
+ ne: "Az-Zumar",
234
+ ac: 75
235
+ },
236
+ {
237
+ n: 40,
238
+ na: "غَافِر",
239
+ ne: "Ghāfir",
240
+ ac: 85
241
+ },
242
+ {
243
+ n: 41,
244
+ na: "فُصِّلَت",
245
+ ne: "Fuṣṣilat",
246
+ ac: 54
247
+ },
248
+ {
249
+ n: 42,
250
+ na: "الشُّورى",
251
+ ne: "Ash-Shūra",
252
+ ac: 53
253
+ },
254
+ {
255
+ n: 43,
256
+ na: "الزُّخرُف",
257
+ ne: "Az-Zukhruf",
258
+ ac: 89
259
+ },
260
+ {
261
+ n: 44,
262
+ na: "الدُّخان",
263
+ ne: "Ad-Dukhān",
264
+ ac: 59
265
+ },
266
+ {
267
+ n: 45,
268
+ na: "الجاثِية",
269
+ ne: "Al-Jāthiyah",
270
+ ac: 37
271
+ },
272
+ {
273
+ n: 46,
274
+ na: "الأحقَاف",
275
+ ne: "Al-Aḥqāf",
276
+ ac: 35
277
+ },
278
+ {
279
+ n: 47,
280
+ na: "مُحمد",
281
+ ne: "Muḥammad",
282
+ ac: 38
283
+ },
284
+ {
285
+ n: 48,
286
+ na: "الفَتح",
287
+ ne: "Al-Fatḥ",
288
+ ac: 29
289
+ },
290
+ {
291
+ n: 49,
292
+ na: "الحُجُرَات",
293
+ ne: "Al-Ḥujurāt",
294
+ ac: 18
295
+ },
296
+ {
297
+ n: 50,
298
+ na: "قٓ",
299
+ ne: "Qāf",
300
+ ac: 45
301
+ },
302
+ {
303
+ n: 51,
304
+ na: "الذَّاريَات",
305
+ ne: "Adh-Dhāriyāt",
306
+ ac: 60
307
+ },
308
+ {
309
+ n: 52,
310
+ na: "الطُّور",
311
+ ne: "Aṭ-Ṭūr",
312
+ ac: 49
313
+ },
314
+ {
315
+ n: 53,
316
+ na: "النَّجم",
317
+ ne: "An-Najm",
318
+ ac: 62
319
+ },
320
+ {
321
+ n: 54,
322
+ na: "القَمَر",
323
+ ne: "Al-Qamar",
324
+ ac: 55
325
+ },
326
+ {
327
+ n: 55,
328
+ na: "الرَّحمٰن",
329
+ ne: "Ar-Raḥmān",
330
+ ac: 78
331
+ },
332
+ {
333
+ n: 56,
334
+ na: "الوَاقِعة",
335
+ ne: "Al-Wāqi‘ah",
336
+ ac: 96
337
+ },
338
+ {
339
+ n: 57,
340
+ na: "الحدِيد",
341
+ ne: "Al-Ḥadīd",
342
+ ac: 29
343
+ },
344
+ {
345
+ n: 58,
346
+ na: "المُجَادلة",
347
+ ne: "Al-Mujādilah",
348
+ ac: 22
349
+ },
350
+ {
351
+ n: 59,
352
+ na: "الحَشر",
353
+ ne: "Al-Ḥashr",
354
+ ac: 24
355
+ },
356
+ {
357
+ n: 60,
358
+ na: "المُمتَحنَة",
359
+ ne: "Al-Mumtaḥanah",
360
+ ac: 13
361
+ },
362
+ {
363
+ n: 61,
364
+ na: "الصَّف",
365
+ ne: "Aṣ-Ṣaff",
366
+ ac: 14
367
+ },
368
+ {
369
+ n: 62,
370
+ na: "الجُمعَة",
371
+ ne: "Al-Jumu‘ah",
372
+ ac: 11
373
+ },
374
+ {
375
+ n: 63,
376
+ na: "المُنَافِقُونَ",
377
+ ne: "Al-Munāfiqūn",
378
+ ac: 11
379
+ },
380
+ {
381
+ n: 64,
382
+ na: "التغَابُن",
383
+ ne: "At-Taghābun",
384
+ ac: 18
385
+ },
386
+ {
387
+ n: 65,
388
+ na: "الطَّلَاق",
389
+ ne: "Aṭ-Ṭalāq",
390
+ ac: 12
391
+ },
392
+ {
393
+ n: 66,
394
+ na: "التَّحرِيم",
395
+ ne: "At-Taḥrīm",
396
+ ac: 12
397
+ },
398
+ {
399
+ n: 67,
400
+ na: "المُلك",
401
+ ne: "Al-Mulk",
402
+ ac: 30
403
+ },
404
+ {
405
+ n: 68,
406
+ na: "القَلَم",
407
+ ne: "Al-Qalam",
408
+ ac: 52
409
+ },
410
+ {
411
+ n: 69,
412
+ na: "الحَاقة",
413
+ ne: "Al-Ḥāqqah",
414
+ ac: 52
415
+ },
416
+ {
417
+ n: 70,
418
+ na: "المَعَارج",
419
+ ne: "Al-Ma‘ārij",
420
+ ac: 44
421
+ },
422
+ {
423
+ n: 71,
424
+ na: "نُوح",
425
+ ne: "Nūḥ",
426
+ ac: 28
427
+ },
428
+ {
429
+ n: 72,
430
+ na: "الجِن",
431
+ ne: "Al-Jinn",
432
+ ac: 28
433
+ },
434
+ {
435
+ n: 73,
436
+ na: "المُزمل",
437
+ ne: "Al-Muzzammil",
438
+ ac: 20
439
+ },
440
+ {
441
+ n: 74,
442
+ na: "المُدثر",
443
+ ne: "Al-Muddaththir",
444
+ ac: 56
445
+ },
446
+ {
447
+ n: 75,
448
+ na: "القِيَامة",
449
+ ne: "Al-Qiyāmah",
450
+ ac: 40
451
+ },
452
+ {
453
+ n: 76,
454
+ na: "الإنسَان",
455
+ ne: "Al-Insān",
456
+ ac: 31
457
+ },
458
+ {
459
+ n: 77,
460
+ na: "المُرسَلات",
461
+ ne: "Al-Mursalāt",
462
+ ac: 50
463
+ },
464
+ {
465
+ n: 78,
466
+ na: "النَّبَإ",
467
+ ne: "An-Naba’",
468
+ ac: 40
469
+ },
470
+ {
471
+ n: 79,
472
+ na: "النَّازعَات",
473
+ ne: "An-Nāzi‘āt",
474
+ ac: 46
475
+ },
476
+ {
477
+ n: 80,
478
+ na: "عَبَسَ",
479
+ ne: "‘Abasa",
480
+ ac: 42
481
+ },
482
+ {
483
+ n: 81,
484
+ na: "التَّكوير",
485
+ ne: "At-Takwīr",
486
+ ac: 29
487
+ },
488
+ {
489
+ n: 82,
490
+ na: "الانفِطَار",
491
+ ne: "Al-Infiṭār",
492
+ ac: 19
493
+ },
494
+ {
495
+ n: 83,
496
+ na: "المُطَففين",
497
+ ne: "Al-Muṭaffifīn",
498
+ ac: 36
499
+ },
500
+ {
501
+ n: 84,
502
+ na: "الانشِقَاق",
503
+ ne: "Al-Inshiqāq",
504
+ ac: 25
505
+ },
506
+ {
507
+ n: 85,
508
+ na: "البُرُوج",
509
+ ne: "Al-Burūj",
510
+ ac: 22
511
+ },
512
+ {
513
+ n: 86,
514
+ na: "الطَّارق",
515
+ ne: "Aṭ-Ṭāriq",
516
+ ac: 17
517
+ },
518
+ {
519
+ n: 87,
520
+ na: "الأعلى",
521
+ ne: "Al-A‘lā",
522
+ ac: 19
523
+ },
524
+ {
525
+ n: 88,
526
+ na: "الغَاشِية",
527
+ ne: "Al-Ghāshiyah",
528
+ ac: 26
529
+ },
530
+ {
531
+ n: 89,
532
+ na: "الفَجر",
533
+ ne: "Al-Fajr",
534
+ ac: 30
535
+ },
536
+ {
537
+ n: 90,
538
+ na: "البَلَد",
539
+ ne: "Al-Balad",
540
+ ac: 20
541
+ },
542
+ {
543
+ n: 91,
544
+ na: "الشَّمس",
545
+ ne: "Ash-Shams",
546
+ ac: 15
547
+ },
548
+ {
549
+ n: 92,
550
+ na: "اللَّيل",
551
+ ne: "Al-Lail",
552
+ ac: 21
553
+ },
554
+ {
555
+ n: 93,
556
+ na: "الضُّحى",
557
+ ne: "Aḍ-Ḍuḥā",
558
+ ac: 11
559
+ },
560
+ {
561
+ n: 94,
562
+ na: "الشَّرح",
563
+ ne: "Ash-Sharḥ",
564
+ ac: 8
565
+ },
566
+ {
567
+ n: 95,
568
+ na: "التِّين",
569
+ ne: "At-Tīn",
570
+ ac: 8
571
+ },
572
+ {
573
+ n: 96,
574
+ na: "العَلَق",
575
+ ne: "Al-‘Alaq",
576
+ ac: 19
577
+ },
578
+ {
579
+ n: 97,
580
+ na: "القَدر",
581
+ ne: "Al-Qadr",
582
+ ac: 5
583
+ },
584
+ {
585
+ n: 98,
586
+ na: "البَينَة",
587
+ ne: "Al-Bayyinah",
588
+ ac: 8
589
+ },
590
+ {
591
+ n: 99,
592
+ na: "الزَّلزَلة",
593
+ ne: "Az-Zalzalah",
594
+ ac: 8
595
+ },
596
+ {
597
+ n: 100,
598
+ na: "العَاديَات",
599
+ ne: "Al-‘Ādiyāt",
600
+ ac: 11
601
+ },
602
+ {
603
+ n: 101,
604
+ na: "القَارعَة",
605
+ ne: "Al-Qāri‘ah",
606
+ ac: 11
607
+ },
608
+ {
609
+ n: 102,
610
+ na: "التَّكاثُر",
611
+ ne: "At-Takāthur",
612
+ ac: 8
613
+ },
614
+ {
615
+ n: 103,
616
+ na: "العَصر",
617
+ ne: "Al-‘Aṣr",
618
+ ac: 3
619
+ },
620
+ {
621
+ n: 104,
622
+ na: "الهُمَزة",
623
+ ne: "Al-Humazah",
624
+ ac: 9
625
+ },
626
+ {
627
+ n: 105,
628
+ na: "الفِيل",
629
+ ne: "Al-Fīl",
630
+ ac: 5
631
+ },
632
+ {
633
+ n: 106,
634
+ na: "قُرَيش",
635
+ ne: "Quraish",
636
+ ac: 4
637
+ },
638
+ {
639
+ n: 107,
640
+ na: "المَاعُون",
641
+ ne: "Al-Mā‘ūn",
642
+ ac: 7
643
+ },
644
+ {
645
+ n: 108,
646
+ na: "الكَوثر",
647
+ ne: "Al-Kauthar",
648
+ ac: 3
649
+ },
650
+ {
651
+ n: 109,
652
+ na: "الكافِرون",
653
+ ne: "Al-Kāfirūn",
654
+ ac: 6
655
+ },
656
+ {
657
+ n: 110,
658
+ na: "النَّصر",
659
+ ne: "An-Naṣr",
660
+ ac: 3
661
+ },
662
+ {
663
+ n: 111,
664
+ na: "المَسَد",
665
+ ne: "Al-Masad",
666
+ ac: 5
667
+ },
668
+ {
669
+ n: 112,
670
+ na: "الإخلَاص",
671
+ ne: "Al-Ikhlāṣ",
672
+ ac: 4
673
+ },
674
+ {
675
+ n: 113,
676
+ na: "الفَلَق",
677
+ ne: "Al-Falaq",
678
+ ac: 5
679
+ },
680
+ {
681
+ n: 114,
682
+ na: "النَّاس",
683
+ ne: "An-Nās",
684
+ ac: 6
685
+ }
686
+ ];
687
+ let z = null;
688
+ function y(a) {
689
+ return a.toString().replace(/\d/g, (n) => "٠١٢٣٤٥٦٧٨٩"[parseInt(n)]);
690
+ }
691
+ function I(a) {
692
+ return null;
693
+ }
694
+ function p(a, n, t, u, A, d) {
695
+ const e = u ?? n, i = [];
696
+ for (let s = n; s <= e; s++) {
697
+ const h = a.a[s];
698
+ if (!h) continue;
699
+ const r = h[d];
700
+ let o = 0, l = r.length;
701
+ s === n && t !== null && t > 0 && (o = t - 1), s === e && A !== null && A > 0 && (l = A), i.push(...r.slice(o, l));
702
+ const f = s === e;
703
+ (l === r.length || !f) && i.push(h.m);
704
+ }
705
+ return i;
706
+ }
707
+ function x(a, n, t, u, A, d = !1) {
708
+ const e = typeof a == "number" ? z?.get(a) : I();
709
+ if (!e) return null;
710
+ const i = p(e, n, t, u, A, "u"), s = p(e, n, t, u, A, "h"), h = d && e.n !== 1, r = i.join(" "), o = s.join(" "), l = u ?? n, f = [];
711
+ for (let c = n; c <= l; c++) {
712
+ const m = e.a[c];
713
+ if (!m) continue;
714
+ const g = m.u;
715
+ let q = 0, M = g.length;
716
+ c === n && t !== null && t > 0 && (q = t - 1), c === l && A !== null && A > 0 && (M = A), f.push(...g.slice(q, M)), (M === g.length || c !== l) && f.push(`(${y(c)})`);
717
+ }
718
+ const b = f.join(" "), j = [];
719
+ for (let c = n; c <= l; c++) {
720
+ const m = e.a[c];
721
+ m && j.push(m.e);
722
+ }
723
+ const F = j.join(" "), N = n === l ? y(n) : `${y(n)}-${y(l)}`, k = `${e.na}: ${N}`;
724
+ return { text: r, textHafsSmart: o, textCopy: b, textEmlaey: F, citation: k, basmalah: h };
725
+ }
726
+ function T() {
727
+ return S.map((a) => ({
728
+ number: a.n,
729
+ nameArabic: a.na,
730
+ nameEnglish: a.ne,
731
+ ayaCount: a.ac
732
+ }));
733
+ }
734
+ export {
735
+ x as a,
736
+ T as g,
737
+ I as r
738
+ };
@@ -0,0 +1,3 @@
1
+ export { loadQuranData, getVerseText, resolveSurah, getAllSurahs, getSurahInfo, isDataLoaded } from "./lookup";
2
+ export type { QuranSurah, QuranAya, VerseTextResult, SurahInfo } from "./types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/quran/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC/G,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}