import type { TirthaEntry } from './types.js'

// The four pan-India Char Dhām (defined by Ādi Śaṅkarācārya — one in each
// cardinal direction) and the four-site Chota Char Dhām Himalayan circuit of
// Uttarakhand. Kedarnath and Badrinath belong to more than one list; each
// membership is its own record with a distinct `id` (the jyotirliṅga Kedarnath
// is `kedarnath`; here the Chota-Char-Dhām membership is `kedarnath-chota`, and
// likewise `badrinath` vs `badrinath-chota`). Verified across Wikipedia (Char
// Dhām / Chota Char Dhām) + pilgrimage references.

export const CHAR_DHAM: readonly TirthaEntry[] = [
  {
    id: 'badrinath',
    category: 'char-dham',
    name: { en: 'Badrinath', hi: 'बद्रीनाथ' },
    nameSanskrit: 'बदरीनाथ',
    location: { en: 'Badrinath, Chamoli', hi: 'बद्रीनाथ, चमोली' },
    state: { en: 'Uttarakhand', hi: 'उत्तराखंड' },
    deity: 'vishnu',
    significance: {
      en: 'The northern abode — a Viṣṇu (Badrīnārāyaṇa) shrine on the Alaknanda, seat of one of Śaṅkara’s four maṭhas.',
      hi: 'उत्तर दिशा का धाम — अलकनंदा-तट पर विष्णु (बद्रीनारायण) का मंदिर, शंकराचार्य के चार मठों में से एक का स्थान।',
    },
    direction: { en: 'North', hi: 'उत्तर' },
    pujaSlug: 'satyanarayan',
  },
  {
    id: 'dwarka',
    category: 'char-dham',
    name: { en: 'Dwarka', hi: 'द्वारका' },
    nameSanskrit: 'द्वारका',
    location: { en: 'Dwarka', hi: 'द्वारका' },
    state: { en: 'Gujarat', hi: 'गुजरात' },
    deity: 'krishna',
    significance: {
      en: 'The western abode — Krishna’s legendary capital, worshipped here as Dwārkādhīśa; seat of one of Śaṅkara’s four maṭhas.',
      hi: 'पश्चिम दिशा का धाम — कृष्ण की पौराणिक राजधानी, यहाँ द्वारकाधीश रूप में पूजित; शंकराचार्य के चार मठों में से एक का स्थान।',
    },
    direction: { en: 'West', hi: 'पश्चिम' },
  },
  {
    id: 'puri',
    category: 'char-dham',
    name: { en: 'Puri (Jagannath)', hi: 'पुरी (जगन्नाथ)' },
    nameSanskrit: 'जगन्नाथ पुरी',
    location: { en: 'Puri', hi: 'पुरी' },
    state: { en: 'Odisha', hi: 'ओडिशा' },
    deity: 'krishna',
    significance: {
      en: 'The eastern abode — home of Lord Jagannath (a form of Krishna), worshipped with his siblings Balabhadra and Subhadrā; famed for the annual Rath Yātrā.',
      hi: 'पूर्व दिशा का धाम — भगवान जगन्नाथ (कृष्ण का रूप) का धाम, भाई बलभद्र एवं बहन सुभद्रा सहित पूजित; वार्षिक रथ यात्रा के लिए विख्यात।',
    },
    direction: { en: 'East', hi: 'पूर्व' },
  },
  {
    id: 'rameswaram',
    category: 'char-dham',
    name: { en: 'Rameswaram', hi: 'रामेश्वरम्' },
    nameSanskrit: 'रामेश्वरम्',
    location: { en: 'Rameswaram Island', hi: 'रामेश्वरम् द्वीप' },
    state: { en: 'Tamil Nadu', hi: 'तमिलनाडु' },
    deity: 'shiva',
    significance: {
      en: 'The southern abode — where Rāma worshipped Śiva before the crossing to Laṅkā; also one of the twelve jyotirliṅgas.',
      hi: 'दक्षिण दिशा का धाम — जहाँ राम ने लंका-गमन से पूर्व शिव की आराधना की; बारह ज्योतिर्लिंगों में से एक भी।',
    },
    direction: { en: 'South', hi: 'दक्षिण' },
    pujaSlug: 'rudrabhishek',
  },
]

export const CHOTA_CHAR_DHAM: readonly TirthaEntry[] = [
  {
    id: 'yamunotri',
    category: 'chota-char-dham',
    name: { en: 'Yamunotri', hi: 'यमुनोत्री' },
    nameSanskrit: 'यमुनोत्री',
    location: { en: 'Uttarkashi', hi: 'उत्तरकाशी' },
    state: { en: 'Uttarakhand', hi: 'उत्तराखंड' },
    deity: null,
    significance: {
      en: 'The first stop of the circuit — the seat of goddess Yamunā, marking the headwaters of the Yamuna river.',
      hi: 'यात्रा का प्रथम पड़ाव — देवी यमुना का स्थान, यमुना नदी का उद्गम।',
    },
  },
  {
    id: 'gangotri',
    category: 'chota-char-dham',
    name: { en: 'Gangotri', hi: 'गंगोत्री' },
    nameSanskrit: 'गङ्गोत्री',
    location: { en: 'Uttarkashi', hi: 'उत्तरकाशी' },
    state: { en: 'Uttarakhand', hi: 'उत्तराखंड' },
    deity: null,
    significance: {
      en: 'The seat of goddess Gaṅgā and the origin of the Ganga (as the Bhāgīrathī), India’s holiest river.',
      hi: 'देवी गंगा का स्थान तथा गंगा (भागीरथी रूप में) का उद्गम — भारत की पवित्रतम नदी।',
    },
  },
  {
    id: 'kedarnath-chota',
    category: 'chota-char-dham',
    name: { en: 'Kedarnath', hi: 'केदारनाथ' },
    nameSanskrit: 'केदारनाथ',
    location: { en: 'Kedarnath, Rudraprayag', hi: 'केदारनाथ, रुद्रप्रयाग' },
    state: { en: 'Uttarakhand', hi: 'उत्तराखंड' },
    deity: 'shiva',
    significance: {
      en: 'The Śiva shrine of the circuit, foremost of the Pañch Kedār; also one of the twelve jyotirliṅgas.',
      hi: 'यात्रा का शिव-धाम, पंच केदार में प्रमुख; बारह ज्योतिर्लिंगों में से एक भी।',
    },
    pujaSlug: 'rudrabhishek',
  },
  {
    id: 'badrinath-chota',
    category: 'chota-char-dham',
    name: { en: 'Badrinath', hi: 'बद्रीनाथ' },
    nameSanskrit: 'बदरीनाथ',
    location: { en: 'Badrinath, Chamoli', hi: 'बद्रीनाथ, चमोली' },
    state: { en: 'Uttarakhand', hi: 'उत्तराखंड' },
    deity: 'vishnu',
    significance: {
      en: 'The Viṣṇu shrine that completes the circuit; also the northern seat of the pan-India Char Dhām.',
      hi: 'यात्रा को पूर्ण करने वाला विष्णु-धाम; अखिल भारतीय चार धाम का उत्तरी धाम भी।',
    },
    pujaSlug: 'satyanarayan',
  },
]
