PageSourceSearch

https://www.bhaktvatsal.com/_next/static/chunks/5638.aea32a5a0d737cf9.js

js bhaktvatsal.com collected 2026-10-02 21:36:31 UTC 11,072 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5638],{26855:(e,a,s)=>{s.d(a,{A:()=>n});var t=s(95155);let n=e=>{let{title:a,icon:s,children:n,className:r="",headerRight:l}=e;return(0,t.jsxs)("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden ".concat(r),children:[a&&(0,t.jsxs)("div",{className:"flex items-center justify-between px-4 sm:px-5 py-3 border-b border-gray-100 bg-gray-50/50",children:[(0,t.jsxs)("h3",{className:"text-sm sm:text-base font-bold text-[#17384e] flex items-center gap-2",children:[s&&(0,t.jsx)("span",{className:"w-7 h-7 rounded-lg bg-gradient-to-br from-[#fa4616] to-[#ff6b35] flex items-center justify-center flex-shrink-0",children:(0,t.jsx)("svg",{className:"w-3.5 h-3.5 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:s})})}),a]}),l&&(0,t.jsx)("div",{children:l})]}),(0,t.jsx)("div",{className:"px-4 sm:px-5 py-4",children:n})]})}},35638:(e,a,s)=>{s.r(a),s.d(a,{default:()=>m});var t=s(95155),n=s(12115),r=s(68946),l=s(8482),d=s(26855),i=s(53088),o=s(37609),x=s(2196),c=s(21812);let h=[{key:"mahadasha",label:{en:"Mahadasha",hi:"महादशा"},tag:"MD",color:"bg-orange-50 border-orange-100"},{key:"antardasha",label:{en:"Antardasha",hi:"अंतर्दशा"},tag:"AD",color:"bg-blue-50 border-blue-100"},{key:"pratyantar",label:{en:"Pratyantardasha",hi:"प्रत्यंतरदशा"},tag:"PD",color:"bg-purple-50 border-purple-100"},{key:"sookshma",label:{en:"Sookshmadasha",hi:"सूक्ष्मदशा"},tag:"SD",color:"bg-cyan-50 border-cyan-100"}],p={noData:{en:"No dasha data available",hi:"दशा डेटा उपलब्ध नहीं"},currentTitle:{en:"Current Dasha Period",hi:"वर्तमान दशा अवधि"},timelineTitle:{en:"Vimshottari Dasha Timeline",hi:"विंशोत्तरी दशा समयरेखा"},timelineIntro:{en:"The 120-year Vimshottari Dasha system shows planetary periods that influence different areas of life.",hi:"120 वर्षीय विंशोत्तरी दशा प्रणाली ग्रह अवधियों को दर्शाती है जो जीवन के विभिन्न क्षेत्रों को प्रभावित करती हैं।"}},m=()=>{var e,a;let{fetchSection:s,getSectionData:m,state:g}=(0,r.r3)(),u=(null==g?void 0:g.lang)||"en",b=m("dasha");if((0,n.useEffect)(()=>{s("dasha",l.R2)},[s]),b.loading)return(0,t.jsx)(o.A,{});if(b.error)return(0,t.jsx)(x.A,{message:b.error});if(!(null==(a=b.data)||null==(e=a.dashas)?void 0:e.length))return(0,t.jsx)(x.A,{message:(0,c.t)(p.noData,u)});let{dashas:y,currentDasha:j}=b.data;return(0,t.jsxs)("div",{className:"space-y-5",children:[j&&(0,t.jsx)(d.A,{title:(0,c.t)(p.currentTitle,u),children:(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 sm:gap-3",children:h.map(e=>{let{key:a,label:s,tag:n,color:r}=e,l=j[a];return l?(0,t.jsxs)("div",{className:"rounded-xl px-3 sm:px-4 py-2.5 border ".concat(r),children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 mb-1",children:[(0,t.jsx)("p",{className:"text-[10px] sm:text-xs text-gray-500",children:(0,c.t)(s,u)}),(0,t.jsx)("span",{className:"px-1 py-0 bg-white/60 text-gray-400 rounded text-[8px] font-bold",children:n})]}),(0,t.jsx)("p",{className:"font-bold text-[#17384e] text-sm sm:text-base",children:(0,c.yq)(l,u)})]},a):null})})}),(0,t.jsxs)(d.A,{title:(0,c.t)(p.timelineTitle,u),icon:"M13 17h8m0 0V9m0 8l-8-8-4 4-6-6",children:[(0,t.jsx)("p",{className:"text-xs sm:text-sm text-gray-500 mb-2",children:(0,c.t)(p.timelineIntro,u)}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5 mb-4 text-[10px]",children:[(0,t.jsxs)("span",{className:"px-1.5 py-0.5 bg-gray-100 text-gray-500 rounded font-bold",children:["MD = ",(0,c.t)(h[0].label,u)]}),(0,t.jsxs)("span",{className:"px-1.5 py-0.5 bg-blue-50 text-blue-500 rounded font-bold",children:["AD = ",(0,c.t)(h[1].label,u)]}),(0,t.jsxs)("span",{className:"px-1.5 py-0.5 bg-purple-50 text-purple-400 rounded font-bold",children:["PD = ",(0,c.t)(h[2].label,u)]}),(0,t.jsxs)("span",{className:"px-1.5 py-0.5 bg-gray-100 text-gray-400 rounded font-bold",children:["SD = ",(0,c.t)(h[3].label,u)]})]}),(0,t.jsx)(i.A,{dashas:y}
1)]})]})}},53088:(e,a,s)=>{s.d(a,{A:()=>g});var t=s(95155),n=s(12115),r=s(68946),l=s(21812);let d={Sun:"#D4A017",Moon:"#8B8B8B",Mars:"#DC143C",Mercury:"#228B22",Jupiter:"#FFD700",Venus:"#FF69B4",Saturn:"#4169E1",Rahu:"#696969",Ketu:"#8B4513"},i=[{label:{en:"Mahadasha",hi:"महादशा"},tag:"MD",indent:0},{label:{en:"Antardasha",hi:"अंतर्दशा"},tag:"AD",indent:1},{label:{en:"Pratyantardasha",hi:"प्रत्यंतरदशा"},tag:"PD",indent:2},{label:{en:"Sookshmadasha",hi:"सूक्ष्मदशा"},tag:"SD",indent:3}],o={noData:{en:"No dasha data available.",hi:"दशा डेटा उपलब्ध नहीं।"},current:{en:"Current",hi:"वर्तमान"},now:{en:"Now",hi:"अभी"}},x=e=>{var a;let{dasha:s,level:r,lang:g}=e,[u,b]=(0,n.useState)(!1),y=i[r]||i[0],j=d[s.planet||s.lord]||"#888",f=(null==(a=s.subPeriods)?void 0:a.length)>0,N=function(e){if(!e.startDate||!e.endDate)return!1;let a=Date.now();return new Date(e.startDate).getTime()<=a&&a<=new Date(e.endDate).getTime()}(s),v=s.planet||s.lord||s.yogini,D=s.yogini?(0,l.D8)(s.yogini,g):v?(0,l.yq)(v,g):v,w=0===r?"":1===r?"ml-3 sm:ml-5":2===r?"ml-5 sm:ml-9":"ml-7 sm:ml-12";return 0===r?(0,t.jsxs)("div",{className:"rounded-lg border transition-all ".concat(N?"border-orange-200 bg-orange-50/30":"border-gray-100 bg-white"),children:[(0,t.jsxs)("button",{onClick:()=>f&&b(!u),className:"w-full flex items-center gap-2 sm:gap-3 px-3 sm:px-4 py-2.5 text-left",children:[(0,t.jsx)("span",{className:"w-2.5 h-2.5 rounded-full flex-shrink-0",style:{backgroundColor:j}}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap",children:[(0,t.jsx)("span",{className:"font-semibold text-[#17384e] text-sm",children:D}),(0,t.jsx)("span",{className:"px-1.5 py-0.5 bg-gray-100 text-gray-500 rounded text-[9px] font-bold",children:y.tag}),N&&(0,t.jsx)("span",{className:"px-1.5 py-0.5 bg-orange-100 text-orange-600 rounded text-[10px] font-bold",children:(0,l.t)(o.current,g)})]}),(0,t.jsx)(p,{dasha:s})]}),f&&(0,t.jsx)(m,{expanded:u})]}),u&&f&&(0,t.jsx)("div",{className:"px-2 sm:px-3 pb-2 border-t border-gray-50 mt-0",children:(0,t.jsx)("div",{className:"mt-1.5 space-y-1",children:s.subPeriods.map((e,a)=>(0,t.jsx)(x,{dasha:e,level:1,lang:g},a))})})]}):1===r?(0,t.jsxs)("div",{className:"".concat(w," rounded-lg border transition-all ").concat(N?"border-orange-200 bg-orange-50/30":"border-gray-50 bg-white hover:bg-gray-50/50"),children:[(0,t.jsxs)("button",{onClick:()=>f&&b(!u),className:"w-full flex items-center gap-2 px-2.5 sm:px-3 py-2 text-left",children:[(0,t.jsx)("span",{className:"w-2 h-2 rounded-full flex-shrink-0",style:{backgroundColor:j}}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap",children:[(0,t.jsx)("span",{className:"font-semibold text-[#17384e] text-[13px]",children:D}),(0,t.jsx)("span",{className:"px-1 py-0.5 bg-blue-50 text-blue-500 rounded text-[8px] font-bold",children:y.tag}),N&&(0,t.jsx)("span",{className:"px-1 py-0.5 bg-orange-100 text-orange-600 rounded text-[9px] font-bold",children:(0,l.t)(o.now,g)})]}),(0,t.jsx)(p,{dasha:s,small:!0})]}),f&&(0,t.jsx)(m,{expanded:u,small:!0})]}),u&&f&&(0,t.jsx)("div",{className:"px-1.5 sm:px-2 pb-1.5 border-t border-gray-50",children:(0,t.jsx)("div",{className:"mt-1 space-y-0.5",children:s.subPeriods.map((e,a)=>(0,t.jsx)(x,{dasha:e,level:2,lang:g},a))})})]}):2===r?(0,t.jsxs)("div",{className:w,children:[(0,t.jsxs)("button",{onClick:()=>f&&b(!u),className:"w-full flex items-center gap-1.5 px-2 py-1.5 rounded-md text-xs transition-all ".concat(N?"bg-orange-50 font-semibold":"hover:bg-gray-50"),children:[(0,t.jsx)("span",{className:"w-1.5 h-1.5 rounded-full flex-shrink-0",style:{backgroundColor:j}}),(0,t.jsx)("span",{className:"text-gray-700 min-w-0 truncate text-[12px]",children:D}),(0,t.jsx)("span",{className:"px-1 py-0.5 bg-purple-50 text-purple-400 rounded text-[7px] font-bold flex-shrink-0",children:y.tag}),N&&(0,t.jsx)("span",{className:"px-1 py-0.5 bg-orange-100 text-orange-600 rounded text-[8px] font-bold flex-shrink-0",children:(0,l.t)(o.now,g)}
1),(0,t.jsxs)("span",{className:"text-gray-400 text-[10px] ml-auto flex-shrink-0",children:[(0,t.jsxs)("span",{className:"hidden sm:inline",children:[c(s.startDate)," — ",c(s.endDate)]}),(0,t.jsxs)("span",{className:"sm:hidden",children:[h(s.startDate)," — ",h(s.endDate)]})]}),f&&(0,t.jsx)(m,{expanded:u,tiny:!0})]}),u&&f&&(0,t.jsx)("div",{className:"mt-0.5 space-y-0",children:s.subPeriods.map((e,a)=>(0,t.jsx)(x,{dasha:e,level:3,lang:g},a))})]}):(0,t.jsxs)("div",{className:"".concat(w," flex items-center gap-1.5 px-2 py-1 text-[11px] ").concat(N?"bg-orange-50/50 font-semibold rounded":""),children:[(0,t.jsx)("span",{className:"w-1 h-1 rounded-full flex-shrink-0",style:{backgroundColor:j}}),(0,t.jsx)("span",{className:"text-gray-600 min-w-0 truncate",children:D}),(0,t.jsx)("span",{className:"px-0.5 py-0 bg-gray-100 text-gray-400 rounded text-[7px] font-bold flex-shrink-0",children:y.tag}),N&&(0,t.jsx)("span",{className:"px-1 py-0 bg-orange-100 text-orange-600 rounded text-[7px] font-bold flex-shrink-0",children:(0,l.t)(o.now,g)}),(0,t.jsxs)("span",{className:"text-gray-300 text-[9px] ml-auto flex-shrink-0",children:[h(s.startDate)," — ",h(s.endDate)]})]})};function c(e){return e?new Date(e).toLocaleDateString("en-IN",{day:"2-digit",month:"short",year:"numeric"}):"—"}function h(e){return e?new Date(e).toLocaleDateString("en-IN",{month:"short",year:"2-digit"}):"—"}let p=e=>{let{dasha:a,small:s}=e;return(0,t.jsxs)("p",{className:"".concat(s?"text-[10px]":"text-[11px] sm:text-xs"," text-gray-400 mt-0.5"),children:[(0,t.jsxs)("span",{className:"hidden sm:inline",children:[c(a.startDate)," — ",c(a.endDate)]}),(0,t.jsxs)("span",{className:"sm:hidden",children:[h(a.startDate)," — ",h(a.endDate)]}),a.years&&(0,t.jsxs)("span",{className:"ml-1.5 text-gray-300",children:["(",a.years,"y)"]})]})},m=e=>{let{expanded:a,small:s,tiny:n}=e;return(0,t.jsx)("svg",{className:"".concat(n?"w-3 h-3":s?"w-3.5 h-3.5":"w-4 h-4"," text-gray-300 transition-transform flex-shrink-0 ").concat(a?"rotate-180":""),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})},g=e=>{let{dashas:a}=e,{state:s}=(0,r.r3)(),n=(null==s?void 0:s.lang)||"en";return(null==a?void 0:a.length)?(0,t.jsx)("div",{className:"space-y-1.5",children:a.map((e,a)=>(0,t.jsx)(x,{dasha:e,level:0,lang:n},a))}):(0,t.jsx)("p",{className:"text-gray-400 text-sm text-center py-6",children:(0,l.t)(o.noData,n)})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.